APE Price: $1.13 (+5.53%)

Token

Hard on Ape (HARD)

Overview

Max Total Supply

2,069 HARD

Holders

0

Total Transfers

-

Market

Price

$0.00 @ 0.000000 APE

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
HARD

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at apescan.io on 2025-01-09
*/

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


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

pragma solidity ^0.8.20;

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

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

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


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

pragma solidity ^0.8.20;


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

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

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

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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.9.0) (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() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

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


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

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

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

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

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

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

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

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

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

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

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

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

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

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

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

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

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

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

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

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

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

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

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

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

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

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

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

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

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

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

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

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


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

pragma solidity ^0.8.20;



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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @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 v5.1.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.20;


/**
 * @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.
 */
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.
     *
     * NOTE: ERC-2981 allows setting the royalty to 100% of the price. In that case all the price would be sent to the
     * royalty receiver and 0 tokens to the seller. Contracts dealing with royalty should consider empty transfers.
     */
    function royaltyInfo(
        uint256 tokenId,
        uint256 salePrice
    ) external view returns (address receiver, uint256 royaltyAmount);
}

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


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.20;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * 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.
 * OpenZeppelin's JavaScript library generates Merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     *@dev The multiproof provided is not valid.
     */
    error MerkleProofInvalidMultiproof();

    /**
     * @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}
     */
    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.
     */
    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}
     */
    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 simultaneously proven to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    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}
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    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 sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds 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 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // 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 from 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) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds 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 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // 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 from 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) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Sorts the pair (a, b) and hashes the result.
     */
    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    /**
     * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory.
     */
    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: contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */


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

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

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) 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);

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}
// File: contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard,
 * including the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at `_startTokenId()`
 * (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

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

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

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

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

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

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

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

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

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

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

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

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

    // The tokenId of the next token to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x2a55205a || // ERC 2981 rotyalty
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

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

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

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ownerOf(tokenId);
        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

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

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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-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 {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

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

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

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

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

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

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

            uint256 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

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

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

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

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

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

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

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

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

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

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

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

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

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}
// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


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

pragma solidity ^0.8.20;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC-165 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);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/token/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v5.1.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.20;



/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the ERC. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo;

    /**
     * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);

    /**
     * @dev The default royalty receiver is invalid.
     */
    error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);

    /**
     * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);

    /**
     * @dev The royalty receiver for `tokenId` is invalid.
     */
    error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(
        uint256 tokenId,
        uint256 salePrice
    ) public view virtual returns (address receiver, uint256 amount) {
        RoyaltyInfo storage _royaltyInfo = _tokenRoyaltyInfo[tokenId];
        address royaltyReceiver = _royaltyInfo.receiver;
        uint96 royaltyFraction = _royaltyInfo.royaltyFraction;

        if (royaltyReceiver == address(0)) {
            royaltyReceiver = _defaultRoyaltyInfo.receiver;
            royaltyFraction = _defaultRoyaltyInfo.royaltyFraction;
        }

        uint256 royaltyAmount = (salePrice * royaltyFraction) / _feeDenominator();

        return (royaltyReceiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));
        }

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));
        }

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

// File: @limitbreak/creator-token-contracts/contracts/programmable-royalties/BasicRoyalties.sol


pragma solidity ^0.8.4;


/**
 * @title BasicRoyaltiesBase
 * @author Limit Break, Inc.
 * @dev Base functionality of an NFT mix-in contract implementing the most basic form of programmable royalties.
 */
abstract contract BasicRoyaltiesBase is ERC2981 {

    event DefaultRoyaltySet(address indexed receiver, uint96 feeNumerator);
    event TokenRoyaltySet(uint256 indexed tokenId, address indexed receiver, uint96 feeNumerator);

    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual override {
        super._setDefaultRoyalty(receiver, feeNumerator);
        emit DefaultRoyaltySet(receiver, feeNumerator);
    }

    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual override {
        super._setTokenRoyalty(tokenId, receiver, feeNumerator);
        emit TokenRoyaltySet(tokenId, receiver, feeNumerator);
    }
}

/**
 * @title BasicRoyalties
 * @author Limit Break, Inc.
 * @notice Constructable BasicRoyalties Contract implementation.
 */
abstract contract BasicRoyalties is BasicRoyaltiesBase {
    constructor(address receiver, uint96 feeNumerator) {
        _setDefaultRoyalty(receiver, feeNumerator);
    }
}

/**
 * @title BasicRoyaltiesInitializable
 * @author Limit Break, Inc.
 * @notice Initializable BasicRoyalties Contract implementation to allow for EIP-1167 clones. 
 */
abstract contract BasicRoyaltiesInitializable is BasicRoyaltiesBase {}
// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: contracts/ImmediateRoyaltySplitter.sol


pragma solidity ^0.8.0;



/**
 * @title ImmediateRoyaltySplitter
 * @dev Contract for instantly splitting received payments between multiple addresses
 */
abstract contract ImmediateRoyaltySplitter is ReentrancyGuard {
    using SafeMath for uint256;

    // Events
    event PaymentReceived(address from, uint256 amount);
    event PaymentSplit(address to, uint256 amount);
    event RoyaltySharesUpdated(
        address[] royaltyReceivers,
        uint256[] royaltyShares
    );

    // Constants
    uint256 public constant TOTAL_ROYALTY_SHARES = 10000; // 100% = 10000 (0.01% precision)

    // State variables
    address[] public royaltyReceivers;
    uint256[] public royaltyShares;

    /**
     * @dev Internal function to update royaltyShares with validations
     */
    function _updateRoyaltyShares(
        address[] memory _receivers,
        uint256[] memory _shares
    ) internal {
        require(_receivers.length == _shares.length, "Arrays length mismatch");
        require(_receivers.length > 0, "No royaltyReceivers provided");

        uint256 _totalShares;
        for (uint256 i = 0; i < _receivers.length; i++) {
            require(_receivers[i] != address(0), "Invalid receiver address");
            require(_shares[i] > 0, "Share must be greater than 0");
            _totalShares = _totalShares.add(_shares[i]);
        }

        require(
            _totalShares == TOTAL_ROYALTY_SHARES,
            "Total royaltyShares must be 10000"
        );

        royaltyReceivers = _receivers;
        royaltyShares = _shares;

        emit RoyaltySharesUpdated(_receivers, _shares);
    }

    /**
     * @dev Private function to set the royalty shares only if they are not set yet
     */
    function _initializeRoyaltyShares(
        address[] memory _receivers,
        uint256[] memory _shares
    ) internal {
        require(royaltyReceivers.length == 0, "Royalty shares already set");
        _updateRoyaltyShares(_receivers, _shares);
    }

    /**
     * @dev Fallback function to receive and immediately split payments
     */
    receive() external payable nonReentrant {
        require(msg.value > 0, "No payment received");
        emit PaymentReceived(msg.sender, msg.value);

        uint256 remaining = msg.value;
        uint256 share;
        uint256 amount;

        // Process all royaltyReceivers except the last one
        for (uint256 i = 0; i < royaltyReceivers.length - 1; i++) {
            share = royaltyShares[i];
            // Calculate payment amount using the share percentage
            amount = msg.value.mul(share).div(TOTAL_ROYALTY_SHARES);
            remaining = remaining.sub(amount);

            (bool success, ) = royaltyReceivers[i].call{value: amount}("");
            require(success, "Transfer failed");
            emit PaymentSplit(royaltyReceivers[i], amount);
        }

        // Send remaining amount to last receiver to handle rounding dust
        if (remaining > 0 && royaltyReceivers.length > 0) {
            (bool success, ) = royaltyReceivers[royaltyReceivers.length - 1]
                .call{value: remaining}("");
            require(success, "Transfer failed");
            emit PaymentSplit(
                royaltyReceivers[royaltyReceivers.length - 1],
                remaining
            );
        }
    }

    /**
     * @dev Returns the current royaltyReceivers and their royaltyShares
     */
    function getRoyaltyShares()
        external
        view
        returns (address[] memory, uint256[] memory)
    {
        return (royaltyReceivers, royaltyShares);
    }

    /**
     * @dev Allows a royalty receiver to update their wallet address
     * @param newAddress The new address to update to
     */
    function updateReceiverAddress(address newAddress) external nonReentrant {
        require(newAddress != address(0), "New address is invalid");

        bool updated = false;
        for (uint256 i = 0; i < royaltyReceivers.length; i++) {
            if (royaltyReceivers[i] == msg.sender) {
                royaltyReceivers[i] = newAddress;
                updated = true;
                break;
            }
        }

        require(updated, "Receiver address not found");
    }
}
// File: access/OwnablePermissions.sol


pragma solidity ^0.8.4;


abstract contract OwnablePermissions is Context {
    function _requireCallerIsContractOwner() internal view virtual;
}

// File: interfaces/IEOARegistry.sol


pragma solidity ^0.8.4;


interface IEOARegistry is IERC165 {
    function isVerifiedEOA(address account) external view returns (bool);
}
// File: utils/TransferPolicy.sol


pragma solidity ^0.8.4;

enum AllowlistTypes {
    Operators,
    PermittedContractReceivers
}

enum ReceiverConstraints {
    None,
    NoCode,
    EOA
}

enum CallerConstraints {
    None,
    OperatorWhitelistEnableOTC,
    OperatorWhitelistDisableOTC
}

enum StakerConstraints {
    None,
    CallerIsTxOrigin,
    EOA
}

enum TransferSecurityLevels {
    Zero,
    One,
    Two,
    Three,
    Four,
    Five,
    Six
}

struct TransferSecurityPolicy {
    CallerConstraints callerConstraints;
    ReceiverConstraints receiverConstraints;
}

struct CollectionSecurityPolicy {
    TransferSecurityLevels transferSecurityLevel;
    uint120 operatorWhitelistId;
    uint120 permittedContractReceiversId;
}

// File: interfaces/ITransferSecurityRegistry.sol


pragma solidity ^0.8.4;


interface ITransferSecurityRegistry {
    event AddedToAllowlist(AllowlistTypes indexed kind, uint256 indexed id, address indexed account);
    event CreatedAllowlist(AllowlistTypes indexed kind, uint256 indexed id, string indexed name);
    event ReassignedAllowlistOwnership(AllowlistTypes indexed kind, uint256 indexed id, address indexed newOwner);
    event RemovedFromAllowlist(AllowlistTypes indexed kind, uint256 indexed id, address indexed account);
    event SetAllowlist(AllowlistTypes indexed kind, address indexed collection, uint120 indexed id);
    event SetTransferSecurityLevel(address indexed collection, TransferSecurityLevels level);

    function createOperatorWhitelist(string calldata name) external returns (uint120);
    function createPermittedContractReceiverAllowlist(string calldata name) external returns (uint120);
    function reassignOwnershipOfOperatorWhitelist(uint120 id, address newOwner) external;
    function reassignOwnershipOfPermittedContractReceiverAllowlist(uint120 id, address newOwner) external;
    function renounceOwnershipOfOperatorWhitelist(uint120 id) external;
    function renounceOwnershipOfPermittedContractReceiverAllowlist(uint120 id) external;
    function setTransferSecurityLevelOfCollection(address collection, TransferSecurityLevels level) external;
    function setOperatorWhitelistOfCollection(address collection, uint120 id) external;
    function setPermittedContractReceiverAllowlistOfCollection(address collection, uint120 id) external;
    function addOperatorToWhitelist(uint120 id, address operator) external;
    function addPermittedContractReceiverToAllowlist(uint120 id, address receiver) external;
    function removeOperatorFromWhitelist(uint120 id, address operator) external;
    function removePermittedContractReceiverFromAllowlist(uint120 id, address receiver) external;
    function getCollectionSecurityPolicy(address collection) external view returns (CollectionSecurityPolicy memory);
    function getWhitelistedOperators(uint120 id) external view returns (address[] memory);
    function getPermittedContractReceivers(uint120 id) external view returns (address[] memory);
    function isOperatorWhitelisted(uint120 id, address operator) external view returns (bool);
    function isContractReceiverPermitted(uint120 id, address receiver) external view returns (bool);
}
// File: interfaces/ITransferValidator.sol


pragma solidity ^0.8.4;


interface ITransferValidator {
    function applyCollectionTransferPolicy(address caller, address from, address to) external view;
}
// File: interfaces/ICreatorTokenTransferValidator.sol


pragma solidity ^0.8.4;




interface ICreatorTokenTransferValidator is ITransferSecurityRegistry, ITransferValidator, IEOARegistry {}
// File: interfaces/ICreatorToken.sol


pragma solidity ^0.8.4;


interface ICreatorToken {
    event TransferValidatorUpdated(address oldValidator, address newValidator);

    function getTransferValidator() external view returns (ICreatorTokenTransferValidator);
    function getSecurityPolicy() external view returns (CollectionSecurityPolicy memory);
    function getWhitelistedOperators() external view returns (address[] memory);
    function getPermittedContractReceivers() external view returns (address[] memory);
    function isOperatorWhitelisted(address operator) external view returns (bool);
    function isContractReceiverPermitted(address receiver) external view returns (bool);
    function isTransferAllowed(address caller, address from, address to) external view returns (bool);
}

// File: utils/TransferValidation.sol


pragma solidity ^0.8.4;


/**
 * @title TransferValidation
 * @author Limit Break, Inc.
 * @notice A mix-in that can be combined with ERC-721 contracts to provide more granular hooks.
 * Openzeppelin's ERC721 contract only provides hooks for before and after transfer.  This allows
 * developers to validate or customize transfers within the context of a mint, a burn, or a transfer.
 */
