ETH Price: $2,398.33 (+3.25%)
Gas: 7.62 Gwei

Token

Founders Collective Pass (ORIENTALIST)
 

Overview

Max Total Supply

121 ORIENTALIST

Holders

121

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
tombarton.eth
Balance
1 ORIENTALIST
0x54a35e2957faf23839c7f50ed56ecd3a18703a36
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
OrientalistERC721

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT



// '########:'##::::'##:'########::::'#######::'########::'####:'########:'##::: ##:'########::::'###::::'##:::::::'####::'######::'########:
// ... ##..:: ##:::: ##: ##.....::::'##.... ##: ##.... ##:. ##:: ##.....:: ###:: ##:... ##..::::'## ##::: ##:::::::. ##::'##... ##:... ##..::
// ::: ##:::: ##:::: ##: ##::::::::: ##:::: ##: ##:::: ##:: ##:: ##::::::: ####: ##:::: ##:::::'##:. ##:: ##:::::::: ##:: ##:::..::::: ##::::
// ::: ##:::: #########: ######::::: ##:::: ##: ########::: ##:: ######::: ## ## ##:::: ##::::'##:::. ##: ##:::::::: ##::. ######::::: ##::::
// ::: ##:::: ##.... ##: ##...:::::: ##:::: ##: ##.. ##:::: ##:: ##...:::: ##. ####:::: ##:::: #########: ##:::::::: ##:::..... ##:::: ##::::
// ::: ##:::: ##:::: ##: ##::::::::: ##:::: ##: ##::. ##::: ##:: ##::::::: ##:. ###:::: ##:::: ##.... ##: ##:::::::: ##::'##::: ##:::: ##::::
// ::: ##:::: ##:::: ##: ########:.:: #######:: ##:::. ##:'####: ########: ##::. ##:::: ##:::: ##:::: ##: ########:'####:. ######::::: ##::::
// :::..:::::..:::::..::........:::::.......:::..:::::..::....::........::..::::..:::::..:::::..:::::..::........::....:::......::::::..:::::   

pragma solidity ^0.8.11;









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

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

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


pragma solidity ^0.8.0;

interface IWETH {
    function deposit() external payable;

    function withdraw(uint256 amount) external;

    function transfer(address to, uint256 value) external returns (bool);
}

// File: contracts/interface/drop/IDropClaimCondition.sol


pragma solidity ^0.8.7;

interface IDropClaimCondition {
    /**
     *  The criteria that make up a claim condition.
     *
     *  @param startTimestamp                 The unix timestamp after which the claim condition applies.
     *                                        The same claim condition applies until the `startTimestamp`
     *                                        of the next claim condition.
     *
     *  @param maxClaimableSupply             The maximum total number of tokens that can be claimed under
     *                                        the claim condition.
     *
     *  @param supplyClaimed                  At any given point, the number of tokens that have been claimed
     *                                        under the claim condition.
     *
     *  @param quantityLimitPerWallet         The maximum number of tokens that can be claimed by a wallet.
     *
     *  @param merkleRoot                     The allowlist of addresses that can claim tokens under the claim
     *                                        condition.
     *
     *  @param pricePerToken                  The price required to pay per token claimed.
     *
     *  @param currency                       The currency in which the `pricePerToken` must be paid.
     */
    struct ClaimCondition {
        uint256 startTimestamp;
        uint256 maxClaimableSupply;
        uint256 supplyClaimed;
        uint256 quantityLimitPerWallet;
        bytes32 merkleRoot;
        uint256 pricePerToken;
        address currency;
    }

    /**
     *  @notice The set of all claim conditions, at any given moment.
     *  Claim Phase ID = [currentStartId, currentStartId + length - 1];
     *
     *  @param currentStartId           The uid for the first claim condition amongst the current set of
     *                                  claim conditions. The uid for each next claim condition is one
     *                                  more than the previous claim condition's uid.
     *
     *  @param count                    The total number of phases / claim conditions in the list
     *                                  of claim conditions.
     *
     *  @param phases                   The claim conditions at a given uid. Claim conditions
     *                                  are ordered in an ascending order by their `startTimestamp`.
     *
     *  @param limitLastClaimTimestamp  Map from an account and uid for a claim condition, to the last timestamp
     *                                  at which the account claimed tokens under that claim condition.
     *
     *  @param supplyClaimedByWallet    Map from a claim condition uid and account to supply claimed by account.
     */
    struct ClaimConditionList {
        uint256 currentStartId;
        uint256 count;
        mapping(uint256 => ClaimCondition) phases;
        mapping(uint256 => mapping(address => uint256)) limitLastClaimTimestamp;
        mapping(uint256 => mapping(address => uint256)) supplyClaimedByWallet;
    }

    /**
     *  @notice The criteria that sets up the allocation for specific wallets
     *  By Default the wallet can claim upto quantityLimitPerWallet as specified in ClaimCondition
     *  unless there is a special allocation for the wallet
     *
     *  @param claimer                  The wallet address of the claimer
     *
     *  @param allocation               The total number NFT allocated to this wallet address.
     */
    struct WalletAllocation {
        address claimer;
        uint256 allocation;
    }
}

// File: contracts/interface/IPrimarySale.sol


pragma solidity ^0.8.7;

interface IPrimarySale {
    ///  The adress that receives all primary sales value.
    function primarySaleRecipient() external view returns (address);

    ///  Lets a module admin set the default recipient of all primary sales.
    function setPrimarySaleRecipient(address _saleRecipient) external;

    ///  Emitted when a new sale recipient is set.
    event PrimarySaleRecipientUpdated(address indexed recipient);
}

// File: contracts/interface/IPlatformFee.sol


pragma solidity ^0.8.7;

interface IPlatformFee {
    ///  Returns the platform fee bps and recipient.
    function getPlatformFeeInfo() external view returns (address, uint16);

    ///  Lets a module admin update the fees on primary sales.
    function setPlatformFeeInfo(address _platformFeeRecipient, uint256 _platformFeeBps) external;

    ///  Emitted when fee on primary sales is updated.
    event PlatformFeeInfoUpdated(address indexed platformFeeRecipient, uint256 platformFeeBps);
}

// File: contracts/interface/IOwnable.sol


pragma solidity ^0.8.7;

interface IOwnable {
    /// @dev Returns the owner of the contract.
    function owner() external view returns (address);

    /// @dev Lets a module admin set a new owner for the contract. The new owner must be a module admin.
    function setOwner(address _newOwner) external;

    /// @dev Emitted when a new Owner is set.
    event OwnerUpdated(address indexed prevOwner, address indexed newOwner);
}

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// 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/structs/EnumerableSet.sol


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

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 *  Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.
 *  See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 *  In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

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


// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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


// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)

pragma solidity ^0.8.0;


/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

// 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/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/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/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: contracts/lib/CurrencyTransferLib.sol


pragma solidity ^0.8.0;

// Helper interfaces



library CurrencyTransferLib {
    using SafeERC20 for IERC20;

    /// @dev The address interpreted as native token of the chain.
    address public constant NATIVE_TOKEN = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;

    /// @dev Transfers a given amount of currency.
    function transferCurrency(
        address _currency,
        address _from,
        address _to,
        uint256 _amount
    ) internal {
        if (_amount == 0) {
            return;
        }

        if (_currency == NATIVE_TOKEN) {
            safeTransferNativeToken(_to, _amount);
        } else {
            safeTransferERC20(_currency, _from, _to, _amount);
        }
    }

    /// @dev Transfers a given amount of currency. (With native token wrapping)
    function transferCurrencyWithWrapper(
        address _currency,
        address _from,
        address _to,
        uint256 _amount,
        address _nativeTokenWrapper
    ) internal {
        if (_amount == 0) {
            return;
        }

        if (_currency == NATIVE_TOKEN) {
            if (_from == address(this)) {
                // withdraw from weth then transfer withdrawn native token to recipient
                IWETH(_nativeTokenWrapper).withdraw(_amount);
                safeTransferNativeTokenWithWrapper(_to, _amount, _nativeTokenWrapper);
            } else if (_to == address(this)) {
                // store native currency in weth
                require(_amount == msg.value, "msg.value != amount");
                IWETH(_nativeTokenWrapper).deposit{ value: _amount }();
            } else {
                safeTransferNativeTokenWithWrapper(_to, _amount, _nativeTokenWrapper);
            }
        } else {
            safeTransferERC20(_currency, _from, _to, _amount);
        }
    }

    /// @dev Transfer `amount` of ERC20 token from `from` to `to`.
    function safeTransferERC20(
        address _currency,
        address _from,
        address _to,
        uint256 _amount
    ) internal {
        if (_from == _to) {
            return;
        }

        if (_from == address(this)) {
            IERC20(_currency).safeTransfer(_to, _amount);
        } else {
            IERC20(_currency).safeTransferFrom(_from, _to, _amount);
        }
    }

    /// @dev Transfers `amount` of native token to `to`.
    function safeTransferNativeToken(address to, uint256 value) internal {
        // solhint-disable avoid-low-level-calls
        // slither-disable-next-line low-level-calls
        (bool success, ) = to.call{ value: value }("");
        require(success, "native token transfer failed");
    }

    /// @dev Transfers `amount` of native token to `to`. (With native token wrapping)
    function safeTransferNativeTokenWithWrapper(
        address to,
        uint256 value,
        address _nativeTokenWrapper
    ) internal {
        // solhint-disable avoid-low-level-calls
        // slither-disable-next-line low-level-calls
        (bool success, ) = to.call{ value: value }("");
        if (!success) {
            IWETH(_nativeTokenWrapper).deposit{ value: value }();
            IERC20(_nativeTokenWrapper).safeTransfer(to, value);
        }
    }
}

// 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/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

// File: contracts/interface/IRoyalty.sol


pragma solidity ^0.8.7;


interface IRoyalty is IERC2981 {
    struct RoyaltyInfo {
        address recipient;
        uint256 bps;
    }

    /// @dev Returns the royalty recipient and fee bps.
    function getDefaultRoyaltyInfo() external view returns (address, uint16);

    /// @dev Lets a module admin update the royalty bps and recipient.
    function setDefaultRoyaltyInfo(address _royaltyRecipient, uint256 _royaltyBps) external;

    /// @dev Lets a module admin set the royalty recipient for a particular token Id.
    function setRoyaltyInfoForToken(
        uint256 tokenId,
        address recipient,
        uint256 bps
    ) external;

    /// @dev Returns the royalty recipient for a particular token Id.
    function getRoyaltyInfoForToken(uint256 tokenId) external view returns (address, uint16);

    /// @dev Emitted when royalty info is updated.
    event DefaultRoyalty(address indexed newRoyaltyRecipient, uint256 newRoyaltyBps);

    /// @dev Emitted when royalty recipient for tokenId is set
    event RoyaltyForToken(uint256 indexed tokenId, address indexed royaltyRecipient, uint256 royaltyBps);
}

// 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/access/AccessControl.sol


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

pragma solidity ^0.8.0;





/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;




/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {_grantRole} to track enumerable memberships
     */
    function _grantRole(bytes32 role, address account) internal virtual override {
        super._grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {_revokeRole} to track enumerable memberships
     */
    function _revokeRole(bytes32 role, address account) internal virtual override {
        super._revokeRole(role, account);
        _roleMembers[role].remove(account);
    }
}

// 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: contracts/interface/drop/IDropERC721.sol


pragma solidity ^0.8.7;



interface IDropERC721 is IERC721, IDropClaimCondition {
    /// Emitted when tokens are claimed.
    event TokensClaimed(
        uint256 indexed claimConditionID,
        address indexed claimedBy,
        address indexed _receivedBy,
        uint256 startTokenId,
        uint256 quantityClaimed
    );

    /// Emitted when tokens are lazy minted.
    event TokensLazyMinted(uint256 startTokenId, uint256 endTokenId, string baseURI);

    /// Emitted when new claim conditions are set.
    event ClaimConditionsUpdated(ClaimCondition[] claimConditions);

    /// Emitted when the global max supply of tokens is updated.
    event MaxTotalSupplyUpdated(uint256 maxTotalSupply);

    /// Emitted when the global max wallet claim count is updated.
    event MaxWalletClaimCountUpdated(uint256 count);

    /**
     *  Lets an account claim a given quantity of NFTs.
     *
     *  @param receiver                       The receiver of the NFTs to claim.
     *  @param quantity                       The quantity of NFTs to claim.
     *  @param currency                       The currency in which to pay for the claim.
     *  @param pricePerToken                  The price per token to pay for the claim.
     *  @param proofs                         The proof of the claimer's inclusion in the merkle root allowlist
     *                                        of the claim conditions that apply.
     *  @param proofMaxQuantityPerTransaction (Optional) The maximum number of NFTs an address included in an
     *                                        allowlist can claim.
     */
    // function claim(
    //     address receiver,
    //     uint256 quantity,
    //     address currency,
    //     uint256 pricePerToken,
    //     bytes32[] calldata proofs,
    //     uint256 proofMaxQuantityPerTransaction
    // ) external payable;

    /**
     *  Lets a contract admin (account with `DEFAULT_ADMIN_ROLE`) set claim conditions.
     *
     *  @param phases                Claim conditions in ascending order by `startTimestamp`.
     *  @param resetClaimEligibility Whether to reset `limitLastClaimTimestamp` and
     *                               `limitMerkleProofClaim` values when setting new
     *                               claim conditions.
     */
    // function setClaimConditions(ClaimCondition[] calldata phases, bool resetClaimEligibility) external;
}
// 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/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/ERC721Burnable.sol


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

pragma solidity ^0.8.0;



/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _burn(tokenId);
    }
}

// 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: contracts/OrientalistERC721.sol