abstract contract TransferValidation is Context {
    
    error ShouldNotMintToBurnAddress();

    /// @dev Inheriting contracts should call this function in the _beforeTokenTransfer function to get more granular hooks.
    function _validateBeforeTransfer(address from, address to, uint256 tokenId) internal virtual {
        bool fromZeroAddress = from == address(0);
        bool toZeroAddress = to == address(0);

        if(fromZeroAddress && toZeroAddress) {
            revert ShouldNotMintToBurnAddress();
        } else if(fromZeroAddress) {
            _preValidateMint(_msgSender(), to, tokenId, msg.value);
        } else if(toZeroAddress) {
            _preValidateBurn(_msgSender(), from, tokenId, msg.value);
        } else {
            _preValidateTransfer(_msgSender(), from, to, tokenId, msg.value);
        }
    }

    /// @dev Inheriting contracts should call this function in the _afterTokenTransfer function to get more granular hooks.
    function _validateAfterTransfer(address from, address to, uint256 tokenId) internal virtual {
        bool fromZeroAddress = from == address(0);
        bool toZeroAddress = to == address(0);

        if(fromZeroAddress && toZeroAddress) {
            revert ShouldNotMintToBurnAddress();
        } else if(fromZeroAddress) {
            _postValidateMint(_msgSender(), to, tokenId, msg.value);
        } else if(toZeroAddress) {
            _postValidateBurn(_msgSender(), from, tokenId, msg.value);
        } else {
            _postValidateTransfer(_msgSender(), from, to, tokenId, msg.value);
        }
    }

    /// @dev Optional validation hook that fires before a mint
    function _preValidateMint(address caller, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a mint
    function _postValidateMint(address caller, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a burn
    function _preValidateBurn(address caller, address from, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a burn
    function _postValidateBurn(address caller, address from, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a transfer
    function _preValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a transfer
    function _postValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 value) internal virtual {}
}

// File: @openzeppelin/contracts/interfaces/IERC165.sol


// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)

pragma solidity ^0.8.20;


// File: contracts/CreatorTokenBase.sol


pragma solidity ^0.8.4;






/**
 * @title CreatorTokenBase
 * @author Limit Break, Inc.
 * @notice CreatorTokenBase is an abstract contract that provides basic functionality for managing token 
 * transfer policies through an implementation of ICreatorTokenTransferValidator. This contract is intended to be used
 * as a base for creator-specific token contracts, enabling customizable transfer restrictions and security policies.
 *
 * <h4>Features:</h4>
 * <ul>Ownable: This contract can have an owner who can set and update the transfer validator.</ul>
 * <ul>TransferValidation: Implements the basic token transfer validation interface.</ul>
 * <ul>ICreatorToken: Implements the interface for creator tokens, providing view functions for token security policies.</ul>
 *
 * <h4>Benefits:</h4>
 * <ul>Provides a flexible and modular way to implement custom token transfer restrictions and security policies.</ul>
 * <ul>Allows creators to enforce policies such as whitelisted operators and permitted contract receivers.</ul>
 * <ul>Can be easily integrated into other token contracts as a base contract.</ul>
 *
 * <h4>Intended Usage:</h4>
 * <ul>Use as a base contract for creator token implementations that require advanced transfer restrictions and 
 *   security policies.</ul>
 * <ul>Set and update the ICreatorTokenTransferValidator implementation contract to enforce desired policies for the 
 *   creator token.</ul>
 */
abstract contract CreatorTokenBase is OwnablePermissions, TransferValidation, ICreatorToken {
    
    error CreatorTokenBase__InvalidTransferValidatorContract();
    error CreatorTokenBase__SetTransferValidatorFirst();

    address public constant DEFAULT_TRANSFER_VALIDATOR = address(0x0000721C310194CcfC01E523fc93C9cCcFa2A0Ac);
    TransferSecurityLevels public constant DEFAULT_TRANSFER_SECURITY_LEVEL = TransferSecurityLevels.One;
    uint120 public constant DEFAULT_OPERATOR_WHITELIST_ID = uint120(1);

    ICreatorTokenTransferValidator private transferValidator;

    /**
     * @notice Allows the contract owner to set the transfer validator to the official validator contract
     *         and set the security policy to the recommended default settings.
     * @dev    May be overridden to change the default behavior of an individual collection.
     */
    function setToDefaultSecurityPolicy() public virtual {
        _requireCallerIsContractOwner();
        setTransferValidator(DEFAULT_TRANSFER_VALIDATOR);
        ICreatorTokenTransferValidator(DEFAULT_TRANSFER_VALIDATOR).setTransferSecurityLevelOfCollection(address(this), DEFAULT_TRANSFER_SECURITY_LEVEL);
        ICreatorTokenTransferValidator(DEFAULT_TRANSFER_VALIDATOR).setOperatorWhitelistOfCollection(address(this), DEFAULT_OPERATOR_WHITELIST_ID);
    }

    /**
     * @notice Allows the contract owner to set the transfer validator to a custom validator contract
     *         and set the security policy to their own custom settings.
     */
    function setToCustomValidatorAndSecurityPolicy(
        address validator, 
        TransferSecurityLevels level, 
        uint120 operatorWhitelistId, 
        uint120 permittedContractReceiversAllowlistId) public {
        _requireCallerIsContractOwner();

        setTransferValidator(validator);

        ICreatorTokenTransferValidator(validator).
            setTransferSecurityLevelOfCollection(address(this), level);

        ICreatorTokenTransferValidator(validator).
            setOperatorWhitelistOfCollection(address(this), operatorWhitelistId);

        ICreatorTokenTransferValidator(validator).
            setPermittedContractReceiverAllowlistOfCollection(address(this), permittedContractReceiversAllowlistId);
    }

    /**
     * @notice Allows the contract owner to set the security policy to their own custom settings.
     * @dev    Reverts if the transfer validator has not been set.
     */
    function setToCustomSecurityPolicy(
        TransferSecurityLevels level, 
        uint120 operatorWhitelistId, 
        uint120 permittedContractReceiversAllowlistId) public {
        _requireCallerIsContractOwner();

        ICreatorTokenTransferValidator validator = getTransferValidator();
        if (address(validator) == address(0)) {
            revert CreatorTokenBase__SetTransferValidatorFirst();
        }

        validator.setTransferSecurityLevelOfCollection(address(this), level);
        validator.setOperatorWhitelistOfCollection(address(this), operatorWhitelistId);
        validator.setPermittedContractReceiverAllowlistOfCollection(address(this), permittedContractReceiversAllowlistId);
    }

    /**
     * @notice Sets the transfer validator for the token contract.
     *
     * @dev    Throws when provided validator contract is not the zero address and doesn't support 
     *         the ICreatorTokenTransferValidator interface. 
     * @dev    Throws when the caller is not the contract owner.
     *
     * @dev    <h4>Postconditions:</h4>
     *         1. The transferValidator address is updated.
     *         2. The `TransferValidatorUpdated` event is emitted.
     *
     * @param transferValidator_ The address of the transfer validator contract.
     */
    function setTransferValidator(address transferValidator_) public {
        _requireCallerIsContractOwner();

        bool isValidTransferValidator = false;

        if(transferValidator_.code.length > 0) {
            try IERC165(transferValidator_).supportsInterface(type(ICreatorTokenTransferValidator).interfaceId) 
                returns (bool supportsInterface) {
                isValidTransferValidator = supportsInterface;
            } catch {}
        }

        if(transferValidator_ != address(0) && !isValidTransferValidator) {
            revert CreatorTokenBase__InvalidTransferValidatorContract();
        }

        emit TransferValidatorUpdated(address(transferValidator), transferValidator_);

        transferValidator = ICreatorTokenTransferValidator(transferValidator_);
    }

    /**
     * @notice Returns the transfer validator contract address for this token contract.
     */
    function getTransferValidator() public view override returns (ICreatorTokenTransferValidator) {
        return transferValidator;
    }

    /**
     * @notice Returns the security policy for this token contract, which includes:
     *         Transfer security level, operator whitelist id, permitted contract receiver allowlist id.
     */
    function getSecurityPolicy() public view override returns (CollectionSecurityPolicy memory) {
        if (address(transferValidator) != address(0)) {
            return transferValidator.getCollectionSecurityPolicy(address(this));
        }

        return CollectionSecurityPolicy({
            transferSecurityLevel: TransferSecurityLevels.Zero,
            operatorWhitelistId: 0,
            permittedContractReceiversId: 0
        });
    }

    /**
     * @notice Returns the list of all whitelisted operators for this token contract.
     * @dev    This can be an expensive call and should only be used in view-only functions.
     */
    function getWhitelistedOperators() public view override returns (address[] memory) {
        if (address(transferValidator) != address(0)) {
            return transferValidator.getWhitelistedOperators(
                transferValidator.getCollectionSecurityPolicy(address(this)).operatorWhitelistId);
        }

        return new address[](0);
    }

    /**
     * @notice Returns the list of permitted contract receivers for this token contract.
     * @dev    This can be an expensive call and should only be used in view-only functions.
     */
    function getPermittedContractReceivers() public view override returns (address[] memory) {
        if (address(transferValidator) != address(0)) {
            return transferValidator.getPermittedContractReceivers(
                transferValidator.getCollectionSecurityPolicy(address(this)).permittedContractReceiversId);
        }

        return new address[](0);
    }

    /**
     * @notice Checks if an operator is whitelisted for this token contract.
     * @param operator The address of the operator to check.
     */
    function isOperatorWhitelisted(address operator) public view override returns (bool) {
        if (address(transferValidator) != address(0)) {
            return transferValidator.isOperatorWhitelisted(
                transferValidator.getCollectionSecurityPolicy(address(this)).operatorWhitelistId, operator);
        }

        return false;
    }

    /**
     * @notice Checks if a contract receiver is permitted for this token contract.
     * @param receiver The address of the receiver to check.
     */
    function isContractReceiverPermitted(address receiver) public view override returns (bool) {
        if (address(transferValidator) != address(0)) {
            return transferValidator.isContractReceiverPermitted(
                transferValidator.getCollectionSecurityPolicy(address(this)).permittedContractReceiversId, receiver);
        }

        return false;
    }

    /**
     * @notice Determines if a transfer is allowed based on the token contract's security policy.  Use this function
     *         to simulate whether or not a transfer made by the specified `caller` from the `from` address to the `to`
     *         address would be allowed by this token's security policy.
     *
     * @notice This function only checks the security policy restrictions and does not check whether token ownership
     *         or approvals are in place. 
     *
     * @param caller The address of the simulated caller.
     * @param from   The address of the sender.
     * @param to     The address of the receiver.
     * @return       True if the transfer is allowed, false otherwise.
     */
    function isTransferAllowed(address caller, address from, address to) public view override returns (bool) {
        if (address(transferValidator) != address(0)) {
            try transferValidator.applyCollectionTransferPolicy(caller, from, to) {
                return true;
            } catch {
                return false;
            }
        }
        return true;
    }

    /**
     * @dev Pre-validates a token transfer, reverting if the transfer is not allowed by this token's security policy.
     *      Inheriting contracts are responsible for overriding the _beforeTokenTransfer function, or its equivalent
     *      and calling _validateBeforeTransfer so that checks can be properly applied during token transfers.
     *
     * @dev Throws when the transfer doesn't comply with the collection's transfer policy, if the transferValidator is
     *      set to a non-zero address.
     *
     * @param caller  The address of the caller.
     * @param from    The address of the sender.
     * @param to      The address of the receiver.
     */
    function _preValidateTransfer(
        address caller, 
        address from, 
        address to, 
        uint256 /*tokenId*/, 
        uint256 /*value*/) internal virtual override {
        if (address(transferValidator) != address(0)) {
            transferValidator.applyCollectionTransferPolicy(caller, from, to);
        }
    }
}

// File: contracts/HARD.sol


pragma solidity ^0.8.23;











contract HARD is
    Ownable,
    ReentrancyGuard,
    ERC721A,
    BasicRoyaltiesInitializable,
    ImmediateRoyaltySplitter,
    CreatorTokenBase
{
    using Strings for uint256;

    /// -----------------------------------------------------------------------
    /// Constants & Configuration
    /// -----------------------------------------------------------------------
    uint256 public MAX_SUPPLY = 2069;
    /// @notice Up to 1600 for the whitelist phase, remaining 469 for the public phase
    uint256 public MAX_WHITELIST_SUPPLY = 1600;

    /// @notice Mint price for both WL and Public (you can adjust if needed)
    uint256 public mintPrice = 0 ether;

    uint256 public maxPerWalletWL = 10;
    uint256 public maxPerWalletPublic = 3;

    /// @notice Simple boolean to allow or pause minting altogether
    bool public saleIsActive;

    /// -----------------------------------------------------------------------
    /// Whitelist
    /// -----------------------------------------------------------------------
    /// @dev We store a merkle root for WL verification
    bytes32 public merkleRootWL;

    /// @dev We track how many WL or Public mints each wallet has done
    mapping(address => uint256) public mintedWL;
    mapping(address => uint256) public mintedPublic;

    /// -----------------------------------------------------------------------
    /// Metadata
    /// -----------------------------------------------------------------------
    string public baseURI;

    /// -----------------------------------------------------------------------
    /// Constructor
    /// -----------------------------------------------------------------------
    /**
     * @param _initialOwner The owner of the contract.
     * @param _baseUri The initial base URI for token metadata.
     * @param _royaltyFeeNumerator The default royalty fee (e.g. 500 = 5%).
     */
    constructor(
        address _initialOwner,
        string memory _baseUri,
        uint96 _royaltyFeeNumerator
    )
        ERC721A("Hard on Ape", "HARD")
        Ownable(_initialOwner)
        CreatorTokenBase()
    {
        baseURI = _baseUri;
        _setDefaultRoyalty(address(this), _royaltyFeeNumerator);
    }

    /// -----------------------------------------------------------------------
    /// Whitelist Mint
    /// -----------------------------------------------------------------------
    /**
     * @notice Whitelist mint. Requires totalSupply() < 1600, valid proof, 
     *         and up to 3 NFTs per whitelisted wallet. 
     *         If you want to let WL wallets mint multiple times, 
     *         you simply keep track in `mintedWL[msg.sender]`.
     *
     * @param quantity How many NFTs to mint.
     * @param proof The Merkle proof verifying you’re whitelisted.
     */
    function mintWL(uint256 quantity, bytes32[] calldata proof)
        external
        payable
        nonReentrant
    {
        require(saleIsActive, "Sale is not active");
        // Ensure we haven't passed the WL supply
        require(totalSupply() + quantity <= MAX_WHITELIST_SUPPLY, "Exceeds WL supply limit");

        // Check WL merkle proof
        require(_verifyWL(proof, _leaf(msg.sender)), "Not whitelisted");

        // Check per-wallet limit in WL
        require(mintedWL[msg.sender] + quantity <= maxPerWalletWL, "Exceeds WL wallet limit");

        // Check payment
        require(msg.value >= mintPrice * quantity, "Insufficient ETH sent");

        // Record minted quantity
        mintedWL[msg.sender] += quantity;

        _safeMint(msg.sender, quantity);
    }

    /// -----------------------------------------------------------------------
    /// Public Mint
    /// -----------------------------------------------------------------------
    /**
     * @notice Public mint. Requires totalSupply() >= 1600. Each wallet can only mint 1 NFT in public.
     * @param quantity How many NFTs to mint (most likely 1).
     */
    function mint(uint256 quantity) external payable nonReentrant {
        require(saleIsActive, "Sale is not active");

        // Must be past the WL supply threshold
        require(totalSupply() >= MAX_WHITELIST_SUPPLY, "Public not open yet");
        require(totalSupply() + quantity <= MAX_SUPPLY, "Exceeds max supply");

        // Check max per wallet in public
        require(mintedPublic[msg.sender] + quantity <= maxPerWalletPublic, "Exceeds public wallet limit");

        // Check payment
        require(msg.value >= mintPrice * quantity, "Insufficient ETH sent");

        // Update minted public
        mintedPublic[msg.sender] += quantity;

        _safeMint(msg.sender, quantity);
    }

    /// -----------------------------------------------------------------------
    /// Gift (Owner Mint)
    /// -----------------------------------------------------------------------
    /**
     * @notice Owner can mint/gift tokens directly to a wallet without restriction.
     */
    function gift(address to, uint256 quantity) external onlyOwner {
        require(totalSupply() + quantity <= MAX_SUPPLY, "Exceeds max supply");
        _safeMint(to, quantity);
    }

    /// -----------------------------------------------------------------------
    /// Burn (Optional)
    /// -----------------------------------------------------------------------
    function burn(uint256 tokenId) external nonReentrant {
        require(
            msg.sender == owner() || msg.sender == ownerOf(tokenId),
            "Not allowed to burn"
        );
        _burn(tokenId);
    }

    /// -----------------------------------------------------------------------
    /// Admin Functions
    /// -----------------------------------------------------------------------
    /// @notice Toggle the sale state (start/stop minting).
    function setSaleIsActive(bool active) external onlyOwner {
        saleIsActive = active;
    }

    /// @notice Adjust the mint price (for both WL and public).
    function setMintPrice(uint256 _newPrice) external onlyOwner {
        mintPrice = _newPrice;
    }

    /// @notice Adjust the max number of tokens per wallet in WL phase.
    function setMaxPerWalletWL(uint256 _newMax) external onlyOwner {
        maxPerWalletWL = _newMax;
    }

    /// @notice Adjust the max number of tokens in WL phase.
    function setMaxWhitelistSupply(uint256 _newMax) external onlyOwner {
        MAX_WHITELIST_SUPPLY = _newMax;
    }

    /// @notice Adjust the max number of tokens.
    function setMaxSupply(uint256 _newMax) external onlyOwner {
        MAX_SUPPLY = _newMax;
    }

    /// @notice Adjust the max number of tokens per wallet in public phase.
    function setMaxPerWalletPublic(uint256 _newMax) external onlyOwner {
        maxPerWalletPublic = _newMax;
    }

    /// @notice Updates the base URI for the tokens (e.g., IPFS folder link).
    function setBaseURI(string memory _baseUri) external onlyOwner {
        baseURI = _baseUri;
    }

    /// @notice Rescue stuck ERC20 tokens if needed.
    function rescueERC20(IERC20 token, address to, uint256 amount) external onlyOwner {
        token.transfer(to, amount);
    }

    /// @notice Withdraw all ETH from the contract to the owner.
    function withdrawNative() external onlyOwner nonReentrant {
        uint256 balance = address(this).balance;
        require(balance > 0, "No native token to withdraw");
        (bool success, ) = payable(owner()).call{value: balance}("");
        require(success, "Native withdraw failed");
    }

    /// -----------------------------------------------------------------------
    /// Royalties
    /// -----------------------------------------------------------------------
    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwner {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function initializeRoyaltyShares(
        address[] memory _receivers,
        uint256[] memory _shares
    ) external onlyOwner {
        _initializeRoyaltyShares(_receivers, _shares);
    }

    /// -----------------------------------------------------------------------
    /// Metadata
    /// -----------------------------------------------------------------------
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId), "URI query for nonexistent token");
        return
            bytes(baseURI).length > 0
                ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json"))
                : "";
    }

    /// -----------------------------------------------------------------------
    /// ERC165 / Interface Support
    /// -----------------------------------------------------------------------
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721A, ERC2981)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    /// -----------------------------------------------------------------------
    /// Creator Token Base Requirement
    /// -----------------------------------------------------------------------
    function _requireCallerIsContractOwner() internal view override {
        require(msg.sender == owner(), "Caller is not the contract owner");
    }

    /// -----------------------------------------------------------------------
    /// Whitelist Merkle Logic
    /// -----------------------------------------------------------------------
    function setMerkleRootWL(bytes32 _merkleRoot) external onlyOwner {
        merkleRootWL = _merkleRoot;
    }

    function _leaf(address account) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(account));
    }

    function _verifyWL(bytes32[] calldata proof, bytes32 leaf_) internal view returns (bool) {
        return MerkleProof.verify(proof, merkleRootWL, leaf_);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_initialOwner","type":"address"},{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"uint96","name":"_royaltyFeeNumerator","type":"uint96"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"CreatorTokenBase__InvalidTransferValidatorContract","type":"error"},{"inputs":[],"name":"CreatorTokenBase__SetTransferValidatorFirst","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"ShouldNotMintToBurnAddress","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"DefaultRoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentSplit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"royaltyReceivers","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"royaltyShares","type":"uint256[]"}],"name":"RoyaltySharesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"TokenRoyaltySet","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldValidator","type":"address"},{"indexed":false,"internalType":"address","name":"newValidator","type":"address"}],"name":"TransferValidatorUpdated","type":"event"},{"inputs":[],"name":"DEFAULT_OPERATOR_WHITELIST_ID","outputs":[{"internalType":"uint120","name":"","type":"uint120"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_TRANSFER_SECURITY_LEVEL","outputs":[{"internalType":"enum TransferSecurityLevels","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_TRANSFER_VALIDATOR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WHITELIST_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_ROYALTY_SHARES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPermittedContractReceivers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRoyaltyShares","outputs":[{"internalType":"address[]","name":"","type":"address[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSecurityPolicy","outputs":[{"components":[{"internalType":"enum TransferSecurityLevels","name":"transferSecurityLevel","type":"uint8"},{"internalType":"uint120","name":"operatorWhitelistId","type":"uint120"},{"internalType":"uint120","name":"permittedContractReceiversId","type":"uint120"}],"internalType":"struct CollectionSecurityPolicy","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTransferValidator","outputs":[{"internalType":"contract ICreatorTokenTransferValidator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistedOperators","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_receivers","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"}],"name":"initializeRoyaltyShares","outputs":[],"stateMutability":"nonpayable","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":"address","name":"receiver","type":"address"}],"name":"isContractReceiverPermitted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"isOperatorWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"caller","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"isTransferAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootWL","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintWL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedWL","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":"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueERC20","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":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"royaltyReceivers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"royaltyShares","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMax","type":"uint256"}],"name":"setMaxPerWalletPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMax","type":"uint256"}],"name":"setMaxPerWalletWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMax","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMax","type":"uint256"}],"name":"setMaxWhitelistSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRootWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setSaleIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum TransferSecurityLevels","name":"level","type":"uint8"},{"internalType":"uint120","name":"operatorWhitelistId","type":"uint120"},{"internalType":"uint120","name":"permittedContractReceiversAllowlistId","type":"uint120"}],"name":"setToCustomSecurityPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"validator","type":"address"},{"internalType":"enum TransferSecurityLevels","name":"level","type":"uint8"},{"internalType":"uint120","name":"operatorWhitelistId","type":"uint120"},{"internalType":"uint120","name":"permittedContractReceiversAllowlistId","type":"uint120"}],"name":"setToCustomValidatorAndSecurityPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setToDefaultSecurityPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"transferValidator_","type":"address"}],"name":"setTransferValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateReceiverAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052610815600f556106406010555f601155600a60125560036013553480156200002a575f80fd5b50604051620044cc380380620044cc8339810160408190526200004d9162000290565b604080518082018252600b81526a48617264206f6e2041706560a81b602080830191909152825180840190935260048352631210549160e21b9083015290846001600160a01b038116620000bb57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000c68162000114565b50600180556004620000d9838262000419565b506005620000e8828262000419565b50506001600255506018620000fe838262000419565b506200010b308262000163565b505050620004e5565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6200016f8282620001ba565b6040516001600160601b03821681526001600160a01b038316907f8a8bae378cb731c5c40b632330c6836c2f916f48edb967699c86736f9a6a76ef9060200160405180910390a25050565b6127106001600160601b038216811015620001fb57604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401620000b2565b6001600160a01b0383166200022657604051635b6cc80560e11b81525f6004820152602401620000b2565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b634e487b7160e01b5f52604160045260245ffd5b80516001600160601b03811681146200028b575f80fd5b919050565b5f805f60608486031215620002a3575f80fd5b83516001600160a01b0381168114620002ba575f80fd5b602085810151919450906001600160401b0380821115620002d9575f80fd5b818701915087601f830112620002ed575f80fd5b81518181111562000302576200030262000260565b604051601f8201601f19908116603f011681019083821181831017156200032d576200032d62000260565b816040528281528a8684870101111562000345575f80fd5b5f93505b8284101562000368578484018601518185018701529285019262000349565b5f868483010152809750505050505050620003866040850162000274565b90509250925092565b600181811c90821680620003a457607f821691505b602082108103620003c357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200041457805f5260205f20601f840160051c81016020851015620003f05750805b601f840160051c820191505b8181101562000411575f8155600101620003fc565b50505b505050565b81516001600160401b0381111562000435576200043562000260565b6200044d816200044684546200038f565b84620003c9565b602080601f83116001811462000483575f84156200046b5750858301515b5f19600386901b1c1916600185901b178555620004dd565b5f85815260208120601f198616915b82811015620004b35788860151825594840194600190910190840162000492565b5085821015620004d157878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b613fd980620004f35f395ff3fe6080604052600436106103ab575f3560e01c80636c0360eb116101e9578063b2118a8d11610108578063d6492d811161009d578063f2fde38b1161006d578063f2fde38b14610e1f578063f4a0a52814610e3e578063fd762d9214610e5d578063ff260b5914610e7c575f80fd5b8063d6492d8114610d8b578063e985e9c514610da0578063eb8d244414610de7578063f152015714610e00575f80fd5b8063c87b56dd116100d8578063c87b56dd14610d26578063cbce4c9714610d45578063d007af5c14610d64578063d0bfb81014610d78575f80fd5b8063b2118a8d14610ca8578063b88d4fde14610cc7578063be537f4314610ce6578063c1612d4114610d07575f80fd5b80639d645a441161017e578063a9fc664e1161014e578063a9fc664e14610c40578063ad3e31b714610c5f578063af2d4f1414610c7e578063b029a51414610c93575f80fd5b80639d645a4414610bcd578063a0712d6814610bec578063a22cb46514610bff578063a596dae314610c1e575f80fd5b8063715018a6116101b9578063715018a614610b6a5780638b533ea414610b7e5780638da5cb5b14610b9d57806395d89b4114610bb9575f80fd5b80636c0360eb14610b045780636c3b869914610b185780636f8b44b014610b2c57806370a0823114610b4b575f80fd5b80632e8da829116102d557806354e5c18c1161026a578063613471621161023a5780636134716214610a925780636352211e14610ab15780636817c76c14610ad05780636b8eed0a14610ae5575f80fd5b806354e5c18c14610a0957806355f804b314610a285780635bb2f69114610a475780635d4c1d4614610a66575f80fd5b806342842e0e116102a557806342842e0e1461099657806342966c68146109b5578063495c8bf9146109d457806350431ce4146109f5575f80fd5b80632e8da8291461092e5780632f2552401461094d57806332cb6b0c146109625780633c768d0e14610977575f80fd5b8063098144d41161034b5780631f8461571161031b5780631f8461571461089157806323b872dd146108bc57806325ee97e3146108db5780632a55205a146108f0575f80fd5b8063098144d41461081257806318160ddd1461082f5780631b25b077146108515780631c33b32814610870575f80fd5b806304634d8d1161038657806304634d8d1461079457806306fdde03146107b3578063081812fc146107d4578063095ea7b3146107f3575f80fd5b8063014635461461070457806301ffc9a71461074657806302c8898914610775575f80fd5b36610700576103b8610ea7565b5f34116104025760405162461bcd60e51b8152602060048201526013602482015272139bc81c185e5b595b9d081c9958d95a5d9959606a1b60448201526064015b60405180910390fd5b604080513381523460208201527f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770910160405180910390a1345f80805b600c5461044e90600190613465565b8110156105af57600d818154811061046857610468613478565b5f91825260209091200154925061048b6127106104853486610f00565b90610f14565b91506104978483610f1f565b93505f600c82815481106104ad576104ad613478565b5f9182526020822001546040516001600160a01b039091169185919081818185875af1925050503d805f81146104fe576040519150601f19603f3d011682016040523d82523d5f602084013e610503565b606091505b50509050806105465760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016103f9565b7fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced174600c838154811061057a5761057a613478565b5f9182526020918290200154604080516001600160a01b0390921682529181018690520160405180910390a15060010161043f565b505f831180156105c05750600c5415155b156106f257600c80545f91906105d890600190613465565b815481106105e8576105e8613478565b5f9182526020822001546040516001600160a01b039091169186919081818185875af1925050503d805f8114610639576040519150601f19603f3d011682016040523d82523d5f602084013e61063e565b606091505b50509050806106815760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016103f9565b600c80547fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced17491906106b490600190613465565b815481106106c4576106c4613478565b5f9182526020918290200154604080516001600160a01b0390921682529181018790520160405180910390a1505b5050506106fe60018055565b005b5f80fd5b34801561070f575f80fd5b5061072971721c310194ccfc01e523fc93c9cccfa2a0ac81565b6040516001600160a01b0390911681526020015b60405180910390f35b348015610751575f80fd5b506107656107603660046134a1565b610f2a565b604051901515815260200161073d565b348015610780575f80fd5b506106fe61078f3660046134c9565b610f34565b34801561079f575f80fd5b506106fe6107ae3660046134f8565b610f4f565b3480156107be575f80fd5b506107c7610f65565b60405161073d9190613587565b3480156107df575f80fd5b506107296107ee366004613599565b610ff5565b3480156107fe575f80fd5b506106fe61080d3660046135b0565b611037565b34801561081d575f80fd5b50600e546001600160a01b0316610729565b34801561083a575f80fd5b506108436110d5565b60405190815260200161073d565b34801561085c575f80fd5b5061076561086b3660046135da565b6110e2565b34801561087b575f80fd5b50610884600181565b60405161073d9190613642565b34801561089c575f80fd5b506108436108ab366004613650565b60176020525f908152604090205481565b3480156108c7575f80fd5b506106fe6108d636600461366b565b611177565b3480156108e6575f80fd5b5061084360125481565b3480156108fb575f80fd5b5061090f61090a3660046136a9565b611312565b604080516001600160a01b03909316835260208301919091520161073d565b348015610939575f80fd5b50610765610948366004613650565b611395565b348015610958575f80fd5b5061084361271081565b34801561096d575f80fd5b50610843600f5481565b348015610982575f80fd5b50610729610991366004613599565b61149b565b3480156109a1575f80fd5b506106fe6109b036600461366b565b6114c3565b3480156109c0575f80fd5b506106fe6109cf366004613599565b6114e2565b3480156109df575f80fd5b506109e8611572565b60405161073d919061370c565b348015610a00575f80fd5b506106fe61167c565b348015610a14575f80fd5b506106fe610a23366004613599565b611780565b348015610a33575f80fd5b506106fe610a423660046137b8565b61178d565b348015610a52575f80fd5b506106fe610a6136600461388c565b6117a1565b348015610a71575f80fd5b50610a7a600181565b6040516001600160781b03909116815260200161073d565b348015610a9d575f80fd5b506106fe610aac366004613968565b6117b3565b348015610abc575f80fd5b50610729610acb366004613599565b61190e565b348015610adb575f80fd5b5061084360115481565b348015610af0575f80fd5b506106fe610aff366004613650565b611918565b348015610b0f575f80fd5b506107c7611a5a565b348015610b23575f80fd5b506106fe611ae6565b348015610b37575f80fd5b506106fe610b46366004613599565b611bd5565b348015610b56575f80fd5b50610843610b65366004613650565b611be2565b348015610b75575f80fd5b506106fe611c2f565b348015610b89575f80fd5b506106fe610b98366004613599565b611c40565b348015610ba8575f80fd5b505f546001600160a01b0316610729565b348015610bc4575f80fd5b506107c7611c4d565b348015610bd8575f80fd5b50610765610be7366004613650565b611c5c565b6106fe610bfa366004613599565b611d21565b348015610c0a575f80fd5b506106fe610c193660046139a5565b611f06565b348015610c29575f80fd5b50610c32611f9a565b60405161073d9291906139d1565b348015610c4b575f80fd5b506106fe610c5a366004613650565b612053565b348015610c6a575f80fd5b506106fe610c79366004613599565b612172565b348015610c89575f80fd5b5061084360105481565b348015610c9e575f80fd5b5061084360135481565b348015610cb3575f80fd5b506106fe610cc236600461366b565b61217f565b348015610cd2575f80fd5b506106fe610ce1366004613a26565b6121f7565b348015610cf1575f80fd5b50610cfa61223b565b60405161073d9190613aa1565b348015610d12575f80fd5b506106fe610d21366004613599565b6122f2565b348015610d31575f80fd5b506107c7610d40366004613599565b6122ff565b348015610d50575f80fd5b506106fe610d5f3660046135b0565b6123b0565b348015610d6f575f80fd5b506109e861241b565b6106fe610d86366004613adc565b6124d2565b348015610d96575f80fd5b5061084360155481565b348015610dab575f80fd5b50610765610dba366004613b54565b6001600160a01b039182165f90815260096020908152604080832093909416825291909152205460ff1690565b348015610df2575f80fd5b506014546107659060ff1681565b348015610e0b575f80fd5b50610843610e1a366004613599565b612706565b348015610e2a575f80fd5b506106fe610e39366004613650565b612725565b348015610e49575f80fd5b506106fe610e58366004613599565b61275f565b348015610e68575f80fd5b506106fe610e77366004613b80565b61276c565b348015610e87575f80fd5b50610843610e96366004613650565b60166020525f908152604090205481565b600260015403610ef95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103f9565b6002600155565b5f610f0b8284613bd9565b90505b92915050565b5f610f0b8284613bf0565b5f610f0b8284613465565b5f610f0e82612861565b610f3c612895565b6014805460ff1916911515919091179055565b610f57612895565b610f6182826128c1565b5050565b606060048054610f7490613c0f565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa090613c0f565b8015610feb5780601f10610fc257610100808354040283529160200191610feb565b820191905f5260205f20905b815481529060010190602001808311610fce57829003601f168201915b5050505050905090565b5f610fff82612916565b61101c576040516333d1c03960e21b815260040160405180910390fd5b505f908152600860205260409020546001600160a01b031690565b5f6110418261190e565b9050336001600160a01b0382161461107a5761105d8133610dba565b61107a576040516367d9dca160e11b815260040160405180910390fd5b5f8281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600354600254035f190190565b600e545f906001600160a01b03161561116c57600e5460405163050bf71960e31b81526001600160a01b038681166004830152858116602483015284811660448301529091169063285fb8c8906064015f6040518083038186803b158015611148575f80fd5b505afa925050508015611159575060015b61116457505f611170565b506001611170565b5060015b9392505050565b5f61118182612949565b9050836001600160a01b0316816001600160a01b0316146111b45760405162a1148160e81b815260040160405180910390fd5b5f82815260086020526040902080546111df8187335b6001600160a01b039081169116811491141790565b61120a576111ed8633610dba565b61120a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661123157604051633a954ecd60e21b815260040160405180910390fd5b801561123b575f82555b6001600160a01b038681165f9081526007602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260066020526040812091909155600160e11b841690036112c857600184015f8181526006602052604081205490036112c65760025481146112c6575f8181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f828152600b6020526040812080548291906001600160a01b03811690600160a01b90046001600160601b031681611365575050600a546001600160a01b03811690600160a01b90046001600160601b03165b5f61271061137c6001600160601b03841689613bd9565b6113869190613bf0565b92989297509195505050505050565b600e545f906001600160a01b03161561149457600e54604051635caaa2a960e11b81523060048201526001600160a01b039091169063d72dde5e90829063b955455290602401606060405180830381865afa1580156113f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141a9190613c47565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b03851660248201526044015b602060405180830381865afa158015611470573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f0e9190613cb7565b505f919050565b600c81815481106114aa575f80fd5b5f918252602090912001546001600160a01b0316905081565b6114dd83838360405180602001604052805f8152506121f7565b505050565b6114ea610ea7565b5f546001600160a01b031633148061151b57506115068161190e565b6001600160a01b0316336001600160a01b0316145b61155d5760405162461bcd60e51b81526020600482015260136024820152722737ba1030b63637bbb2b2103a3790313ab93760691b60448201526064016103f9565b611566816129b3565b61156f60018055565b50565b600e546060906001600160a01b03161561166a57600e54604051635caaa2a960e11b81523060048201526001600160a01b0390911690633fe5df9990829063b955455290602401606060405180830381865afa1580156115d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f89190613c47565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526024015b5f60405180830381865afa15801561163e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116659190810190613cd2565b905090565b50604080515f81526020810190915290565b611684612895565b61168c610ea7565b47806116da5760405162461bcd60e51b815260206004820152601b60248201527f4e6f206e617469766520746f6b656e20746f207769746864726177000000000060448201526064016103f9565b5f80546040516001600160a01b039091169083908381818185875af1925050503d805f8114611724576040519150601f19603f3d011682016040523d82523d5f602084013e611729565b606091505b50509050806117735760405162461bcd60e51b815260206004820152601660248201527513985d1a5d99481dda5d1a191c985dc819985a5b195960521b60448201526064016103f9565b505061177e60018055565b565b611788612895565b601055565b611795612895565b6018610f618282613dab565b6117a9612895565b610f6182826129bd565b6117bb612a17565b5f6117ce600e546001600160a01b031690565b90506001600160a01b0381166117f757604051631cffe3dd60e11b815260040160405180910390fd5b604051630368065360e61b81526001600160a01b0382169063da0194c0906118259030908890600401613e67565b5f604051808303815f87803b15801561183c575f80fd5b505af115801561184e573d5f803e3d5ffd5b5050604051631182550160e11b81526001600160a01b0384169250632304aa0291506118809030908790600401613e84565b5f604051808303815f87803b158015611897575f80fd5b505af11580156118a9573d5f803e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0384169250638d74431491506118db9030908690600401613e84565b5f604051808303815f87803b1580156118f2575f80fd5b505af1158015611904573d5f803e3d5ffd5b5050505050505050565b5f610f0e82612949565b611920610ea7565b6001600160a01b03811661196f5760405162461bcd60e51b815260206004820152601660248201527513995dc81859191c995cdcc81a5cc81a5b9d985b1a5960521b60448201526064016103f9565b5f805b600c54811015611a0257336001600160a01b0316600c828154811061199957611999613478565b5f918252602090912001546001600160a01b0316036119fa5782600c82815481106119c6576119c6613478565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060019150611a02565b600101611972565b5080611a505760405162461bcd60e51b815260206004820152601a60248201527f52656365697665722061646472657373206e6f7420666f756e6400000000000060448201526064016103f9565b5061156f60018055565b60188054611a6790613c0f565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9390613c0f565b8015611ade5780601f10611ab557610100808354040283529160200191611ade565b820191905f5260205f20905b815481529060010190602001808311611ac157829003601f168201915b505050505081565b611aee612a17565b611b0971721c310194ccfc01e523fc93c9cccfa2a0ac612053565b604051630368065360e61b815271721c310194ccfc01e523fc93c9cccfa2a0ac9063da0194c090611b41903090600190600401613e67565b5f604051808303815f87803b158015611b58575f80fd5b505af1158015611b6a573d5f803e3d5ffd5b5050604051631182550160e11b815271721c310194ccfc01e523fc93c9cccfa2a0ac9250632304aa029150611ba6903090600190600401613e84565b5f604051808303815f87803b158015611bbd575f80fd5b505af1158015611bcf573d5f803e3d5ffd5b50505050565b611bdd612895565b600f55565b5f6001600160a01b038216611c0a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526007602052604090205467ffffffffffffffff1690565b611c37612895565b61177e5f612a70565b611c48612895565b601355565b606060058054610f7490613c0f565b600e545f906001600160a01b03161561149457600e54604051635caaa2a960e11b81523060048201526001600160a01b0390911690639445f53090829063b955455290602401606060405180830381865afa158015611cbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce19190613c47565b60409081015190516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b0385166024820152604401611455565b611d29610ea7565b60145460ff16611d705760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b60448201526064016103f9565b601054611d7b6110d5565b1015611dbf5760405162461bcd60e51b8152602060048201526013602482015272141d589b1a58c81b9bdd081bdc195b881e595d606a1b60448201526064016103f9565b600f5481611dcb6110d5565b611dd59190613ea6565b1115611e185760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016103f9565b601354335f90815260176020526040902054611e35908390613ea6565b1115611e835760405162461bcd60e51b815260206004820152601b60248201527f45786365656473207075626c69632077616c6c6574206c696d6974000000000060448201526064016103f9565b80601154611e919190613bd9565b341015611ed85760405162461bcd60e51b8152602060048201526015602482015274125b9cdd59999a58da595b9d08115512081cd95b9d605a1b60448201526064016103f9565b335f9081526017602052604081208054839290611ef6908490613ea6565b9091555061156690503382612abf565b336001600160a01b03831603611f2f5760405163b06307db60e01b815260040160405180910390fd5b335f8181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b606080600c600d81805480602002602001604051908101604052809291908181526020018280548015611ff457602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311611fd6575b505050505091508080548060200260200160405190810160405280929190818152602001828054801561204457602002820191905f5260205f20905b815481526020019060010190808311612030575b50505050509050915091509091565b61205b612a17565b5f6001600160a01b0382163b156120d4576040516301ffc9a760e01b81525f60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa9250505080156120cc575060408051601f3d908101601f191682019092526120c991810190613cb7565b60015b156120d45790505b6001600160a01b038216158015906120ea575080155b15612108576040516332483afb60e01b815260040160405180910390fd5b600e54604080516001600160a01b03928316815291841660208301527fcc5dc080ff977b3c3a211fa63ab74f90f658f5ba9d3236e92c8f59570f442aac910160405180910390a150600e80546001600160a01b0319166001600160a01b0392909216919091179055565b61217a612895565b601555565b612187612895565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303815f875af11580156121d3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bcf9190613cb7565b612202848484611177565b6001600160a01b0383163b15611bcf5761221e84848484612ad8565b611bcf576040516368d2bf6b60e11b815260040160405180910390fd5b604080516060810182525f8082526020820181905291810191909152600e546001600160a01b0316156122d257600e54604051635caaa2a960e11b81523060048201526001600160a01b039091169063b955455290602401606060405180830381865afa1580156122ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116659190613c47565b50604080516060810182525f808252602082018190529181019190915290565b6122fa612895565b601255565b606061230a82612916565b6123565760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016103f9565b5f6018805461236490613c0f565b90501161237f5760405180602001604052805f815250610f0e565b601861238a83612bc0565b60405160200161239b929190613eb9565b60405160208183030381529060405292915050565b6123b8612895565b600f54816123c46110d5565b6123ce9190613ea6565b11156124115760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016103f9565b610f618282612abf565b600e546060906001600160a01b03161561166a57600e54604051635caaa2a960e11b81523060048201526001600160a01b03909116906317e94a6c90829063b955455290602401606060405180830381865afa15801561247d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124a19190613c47565b60409081015190516001600160e01b031960e084901b1681526001600160781b039091166004820152602401611624565b6124da610ea7565b60145460ff166125215760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b60448201526064016103f9565b6010548361252d6110d5565b6125379190613ea6565b11156125855760405162461bcd60e51b815260206004820152601760248201527f4578636565647320574c20737570706c79206c696d697400000000000000000060448201526064016103f9565b6125d182826125cc336040516bffffffffffffffffffffffff19606083901b1660208201525f90603401604051602081830303815290604052805190602001209050919050565b612c50565b61260f5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b60448201526064016103f9565b601254335f9081526016602052604090205461262c908590613ea6565b111561267a5760405162461bcd60e51b815260206004820152601760248201527f4578636565647320574c2077616c6c6574206c696d697400000000000000000060448201526064016103f9565b826011546126889190613bd9565b3410156126cf5760405162461bcd60e51b8152602060048201526015602482015274125b9cdd59999a58da595b9d08115512081cd95b9d605a1b60448201526064016103f9565b335f90815260166020526040812080548592906126ed908490613ea6565b909155506126fd90503384612abf565b6114dd60018055565b600d8181548110612715575f80fd5b5f91825260209091200154905081565b61272d612895565b6001600160a01b03811661275657604051631e4fbdf760e01b81525f60048201526024016103f9565b61156f81612a70565b612767612895565b601155565b612774612a17565b61277d84612053565b604051630368065360e61b81526001600160a01b0385169063da0194c0906127ab9030908790600401613e67565b5f604051808303815f87803b1580156127c2575f80fd5b505af11580156127d4573d5f803e3d5ffd5b5050604051631182550160e11b81526001600160a01b0387169250632304aa0291506128069030908690600401613e84565b5f604051808303815f87803b15801561281d575f80fd5b505af115801561282f573d5f803e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0387169250638d74431491506118db9030908590600401613e84565b5f6001600160e01b0319821663152a902d60e11b1480610f0e57506301ffc9a760e01b6001600160e01b0319831614610f0e565b5f546001600160a01b0316331461177e5760405163118cdaa760e01b81523360048201526024016103f9565b6128cb8282612c91565b6040516001600160601b03821681526001600160a01b038316907f8a8bae378cb731c5c40b632330c6836c2f916f48edb967699c86736f9a6a76ef9060200160405180910390a25050565b5f81600111158015612929575060025482105b8015610f0e5750505f90815260066020526040902054600160e01b161590565b5f818060011161299a5760025481101561299a575f8181526006602052604081205490600160e01b82169003612998575b805f0361117057505f19015f8181526006602052604090205461297a565b505b604051636f96cda160e11b815260040160405180910390fd5b61156f815f612d33565b600c5415612a0d5760405162461bcd60e51b815260206004820152601a60248201527f526f79616c74792073686172657320616c72656164792073657400000000000060448201526064016103f9565b610f618282612e75565b5f546001600160a01b0316331461177e5760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f742074686520636f6e7472616374206f776e657260448201526064016103f9565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610f61828260405180602001604052805f8152506130f5565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290612b0c903390899088908890600401613f4c565b6020604051808303815f875af1925050508015612b46575060408051601f3d908101601f19168201909252612b4391810190613f88565b60015b612ba2573d808015612b73576040519150601f19603f3d011682016040523d82523d5f602084013e612b78565b606091505b5080515f03612b9a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f612bcc83613160565b60010190505f8167ffffffffffffffff811115612beb57612beb61371e565b6040519080825280601f01601f191660200182016040528015612c15576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084612c1f57509392505050565b5f612bb88484808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250506015549150859050613237565b6127106001600160601b038216811015612cd057604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044016103f9565b6001600160a01b038316612cf957604051635b6cc80560e11b81525f60048201526024016103f9565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b5f612d3d83612949565b9050805f80612d59865f90815260086020526040902080549091565b915091508415612d9957612d6e8184336111ca565b612d9957612d7c8333610dba565b612d9957604051632ce44b5f60e11b815260040160405180910390fd5b8015612da3575f82555b6001600160a01b0383165f81815260076020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b175f87815260066020526040812091909155600160e11b85169003612e2d57600186015f818152600660205260408120549003612e2b576002548114612e2b575f8181526006602052604090208590555b505b60405186905f906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060038054600101905550505050565b8051825114612ebf5760405162461bcd60e51b8152602060048201526016602482015275082e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b60448201526064016103f9565b5f825111612f0f5760405162461bcd60e51b815260206004820152601c60248201527f4e6f20726f79616c74795265636569766572732070726f76696465640000000060448201526064016103f9565b5f805b8351811015613033575f6001600160a01b0316848281518110612f3757612f37613478565b60200260200101516001600160a01b031603612f955760405162461bcd60e51b815260206004820152601860248201527f496e76616c69642072656365697665722061646472657373000000000000000060448201526064016103f9565b5f838281518110612fa857612fa8613478565b602002602001015111612ffd5760405162461bcd60e51b815260206004820152601c60248201527f5368617265206d7573742062652067726561746572207468616e20300000000060448201526064016103f9565b61302983828151811061301257613012613478565b60200260200101518361324c90919063ffffffff16565b9150600101612f12565b50612710811461308f5760405162461bcd60e51b815260206004820152602160248201527f546f74616c20726f79616c7479536861726573206d75737420626520313030306044820152600360fc1b60648201526084016103f9565b82516130a290600c9060208601906133a1565b5081516130b690600d906020850190613404565b507f093643a9a716c713e0c48f9cd3ddcbc463c36fe73c4af8ee4e97d4b00b04e2a483836040516130e89291906139d1565b60405180910390a1505050565b6130ff8383613257565b6001600160a01b0383163b156114dd576002548281035b6131285f868380600101945086612ad8565b613145576040516368d2bf6b60e11b815260040160405180910390fd5b818110613116578160025414613159575f80fd5b5050505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061319e5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106131ca576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106131e857662386f26fc10000830492506010015b6305f5e1008310613200576305f5e100830492506008015b612710831061321457612710830492506004015b60648310613226576064830492506002015b600a8310610f0e5760010192915050565b5f826132438584613333565b14949350505050565b5f610f0b8284613ea6565b6002546001600160a01b03831661328057604051622e076360e81b815260040160405180910390fd5b815f036132a05760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f81815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b17175f82815260066020526040902055808281015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106132e85760025550505050565b5f81815b845181101561336d576133638286838151811061335657613356613478565b6020026020010151613375565b9150600101613337565b509392505050565b5f81831061338f575f828152602084905260409020610f0b565b5f838152602083905260409020610f0b565b828054828255905f5260205f209081019282156133f4579160200282015b828111156133f457825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906133bf565b5061340092915061343d565b5090565b828054828255905f5260205f209081019282156133f4579160200282015b828111156133f4578251825591602001919060010190613422565b5b80821115613400575f815560010161343e565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610f0e57610f0e613451565b634e487b7160e01b5f52603260045260245ffd5b6001600160e01b03198116811461156f575f80fd5b5f602082840312156134b1575f80fd5b81356111708161348c565b801515811461156f575f80fd5b5f602082840312156134d9575f80fd5b8135611170816134bc565b6001600160a01b038116811461156f575f80fd5b5f8060408385031215613509575f80fd5b8235613514816134e4565b915060208301356001600160601b038116811461352f575f80fd5b809150509250929050565b5f5b8381101561355457818101518382015260200161353c565b50505f910152565b5f815180845261357381602086016020860161353a565b601f01601f19169290920160200192915050565b602081525f610f0b602083018461355c565b5f602082840312156135a9575f80fd5b5035919050565b5f80604083850312156135c1575f80fd5b82356135cc816134e4565b946020939093013593505050565b5f805f606084860312156135ec575f80fd5b83356135f7816134e4565b92506020840135613607816134e4565b91506040840135613617816134e4565b809150509250925092565b6007811061363e57634e487b7160e01b5f52602160045260245ffd5b9052565b60208101610f0e8284613622565b5f60208284031215613660575f80fd5b8135611170816134e4565b5f805f6060848603121561367d575f80fd5b8335613688816134e4565b92506020840135613698816134e4565b929592945050506040919091013590565b5f80604083850312156136ba575f80fd5b50508035926020909101359150565b5f815180845260208085019450602084015f5b838110156137015781516001600160a01b0316875295820195908201906001016136dc565b509495945050505050565b602081525f610f0b60208301846136c9565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561375b5761375b61371e565b604052919050565b5f67ffffffffffffffff83111561377c5761377c61371e565b61378f601f8401601f1916602001613732565b90508281528383830111156137a2575f80fd5b828260208301375f602084830101529392505050565b5f602082840312156137c8575f80fd5b813567ffffffffffffffff8111156137de575f80fd5b8201601f810184136137ee575f80fd5b612bb884823560208401613763565b5f67ffffffffffffffff8211156138165761381661371e565b5060051b60200190565b5f82601f83011261382f575f80fd5b8135602061384461383f836137fd565b613732565b8083825260208201915060208460051b870101935086841115613865575f80fd5b602086015b84811015613881578035835291830191830161386a565b509695505050505050565b5f806040838503121561389d575f80fd5b823567ffffffffffffffff808211156138b4575f80fd5b818501915085601f8301126138c7575f80fd5b813560206138d761383f836137fd565b82815260059290921b840181019181810190898411156138f5575f80fd5b948201945b8386101561391c57853561390d816134e4565b825294820194908201906138fa565b96505086013592505080821115613931575f80fd5b5061393e85828601613820565b9150509250929050565b6007811061156f575f80fd5b6001600160781b038116811461156f575f80fd5b5f805f6060848603121561397a575f80fd5b833561398581613948565b9250602084013561399581613954565b9150604084013561361781613954565b5f80604083850312156139b6575f80fd5b82356139c1816134e4565b9150602083013561352f816134bc565b604081525f6139e360408301856136c9565b8281036020848101919091528451808352858201928201905f5b81811015613a19578451835293830193918301916001016139fd565b5090979650505050505050565b5f805f8060808587031215613a39575f80fd5b8435613a44816134e4565b93506020850135613a54816134e4565b925060408501359150606085013567ffffffffffffffff811115613a76575f80fd5b8501601f81018713613a86575f80fd5b613a9587823560208401613763565b91505092959194509250565b5f606082019050613ab3828451613622565b60208301516001600160781b038082166020850152806040860151166040850152505092915050565b5f805f60408486031215613aee575f80fd5b83359250602084013567ffffffffffffffff80821115613b0c575f80fd5b818601915086601f830112613b1f575f80fd5b813581811115613b2d575f80fd5b8760208260051b8501011115613b41575f80fd5b6020830194508093505050509250925092565b5f8060408385031215613b65575f80fd5b8235613b70816134e4565b9150602083013561352f816134e4565b5f805f8060808587031215613b93575f80fd5b8435613b9e816134e4565b93506020850135613bae81613948565b92506040850135613bbe81613954565b91506060850135613bce81613954565b939692955090935050565b8082028115828204841417610f0e57610f0e613451565b5f82613c0a57634e487b7160e01b5f52601260045260245ffd5b500490565b600181811c90821680613c2357607f821691505b602082108103613c4157634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60608284031215613c57575f80fd5b6040516060810181811067ffffffffffffffff82111715613c7a57613c7a61371e565b6040528251613c8881613948565b81526020830151613c9881613954565b60208201526040830151613cab81613954565b60408201529392505050565b5f60208284031215613cc7575f80fd5b8151611170816134bc565b5f6020808385031215613ce3575f80fd5b825167ffffffffffffffff811115613cf9575f80fd5b8301601f81018513613d09575f80fd5b8051613d1761383f826137fd565b81815260059190911b82018301908381019087831115613d35575f80fd5b928401925b82841015613d5c578351613d4d816134e4565b82529284019290840190613d3a565b979650505050505050565b601f8211156114dd57805f5260205f20601f840160051c81016020851015613d8c5750805b601f840160051c820191505b81811015613159575f8155600101613d98565b815167ffffffffffffffff811115613dc557613dc561371e565b613dd981613dd38454613c0f565b84613d67565b602080601f831160018114613e0c575f8415613df55750858301515b5f19600386901b1c1916600185901b17855561130a565b5f85815260208120601f198616915b82811015613e3a57888601518255948401946001909101908401613e1b565b5085821015613e5757878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b0383168152604081016111706020830184613622565b6001600160a01b039290921682526001600160781b0316602082015260400190565b80820180821115610f0e57610f0e613451565b5f808454613ec681613c0f565b60018281168015613ede5760018114613ef357613f1f565b60ff1984168752821515830287019450613f1f565b885f526020805f205f5b85811015613f165781548a820152908401908201613efd565b50505082870194505b505050508351613f3381836020880161353a565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90613f7e9083018461355c565b9695505050505050565b5f60208284031215613f98575f80fd5b81516111708161348c56fea26469706673582212200e9603207f610462f1f98c35d78785f3cb8e84db6cca8f81e40df085d8c2c8c964736f6c63430008180033000000000000000000000000c51c05a9196f8cd4631cb83bd8cd5523a28b8795000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f63727970742e6d7966696c65626173652e636f6d2f697066732f516d6267567269674138756a43314c635673766a59783831314e53556a757253356e5531744e6269433275366f442f000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103ab575f3560e01c80636c0360eb116101e9578063b2118a8d11610108578063d6492d811161009d578063f2fde38b1161006d578063f2fde38b14610e1f578063f4a0a52814610e3e578063fd762d9214610e5d578063ff260b5914610e7c575f80fd5b8063d6492d8114610d8b578063e985e9c514610da0578063eb8d244414610de7578063f152015714610e00575f80fd5b8063c87b56dd116100d8578063c87b56dd14610d26578063cbce4c9714610d45578063d007af5c14610d64578063d0bfb81014610d78575f80fd5b8063b2118a8d14610ca8578063b88d4fde14610cc7578063be537f4314610ce6578063c1612d4114610d07575f80fd5b80639d645a441161017e578063a9fc664e1161014e578063a9fc664e14610c40578063ad3e31b714610c5f578063af2d4f1414610c7e578063b029a51414610c93575f80fd5b80639d645a4414610bcd578063a0712d6814610bec578063a22cb46514610bff578063a596dae314610c1e575f80fd5b8063715018a6116101b9578063715018a614610b6a5780638b533ea414610b7e5780638da5cb5b14610b9d57806395d89b4114610bb9575f80fd5b80636c0360eb14610b045780636c3b869914610b185780636f8b44b014610b2c57806370a0823114610b4b575f80fd5b80632e8da829116102d557806354e5c18c1161026a578063613471621161023a5780636134716214610a925780636352211e14610ab15780636817c76c14610ad05780636b8eed0a14610ae5575f80fd5b806354e5c18c14610a0957806355f804b314610a285780635bb2f69114610a475780635d4c1d4614610a66575f80fd5b806342842e0e116102a557806342842e0e1461099657806342966c68146109b5578063495c8bf9146109d457806350431ce4146109f5575f80fd5b80632e8da8291461092e5780632f2552401461094d57806332cb6b0c146109625780633c768d0e14610977575f80fd5b8063098144d41161034b5780631f8461571161031b5780631f8461571461089157806323b872dd146108bc57806325ee97e3146108db5780632a55205a146108f0575f80fd5b8063098144d41461081257806318160ddd1461082f5780631b25b077146108515780631c33b32814610870575f80fd5b806304634d8d1161038657806304634d8d1461079457806306fdde03146107b3578063081812fc146107d4578063095ea7b3146107f3575f80fd5b8063014635461461070457806301ffc9a71461074657806302c8898914610775575f80fd5b36610700576103b8610ea7565b5f34116104025760405162461bcd60e51b8152602060048201526013602482015272139bc81c185e5b595b9d081c9958d95a5d9959606a1b60448201526064015b60405180910390fd5b604080513381523460208201527f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770910160405180910390a1345f80805b600c5461044e90600190613465565b8110156105af57600d818154811061046857610468613478565b5f91825260209091200154925061048b6127106104853486610f00565b90610f14565b91506104978483610f1f565b93505f600c82815481106104ad576104ad613478565b5f9182526020822001546040516001600160a01b039091169185919081818185875af1925050503d805f81146104fe576040519150601f19603f3d011682016040523d82523d5f602084013e610503565b606091505b50509050806105465760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016103f9565b7fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced174600c838154811061057a5761057a613478565b5f9182526020918290200154604080516001600160a01b0390921682529181018690520160405180910390a15060010161043f565b505f831180156105c05750600c5415155b156106f257600c80545f91906105d890600190613465565b815481106105e8576105e8613478565b5f9182526020822001546040516001600160a01b039091169186919081818185875af1925050503d805f8114610639576040519150601f19603f3d011682016040523d82523d5f602084013e61063e565b606091505b50509050806106815760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016103f9565b600c80547fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced17491906106b490600190613465565b815481106106c4576106c4613478565b5f9182526020918290200154604080516001600160a01b0390921682529181018790520160405180910390a1505b5050506106fe60018055565b005b5f80fd5b34801561070f575f80fd5b5061072971721c310194ccfc01e523fc93c9cccfa2a0ac81565b6040516001600160a01b0390911681526020015b60405180910390f35b348015610751575f80fd5b506107656107603660046134a1565b610f2a565b604051901515815260200161073d565b348015610780575f80fd5b506106fe61078f3660046134c9565b610f34565b34801561079f575f80fd5b506106fe6107ae3660046134f8565b610f4f565b3480156107be575f80fd5b506107c7610f65565b60405161073d9190613587565b3480156107df575f80fd5b506107296107ee366004613599565b610ff5565b3480156107fe575f80fd5b506106fe61080d3660046135b0565b611037565b34801561081d575f80fd5b50600e546001600160a01b0316610729565b34801561083a575f80fd5b506108436110d5565b60405190815260200161073d565b34801561085c575f80fd5b5061076561086b3660046135da565b6110e2565b34801561087b575f80fd5b50610884600181565b60405161073d9190613642565b34801561089c575f80fd5b506108436108ab366004613650565b60176020525f908152604090205481565b3480156108c7575f80fd5b506106fe6108d636600461366b565b611177565b3480156108e6575f80fd5b5061084360125481565b3480156108fb575f80fd5b5061090f61090a3660046136a9565b611312565b604080516001600160a01b03909316835260208301919091520161073d565b348015610939575f80fd5b50610765610948366004613650565b611395565b348015610958575f80fd5b5061084361271081565b34801561096d575f80fd5b50610843600f5481565b348015610982575f80fd5b50610729610991366004613599565b61149b565b3480156109a1575f80fd5b506106fe6109b036600461366b565b6114c3565b3480156109c0575f80fd5b506106fe6109cf366004613599565b6114e2565b3480156109df575f80fd5b506109e8611572565b60405161073d919061370c565b348015610a00575f80fd5b506106fe61167c565b348015610a14575f80fd5b506106fe610a23366004613599565b611780565b348015610a33575f80fd5b506106fe610a423660046137b8565b61178d565b348015610a52575f80fd5b506106fe610a6136600461388c565b6117a1565b348015610a71575f80fd5b50610a7a600181565b6040516001600160781b03909116815260200161073d565b348015610a9d575f80fd5b506106fe610aac366004613968565b6117b3565b348015610abc575f80fd5b50610729610acb366004613599565b61190e565b348015610adb575f80fd5b5061084360115481565b348015610af0575f80fd5b506106fe610aff366004613650565b611918565b348015610b0f575f80fd5b506107c7611a5a565b348015610b23575f80fd5b506106fe611ae6565b348015610b37575f80fd5b506106fe610b46366004613599565b611bd5565b348015610b56575f80fd5b50610843610b65366004613650565b611be2565b348015610b75575f80fd5b506106fe611c2f565b348015610b89575f80fd5b506106fe610b98366004613599565b611c40565b348015610ba8575f80fd5b505f546001600160a01b0316610729565b348015610bc4575f80fd5b506107c7611c4d565b348015610bd8575f80fd5b50610765610be7366004613650565b611c5c565b6106fe610bfa366004613599565b611d21565b348015610c0a575f80fd5b506106fe610c193660046139a5565b611f06565b348015610c29575f80fd5b50610c32611f9a565b60405161073d9291906139d1565b348015610c4b575f80fd5b506106fe610c5a366004613650565b612053565b348015610c6a575f80fd5b506106fe610c79366004613599565b612172565b348015610c89575f80fd5b5061084360105481565b348015610c9e575f80fd5b5061084360135481565b348015610cb3575f80fd5b506106fe610cc236600461366b565b61217f565b348015610cd2575f80fd5b506106fe610ce1366004613a26565b6121f7565b348015610cf1575f80fd5b50610cfa61223b565b60405161073d9190613aa1565b348015610d12575f80fd5b506106fe610d21366004613599565b6122f2565b348015610d31575f80fd5b506107c7610d40366004613599565b6122ff565b348015610d50575f80fd5b506106fe610d5f3660046135b0565b6123b0565b348015610d6f575f80fd5b506109e861241b565b6106fe610d86366004613adc565b6124d2565b348015610d96575f80fd5b5061084360155481565b348015610dab575f80fd5b50610765610dba366004613b54565b6001600160a01b039182165f90815260096020908152604080832093909416825291909152205460ff1690565b348015610df2575f80fd5b506014546107659060ff1681565b348015610e0b575f80fd5b50610843610e1a366004613599565b612706565b348015610e2a575f80fd5b506106fe610e39366004613650565b612725565b348015610e49575f80fd5b506106fe610e58366004613599565b61275f565b348015610e68575f80fd5b506106fe610e77366004613b80565b61276c565b348015610e87575f80fd5b50610843610e96366004613650565b60166020525f908152604090205481565b600260015403610ef95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103f9565b6002600155565b5f610f0b8284613bd9565b90505b92915050565b5f610f0b8284613bf0565b5f610f0b8284613465565b5f610f0e82612861565b610f3c612895565b6014805460ff1916911515919091179055565b610f57612895565b610f6182826128c1565b5050565b606060048054610f7490613c0f565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa090613c0f565b8015610feb5780601f10610fc257610100808354040283529160200191610feb565b820191905f5260205f20905b815481529060010190602001808311610fce57829003601f168201915b5050505050905090565b5f610fff82612916565b61101c576040516333d1c03960e21b815260040160405180910390fd5b505f908152600860205260409020546001600160a01b031690565b5f6110418261190e565b9050336001600160a01b0382161461107a5761105d8133610dba565b61107a576040516367d9dca160e11b815260040160405180910390fd5b5f8281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600354600254035f190190565b600e545f906001600160a01b03161561116c57600e5460405163050bf71960e31b81526001600160a01b038681166004830152858116602483015284811660448301529091169063285fb8c8906064015f6040518083038186803b158015611148575f80fd5b505afa925050508015611159575060015b61116457505f611170565b506001611170565b5060015b9392505050565b5f61118182612949565b9050836001600160a01b0316816001600160a01b0316146111b45760405162a1148160e81b815260040160405180910390fd5b5f82815260086020526040902080546111df8187335b6001600160a01b039081169116811491141790565b61120a576111ed8633610dba565b61120a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661123157604051633a954ecd60e21b815260040160405180910390fd5b801561123b575f82555b6001600160a01b038681165f9081526007602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260066020526040812091909155600160e11b841690036112c857600184015f8181526006602052604081205490036112c65760025481146112c6575f8181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f828152600b6020526040812080548291906001600160a01b03811690600160a01b90046001600160601b031681611365575050600a546001600160a01b03811690600160a01b90046001600160601b03165b5f61271061137c6001600160601b03841689613bd9565b6113869190613bf0565b92989297509195505050505050565b600e545f906001600160a01b03161561149457600e54604051635caaa2a960e11b81523060048201526001600160a01b039091169063d72dde5e90829063b955455290602401606060405180830381865afa1580156113f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141a9190613c47565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b03851660248201526044015b602060405180830381865afa158015611470573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f0e9190613cb7565b505f919050565b600c81815481106114aa575f80fd5b5f918252602090912001546001600160a01b0316905081565b6114dd83838360405180602001604052805f8152506121f7565b505050565b6114ea610ea7565b5f546001600160a01b031633148061151b57506115068161190e565b6001600160a01b0316336001600160a01b0316145b61155d5760405162461bcd60e51b81526020600482015260136024820152722737ba1030b63637bbb2b2103a3790313ab93760691b60448201526064016103f9565b611566816129b3565b61156f60018055565b50565b600e546060906001600160a01b03161561166a57600e54604051635caaa2a960e11b81523060048201526001600160a01b0390911690633fe5df9990829063b955455290602401606060405180830381865afa1580156115d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f89190613c47565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526024015b5f60405180830381865afa15801561163e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116659190810190613cd2565b905090565b50604080515f81526020810190915290565b611684612895565b61168c610ea7565b47806116da5760405162461bcd60e51b815260206004820152601b60248201527f4e6f206e617469766520746f6b656e20746f207769746864726177000000000060448201526064016103f9565b5f80546040516001600160a01b039091169083908381818185875af1925050503d805f8114611724576040519150601f19603f3d011682016040523d82523d5f602084013e611729565b606091505b50509050806117735760405162461bcd60e51b815260206004820152601660248201527513985d1a5d99481dda5d1a191c985dc819985a5b195960521b60448201526064016103f9565b505061177e60018055565b565b611788612895565b601055565b611795612895565b6018610f618282613dab565b6117a9612895565b610f6182826129bd565b6117bb612a17565b5f6117ce600e546001600160a01b031690565b90506001600160a01b0381166117f757604051631cffe3dd60e11b815260040160405180910390fd5b604051630368065360e61b81526001600160a01b0382169063da0194c0906118259030908890600401613e67565b5f604051808303815f87803b15801561183c575f80fd5b505af115801561184e573d5f803e3d5ffd5b5050604051631182550160e11b81526001600160a01b0384169250632304aa0291506118809030908790600401613e84565b5f604051808303815f87803b158015611897575f80fd5b505af11580156118a9573d5f803e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0384169250638d74431491506118db9030908690600401613e84565b5f604051808303815f87803b1580156118f2575f80fd5b505af1158015611904573d5f803e3d5ffd5b5050505050505050565b5f610f0e82612949565b611920610ea7565b6001600160a01b03811661196f5760405162461bcd60e51b815260206004820152601660248201527513995dc81859191c995cdcc81a5cc81a5b9d985b1a5960521b60448201526064016103f9565b5f805b600c54811015611a0257336001600160a01b0316600c828154811061199957611999613478565b5f918252602090912001546001600160a01b0316036119fa5782600c82815481106119c6576119c6613478565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060019150611a02565b600101611972565b5080611a505760405162461bcd60e51b815260206004820152601a60248201527f52656365697665722061646472657373206e6f7420666f756e6400000000000060448201526064016103f9565b5061156f60018055565b60188054611a6790613c0f565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9390613c0f565b8015611ade5780601f10611ab557610100808354040283529160200191611ade565b820191905f5260205f20905b815481529060010190602001808311611ac157829003601f168201915b505050505081565b611aee612a17565b611b0971721c310194ccfc01e523fc93c9cccfa2a0ac612053565b604051630368065360e61b815271721c310194ccfc01e523fc93c9cccfa2a0ac9063da0194c090611b41903090600190600401613e67565b5f604051808303815f87803b158015611b58575f80fd5b505af1158015611b6a573d5f803e3d5ffd5b5050604051631182550160e11b815271721c310194ccfc01e523fc93c9cccfa2a0ac9250632304aa029150611ba6903090600190600401613e84565b5f604051808303815f87803b158015611bbd575f80fd5b505af1158015611bcf573d5f803e3d5ffd5b50505050565b611bdd612895565b600f55565b5f6001600160a01b038216611c0a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526007602052604090205467ffffffffffffffff1690565b611c37612895565b61177e5f612a70565b611c48612895565b601355565b606060058054610f7490613c0f565b600e545f906001600160a01b03161561149457600e54604051635caaa2a960e11b81523060048201526001600160a01b0390911690639445f53090829063b955455290602401606060405180830381865afa158015611cbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce19190613c47565b60409081015190516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b0385166024820152604401611455565b611d29610ea7565b60145460ff16611d705760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b60448201526064016103f9565b601054611d7b6110d5565b1015611dbf5760405162461bcd60e51b8152602060048201526013602482015272141d589b1a58c81b9bdd081bdc195b881e595d606a1b60448201526064016103f9565b600f5481611dcb6110d5565b611dd59190613ea6565b1115611e185760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016103f9565b601354335f90815260176020526040902054611e35908390613ea6565b1115611e835760405162461bcd60e51b815260206004820152601b60248201527f45786365656473207075626c69632077616c6c6574206c696d6974000000000060448201526064016103f9565b80601154611e919190613bd9565b341015611ed85760405162461bcd60e51b8152602060048201526015602482015274125b9cdd59999a58da595b9d08115512081cd95b9d605a1b60448201526064016103f9565b335f9081526017602052604081208054839290611ef6908490613ea6565b9091555061156690503382612abf565b336001600160a01b03831603611f2f5760405163b06307db60e01b815260040160405180910390fd5b335f8181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b606080600c600d81805480602002602001604051908101604052809291908181526020018280548015611ff457602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311611fd6575b505050505091508080548060200260200160405190810160405280929190818152602001828054801561204457602002820191905f5260205f20905b815481526020019060010190808311612030575b50505050509050915091509091565b61205b612a17565b5f6001600160a01b0382163b156120d4576040516301ffc9a760e01b81525f60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa9250505080156120cc575060408051601f3d908101601f191682019092526120c991810190613cb7565b60015b156120d45790505b6001600160a01b038216158015906120ea575080155b15612108576040516332483afb60e01b815260040160405180910390fd5b600e54604080516001600160a01b03928316815291841660208301527fcc5dc080ff977b3c3a211fa63ab74f90f658f5ba9d3236e92c8f59570f442aac910160405180910390a150600e80546001600160a01b0319166001600160a01b0392909216919091179055565b61217a612895565b601555565b612187612895565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303815f875af11580156121d3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bcf9190613cb7565b612202848484611177565b6001600160a01b0383163b15611bcf5761221e84848484612ad8565b611bcf576040516368d2bf6b60e11b815260040160405180910390fd5b604080516060810182525f8082526020820181905291810191909152600e546001600160a01b0316156122d257600e54604051635caaa2a960e11b81523060048201526001600160a01b039091169063b955455290602401606060405180830381865afa1580156122ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116659190613c47565b50604080516060810182525f808252602082018190529181019190915290565b6122fa612895565b601255565b606061230a82612916565b6123565760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016103f9565b5f6018805461236490613c0f565b90501161237f5760405180602001604052805f815250610f0e565b601861238a83612bc0565b60405160200161239b929190613eb9565b60405160208183030381529060405292915050565b6123b8612895565b600f54816123c46110d5565b6123ce9190613ea6565b11156124115760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016103f9565b610f618282612abf565b600e546060906001600160a01b03161561166a57600e54604051635caaa2a960e11b81523060048201526001600160a01b03909116906317e94a6c90829063b955455290602401606060405180830381865afa15801561247d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124a19190613c47565b60409081015190516001600160e01b031960e084901b1681526001600160781b039091166004820152602401611624565b6124da610ea7565b60145460ff166125215760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b60448201526064016103f9565b6010548361252d6110d5565b6125379190613ea6565b11156125855760405162461bcd60e51b815260206004820152601760248201527f4578636565647320574c20737570706c79206c696d697400000000000000000060448201526064016103f9565b6125d182826125cc336040516bffffffffffffffffffffffff19606083901b1660208201525f90603401604051602081830303815290604052805190602001209050919050565b612c50565b61260f5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b60448201526064016103f9565b601254335f9081526016602052604090205461262c908590613ea6565b111561267a5760405162461bcd60e51b815260206004820152601760248201527f4578636565647320574c2077616c6c6574206c696d697400000000000000000060448201526064016103f9565b826011546126889190613bd9565b3410156126cf5760405162461bcd60e51b8152602060048201526015602482015274125b9cdd59999a58da595b9d08115512081cd95b9d605a1b60448201526064016103f9565b335f90815260166020526040812080548592906126ed908490613ea6565b909155506126fd90503384612abf565b6114dd60018055565b600d8181548110612715575f80fd5b5f91825260209091200154905081565b61272d612895565b6001600160a01b03811661275657604051631e4fbdf760e01b81525f60048201526024016103f9565b61156f81612a70565b612767612895565b601155565b612774612a17565b61277d84612053565b604051630368065360e61b81526001600160a01b0385169063da0194c0906127ab9030908790600401613e67565b5f604051808303815f87803b1580156127c2575f80fd5b505af11580156127d4573d5f803e3d5ffd5b5050604051631182550160e11b81526001600160a01b0387169250632304aa0291506128069030908690600401613e84565b5f604051808303815f87803b15801561281d575f80fd5b505af115801561282f573d5f803e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0387169250638d74431491506118db9030908590600401613e84565b5f6001600160e01b0319821663152a902d60e11b1480610f0e57506301ffc9a760e01b6001600160e01b0319831614610f0e565b5f546001600160a01b0316331461177e5760405163118cdaa760e01b81523360048201526024016103f9565b6128cb8282612c91565b6040516001600160601b03821681526001600160a01b038316907f8a8bae378cb731c5c40b632330c6836c2f916f48edb967699c86736f9a6a76ef9060200160405180910390a25050565b5f81600111158015612929575060025482105b8015610f0e5750505f90815260066020526040902054600160e01b161590565b5f818060011161299a5760025481101561299a575f8181526006602052604081205490600160e01b82169003612998575b805f0361117057505f19015f8181526006602052604090205461297a565b505b604051636f96cda160e11b815260040160405180910390fd5b61156f815f612d33565b600c5415612a0d5760405162461bcd60e51b815260206004820152601a60248201527f526f79616c74792073686172657320616c72656164792073657400000000000060448201526064016103f9565b610f618282612e75565b5f546001600160a01b0316331461177e5760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f742074686520636f6e7472616374206f776e657260448201526064016103f9565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610f61828260405180602001604052805f8152506130f5565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290612b0c903390899088908890600401613f4c565b6020604051808303815f875af1925050508015612b46575060408051601f3d908101601f19168201909252612b4391810190613f88565b60015b612ba2573d808015612b73576040519150601f19603f3d011682016040523d82523d5f602084013e612b78565b606091505b5080515f03612b9a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f612bcc83613160565b60010190505f8167ffffffffffffffff811115612beb57612beb61371e565b6040519080825280601f01601f191660200182016040528015612c15576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084612c1f57509392505050565b5f612bb88484808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250506015549150859050613237565b6127106001600160601b038216811015612cd057604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044016103f9565b6001600160a01b038316612cf957604051635b6cc80560e11b81525f60048201526024016103f9565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b5f612d3d83612949565b9050805f80612d59865f90815260086020526040902080549091565b915091508415612d9957612d6e8184336111ca565b612d9957612d7c8333610dba565b612d9957604051632ce44b5f60e11b815260040160405180910390fd5b8015612da3575f82555b6001600160a01b0383165f81815260076020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b175f87815260066020526040812091909155600160e11b85169003612e2d57600186015f818152600660205260408120549003612e2b576002548114612e2b575f8181526006602052604090208590555b505b60405186905f906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060038054600101905550505050565b8051825114612ebf5760405162461bcd60e51b8152602060048201526016602482015275082e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b60448201526064016103f9565b5f825111612f0f5760405162461bcd60e51b815260206004820152601c60248201527f4e6f20726f79616c74795265636569766572732070726f76696465640000000060448201526064016103f9565b5f805b8351811015613033575f6001600160a01b0316848281518110612f3757612f37613478565b60200260200101516001600160a01b031603612f955760405162461bcd60e51b815260206004820152601860248201527f496e76616c69642072656365697665722061646472657373000000000000000060448201526064016103f9565b5f838281518110612fa857612fa8613478565b602002602001015111612ffd5760405162461bcd60e51b815260206004820152601c60248201527f5368617265206d7573742062652067726561746572207468616e20300000000060448201526064016103f9565b61302983828151811061301257613012613478565b60200260200101518361324c90919063ffffffff16565b9150600101612f12565b50612710811461308f5760405162461bcd60e51b815260206004820152602160248201527f546f74616c20726f79616c7479536861726573206d75737420626520313030306044820152600360fc1b60648201526084016103f9565b82516130a290600c9060208601906133a1565b5081516130b690600d906020850190613404565b507f093643a9a716c713e0c48f9cd3ddcbc463c36fe73c4af8ee4e97d4b00b04e2a483836040516130e89291906139d1565b60405180910390a1505050565b6130ff8383613257565b6001600160a01b0383163b156114dd576002548281035b6131285f868380600101945086612ad8565b613145576040516368d2bf6b60e11b815260040160405180910390fd5b818110613116578160025414613159575f80fd5b5050505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061319e5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106131ca576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106131e857662386f26fc10000830492506010015b6305f5e1008310613200576305f5e100830492506008015b612710831061321457612710830492506004015b60648310613226576064830492506002015b600a8310610f0e5760010192915050565b5f826132438584613333565b14949350505050565b5f610f0b8284613ea6565b6002546001600160a01b03831661328057604051622e076360e81b815260040160405180910390fd5b815f036132a05760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f81815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b17175f82815260066020526040902055808281015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106132e85760025550505050565b5f81815b845181101561336d576133638286838151811061335657613356613478565b6020026020010151613375565b9150600101613337565b509392505050565b5f81831061338f575f828152602084905260409020610f0b565b5f838152602083905260409020610f0b565b828054828255905f5260205f209081019282156133f4579160200282015b828111156133f457825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906133bf565b5061340092915061343d565b5090565b828054828255905f5260205f209081019282156133f4579160200282015b828111156133f4578251825591602001919060010190613422565b5b80821115613400575f815560010161343e565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610f0e57610f0e613451565b634e487b7160e01b5f52603260045260245ffd5b6001600160e01b03198116811461156f575f80fd5b5f602082840312156134b1575f80fd5b81356111708161348c565b801515811461156f575f80fd5b5f602082840312156134d9575f80fd5b8135611170816134bc565b6001600160a01b038116811461156f575f80fd5b5f8060408385031215613509575f80fd5b8235613514816134e4565b915060208301356001600160601b038116811461352f575f80fd5b809150509250929050565b5f5b8381101561355457818101518382015260200161353c565b50505f910152565b5f815180845261357381602086016020860161353a565b601f01601f19169290920160200192915050565b602081525f610f0b602083018461355c565b5f602082840312156135a9575f80fd5b5035919050565b5f80604083850312156135c1575f80fd5b82356135cc816134e4565b946020939093013593505050565b5f805f606084860312156135ec575f80fd5b83356135f7816134e4565b92506020840135613607816134e4565b91506040840135613617816134e4565b809150509250925092565b6007811061363e57634e487b7160e01b5f52602160045260245ffd5b9052565b60208101610f0e8284613622565b5f60208284031215613660575f80fd5b8135611170816134e4565b5f805f6060848603121561367d575f80fd5b8335613688816134e4565b92506020840135613698816134e4565b929592945050506040919091013590565b5f80604083850312156136ba575f80fd5b50508035926020909101359150565b5f815180845260208085019450602084015f5b838110156137015781516001600160a01b0316875295820195908201906001016136dc565b509495945050505050565b602081525f610f0b60208301846136c9565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561375b5761375b61371e565b604052919050565b5f67ffffffffffffffff83111561377c5761377c61371e565b61378f601f8401601f1916602001613732565b90508281528383830111156137a2575f80fd5b828260208301375f602084830101529392505050565b5f602082840312156137c8575f80fd5b813567ffffffffffffffff8111156137de575f80fd5b8201601f810184136137ee575f80fd5b612bb884823560208401613763565b5f67ffffffffffffffff8211156138165761381661371e565b5060051b60200190565b5f82601f83011261382f575f80fd5b8135602061384461383f836137fd565b613732565b8083825260208201915060208460051b870101935086841115613865575f80fd5b602086015b84811015613881578035835291830191830161386a565b509695505050505050565b5f806040838503121561389d575f80fd5b823567ffffffffffffffff808211156138b4575f80fd5b818501915085601f8301126138c7575f80fd5b813560206138d761383f836137fd565b82815260059290921b840181019181810190898411156138f5575f80fd5b948201945b8386101561391c57853561390d816134e4565b825294820194908201906138fa565b96505086013592505080821115613931575f80fd5b5061393e85828601613820565b9150509250929050565b6007811061156f575f80fd5b6001600160781b038116811461156f575f80fd5b5f805f6060848603121561397a575f80fd5b833561398581613948565b9250602084013561399581613954565b9150604084013561361781613954565b5f80604083850312156139b6575f80fd5b82356139c1816134e4565b9150602083013561352f816134bc565b604081525f6139e360408301856136c9565b8281036020848101919091528451808352858201928201905f5b81811015613a19578451835293830193918301916001016139fd565b5090979650505050505050565b5f805f8060808587031215613a39575f80fd5b8435613a44816134e4565b93506020850135613a54816134e4565b925060408501359150606085013567ffffffffffffffff811115613a76575f80fd5b8501601f81018713613a86575f80fd5b613a9587823560208401613763565b91505092959194509250565b5f606082019050613ab3828451613622565b60208301516001600160781b038082166020850152806040860151166040850152505092915050565b5f805f60408486031215613aee575f80fd5b83359250602084013567ffffffffffffffff80821115613b0c575f80fd5b818601915086601f830112613b1f575f80fd5b813581811115613b2d575f80fd5b8760208260051b8501011115613b41575f80fd5b6020830194508093505050509250925092565b5f8060408385031215613b65575f80fd5b8235613b70816134e4565b9150602083013561352f816134e4565b5f805f8060808587031215613b93575f80fd5b8435613b9e816134e4565b93506020850135613bae81613948565b92506040850135613bbe81613954565b91506060850135613bce81613954565b939692955090935050565b8082028115828204841417610f0e57610f0e613451565b5f82613c0a57634e487b7160e01b5f52601260045260245ffd5b500490565b600181811c90821680613c2357607f821691505b602082108103613c4157634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60608284031215613c57575f80fd5b6040516060810181811067ffffffffffffffff82111715613c7a57613c7a61371e565b6040528251613c8881613948565b81526020830151613c9881613954565b60208201526040830151613cab81613954565b60408201529392505050565b5f60208284031215613cc7575f80fd5b8151611170816134bc565b5f6020808385031215613ce3575f80fd5b825167ffffffffffffffff811115613cf9575f80fd5b8301601f81018513613d09575f80fd5b8051613d1761383f826137fd565b81815260059190911b82018301908381019087831115613d35575f80fd5b928401925b82841015613d5c578351613d4d816134e4565b82529284019290840190613d3a565b979650505050505050565b601f8211156114dd57805f5260205f20601f840160051c81016020851015613d8c5750805b601f840160051c820191505b81811015613159575f8155600101613d98565b815167ffffffffffffffff811115613dc557613dc561371e565b613dd981613dd38454613c0f565b84613d67565b602080601f831160018114613e0c575f8415613df55750858301515b5f19600386901b1c1916600185901b17855561130a565b5f85815260208120601f198616915b82811015613e3a57888601518255948401946001909101908401613e1b565b5085821015613e5757878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b0383168152604081016111706020830184613622565b6001600160a01b039290921682526001600160781b0316602082015260400190565b80820180821115610f0e57610f0e613451565b5f808454613ec681613c0f565b60018281168015613ede5760018114613ef357613f1f565b60ff1984168752821515830287019450613f1f565b885f526020805f205f5b85811015613f165781548a820152908401908201613efd565b50505082870194505b505050508351613f3381836020880161353a565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90613f7e9083018461355c565b9695505050505050565b5f60208284031215613f98575f80fd5b81516111708161348c56fea26469706673582212200e9603207f610462f1f98c35d78785f3cb8e84db6cca8f81e40df085d8c2c8c964736f6c63430008180033

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

000000000000000000000000c51c05a9196f8cd4631cb83bd8cd5523a28b8795000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f63727970742e6d7966696c65626173652e636f6d2f697066732f516d6267567269674138756a43314c635673766a59783831314e53556a757253356e5531744e6269433275366f442f000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _initialOwner (address): 0xC51c05A9196F8Cd4631cb83bd8cD5523a28b8795
Arg [1] : _baseUri (string): https://crypt.myfilebase.com/ipfs/QmbgVrigA8ujC1LcVsvjYx811NSUjurS5nU1tNbiC2u6oD/
Arg [2] : _royaltyFeeNumerator (uint96): 500

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000c51c05a9196f8cd4631cb83bd8cd5523a28b8795
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [4] : 68747470733a2f2f63727970742e6d7966696c65626173652e636f6d2f697066
Arg [5] : 732f516d6267567269674138756a43314c635673766a59783831314e53556a75
Arg [6] : 7253356e5531744e6269433275366f442f000000000000000000000000000000


Deployed Bytecode Sourcemap

126174:10196:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6435:21;:19;:21::i;:::-;104258:1:::1;104246:9;:13;104238:45;;;::::0;-1:-1:-1;;;104238:45:0;;216:2:1;104238:45:0::1;::::0;::::1;198:21:1::0;255:2;235:18;;;228:30;-1:-1:-1;;;274:18:1;;;267:49;333:18;;104238:45:0::1;;;;;;;;;104299:38;::::0;;104315:10:::1;536:51:1::0;;104327:9:0::1;618:2:1::0;603:18;;596:34;104299:38:0::1;::::0;509:18:1;104299:38:0::1;;;;;;;104370:9;104350:17;::::0;;104502:485:::1;104526:16;:23:::0;:27:::1;::::0;104552:1:::1;::::0;104526:27:::1;:::i;:::-;104522:1;:31;104502:485;;;104583:13;104597:1;104583:16;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;104691:46:0::1;102617:5;104691:20;:9;104583:16:::0;104691:13:::1;:20::i;:::-;:24:::0;::::1;:46::i;:::-;104682:55:::0;-1:-1:-1;104764:21:0::1;:9:::0;104682:55;104764:13:::1;:21::i;:::-;104752:33;;104803:12;104821:16;104838:1;104821:19;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;:43:::1;::::0;-1:-1:-1;;;;;104821:19:0;;::::1;::::0;104853:6;;104821:43;;:19;:43;104853:6;104821:19;:43:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104802:62;;;104887:7;104879:35;;;::::0;-1:-1:-1;;;104879:35:0;;1450:2:1;104879:35:0::1;::::0;::::1;1432:21:1::0;1489:2;1469:18;;;1462:30;-1:-1:-1;;;1508:18:1;;;1501:45;1563:18;;104879:35:0::1;1248:339:1::0;104879:35:0::1;104934:41;104947:16;104964:1;104947:19;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;::::0;104934:41:::1;::::0;;-1:-1:-1;;;;;104947:19:0;;::::1;536:51:1::0;;603:18;;;596:34;;;509:18;104934:41:0::1;;;;;;;-1:-1:-1::0;104555:3:0::1;;104502:485;;;;105090:1;105078:9;:13;:44;;;;-1:-1:-1::0;105095:16:0::1;:23:::0;:27;;105078:44:::1;105074:375;;;105158:16;105175:23:::0;;105140:12:::1;::::0;105158:16;105175:27:::1;::::0;105201:1:::1;::::0;105175:27:::1;:::i;:::-;105158:45;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;:90:::1;::::0;-1:-1:-1;;;;;105158:45:0;;::::1;::::0;105234:9;;105158:90;;:45;:90;105234:9;105158:45;:90:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105139:109;;;105271:7;105263:35;;;::::0;-1:-1:-1;;;105263:35:0;;1450:2:1;105263:35:0::1;::::0;::::1;1432:21:1::0;1489:2;1469:18;;;1462:30;-1:-1:-1;;;1508:18:1;;;1501:45;1563:18;;105263:35:0::1;1248:339:1::0;105263:35:0::1;105349:16;105366:23:::0;;105318:119:::1;::::0;105349:16;105366:27:::1;::::0;105392:1:::1;::::0;105366:27:::1;:::i;:::-;105349:45;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;::::0;105318:119:::1;::::0;;-1:-1:-1;;;;;105349:45:0;;::::1;536:51:1::0;;603:18;;;596:34;;;509:18;105318:119:0::1;;;;;;;105124:325;105074:375;104227:1229;;;6479:20:::0;5873:1;6999:22;;6816:213;6479:20;126174:10196;;;;;116342:104;;;;;;;;;;;;116403:42;116342:104;;;;;-1:-1:-1;;;;;1756:32:1;;;1738:51;;1726:2;1711:18;116342:104:0;;;;;;;;135172:221;;;;;;;;;;-1:-1:-1;135172:221:0;;;;;:::i;:::-;;:::i;:::-;;;2351:14:1;;2344:22;2326:41;;2314:2;2299:18;135172:221:0;2186:187:1;132113:97:0;;;;;;;;;;-1:-1:-1;132113:97:0;;;;;:::i;:::-;;:::i;134051:146::-;;;;;;;;;;-1:-1:-1;134051:146:0;;;;;:::i;:::-;;:::i;62613:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;64565:204::-;;;;;;;;;;-1:-1:-1;64565:204:0;;;;;:::i;:::-;;:::i;64107:392::-;;;;;;;;;;-1:-1:-1;64107:392:0;;;;;:::i;:::-;;:::i;120868:137::-;;;;;;;;;;-1:-1:-1;120980:17:0;;-1:-1:-1;;;;;120980:17:0;120868:137;;55957:315;;;;;;;;;;;;;:::i;:::-;;;4977:25:1;;;4965:2;4950:18;55957:315:0;4831:177:1;124652:387:0;;;;;;;;;;-1:-1:-1;124652:387:0;;;;;:::i;:::-;;:::i;116453:99::-;;;;;;;;;;;;116526:26;116453:99;;;;;;;;;:::i;127451:47::-;;;;;;;;;;-1:-1:-1;127451:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;73834:2800;;;;;;;;;;-1:-1:-1;73834:2800:0;;;;;:::i;:::-;;:::i;126866:34::-;;;;;;;;;;;;;;;;90386:673;;;;;;;;;;-1:-1:-1;90386:673:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;554:32:1;;;536:51;;618:2;603:18;;596:34;;;;509:18;90386:673:0;362:274:1;122997:357:0;;;;;;;;;;-1:-1:-1;122997:357:0;;;;;:::i;:::-;;:::i;102570:52::-;;;;;;;;;;;;102617:5;102570:52;;126567:32;;;;;;;;;;;;;;;;102689:33;;;;;;;;;;-1:-1:-1;102689:33:0;;;;;:::i;:::-;;:::i;65459:185::-;;;;;;;;;;-1:-1:-1;65459:185:0;;;;;:::i;:::-;;:::i;131636:221::-;;;;;;;;;;-1:-1:-1;131636:221:0;;;;;:::i;:::-;;:::i;121884:358::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;133560:302::-;;;;;;;;;;;;;:::i;132640:116::-;;;;;;;;;;-1:-1:-1;132640:116:0;;;;;:::i;:::-;;:::i;133197:100::-;;;;;;;;;;-1:-1:-1;133197:100:0;;;;;:::i;:::-;;:::i;134205:196::-;;;;;;;;;;-1:-1:-1;134205:196:0;;;;;:::i;:::-;;:::i;116559:66::-;;;;;;;;;;;;116623:1;116559:66;;;;;-1:-1:-1;;;;;11400:45:1;;;11382:64;;11370:2;11355:18;116559:66:0;11236:216:1;118608:727:0;;;;;;;;;;-1:-1:-1;118608:727:0;;;;;:::i;:::-;;:::i;62402:144::-;;;;;;;;;;-1:-1:-1;62402:144:0;;;;;:::i;:::-;;:::i;126823:34::-;;;;;;;;;;;;;;;;105885:496;;;;;;;;;;-1:-1:-1;105885:496:0;;;;;:::i;:::-;;:::i;127687:21::-;;;;;;;;;;;;;:::i;116999:464::-;;;;;;;;;;;;;:::i;132814:97::-;;;;;;;;;;-1:-1:-1;132814:97:0;;;;;:::i;:::-;;:::i;57645:224::-;;;;;;;;;;-1:-1:-1;57645:224:0;;;;;:::i;:::-;;:::i;3254:103::-;;;;;;;;;;;;;:::i;132996:114::-;;;;;;;;;;-1:-1:-1;132996:114:0;;;;;:::i;:::-;;:::i;2579:87::-;;;;;;;;;;-1:-1:-1;2625:7:0;2652:6;-1:-1:-1;;;;;2652:6:0;2579:87;;62782:104;;;;;;;;;;;;;:::i;123526:378::-;;;;;;;;;;-1:-1:-1;123526:378:0;;;;;:::i;:::-;;:::i;130236:720::-;;;;;;:::i;:::-;;:::i;64841:306::-;;;;;;;;;;-1:-1:-1;64841:306:0;;;;;:::i;:::-;;:::i;105556:178::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;119935:818::-;;;;;;;;;;-1:-1:-1;119935:818:0;;;;;:::i;:::-;;:::i;135954:110::-;;;;;;;;;;-1:-1:-1;135954:110:0;;;;;:::i;:::-;;:::i;126694:42::-;;;;;;;;;;;;;;;;126907:37;;;;;;;;;;;;;;;;133359:127;;;;;;;;;;-1:-1:-1;133359:127:0;;;;;:::i;:::-;;:::i;65715:399::-;;;;;;;;;;-1:-1:-1;65715:399:0;;;;;:::i;:::-;;:::i;121222:455::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;132464:106::-;;;;;;;;;;-1:-1:-1;132464:106:0;;;;;:::i;:::-;;:::i;134589:377::-;;;;;;;;;;-1:-1:-1;134589:377:0;;;;;:::i;:::-;;:::i;131256:185::-;;;;;;;;;;-1:-1:-1;131256:185:0;;;;;:::i;:::-;;:::i;122452:379::-;;;;;;;;;;;;;:::i;129051:809::-;;;;;;:::i;:::-;;:::i;127293:27::-;;;;;;;;;;;;;;;;65224:164;;;;;;;;;;-1:-1:-1;65224:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;65345:25:0;;;65321:4;65345:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;65224:164;127022:24;;;;;;;;;;-1:-1:-1;127022:24:0;;;;;;;;102729:30;;;;;;;;;;-1:-1:-1;102729:30:0;;;;;:::i;:::-;;:::i;3512:220::-;;;;;;;;;;-1:-1:-1;3512:220:0;;;;;:::i;:::-;;:::i;132283:100::-;;;;;;;;;;-1:-1:-1;132283:100:0;;;;;:::i;:::-;;:::i;117666:749::-;;;;;;;;;;-1:-1:-1;117666:749:0;;;;;:::i;:::-;;:::i;127401:43::-;;;;;;;;;;-1:-1:-1;127401:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;6515:293;5917:1;6649:7;;:19;6641:63;;;;-1:-1:-1;;;6641:63:0;;17699:2:1;6641:63:0;;;17681:21:1;17738:2;17718:18;;;17711:30;17777:33;17757:18;;;17750:61;17828:18;;6641:63:0;17497:355:1;6641:63:0;5917:1;6782:7;:18;6515:293::o;98667:98::-;98725:7;98752:5;98756:1;98752;:5;:::i;:::-;98745:12;;98667:98;;;;;:::o;99066:::-;99124:7;99151:5;99155:1;99151;:5;:::i;98310:98::-;98368:7;98395:5;98399:1;98395;:5;:::i;135172:221::-;135320:4;135349:36;135373:11;135349:23;:36::i;132113:97::-;2465:13;:11;:13::i;:::-;132181:12:::1;:21:::0;;-1:-1:-1;;132181:21:0::1;::::0;::::1;;::::0;;;::::1;::::0;;132113:97::o;134051:146::-;2465:13;:11;:13::i;:::-;134147:42:::1;134166:8;134176:12;134147:18;:42::i;:::-;134051:146:::0;;:::o;62613:100::-;62667:13;62700:5;62693:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62613:100;:::o;64565:204::-;64633:7;64658:16;64666:7;64658;:16::i;:::-;64653:64;;64683:34;;-1:-1:-1;;;64683:34:0;;;;;;;;;;;64653:64;-1:-1:-1;64737:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;64737:24:0;;64565:204::o;64107:392::-;64188:13;64204:16;64212:7;64204;:16::i;:::-;64188:32;-1:-1:-1;85017:10:0;-1:-1:-1;;;;;64235:28:0;;;64231:175;;64283:44;64300:5;85017:10;65224:164;:::i;64283:44::-;64278:128;;64355:35;;-1:-1:-1;;;64355:35:0;;;;;;;;;;;64278:128;64418:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;64418:29:0;-1:-1:-1;;;;;64418:29:0;;;;;;;;;64463:28;;64418:24;;64463:28;;;;;;;64177:322;64107:392;;:::o;55957:315::-;56223:12;;56207:13;;:28;-1:-1:-1;;56207:46:0;;55957:315::o;124652:387::-;124780:17;;124751:4;;-1:-1:-1;;;;;124780:17:0;124772:40;124768:242;;124833:17;;:65;;-1:-1:-1;;;124833:65:0;;-1:-1:-1;;;;;19027:15:1;;;124833:65:0;;;19009:34:1;19079:15;;;19059:18;;;19052:43;19131:15;;;19111:18;;;19104:43;124833:17:0;;;;:47;;18944:18:1;;124833:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;124829:170;;-1:-1:-1;124978:5:0;124971:12;;124829:170;-1:-1:-1;124925:4:0;124918:11;;124829:170;-1:-1:-1;125027:4:0;124652:387;;;;;;:::o;73834:2800::-;73968:27;73998;74017:7;73998:18;:27::i;:::-;73968:57;;74083:4;-1:-1:-1;;;;;74042:45:0;74058:19;-1:-1:-1;;;;;74042:45:0;;74038:86;;74096:28;;-1:-1:-1;;;74096:28:0;;;;;;;;;;;74038:86;74138:27;72564:21;;;72391:15;72606:4;72599:36;72688:4;72672:21;;72778:26;;74322:62;72778:26;74358:4;85017:10;74364:19;-1:-1:-1;;;;;73383:31:0;;;73229:26;;73510:19;;73531:30;;73507:55;;72935:645;74322:62;74317:174;;74404:43;74421:4;85017:10;65224:164;:::i;74404:43::-;74399:92;;74456:35;;-1:-1:-1;;;74456:35:0;;;;;;;;;;;74399:92;-1:-1:-1;;;;;74508:16:0;;74504:52;;74533:23;;-1:-1:-1;;;74533:23:0;;;;;;;;;;;74504:52;74705:15;74702:160;;;74845:1;74824:19;74817:30;74702:160;-1:-1:-1;;;;;75240:24:0;;;;;;;:18;:24;;;;;;75238:26;;-1:-1:-1;;75238:26:0;;;75309:22;;;;;;;;;75307:24;;-1:-1:-1;75307:24:0;;;62301:11;62277:22;62273:40;62260:62;-1:-1:-1;;;62260:62:0;75602:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;75896:46:0;;:51;;75892:626;;76000:1;75990:11;;75968:19;76123:30;;;:17;:30;;;;;;:35;;76119:384;;76261:13;;76246:11;:28;76242:242;;76408:30;;;;:17;:30;;;;;:52;;;76242:242;75949:569;75892:626;76565:7;76561:2;-1:-1:-1;;;;;76546:27:0;76555:4;-1:-1:-1;;;;;76546:27:0;;;;;;;;;;;76584:42;73957:2677;;;73834:2800;;;:::o;90386:673::-;90497:16;90577:26;;;:17;:26;;;;;90640:21;;90497:16;;90577:26;-1:-1:-1;;;;;90640:21:0;;;-1:-1:-1;;;90697:28:0;;-1:-1:-1;;;;;90697:28:0;90640:21;90738:176;;-1:-1:-1;;90806:19:0;:28;-1:-1:-1;;;;;90806:28:0;;;-1:-1:-1;;;90867:35:0;;-1:-1:-1;;;;;90867:35:0;90738:176;90926:21;91425:5;90951:27;-1:-1:-1;;;;;90951:27:0;;:9;:27;:::i;:::-;90950:49;;;;:::i;:::-;91020:15;;;;-1:-1:-1;90386:673:0;;-1:-1:-1;;;;;;90386:673:0:o;122997:357::-;123105:17;;123076:4;;-1:-1:-1;;;;;123105:17:0;123097:40;123093:229;;123161:17;;123219:60;;-1:-1:-1;;;123219:60:0;;123273:4;123219:60;;;1738:51:1;-1:-1:-1;;;;;123161:17:0;;;;:39;;:17;;123219:45;;1711:18:1;;123219:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:80;;;123161:149;;-1:-1:-1;;;;;;123161:149:0;;;;;;;-1:-1:-1;;;;;20165:45:1;;;123161:149:0;;;20147:64:1;-1:-1:-1;;;;;20247:32:1;;20227:18;;;20220:60;20120:18;;123161:149:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;123093:229::-;-1:-1:-1;123341:5:0;;122997:357;-1:-1:-1;122997:357:0:o;102689:33::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;102689:33:0;;-1:-1:-1;102689:33:0;:::o;65459:185::-;65597:39;65614:4;65620:2;65624:7;65597:39;;;;;;;;;;;;:16;:39::i;:::-;65459:185;;;:::o;131636:221::-;6435:21;:19;:21::i;:::-;2625:7;2652:6;-1:-1:-1;;;;;2652:6:0;131722:10:::1;:21;::::0;:55:::1;;;131761:16;131769:7;131761;:16::i;:::-;-1:-1:-1::0;;;;;131747:30:0::1;:10;-1:-1:-1::0;;;;;131747:30:0::1;;131722:55;131700:124;;;::::0;-1:-1:-1;;;131700:124:0;;20743:2:1;131700:124:0::1;::::0;::::1;20725:21:1::0;20782:2;20762:18;;;20755:30;-1:-1:-1;;;20801:18:1;;;20794:49;20860:18;;131700:124:0::1;20541:343:1::0;131700:124:0::1;131835:14;131841:7;131835:5;:14::i;:::-;6479:20:::0;5873:1;6999:22;;6816:213;6479:20;131636:221;:::o;121884:358::-;121990:17;;121949:16;;-1:-1:-1;;;;;121990:17:0;121982:40;121978:221;;122046:17;;122106:60;;-1:-1:-1;;;122106:60:0;;122160:4;122106:60;;;1738:51:1;-1:-1:-1;;;;;122046:17:0;;;;:41;;:17;;122106:45;;1711:18:1;;122106:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:80;;;122046:141;;-1:-1:-1;;;;;;122046:141:0;;;;;;;-1:-1:-1;;;;;11400:45:1;;;122046:141:0;;;11382:64:1;11355:18;;122046:141:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;122046:141:0;;;;;;;;;;;;:::i;:::-;122039:148;;121884:358;:::o;121978:221::-;-1:-1:-1;122218:16:0;;;122232:1;122218:16;;;;;;;;;121884:358::o;133560:302::-;2465:13;:11;:13::i;:::-;6435:21:::1;:19;:21::i;:::-;133647::::2;133687:11:::0;133679:51:::2;;;::::0;-1:-1:-1;;;133679:51:0;;22052:2:1;133679:51:0::2;::::0;::::2;22034:21:1::0;22091:2;22071:18;;;22064:30;22130:29;22110:18;;;22103:57;22177:18;;133679:51:0::2;21850:351:1::0;133679:51:0::2;133742:12;2652:6:::0;;133760:41:::2;::::0;-1:-1:-1;;;;;2652:6:0;;;;133789:7;;133742:12;133760:41;133742:12;133760:41;133789:7;2652:6;133760:41:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;133741:60;;;133820:7;133812:42;;;::::0;-1:-1:-1;;;133812:42:0;;22408:2:1;133812:42:0::2;::::0;::::2;22390:21:1::0;22447:2;22427:18;;;22420:30;-1:-1:-1;;;22466:18:1;;;22459:52;22528:18;;133812:42:0::2;22206:346:1::0;133812:42:0::2;133618:244;;6479:20:::1;5873:1:::0;6999:22;;6816:213;6479:20:::1;133560:302::o:0;132640:116::-;2465:13;:11;:13::i;:::-;132718:20:::1;:30:::0;132640:116::o;133197:100::-;2465:13;:11;:13::i;:::-;133271:7:::1;:18;133281:8:::0;133271:7;:18:::1;:::i;134205:196::-:0;2465:13;:11;:13::i;:::-;134348:45:::1;134373:10;134385:7;134348:24;:45::i;118608:727::-:0;118797:31;:29;:31::i;:::-;118841:40;118884:22;120980:17;;-1:-1:-1;;;;;120980:17:0;;120868:137;118884:22;118841:65;-1:-1:-1;;;;;;118921:32:0;;118917:117;;118977:45;;-1:-1:-1;;;118977:45:0;;;;;;;;;;;118917:117;119046:68;;-1:-1:-1;;;119046:68:0;;-1:-1:-1;;;;;119046:46:0;;;;;:68;;119101:4;;119108:5;;119046:68;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;119125:78:0;;-1:-1:-1;;;119125:78:0;;-1:-1:-1;;;;;119125:42:0;;;-1:-1:-1;119125:42:0;;-1:-1:-1;119125:78:0;;119176:4;;119183:19;;119125:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;119214:113:0;;-1:-1:-1;;;119214:113:0;;-1:-1:-1;;;;;119214:59:0;;;-1:-1:-1;119214:59:0;;-1:-1:-1;119214:113:0;;119282:4;;119289:37;;119214:113;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;118786:549;118608:727;;;:::o;62402:144::-;62466:7;62509:27;62528:7;62509:18;:27::i;105885:496::-;6435:21;:19;:21::i;:::-;-1:-1:-1;;;;;105977:24:0;::::1;105969:59;;;::::0;-1:-1:-1;;;105969:59:0;;25583:2:1;105969:59:0::1;::::0;::::1;25565:21:1::0;25622:2;25602:18;;;25595:30;-1:-1:-1;;;25641:18:1;;;25634:52;25703:18;;105969:59:0::1;25381:346:1::0;105969:59:0::1;106041:12;106077:9:::0;106072:243:::1;106096:16;:23:::0;106092:27;::::1;106072:243;;;106168:10;-1:-1:-1::0;;;;;106145:33:0::1;:16;106162:1;106145:19;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;106145:19:0::1;:33:::0;106141:163:::1;;106221:10;106199:16;106216:1;106199:19;;;;;;;;:::i;:::-;;;;;;;;;:32;;;;;-1:-1:-1::0;;;;;106199:32:0::1;;;;;-1:-1:-1::0;;;;;106199:32:0::1;;;;;;106260:4;106250:14;;106283:5;;106141:163;106121:3;;106072:243;;;;106335:7;106327:46;;;::::0;-1:-1:-1;;;106327:46:0;;25934:2:1;106327:46:0::1;::::0;::::1;25916:21:1::0;25973:2;25953:18;;;25946:30;26012:28;25992:18;;;25985:56;26058:18;;106327:46:0::1;25732:350:1::0;106327:46:0::1;105958:423;6479:20:::0;5873:1;6999:22;;6816:213;127687:21;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;116999:464::-;117063:31;:29;:31::i;:::-;117105:48;116403:42;117105:20;:48::i;:::-;117164:143;;-1:-1:-1;;;117164:143:0;;116403:42;;117164:95;;:143;;117268:4;;116526:26;;117164:143;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;117318:137:0;;-1:-1:-1;;;117318:137:0;;116403:42;;-1:-1:-1;117318:91:0;;-1:-1:-1;117318:137:0;;117418:4;;116623:1;;117318:137;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;116999:464::o;132814:97::-;2465:13;:11;:13::i;:::-;132883:10:::1;:20:::0;132814:97::o;57645:224::-;57709:7;-1:-1:-1;;;;;57733:19:0;;57729:60;;57761:28;;-1:-1:-1;;;57761:28:0;;;;;;;;;;;57729:60;-1:-1:-1;;;;;;57807:25:0;;;;;:18;:25;;;;;;52137:13;57807:54;;57645:224::o;3254:103::-;2465:13;:11;:13::i;:::-;3319:30:::1;3346:1;3319:18;:30::i;132996:114::-:0;2465:13;:11;:13::i;:::-;133074:18:::1;:28:::0;132996:114::o;62782:104::-;62838:13;62871:7;62864:14;;;;;:::i;123526:378::-;123640:17;;123611:4;;-1:-1:-1;;;;;123640:17:0;123632:40;123628:244;;123696:17;;123760:60;;-1:-1:-1;;;123760:60:0;;123814:4;123760:60;;;1738:51:1;-1:-1:-1;;;;;123696:17:0;;;;:45;;:17;;123760:45;;1711:18:1;;123760:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:89;;;;;123696:164;;-1:-1:-1;;;;;;123696:164:0;;;;;;;-1:-1:-1;;;;;20165:45:1;;;123696:164:0;;;20147:64:1;-1:-1:-1;;;;;20247:32:1;;20227:18;;;20220:60;20120:18;;123696:164:0;19973:313:1;130236:720:0;6435:21;:19;:21::i;:::-;130317:12:::1;::::0;::::1;;130309:43;;;::::0;-1:-1:-1;;;130309:43:0;;26289:2:1;130309:43:0::1;::::0;::::1;26271:21:1::0;26328:2;26308:18;;;26301:30;-1:-1:-1;;;26347:18:1;;;26340:48;26405:18;;130309:43:0::1;26087:342:1::0;130309:43:0::1;130439:20;;130422:13;:11;:13::i;:::-;:37;;130414:69;;;::::0;-1:-1:-1;;;130414:69:0;;26636:2:1;130414:69:0::1;::::0;::::1;26618:21:1::0;26675:2;26655:18;;;26648:30;-1:-1:-1;;;26694:18:1;;;26687:49;26753:18;;130414:69:0::1;26434:343:1::0;130414:69:0::1;130530:10;;130518:8;130502:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;130494:69;;;::::0;-1:-1:-1;;;130494:69:0;;27114:2:1;130494:69:0::1;::::0;::::1;27096:21:1::0;27153:2;27133:18;;;27126:30;-1:-1:-1;;;27172:18:1;;;27165:48;27230:18;;130494:69:0::1;26912:342:1::0;130494:69:0::1;130666:18;::::0;130640:10:::1;130627:24;::::0;;;:12:::1;:24;::::0;;;;;:35:::1;::::0;130654:8;;130627:35:::1;:::i;:::-;:57;;130619:97;;;::::0;-1:-1:-1;;;130619:97:0;;27461:2:1;130619:97:0::1;::::0;::::1;27443:21:1::0;27500:2;27480:18;;;27473:30;27539:29;27519:18;;;27512:57;27586:18;;130619:97:0::1;27259:351:1::0;130619:97:0::1;130788:8;130776:9;;:20;;;;:::i;:::-;130763:9;:33;;130755:67;;;::::0;-1:-1:-1;;;130755:67:0;;27817:2:1;130755:67:0::1;::::0;::::1;27799:21:1::0;27856:2;27836:18;;;27829:30;-1:-1:-1;;;27875:18:1;;;27868:51;27936:18;;130755:67:0::1;27615:345:1::0;130755:67:0::1;130881:10;130868:24;::::0;;;:12:::1;:24;::::0;;;;:36;;130896:8;;130868:24;:36:::1;::::0;130896:8;;130868:36:::1;:::i;:::-;::::0;;;-1:-1:-1;130917:31:0::1;::::0;-1:-1:-1;130927:10:0::1;130939:8:::0;130917:9:::1;:31::i;64841:306::-:0;85017:10;-1:-1:-1;;;;;64940:31:0;;;64936:61;;64980:17;;-1:-1:-1;;;64980:17:0;;;;;;;;;;;64936:61;85017:10;65008:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;65008:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;65008:60:0;;;;;;;;;;65084:55;;2326:41:1;;;65008:49:0;;85017:10;65084:55;;2299:18:1;65084:55:0;;;;;;;64841:306;;:::o;105556:178::-;105634:16;105652;105694;105712:13;105686:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;105686:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105556:178;;:::o;119935:818::-;120011:31;:29;:31::i;:::-;120055:29;-1:-1:-1;;;;;120108:30:0;;;:34;120105:304;;120163:95;;-1:-1:-1;;;120163:95:0;;120209:48;120163:95;;;28109:52:1;-1:-1:-1;;;;;120163:45:0;;;;;28082:18:1;;120163:95:0;;;;;;;;;;;;;;;;;;-1:-1:-1;120163:95:0;;;;;;;;-1:-1:-1;;120163:95:0;;;;;;;;;;;;:::i;:::-;;;120159:239;;;120356:17;-1:-1:-1;120159:239:0;-1:-1:-1;;;;;120424:32:0;;;;;;:61;;;120461:24;120460:25;120424:61;120421:152;;;120509:52;;-1:-1:-1;;;120509:52:0;;;;;;;;;;;120421:152;120623:17;;120590:72;;;-1:-1:-1;;;;;120623:17:0;;;28384:34:1;;28454:15;;;28449:2;28434:18;;28427:43;120590:72:0;;28319:18:1;120590:72:0;;;;;;;-1:-1:-1;120675:17:0;:70;;-1:-1:-1;;;;;;120675:70:0;-1:-1:-1;;;;;120675:70:0;;;;;;;;;;119935:818::o;135954:110::-;2465:13;:11;:13::i;:::-;136030:12:::1;:26:::0;135954:110::o;133359:127::-;2465:13;:11;:13::i;:::-;133452:26:::1;::::0;-1:-1:-1;;;133452:26:0;;-1:-1:-1;;;;;554:32:1;;;133452:26:0::1;::::0;::::1;536:51:1::0;603:18;;;596:34;;;133452:14:0;::::1;::::0;::::1;::::0;509:18:1;;133452:26:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;65715:399::-:0;65882:31;65895:4;65901:2;65905:7;65882:12;:31::i;:::-;-1:-1:-1;;;;;65928:14:0;;;:19;65924:183;;65967:56;65998:4;66004:2;66008:7;66017:5;65967:30;:56::i;:::-;65962:145;;66051:40;;-1:-1:-1;;;66051:40:0;;;;;;;;;;;121222:455;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;121337:17:0;;-1:-1:-1;;;;;121337:17:0;121329:40;121325:140;;121393:17;;:60;;-1:-1:-1;;;121393:60:0;;121447:4;121393:60;;;1738:51:1;-1:-1:-1;;;;;121393:17:0;;;;:45;;1711:18:1;;121393:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;121325:140::-;-1:-1:-1;121484:185:0;;;;;;;;-1:-1:-1;121484:185:0;;;;;;;;;;;;;;;;;121222:455::o;132464:106::-;2465:13;:11;:13::i;:::-;132538:14:::1;:24:::0;132464:106::o;134589:377::-;134707:13;134746:16;134754:7;134746;:16::i;:::-;134738:60;;;;-1:-1:-1;;;134738:60:0;;28683:2:1;134738:60:0;;;28665:21:1;28722:2;28702:18;;;28695:30;28761:33;28741:18;;;28734:61;28812:18;;134738:60:0;28481:355:1;134738:60:0;134853:1;134835:7;134829:21;;;;;:::i;:::-;;;:25;:129;;;;;;;;;;;;;;;;;134898:7;134907:18;:7;:16;:18::i;:::-;134881:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;134809:149;134589:377;-1:-1:-1;;134589:377:0:o;131256:185::-;2465:13;:11;:13::i;:::-;131366:10:::1;;131354:8;131338:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;131330:69;;;::::0;-1:-1:-1;;;131330:69:0;;27114:2:1;131330:69:0::1;::::0;::::1;27096:21:1::0;27153:2;27133:18;;;27126:30;-1:-1:-1;;;27172:18:1;;;27165:48;27230:18;;131330:69:0::1;26912:342:1::0;131330:69:0::1;131410:23;131420:2;131424:8;131410:9;:23::i;122452:379::-:0;122564:17;;122523:16;;-1:-1:-1;;;;;122564:17:0;122556:40;122552:236;;122620:17;;122686:60;;-1:-1:-1;;;122686:60:0;;122740:4;122686:60;;;1738:51:1;-1:-1:-1;;;;;122620:17:0;;;;:47;;:17;;122686:45;;1711:18:1;;122686:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:89;;;;;122620:156;;-1:-1:-1;;;;;;122620:156:0;;;;;;;-1:-1:-1;;;;;11400:45:1;;;122620:156:0;;;11382:64:1;11355:18;;122620:156:0;11236:216:1;129051:809:0;6435:21;:19;:21::i;:::-;129192:12:::1;::::0;::::1;;129184:43;;;::::0;-1:-1:-1;;;129184:43:0;;26289:2:1;129184:43:0::1;::::0;::::1;26271:21:1::0;26328:2;26308:18;;;26301:30;-1:-1:-1;;;26347:18:1;;;26340:48;26405:18;;129184:43:0::1;26087:342:1::0;129184:43:0::1;129325:20;;129313:8;129297:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:48;;129289:84;;;::::0;-1:-1:-1;;;129289:84:0;;30236:2:1;129289:84:0::1;::::0;::::1;30218:21:1::0;30275:2;30255:18;;;30248:30;30314:25;30294:18;;;30287:53;30357:18;;129289:84:0::1;30034:347:1::0;129289:84:0::1;129428:35;129438:5;;129445:17;129451:10;136164:25:::0;;-1:-1:-1;;32908:2:1;32904:15;;;32900:53;136164:25:0;;;32888:66:1;136127:7:0;;32970:12:1;;136164:25:0;;;;;;;;;;;;136154:36;;;;;;136147:43;;136072:126;;;;129445:17:::1;129428:9;:35::i;:::-;129420:63;;;::::0;-1:-1:-1;;;129420:63:0;;30588:2:1;129420:63:0::1;::::0;::::1;30570:21:1::0;30627:2;30607:18;;;30600:30;-1:-1:-1;;;30646:18:1;;;30639:45;30701:18;;129420:63:0::1;30386:339:1::0;129420:63:0::1;129580:14;::::0;129554:10:::1;129545:20;::::0;;;:8:::1;:20;::::0;;;;;:31:::1;::::0;129568:8;;129545:31:::1;:::i;:::-;:49;;129537:85;;;::::0;-1:-1:-1;;;129537:85:0;;30932:2:1;129537:85:0::1;::::0;::::1;30914:21:1::0;30971:2;30951:18;;;30944:30;31010:25;30990:18;;;30983:53;31053:18;;129537:85:0::1;30730:347:1::0;129537:85:0::1;129694:8;129682:9;;:20;;;;:::i;:::-;129669:9;:33;;129661:67;;;::::0;-1:-1:-1;;;129661:67:0;;27817:2:1;129661:67:0::1;::::0;::::1;27799:21:1::0;27856:2;27836:18;;;27829:30;-1:-1:-1;;;27875:18:1;;;27868:51;27936:18;;129661:67:0::1;27615:345:1::0;129661:67:0::1;129785:10;129776:20;::::0;;;:8:::1;:20;::::0;;;;:32;;129800:8;;129776:20;:32:::1;::::0;129800:8;;129776:32:::1;:::i;:::-;::::0;;;-1:-1:-1;129821:31:0::1;::::0;-1:-1:-1;129831:10:0::1;129843:8:::0;129821:9:::1;:31::i;:::-;6479:20:::0;5873:1;6999:22;;6816:213;102729:30;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;102729:30:0;:::o;3512:220::-;2465:13;:11;:13::i;:::-;-1:-1:-1;;;;;3597:22:0;::::1;3593:93;;3643:31;::::0;-1:-1:-1;;;3643:31:0;;3671:1:::1;3643:31;::::0;::::1;1738:51:1::0;1711:18;;3643:31:0::1;1592:203:1::0;3593:93:0::1;3696:28;3715:8;3696:18;:28::i;132283:100::-:0;2465:13;:11;:13::i;:::-;132354:9:::1;:21:::0;132283:100::o;117666:749::-;117896:31;:29;:31::i;:::-;117940;117961:9;117940:20;:31::i;:::-;117984:114;;-1:-1:-1;;;117984:114:0;;-1:-1:-1;;;;;117984:92:0;;;;;:114;;118085:4;;118092:5;;117984:114;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;118111:124:0;;-1:-1:-1;;;118111:124:0;;-1:-1:-1;;;;;118111:88:0;;;-1:-1:-1;118111:88:0;;-1:-1:-1;118111:124:0;;118208:4;;118215:19;;118111:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;118248:159:0;;-1:-1:-1;;;118248:159:0;;-1:-1:-1;;;;;118248:105:0;;;-1:-1:-1;118248:105:0;;-1:-1:-1;118248:159:0;;118362:4;;118369:37;;118248:159;;;:::i;90116:215::-;90218:4;-1:-1:-1;;;;;;90242:41:0;;-1:-1:-1;;;90242:41:0;;:81;;-1:-1:-1;;;;;;;;;;87988:40:0;;;90287:36;87888:148;2744:166;2625:7;2652:6;-1:-1:-1;;;;;2652:6:0;85017:10;2804:23;2800:103;;2851:40;;-1:-1:-1;;;2851:40:0;;85017:10;2851:40;;;1738:51:1;1711:18;;2851:40:0;1592:203:1;94015:217:0;94119:48;94144:8;94154:12;94119:24;:48::i;:::-;94183:41;;-1:-1:-1;;;;;31244:39:1;;31226:58;;-1:-1:-1;;;;;94183:41:0;;;;;31214:2:1;31199:18;94183:41:0;;;;;;;94015:217;;:::o;66369:273::-;66426:4;66482:7;55564:1;66463:26;;:66;;;;;66516:13;;66506:7;:23;66463:66;:152;;;;-1:-1:-1;;66567:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;66567:43:0;:48;;66369:273::o;59319:1129::-;59386:7;59421;;55564:1;59470:23;59466:915;;59523:13;;59516:4;:20;59512:869;;;59561:14;59578:23;;;:17;:23;;;;;;;-1:-1:-1;;;59667:23:0;;:28;;59663:699;;60186:113;60193:6;60203:1;60193:11;60186:113;;-1:-1:-1;;;60264:6:0;60246:25;;;;:17;:25;;;;;;60186:113;;59663:699;59538:843;59512:869;60409:31;;-1:-1:-1;;;60409:31:0;;;;;;;;;;;76712:89;76772:21;76778:7;76787:5;76772;:21::i;103827:261::-;103969:16;:23;:28;103961:67;;;;-1:-1:-1;;;103961:67:0;;31497:2:1;103961:67:0;;;31479:21:1;31536:2;31516:18;;;31509:30;31575:28;31555:18;;;31548:56;31621:18;;103961:67:0;31295:350:1;103961:67:0;104039:41;104060:10;104072:7;104039:20;:41::i;135603:149::-;2625:7;2652:6;-1:-1:-1;;;;;2652:6:0;135686:10;:21;135678:66;;;;-1:-1:-1;;;135678:66:0;;31852:2:1;135678:66:0;;;31834:21:1;;;31871:18;;;31864:30;31930:34;31910:18;;;31903:62;31982:18;;135678:66:0;31650:356:1;3892:191:0;3966:16;3985:6;;-1:-1:-1;;;;;4002:17:0;;;-1:-1:-1;;;;;;4002:17:0;;;;;;4035:40;;3985:6;;;;;;;4035:40;;3966:16;4035:40;3955:128;3892:191;:::o;66726:104::-;66795:27;66805:2;66809:8;66795:27;;;;;;;;;;;;:9;:27::i;80585:716::-;80769:88;;-1:-1:-1;;;80769:88:0;;80748:4;;-1:-1:-1;;;;;80769:45:0;;;;;:88;;85017:10;;80836:4;;80842:7;;80851:5;;80769:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80769:88:0;;;;;;;;-1:-1:-1;;80769:88:0;;;;;;;;;;;;:::i;:::-;;;80765:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81052:6;:13;81069:1;81052:18;81048:235;;81098:40;;-1:-1:-1;;;81098:40:0;;;;;;;;;;;81048:235;81241:6;81235:13;81226:6;81222:2;81218:15;81211:38;80765:529;-1:-1:-1;;;;;;80928:64:0;-1:-1:-1;;;80928:64:0;;-1:-1:-1;80765:529:0;80585:716;;;;;;:::o;24825:718::-;24881:13;24932:14;24949:17;24960:5;24949:10;:17::i;:::-;24969:1;24949:21;24932:38;;24985:20;25019:6;25008:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25008:18:0;-1:-1:-1;24985:41:0;-1:-1:-1;25150:28:0;;;25166:2;25150:28;25207:290;-1:-1:-1;;25239:5:0;-1:-1:-1;;;25376:2:0;25365:14;;25360:32;25239:5;25347:46;25439:2;25430:11;;;-1:-1:-1;25460:21:0;25207:290;25460:21;-1:-1:-1;25518:6:0;24825:718;-1:-1:-1;;;24825:718:0:o;136206:161::-;136289:4;136313:46;136332:5;;136313:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;136339:12:0;;;-1:-1:-1;136353:5:0;;-1:-1:-1;136313:18:0;:46::i;91709:518::-;91425:5;-1:-1:-1;;;;;91858:26:0;;;-1:-1:-1;91854:176:0;;;91963:55;;-1:-1:-1;;;91963:55:0;;-1:-1:-1;;;;;33184:39:1;;91963:55:0;;;33166:58:1;33240:18;;;33233:34;;;33139:18;;91963:55:0;32993:280:1;91854:176:0;-1:-1:-1;;;;;92044:22:0;;92040:110;;92090:48;;-1:-1:-1;;;92090:48:0;;92135:1;92090:48;;;1738:51:1;1711:18;;92090:48:0;1592:203:1;92040:110:0;-1:-1:-1;92184:35:0;;;;;;;;;-1:-1:-1;;;;;92184:35:0;;;;;;-1:-1:-1;;;;;92184:35:0;;;;;;;;;;-1:-1:-1;;;92162:57:0;;;;:19;:57;91709:518::o;77030:3063::-;77110:27;77140;77159:7;77140:18;:27::i;:::-;77110:57;-1:-1:-1;77110:57:0;77180:12;;77302:28;77322:7;72265:27;72564:21;;;72391:15;72606:4;72599:36;72688:4;72672:21;;72778:26;;72672:21;;72170:652;77302:28;77245:85;;;;77347:13;77343:310;;;77468:62;77487:15;77504:4;85017:10;77510:19;84930:105;77468:62;77463:178;;77554:43;77571:4;85017:10;65224:164;:::i;77554:43::-;77549:92;;77606:35;;-1:-1:-1;;;77606:35:0;;;;;;;;;;;77549:92;77809:15;77806:160;;;77949:1;77928:19;77921:30;77806:160;-1:-1:-1;;;;;78567:24:0;;;;;;:18;:24;;;;;:59;;78595:31;78567:59;;;62301:11;62277:22;62273:40;62260:62;-1:-1:-1;;;62260:62:0;78864:26;;;;:17;:26;;;;;:203;;;;-1:-1:-1;;;79187:46:0;;:51;;79183:626;;79291:1;79281:11;;79259:19;79414:30;;;:17;:30;;;;;;:35;;79410:384;;79552:13;;79537:11;:28;79533:242;;79699:30;;;;:17;:30;;;;;:52;;;79533:242;79240:569;79183:626;79837:35;;79864:7;;79860:1;;-1:-1:-1;;;;;79837:35:0;;;;;79860:1;;79837:35;-1:-1:-1;;80060:12:0;:14;;;;;;-1:-1:-1;;;;77030:3063:0:o;102858:858::-;103017:7;:14;102996:10;:17;:35;102988:70;;;;-1:-1:-1;;;102988:70:0;;33480:2:1;102988:70:0;;;33462:21:1;33519:2;33499:18;;;33492:30;-1:-1:-1;;;33538:18:1;;;33531:52;33600:18;;102988:70:0;33278:346:1;102988:70:0;103097:1;103077:10;:17;:21;103069:62;;;;-1:-1:-1;;;103069:62:0;;33831:2:1;103069:62:0;;;33813:21:1;33870:2;33850:18;;;33843:30;33909;33889:18;;;33882:58;33957:18;;103069:62:0;33629:352:1;103069:62:0;103144:20;;103175:267;103199:10;:17;103195:1;:21;103175:267;;;103271:1;-1:-1:-1;;;;;103246:27:0;:10;103257:1;103246:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;103246:27:0;;103238:64;;;;-1:-1:-1;;;103238:64:0;;34188:2:1;103238:64:0;;;34170:21:1;34227:2;34207:18;;;34200:30;34266:26;34246:18;;;34239:54;34310:18;;103238:64:0;33986:348:1;103238:64:0;103338:1;103325:7;103333:1;103325:10;;;;;;;;:::i;:::-;;;;;;;:14;103317:55;;;;-1:-1:-1;;;103317:55:0;;34541:2:1;103317:55:0;;;34523:21:1;34580:2;34560:18;;;34553:30;34619;34599:18;;;34592:58;34667:18;;103317:55:0;34339:352:1;103317:55:0;103402:28;103419:7;103427:1;103419:10;;;;;;;;:::i;:::-;;;;;;;103402:12;:16;;:28;;;;:::i;:::-;103387:43;-1:-1:-1;103218:3:0;;103175:267;;;;102617:5;103476:12;:36;103454:119;;;;-1:-1:-1;;;103454:119:0;;34898:2:1;103454:119:0;;;34880:21:1;34937:2;34917:18;;;34910:30;34976:34;34956:18;;;34949:62;-1:-1:-1;;;35027:18:1;;;35020:31;35068:19;;103454:119:0;34696:397:1;103454:119:0;103586:29;;;;:16;;:29;;;;;:::i;:::-;-1:-1:-1;103626:23:0;;;;:13;;:23;;;;;:::i;:::-;;103667:41;103688:10;103700:7;103667:41;;;;;;;:::i;:::-;;;;;;;;102977:739;102858:858;;:::o;67246:681::-;67369:19;67375:2;67379:8;67369:5;:19::i;:::-;-1:-1:-1;;;;;67430:14:0;;;:19;67426:483;;67484:13;;67532:14;;;67565:233;67596:62;67635:1;67639:2;67643:7;;;;;;67652:5;67596:30;:62::i;:::-;67591:167;;67694:40;;-1:-1:-1;;;67694:40:0;;;;;;;;;;;67591:167;67793:3;67785:5;:11;67565:233;;67880:3;67863:13;;:20;67859:34;;67885:8;;;67859:34;67451:458;;67246:681;;;:::o;19889:948::-;19942:7;;-1:-1:-1;;;20020:17:0;;20016:106;;-1:-1:-1;;;20058:17:0;;;-1:-1:-1;20104:2:0;20094:12;20016:106;20149:8;20140:5;:17;20136:106;;20187:8;20178:17;;;-1:-1:-1;20224:2:0;20214:12;20136:106;20269:8;20260:5;:17;20256:106;;20307:8;20298:17;;;-1:-1:-1;20344:2:0;20334:12;20256:106;20389:7;20380:5;:16;20376:103;;20426:7;20417:16;;;-1:-1:-1;20462:1:0;20452:11;20376:103;20506:7;20497:5;:16;20493:103;;20543:7;20534:16;;;-1:-1:-1;20579:1:0;20569:11;20493:103;20623:7;20614:5;:16;20610:103;;20660:7;20651:16;;;-1:-1:-1;20696:1:0;20686:11;20610:103;20740:7;20731:5;:16;20727:68;;20778:1;20768:11;20823:6;19889:948;-1:-1:-1;;19889:948:0:o;33627:156::-;33718:4;33771;33742:25;33755:5;33762:4;33742:12;:25::i;:::-;:33;;33627:156;-1:-1:-1;;;;33627:156:0:o;97929:98::-;97987:7;98014:5;98018:1;98014;:5;:::i;68200:1529::-;68288:13;;-1:-1:-1;;;;;68316:16:0;;68312:48;;68341:19;;-1:-1:-1;;;68341:19:0;;;;;;;;;;;68312:48;68375:8;68387:1;68375:13;68371:44;;68397:18;;-1:-1:-1;;;68397:18:0;;;;;;;;;;;68371:44;-1:-1:-1;;;;;68903:22:0;;;;;;:18;:22;;52274:2;68903:22;;:70;;68941:31;68929:44;;68903:70;;;62301:11;62277:22;62273:40;-1:-1:-1;64011:15:0;;63986:23;63982:45;62270:51;62260:62;69216:31;;;;:17;:31;;;;;:173;69234:12;69465:23;;;69503:101;69530:35;;69555:9;;;;;-1:-1:-1;;;;;69530:35:0;;;69547:1;;69530:35;;69547:1;;69530:35;69599:3;69589:7;:13;69503:101;;69620:13;:19;-1:-1:-1;65459:185:0;;;:::o;34346:296::-;34429:7;34472:4;34429:7;34487:118;34511:5;:12;34507:1;:16;34487:118;;;34560:33;34570:12;34584:5;34590:1;34584:8;;;;;;;;:::i;:::-;;;;;;;34560:9;:33::i;:::-;34545:48;-1:-1:-1;34525:3:0;;34487:118;;;-1:-1:-1;34622:12:0;34346:296;-1:-1:-1;;;34346:296:0:o;41776:149::-;41839:7;41870:1;41866;:5;:51;;42118:13;42212:15;;;42248:4;42241:15;;;42295:4;42279:21;;41866:51;;;42118:13;42212:15;;;42248:4;42241:15;;;42295:4;42279:21;;41874:20;42050:268;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;641:127:1;702:10;697:3;693:20;690:1;683:31;733:4;730:1;723:15;757:4;754:1;747:15;773:128;840:9;;;861:11;;;858:37;;;875:18;;:::i;906:127::-;967:10;962:3;958:20;955:1;948:31;998:4;995:1;988:15;1022:4;1019:1;1012:15;1800:131;-1:-1:-1;;;;;;1874:32:1;;1864:43;;1854:71;;1921:1;1918;1911:12;1936:245;1994:6;2047:2;2035:9;2026:7;2022:23;2018:32;2015:52;;;2063:1;2060;2053:12;2015:52;2102:9;2089:23;2121:30;2145:5;2121:30;:::i;2378:118::-;2464:5;2457:13;2450:21;2443:5;2440:32;2430:60;;2486:1;2483;2476:12;2501:241;2557:6;2610:2;2598:9;2589:7;2585:23;2581:32;2578:52;;;2626:1;2623;2616:12;2578:52;2665:9;2652:23;2684:28;2706:5;2684:28;:::i;2747:131::-;-1:-1:-1;;;;;2822:31:1;;2812:42;;2802:70;;2868:1;2865;2858:12;2883:435;2950:6;2958;3011:2;2999:9;2990:7;2986:23;2982:32;2979:52;;;3027:1;3024;3017:12;2979:52;3066:9;3053:23;3085:31;3110:5;3085:31;:::i;:::-;3135:5;-1:-1:-1;3192:2:1;3177:18;;3164:32;-1:-1:-1;;;;;3227:40:1;;3215:53;;3205:81;;3282:1;3279;3272:12;3205:81;3305:7;3295:17;;;2883:435;;;;;:::o;3323:250::-;3408:1;3418:113;3432:6;3429:1;3426:13;3418:113;;;3508:11;;;3502:18;3489:11;;;3482:39;3454:2;3447:10;3418:113;;;-1:-1:-1;;3565:1:1;3547:16;;3540:27;3323:250::o;3578:271::-;3620:3;3658:5;3652:12;3685:6;3680:3;3673:19;3701:76;3770:6;3763:4;3758:3;3754:14;3747:4;3740:5;3736:16;3701:76;:::i;:::-;3831:2;3810:15;-1:-1:-1;;3806:29:1;3797:39;;;;3838:4;3793:50;;3578:271;-1:-1:-1;;3578:271:1:o;3854:220::-;4003:2;3992:9;3985:21;3966:4;4023:45;4064:2;4053:9;4049:18;4041:6;4023:45;:::i;4079:180::-;4138:6;4191:2;4179:9;4170:7;4166:23;4162:32;4159:52;;;4207:1;4204;4197:12;4159:52;-1:-1:-1;4230:23:1;;4079:180;-1:-1:-1;4079:180:1:o;4264:315::-;4332:6;4340;4393:2;4381:9;4372:7;4368:23;4364:32;4361:52;;;4409:1;4406;4399:12;4361:52;4448:9;4435:23;4467:31;4492:5;4467:31;:::i;:::-;4517:5;4569:2;4554:18;;;;4541:32;;-1:-1:-1;;;4264:315:1:o;5013:529::-;5090:6;5098;5106;5159:2;5147:9;5138:7;5134:23;5130:32;5127:52;;;5175:1;5172;5165:12;5127:52;5214:9;5201:23;5233:31;5258:5;5233:31;:::i;:::-;5283:5;-1:-1:-1;5340:2:1;5325:18;;5312:32;5353:33;5312:32;5353:33;:::i;:::-;5405:7;-1:-1:-1;5464:2:1;5449:18;;5436:32;5477:33;5436:32;5477:33;:::i;:::-;5529:7;5519:17;;;5013:529;;;;;:::o;5679:250::-;5773:1;5766:5;5763:12;5753:143;;5818:10;5813:3;5809:20;5806:1;5799:31;5853:4;5850:1;5843:15;5881:4;5878:1;5871:15;5753:143;5905:18;;5679:250::o;5934:234::-;6093:2;6078:18;;6105:57;6082:9;6144:6;6105:57;:::i;6173:247::-;6232:6;6285:2;6273:9;6264:7;6260:23;6256:32;6253:52;;;6301:1;6298;6291:12;6253:52;6340:9;6327:23;6359:31;6384:5;6359:31;:::i;6425:456::-;6502:6;6510;6518;6571:2;6559:9;6550:7;6546:23;6542:32;6539:52;;;6587:1;6584;6577:12;6539:52;6626:9;6613:23;6645:31;6670:5;6645:31;:::i;:::-;6695:5;-1:-1:-1;6752:2:1;6737:18;;6724:32;6765:33;6724:32;6765:33;:::i;:::-;6425:456;;6817:7;;-1:-1:-1;;;6871:2:1;6856:18;;;;6843:32;;6425:456::o;6886:248::-;6954:6;6962;7015:2;7003:9;6994:7;6990:23;6986:32;6983:52;;;7031:1;7028;7021:12;6983:52;-1:-1:-1;;7054:23:1;;;7124:2;7109:18;;;7096:32;;-1:-1:-1;6886:248:1:o;7139:465::-;7192:3;7230:5;7224:12;7257:6;7252:3;7245:19;7283:4;7312;7307:3;7303:14;7296:21;;7351:4;7344:5;7340:16;7374:1;7384:195;7398:6;7395:1;7392:13;7384:195;;;7463:13;;-1:-1:-1;;;;;7459:39:1;7447:52;;7519:12;;;;7554:15;;;;7495:1;7413:9;7384:195;;;-1:-1:-1;7595:3:1;;7139:465;-1:-1:-1;;;;;7139:465:1:o;7609:261::-;7788:2;7777:9;7770:21;7751:4;7808:56;7860:2;7849:9;7845:18;7837:6;7808:56;:::i;7875:127::-;7936:10;7931:3;7927:20;7924:1;7917:31;7967:4;7964:1;7957:15;7991:4;7988:1;7981:15;8007:275;8078:2;8072:9;8143:2;8124:13;;-1:-1:-1;;8120:27:1;8108:40;;8178:18;8163:34;;8199:22;;;8160:62;8157:88;;;8225:18;;:::i;:::-;8261:2;8254:22;8007:275;;-1:-1:-1;8007:275:1:o;8287:407::-;8352:5;8386:18;8378:6;8375:30;8372:56;;;8408:18;;:::i;:::-;8446:57;8491:2;8470:15;;-1:-1:-1;;8466:29:1;8497:4;8462:40;8446:57;:::i;:::-;8437:66;;8526:6;8519:5;8512:21;8566:3;8557:6;8552:3;8548:16;8545:25;8542:45;;;8583:1;8580;8573:12;8542:45;8632:6;8627:3;8620:4;8613:5;8609:16;8596:43;8686:1;8679:4;8670:6;8663:5;8659:18;8655:29;8648:40;8287:407;;;;;:::o;8699:451::-;8768:6;8821:2;8809:9;8800:7;8796:23;8792:32;8789:52;;;8837:1;8834;8827:12;8789:52;8877:9;8864:23;8910:18;8902:6;8899:30;8896:50;;;8942:1;8939;8932:12;8896:50;8965:22;;9018:4;9010:13;;9006:27;-1:-1:-1;8996:55:1;;9047:1;9044;9037:12;8996:55;9070:74;9136:7;9131:2;9118:16;9113:2;9109;9105:11;9070:74;:::i;9155:183::-;9215:4;9248:18;9240:6;9237:30;9234:56;;;9270:18;;:::i;:::-;-1:-1:-1;9315:1:1;9311:14;9327:4;9307:25;;9155:183::o;9343:668::-;9397:5;9450:3;9443:4;9435:6;9431:17;9427:27;9417:55;;9468:1;9465;9458:12;9417:55;9504:6;9491:20;9530:4;9554:60;9570:43;9610:2;9570:43;:::i;:::-;9554:60;:::i;:::-;9636:3;9660:2;9655:3;9648:15;9688:4;9683:3;9679:14;9672:21;;9745:4;9739:2;9736:1;9732:10;9724:6;9720:23;9716:34;9702:48;;9773:3;9765:6;9762:15;9759:35;;;9790:1;9787;9780:12;9759:35;9826:4;9818:6;9814:17;9840:142;9856:6;9851:3;9848:15;9840:142;;;9922:17;;9910:30;;9960:12;;;;9873;;9840:142;;;-1:-1:-1;10000:5:1;9343:668;-1:-1:-1;;;;;;9343:668:1:o;10016:1215::-;10134:6;10142;10195:2;10183:9;10174:7;10170:23;10166:32;10163:52;;;10211:1;10208;10201:12;10163:52;10251:9;10238:23;10280:18;10321:2;10313:6;10310:14;10307:34;;;10337:1;10334;10327:12;10307:34;10375:6;10364:9;10360:22;10350:32;;10420:7;10413:4;10409:2;10405:13;10401:27;10391:55;;10442:1;10439;10432:12;10391:55;10478:2;10465:16;10500:4;10524:60;10540:43;10580:2;10540:43;:::i;10524:60::-;10618:15;;;10700:1;10696:10;;;;10688:19;;10684:28;;;10649:12;;;;10724:19;;;10721:39;;;10756:1;10753;10746:12;10721:39;10780:11;;;;10800:217;10816:6;10811:3;10808:15;10800:217;;;10896:3;10883:17;10913:31;10938:5;10913:31;:::i;:::-;10957:18;;10833:12;;;;10995;;;;10800:217;;;11036:5;-1:-1:-1;;11079:18:1;;11066:32;;-1:-1:-1;;11110:16:1;;;11107:36;;;11139:1;11136;11129:12;11107:36;;11162:63;11217:7;11206:8;11195:9;11191:24;11162:63;:::i;:::-;11152:73;;;10016:1215;;;;;:::o;11457:121::-;11552:1;11545:5;11542:12;11532:40;;11568:1;11565;11558:12;11583:144;-1:-1:-1;;;;;11662:5:1;11658:44;11651:5;11648:55;11638:83;;11717:1;11714;11707:12;11732:576;11836:6;11844;11852;11905:2;11893:9;11884:7;11880:23;11876:32;11873:52;;;11921:1;11918;11911:12;11873:52;11960:9;11947:23;11979:51;12024:5;11979:51;:::i;:::-;12049:5;-1:-1:-1;12106:2:1;12091:18;;12078:32;12119:33;12078:32;12119:33;:::i;:::-;12171:7;-1:-1:-1;12230:2:1;12215:18;;12202:32;12243:33;12202:32;12243:33;:::i;12313:382::-;12378:6;12386;12439:2;12427:9;12418:7;12414:23;12410:32;12407:52;;;12455:1;12452;12445:12;12407:52;12494:9;12481:23;12513:31;12538:5;12513:31;:::i;:::-;12563:5;-1:-1:-1;12620:2:1;12605:18;;12592:32;12633:30;12592:32;12633:30;:::i;12700:804::-;12957:2;12946:9;12939:21;12920:4;12983:56;13035:2;13024:9;13020:18;13012:6;12983:56;:::i;:::-;13096:22;;;13058:2;13076:18;;;13069:50;;;;13168:13;;13190:22;;;13266:15;;;;13228;;;13299:1;13309:169;13323:6;13320:1;13317:13;13309:169;;;13384:13;;13372:26;;13453:15;;;;13418:12;;;;13345:1;13338:9;13309:169;;;-1:-1:-1;13495:3:1;;12700:804;-1:-1:-1;;;;;;;12700:804:1:o;14170:795::-;14265:6;14273;14281;14289;14342:3;14330:9;14321:7;14317:23;14313:33;14310:53;;;14359:1;14356;14349:12;14310:53;14398:9;14385:23;14417:31;14442:5;14417:31;:::i;:::-;14467:5;-1:-1:-1;14524:2:1;14509:18;;14496:32;14537:33;14496:32;14537:33;:::i;:::-;14589:7;-1:-1:-1;14643:2:1;14628:18;;14615:32;;-1:-1:-1;14698:2:1;14683:18;;14670:32;14725:18;14714:30;;14711:50;;;14757:1;14754;14747:12;14711:50;14780:22;;14833:4;14825:13;;14821:27;-1:-1:-1;14811:55:1;;14862:1;14859;14852:12;14811:55;14885:74;14951:7;14946:2;14933:16;14928:2;14924;14920:11;14885:74;:::i;:::-;14875:84;;;14170:795;;;;;;;:::o;14970:536::-;15146:4;15188:2;15177:9;15173:18;15165:26;;15200:64;15254:9;15245:6;15239:13;15200:64;:::i;:::-;15311:4;15303:6;15299:17;15293:24;-1:-1:-1;;;;;15424:2:1;15410:12;15406:21;15399:4;15388:9;15384:20;15377:51;15496:2;15488:4;15480:6;15476:17;15470:24;15466:33;15459:4;15448:9;15444:20;15437:63;;;14970:536;;;;:::o;15511:683::-;15606:6;15614;15622;15675:2;15663:9;15654:7;15650:23;15646:32;15643:52;;;15691:1;15688;15681:12;15643:52;15727:9;15714:23;15704:33;;15788:2;15777:9;15773:18;15760:32;15811:18;15852:2;15844:6;15841:14;15838:34;;;15868:1;15865;15858:12;15838:34;15906:6;15895:9;15891:22;15881:32;;15951:7;15944:4;15940:2;15936:13;15932:27;15922:55;;15973:1;15970;15963:12;15922:55;16013:2;16000:16;16039:2;16031:6;16028:14;16025:34;;;16055:1;16052;16045:12;16025:34;16108:7;16103:2;16093:6;16090:1;16086:14;16082:2;16078:23;16074:32;16071:45;16068:65;;;16129:1;16126;16119:12;16068:65;16160:2;16156;16152:11;16142:21;;16182:6;16172:16;;;;;15511:683;;;;;:::o;16381:388::-;16449:6;16457;16510:2;16498:9;16489:7;16485:23;16481:32;16478:52;;;16526:1;16523;16516:12;16478:52;16565:9;16552:23;16584:31;16609:5;16584:31;:::i;:::-;16634:5;-1:-1:-1;16691:2:1;16676:18;;16663:32;16704:33;16663:32;16704:33;:::i;16774:718::-;16887:6;16895;16903;16911;16964:3;16952:9;16943:7;16939:23;16935:33;16932:53;;;16981:1;16978;16971:12;16932:53;17020:9;17007:23;17039:31;17064:5;17039:31;:::i;:::-;17089:5;-1:-1:-1;17146:2:1;17131:18;;17118:32;17159:53;17118:32;17159:53;:::i;:::-;17231:7;-1:-1:-1;17290:2:1;17275:18;;17262:32;17303:33;17262:32;17303:33;:::i;:::-;17355:7;-1:-1:-1;17414:2:1;17399:18;;17386:32;17427:33;17386:32;17427:33;:::i;:::-;16774:718;;;;-1:-1:-1;16774:718:1;;-1:-1:-1;;16774:718:1:o;17857:168::-;17930:9;;;17961;;17978:15;;;17972:22;;17958:37;17948:71;;17999:18;;:::i;18162:217::-;18202:1;18228;18218:132;;18272:10;18267:3;18263:20;18260:1;18253:31;18307:4;18304:1;18297:15;18335:4;18332:1;18325:15;18218:132;-1:-1:-1;18364:9:1;;18162:217::o;18384:380::-;18463:1;18459:12;;;;18506;;;18527:61;;18581:4;18573:6;18569:17;18559:27;;18527:61;18634:2;18626:6;18623:14;18603:18;18600:38;18597:161;;18680:10;18675:3;18671:20;18668:1;18661:31;18715:4;18712:1;18705:15;18743:4;18740:1;18733:15;18597:161;;18384:380;;;:::o;19158:810::-;19270:6;19323:2;19311:9;19302:7;19298:23;19294:32;19291:52;;;19339:1;19336;19329:12;19291:52;19372:2;19366:9;19414:2;19406:6;19402:15;19483:6;19471:10;19468:22;19447:18;19435:10;19432:34;19429:62;19426:88;;;19494:18;;:::i;:::-;19530:2;19523:22;19567:16;;19592:51;19567:16;19592:51;:::i;:::-;19652:21;;19718:2;19703:18;;19697:25;19731:33;19697:25;19731:33;:::i;:::-;19792:2;19780:15;;19773:32;19850:2;19835:18;;19829:25;19863:33;19829:25;19863:33;:::i;:::-;19924:2;19912:15;;19905:32;19916:6;19158:810;-1:-1:-1;;;19158:810:1:o;20291:245::-;20358:6;20411:2;20399:9;20390:7;20386:23;20382:32;20379:52;;;20427:1;20424;20417:12;20379:52;20459:9;20453:16;20478:28;20500:5;20478:28;:::i;20889:956::-;20984:6;21015:2;21058;21046:9;21037:7;21033:23;21029:32;21026:52;;;21074:1;21071;21064:12;21026:52;21107:9;21101:16;21140:18;21132:6;21129:30;21126:50;;;21172:1;21169;21162:12;21126:50;21195:22;;21248:4;21240:13;;21236:27;-1:-1:-1;21226:55:1;;21277:1;21274;21267:12;21226:55;21306:2;21300:9;21329:60;21345:43;21385:2;21345:43;:::i;21329:60::-;21423:15;;;21505:1;21501:10;;;;21493:19;;21489:28;;;21454:12;;;;21529:19;;;21526:39;;;21561:1;21558;21551:12;21526:39;21585:11;;;;21605:210;21621:6;21616:3;21613:15;21605:210;;;21694:3;21688:10;21711:31;21736:5;21711:31;:::i;:::-;21755:18;;21638:12;;;;21793;;;;21605:210;;;21834:5;20889:956;-1:-1:-1;;;;;;;20889:956:1:o;22683:518::-;22785:2;22780:3;22777:11;22774:421;;;22821:5;22818:1;22811:16;22865:4;22862:1;22852:18;22935:2;22923:10;22919:19;22916:1;22912:27;22906:4;22902:38;22971:4;22959:10;22956:20;22953:47;;;-1:-1:-1;22994:4:1;22953:47;23049:2;23044:3;23040:12;23037:1;23033:20;23027:4;23023:31;23013:41;;23104:81;23122:2;23115:5;23112:13;23104:81;;;23181:1;23167:16;;23148:1;23137:13;23104:81;;23377:1345;23503:3;23497:10;23530:18;23522:6;23519:30;23516:56;;;23552:18;;:::i;:::-;23581:97;23671:6;23631:38;23663:4;23657:11;23631:38;:::i;:::-;23625:4;23581:97;:::i;:::-;23733:4;;23790:2;23779:14;;23807:1;23802:663;;;;24509:1;24526:6;24523:89;;;-1:-1:-1;24578:19:1;;;24572:26;24523:89;-1:-1:-1;;23334:1:1;23330:11;;;23326:24;23322:29;23312:40;23358:1;23354:11;;;23309:57;24625:81;;23772:944;;23802:663;22630:1;22623:14;;;22667:4;22654:18;;-1:-1:-1;;23838:20:1;;;23956:236;23970:7;23967:1;23964:14;23956:236;;;24059:19;;;24053:26;24038:42;;24151:27;;;;24119:1;24107:14;;;;23986:19;;23956:236;;;23960:3;24220:6;24211:7;24208:19;24205:201;;;24281:19;;;24275:26;-1:-1:-1;;24364:1:1;24360:14;;;24376:3;24356:24;24352:37;24348:42;24333:58;24318:74;;24205:201;-1:-1:-1;;;;;24452:1:1;24436:14;;;24432:22;24419:36;;-1:-1:-1;23377:1345:1:o;24727:331::-;-1:-1:-1;;;;;24944:32:1;;24926:51;;24914:2;24899:18;;24986:66;25048:2;25033:18;;25025:6;24986:66;:::i;25063:313::-;-1:-1:-1;;;;;25255:32:1;;;;25237:51;;-1:-1:-1;;;;;25324:45:1;25319:2;25304:18;;25297:73;25225:2;25210:18;;25063:313::o;26782:125::-;26847:9;;;26868:10;;;26865:36;;;26881:18;;:::i;28841:1188::-;29118:3;29147:1;29180:6;29174:13;29210:36;29236:9;29210:36;:::i;:::-;29265:1;29282:17;;;29308:133;;;;29455:1;29450:358;;;;29275:533;;29308:133;-1:-1:-1;;29341:24:1;;29329:37;;29414:14;;29407:22;29395:35;;29386:45;;;-1:-1:-1;29308:133:1;;29450:358;29481:6;29478:1;29471:17;29511:4;29556;29553:1;29543:18;29583:1;29597:165;29611:6;29608:1;29605:13;29597:165;;;29689:14;;29676:11;;;29669:35;29732:16;;;;29626:10;;29597:165;;;29601:3;;;29791:6;29786:3;29782:16;29775:23;;29275:533;;;;;29839:6;29833:13;29855:68;29914:8;29909:3;29902:4;29894:6;29890:17;29855:68;:::i;:::-;-1:-1:-1;;;29945:18:1;;29972:22;;;30021:1;30010:13;;28841:1188;-1:-1:-1;;;;28841:1188:1:o;32011:489::-;-1:-1:-1;;;;;32280:15:1;;;32262:34;;32332:15;;32327:2;32312:18;;32305:43;32379:2;32364:18;;32357:34;;;32427:3;32422:2;32407:18;;32400:31;;;32205:4;;32448:46;;32474:19;;32466:6;32448:46;:::i;:::-;32440:54;32011:489;-1:-1:-1;;;;;;32011:489:1:o;32505:249::-;32574:6;32627:2;32615:9;32606:7;32602:23;32598:32;32595:52;;;32643:1;32640;32633:12;32595:52;32675:9;32669:16;32694:30;32718:5;32694:30;:::i

Swarm Source

ipfs://0e9603207f610462f1f98c35d78785f3cb8e84db6cca8f81e40df085d8c2c8c9
[ 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.