contract OrientalistERC721 is 
    IDropERC721,
    IOwnable,
    IPlatformFee,
    IPrimarySale,
    IRoyalty,
    AccessControlEnumerable,
    ERC721Enumerable, 
    ReentrancyGuard,
    ERC721Burnable
{
    using Strings for uint256;

    /*///////////////////////////////////////////////////////////////
                            State variables
    //////////////////////////////////////////////////////////////*/

    bytes32 private constant MODULE_TYPE = bytes32("TheOrientalist-ERC721");
    uint256 private constant VERSION = 1;

    /// Only transfers to or from TRANSFER_ROLE holders are valid, when transfers are restricted.
    bytes32 private constant TRANSFER_ROLE = keccak256("TRANSFER_ROLE");
    /// Only MINTER_ROLE holders can lazy mint NFTs.
    bytes32 private constant MINTER_ROLE = keccak256("MINTER_ROLE");

    /// Max bps in the thirdweb system.
    uint256 private constant MAX_BPS = 10_000;

    /// Owner of the contract (purpose: OpenSea compatibility)
    address private _owner;

    /// The next token ID of the NFT to "lazy mint".
    uint256 public nextTokenIdToMint;

    /// The next token ID of the NFT that can be claimed.
    uint256 public nextTokenIdToClaim;

    /// The address that receives all primary sales value.
    address public primarySaleRecipient;

    /// The max number of NFTs a wallet can claim.
    uint256 public maxWalletClaimCount;

    /// Global max total supply of NFTs.
    uint256 public maxTotalSupply;

    /// The address that receives all platform fees from all sales.
    address private platformFeeRecipient;

    /// The % of primary sales collected as platform fees.
    uint16 private platformFeeBps;

    /// The (default) address that receives all royalty value.
    address private royaltyRecipient;

    /// The (default) % of a sale to take as royalty (in basis points).
    uint16 private royaltyBps;

    /// Contract level metadata.
    string public contractURI;

    /// Largest tokenId of each batch of tokens with the same baseURI
    uint256[] public baseURIIndices;

    /// The set of all claim conditions, at any given moment.
    ClaimConditionList public claimCondition;

    /*///////////////////////////////////////////////////////////////
                                Mappings
    //////////////////////////////////////////////////////////////*/

    /**
     *  Mapping from 'Largest tokenId of a batch of tokens with the same baseURI'
     *       to base URI for the respective batch of tokens.
     **/
    mapping(uint256 => string) private baseURI;

    /// Mapping from address => total number of NFTs a wallet has claimed.
    mapping(address => uint256) public walletClaimCount;

    /// Mapping from address => total number of NFTs a wallet has allocated.
    mapping(address => uint256) public walletAllocationCount;

    /// Token ID => royalty recipient and bps for token
    mapping(uint256 => RoyaltyInfo) private royaltyInfoForToken;

    /*///////////////////////////////////////////////////////////////
                    Constructor + initializer logic
    //////////////////////////////////////////////////////////////*/

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _contractURI,
        address _saleRecipient,
        address _royaltyRecipient,
        uint128 _royaltyBps,
        uint128 _platformFeeBps,
        address _platformFeeRecipient
    ) ERC721(_name, _symbol) {
        nextTokenIdToClaim = 1;
        nextTokenIdToMint = 1;

        // Initialize this contract's state.
        royaltyRecipient = _royaltyRecipient;
        royaltyBps = uint16(_royaltyBps);
        platformFeeRecipient = _platformFeeRecipient;
        platformFeeBps = uint16(_platformFeeBps);
        primarySaleRecipient = _saleRecipient;
        contractURI = _contractURI;

        _owner = _msgSender();

        _setupRole(DEFAULT_ADMIN_ROLE, _owner);
        _setupRole(MINTER_ROLE, _owner);
        _setupRole(TRANSFER_ROLE, _owner);
        _setupRole(TRANSFER_ROLE, address(0));
    }

    /*///////////////////////////////////////////////////////////////
                        Generic contract logic
    //////////////////////////////////////////////////////////////*/

    /// Returns the type of the contract.
    function contractType() external pure returns (bytes32) {
        return MODULE_TYPE;
    }

    /// Returns the version of the contract.
    function contractVersion() external pure returns (uint8) {
        return uint8(VERSION);
    }

    /**
     * Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return hasRole(DEFAULT_ADMIN_ROLE, _owner) ? _owner : address(0);
    }

    /*///////////////////////////////////////////////////////////////
                        ERC 165 / 721 / 2981 logic
    //////////////////////////////////////////////////////////////*/

    /// Returns the URI for a given tokenId.
    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        for (uint256 i = 0; i < baseURIIndices.length; i += 1) {
            if (_tokenId < baseURIIndices[i]) {
                return string(abi.encodePacked(baseURI[baseURIIndices[i]], _tokenId.toString()));
            }
        }

        return "";
    }

    /// See ERC 165
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721, ERC721Enumerable, AccessControlEnumerable, IERC165)
        returns (bool)
    {
        return super.supportsInterface(interfaceId) || type(IERC2981).interfaceId == interfaceId;
    }

    /// Returns the royalty recipient and amount, given a tokenId and sale price.
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        virtual
        returns (address receiver, uint256 royaltyAmount)
    {
        (address recipient, uint256 bps) = getRoyaltyInfoForToken(tokenId);
        receiver = recipient;
        royaltyAmount = (salePrice * bps) / MAX_BPS;
    }

    /*///////////////////////////////////////////////////////////////
                        Getter functions
    //////////////////////////////////////////////////////////////*/

    /// At any given moment, returns the uid for the active claim condition.
    function getActiveClaimConditionId() public view returns (uint256) {
        for (uint256 i = claimCondition.currentStartId + claimCondition.count; i > claimCondition.currentStartId; i--) {
            if (block.timestamp >= claimCondition.phases[i - 1].startTimestamp) {
                return i - 1;
            }
        }

        revert("!CONDITION.");
    }

    /// Returns the royalty recipient and bps for a particular token Id.
    function getRoyaltyInfoForToken(uint256 _tokenId) public view returns (address, uint16) {
        RoyaltyInfo memory royaltyForToken = royaltyInfoForToken[_tokenId];

        return
            royaltyForToken.recipient == address(0)
                ? (royaltyRecipient, uint16(royaltyBps))
                : (royaltyForToken.recipient, uint16(royaltyForToken.bps));
    }

    /// Returns the platform fee recipient and bps.
    function getPlatformFeeInfo() external view returns (address, uint16) {
        return (platformFeeRecipient, uint16(platformFeeBps));
    }

    /// Returns the default royalty recipient and bps.
    function getDefaultRoyaltyInfo() external view returns (address, uint16) {
        return (royaltyRecipient, uint16(royaltyBps));
    }

    /// Returns the claim condition at the given uid.
    function getClaimConditionById(uint256 _conditionId) external view returns (ClaimCondition memory condition) {
        condition = claimCondition.phases[_conditionId];
    }

    /// Returns the amount of stored baseURIs
    function getBaseURICount() external view returns (uint256) {
        return baseURIIndices.length;
    }

    /*///////////////////////////////////////////////////////////////
                        Setter functions
    //////////////////////////////////////////////////////////////*/

    /// Lets a contract admin set a maximum number of NFTs that can be claimed by any wallet.
    function setMaxWalletClaimCount(uint256 _count) external onlyRole(DEFAULT_ADMIN_ROLE) {
        maxWalletClaimCount = _count;
        emit MaxWalletClaimCountUpdated(_count);
    }

    /// Lets a contract admin set the global maximum supply for collection's NFTs.
    function setMaxTotalSupply(uint256 _maxTotalSupply) external onlyRole(DEFAULT_ADMIN_ROLE) {
        maxTotalSupply = _maxTotalSupply;
        emit MaxTotalSupplyUpdated(_maxTotalSupply);
    }

    /// Lets a contract admin set the recipient for all primary sales.
    function setPrimarySaleRecipient(address _saleRecipient) external onlyRole(DEFAULT_ADMIN_ROLE) {
        primarySaleRecipient = _saleRecipient;
        emit PrimarySaleRecipientUpdated(_saleRecipient);
    }

    /// Lets a contract admin update the default royalty recipient and bps.
    function setDefaultRoyaltyInfo(address _royaltyRecipient, uint256 _royaltyBps)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        require(_royaltyBps <= MAX_BPS, "> MAX_BPS");

        royaltyRecipient = _royaltyRecipient;
        royaltyBps = uint16(_royaltyBps);

        emit DefaultRoyalty(_royaltyRecipient, _royaltyBps);
    }

    /// Lets a contract admin set the royalty recipient and bps for a particular token Id.
    function setRoyaltyInfoForToken(
        uint256 _tokenId,
        address _recipient,
        uint256 _bps
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(_bps <= MAX_BPS, "> MAX_BPS");

        royaltyInfoForToken[_tokenId] = RoyaltyInfo({ recipient: _recipient, bps: _bps });

        emit RoyaltyForToken(_tokenId, _recipient, _bps);
    }

    /// Lets a contract admin update the platform fee recipient and bps
    function setPlatformFeeInfo(address _platformFeeRecipient, uint256 _platformFeeBps)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        require(_platformFeeBps <= MAX_BPS, "> MAX_BPS.");

        platformFeeBps = uint16(_platformFeeBps);
        platformFeeRecipient = _platformFeeRecipient;

        emit PlatformFeeInfoUpdated(_platformFeeRecipient, _platformFeeBps);
    }

    /// Lets a contract admin set a new owner for the contract. The new owner must be a contract admin.
    function setOwner(address _newOwner) external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(hasRole(DEFAULT_ADMIN_ROLE, _newOwner), "!ADMIN");
        address _prevOwner = _owner;
        _owner = _newOwner;

        emit OwnerUpdated(_prevOwner, _newOwner);
    }

    /// Lets a contract admin set the URI for contract-level metadata.
    function setContractURI(string calldata _uri) external onlyRole(DEFAULT_ADMIN_ROLE) {
        contractURI = _uri;
    }

    /*///////////////////////////////////////////////////////////////
                            Claim logic
    //////////////////////////////////////////////////////////////*/

    /// Lets an account claim NFTs.
    function claim(
        address _receiver,
        uint256 _quantity,
        address _currency,
        uint256 _pricePerToken,
        bytes32[] calldata _proofs
    ) external payable nonReentrant {
        require(_msgSender() == tx.origin, "BOT");

        uint256 tokenIdToClaim = nextTokenIdToClaim;

        // Get the claim conditions.
        uint256 activeConditionId = getActiveClaimConditionId();

        // Verify inclusion in allowlist.
        verifyClaimMerkleProof(
            activeConditionId,
            _receiver,
            _proofs
        );

        verifyClaim(
            activeConditionId,
            _receiver,
            _quantity,
            _currency,
            _pricePerToken
        );

        // If there's a price, collect price.
        collectClaimPrice(_quantity, _currency, _pricePerToken);

        // Mint the relevant NFTs to claimer.
        transferClaimedTokens(_receiver, activeConditionId, _quantity);

        emit TokensClaimed(activeConditionId, _msgSender(), _receiver, tokenIdToClaim, _quantity);
    }

    /// Checks whether a claimer meets the claim condition's allowlist criteria.
    function verifyClaimMerkleProof(
        uint256 _conditionId,
        address _claimer,
        bytes32[] calldata _proofs
    ) public view returns (bool validMerkleProof) {
        ClaimCondition memory currentClaimPhase = claimCondition.phases[_conditionId];

        if (currentClaimPhase.merkleRoot != bytes32(0)) {
            validMerkleProof = MerkleProof.verify(
                _proofs,
                currentClaimPhase.merkleRoot,
                keccak256(bytes.concat(keccak256(abi.encode(_claimer))))
            );
            require(validMerkleProof, "not in whitelist.");
        }
    }

    /// Checks a request to claim NFTs against the active claim condition's criteria.
    function verifyClaim(
        uint256 _conditionId,
        address _claimer,
        uint256 _quantity,
        address _currency,
        uint256 _pricePerToken
    ) public view {
        ClaimCondition memory currentClaimPhase = claimCondition.phases[_conditionId];

        require(
            _currency == currentClaimPhase.currency && _pricePerToken == currentClaimPhase.pricePerToken,
            "invalid currency or price."
        );

        // check if the selected quantity is within the allocated qty or max qty limit per wallet during this claim phase
        require(
            _quantity > 0 &&
                ((walletAllocationCount[_claimer] == 0 && _quantity <= currentClaimPhase.quantityLimitPerWallet) || _quantity <= walletAllocationCount[_claimer]),
            "invalid quantity."
        );
        // check if the qty of already claimed + the selected qty is still within the max supply for this phase
        require(
            currentClaimPhase.supplyClaimed + _quantity <= currentClaimPhase.maxClaimableSupply,
            "exceed max claimable supply."
        );

        require(nextTokenIdToClaim + _quantity <= nextTokenIdToMint, "not enough minted tokens.");
        require(maxTotalSupply == 0 || nextTokenIdToClaim + _quantity <= maxTotalSupply, "exceed max total supply.");
        if (walletAllocationCount[_claimer] > 0)
            require(
                walletClaimCount[_claimer] + _quantity <= walletAllocationCount[_claimer],
                "exceed allocation limit"
            );
        else
            require(
                maxWalletClaimCount == 0 || walletClaimCount[_claimer] + _quantity <= maxWalletClaimCount,
                "exceed claim limit"
            );        
    }

    /// Collects and distributes the primary sale value of NFTs being claimed.
    function collectClaimPrice(
        uint256 _quantityToClaim,
        address _currency,
        uint256 _pricePerToken
    ) internal {
        if (_pricePerToken == 0) {
            return;
        }

        uint256 totalPrice = _quantityToClaim * _pricePerToken;
        uint256 platformFees = (totalPrice * platformFeeBps) / MAX_BPS;

        if (_currency == CurrencyTransferLib.NATIVE_TOKEN) {
            require(msg.value == totalPrice, "must send total price.");
        }

        CurrencyTransferLib.transferCurrency(_currency, _msgSender(), platformFeeRecipient, platformFees);
        CurrencyTransferLib.transferCurrency(_currency, _msgSender(), primarySaleRecipient, totalPrice - platformFees);
    }

    /// Transfers the NFTs being claimed.
    function transferClaimedTokens(
        address _to,
        uint256 _conditionId,
        uint256 _quantityBeingClaimed
    ) internal {
        // Update the supply minted under mint condition.
        claimCondition.phases[_conditionId].supplyClaimed += _quantityBeingClaimed;

        // if transfer claimed tokens is called when `to != msg.sender`, it'd use msg.sender's limits.
        // behavior would be similar to `msg.sender` mint for itself, then transfer to `_to`.
        claimCondition.limitLastClaimTimestamp[_conditionId][_to] = block.timestamp;
        walletClaimCount[_to] += _quantityBeingClaimed;

        uint256 tokenIdToClaim = nextTokenIdToClaim;

        for (uint256 i = 0; i < _quantityBeingClaimed; i += 1) {
            _mint(_to, tokenIdToClaim);
            tokenIdToClaim += 1;
        }

        nextTokenIdToClaim = tokenIdToClaim;
    }

    /// Lets a contract admin (account with `DEFAULT_ADMIN_ROLE`) set claim conditions.
    function setClaimConditions(ClaimCondition[] calldata _phases, bool _resetClaimEligibility)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        uint256 existingStartIndex = claimCondition.currentStartId;
        uint256 existingPhaseCount = claimCondition.count;

        /**
         *  If `_resetClaimEligibility == true`, we assign completely new UIDs to the claim
         *  conditions in `_phases`.
         */
        uint256 newStartIndex = existingStartIndex;
        if (_resetClaimEligibility) {
            newStartIndex = existingStartIndex + existingPhaseCount;
        }

        claimCondition.count = _phases.length;
        claimCondition.currentStartId = newStartIndex;

        uint256 lastConditionStartTimestamp;
        for (uint256 i = 0; i < _phases.length; i++) {
            require(i == 0 || lastConditionStartTimestamp < _phases[i].startTimestamp, "ST");

            uint256 supplyClaimedAlready = claimCondition.phases[newStartIndex + i].supplyClaimed;
            require(supplyClaimedAlready <= _phases[i].maxClaimableSupply, "max supply claimed already");

            claimCondition.phases[newStartIndex + i] = _phases[i];
            claimCondition.phases[newStartIndex + i].supplyClaimed = supplyClaimedAlready;

            lastConditionStartTimestamp = _phases[i].startTimestamp;
        }

        /**
         *  Gas refunds (as much as possible)
         *
         *  If `_resetClaimEligibility == true`, we assign completely new UIDs to the claim
         *  conditions in `_phases`. So, we delete claim conditions with UID < `newStartIndex`.
         *
         *  If `_resetClaimEligibility == false`, and there are more existing claim conditions
         *  than in `_phases`, we delete the existing claim conditions that don't get replaced
         *  by the conditions in `_phases`.
         */
        if (_resetClaimEligibility) {
            for (uint256 i = existingStartIndex; i < newStartIndex; i++) {
                delete claimCondition.phases[i];
            }
        } else {
            if (existingPhaseCount > _phases.length) {
                for (uint256 i = _phases.length; i < existingPhaseCount; i++) {
                    delete claimCondition.phases[newStartIndex + i];
                }
            }
        }

        emit ClaimConditionsUpdated(_phases);
    }

    function setClaimAllocations(WalletAllocation[] calldata _allocations)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        for (uint256 i = 0; i < _allocations.length; i++) {
            walletAllocationCount[_allocations[i].claimer] = _allocations[i].allocation;
        }
    }

    /**
     *  Lets an account with `MINTER_ROLE` lazy mint 'n' NFTs.
     *       The URIs for each token is the provided `_baseURIForTokens` + `{tokenId}`.
     */
    function lazyMint(
        uint256 _amount,
        string calldata _baseURIForTokens
    ) external onlyRole(MINTER_ROLE) {
        uint256 startId = nextTokenIdToMint;
        uint256 baseURIIndex = startId + _amount;

        nextTokenIdToMint = baseURIIndex;
        baseURI[baseURIIndex] = _baseURIForTokens;
        baseURIIndices.push(baseURIIndex);

        emit TokensLazyMinted(startId, startId + _amount - 1, _baseURIForTokens);
    }

    /*///////////////////////////////////////////////////////////////
                        Miscellaneous
    //////////////////////////////////////////////////////////////*/

    /// Burns `tokenId`. See {ERC721-_burn}.
    function burn(uint256 tokenId) override public virtual {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "caller not owner nor approved");
        _burn(tokenId);
    }

    /// See {ERC721-_beforeTokenTransfer}.
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);

        // if transfer is restricted on the contract, we still want to allow burning and minting
        if (!hasRole(TRANSFER_ROLE, address(0)) && from != address(0) && to != address(0)) {
            require(hasRole(TRANSFER_ROLE, from) || hasRole(TRANSFER_ROLE, to), "!TRANSFER_ROLE");
        }
    }

    function _msgSender()
        internal
        view
        virtual
        override(Context)
        returns (address sender)
    {
        return Context._msgSender();
    }

    function _msgData()
        internal
        view
        virtual
        override(Context)
        returns (bytes calldata)
    {
        return Context._msgData();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_contractURI","type":"string"},{"internalType":"address","name":"_saleRecipient","type":"address"},{"internalType":"address","name":"_royaltyRecipient","type":"address"},{"internalType":"uint128","name":"_royaltyBps","type":"uint128"},{"internalType":"uint128","name":"_platformFeeBps","type":"uint128"},{"internalType":"address","name":"_platformFeeRecipient","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":[{"components":[{"internalType":"uint256","name":"startTimestamp","type":"uint256"},{"internalType":"uint256","name":"maxClaimableSupply","type":"uint256"},{"internalType":"uint256","name":"supplyClaimed","type":"uint256"},{"internalType":"uint256","name":"quantityLimitPerWallet","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"pricePerToken","type":"uint256"},{"internalType":"address","name":"currency","type":"address"}],"indexed":false,"internalType":"struct IDropClaimCondition.ClaimCondition[]","name":"claimConditions","type":"tuple[]"}],"name":"ClaimConditionsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newRoyaltyRecipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"newRoyaltyBps","type":"uint256"}],"name":"DefaultRoyalty","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxTotalSupply","type":"uint256"}],"name":"MaxTotalSupplyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"MaxWalletClaimCountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"prevOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"platformFeeRecipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"platformFeeBps","type":"uint256"}],"name":"PlatformFeeInfoUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"}],"name":"PrimarySaleRecipientUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"royaltyRecipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"royaltyBps","type":"uint256"}],"name":"RoyaltyForToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"claimConditionID","type":"uint256"},{"indexed":true,"internalType":"address","name":"claimedBy","type":"address"},{"indexed":true,"internalType":"address","name":"_receivedBy","type":"address"},{"indexed":false,"internalType":"uint256","name":"startTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"quantityClaimed","type":"uint256"}],"name":"TokensClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endTokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"baseURI","type":"string"}],"name":"TokensLazyMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"baseURIIndices","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_currency","type":"address"},{"internalType":"uint256","name":"_pricePerToken","type":"uint256"},{"internalType":"bytes32[]","name":"_proofs","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimCondition","outputs":[{"internalType":"uint256","name":"currentStartId","type":"uint256"},{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractType","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractVersion","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getActiveClaimConditionId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"getBaseURICount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_conditionId","type":"uint256"}],"name":"getClaimConditionById","outputs":[{"components":[{"internalType":"uint256","name":"startTimestamp","type":"uint256"},{"internalType":"uint256","name":"maxClaimableSupply","type":"uint256"},{"internalType":"uint256","name":"supplyClaimed","type":"uint256"},{"internalType":"uint256","name":"quantityLimitPerWallet","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"pricePerToken","type":"uint256"},{"internalType":"address","name":"currency","type":"address"}],"internalType":"struct IDropClaimCondition.ClaimCondition","name":"condition","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDefaultRoyaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPlatformFeeInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getRoyaltyInfoForToken","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"string","name":"_baseURIForTokens","type":"string"}],"name":"lazyMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletClaimCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenIdToClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenIdToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"primarySaleRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"claimer","type":"address"},{"internalType":"uint256","name":"allocation","type":"uint256"}],"internalType":"struct IDropClaimCondition.WalletAllocation[]","name":"_allocations","type":"tuple[]"}],"name":"setClaimAllocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"startTimestamp","type":"uint256"},{"internalType":"uint256","name":"maxClaimableSupply","type":"uint256"},{"internalType":"uint256","name":"supplyClaimed","type":"uint256"},{"internalType":"uint256","name":"quantityLimitPerWallet","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"pricePerToken","type":"uint256"},{"internalType":"address","name":"currency","type":"address"}],"internalType":"struct IDropClaimCondition.ClaimCondition[]","name":"_phases","type":"tuple[]"},{"internalType":"bool","name":"_resetClaimEligibility","type":"bool"}],"name":"setClaimConditions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyRecipient","type":"address"},{"internalType":"uint256","name":"_royaltyBps","type":"uint256"}],"name":"setDefaultRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTotalSupply","type":"uint256"}],"name":"setMaxTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"setMaxWalletClaimCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_platformFeeRecipient","type":"address"},{"internalType":"uint256","name":"_platformFeeBps","type":"uint256"}],"name":"setPlatformFeeInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_saleRecipient","type":"address"}],"name":"setPrimarySaleRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_bps","type":"uint256"}],"name":"setRoyaltyInfoForToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","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":"uint256","name":"_conditionId","type":"uint256"},{"internalType":"address","name":"_claimer","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_currency","type":"address"},{"internalType":"uint256","name":"_pricePerToken","type":"uint256"}],"name":"verifyClaim","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_conditionId","type":"uint256"},{"internalType":"address","name":"_claimer","type":"address"},{"internalType":"bytes32[]","name":"_proofs","type":"bytes32[]"}],"name":"verifyClaimMerkleProof","outputs":[{"internalType":"bool","name":"validMerkleProof","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletAllocationCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletClaimCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162004cde38038062004cde8339810160408190526200003491620004fe565b8751889088906200004d90600290602085019062000356565b5080516200006390600390602084019062000356565b50506001600c819055600f819055600e5550601480546001600160a01b038681166001600160b01b031992831617600160a01b61ffff88811682029290921790945560138054868416941693909317908616909302929092179055601080546001600160a01b0319169187169190911790558551620000ea90601590602089019062000356565b50620000f5620001cf565b600d80546001600160a01b0319166001600160a01b039290921691821790556200012290600090620001eb565b600d546200015b907f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6906001600160a01b0316620001eb565b600d5462000194907f8502233096d909befbda0999bb8ea2f3a6be3c138b9fbf003752a4c8bce86f6c906001600160a01b0316620001eb565b620001c17f8502233096d909befbda0999bb8ea2f3a6be3c138b9fbf003752a4c8bce86f6c6000620001eb565b50505050505050506200062a565b6000620001e6620001fb60201b620023d11760201c565b905090565b620001f78282620001ff565b5050565b3390565b6200021682826200024260201b620023d51760201c565b60008281526001602090815260409091206200023d91839062002459620002e4821b17901c565b505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620001f7576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002a0620001cf565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000620002fb836001600160a01b03841662000304565b90505b92915050565b60008181526001830160205260408120546200034d57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620002fe565b506000620002fe565b8280546200036490620005ed565b90600052602060002090601f016020900481019282620003885760008555620003d3565b82601f10620003a357805160ff1916838001178555620003d3565b82800160010185558215620003d3579182015b82811115620003d3578251825591602001919060010190620003b6565b50620003e1929150620003e5565b5090565b5b80821115620003e15760008155600101620003e6565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200042457600080fd5b81516001600160401b0380821115620004415762000441620003fc565b604051601f8301601f19908116603f011681019082821181831017156200046c576200046c620003fc565b816040528381526020925086838588010111156200048957600080fd5b600091505b83821015620004ad57858201830151818301840152908201906200048e565b83821115620004bf5760008385830101525b9695505050505050565b80516001600160a01b0381168114620004e157600080fd5b919050565b80516001600160801b0381168114620004e157600080fd5b600080600080600080600080610100898b0312156200051c57600080fd5b88516001600160401b03808211156200053457600080fd5b620005428c838d0162000412565b995060208b01519150808211156200055957600080fd5b620005678c838d0162000412565b985060408b01519150808211156200057e57600080fd5b506200058d8b828c0162000412565b9650506200059e60608a01620004c9565b9450620005ae60808a01620004c9565b9350620005be60a08a01620004e6565b9250620005ce60c08a01620004e6565b9150620005de60e08a01620004c9565b90509295985092959890939650565b600181811c908216806200060257607f821691505b602082108114156200062457634e487b7160e01b600052602260045260246000fd5b50919050565b6146a4806200063a6000396000f3fe60806040526004361061038c5760003560e01c80636352211e116101dc578063a22cb46511610102578063cb2ef6f7116100a0578063d860483f1161006f578063d860483f14610b2b578063e5fd344e14610b4b578063e8a3d48514610b6b578063e985e9c514610b8057600080fd5b8063cb2ef6f714610a85578063d45573f614610ab0578063d547741f14610adb578063d637ed5914610afb57600080fd5b8063b88d4fde116100dc578063b88d4fde14610a10578063c68907de14610a30578063c87b56dd14610a45578063ca15c87314610a6557600080fd5b8063a22cb465146109af578063acd083f8146109cf578063b24f2d39146109e557600080fd5b80639010d07c1161017a57806395d89b411161014957806395d89b41146109495780639bcf7a151461095e578063a0a8e4601461097e578063a217fddf1461099a57600080fd5b80639010d07c146108c957806390747b8a146108e957806391d1485414610909578063938e3d7b1461092957600080fd5b80636f8934f4116101b65780636f8934f4146107ed57806370a082311461086757806380dab27e146108875780638da5cb5b146108b457600080fd5b80636352211e1461079857806363b45e2d146107b85780636f4f2837146107cd57600080fd5b80632a55205a116102c157806342842e0e1161025f5780634cc157df1161022e5780634cc157df146106f65780634f6ccce7146107385780635086795714610758578063600dd5ea1461077857600080fd5b806342842e0e1461066957806342966c68146106895780634352ab41146106a957806347158264146106d657600080fd5b80632f745c591161029b5780632f745c59146105f357806336568abe146106135780633b1475a7146106335780633f3e4c111461064957600080fd5b80632a55205a1461057e5780632ab4d052146105bd5780632f2ff15d146105d357600080fd5b806312d18ed61161032e5780631c17fed5116103085780631c17fed5146104ee5780631e7ac4881461050e57806323b872dd1461052e578063248a9ca31461054e57600080fd5b806312d18ed6146104a657806313af4035146104b957806318160ddd146104d957600080fd5b806306fdde031161036a57806306fdde031461040c578063079fe40e1461042e578063081812fc14610466578063095ea7b31461048657600080fd5b806301ffc9a71461039157806302c7a877146103c657806305981769146103e8575b600080fd5b34801561039d57600080fd5b506103b16103ac366004613b3e565b610bc9565b60405190151581526020015b60405180910390f35b3480156103d257600080fd5b506103e66103e1366004613b70565b610bf5565b005b3480156103f457600080fd5b506103fe60115481565b6040519081526020016103bd565b34801561041857600080fd5b50610421610fa7565b6040516103bd9190613c1a565b34801561043a57600080fd5b5060105461044e906001600160a01b031681565b6040516001600160a01b0390911681526020016103bd565b34801561047257600080fd5b5061044e610481366004613c2d565b611039565b34801561049257600080fd5b506103e66104a1366004613c46565b611060565b6103e66104b4366004613cbe565b611176565b3480156104c557600080fd5b506103e66104d4366004613d3a565b611299565b3480156104e557600080fd5b50600a546103fe565b3480156104fa57600080fd5b506103e6610509366004613d57565b611337565b34801561051a57600080fd5b506103e6610529366004613c46565b6113c7565b34801561053a57600080fd5b506103e6610549366004613dcc565b61147e565b34801561055a57600080fd5b506103fe610569366004613c2d565b60009081526020819052604090206001015490565b34801561058a57600080fd5b5061059e610599366004613e0d565b6114b0565b604080516001600160a01b0390931683526020830191909152016103bd565b3480156105c957600080fd5b506103fe60125481565b3480156105df57600080fd5b506103e66105ee366004613e2f565b6114ed565b3480156105ff57600080fd5b506103fe61060e366004613c46565b611512565b34801561061f57600080fd5b506103e661062e366004613e2f565b6115a8565b34801561063f57600080fd5b506103fe600e5481565b34801561065557600080fd5b506103e6610664366004613c2d565b611626565b34801561067557600080fd5b506103e6610684366004613dcc565b61166e565b34801561069557600080fd5b506103e66106a4366004613c2d565b611689565b3480156106b557600080fd5b506103fe6106c4366004613d3a565b601d6020526000908152604090205481565b3480156106e257600080fd5b506103e66106f1366004613ea1565b6116ea565b34801561070257600080fd5b50610716610711366004613c2d565b6117d5565b604080516001600160a01b03909316835261ffff9091166020830152016103bd565b34801561074457600080fd5b506103fe610753366004613c2d565b611840565b34801561076457600080fd5b506103e6610773366004613c2d565b6118d3565b34801561078457600080fd5b506103e6610793366004613c46565b611913565b3480156107a457600080fd5b5061044e6107b3366004613c2d565b6119b7565b3480156107c457600080fd5b506016546103fe565b3480156107d957600080fd5b506103e66107e8366004613d3a565b611a17565b3480156107f957600080fd5b5061080d610808366004613c2d565b611a6d565b6040516103bd9190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0918201516001600160a01b03169181019190915260e00190565b34801561087357600080fd5b506103fe610882366004613d3a565b611b25565b34801561089357600080fd5b506103fe6108a2366004613d3a565b601e6020526000908152604090205481565b3480156108c057600080fd5b5061044e611bab565b3480156108d557600080fd5b5061044e6108e4366004613e0d565b611bdf565b3480156108f557600080fd5b506103b1610904366004613eed565b611bfe565b34801561091557600080fd5b506103b1610924366004613e2f565b611d3f565b34801561093557600080fd5b506103e6610944366004613f49565b611d68565b34801561095557600080fd5b50610421611d7f565b34801561096a57600080fd5b506103e6610979366004613f8b565b611d8e565b34801561098a57600080fd5b50604051600181526020016103bd565b3480156109a657600080fd5b506103fe600081565b3480156109bb57600080fd5b506103e66109ca366004613fc0565b611e5d565b3480156109db57600080fd5b506103fe600f5481565b3480156109f157600080fd5b506014546001600160a01b03811690600160a01b900461ffff16610716565b348015610a1c57600080fd5b506103e6610a2b366004614004565b611e68565b348015610a3c57600080fd5b506103fe611e9a565b348015610a5157600080fd5b50610421610a60366004613c2d565b611f3d565b348015610a7157600080fd5b506103fe610a80366004613c2d565b611ffa565b348015610a9157600080fd5b50745468654f7269656e74616c6973742d45524337323160581b6103fe565b348015610abc57600080fd5b506013546001600160a01b03811690600160a01b900461ffff16610716565b348015610ae757600080fd5b506103e6610af6366004613e2f565b612011565b348015610b0757600080fd5b50601754601854610b16919082565b604080519283526020830191909152016103bd565b348015610b3757600080fd5b506103fe610b46366004613c2d565b612036565b348015610b5757600080fd5b506103e6610b663660046140e4565b612057565b348015610b7757600080fd5b50610421612343565b348015610b8c57600080fd5b506103b1610b9b36600461416a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6000610bd48261246e565b80610bef575063152a902d60e11b6001600160e01b03198316145b92915050565b600085815260196020908152604091829020825160e081018452815481526001820154928101929092526002810154928201929092526003820154606082015260048201546080820152600582015460a08201526006909101546001600160a01b0390811660c08301819052908416148015610c7457508060a0015182145b610cc55760405162461bcd60e51b815260206004820152601a60248201527f696e76616c69642063757272656e6379206f722070726963652e00000000000060448201526064015b60405180910390fd5b600084118015610d1d57506001600160a01b0385166000908152601e6020526040902054158015610cfa575080606001518411155b80610d1d57506001600160a01b0385166000908152601e60205260409020548411155b610d5d5760405162461bcd60e51b815260206004820152601160248201527034b73b30b634b21038bab0b73a34ba3c9760791b6044820152606401610cbc565b8060200151848260400151610d7291906141ae565b1115610dc05760405162461bcd60e51b815260206004820152601c60248201527f657863656564206d617820636c61696d61626c6520737570706c792e000000006044820152606401610cbc565b600e5484600f54610dd191906141ae565b1115610e1f5760405162461bcd60e51b815260206004820152601960248201527f6e6f7420656e6f756768206d696e74656420746f6b656e732e000000000000006044820152606401610cbc565b6012541580610e3d575060125484600f54610e3a91906141ae565b11155b610e895760405162461bcd60e51b815260206004820152601860248201527f657863656564206d617820746f74616c20737570706c792e00000000000000006044820152606401610cbc565b6001600160a01b0385166000908152601e602052604090205415610f2a576001600160a01b0385166000908152601e6020908152604080832054601d90925290912054610ed79086906141ae565b1115610f255760405162461bcd60e51b815260206004820152601760248201527f65786365656420616c6c6f636174696f6e206c696d69740000000000000000006044820152606401610cbc565b610f9f565b6011541580610f5e57506011546001600160a01b0386166000908152601d6020526040902054610f5b9086906141ae565b11155b610f9f5760405162461bcd60e51b8152602060048201526012602482015271195e18d959590818db185a5b481b1a5b5a5d60721b6044820152606401610cbc565b505050505050565b606060028054610fb6906141c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe2906141c6565b801561102f5780601f106110045761010080835404028352916020019161102f565b820191906000526020600020905b81548152906001019060200180831161101257829003601f168201915b5050505050905090565b600061104482612493565b506000908152600660205260409020546001600160a01b031690565b600061106b826119b7565b9050806001600160a01b0316836001600160a01b031614156110d95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610cbc565b336001600160a01b03821614806110f557506110f58133610b9b565b6111675760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610cbc565b61117183836124f2565b505050565b6002600c5414156111c95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cbc565b6002600c553332146112035760405162461bcd60e51b81526020600482015260036024820152621093d560ea1b6044820152606401610cbc565b600f546000611210611e9a565b905061121e81898686611bfe565b5061122c8189898989610bf5565b611237878787612560565b61124288828961264f565b60408051838152602081018990526001600160a01b038a1691339184917ffa76a4010d9533e3e964f2930a65fb6042a12fa6ff5b08281837a10b0be7321e910160405180910390a450506001600c55505050505050565b60006112a4816126f6565b6112af600083611d3f565b6112e45760405162461bcd60e51b815260206004820152600660248201526510a0a226a4a760d11b6044820152606401610cbc565b600d80546001600160a01b038481166001600160a01b0319831681179093556040519116919082907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a3505050565b6000611342816126f6565b60005b828110156113c15783838281811061135f5761135f614201565b90506040020160200135601e600086868581811061137f5761137f614201565b6113959260206040909202019081019150613d3a565b6001600160a01b03168152602081019190915260400160002055806113b981614217565b915050611345565b50505050565b60006113d2816126f6565b6127108211156114115760405162461bcd60e51b815260206004820152600a6024820152691f1026a0ac2fa128299760b11b6044820152606401610cbc565b601380546001600160b01b031916600160a01b61ffff8516026001600160a01b031916176001600160a01b0385169081179091556040518381527fe2497bd806ec41a6e0dd992c29a72efc0ef8fec9092d1978fd4a1e00b2f18304906020015b60405180910390a2505050565b611489335b82612700565b6114a55760405162461bcd60e51b8152600401610cbc90614232565b61117183838361277f565b6000806000806114bf866117d5565b90945084925061ffff1690506127106114d88287614280565b6114e291906142b5565b925050509250929050565b600082815260208190526040902060010154611508816126f6565b6111718383612926565b600061151d83611b25565b821061157f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610cbc565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b6001600160a01b03811633146116185760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610cbc565b6116228282612948565b5050565b6000611631816126f6565b60128290556040518281527ff2672935fc79f5237559e2e2999dbe743bf65430894ac2b37666890e7c69e1af906020015b60405180910390a15050565b61117183838360405180602001604052806000815250611e68565b61169233611483565b6116de5760405162461bcd60e51b815260206004820152601d60248201527f63616c6c6572206e6f74206f776e6572206e6f7220617070726f7665640000006044820152606401610cbc565b6116e78161296a565b50565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611714816126f6565b600e54600061172386836141ae565b600e8190556000818152601c60205260409020909150611744908686613a8f565b5060168054600181810183556000929092527fd833147d7dc355ba459fc788f669e58cfaf9dc25ddcd0702e87d69c7b5124289018290557f4e6c698792b8dfb7c94c60c7e9e91f82932832d5e1ec0870ed42cf674e6af4459083906117a989836141ae565b6117b391906142c9565b87876040516117c594939291906142e0565b60405180910390a1505050505050565b6000818152601f60209081526040808320815180830190925280546001600160a01b03168083526001909101549282019290925282911561181c5780516020820151611836565b6014546001600160a01b03811690600160a01b900461ffff165b9250925050915091565b600061184b600a5490565b82106118ae5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610cbc565b600a82815481106118c1576118c1614201565b90600052602060002001549050919050565b60006118de816126f6565b60118290556040518281527ff9d383c69b6255cbd431ca23734f43bdf15e694c7494956c917498469bcbce7390602001611662565b600061191e816126f6565b61271082111561195c5760405162461bcd60e51b81526020600482015260096024820152683e204d41585f42505360b81b6044820152606401610cbc565b601480546001600160a01b0385166001600160b01b03199091168117600160a01b61ffff861602179091556040518381527f90d7ec04bcb8978719414f82e52e4cb651db41d0e6f8cea6118c2191e6183adb90602001611471565b6000818152600460205260408120546001600160a01b031680610bef5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610cbc565b6000611a22816126f6565b601080546001600160a01b0319166001600160a01b0384169081179091556040517f299d17e95023f496e0ffc4909cff1a61f74bb5eb18de6f900f4155bfa1b3b33390600090a25050565b611ab96040518060e0016040528060008152602001600081526020016000815260200160008152602001600080191681526020016000815260200160006001600160a01b031681525090565b50600090815260196020908152604091829020825160e081018452815481526001820154928101929092526002810154928201929092526003820154606082015260048201546080820152600582015460a08201526006909101546001600160a01b031660c082015290565b60006001600160a01b038216611b8f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610cbc565b506001600160a01b031660009081526005602052604090205490565b600d54600090611bc59082906001600160a01b0316611d3f565b611bcf5750600090565b50600d546001600160a01b031690565b6000828152600160205260408120611bf79083612a11565b9392505050565b6000848152601960209081526040808320815160e0810183528154815260018201549381019390935260028101549183019190915260038101546060830152600481015460808301819052600582015460a08401526006909101546001600160a01b031660c083015215611d3657611cf38484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505050506080830151604080516001600160a01b038a1660208201520160408051601f198184030181528282528051602091820120908301520160405160208183030381529060405280519060200120612a1d565b915081611d365760405162461bcd60e51b81526020600482015260116024820152703737ba1034b7103bb434ba32b634b9ba1760791b6044820152606401610cbc565b50949350505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6000611d73816126f6565b6113c160158484613a8f565b606060038054610fb6906141c6565b6000611d99816126f6565b612710821115611dd75760405162461bcd60e51b81526020600482015260096024820152683e204d41585f42505360b81b6044820152606401610cbc565b6040805180820182526001600160a01b03858116808352602080840187815260008a8152601f8352869020945185546001600160a01b031916941693909317845591516001909301929092559151848152909186917f7365cf4122f072a3365c20d54eff9b38d73c096c28e1892ec8f5b0e403a0f12d910160405180910390a350505050565b611622338383612a33565b611e723383612700565b611e8e5760405162461bcd60e51b8152600401610cbc90614232565b6113c184848484612b02565b6018546017546000918291611eaf91906141ae565b90505b601754811115611f065760196000611ecb6001846142c9565b8152602001908152602001600020600001544210611ef457611eee6001826142c9565b91505090565b80611efe8161431d565b915050611eb2565b5060405162461bcd60e51b815260206004820152600b60248201526a10a1a7a72224aa24a7a71760a91b6044820152606401610cbc565b606060005b601654811015611fe45760168181548110611f5f57611f5f614201565b9060005260206000200154831015611fd257601c600060168381548110611f8857611f88614201565b90600052602060002001548152602001908152602001600020611faa84612b35565b604051602001611fbb929190614350565b604051602081830303815290604052915050919050565b611fdd6001826141ae565b9050611f42565b5050604080516020810190915260008152919050565b6000818152600160205260408120610bef90612c33565b60008281526020819052604090206001015461202c816126f6565b6111718383612948565b6016818154811061204657600080fd5b600091825260209091200154905081565b6000612062816126f6565b60175460185481841561207c5761207982846141ae565b90505b601886905560178190556000805b87811015612213578015806120b957508888828181106120ac576120ac614201565b905060e002016000013582105b6120ea5760405162461bcd60e51b815260206004820152600260248201526114d560f21b6044820152606401610cbc565b60006019816120f984876141ae565b815260200190815260200160002060020154905089898381811061211f5761211f614201565b905060e00201602001358111156121785760405162461bcd60e51b815260206004820152601a60248201527f6d617820737570706c7920636c61696d656420616c72656164790000000000006044820152606401610cbc565b89898381811061218a5761218a614201565b60e002919091019050601960006121a185886141ae565b815260200190815260200160002081816121bb91906143f7565b50819050601960006121cd85886141ae565b81526020810191909152604001600020600201558989838181106121f3576121f3614201565b905060e0020160000135925050808061220b90614217565b91505061208a565b50851561228257835b8281101561227c57600081815260196020526040812081815560018101829055600281018290556003810182905560048101829055600581019190915560060180546001600160a01b03191690558061227481614217565b91505061221c565b50612300565b8683111561230057865b838110156122fe57601960006122a283866141ae565b81526020810191909152604001600090812081815560018101829055600281018290556003810182905560048101829055600581019190915560060180546001600160a01b0319169055806122f681614217565b91505061228c565b505b7f9d711a2c07b046c8a77dde460adba0d86a41abe849e6662f37d354156eea82ad888860405161233192919061445e565b60405180910390a15050505050505050565b60158054612350906141c6565b80601f016020809104026020016040519081016040528092919081815260200182805461237c906141c6565b80156123c95780601f1061239e576101008083540402835291602001916123c9565b820191906000526020600020905b8154815290600101906020018083116123ac57829003601f168201915b505050505081565b3390565b6123df8282611d3f565b611622576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556124153390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611bf7836001600160a01b038416612c3d565b60006001600160e01b0319821663780e9d6360e01b1480610bef5750610bef82612c8c565b6000818152600460205260409020546001600160a01b03166116e75760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610cbc565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612527826119b7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8061256a57505050565b60006125768285614280565b6013549091506000906127109061259890600160a01b900461ffff1684614280565b6125a291906142b5565b90506001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415612611578134146126115760405162461bcd60e51b815260206004820152601660248201527536bab9ba1039b2b732103a37ba30b610383934b1b29760511b6044820152606401610cbc565b61262884336013546001600160a01b031684612ccc565b61264884336010546001600160a01b031661264385876142c9565b612ccc565b5050505050565b600082815260196020526040812060020180548392906126709084906141ae565b90915550506000828152601a602090815260408083206001600160a01b03871684528252808320429055601d909152812080548392906126b19084906141ae565b9091555050600f5460005b828110156126ed576126ce8583612d16565b6126d96001836141ae565b91506126e66001826141ae565b90506126bc565b50600f55505050565b6116e78133612e64565b60008061270c836119b7565b9050806001600160a01b0316846001600160a01b0316148061275357506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b806127775750836001600160a01b031661276c84611039565b6001600160a01b0316145b949350505050565b826001600160a01b0316612792826119b7565b6001600160a01b0316146127f65760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610cbc565b6001600160a01b0382166128585760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610cbc565b612863838383612ec8565b61286e6000826124f2565b6001600160a01b03831660009081526005602052604081208054600192906128979084906142c9565b90915550506001600160a01b03821660009081526005602052604081208054600192906128c59084906141ae565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61293082826123d5565b60008281526001602052604090206111719082612459565b6129528282612fc3565b60008281526001602052604090206111719082613028565b6000612975826119b7565b905061298381600084612ec8565b61298e6000836124f2565b6001600160a01b03811660009081526005602052604081208054600192906129b79084906142c9565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000611bf7838361303d565b600082612a2a8584613067565b14949350505050565b816001600160a01b0316836001600160a01b03161415612a955760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610cbc565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612b0d84848461277f565b612b19848484846130b4565b6113c15760405162461bcd60e51b8152600401610cbc906144ea565b606081612b595750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612b835780612b6d81614217565b9150612b7c9050600a836142b5565b9150612b5d565b60008167ffffffffffffffff811115612b9e57612b9e613fee565b6040519080825280601f01601f191660200182016040528015612bc8576020820181803683370190505b5090505b841561277757612bdd6001836142c9565b9150612bea600a8661453c565b612bf59060306141ae565b60f81b818381518110612c0a57612c0a614201565b60200101906001600160f81b031916908160001a905350612c2c600a866142b5565b9450612bcc565b6000610bef825490565b6000818152600183016020526040812054612c8457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610bef565b506000610bef565b60006001600160e01b031982166380ac58cd60e01b1480612cbd57506001600160e01b03198216635b5e139f60e01b145b80610bef5750610bef826131b2565b80612cd6576113c1565b6001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415612d0a57612d0582826131d7565b6113c1565b6113c18484848461327a565b6001600160a01b038216612d6c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610cbc565b6000818152600460205260409020546001600160a01b031615612dd15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610cbc565b612ddd60008383612ec8565b6001600160a01b0382166000908152600560205260408120805460019290612e069084906141ae565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b612e6e8282611d3f565b61162257612e86816001600160a01b031660146132d3565b612e918360206132d3565b604051602001612ea2929190614550565b60408051601f198184030181529082905262461bcd60e51b8252610cbc91600401613c1a565b612ed383838361346f565b612efe7f8502233096d909befbda0999bb8ea2f3a6be3c138b9fbf003752a4c8bce86f6c6000611d3f565b158015612f1357506001600160a01b03831615155b8015612f2757506001600160a01b03821615155b1561117157612f567f8502233096d909befbda0999bb8ea2f3a6be3c138b9fbf003752a4c8bce86f6c84611d3f565b80612f865750612f867f8502233096d909befbda0999bb8ea2f3a6be3c138b9fbf003752a4c8bce86f6c83611d3f565b6111715760405162461bcd60e51b815260206004820152600e60248201526d215452414e534645525f524f4c4560901b6044820152606401610cbc565b612fcd8282611d3f565b15611622576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611bf7836001600160a01b038416613527565b600082600001828154811061305457613054614201565b9060005260206000200154905092915050565b600081815b84518110156130ac576130988286838151811061308b5761308b614201565b602002602001015161361a565b9150806130a481614217565b91505061306c565b509392505050565b60006001600160a01b0384163b156131a757604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906130f89033908990889088906004016145c5565b6020604051808303816000875af1925050508015613133575060408051601f3d908101601f1916820190925261313091810190614602565b60015b61318d573d808015613161576040519150601f19603f3d011682016040523d82523d6000602084013e613166565b606091505b5080516131855760405162461bcd60e51b8152600401610cbc906144ea565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612777565b506001949350505050565b60006001600160e01b03198216635a05180f60e01b1480610bef5750610bef82613649565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613224576040519150601f19603f3d011682016040523d82523d6000602084013e613229565b606091505b50509050806111715760405162461bcd60e51b815260206004820152601c60248201527f6e617469766520746f6b656e207472616e73666572206661696c6564000000006044820152606401610cbc565b816001600160a01b0316836001600160a01b03161415613299576113c1565b6001600160a01b0383163014156132be57612d056001600160a01b038516838361367e565b6113c16001600160a01b0385168484846136e1565b606060006132e2836002614280565b6132ed9060026141ae565b67ffffffffffffffff81111561330557613305613fee565b6040519080825280601f01601f19166020018201604052801561332f576020820181803683370190505b509050600360fc1b8160008151811061334a5761334a614201565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061337957613379614201565b60200101906001600160f81b031916908160001a905350600061339d846002614280565b6133a89060016141ae565b90505b6001811115613420576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106133dc576133dc614201565b1a60f81b8282815181106133f2576133f2614201565b60200101906001600160f81b031916908160001a90535060049490941c936134198161431d565b90506133ab565b508315611bf75760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610cbc565b6001600160a01b0383166134ca576134c581600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b6134ed565b816001600160a01b0316836001600160a01b0316146134ed576134ed8382613719565b6001600160a01b03821661350457611171816137b6565b826001600160a01b0316826001600160a01b031614611171576111718282613865565b6000818152600183016020526040812054801561361057600061354b6001836142c9565b855490915060009061355f906001906142c9565b90508181146135c457600086600001828154811061357f5761357f614201565b90600052602060002001549050808760000184815481106135a2576135a2614201565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806135d5576135d561461f565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610bef565b6000915050610bef565b6000818310613636576000828152602084905260409020611bf7565b6000838152602083905260409020611bf7565b60006001600160e01b03198216637965db0b60e01b1480610bef57506301ffc9a760e01b6001600160e01b0319831614610bef565b6040516001600160a01b03831660248201526044810182905261117190849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526138a9565b6040516001600160a01b03808516602483015283166044820152606481018290526113c19085906323b872dd60e01b906084016136aa565b6000600161372684611b25565b61373091906142c9565b600083815260096020526040902054909150808214613783576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a546000906137c8906001906142c9565b6000838152600b6020526040812054600a80549394509092849081106137f0576137f0614201565b9060005260206000200154905080600a838154811061381157613811614201565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a8054806138495761384961461f565b6001900381819060005260206000200160009055905550505050565b600061387083611b25565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b60006138fe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661397b9092919063ffffffff16565b805190915015611171578080602001905181019061391c9190614635565b6111715760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610cbc565b60606127778484600085856001600160a01b0385163b6139dd5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610cbc565b600080866001600160a01b031685876040516139f99190614652565b60006040518083038185875af1925050503d8060008114613a36576040519150601f19603f3d011682016040523d82523d6000602084013e613a3b565b606091505b5091509150613a4b828286613a56565b979650505050505050565b60608315613a65575081611bf7565b825115613a755782518084602001fd5b8160405162461bcd60e51b8152600401610cbc9190613c1a565b828054613a9b906141c6565b90600052602060002090601f016020900481019282613abd5760008555613b03565b82601f10613ad65782800160ff19823516178555613b03565b82800160010185558215613b03579182015b82811115613b03578235825591602001919060010190613ae8565b50613b0f929150613b13565b5090565b5b80821115613b0f5760008155600101613b14565b6001600160e01b0319811681146116e757600080fd5b600060208284031215613b5057600080fd5b8135611bf781613b28565b6001600160a01b03811681146116e757600080fd5b600080600080600060a08688031215613b8857600080fd5b853594506020860135613b9a81613b5b565b9350604086013592506060860135613bb181613b5b565b949793965091946080013592915050565b60005b83811015613bdd578181015183820152602001613bc5565b838111156113c15750506000910152565b60008151808452613c06816020860160208601613bc2565b601f01601f19169290920160200192915050565b602081526000611bf76020830184613bee565b600060208284031215613c3f57600080fd5b5035919050565b60008060408385031215613c5957600080fd5b8235613c6481613b5b565b946020939093013593505050565b60008083601f840112613c8457600080fd5b50813567ffffffffffffffff811115613c9c57600080fd5b6020830191508360208260051b8501011115613cb757600080fd5b9250929050565b60008060008060008060a08789031215613cd757600080fd5b8635613ce281613b5b565b9550602087013594506040870135613cf981613b5b565b935060608701359250608087013567ffffffffffffffff811115613d1c57600080fd5b613d2889828a01613c72565b979a9699509497509295939492505050565b600060208284031215613d4c57600080fd5b8135611bf781613b5b565b60008060208385031215613d6a57600080fd5b823567ffffffffffffffff80821115613d8257600080fd5b818501915085601f830112613d9657600080fd5b813581811115613da557600080fd5b8660208260061b8501011115613dba57600080fd5b60209290920196919550909350505050565b600080600060608486031215613de157600080fd5b8335613dec81613b5b565b92506020840135613dfc81613b5b565b929592945050506040919091013590565b60008060408385031215613e2057600080fd5b50508035926020909101359150565b60008060408385031215613e4257600080fd5b823591506020830135613e5481613b5b565b809150509250929050565b60008083601f840112613e7157600080fd5b50813567ffffffffffffffff811115613e8957600080fd5b602083019150836020828501011115613cb757600080fd5b600080600060408486031215613eb657600080fd5b83359250602084013567ffffffffffffffff811115613ed457600080fd5b613ee086828701613e5f565b9497909650939450505050565b60008060008060608587031215613f0357600080fd5b843593506020850135613f1581613b5b565b9250604085013567ffffffffffffffff811115613f3157600080fd5b613f3d87828801613c72565b95989497509550505050565b60008060208385031215613f5c57600080fd5b823567ffffffffffffffff811115613f7357600080fd5b613f7f85828601613e5f565b90969095509350505050565b600080600060608486031215613fa057600080fd5b833592506020840135613dfc81613b5b565b80151581146116e757600080fd5b60008060408385031215613fd357600080fd5b8235613fde81613b5b565b91506020830135613e5481613fb2565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561401a57600080fd5b843561402581613b5b565b9350602085013561403581613b5b565b925060408501359150606085013567ffffffffffffffff8082111561405957600080fd5b818701915087601f83011261406d57600080fd5b81358181111561407f5761407f613fee565b604051601f8201601f19908116603f011681019083821181831017156140a7576140a7613fee565b816040528281528a60208487010111156140c057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000604084860312156140f957600080fd5b833567ffffffffffffffff8082111561411157600080fd5b818601915086601f83011261412557600080fd5b81358181111561413457600080fd5b87602060e08302850101111561414957600080fd5b6020928301955093505084013561415f81613fb2565b809150509250925092565b6000806040838503121561417d57600080fd5b823561418881613b5b565b91506020830135613e5481613b5b565b634e487b7160e01b600052601160045260246000fd5b600082198211156141c1576141c1614198565b500190565b600181811c908216806141da57607f821691505b602082108114156141fb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b600060001982141561422b5761422b614198565b5060010190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b600081600019048311821515161561429a5761429a614198565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826142c4576142c461429f565b500490565b6000828210156142db576142db614198565b500390565b84815283602082015260606040820152816060820152818360808301376000818301608090810191909152601f909201601f191601019392505050565b60008161432c5761432c614198565b506000190190565b60008151614346818560208601613bc2565b9290920192915050565b600080845481600182811c91508083168061436c57607f831692505b602080841082141561438c57634e487b7160e01b86526022600452602486fd5b8180156143a057600181146143b1576143de565b60ff198616895284890196506143de565b60008b81526020902060005b868110156143d65781548b8201529085019083016143bd565b505084890196505b5050505050506143ee8185614334565b95945050505050565b813581556020820135600182015560408201356002820155606082013560038201556080820135600482015560a082013560058201556006810160c083013561443f81613b5b565b81546001600160a01b0319166001600160a01b03919091161790555050565b6020808252818101839052600090604080840186845b878110156144dd578135835284820135858401528382013584840152606080830135908401526080808301359084015260a0808301359084015260c0808301356144bd81613b5b565b6001600160a01b03169084015260e0928301929190910190600101614474565b5090979650505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008261454b5761454b61429f565b500690565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351614588816017850160208801613bc2565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516145b9816028840160208801613bc2565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906145f890830184613bee565b9695505050505050565b60006020828403121561461457600080fd5b8151611bf781613b28565b634e487b7160e01b600052603160045260246000fd5b60006020828403121561464757600080fd5b8151611bf781613fb2565b60008251614664818460208701613bc2565b919091019291505056fea2646970667358221220223453f3c0c1c4cf3b8dd8ab40c54b79f164c90899db99eef66418761e9e378764736f6c634300080b00330000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000008f1501d3ec3bab772fcb397784f449f5f1a5cc7c000000000000000000000000267dd24cb7fac9627f4a4f57d1870727fd640d5000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000025800000000000000000000000062020bc8bf0a72322013bc61a2171ed5a18f55140000000000000000000000000000000000000000000000000000000000000018466f756e6465727320436f6c6c65637469766520506173730000000000000000000000000000000000000000000000000000000000000000000000000000000b4f5249454e54414c4953540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d544e446b376447584872724475596164663157694b6f45614835544b61427631696134544643526f544436700000000000000000000000

Deployed Bytecode

0x60806040526004361061038c5760003560e01c80636352211e116101dc578063a22cb46511610102578063cb2ef6f7116100a0578063d860483f1161006f578063d860483f14610b2b578063e5fd344e14610b4b578063e8a3d48514610b6b578063e985e9c514610b8057600080fd5b8063cb2ef6f714610a85578063d45573f614610ab0578063d547741f14610adb578063d637ed5914610afb57600080fd5b8063b88d4fde116100dc578063b88d4fde14610a10578063c68907de14610a30578063c87b56dd14610a45578063ca15c87314610a6557600080fd5b8063a22cb465146109af578063acd083f8146109cf578063b24f2d39146109e557600080fd5b80639010d07c1161017a57806395d89b411161014957806395d89b41146109495780639bcf7a151461095e578063a0a8e4601461097e578063a217fddf1461099a57600080fd5b80639010d07c146108c957806390747b8a146108e957806391d1485414610909578063938e3d7b1461092957600080fd5b80636f8934f4116101b65780636f8934f4146107ed57806370a082311461086757806380dab27e146108875780638da5cb5b146108b457600080fd5b80636352211e1461079857806363b45e2d146107b85780636f4f2837146107cd57600080fd5b80632a55205a116102c157806342842e0e1161025f5780634cc157df1161022e5780634cc157df146106f65780634f6ccce7146107385780635086795714610758578063600dd5ea1461077857600080fd5b806342842e0e1461066957806342966c68146106895780634352ab41146106a957806347158264146106d657600080fd5b80632f745c591161029b5780632f745c59146105f357806336568abe146106135780633b1475a7146106335780633f3e4c111461064957600080fd5b80632a55205a1461057e5780632ab4d052146105bd5780632f2ff15d146105d357600080fd5b806312d18ed61161032e5780631c17fed5116103085780631c17fed5146104ee5780631e7ac4881461050e57806323b872dd1461052e578063248a9ca31461054e57600080fd5b806312d18ed6146104a657806313af4035146104b957806318160ddd146104d957600080fd5b806306fdde031161036a57806306fdde031461040c578063079fe40e1461042e578063081812fc14610466578063095ea7b31461048657600080fd5b806301ffc9a71461039157806302c7a877146103c657806305981769146103e8575b600080fd5b34801561039d57600080fd5b506103b16103ac366004613b3e565b610bc9565b60405190151581526020015b60405180910390f35b3480156103d257600080fd5b506103e66103e1366004613b70565b610bf5565b005b3480156103f457600080fd5b506103fe60115481565b6040519081526020016103bd565b34801561041857600080fd5b50610421610fa7565b6040516103bd9190613c1a565b34801561043a57600080fd5b5060105461044e906001600160a01b031681565b6040516001600160a01b0390911681526020016103bd565b34801561047257600080fd5b5061044e610481366004613c2d565b611039565b34801561049257600080fd5b506103e66104a1366004613c46565b611060565b6103e66104b4366004613cbe565b611176565b3480156104c557600080fd5b506103e66104d4366004613d3a565b611299565b3480156104e557600080fd5b50600a546103fe565b3480156104fa57600080fd5b506103e6610509366004613d57565b611337565b34801561051a57600080fd5b506103e6610529366004613c46565b6113c7565b34801561053a57600080fd5b506103e6610549366004613dcc565b61147e565b34801561055a57600080fd5b506103fe610569366004613c2d565b60009081526020819052604090206001015490565b34801561058a57600080fd5b5061059e610599366004613e0d565b6114b0565b604080516001600160a01b0390931683526020830191909152016103bd565b3480156105c957600080fd5b506103fe60125481565b3480156105df57600080fd5b506103e66105ee366004613e2f565b6114ed565b3480156105ff57600080fd5b506103fe61060e366004613c46565b611512565b34801561061f57600080fd5b506103e661062e366004613e2f565b6115a8565b34801561063f57600080fd5b506103fe600e5481565b34801561065557600080fd5b506103e6610664366004613c2d565b611626565b34801561067557600080fd5b506103e6610684366004613dcc565b61166e565b34801561069557600080fd5b506103e66106a4366004613c2d565b611689565b3480156106b557600080fd5b506103fe6106c4366004613d3a565b601d6020526000908152604090205481565b3480156106e257600080fd5b506103e66106f1366004613ea1565b6116ea565b34801561070257600080fd5b50610716610711366004613c2d565b6117d5565b604080516001600160a01b03909316835261ffff9091166020830152016103bd565b34801561074457600080fd5b506103fe610753366004613c2d565b611840565b34801561076457600080fd5b506103e6610773366004613c2d565b6118d3565b34801561078457600080fd5b506103e6610793366004613c46565b611913565b3480156107a457600080fd5b5061044e6107b3366004613c2d565b6119b7565b3480156107c457600080fd5b506016546103fe565b3480156107d957600080fd5b506103e66107e8366004613d3a565b611a17565b3480156107f957600080fd5b5061080d610808366004613c2d565b611a6d565b6040516103bd9190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0918201516001600160a01b03169181019190915260e00190565b34801561087357600080fd5b506103fe610882366004613d3a565b611b25565b34801561089357600080fd5b506103fe6108a2366004613d3a565b601e6020526000908152604090205481565b3480156108c057600080fd5b5061044e611bab565b3480156108d557600080fd5b5061044e6108e4366004613e0d565b611bdf565b3480156108f557600080fd5b506103b1610904366004613eed565b611bfe565b34801561091557600080fd5b506103b1610924366004613e2f565b611d3f565b34801561093557600080fd5b506103e6610944366004613f49565b611d68565b34801561095557600080fd5b50610421611d7f565b34801561096a57600080fd5b506103e6610979366004613f8b565b611d8e565b34801561098a57600080fd5b50604051600181526020016103bd565b3480156109a657600080fd5b506103fe600081565b3480156109bb57600080fd5b506103e66109ca366004613fc0565b611e5d565b3480156109db57600080fd5b506103fe600f5481565b3480156109f157600080fd5b506014546001600160a01b03811690600160a01b900461ffff16610716565b348015610a1c57600080fd5b506103e6610a2b366004614004565b611e68565b348015610a3c57600080fd5b506103fe611e9a565b348015610a5157600080fd5b50610421610a60366004613c2d565b611f3d565b348015610a7157600080fd5b506103fe610a80366004613c2d565b611ffa565b348015610a9157600080fd5b50745468654f7269656e74616c6973742d45524337323160581b6103fe565b348015610abc57600080fd5b506013546001600160a01b03811690600160a01b900461ffff16610716565b348015610ae757600080fd5b506103e6610af6366004613e2f565b612011565b348015610b0757600080fd5b50601754601854610b16919082565b604080519283526020830191909152016103bd565b348015610b3757600080fd5b506103fe610b46366004613c2d565b612036565b348015610b5757600080fd5b506103e6610b663660046140e4565b612057565b348015610b7757600080fd5b50610421612343565b348015610b8c57600080fd5b506103b1610b9b36600461416a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6000610bd48261246e565b80610bef575063152a902d60e11b6001600160e01b03198316145b92915050565b600085815260196020908152604091829020825160e081018452815481526001820154928101929092526002810154928201929092526003820154606082015260048201546080820152600582015460a08201526006909101546001600160a01b0390811660c08301819052908416148015610c7457508060a0015182145b610cc55760405162461bcd60e51b815260206004820152601a60248201527f696e76616c69642063757272656e6379206f722070726963652e00000000000060448201526064015b60405180910390fd5b600084118015610d1d57506001600160a01b0385166000908152601e6020526040902054158015610cfa575080606001518411155b80610d1d57506001600160a01b0385166000908152601e60205260409020548411155b610d5d5760405162461bcd60e51b815260206004820152601160248201527034b73b30b634b21038bab0b73a34ba3c9760791b6044820152606401610cbc565b8060200151848260400151610d7291906141ae565b1115610dc05760405162461bcd60e51b815260206004820152601c60248201527f657863656564206d617820636c61696d61626c6520737570706c792e000000006044820152606401610cbc565b600e5484600f54610dd191906141ae565b1115610e1f5760405162461bcd60e51b815260206004820152601960248201527f6e6f7420656e6f756768206d696e74656420746f6b656e732e000000000000006044820152606401610cbc565b6012541580610e3d575060125484600f54610e3a91906141ae565b11155b610e895760405162461bcd60e51b815260206004820152601860248201527f657863656564206d617820746f74616c20737570706c792e00000000000000006044820152606401610cbc565b6001600160a01b0385166000908152601e602052604090205415610f2a576001600160a01b0385166000908152601e6020908152604080832054601d90925290912054610ed79086906141ae565b1115610f255760405162461bcd60e51b815260206004820152601760248201527f65786365656420616c6c6f636174696f6e206c696d69740000000000000000006044820152606401610cbc565b610f9f565b6011541580610f5e57506011546001600160a01b0386166000908152601d6020526040902054610f5b9086906141ae565b11155b610f9f5760405162461bcd60e51b8152602060048201526012602482015271195e18d959590818db185a5b481b1a5b5a5d60721b6044820152606401610cbc565b505050505050565b606060028054610fb6906141c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe2906141c6565b801561102f5780601f106110045761010080835404028352916020019161102f565b820191906000526020600020905b81548152906001019060200180831161101257829003601f168201915b5050505050905090565b600061104482612493565b506000908152600660205260409020546001600160a01b031690565b600061106b826119b7565b9050806001600160a01b0316836001600160a01b031614156110d95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610cbc565b336001600160a01b03821614806110f557506110f58133610b9b565b6111675760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610cbc565b61117183836124f2565b505050565b6002600c5414156111c95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cbc565b6002600c553332146112035760405162461bcd60e51b81526020600482015260036024820152621093d560ea1b6044820152606401610cbc565b600f546000611210611e9a565b905061121e81898686611bfe565b5061122c8189898989610bf5565b611237878787612560565b61124288828961264f565b60408051838152602081018990526001600160a01b038a1691339184917ffa76a4010d9533e3e964f2930a65fb6042a12fa6ff5b08281837a10b0be7321e910160405180910390a450506001600c55505050505050565b60006112a4816126f6565b6112af600083611d3f565b6112e45760405162461bcd60e51b815260206004820152600660248201526510a0a226a4a760d11b6044820152606401610cbc565b600d80546001600160a01b038481166001600160a01b0319831681179093556040519116919082907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a3505050565b6000611342816126f6565b60005b828110156113c15783838281811061135f5761135f614201565b90506040020160200135601e600086868581811061137f5761137f614201565b6113959260206040909202019081019150613d3a565b6001600160a01b03168152602081019190915260400160002055806113b981614217565b915050611345565b50505050565b60006113d2816126f6565b6127108211156114115760405162461bcd60e51b815260206004820152600a6024820152691f1026a0ac2fa128299760b11b6044820152606401610cbc565b601380546001600160b01b031916600160a01b61ffff8516026001600160a01b031916176001600160a01b0385169081179091556040518381527fe2497bd806ec41a6e0dd992c29a72efc0ef8fec9092d1978fd4a1e00b2f18304906020015b60405180910390a2505050565b611489335b82612700565b6114a55760405162461bcd60e51b8152600401610cbc90614232565b61117183838361277f565b6000806000806114bf866117d5565b90945084925061ffff1690506127106114d88287614280565b6114e291906142b5565b925050509250929050565b600082815260208190526040902060010154611508816126f6565b6111718383612926565b600061151d83611b25565b821061157f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610cbc565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b6001600160a01b03811633146116185760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610cbc565b6116228282612948565b5050565b6000611631816126f6565b60128290556040518281527ff2672935fc79f5237559e2e2999dbe743bf65430894ac2b37666890e7c69e1af906020015b60405180910390a15050565b61117183838360405180602001604052806000815250611e68565b61169233611483565b6116de5760405162461bcd60e51b815260206004820152601d60248201527f63616c6c6572206e6f74206f776e6572206e6f7220617070726f7665640000006044820152606401610cbc565b6116e78161296a565b50565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611714816126f6565b600e54600061172386836141ae565b600e8190556000818152601c60205260409020909150611744908686613a8f565b5060168054600181810183556000929092527fd833147d7dc355ba459fc788f669e58cfaf9dc25ddcd0702e87d69c7b5124289018290557f4e6c698792b8dfb7c94c60c7e9e91f82932832d5e1ec0870ed42cf674e6af4459083906117a989836141ae565b6117b391906142c9565b87876040516117c594939291906142e0565b60405180910390a1505050505050565b6000818152601f60209081526040808320815180830190925280546001600160a01b03168083526001909101549282019290925282911561181c5780516020820151611836565b6014546001600160a01b03811690600160a01b900461ffff165b9250925050915091565b600061184b600a5490565b82106118ae5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610cbc565b600a82815481106118c1576118c1614201565b90600052602060002001549050919050565b60006118de816126f6565b60118290556040518281527ff9d383c69b6255cbd431ca23734f43bdf15e694c7494956c917498469bcbce7390602001611662565b600061191e816126f6565b61271082111561195c5760405162461bcd60e51b81526020600482015260096024820152683e204d41585f42505360b81b6044820152606401610cbc565b601480546001600160a01b0385166001600160b01b03199091168117600160a01b61ffff861602179091556040518381527f90d7ec04bcb8978719414f82e52e4cb651db41d0e6f8cea6118c2191e6183adb90602001611471565b6000818152600460205260408120546001600160a01b031680610bef5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610cbc565b6000611a22816126f6565b601080546001600160a01b0319166001600160a01b0384169081179091556040517f299d17e95023f496e0ffc4909cff1a61f74bb5eb18de6f900f4155bfa1b3b33390600090a25050565b611ab96040518060e0016040528060008152602001600081526020016000815260200160008152602001600080191681526020016000815260200160006001600160a01b031681525090565b50600090815260196020908152604091829020825160e081018452815481526001820154928101929092526002810154928201929092526003820154606082015260048201546080820152600582015460a08201526006909101546001600160a01b031660c082015290565b60006001600160a01b038216611b8f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610cbc565b506001600160a01b031660009081526005602052604090205490565b600d54600090611bc59082906001600160a01b0316611d3f565b611bcf5750600090565b50600d546001600160a01b031690565b6000828152600160205260408120611bf79083612a11565b9392505050565b6000848152601960209081526040808320815160e0810183528154815260018201549381019390935260028101549183019190915260038101546060830152600481015460808301819052600582015460a08401526006909101546001600160a01b031660c083015215611d3657611cf38484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505050506080830151604080516001600160a01b038a1660208201520160408051601f198184030181528282528051602091820120908301520160405160208183030381529060405280519060200120612a1d565b915081611d365760405162461bcd60e51b81526020600482015260116024820152703737ba1034b7103bb434ba32b634b9ba1760791b6044820152606401610cbc565b50949350505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6000611d73816126f6565b6113c160158484613a8f565b606060038054610fb6906141c6565b6000611d99816126f6565b612710821115611dd75760405162461bcd60e51b81526020600482015260096024820152683e204d41585f42505360b81b6044820152606401610cbc565b6040805180820182526001600160a01b03858116808352602080840187815260008a8152601f8352869020945185546001600160a01b031916941693909317845591516001909301929092559151848152909186917f7365cf4122f072a3365c20d54eff9b38d73c096c28e1892ec8f5b0e403a0f12d910160405180910390a350505050565b611622338383612a33565b611e723383612700565b611e8e5760405162461bcd60e51b8152600401610cbc90614232565b6113c184848484612b02565b6018546017546000918291611eaf91906141ae565b90505b601754811115611f065760196000611ecb6001846142c9565b8152602001908152602001600020600001544210611ef457611eee6001826142c9565b91505090565b80611efe8161431d565b915050611eb2565b5060405162461bcd60e51b815260206004820152600b60248201526a10a1a7a72224aa24a7a71760a91b6044820152606401610cbc565b606060005b601654811015611fe45760168181548110611f5f57611f5f614201565b9060005260206000200154831015611fd257601c600060168381548110611f8857611f88614201565b90600052602060002001548152602001908152602001600020611faa84612b35565b604051602001611fbb929190614350565b604051602081830303815290604052915050919050565b611fdd6001826141ae565b9050611f42565b5050604080516020810190915260008152919050565b6000818152600160205260408120610bef90612c33565b60008281526020819052604090206001015461202c816126f6565b6111718383612948565b6016818154811061204657600080fd5b600091825260209091200154905081565b6000612062816126f6565b60175460185481841561207c5761207982846141ae565b90505b601886905560178190556000805b87811015612213578015806120b957508888828181106120ac576120ac614201565b905060e002016000013582105b6120ea5760405162461bcd60e51b815260206004820152600260248201526114d560f21b6044820152606401610cbc565b60006019816120f984876141ae565b815260200190815260200160002060020154905089898381811061211f5761211f614201565b905060e00201602001358111156121785760405162461bcd60e51b815260206004820152601a60248201527f6d617820737570706c7920636c61696d656420616c72656164790000000000006044820152606401610cbc565b89898381811061218a5761218a614201565b60e002919091019050601960006121a185886141ae565b815260200190815260200160002081816121bb91906143f7565b50819050601960006121cd85886141ae565b81526020810191909152604001600020600201558989838181106121f3576121f3614201565b905060e0020160000135925050808061220b90614217565b91505061208a565b50851561228257835b8281101561227c57600081815260196020526040812081815560018101829055600281018290556003810182905560048101829055600581019190915560060180546001600160a01b03191690558061227481614217565b91505061221c565b50612300565b8683111561230057865b838110156122fe57601960006122a283866141ae565b81526020810191909152604001600090812081815560018101829055600281018290556003810182905560048101829055600581019190915560060180546001600160a01b0319169055806122f681614217565b91505061228c565b505b7f9d711a2c07b046c8a77dde460adba0d86a41abe849e6662f37d354156eea82ad888860405161233192919061445e565b60405180910390a15050505050505050565b60158054612350906141c6565b80601f016020809104026020016040519081016040528092919081815260200182805461237c906141c6565b80156123c95780601f1061239e576101008083540402835291602001916123c9565b820191906000526020600020905b8154815290600101906020018083116123ac57829003601f168201915b505050505081565b3390565b6123df8282611d3f565b611622576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556124153390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611bf7836001600160a01b038416612c3d565b60006001600160e01b0319821663780e9d6360e01b1480610bef5750610bef82612c8c565b6000818152600460205260409020546001600160a01b03166116e75760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610cbc565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612527826119b7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8061256a57505050565b60006125768285614280565b6013549091506000906127109061259890600160a01b900461ffff1684614280565b6125a291906142b5565b90506001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415612611578134146126115760405162461bcd60e51b815260206004820152601660248201527536bab9ba1039b2b732103a37ba30b610383934b1b29760511b6044820152606401610cbc565b61262884336013546001600160a01b031684612ccc565b61264884336010546001600160a01b031661264385876142c9565b612ccc565b5050505050565b600082815260196020526040812060020180548392906126709084906141ae565b90915550506000828152601a602090815260408083206001600160a01b03871684528252808320429055601d909152812080548392906126b19084906141ae565b9091555050600f5460005b828110156126ed576126ce8583612d16565b6126d96001836141ae565b91506126e66001826141ae565b90506126bc565b50600f55505050565b6116e78133612e64565b60008061270c836119b7565b9050806001600160a01b0316846001600160a01b0316148061275357506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b806127775750836001600160a01b031661276c84611039565b6001600160a01b0316145b949350505050565b826001600160a01b0316612792826119b7565b6001600160a01b0316146127f65760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610cbc565b6001600160a01b0382166128585760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610cbc565b612863838383612ec8565b61286e6000826124f2565b6001600160a01b03831660009081526005602052604081208054600192906128979084906142c9565b90915550506001600160a01b03821660009081526005602052604081208054600192906128c59084906141ae565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61293082826123d5565b60008281526001602052604090206111719082612459565b6129528282612fc3565b60008281526001602052604090206111719082613028565b6000612975826119b7565b905061298381600084612ec8565b61298e6000836124f2565b6001600160a01b03811660009081526005602052604081208054600192906129b79084906142c9565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000611bf7838361303d565b600082612a2a8584613067565b14949350505050565b816001600160a01b0316836001600160a01b03161415612a955760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610cbc565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612b0d84848461277f565b612b19848484846130b4565b6113c15760405162461bcd60e51b8152600401610cbc906144ea565b606081612b595750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612b835780612b6d81614217565b9150612b7c9050600a836142b5565b9150612b5d565b60008167ffffffffffffffff811115612b9e57612b9e613fee565b6040519080825280601f01601f191660200182016040528015612bc8576020820181803683370190505b5090505b841561277757612bdd6001836142c9565b9150612bea600a8661453c565b612bf59060306141ae565b60f81b818381518110612c0a57612c0a614201565b60200101906001600160f81b031916908160001a905350612c2c600a866142b5565b9450612bcc565b6000610bef825490565b6000818152600183016020526040812054612c8457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610bef565b506000610bef565b60006001600160e01b031982166380ac58cd60e01b1480612cbd57506001600160e01b03198216635b5e139f60e01b145b80610bef5750610bef826131b2565b80612cd6576113c1565b6001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415612d0a57612d0582826131d7565b6113c1565b6113c18484848461327a565b6001600160a01b038216612d6c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610cbc565b6000818152600460205260409020546001600160a01b031615612dd15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610cbc565b612ddd60008383612ec8565b6001600160a01b0382166000908152600560205260408120805460019290612e069084906141ae565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b612e6e8282611d3f565b61162257612e86816001600160a01b031660146132d3565b612e918360206132d3565b604051602001612ea2929190614550565b60408051601f198184030181529082905262461bcd60e51b8252610cbc91600401613c1a565b612ed383838361346f565b612efe7f8502233096d909befbda0999bb8ea2f3a6be3c138b9fbf003752a4c8bce86f6c6000611d3f565b158015612f1357506001600160a01b03831615155b8015612f2757506001600160a01b03821615155b1561117157612f567f8502233096d909befbda0999bb8ea2f3a6be3c138b9fbf003752a4c8bce86f6c84611d3f565b80612f865750612f867f8502233096d909befbda0999bb8ea2f3a6be3c138b9fbf003752a4c8bce86f6c83611d3f565b6111715760405162461bcd60e51b815260206004820152600e60248201526d215452414e534645525f524f4c4560901b6044820152606401610cbc565b612fcd8282611d3f565b15611622576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611bf7836001600160a01b038416613527565b600082600001828154811061305457613054614201565b9060005260206000200154905092915050565b600081815b84518110156130ac576130988286838151811061308b5761308b614201565b602002602001015161361a565b9150806130a481614217565b91505061306c565b509392505050565b60006001600160a01b0384163b156131a757604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906130f89033908990889088906004016145c5565b6020604051808303816000875af1925050508015613133575060408051601f3d908101601f1916820190925261313091810190614602565b60015b61318d573d808015613161576040519150601f19603f3d011682016040523d82523d6000602084013e613166565b606091505b5080516131855760405162461bcd60e51b8152600401610cbc906144ea565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612777565b506001949350505050565b60006001600160e01b03198216635a05180f60e01b1480610bef5750610bef82613649565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613224576040519150601f19603f3d011682016040523d82523d6000602084013e613229565b606091505b50509050806111715760405162461bcd60e51b815260206004820152601c60248201527f6e617469766520746f6b656e207472616e73666572206661696c6564000000006044820152606401610cbc565b816001600160a01b0316836001600160a01b03161415613299576113c1565b6001600160a01b0383163014156132be57612d056001600160a01b038516838361367e565b6113c16001600160a01b0385168484846136e1565b606060006132e2836002614280565b6132ed9060026141ae565b67ffffffffffffffff81111561330557613305613fee565b6040519080825280601f01601f19166020018201604052801561332f576020820181803683370190505b509050600360fc1b8160008151811061334a5761334a614201565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061337957613379614201565b60200101906001600160f81b031916908160001a905350600061339d846002614280565b6133a89060016141ae565b90505b6001811115613420576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106133dc576133dc614201565b1a60f81b8282815181106133f2576133f2614201565b60200101906001600160f81b031916908160001a90535060049490941c936134198161431d565b90506133ab565b508315611bf75760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610cbc565b6001600160a01b0383166134ca576134c581600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b6134ed565b816001600160a01b0316836001600160a01b0316146134ed576134ed8382613719565b6001600160a01b03821661350457611171816137b6565b826001600160a01b0316826001600160a01b031614611171576111718282613865565b6000818152600183016020526040812054801561361057600061354b6001836142c9565b855490915060009061355f906001906142c9565b90508181146135c457600086600001828154811061357f5761357f614201565b90600052602060002001549050808760000184815481106135a2576135a2614201565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806135d5576135d561461f565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610bef565b6000915050610bef565b6000818310613636576000828152602084905260409020611bf7565b6000838152602083905260409020611bf7565b60006001600160e01b03198216637965db0b60e01b1480610bef57506301ffc9a760e01b6001600160e01b0319831614610bef565b6040516001600160a01b03831660248201526044810182905261117190849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526138a9565b6040516001600160a01b03808516602483015283166044820152606481018290526113c19085906323b872dd60e01b906084016136aa565b6000600161372684611b25565b61373091906142c9565b600083815260096020526040902054909150808214613783576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a546000906137c8906001906142c9565b6000838152600b6020526040812054600a80549394509092849081106137f0576137f0614201565b9060005260206000200154905080600a838154811061381157613811614201565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a8054806138495761384961461f565b6001900381819060005260206000200160009055905550505050565b600061387083611b25565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b60006138fe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661397b9092919063ffffffff16565b805190915015611171578080602001905181019061391c9190614635565b6111715760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610cbc565b60606127778484600085856001600160a01b0385163b6139dd5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610cbc565b600080866001600160a01b031685876040516139f99190614652565b60006040518083038185875af1925050503d8060008114613a36576040519150601f19603f3d011682016040523d82523d6000602084013e613a3b565b606091505b5091509150613a4b828286613a56565b979650505050505050565b60608315613a65575081611bf7565b825115613a755782518084602001fd5b8160405162461bcd60e51b8152600401610cbc9190613c1a565b828054613a9b906141c6565b90600052602060002090601f016020900481019282613abd5760008555613b03565b82601f10613ad65782800160ff19823516178555613b03565b82800160010185558215613b03579182015b82811115613b03578235825591602001919060010190613ae8565b50613b0f929150613b13565b5090565b5b80821115613b0f5760008155600101613b14565b6001600160e01b0319811681146116e757600080fd5b600060208284031215613b5057600080fd5b8135611bf781613b28565b6001600160a01b03811681146116e757600080fd5b600080600080600060a08688031215613b8857600080fd5b853594506020860135613b9a81613b5b565b9350604086013592506060860135613bb181613b5b565b949793965091946080013592915050565b60005b83811015613bdd578181015183820152602001613bc5565b838111156113c15750506000910152565b60008151808452613c06816020860160208601613bc2565b601f01601f19169290920160200192915050565b602081526000611bf76020830184613bee565b600060208284031215613c3f57600080fd5b5035919050565b60008060408385031215613c5957600080fd5b8235613c6481613b5b565b946020939093013593505050565b60008083601f840112613c8457600080fd5b50813567ffffffffffffffff811115613c9c57600080fd5b6020830191508360208260051b8501011115613cb757600080fd5b9250929050565b60008060008060008060a08789031215613cd757600080fd5b8635613ce281613b5b565b9550602087013594506040870135613cf981613b5b565b935060608701359250608087013567ffffffffffffffff811115613d1c57600080fd5b613d2889828a01613c72565b979a9699509497509295939492505050565b600060208284031215613d4c57600080fd5b8135611bf781613b5b565b60008060208385031215613d6a57600080fd5b823567ffffffffffffffff80821115613d8257600080fd5b818501915085601f830112613d9657600080fd5b813581811115613da557600080fd5b8660208260061b8501011115613dba57600080fd5b60209290920196919550909350505050565b600080600060608486031215613de157600080fd5b8335613dec81613b5b565b92506020840135613dfc81613b5b565b929592945050506040919091013590565b60008060408385031215613e2057600080fd5b50508035926020909101359150565b60008060408385031215613e4257600080fd5b823591506020830135613e5481613b5b565b809150509250929050565b60008083601f840112613e7157600080fd5b50813567ffffffffffffffff811115613e8957600080fd5b602083019150836020828501011115613cb757600080fd5b600080600060408486031215613eb657600080fd5b83359250602084013567ffffffffffffffff811115613ed457600080fd5b613ee086828701613e5f565b9497909650939450505050565b60008060008060608587031215613f0357600080fd5b843593506020850135613f1581613b5b565b9250604085013567ffffffffffffffff811115613f3157600080fd5b613f3d87828801613c72565b95989497509550505050565b60008060208385031215613f5c57600080fd5b823567ffffffffffffffff811115613f7357600080fd5b613f7f85828601613e5f565b90969095509350505050565b600080600060608486031215613fa057600080fd5b833592506020840135613dfc81613b5b565b80151581146116e757600080fd5b60008060408385031215613fd357600080fd5b8235613fde81613b5b565b91506020830135613e5481613fb2565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561401a57600080fd5b843561402581613b5b565b9350602085013561403581613b5b565b925060408501359150606085013567ffffffffffffffff8082111561405957600080fd5b818701915087601f83011261406d57600080fd5b81358181111561407f5761407f613fee565b604051601f8201601f19908116603f011681019083821181831017156140a7576140a7613fee565b816040528281528a60208487010111156140c057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000604084860312156140f957600080fd5b833567ffffffffffffffff8082111561411157600080fd5b818601915086601f83011261412557600080fd5b81358181111561413457600080fd5b87602060e08302850101111561414957600080fd5b6020928301955093505084013561415f81613fb2565b809150509250925092565b6000806040838503121561417d57600080fd5b823561418881613b5b565b91506020830135613e5481613b5b565b634e487b7160e01b600052601160045260246000fd5b600082198211156141c1576141c1614198565b500190565b600181811c908216806141da57607f821691505b602082108114156141fb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b600060001982141561422b5761422b614198565b5060010190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b600081600019048311821515161561429a5761429a614198565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826142c4576142c461429f565b500490565b6000828210156142db576142db614198565b500390565b84815283602082015260606040820152816060820152818360808301376000818301608090810191909152601f909201601f191601019392505050565b60008161432c5761432c614198565b506000190190565b60008151614346818560208601613bc2565b9290920192915050565b600080845481600182811c91508083168061436c57607f831692505b602080841082141561438c57634e487b7160e01b86526022600452602486fd5b8180156143a057600181146143b1576143de565b60ff198616895284890196506143de565b60008b81526020902060005b868110156143d65781548b8201529085019083016143bd565b505084890196505b5050505050506143ee8185614334565b95945050505050565b813581556020820135600182015560408201356002820155606082013560038201556080820135600482015560a082013560058201556006810160c083013561443f81613b5b565b81546001600160a01b0319166001600160a01b03919091161790555050565b6020808252818101839052600090604080840186845b878110156144dd578135835284820135858401528382013584840152606080830135908401526080808301359084015260a0808301359084015260c0808301356144bd81613b5b565b6001600160a01b03169084015260e0928301929190910190600101614474565b5090979650505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008261454b5761454b61429f565b500690565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351614588816017850160208801613bc2565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516145b9816028840160208801613bc2565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906145f890830184613bee565b9695505050505050565b60006020828403121561461457600080fd5b8151611bf781613b28565b634e487b7160e01b600052603160045260246000fd5b60006020828403121561464757600080fd5b8151611bf781613fb2565b60008251614664818460208701613bc2565b919091019291505056fea2646970667358221220223453f3c0c1c4cf3b8dd8ab40c54b79f164c90899db99eef66418761e9e378764736f6c634300080b0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000008f1501d3ec3bab772fcb397784f449f5f1a5cc7c000000000000000000000000267dd24cb7fac9627f4a4f57d1870727fd640d5000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000025800000000000000000000000062020bc8bf0a72322013bc61a2171ed5a18f55140000000000000000000000000000000000000000000000000000000000000018466f756e6465727320436f6c6c65637469766520506173730000000000000000000000000000000000000000000000000000000000000000000000000000000b4f5249454e54414c4953540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d544e446b376447584872724475596164663157694b6f45614835544b61427631696134544643526f544436700000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Founders Collective Pass
Arg [1] : _symbol (string): ORIENTALIST
Arg [2] : _contractURI (string): ipfs://QmTNDk7dGXHrrDuYadf1WiKoEaH5TKaBv1ia4TFCRoTD6p
Arg [3] : _saleRecipient (address): 0x8f1501d3EC3bAb772FCb397784f449F5f1A5Cc7c
Arg [4] : _royaltyRecipient (address): 0x267dD24cb7FaC9627f4a4f57d1870727fd640d50
Arg [5] : _royaltyBps (uint128): 1000
Arg [6] : _platformFeeBps (uint128): 600
Arg [7] : _platformFeeRecipient (address): 0x62020bc8bf0A72322013bC61A2171eD5a18F5514

-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [3] : 0000000000000000000000008f1501d3ec3bab772fcb397784f449f5f1a5cc7c
Arg [4] : 000000000000000000000000267dd24cb7fac9627f4a4f57d1870727fd640d50
Arg [5] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000258
Arg [7] : 00000000000000000000000062020bc8bf0a72322013bc61a2171ed5a18f5514
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000018
Arg [9] : 466f756e6465727320436f6c6c65637469766520506173730000000000000000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [11] : 4f5249454e54414c495354000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [13] : 697066733a2f2f516d544e446b376447584872724475596164663157694b6f45
Arg [14] : 614835544b61427631696134544643526f544436700000000000000000000000


Deployed Bytecode Sourcemap

108289:21682:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;113786:308;;;;;;;;;;-1:-1:-1;113786:308:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;113786:308:0;;;;;;;;121595:1781;;;;;;;;;;-1:-1:-1;121595:1781:0;;;;;:::i;:::-;;:::i;:::-;;109692:34;;;;;;;;;;;;;;;;;;;1473:25:1;;;1461:2;1446:18;109692:34:0;1327:177:1;88039:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;109596:35::-;;;;;;;;;;-1:-1:-1;109596:35:0;;;;-1:-1:-1;;;;;109596:35:0;;;;;;-1:-1:-1;;;;;2446:32:1;;;2428:51;;2416:2;2401:18;109596:35:0;2282:203:1;89552:171:0;;;;;;;;;;-1:-1:-1;89552:171:0;;;;;:::i;:::-;;:::i;89069:417::-;;;;;;;;;;-1:-1:-1;89069:417:0;;;;;:::i;:::-;;:::i;119686:1102::-;;;;;;:::i;:::-;;:::i;118985:271::-;;;;;;;;;;-1:-1:-1;118985:271:0;;;;;:::i;:::-;;:::i;102733:113::-;;;;;;;;;;-1:-1:-1;102821:10:0;:17;102733:113;;127654:302;;;;;;;;;;-1:-1:-1;127654:302:0;;;;;:::i;:::-;;:::i;118471:401::-;;;;;;;;;;-1:-1:-1;118471:401:0;;;;;:::i;:::-;;:::i;90252:336::-;;;;;;;;;;-1:-1:-1;90252:336:0;;;;;:::i;:::-;;:::i;70169:131::-;;;;;;;;;;-1:-1:-1;70169:131:0;;;;;:::i;:::-;70243:7;70270:12;;;;;;;;;;:22;;;;70169:131;114185:340;;;;;;;;;;-1:-1:-1;114185:340:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;6403:32:1;;;6385:51;;6467:2;6452:18;;6445:34;;;;6358:18;114185:340:0;6211:274:1;109777:29:0;;;;;;;;;;;;;;;;70610:147;;;;;;;;;;-1:-1:-1;70610:147:0;;;;;:::i;:::-;;:::i;102401:256::-;;;;;;;;;;-1:-1:-1;102401:256:0;;;;;:::i;:::-;;:::i;71754:218::-;;;;;;;;;;-1:-1:-1;71754:218:0;;;;;:::i;:::-;;:::i;109394:32::-;;;;;;;;;;;;;;;;116994:195;;;;;;;;;;-1:-1:-1;116994:195:0;;;;;:::i;:::-;;:::i;90659:185::-;;;;;;;;;;-1:-1:-1;90659:185:0;;;;;:::i;:::-;;:::i;128828:182::-;;;;;;;;;;-1:-1:-1;128828:182:0;;;;;:::i;:::-;;:::i;111006:51::-;;;;;;;;;;-1:-1:-1;111006:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;128135:457;;;;;;;;;;-1:-1:-1;128135:457:0;;;;;:::i;:::-;;:::i;115249:379::-;;;;;;;;;;-1:-1:-1;115249:379:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;7837:32:1;;;7819:51;;7918:6;7906:19;;;7901:2;7886:18;;7879:47;7792:18;115249:379:0;7647:285:1;102923:233:0;;;;;;;;;;-1:-1:-1;102923:233:0;;;;;:::i;:::-;;:::i;116719:183::-;;;;;;;;;;-1:-1:-1;116719:183:0;;;;;:::i;:::-;;:::i;117564:359::-;;;;;;;;;;-1:-1:-1;117564:359:0;;;;;:::i;:::-;;:::i;87750:222::-;;;;;;;;;;-1:-1:-1;87750:222:0;;;;;:::i;:::-;;:::i;116325:106::-;;;;;;;;;;-1:-1:-1;116402:14:0;:21;116325:106;;117269:210;;;;;;;;;;-1:-1:-1;117269:210:0;;;;;:::i;:::-;;:::i;116095:175::-;;;;;;;;;;-1:-1:-1;116095:175:0;;;;;:::i;:::-;;:::i;:::-;;;;;;8164:13:1;;8146:32;;8234:4;8222:17;;;8216:24;8194:20;;;8187:54;8297:4;8285:17;;;8279:24;8257:20;;;8250:54;8360:4;8348:17;;;8342:24;8320:20;;;8313:54;8423:4;8411:17;;;8405:24;8383:20;;;8376:54;8486:4;8474:17;;;8468:24;8446:20;;;8439:54;8553:4;8541:17;;;8535:24;-1:-1:-1;;;;;8531:50:1;8509:20;;;8502:80;;;;8133:3;8118:19;;7937:651;87481:207:0;;;;;;;;;;-1:-1:-1;87481:207:0;;;;;:::i;:::-;;:::i;111144:56::-;;;;;;;;;;-1:-1:-1;111144:56:0;;;;;:::i;:::-;;;;;;;;;;;;;;113027:130;;;;;;;;;;;;;:::i;75407:153::-;;;;;;;;;;-1:-1:-1;75407:153:0;;;;;:::i;:::-;;:::i;120878:622::-;;;;;;;;;;-1:-1:-1;120878:622:0;;;;;:::i;:::-;;:::i;68629:147::-;;;;;;;;;;-1:-1:-1;68629:147:0;;;;;:::i;:::-;;:::i;119336:121::-;;;;;;;;;;-1:-1:-1;119336:121:0;;;;;:::i;:::-;;:::i;88208:104::-;;;;;;;;;;;;;:::i;118023:367::-;;;;;;;;;;-1:-1:-1;118023:367:0;;;;;:::i;:::-;;:::i;112854:97::-;;;;;;;;;;-1:-1:-1;112854:97:0;;108845:1;10437:36:1;;10425:2;10410:18;112854:97:0;10295:184:1;67734:49:0;;;;;;;;;;-1:-1:-1;67734:49:0;67779:4;67734:49;;89795:155;;;;;;;;;;-1:-1:-1;89795:155:0;;;;;:::i;:::-;;:::i;109494:33::-;;;;;;;;;;;;;;;;115895:137;;;;;;;;;;-1:-1:-1;115987:16:0;;-1:-1:-1;;;;;115987:16:0;;;-1:-1:-1;;;116012:10:0;;;;115895:137;;90915:323;;;;;;;;;;-1:-1:-1;90915:323:0;;;;;:::i;:::-;;:::i;114796:371::-;;;;;;;;;;;;;:::i;113406:351::-;;;;;;;;;;-1:-1:-1;113406:351:0;;;;;:::i;:::-;;:::i;75734:142::-;;;;;;;;;;-1:-1:-1;75734:142:0;;;;;:::i;:::-;;:::i;112707:93::-;;;;;;;;;;-1:-1:-1;;;;112707:93:0;;115689:142;;;;;;;;;;-1:-1:-1;115778:20:0;;-1:-1:-1;;;;;115778:20:0;;;-1:-1:-1;;;115807:14:0;;;;115689:142;;71050:149;;;;;;;;;;-1:-1:-1;71050:149:0;;;;;:::i;:::-;;:::i;110481:40::-;;;;;;;;;;-1:-1:-1;110481:40:0;;;;;;;;;;;;;12571:25:1;;;12627:2;12612:18;;12605:34;;;;12544:18;110481:40:0;12397:248:1;110378:31:0;;;;;;;;;;-1:-1:-1;110378:31:0;;;;;:::i;:::-;;:::i;125240:2406::-;;;;;;;;;;-1:-1:-1;125240:2406:0;;;;;:::i;:::-;;:::i;110273:25::-;;;;;;;;;;;;;:::i;90021:164::-;;;;;;;;;;-1:-1:-1;90021:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;90142:25:0;;;90118:4;90142:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;90021:164;113786:308;113976:4;114005:36;114029:11;114005:23;:36::i;:::-;:81;;;-1:-1:-1;;;;;;;;;;114045:41:0;;;114005:81;113998:88;113786:308;-1:-1:-1;;113786:308:0:o;121595:1781::-;121793:39;121835:35;;;:21;:35;;;;;;;;;121793:77;;;;;;;;;;;;;;;;;;;;;;121835:21;121793:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;121793:77:0;;;;;;;;;121905:39;;;;:92;;;;;121966:17;:31;;;121948:14;:49;121905:92;121883:168;;;;-1:-1:-1;;;121883:168:0;;14036:2:1;121883:168:0;;;14018:21:1;14075:2;14055:18;;;14048:30;14114:28;14094:18;;;14087:56;14160:18;;121883:168:0;;;;;;;;;122221:1;122209:9;:13;:179;;;;-1:-1:-1;;;;;;122245:31:0;;;;;;:21;:31;;;;;;:36;:93;;;;;122298:17;:40;;;122285:9;:53;;122245:93;122244:143;;;-1:-1:-1;;;;;;122356:31:0;;;;;;:21;:31;;;;;;122343:44;;;122244:143;122187:246;;;;-1:-1:-1;;;122187:246:0;;14391:2:1;122187:246:0;;;14373:21:1;14430:2;14410:18;;;14403:30;-1:-1:-1;;;14449:18:1;;;14442:47;14506:18;;122187:246:0;14189:341:1;122187:246:0;122626:17;:36;;;122613:9;122579:17;:31;;;:43;;;;:::i;:::-;:83;;122557:161;;;;-1:-1:-1;;;122557:161:0;;15002:2:1;122557:161:0;;;14984:21:1;15041:2;15021:18;;;15014:30;15080;15060:18;;;15053:58;15128:18;;122557:161:0;14800:352:1;122557:161:0;122773:17;;122760:9;122739:18;;:30;;;;:::i;:::-;:51;;122731:89;;;;-1:-1:-1;;;122731:89:0;;15359:2:1;122731:89:0;;;15341:21:1;15398:2;15378:18;;;15371:30;15437:27;15417:18;;;15410:55;15482:18;;122731:89:0;15157:349:1;122731:89:0;122839:14;;:19;;:71;;;122896:14;;122883:9;122862:18;;:30;;;;:::i;:::-;:48;;122839:71;122831:108;;;;-1:-1:-1;;;122831:108:0;;15713:2:1;122831:108:0;;;15695:21:1;15752:2;15732:18;;;15725:30;15791:26;15771:18;;;15764:54;15835:18;;122831:108:0;15511:348:1;122831:108:0;-1:-1:-1;;;;;122954:31:0;;122988:1;122954:31;;;:21;:31;;;;;;:35;122950:410;;-1:-1:-1;;;;;123072:31:0;;;;;;:21;:31;;;;;;;;;123030:16;:26;;;;;;;:38;;123059:9;;123030:38;:::i;:::-;:73;;123004:158;;;;-1:-1:-1;;;123004:158:0;;16066:2:1;123004:158:0;;;16048:21:1;16105:2;16085:18;;;16078:30;16144:25;16124:18;;;16117:53;16187:18;;123004:158:0;15864:347:1;123004:158:0;122950:410;;;123217:19;;:24;;:89;;-1:-1:-1;123287:19:0;;-1:-1:-1;;;;;123245:26:0;;;;;;:16;:26;;;;;;:38;;123274:9;;123245:38;:::i;:::-;:61;;123217:89;123191:169;;;;-1:-1:-1;;;123191:169:0;;16418:2:1;123191:169:0;;;16400:21:1;16457:2;16437:18;;;16430:30;-1:-1:-1;;;16476:18:1;;;16469:48;16534:18;;123191:169:0;16216:342:1;123191:169:0;121782:1594;121595:1781;;;;;:::o;88039:100::-;88093:13;88126:5;88119:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88039:100;:::o;89552:171::-;89628:7;89648:23;89663:7;89648:14;:23::i;:::-;-1:-1:-1;89691:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;89691:24:0;;89552:171::o;89069:417::-;89150:13;89166:23;89181:7;89166:14;:23::i;:::-;89150:39;;89214:5;-1:-1:-1;;;;;89208:11:0;:2;-1:-1:-1;;;;;89208:11:0;;;89200:57;;;;-1:-1:-1;;;89200:57:0;;17150:2:1;89200:57:0;;;17132:21:1;17189:2;17169:18;;;17162:30;17228:34;17208:18;;;17201:62;-1:-1:-1;;;17279:18:1;;;17272:31;17320:19;;89200:57:0;16948:397:1;89200:57:0;44106:10;-1:-1:-1;;;;;89292:21:0;;;;:62;;-1:-1:-1;89317:37:0;89334:5;44106:10;89341:12;113027:130;89317:37;89270:174;;;;-1:-1:-1;;;89270:174:0;;17552:2:1;89270:174:0;;;17534:21:1;17591:2;17571:18;;;17564:30;17630:34;17610:18;;;17603:62;17701:32;17681:18;;;17674:60;17751:19;;89270:174:0;17350:426:1;89270:174:0;89457:21;89466:2;89470:7;89457:8;:21::i;:::-;89139:347;89069:417;;:::o;119686:1102::-;13778:1;14376:7;;:19;;14368:63;;;;-1:-1:-1;;;14368:63:0;;17983:2:1;14368:63:0;;;17965:21:1;18022:2;18002:18;;;17995:30;18061:33;18041:18;;;18034:61;18112:18;;14368:63:0;17781:355:1;14368:63:0;13778:1;14509:7;:18;44106:10;119927:9:::1;119911:25;119903:41;;;::::0;-1:-1:-1;;;119903:41:0;;18343:2:1;119903:41:0::1;::::0;::::1;18325:21:1::0;18382:1;18362:18;;;18355:29;-1:-1:-1;;;18400:18:1;;;18393:33;18443:18;;119903:41:0::1;18141:326:1::0;119903:41:0::1;119982:18;::::0;119957:22:::1;120079:27;:25;:27::i;:::-;120051:55;;120162:111;120199:17;120231:9;120255:7;;120162:22;:111::i;:::-;;120286:155;120312:17;120344:9;120368;120392;120416:14;120286:11;:155::i;:::-;120501:55;120519:9;120530;120541:14;120501:17;:55::i;:::-;120616:62;120638:9;120649:17;120668:9;120616:21;:62::i;:::-;120696:84;::::0;;12571:25:1;;;12627:2;12612:18;;12605:34;;;-1:-1:-1;;;;;120696:84:0;::::1;::::0;44106:10;;120710:17;;120696:84:::1;::::0;12544:18:1;120696:84:0::1;;;;;;;-1:-1:-1::0;;13734:1:0;14688:7;:22;-1:-1:-1;;;;;;119686:1102:0:o;118985:271::-;67779:4;68225:16;67779:4;68225:10;:16::i;:::-;119079:38:::1;67779:4;119107:9:::0;119079:7:::1;:38::i;:::-;119071:57;;;::::0;-1:-1:-1;;;119071:57:0;;18674:2:1;119071:57:0::1;::::0;::::1;18656:21:1::0;18713:1;18693:18;;;18686:29;-1:-1:-1;;;18731:18:1;;;18724:36;18777:18;;119071:57:0::1;18472:329:1::0;119071:57:0::1;119160:6;::::0;;-1:-1:-1;;;;;119177:18:0;;::::1;-1:-1:-1::0;;;;;;119177:18:0;::::1;::::0;::::1;::::0;;;119213:35:::1;::::0;119160:6;::::1;::::0;119177:18;119160:6;;119213:35:::1;::::0;119139:18:::1;::::0;119213:35:::1;119060:196;118985:271:::0;;:::o;127654:302::-;67779:4;68225:16;67779:4;68225:10;:16::i;:::-;127802:9:::1;127797:152;127817:23:::0;;::::1;127797:152;;;127911:12;;127924:1;127911:15;;;;;;;:::i;:::-;;;;;;:26;;;127862:21;:46;127884:12;;127897:1;127884:15;;;;;;;:::i;:::-;:23;::::0;::::1;:15;::::0;;::::1;;:23:::0;;::::1;::::0;-1:-1:-1;127884:23:0::1;:::i;:::-;-1:-1:-1::0;;;;;127862:46:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;127862:46:0;:75;127842:3;::::1;::::0;::::1;:::i;:::-;;;;127797:152;;;;127654:302:::0;;;:::o;118471:401::-;67779:4;68225:16;67779:4;68225:10;:16::i;:::-;109230:6:::1;118635:15;:26;;118627:49;;;::::0;-1:-1:-1;;;118627:49:0;;19280:2:1;118627:49:0::1;::::0;::::1;19262:21:1::0;19319:2;19299:18;;;19292:30;-1:-1:-1;;;19338:18:1;;;19331:40;19388:18;;118627:49:0::1;19078:334:1::0;118627:49:0::1;118689:14;:40:::0;;-1:-1:-1;;;;;;118740:44:0;-1:-1:-1;;;118689:40:0::1;::::0;::::1;;-1:-1:-1::0;;;;;;118740:44:0;;-1:-1:-1;;;;;118740:44:0;::::1;::::0;;::::1;::::0;;;118802:62:::1;::::0;1473:25:1;;;118802:62:0::1;::::0;1461:2:1;1446:18;118802:62:0::1;;;;;;;;118471:401:::0;;;:::o;90252:336::-;90447:41;44106:10;90466:12;90480:7;90447:18;:41::i;:::-;90439:100;;;;-1:-1:-1;;;90439:100:0;;;;;;;:::i;:::-;90552:28;90562:4;90568:2;90572:7;90552:9;:28::i;114185:340::-;114309:16;114327:21;114367:17;114386:11;114401:31;114424:7;114401:22;:31::i;:::-;114366:66;;-1:-1:-1;114366:66:0;;-1:-1:-1;114366:66:0;;;-1:-1:-1;109230:6:0;114491:15;114366:66;114491:9;:15;:::i;:::-;114490:27;;;;:::i;:::-;114474:43;;114355:170;;114185:340;;;;;:::o;70610:147::-;70243:7;70270:12;;;;;;;;;;:22;;;68225:16;68236:4;68225:10;:16::i;:::-;70724:25:::1;70735:4;70741:7;70724:10;:25::i;102401:256::-:0;102498:7;102534:23;102551:5;102534:16;:23::i;:::-;102526:5;:31;102518:87;;;;-1:-1:-1;;;102518:87:0;;20464:2:1;102518:87:0;;;20446:21:1;20503:2;20483:18;;;20476:30;20542:34;20522:18;;;20515:62;-1:-1:-1;;;20593:18:1;;;20586:41;20644:19;;102518:87:0;20262:407:1;102518:87:0;-1:-1:-1;;;;;;102623:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;102401:256::o;71754:218::-;-1:-1:-1;;;;;71850:23:0;;44106:10;71850:23;71842:83;;;;-1:-1:-1;;;71842:83:0;;20876:2:1;71842:83:0;;;20858:21:1;20915:2;20895:18;;;20888:30;20954:34;20934:18;;;20927:62;-1:-1:-1;;;21005:18:1;;;20998:45;21060:19;;71842:83:0;20674:411:1;71842:83:0;71938:26;71950:4;71956:7;71938:11;:26::i;:::-;71754:218;;:::o;116994:195::-;67779:4;68225:16;67779:4;68225:10;:16::i;:::-;117095:14:::1;:32:::0;;;117143:38:::1;::::0;1473:25:1;;;117143:38:0::1;::::0;1461:2:1;1446:18;117143:38:0::1;;;;;;;;116994:195:::0;;:::o;90659:185::-;90797:39;90814:4;90820:2;90824:7;90797:39;;;;;;;;;;;;:16;:39::i;128828:182::-;128902:41;44106:10;128921:12;113027:130;128902:41;128894:83;;;;-1:-1:-1;;;128894:83:0;;21292:2:1;128894:83:0;;;21274:21:1;21331:2;21311:18;;;21304:30;21370:31;21350:18;;;21343:59;21419:18;;128894:83:0;21090:353:1;128894:83:0;128988:14;128994:7;128988:5;:14::i;:::-;128828:182;:::o;128135:457::-;109121:24;68225:16;68236:4;68225:10;:16::i;:::-;128290:17:::1;::::0;128272:15:::1;128341:17;128351:7:::0;128290:17;128341::::1;:::i;:::-;128371;:32:::0;;;128414:21:::1;::::0;;;:7:::1;:21;::::0;;;;128318:40;;-1:-1:-1;128414:41:0::1;::::0;128438:17;;128414:41:::1;:::i;:::-;-1:-1:-1::0;128466:14:0::1;:33:::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;128466:33:0;;;;;::::1;::::0;;;128517:67:::1;::::0;128534:7;;128543:17:::1;128553:7:::0;128534;128543:17:::1;:::i;:::-;:21;;;;:::i;:::-;128566:17;;128517:67;;;;;;;;;:::i;:::-;;;;;;;;128261:331;;128135:457:::0;;;;:::o;115249:379::-;115320:7;115385:29;;;:19;:29;;;;;;;;115348:66;;;;;;;;;;-1:-1:-1;;;;;115348:66:0;;;;;;;;;;;;;;;;115320:7;;115447:39;:173;;115565:25;;115599:19;;;;115447:173;;;115507:16;;-1:-1:-1;;;;;115507:16:0;;;-1:-1:-1;;;115532:10:0;;;;115447:173;115427:193;;;;;115249:379;;;:::o;102923:233::-;102998:7;103034:30;102821:10;:17;;102733:113;103034:30;103026:5;:38;103018:95;;;;-1:-1:-1;;;103018:95:0;;22320:2:1;103018:95:0;;;22302:21:1;22359:2;22339:18;;;22332:30;22398:34;22378:18;;;22371:62;-1:-1:-1;;;22449:18:1;;;22442:42;22501:19;;103018:95:0;22118:408:1;103018:95:0;103131:10;103142:5;103131:17;;;;;;;;:::i;:::-;;;;;;;;;103124:24;;102923:233;;;:::o;116719:183::-;67779:4;68225:16;67779:4;68225:10;:16::i;:::-;116816:19:::1;:28:::0;;;116860:34:::1;::::0;1473:25:1;;;116860:34:0::1;::::0;1461:2:1;1446:18;116860:34:0::1;1327:177:1::0;117564:359:0;67779:4;68225:16;67779:4;68225:10;:16::i;:::-;109230:6:::1;117723:11;:22;;117715:44;;;::::0;-1:-1:-1;;;117715:44:0;;22733:2:1;117715:44:0::1;::::0;::::1;22715:21:1::0;22772:1;22752:18;;;22745:29;-1:-1:-1;;;22790:18:1;;;22783:39;22839:18;;117715:44:0::1;22531:332:1::0;117715:44:0::1;117772:16;:36:::0;;-1:-1:-1;;;;;117772:36:0;::::1;-1:-1:-1::0;;;;;;117819:32:0;;;;;-1:-1:-1;;;117819:32:0::1;::::0;::::1;;;::::0;;;117869:46:::1;::::0;1473:25:1;;;117869:46:0::1;::::0;1461:2:1;1446:18;117869:46:0::1;1327:177:1::0;87750:222:0;87822:7;87858:16;;;:7;:16;;;;;;-1:-1:-1;;;;;87858:16:0;87893:19;87885:56;;;;-1:-1:-1;;;87885:56:0;;23070:2:1;87885:56:0;;;23052:21:1;23109:2;23089:18;;;23082:30;-1:-1:-1;;;23128:18:1;;;23121:54;23192:18;;87885:56:0;22868:348:1;117269:210:0;67779:4;68225:16;67779:4;68225:10;:16::i;:::-;117375:20:::1;:37:::0;;-1:-1:-1;;;;;;117375:37:0::1;-1:-1:-1::0;;;;;117375:37:0;::::1;::::0;;::::1;::::0;;;117428:43:::1;::::0;::::1;::::0;-1:-1:-1;;117428:43:0::1;117269:210:::0;;:::o;116095:175::-;116171:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;116171:31:0;-1:-1:-1;116227:35:0;;;;:21;:35;;;;;;;;;116215:47;;;;;;;;;;;;;;;;;;;;;;116227:21;116215:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;116215:47:0;;;;;;116095:175::o;87481:207::-;87553:7;-1:-1:-1;;;;;87581:19:0;;87573:73;;;;-1:-1:-1;;;87573:73:0;;23423:2:1;87573:73:0;;;23405:21:1;23462:2;23442:18;;;23435:30;23501:34;23481:18;;;23474:62;-1:-1:-1;;;23552:18:1;;;23545:39;23601:19;;87573:73:0;23221:405:1;87573:73:0;-1:-1:-1;;;;;;87664:16:0;;;;;:9;:16;;;;;;;87481:207::o;113027:130::-;113120:6;;113065:7;;113092:35;;113065:7;;-1:-1:-1;;;;;113120:6:0;113092:7;:35::i;:::-;:57;;-1:-1:-1;113147:1:0;;113027:130::o;113092:57::-;-1:-1:-1;113130:6:0;;-1:-1:-1;;;;;113130:6:0;;113027:130::o;75407:153::-;75497:7;75524:18;;;:12;:18;;;;;:28;;75546:5;75524:21;:28::i;:::-;75517:35;75407:153;-1:-1:-1;;;75407:153:0:o;120878:622::-;121033:21;121109:35;;;:21;:35;;;;;;;;121067:77;;;;;;;;;;;;;;;;;;;;;;121109:21;121067:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;121067:77:0;;;;;121161:42;121157:336;;121239:181;121276:7;;121239:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;121302:28:0;;;;121382:20;;;-1:-1:-1;;;;;2446:32:1;;121382:20:0;;;2428:51:1;2401:18;121382:20:0;;;-1:-1:-1;;121382:20:0;;;;;;;;;121372:31;;121382:20;121372:31;;;;121359:45;;;23760:19:1;23795:12;121359:45:0;;;;;;;;;;;;121349:56;;;;;;121239:18;:181::i;:::-;121220:200;;121443:16;121435:46;;;;-1:-1:-1;;;121435:46:0;;24020:2:1;121435:46:0;;;24002:21:1;24059:2;24039:18;;;24032:30;-1:-1:-1;;;24078:18:1;;;24071:47;24135:18;;121435:46:0;23818:341:1;121435:46:0;121056:444;120878:622;;;;;;:::o;68629:147::-;68715:4;68739:12;;;;;;;;;;;-1:-1:-1;;;;;68739:29:0;;;;;;;;;;;;;;;68629:147::o;119336:121::-;67779:4;68225:16;67779:4;68225:10;:16::i;:::-;119431:18:::1;:11;119445:4:::0;;119431:18:::1;:::i;88208:104::-:0;88264:13;88297:7;88290:14;;;;;:::i;118023:367::-;67779:4;68225:16;67779:4;68225:10;:16::i;:::-;109230:6:::1;118198:4;:15;;118190:37;;;::::0;-1:-1:-1;;;118190:37:0;;22733:2:1;118190:37:0::1;::::0;::::1;22715:21:1::0;22772:1;22752:18;;;22745:29;-1:-1:-1;;;22790:18:1;;;22783:39;22839:18;;118190:37:0::1;22531:332:1::0;118190:37:0::1;118272:49;::::0;;;;::::1;::::0;;-1:-1:-1;;;;;118272:49:0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;-1:-1:-1;118240:29:0;;;:19:::1;:29:::0;;;;;:81;;;;-1:-1:-1;;;;;;118240:81:0::1;::::0;::::1;::::0;;;::::1;::::0;;;;-1:-1:-1;118240:81:0;;::::1;::::0;;;;118339:43;;1473:25:1;;;118272:49:0;;118240:29;;118339:43:::1;::::0;1446:18:1;118339:43:0::1;;;;;;;118023:367:::0;;;;:::o;89795:155::-;89890:52;44106:10;89923:8;89933;89890:18;:52::i;90915:323::-;91089:41;44106:10;91122:7;91089:18;:41::i;:::-;91081:100;;;;-1:-1:-1;;;91081:100:0;;;;;;;:::i;:::-;91192:38;91206:4;91212:2;91216:7;91225:4;91192:13;:38::i;114796:371::-;114923:20;;:14;114891:29;114854:7;;;;114891:52;;114923:20;114891:52;:::i;:::-;114879:64;;114874:252;114949:14;:29;114945:33;;114874:252;;;115023:21;:28;115045:5;115049:1;115045;:5;:::i;:::-;115023:28;;;;;;;;;;;:43;;;115004:15;:62;115000:115;;115094:5;115098:1;115094;:5;:::i;:::-;115087:12;;;114796:371;:::o;115000:115::-;114980:3;;;;:::i;:::-;;;;114874:252;;;-1:-1:-1;115138:21:0;;-1:-1:-1;;;115138:21:0;;24507:2:1;115138:21:0;;;24489::1;24546:2;24526:18;;;24519:30;-1:-1:-1;;;24565:18:1;;;24558:41;24616:18;;115138:21:0;24305:335:1;113406:351:0;113472:13;113503:9;113498:230;113522:14;:21;113518:25;;113498:230;;;113583:14;113598:1;113583:17;;;;;;;;:::i;:::-;;;;;;;;;113572:8;:28;113568:149;;;113652:7;:26;113660:14;113675:1;113660:17;;;;;;;;:::i;:::-;;;;;;;;;113652:26;;;;;;;;;;;113680:19;:8;:17;:19::i;:::-;113635:65;;;;;;;;;:::i;:::-;;;;;;;;;;;;;113621:80;;;113406:351;;;:::o;113568:149::-;113545:6;113550:1;113545:6;;:::i;:::-;;;113498:230;;;-1:-1:-1;;113740:9:0;;;;;;;;;-1:-1:-1;113740:9:0;;;113406:351;-1:-1:-1;113406:351:0:o;75734:142::-;75814:7;75841:18;;;:12;:18;;;;;:27;;:25;:27::i;71050:149::-;70243:7;70270:12;;;;;;;;;;:22;;;68225:16;68236:4;68225:10;:16::i;:::-;71165:26:::1;71177:4;71183:7;71165:11;:26::i;110378:31::-:0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;110378:31:0;:::o;125240:2406::-;67779:4;68225:16;67779:4;68225:10;:16::i;:::-;125433:14:::1;:29:::0;125502:20;;125433:29;125745:110;::::1;;;125804:39;125825:18:::0;125804;:39:::1;:::i;:::-;125788:55;;125745:110;125867:20:::0;:37;;;:14:::1;125915:45:::0;;;:29:::1;::::0;126019:595:::1;126039:18:::0;;::::1;126019:595;;;126087:6:::0;;;:65:::1;;;126127:7;;126135:1;126127:10;;;;;;;:::i;:::-;;;;;;:25;;;126097:27;:55;126087:65;126079:80;;;::::0;-1:-1:-1;;;126079:80:0;;26342:2:1;126079:80:0::1;::::0;::::1;26324:21:1::0;26381:1;26361:18;;;26354:29;-1:-1:-1;;;26399:18:1;;;26392:32;26441:18;;126079:80:0::1;26140:325:1::0;126079:80:0::1;126176:28;126207:21:::0;126176:28;126229:17:::1;126245:1:::0;126229:13;:17:::1;:::i;:::-;126207:40;;;;;;;;;;;:54;;;126176:85;;126308:7;;126316:1;126308:10;;;;;;;:::i;:::-;;;;;;:29;;;126284:20;:53;;126276:92;;;::::0;-1:-1:-1;;;126276:92:0;;26672:2:1;126276:92:0::1;::::0;::::1;26654:21:1::0;26711:2;26691:18;;;26684:30;26750:28;26730:18;;;26723:56;26796:18;;126276:92:0::1;26470:350:1::0;126276:92:0::1;126428:7;;126436:1;126428:10;;;;;;;:::i;:::-;;;::::0;;;::::1;::::0;-1:-1:-1;126385:21:0;:40:::1;126407:17;126423:1:::0;126407:13;:17:::1;:::i;:::-;126385:40;;;;;;;;;;;:53;;;;;;:::i;:::-;-1:-1:-1::0;126510:20:0;;-1:-1:-1;126453:21:0;:40:::1;126475:17;126491:1:::0;126475:13;:17:::1;:::i;:::-;126453:40:::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;126453:40:0;:54:::1;;:77:::0;126577:7;;126585:1;126577:10;;::::1;;;;;:::i;:::-;;;;;;:25;;;126547:55;;126064:550;126059:3;;;;;:::i;:::-;;;;126019:595;;;;127154:22;127150:440;;;127210:18:::0;127193:127:::1;127234:13;127230:1;:17;127193:127;;;127280:24;::::0;;;:21;:24:::1;::::0;;;;127273:31;;;::::1;::::0;::::1;::::0;;;127280:21:::1;127273:31:::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;::::1;;::::0;;-1:-1:-1;;;;;;127273:31:0::1;::::0;;127302:1;127249:3:::1;127302:1:::0;127249:3:::1;:::i;:::-;;;;127193:127;;;;127150:440;;;127356:35:::0;;::::1;127352:227;;;127429:7:::0;127412:152:::1;127449:18;127445:1;:22;127412:152;;;127504:21:::0;:40:::1;127526:17;127542:1:::0;127526:13;:17:::1;:::i;:::-;127504:40:::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;127504:40:0;;;127497:47;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;::::1;;::::0;;-1:-1:-1;;;;;;127497:47:0::1;::::0;;127469:3;::::1;::::0;::::1;:::i;:::-;;;;127412:152;;;;127352:227;127607:31;127630:7;;127607:31;;;;;;;:::i;:::-;;;;;;;;125393:2253;;;;125240:2406:::0;;;;:::o;110273:25::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;44026:98::-;44106:10;;44026:98::o;73351:238::-;73435:22;73443:4;73449:7;73435;:22::i;:::-;73430:152;;73474:6;:12;;;;;;;;;;;-1:-1:-1;;;;;73474:29:0;;;;;;;;;:36;;-1:-1:-1;;73474:36:0;73506:4;73474:36;;;73557:12;44106:10;;113027:130;73557:12;-1:-1:-1;;;;;73530:40:0;73548:7;-1:-1:-1;;;;;73530:40:0;73542:4;73530:40;;;;;;;;;;73351:238;;:::o;31746:152::-;31816:4;31840:50;31845:3;-1:-1:-1;;;;;31865:23:0;;31840:4;:50::i;102093:224::-;102195:4;-1:-1:-1;;;;;;102219:50:0;;-1:-1:-1;;;102219:50:0;;:90;;;102273:36;102297:11;102273:23;:36::i;97527:135::-;92810:4;92834:16;;;:7;:16;;;;;;-1:-1:-1;;;;;92834:16:0;97601:53;;;;-1:-1:-1;;;97601:53:0;;23070:2:1;97601:53:0;;;23052:21:1;23109:2;23089:18;;;23082:30;-1:-1:-1;;;23128:18:1;;;23121:54;23192:18;;97601:53:0;22868:348:1;96806:174:0;96881:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;96881:29:0;-1:-1:-1;;;;;96881:29:0;;;;;;;;:24;;96935:23;96881:24;96935:14;:23::i;:::-;-1:-1:-1;;;;;96926:46:0;;;;;;;;;;;96806:174;;:::o;123464:734::-;123618:19;123614:58;;123464:734;;;:::o;123614:58::-;123684:18;123705:33;123724:14;123705:16;:33;:::i;:::-;123786:14;;123684:54;;-1:-1:-1;123749:20:0;;109230:6;;123773:27;;-1:-1:-1;;;123786:14:0;;;;123684:54;123773:27;:::i;:::-;123772:39;;;;:::i;:::-;123749:62;-1:-1:-1;;;;;;123828:45:0;;57581:42;123828:45;123824:136;;;123911:10;123898:9;:23;123890:58;;;;-1:-1:-1;;;123890:58:0;;29093:2:1;123890:58:0;;;29075:21:1;29132:2;29112:18;;;29105:30;-1:-1:-1;;;29151:18:1;;;29144:52;29213:18;;123890:58:0;28891:346:1;123890:58:0;123972:97;124009:9;44106:10;124034:20;;-1:-1:-1;;;;;124034:20:0;124056:12;123972:36;:97::i;:::-;124080:110;124117:9;44106:10;124142:20;;-1:-1:-1;;;;;124142:20:0;124164:25;124177:12;124164:10;:25;:::i;:::-;124080:36;:110::i;:::-;123603:595;;123464:734;;;:::o;124249:894::-;124459:35;;;;:21;:35;;;;;:21;:49;:74;;124512:21;;124459:35;:74;;124512:21;;124459:74;:::i;:::-;;;;-1:-1:-1;;124745:52:0;;;;:38;:52;;;;;;;;-1:-1:-1;;;;;124745:57:0;;;;;;;;;124805:15;124745:75;;124831:16;:21;;;;;:46;;124856:21;;124745:52;124831:46;;124856:21;;124831:46;:::i;:::-;;;;-1:-1:-1;;124915:18:0;;124890:22;124946:142;124970:21;124966:1;:25;124946:142;;;125016:26;125022:3;125027:14;125016:5;:26::i;:::-;125057:19;125075:1;125057:19;;:::i;:::-;;-1:-1:-1;124993:6:0;124998:1;124993:6;;:::i;:::-;;;124946:142;;;-1:-1:-1;125100:18:0;:35;-1:-1:-1;;;124249:894:0:o;69080:105::-;69147:30;69158:4;44106:10;69147;:30::i;93039:264::-;93132:4;93149:13;93165:23;93180:7;93165:14;:23::i;:::-;93149:39;;93218:5;-1:-1:-1;;;;;93207:16:0;:7;-1:-1:-1;;;;;93207:16:0;;:52;;;-1:-1:-1;;;;;;90142:25:0;;;90118:4;90142:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;93227:32;93207:87;;;;93287:7;-1:-1:-1;;;;;93263:31:0;:20;93275:7;93263:11;:20::i;:::-;-1:-1:-1;;;;;93263:31:0;;93207:87;93199:96;93039:264;-1:-1:-1;;;;93039:264:0:o;96062:625::-;96221:4;-1:-1:-1;;;;;96194:31:0;:23;96209:7;96194:14;:23::i;:::-;-1:-1:-1;;;;;96194:31:0;;96186:81;;;;-1:-1:-1;;;96186:81:0;;29444:2:1;96186:81:0;;;29426:21:1;29483:2;29463:18;;;29456:30;29522:34;29502:18;;;29495:62;-1:-1:-1;;;29573:18:1;;;29566:35;29618:19;;96186:81:0;29242:401:1;96186:81:0;-1:-1:-1;;;;;96286:16:0;;96278:65;;;;-1:-1:-1;;;96278:65:0;;29850:2:1;96278:65:0;;;29832:21:1;29889:2;29869:18;;;29862:30;29928:34;29908:18;;;29901:62;-1:-1:-1;;;29979:18:1;;;29972:34;30023:19;;96278:65:0;29648:400:1;96278:65:0;96356:39;96377:4;96383:2;96387:7;96356:20;:39::i;:::-;96460:29;96477:1;96481:7;96460:8;:29::i;:::-;-1:-1:-1;;;;;96502:15:0;;;;;;:9;:15;;;;;:20;;96521:1;;96502:15;:20;;96521:1;;96502:20;:::i;:::-;;;;-1:-1:-1;;;;;;;96533:13:0;;;;;;:9;:13;;;;;:18;;96550:1;;96533:13;:18;;96550:1;;96533:18;:::i;:::-;;;;-1:-1:-1;;96562:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;96562:21:0;-1:-1:-1;;;;;96562:21:0;;;;;;;;;96601:27;;96562:16;;96601:27;;;;;;;89139:347;89069:417;;:::o;75969:169::-;76057:31;76074:4;76080:7;76057:16;:31::i;:::-;76099:18;;;;:12;:18;;;;;:31;;76122:7;76099:22;:31::i;76232:174::-;76321:32;76339:4;76345:7;76321:17;:32::i;:::-;76364:18;;;;:12;:18;;;;;:34;;76390:7;76364:25;:34::i;95305:420::-;95365:13;95381:23;95396:7;95381:14;:23::i;:::-;95365:39;;95417:48;95438:5;95453:1;95457:7;95417:20;:48::i;:::-;95506:29;95523:1;95527:7;95506:8;:29::i;:::-;-1:-1:-1;;;;;95548:16:0;;;;;;:9;:16;;;;;:21;;95568:1;;95548:16;:21;;95568:1;;95548:21;:::i;:::-;;;;-1:-1:-1;;95587:16:0;;;;:7;:16;;;;;;95580:23;;-1:-1:-1;;;;;;95580:23:0;;;95621:36;95595:7;;95587:16;-1:-1:-1;;;;;95621:36:0;;;;;95587:16;;95621:36;71754:218;;:::o;33042:158::-;33116:7;33167:22;33171:3;33183:5;33167:3;:22::i;15944:190::-;16069:4;16122;16093:25;16106:5;16113:4;16093:12;:25::i;:::-;:33;;15944:190;-1:-1:-1;;;;15944:190:0:o;97123:315::-;97278:8;-1:-1:-1;;;;;97269:17:0;:5;-1:-1:-1;;;;;97269:17:0;;;97261:55;;;;-1:-1:-1;;;97261:55:0;;30255:2:1;97261:55:0;;;30237:21:1;30294:2;30274:18;;;30267:30;30333:27;30313:18;;;30306:55;30378:18;;97261:55:0;30053:349:1;97261:55:0;-1:-1:-1;;;;;97327:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;97327:46:0;;;;;;;;;;97389:41;;540::1;;;97389::0;;513:18:1;97389:41:0;;;;;;;97123:315;;;:::o;92119:313::-;92275:28;92285:4;92291:2;92295:7;92275:9;:28::i;:::-;92322:47;92345:4;92351:2;92355:7;92364:4;92322:22;:47::i;:::-;92314:110;;;;-1:-1:-1;;;92314:110:0;;;;;;;:::i;41280:723::-;41336:13;41557:10;41553:53;;-1:-1:-1;;41584:10:0;;;;;;;;;;;;-1:-1:-1;;;41584:10:0;;;;;41280:723::o;41553:53::-;41631:5;41616:12;41672:78;41679:9;;41672:78;;41705:8;;;;:::i;:::-;;-1:-1:-1;41728:10:0;;-1:-1:-1;41736:2:0;41728:10;;:::i;:::-;;;41672:78;;;41760:19;41792:6;41782:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41782:17:0;;41760:39;;41810:154;41817:10;;41810:154;;41844:11;41854:1;41844:11;;:::i;:::-;;-1:-1:-1;41913:10:0;41921:2;41913:5;:10;:::i;:::-;41900:24;;:2;:24;:::i;:::-;41887:39;;41870:6;41877;41870:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;41870:56:0;;;;;;;;-1:-1:-1;41941:11:0;41950:2;41941:11;;:::i;:::-;;;41810:154;;32571:117;32634:7;32661:19;32669:3;28055:18;;27972:109;25661:414;25724:4;27854:19;;;:12;;;:19;;;;;;25741:327;;-1:-1:-1;25784:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;25967:18;;25945:19;;;:12;;;:19;;;;;;:40;;;;26000:11;;25741:327;-1:-1:-1;26051:5:0;26044:12;;87112:305;87214:4;-1:-1:-1;;;;;;87251:40:0;;-1:-1:-1;;;87251:40:0;;:105;;-1:-1:-1;;;;;;;87308:48:0;;-1:-1:-1;;;87308:48:0;87251:105;:158;;;;87373:36;87397:11;87373:23;:36::i;57684:400::-;57841:12;57837:51;;57870:7;;57837:51;-1:-1:-1;;;;;57904:25:0;;57581:42;57904:25;57900:177;;;57946:37;57970:3;57975:7;57946:23;:37::i;:::-;57900:177;;;58016:49;58034:9;58045:5;58052:3;58057:7;58016:17;:49::i;94637:439::-;-1:-1:-1;;;;;94717:16:0;;94709:61;;;;-1:-1:-1;;;94709:61:0;;31145:2:1;94709:61:0;;;31127:21:1;;;31164:18;;;31157:30;31223:34;31203:18;;;31196:62;31275:18;;94709:61:0;30943:356:1;94709:61:0;92810:4;92834:16;;;:7;:16;;;;;;-1:-1:-1;;;;;92834:16:0;:30;94781:58;;;;-1:-1:-1;;;94781:58:0;;31506:2:1;94781:58:0;;;31488:21:1;31545:2;31525:18;;;31518:30;31584;31564:18;;;31557:58;31632:18;;94781:58:0;31304:352:1;94781:58:0;94852:45;94881:1;94885:2;94889:7;94852:20;:45::i;:::-;-1:-1:-1;;;;;94910:13:0;;;;;;:9;:13;;;;;:18;;94927:1;;94910:13;:18;;94927:1;;94910:18;:::i;:::-;;;;-1:-1:-1;;94939:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;94939:21:0;-1:-1:-1;;;;;94939:21:0;;;;;;;;94978:33;;94939:16;;;94978:33;;94939:16;;94978:33;71754:218;;:::o;69475:505::-;69564:22;69572:4;69578:7;69564;:22::i;:::-;69559:414;;69752:41;69780:7;-1:-1:-1;;;;;69752:41:0;69790:2;69752:19;:41::i;:::-;69866:38;69894:4;69901:2;69866:19;:38::i;:::-;69657:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;69657:270:0;;;;;;;;;;-1:-1:-1;;;69603:358:0;;;;;;;:::i;129062:528::-;129232:45;129259:4;129265:2;129269:7;129232:26;:45::i;:::-;129393:34;108995:26;129424:1;129393:7;:34::i;:::-;129392:35;:57;;;;-1:-1:-1;;;;;;129431:18:0;;;;129392:57;:77;;;;-1:-1:-1;;;;;;129453:16:0;;;;129392:77;129388:195;;;129494:28;108995:26;129517:4;129494:7;:28::i;:::-;:58;;;;129526:26;108995;129549:2;129526:7;:26::i;:::-;129486:85;;;;-1:-1:-1;;;129486:85:0;;32654:2:1;129486:85:0;;;32636:21:1;32693:2;32673:18;;;32666:30;-1:-1:-1;;;32712:18:1;;;32705:44;32766:18;;129486:85:0;32452:338:1;73769:239:0;73853:22;73861:4;73867:7;73853;:22::i;:::-;73849:152;;;73924:5;73892:12;;;;;;;;;;;-1:-1:-1;;;;;73892:29:0;;;;;;;;;;:37;;-1:-1:-1;;73892:37:0;;;73949:40;44106:10;;73892:12;;73949:40;;73924:5;73949:40;73769:239;;:::o;32074:158::-;32147:4;32171:53;32179:3;-1:-1:-1;;;;;32199:23:0;;32171:7;:53::i;28435:120::-;28502:7;28529:3;:11;;28541:5;28529:18;;;;;;;;:::i;:::-;;;;;;;;;28522:25;;28435:120;;;;:::o;16811:296::-;16894:7;16937:4;16894:7;16952:118;16976:5;:12;16972:1;:16;16952:118;;;17025:33;17035:12;17049:5;17055:1;17049:8;;;;;;;;:::i;:::-;;;;;;;17025:9;:33::i;:::-;17010:48;-1:-1:-1;16990:3:0;;;;:::i;:::-;;;;16952:118;;;-1:-1:-1;17087:12:0;16811:296;-1:-1:-1;;;16811:296:0:o;98226:853::-;98380:4;-1:-1:-1;;;;;98401:13:0;;45768:19;:23;98397:675;;98437:71;;-1:-1:-1;;;98437:71:0;;-1:-1:-1;;;;;98437:36:0;;;;;:71;;44106:10;;98488:4;;98494:7;;98503:4;;98437:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;98437:71:0;;;;;;;;-1:-1:-1;;98437:71:0;;;;;;;;;;;;:::i;:::-;;;98433:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;98678:13:0;;98674:328;;98721:60;;-1:-1:-1;;;98721:60:0;;;;;;;:::i;98674:328::-;98952:6;98946:13;98937:6;98933:2;98929:15;98922:38;98433:584;-1:-1:-1;;;;;;98559:51:0;-1:-1:-1;;;98559:51:0;;-1:-1:-1;98552:58:0;;98397:675;-1:-1:-1;99056:4:0;98226:853;;;;;;:::o;74594:214::-;74679:4;-1:-1:-1;;;;;;74703:57:0;;-1:-1:-1;;;74703:57:0;;:97;;;74764:36;74788:11;74764:23;:36::i;59773:297::-;59958:12;59976:2;-1:-1:-1;;;;;59976:7:0;59992:5;59976:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59957:46;;;60022:7;60014:48;;;;-1:-1:-1;;;60014:48:0;;33966:2:1;60014:48:0;;;33948:21:1;34005:2;33985:18;;;33978:30;34044;34024:18;;;34017:58;34092:18;;60014:48:0;33764:352:1;59296:411:0;59463:3;-1:-1:-1;;;;;59454:12:0;:5;-1:-1:-1;;;;;59454:12:0;;59450:51;;;59483:7;;59450:51;-1:-1:-1;;;;;59517:22:0;;59534:4;59517:22;59513:187;;;59556:44;-1:-1:-1;;;;;59556:30:0;;59587:3;59592:7;59556:30;:44::i;59513:187::-;59633:55;-1:-1:-1;;;;;59633:34:0;;59668:5;59675:3;59680:7;59633:34;:55::i;42581:451::-;42656:13;42682:19;42714:10;42718:6;42714:1;:10;:::i;:::-;:14;;42727:1;42714:14;:::i;:::-;42704:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42704:25:0;;42682:47;;-1:-1:-1;;;42740:6:0;42747:1;42740:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;42740:15:0;;;;;;;;;-1:-1:-1;;;42766:6:0;42773:1;42766:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;42766:15:0;;;;;;;;-1:-1:-1;42797:9:0;42809:10;42813:6;42809:1;:10;:::i;:::-;:14;;42822:1;42809:14;:::i;:::-;42797:26;;42792:135;42829:1;42825;:5;42792:135;;;-1:-1:-1;;;42877:5:0;42885:3;42877:11;42864:25;;;;;;;:::i;:::-;;;;42852:6;42859:1;42852:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;42852:37:0;;;;;;;;-1:-1:-1;42914:1:0;42904:11;;;;;42832:3;;;:::i;:::-;;;42792:135;;;-1:-1:-1;42945:10:0;;42937:55;;;;-1:-1:-1;;;42937:55:0;;34323:2:1;42937:55:0;;;34305:21:1;;;34342:18;;;34335:30;34401:34;34381:18;;;34374:62;34453:18;;42937:55:0;34121:356:1;103769:589:0;-1:-1:-1;;;;;103975:18:0;;103971:187;;104010:40;104042:7;105185:10;:17;;105158:24;;;;:15;:24;;;;;:44;;;105213:24;;;;;;;;;;;;105081:164;104010:40;103971:187;;;104080:2;-1:-1:-1;;;;;104072:10:0;:4;-1:-1:-1;;;;;104072:10:0;;104068:90;;104099:47;104132:4;104138:7;104099:32;:47::i;:::-;-1:-1:-1;;;;;104172:16:0;;104168:183;;104205:45;104242:7;104205:36;:45::i;104168:183::-;104278:4;-1:-1:-1;;;;;104272:10:0;:2;-1:-1:-1;;;;;104272:10:0;;104268:83;;104299:40;104327:2;104331:7;104299:27;:40::i;26251:1420::-;26317:4;26456:19;;;:12;;;:19;;;;;;26492:15;;26488:1176;;26867:21;26891:14;26904:1;26891:10;:14;:::i;:::-;26940:18;;26867:38;;-1:-1:-1;26920:17:0;;26940:22;;26961:1;;26940:22;:::i;:::-;26920:42;;26996:13;26983:9;:26;26979:405;;27030:17;27050:3;:11;;27062:9;27050:22;;;;;;;;:::i;:::-;;;;;;;;;27030:42;;27204:9;27175:3;:11;;27187:13;27175:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;27289:23;;;:12;;;:23;;;;;:36;;;26979:405;27465:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;27560:3;:12;;:19;27573:5;27560:19;;;;;;;;;;;27553:26;;;27603:4;27596:11;;;;;;;26488:1176;27647:5;27640:12;;;;;23018:149;23081:7;23112:1;23108;:5;:51;;23243:13;23337:15;;;23373:4;23366:15;;;23420:4;23404:21;;23108:51;;;23243:13;23337:15;;;23373:4;23366:15;;;23420:4;23404:21;;23116:20;23175:268;68333:204;68418:4;-1:-1:-1;;;;;;68442:47:0;;-1:-1:-1;;;68442:47:0;;:87;;-1:-1:-1;;;;;;;;;;65701:40:0;;;68493:36;65592:157;53507:211;53651:58;;-1:-1:-1;;;;;6403:32:1;;53651:58:0;;;6385:51:1;6452:18;;;6445:34;;;53624:86:0;;53644:5;;-1:-1:-1;;;53674:23:0;6358:18:1;;53651:58:0;;;;-1:-1:-1;;53651:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;53651:58:0;-1:-1:-1;;;;;;53651:58:0;;;;;;;;;;53624:19;:86::i;53726:248::-;53897:68;;-1:-1:-1;;;;;34872:15:1;;;53897:68:0;;;34854:34:1;34924:15;;34904:18;;;34897:43;34956:18;;;34949:34;;;53870:96:0;;53890:5;;-1:-1:-1;;;53920:27:0;34789:18:1;;53897:68:0;34614:375:1;105872:988:0;106138:22;106188:1;106163:22;106180:4;106163:16;:22::i;:::-;:26;;;;:::i;:::-;106200:18;106221:26;;;:17;:26;;;;;;106138:51;;-1:-1:-1;106354:28:0;;;106350:328;;-1:-1:-1;;;;;106421:18:0;;106399:19;106421:18;;;:12;:18;;;;;;;;:34;;;;;;;;;106472:30;;;;;;:44;;;106589:30;;:17;:30;;;;;:43;;;106350:328;-1:-1:-1;106774:26:0;;;;:17;:26;;;;;;;;106767:33;;;-1:-1:-1;;;;;106818:18:0;;;;;:12;:18;;;;;:34;;;;;;;106811:41;105872:988::o;107155:1079::-;107433:10;:17;107408:22;;107433:21;;107453:1;;107433:21;:::i;:::-;107465:18;107486:24;;;:15;:24;;;;;;107859:10;:26;;107408:46;;-1:-1:-1;107486:24:0;;107408:46;;107859:26;;;;;;:::i;:::-;;;;;;;;;107837:48;;107923:11;107898:10;107909;107898:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;108003:28;;;:15;:28;;;;;;;:41;;;108175:24;;;;;108168:31;108210:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;107226:1008;;;107155:1079;:::o;104659:221::-;104744:14;104761:20;104778:2;104761:16;:20::i;:::-;-1:-1:-1;;;;;104792:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;104837:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;104659:221:0:o;56574:716::-;56998:23;57024:69;57052:4;57024:69;;;;;;;;;;;;;;;;;57032:5;-1:-1:-1;;;;;57024:27:0;;;:69;;;;;:::i;:::-;57108:17;;56998:95;;-1:-1:-1;57108:21:0;57104:179;;57205:10;57194:30;;;;;;;;;;;;:::i;:::-;57186:85;;;;-1:-1:-1;;;57186:85:0;;35446:2:1;57186:85:0;;;35428:21:1;35485:2;35465:18;;;35458:30;35524:34;35504:18;;;35497:62;-1:-1:-1;;;35575:18:1;;;35568:40;35625:19;;57186:85:0;35244:406:1;48218:229:0;48355:12;48387:52;48409:6;48417:4;48423:1;48426:12;48355;-1:-1:-1;;;;;45768:19:0;;;49625:60;;;;-1:-1:-1;;;49625:60:0;;36264:2:1;49625:60:0;;;36246:21:1;36303:2;36283:18;;;36276:30;36342:31;36322:18;;;36315:59;36391:18;;49625:60:0;36062:353:1;49625:60:0;49699:12;49713:23;49740:6;-1:-1:-1;;;;;49740:11:0;49759:5;49766:4;49740:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49698:73;;;;49789:51;49806:7;49815:10;49827:12;49789:16;:51::i;:::-;49782:58;49338:510;-1:-1:-1;;;;;;;49338:510:0:o;52024:762::-;52174:12;52203:7;52199:580;;;-1:-1:-1;52234:10:0;52227:17;;52199:580;52348:17;;:21;52344:424;;52596:10;52590:17;52657:15;52644:10;52640:2;52636:19;52629:44;52344:424;52739:12;52732:20;;-1:-1:-1;;;52732:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:131::-;-1:-1:-1;;;;;667:31:1;;657:42;;647:70;;713:1;710;703:12;728:594;823:6;831;839;847;855;908:3;896:9;887:7;883:23;879:33;876:53;;;925:1;922;915:12;876:53;961:9;948:23;938:33;;1021:2;1010:9;1006:18;993:32;1034:31;1059:5;1034:31;:::i;:::-;1084:5;-1:-1:-1;1136:2:1;1121:18;;1108:32;;-1:-1:-1;1192:2:1;1177:18;;1164:32;1205:33;1164:32;1205:33;:::i;:::-;728:594;;;;-1:-1:-1;728:594:1;;1311:3;1296:19;1283:33;;728:594;-1:-1:-1;;728:594:1:o;1509:258::-;1581:1;1591:113;1605:6;1602:1;1599:13;1591:113;;;1681:11;;;1675:18;1662:11;;;1655:39;1627:2;1620:10;1591:113;;;1722:6;1719:1;1716:13;1713:48;;;-1:-1:-1;;1757:1:1;1739:16;;1732:27;1509:258::o;1772:269::-;1825:3;1863:5;1857:12;1890:6;1885:3;1878:19;1906:63;1962:6;1955:4;1950:3;1946:14;1939:4;1932:5;1928:16;1906:63;:::i;:::-;2023:2;2002:15;-1:-1:-1;;1998:29:1;1989:39;;;;2030:4;1985:50;;1772:269;-1:-1:-1;;1772:269:1:o;2046:231::-;2195:2;2184:9;2177:21;2158:4;2215:56;2267:2;2256:9;2252:18;2244:6;2215:56;:::i;2490:180::-;2549:6;2602:2;2590:9;2581:7;2577:23;2573:32;2570:52;;;2618:1;2615;2608:12;2570:52;-1:-1:-1;2641:23:1;;2490:180;-1:-1:-1;2490:180:1:o;2675:315::-;2743:6;2751;2804:2;2792:9;2783:7;2779:23;2775:32;2772:52;;;2820:1;2817;2810:12;2772:52;2859:9;2846:23;2878:31;2903:5;2878:31;:::i;:::-;2928:5;2980:2;2965:18;;;;2952:32;;-1:-1:-1;;;2675:315:1:o;2995:367::-;3058:8;3068:6;3122:3;3115:4;3107:6;3103:17;3099:27;3089:55;;3140:1;3137;3130:12;3089:55;-1:-1:-1;3163:20:1;;3206:18;3195:30;;3192:50;;;3238:1;3235;3228:12;3192:50;3275:4;3267:6;3263:17;3251:29;;3335:3;3328:4;3318:6;3315:1;3311:14;3303:6;3299:27;3295:38;3292:47;3289:67;;;3352:1;3349;3342:12;3289:67;2995:367;;;;;:::o;3367:851::-;3489:6;3497;3505;3513;3521;3529;3582:3;3570:9;3561:7;3557:23;3553:33;3550:53;;;3599:1;3596;3589:12;3550:53;3638:9;3625:23;3657:31;3682:5;3657:31;:::i;:::-;3707:5;-1:-1:-1;3759:2:1;3744:18;;3731:32;;-1:-1:-1;3815:2:1;3800:18;;3787:32;3828:33;3787:32;3828:33;:::i;:::-;3880:7;-1:-1:-1;3934:2:1;3919:18;;3906:32;;-1:-1:-1;3989:3:1;3974:19;;3961:33;4017:18;4006:30;;4003:50;;;4049:1;4046;4039:12;4003:50;4088:70;4150:7;4141:6;4130:9;4126:22;4088:70;:::i;:::-;3367:851;;;;-1:-1:-1;3367:851:1;;-1:-1:-1;3367:851:1;;4177:8;;3367:851;-1:-1:-1;;;3367:851:1:o;4223:247::-;4282:6;4335:2;4323:9;4314:7;4310:23;4306:32;4303:52;;;4351:1;4348;4341:12;4303:52;4390:9;4377:23;4409:31;4434:5;4409:31;:::i;4475:650::-;4596:6;4604;4657:2;4645:9;4636:7;4632:23;4628:32;4625:52;;;4673:1;4670;4663:12;4625:52;4713:9;4700:23;4742:18;4783:2;4775:6;4772:14;4769:34;;;4799:1;4796;4789:12;4769:34;4837:6;4826:9;4822:22;4812:32;;4882:7;4875:4;4871:2;4867:13;4863:27;4853:55;;4904:1;4901;4894:12;4853:55;4944:2;4931:16;4970:2;4962:6;4959:14;4956:34;;;4986:1;4983;4976:12;4956:34;5039:7;5034:2;5024:6;5021:1;5017:14;5013:2;5009:23;5005:32;5002:45;4999:65;;;5060:1;5057;5050:12;4999:65;5091:2;5083:11;;;;;5113:6;;-1:-1:-1;4475:650:1;;-1:-1:-1;;;;4475:650:1:o;5130:456::-;5207:6;5215;5223;5276:2;5264:9;5255:7;5251:23;5247:32;5244:52;;;5292:1;5289;5282:12;5244:52;5331:9;5318:23;5350:31;5375:5;5350:31;:::i;:::-;5400:5;-1:-1:-1;5457:2:1;5442:18;;5429:32;5470:33;5429:32;5470:33;:::i;:::-;5130:456;;5522:7;;-1:-1:-1;;;5576:2:1;5561:18;;;;5548:32;;5130:456::o;5958:248::-;6026:6;6034;6087:2;6075:9;6066:7;6062:23;6058:32;6055:52;;;6103:1;6100;6093:12;6055:52;-1:-1:-1;;6126:23:1;;;6196:2;6181:18;;;6168:32;;-1:-1:-1;5958:248:1:o;6490:315::-;6558:6;6566;6619:2;6607:9;6598:7;6594:23;6590:32;6587:52;;;6635:1;6632;6625:12;6587:52;6671:9;6658:23;6648:33;;6731:2;6720:9;6716:18;6703:32;6744:31;6769:5;6744:31;:::i;:::-;6794:5;6784:15;;;6490:315;;;;;:::o;6810:348::-;6862:8;6872:6;6926:3;6919:4;6911:6;6907:17;6903:27;6893:55;;6944:1;6941;6934:12;6893:55;-1:-1:-1;6967:20:1;;7010:18;6999:30;;6996:50;;;7042:1;7039;7032:12;6996:50;7079:4;7071:6;7067:17;7055:29;;7131:3;7124:4;7115:6;7107;7103:19;7099:30;7096:39;7093:59;;;7148:1;7145;7138:12;7163:479;7243:6;7251;7259;7312:2;7300:9;7291:7;7287:23;7283:32;7280:52;;;7328:1;7325;7318:12;7280:52;7364:9;7351:23;7341:33;;7425:2;7414:9;7410:18;7397:32;7452:18;7444:6;7441:30;7438:50;;;7484:1;7481;7474:12;7438:50;7523:59;7574:7;7565:6;7554:9;7550:22;7523:59;:::i;:::-;7163:479;;7601:8;;-1:-1:-1;7497:85:1;;-1:-1:-1;;;;7163:479:1:o;8846:640::-;8950:6;8958;8966;8974;9027:2;9015:9;9006:7;9002:23;8998:32;8995:52;;;9043:1;9040;9033:12;8995:52;9079:9;9066:23;9056:33;;9139:2;9128:9;9124:18;9111:32;9152:31;9177:5;9152:31;:::i;:::-;9202:5;-1:-1:-1;9258:2:1;9243:18;;9230:32;9285:18;9274:30;;9271:50;;;9317:1;9314;9307:12;9271:50;9356:70;9418:7;9409:6;9398:9;9394:22;9356:70;:::i;:::-;8846:640;;;;-1:-1:-1;9445:8:1;-1:-1:-1;;;;8846:640:1:o;9491:411::-;9562:6;9570;9623:2;9611:9;9602:7;9598:23;9594:32;9591:52;;;9639:1;9636;9629:12;9591:52;9679:9;9666:23;9712:18;9704:6;9701:30;9698:50;;;9744:1;9741;9734:12;9698:50;9783:59;9834:7;9825:6;9814:9;9810:22;9783:59;:::i;:::-;9861:8;;9757:85;;-1:-1:-1;9491:411:1;-1:-1:-1;;;;9491:411:1:o;9907:383::-;9984:6;9992;10000;10053:2;10041:9;10032:7;10028:23;10024:32;10021:52;;;10069:1;10066;10059:12;10021:52;10105:9;10092:23;10082:33;;10165:2;10154:9;10150:18;10137:32;10178:31;10203:5;10178:31;:::i;10484:118::-;10570:5;10563:13;10556:21;10549:5;10546:32;10536:60;;10592:1;10589;10582:12;10607:382;10672:6;10680;10733:2;10721:9;10712:7;10708:23;10704:32;10701:52;;;10749:1;10746;10739:12;10701:52;10788:9;10775:23;10807:31;10832:5;10807:31;:::i;:::-;10857:5;-1:-1:-1;10914:2:1;10899:18;;10886:32;10927:30;10886:32;10927:30;:::i;10994:127::-;11055:10;11050:3;11046:20;11043:1;11036:31;11086:4;11083:1;11076:15;11110:4;11107:1;11100:15;11126:1266;11221:6;11229;11237;11245;11298:3;11286:9;11277:7;11273:23;11269:33;11266:53;;;11315:1;11312;11305:12;11266:53;11354:9;11341:23;11373:31;11398:5;11373:31;:::i;:::-;11423:5;-1:-1:-1;11480:2:1;11465:18;;11452:32;11493:33;11452:32;11493:33;:::i;:::-;11545:7;-1:-1:-1;11599:2:1;11584:18;;11571:32;;-1:-1:-1;11654:2:1;11639:18;;11626:32;11677:18;11707:14;;;11704:34;;;11734:1;11731;11724:12;11704:34;11772:6;11761:9;11757:22;11747:32;;11817:7;11810:4;11806:2;11802:13;11798:27;11788:55;;11839:1;11836;11829:12;11788:55;11875:2;11862:16;11897:2;11893;11890:10;11887:36;;;11903:18;;:::i;:::-;11978:2;11972:9;11946:2;12032:13;;-1:-1:-1;;12028:22:1;;;12052:2;12024:31;12020:40;12008:53;;;12076:18;;;12096:22;;;12073:46;12070:72;;;12122:18;;:::i;:::-;12162:10;12158:2;12151:22;12197:2;12189:6;12182:18;12237:7;12232:2;12227;12223;12219:11;12215:20;12212:33;12209:53;;;12258:1;12255;12248:12;12209:53;12314:2;12309;12305;12301:11;12296:2;12288:6;12284:15;12271:46;12359:1;12354:2;12349;12341:6;12337:15;12333:24;12326:35;12380:6;12370:16;;;;;;;11126:1266;;;;;;;:::o;12650:786::-;12775:6;12783;12791;12844:2;12832:9;12823:7;12819:23;12815:32;12812:52;;;12860:1;12857;12850:12;12812:52;12900:9;12887:23;12929:18;12970:2;12962:6;12959:14;12956:34;;;12986:1;12983;12976:12;12956:34;13024:6;13013:9;13009:22;12999:32;;13069:7;13062:4;13058:2;13054:13;13050:27;13040:55;;13091:1;13088;13081:12;13040:55;13131:2;13118:16;13157:2;13149:6;13146:14;13143:34;;;13173:1;13170;13163:12;13143:34;13231:7;13224:4;13216;13208:6;13204:17;13200:2;13196:26;13192:37;13189:50;13186:70;;;13252:1;13249;13242:12;13186:70;13283:4;13275:13;;;;-1:-1:-1;13307:6:1;-1:-1:-1;;13348:20:1;;13335:34;13378:28;13335:34;13378:28;:::i;:::-;13425:5;13415:15;;;12650:786;;;;;:::o;13441:388::-;13509:6;13517;13570:2;13558:9;13549:7;13545:23;13541:32;13538:52;;;13586:1;13583;13576:12;13538:52;13625:9;13612:23;13644:31;13669:5;13644:31;:::i;:::-;13694:5;-1:-1:-1;13751:2:1;13736:18;;13723:32;13764:33;13723:32;13764:33;:::i;14535:127::-;14596:10;14591:3;14587:20;14584:1;14577:31;14627:4;14624:1;14617:15;14651:4;14648:1;14641:15;14667:128;14707:3;14738:1;14734:6;14731:1;14728:13;14725:39;;;14744:18;;:::i;:::-;-1:-1:-1;14780:9:1;;14667:128::o;16563:380::-;16642:1;16638:12;;;;16685;;;16706:61;;16760:4;16752:6;16748:17;16738:27;;16706:61;16813:2;16805:6;16802:14;16782:18;16779:38;16776:161;;;16859:10;16854:3;16850:20;16847:1;16840:31;16894:4;16891:1;16884:15;16922:4;16919:1;16912:15;16776:161;;16563:380;;;:::o;18806:127::-;18867:10;18862:3;18858:20;18855:1;18848:31;18898:4;18895:1;18888:15;18922:4;18919:1;18912:15;18938:135;18977:3;-1:-1:-1;;18998:17:1;;18995:43;;;19018:18;;:::i;:::-;-1:-1:-1;19065:1:1;19054:13;;18938:135::o;19417:410::-;19619:2;19601:21;;;19658:2;19638:18;;;19631:30;19697:34;19692:2;19677:18;;19670:62;-1:-1:-1;;;19763:2:1;19748:18;;19741:44;19817:3;19802:19;;19417:410::o;19832:168::-;19872:7;19938:1;19934;19930:6;19926:14;19923:1;19920:21;19915:1;19908:9;19901:17;19897:45;19894:71;;;19945:18;;:::i;:::-;-1:-1:-1;19985:9:1;;19832:168::o;20005:127::-;20066:10;20061:3;20057:20;20054:1;20047:31;20097:4;20094:1;20087:15;20121:4;20118:1;20111:15;20137:120;20177:1;20203;20193:35;;20208:18;;:::i;:::-;-1:-1:-1;20242:9:1;;20137:120::o;21448:125::-;21488:4;21516:1;21513;21510:8;21507:34;;;21521:18;;:::i;:::-;-1:-1:-1;21558:9:1;;21448:125::o;21578:535::-;21793:6;21782:9;21775:25;21836:6;21831:2;21820:9;21816:18;21809:34;21879:2;21874;21863:9;21859:18;21852:30;21918:6;21913:2;21902:9;21898:18;21891:34;21976:6;21968;21962:3;21951:9;21947:19;21934:49;22033:1;22003:22;;;22027:3;21999:32;;;21992:43;;;;22096:2;22075:15;;;-1:-1:-1;;22071:29:1;22056:45;22052:55;;21578:535;-1:-1:-1;;;21578:535:1:o;24164:136::-;24203:3;24231:5;24221:39;;24240:18;;:::i;:::-;-1:-1:-1;;;24276:18:1;;24164:136::o;24771:185::-;24813:3;24851:5;24845:12;24866:52;24911:6;24906:3;24899:4;24892:5;24888:16;24866:52;:::i;:::-;24934:16;;;;;24771:185;-1:-1:-1;;24771:185:1:o;24961:1174::-;25137:3;25166:1;25199:6;25193:13;25229:3;25251:1;25279:9;25275:2;25271:18;25261:28;;25339:2;25328:9;25324:18;25361;25351:61;;25405:4;25397:6;25393:17;25383:27;;25351:61;25431:2;25479;25471:6;25468:14;25448:18;25445:38;25442:165;;;-1:-1:-1;;;25506:33:1;;25562:4;25559:1;25552:15;25592:4;25513:3;25580:17;25442:165;25623:18;25650:104;;;;25768:1;25763:320;;;;25616:467;;25650:104;-1:-1:-1;;25683:24:1;;25671:37;;25728:16;;;;-1:-1:-1;25650:104:1;;25763:320;24718:1;24711:14;;;24755:4;24742:18;;25858:1;25872:165;25886:6;25883:1;25880:13;25872:165;;;25964:14;;25951:11;;;25944:35;26007:16;;;;25901:10;;25872:165;;;25876:3;;26066:6;26061:3;26057:16;26050:23;;25616:467;;;;;;;26099:30;26125:3;26117:6;26099:30;:::i;:::-;26092:37;24961:1174;-1:-1:-1;;;;;24961:1174:1:o;26825:747::-;27000:5;26987:19;26981:4;26974:33;27061:2;27054:5;27050:14;27037:28;27033:1;27027:4;27023:12;27016:50;27120:2;27113:5;27109:14;27096:28;27092:1;27086:4;27082:12;27075:50;27179:2;27172:5;27168:14;27155:28;27151:1;27145:4;27141:12;27134:50;27238:3;27231:5;27227:15;27214:29;27210:1;27204:4;27200:12;27193:51;27298:3;27291:5;27287:15;27274:29;27270:1;27264:4;27260:12;27253:51;27341:1;27335:4;27331:12;27391:3;27384:5;27380:15;27367:29;27405:33;27430:7;27405:33;:::i;:::-;27473:17;;-1:-1:-1;;;;;;27469:60:1;-1:-1:-1;;;;;27531:33:1;;;;27466:99;27447:119;;-1:-1:-1;;26825:747:1:o;27577:1309::-;27822:2;27874:21;;;27847:18;;;27930:22;;;27793:4;;27971:2;27989:18;;;28030:6;27793:4;28064:796;28078:6;28075:1;28072:13;28064:796;;;28139:20;;28127:33;;28207:15;;;28194:29;28180:12;;;28173:51;28271:15;;;28258:29;28244:12;;;28237:51;28311:4;28362:15;;;28349:29;28335:12;;;28328:51;28402:4;28453:15;;;28440:29;28426:12;;;28419:51;28493:4;28544:15;;;28531:29;28517:12;;;28510:51;28584:4;28627:15;;;28614:29;28656:31;28614:29;28656:31;:::i;:::-;-1:-1:-1;;;;;28721:31:1;28707:12;;;28700:53;28776:4;28800:12;;;;28835:15;;;;;28749:1;28093:9;28064:796;;;-1:-1:-1;28877:3:1;;27577:1309;-1:-1:-1;;;;;;;27577:1309:1:o;30407:414::-;30609:2;30591:21;;;30648:2;30628:18;;;30621:30;30687:34;30682:2;30667:18;;30660:62;-1:-1:-1;;;30753:2:1;30738:18;;30731:48;30811:3;30796:19;;30407:414::o;30826:112::-;30858:1;30884;30874:35;;30889:18;;:::i;:::-;-1:-1:-1;30923:9:1;;30826:112::o;31661:786::-;32072:25;32067:3;32060:38;32042:3;32127:6;32121:13;32143:62;32198:6;32193:2;32188:3;32184:12;32177:4;32169:6;32165:17;32143:62;:::i;:::-;-1:-1:-1;;;32264:2:1;32224:16;;;32256:11;;;32249:40;32314:13;;32336:63;32314:13;32385:2;32377:11;;32370:4;32358:17;;32336:63;:::i;:::-;32419:17;32438:2;32415:26;;31661:786;-1:-1:-1;;;;31661:786:1:o;32795:500::-;-1:-1:-1;;;;;33064:15:1;;;33046:34;;33116:15;;33111:2;33096:18;;33089:43;33163:2;33148:18;;33141:34;;;33211:3;33206:2;33191:18;;33184:31;;;32989:4;;33232:57;;33269:19;;33261:6;33232:57;:::i;:::-;33224:65;32795:500;-1:-1:-1;;;;;;32795:500:1:o;33300:249::-;33369:6;33422:2;33410:9;33401:7;33397:23;33393:32;33390:52;;;33438:1;33435;33428:12;33390:52;33470:9;33464:16;33489:30;33513:5;33489:30;:::i;34482:127::-;34543:10;34538:3;34534:20;34531:1;34524:31;34574:4;34571:1;34564:15;34598:4;34595:1;34588:15;34994:245;35061:6;35114:2;35102:9;35093:7;35089:23;35085:32;35082:52;;;35130:1;35127;35120:12;35082:52;35162:9;35156:16;35181:28;35203:5;35181:28;:::i;36420:274::-;36549:3;36587:6;36581:13;36603:53;36649:6;36644:3;36637:4;36629:6;36625:17;36603:53;:::i;:::-;36672:16;;;;;36420:274;-1:-1:-1;;36420:274:1:o

Swarm Source

ipfs://223453f3c0c1c4cf3b8dd8ab40c54b79f164c90899db99eef66418761e9e3787
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.