ETH Price: $3,340.98 (+2.49%)
Gas: 2 Gwei

Token

StampRally by NAT3 (NAT3)
 

Overview

Max Total Supply

132 NAT3

Holders

132

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
yuyayan.eth
Balance
1 NAT3
0x36642c16d24de85ed6db539aacdf92cbe2964e50
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
NAT3

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-06-14
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;


library Bytecode {
  error InvalidCodeAtRange(uint256 _size, uint256 _start, uint256 _end);

  /**
    @notice Generate a creation code that results on a contract with `_code` as bytecode
    @param _code The returning value of the resulting `creationCode`
    @return creationCode (constructor) for new contract
  */
  function creationCodeFor(bytes memory _code) internal pure returns (bytes memory) {
    /*
      0x00    0x63         0x63XXXXXX  PUSH4 _code.length  size
      0x01    0x80         0x80        DUP1                size size
      0x02    0x60         0x600e      PUSH1 14            14 size size
      0x03    0x60         0x6000      PUSH1 00            0 14 size size
      0x04    0x39         0x39        CODECOPY            size
      0x05    0x60         0x6000      PUSH1 00            0 size
      0x06    0xf3         0xf3        RETURN
      <CODE>
    */

    return abi.encodePacked(
      hex"63",
      uint32(_code.length),
      hex"80_60_0E_60_00_39_60_00_F3",
      _code
    );
  }

  /**
    @notice Returns the size of the code on a given address
    @param _addr Address that may or may not contain code
    @return size of the code on the given `_addr`
  */
  function codeSize(address _addr) internal view returns (uint256 size) {
    assembly { size := extcodesize(_addr) }
  }

  /**
    @notice Returns the code of a given address
    @dev It will fail if `_end < _start`
    @param _addr Address that may or may not contain code
    @param _start number of bytes of code to skip on read
    @param _end index before which to end extraction
    @return oCode read from `_addr` deployed bytecode

    Forked from: https://gist.github.com/KardanovIR/fe98661df9338c842b4a30306d507fbd
  */
  function codeAt(address _addr, uint256 _start, uint256 _end) internal view returns (bytes memory oCode) {
    uint256 csize = codeSize(_addr);
    if (csize == 0) return bytes("");

    if (_start > csize) return bytes("");
    if (_end < _start) revert InvalidCodeAtRange(csize, _start, _end); 

    unchecked {
      uint256 reqSize = _end - _start;
      uint256 maxSize = csize - _start;

      uint256 size = maxSize < reqSize ? maxSize : reqSize;

      assembly {
        // allocate output byte array - this could also be done without assembly
        // by using o_code = new bytes(size)
        oCode := mload(0x40)
        // new "memory end" including padding
        mstore(0x40, add(oCode, and(add(add(size, 0x20), 0x1f), not(0x1f))))
        // store length in memory
        mstore(oCode, size)
        // actually retrieve the code, this needs assembly
        extcodecopy(_addr, add(oCode, 0x20), _start, size)
      }
    }
  }
}

/**
 *Submitted for verification at Etherscan.io on 2023-02-17
*/

// File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }
}

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


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @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 up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (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; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 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.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            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 (rounding == Rounding.Up && 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 down.
     *
     * 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 + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * 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 + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * 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 + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * 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 10, 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 + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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


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

pragma solidity ^0.8.0;


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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        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), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @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) {
        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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

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


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

pragma solidity ^0.8.0;

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

// File: solidity-bits/contracts/Popcount.sol


/**
   _____       ___     ___ __           ____  _ __      
  / ___/____  / (_)___/ (_) /___  __   / __ )(_) /______
  \__ \/ __ \/ / / __  / / __/ / / /  / __  / / __/ ___/
 ___/ / /_/ / / / /_/ / / /_/ /_/ /  / /_/ / / /_(__  ) 
/____/\____/_/_/\__,_/_/\__/\__, /  /_____/_/\__/____/  
                           /____/                        

- npm: https://www.npmjs.com/package/solidity-bits
- github: https://github.com/estarriolvetch/solidity-bits

 */

pragma solidity ^0.8.0;

library Popcount {
    uint256 private constant m1 = 0x5555555555555555555555555555555555555555555555555555555555555555;
    uint256 private constant m2 = 0x3333333333333333333333333333333333333333333333333333333333333333;
    uint256 private constant m4 = 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f;
    uint256 private constant h01 = 0x0101010101010101010101010101010101010101010101010101010101010101;

    function popcount256A(uint256 x) internal pure returns (uint256 count) {
        unchecked{
            for (count=0; x!=0; count++)
                x &= x - 1;
        }
    }

    function popcount256B(uint256 x) internal pure returns (uint256) {
        if (x == type(uint256).max) {
            return 256;
        }
        unchecked {
            x -= (x >> 1) & m1;             //put count of each 2 bits into those 2 bits
            x = (x & m2) + ((x >> 2) & m2); //put count of each 4 bits into those 4 bits 
            x = (x + (x >> 4)) & m4;        //put count of each 8 bits into those 8 bits 
            x = (x * h01) >> 248;  //returns left 8 bits of x + (x<<8) + (x<<16) + (x<<24) + ... 
        }
        return x;
    }
}
// File: solidity-bits/contracts/BitScan.sol


/**
   _____       ___     ___ __           ____  _ __      
  / ___/____  / (_)___/ (_) /___  __   / __ )(_) /______
  \__ \/ __ \/ / / __  / / __/ / / /  / __  / / __/ ___/
 ___/ / /_/ / / / /_/ / / /_/ /_/ /  / /_/ / / /_(__  ) 
/____/\____/_/_/\__,_/_/\__/\__, /  /_____/_/\__/____/  
                           /____/                        

- npm: https://www.npmjs.com/package/solidity-bits
- github: https://github.com/estarriolvetch/solidity-bits

 */

pragma solidity ^0.8.0;


library BitScan {
    uint256 constant private DEBRUIJN_256 = 0x818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff;
    bytes constant private LOOKUP_TABLE_256 = hex"0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8";

    /**
        @dev Isolate the least significant set bit.
     */ 
    function isolateLS1B256(uint256 bb) pure internal returns (uint256) {
        require(bb > 0);
        unchecked {
            return bb & (0 - bb);
        }
    } 

    /**
        @dev Isolate the most significant set bit.
     */ 
    function isolateMS1B256(uint256 bb) pure internal returns (uint256) {
        require(bb > 0);
        unchecked {
            bb |= bb >> 128;
            bb |= bb >> 64;
            bb |= bb >> 32;
            bb |= bb >> 16;
            bb |= bb >> 8;
            bb |= bb >> 4;
            bb |= bb >> 2;
            bb |= bb >> 1;
            
            return (bb >> 1) + 1;
        }
    } 

    /**
        @dev Find the index of the lest significant set bit. (trailing zero count)
     */ 
    function bitScanForward256(uint256 bb) pure internal returns (uint8) {
        unchecked {
            return uint8(LOOKUP_TABLE_256[(isolateLS1B256(bb) * DEBRUIJN_256) >> 248]);
        }   
    }

    /**
        @dev Find the index of the most significant set bit.
     */ 
    function bitScanReverse256(uint256 bb) pure internal returns (uint8) {
        unchecked {
            return 255 - uint8(LOOKUP_TABLE_256[((isolateMS1B256(bb) * DEBRUIJN_256) >> 248)]);
        }   
    }

    function log2(uint256 bb) pure internal returns (uint8) {
        unchecked {
            return uint8(LOOKUP_TABLE_256[(isolateMS1B256(bb) * DEBRUIJN_256) >> 248]);
        } 
    }
}

// File: solidity-bits/contracts/BitMaps.sol


/**
   _____       ___     ___ __           ____  _ __      
  / ___/____  / (_)___/ (_) /___  __   / __ )(_) /______
  \__ \/ __ \/ / / __  / / __/ / / /  / __  / / __/ ___/
 ___/ / /_/ / / / /_/ / / /_/ /_/ /  / /_/ / / /_(__  ) 
/____/\____/_/_/\__,_/_/\__/\__, /  /_____/_/\__/____/  
                           /____/                        

- npm: https://www.npmjs.com/package/solidity-bits
- github: https://github.com/estarriolvetch/solidity-bits

 */
pragma solidity ^0.8.0;



/**
 * @dev This Library is a modified version of Openzeppelin's BitMaps library with extra features.
 *
 * 1. Functions of finding the index of the closest set bit from a given index are added.
 *    The indexing of each bucket is modifed to count from the MSB to the LSB instead of from the LSB to the MSB.
 *    The modification of indexing makes finding the closest previous set bit more efficient in gas usage.
 * 2. Setting and unsetting the bitmap consecutively.
 * 3. Accounting number of set bits within a given range.   
 *
*/

/**
 * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential.
 * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor].
 */

library BitMaps {
    using BitScan for uint256;
    uint256 private constant MASK_INDEX_ZERO = (1 << 255);
    uint256 private constant MASK_FULL = type(uint256).max;

    struct BitMap {
        mapping(uint256 => uint256) _data;
    }

    /**
     * @dev Returns whether the bit at `index` is set.
     */
    function get(BitMap storage bitmap, uint256 index) internal view returns (bool) {
        uint256 bucket = index >> 8;
        uint256 mask = MASK_INDEX_ZERO >> (index & 0xff);
        return bitmap._data[bucket] & mask != 0;
    }

    /**
     * @dev Sets the bit at `index` to the boolean `value`.
     */
    function setTo(
        BitMap storage bitmap,
        uint256 index,
        bool value
    ) internal {
        if (value) {
            set(bitmap, index);
        } else {
            unset(bitmap, index);
        }
    }

    /**
     * @dev Sets the bit at `index`.
     */
    function set(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index >> 8;
        uint256 mask = MASK_INDEX_ZERO >> (index & 0xff);
        bitmap._data[bucket] |= mask;
    }

    /**
     * @dev Unsets the bit at `index`.
     */
    function unset(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index >> 8;
        uint256 mask = MASK_INDEX_ZERO >> (index & 0xff);
        bitmap._data[bucket] &= ~mask;
    }


    /**
     * @dev Consecutively sets `amount` of bits starting from the bit at `startIndex`.
     */    
    function setBatch(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal {
        uint256 bucket = startIndex >> 8;

        uint256 bucketStartIndex = (startIndex & 0xff);

        unchecked {
            if(bucketStartIndex + amount < 256) {
                bitmap._data[bucket] |= MASK_FULL << (256 - amount) >> bucketStartIndex;
            } else {
                bitmap._data[bucket] |= MASK_FULL >> bucketStartIndex;
                amount -= (256 - bucketStartIndex);
                bucket++;

                while(amount > 256) {
                    bitmap._data[bucket] = MASK_FULL;
                    amount -= 256;
                    bucket++;
                }

                bitmap._data[bucket] |= MASK_FULL << (256 - amount);
            }
        }
    }


    /**
     * @dev Consecutively unsets `amount` of bits starting from the bit at `startIndex`.
     */    
    function unsetBatch(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal {
        uint256 bucket = startIndex >> 8;

        uint256 bucketStartIndex = (startIndex & 0xff);

        unchecked {
            if(bucketStartIndex + amount < 256) {
                bitmap._data[bucket] &= ~(MASK_FULL << (256 - amount) >> bucketStartIndex);
            } else {
                bitmap._data[bucket] &= ~(MASK_FULL >> bucketStartIndex);
                amount -= (256 - bucketStartIndex);
                bucket++;

                while(amount > 256) {
                    bitmap._data[bucket] = 0;
                    amount -= 256;
                    bucket++;
                }

                bitmap._data[bucket] &= ~(MASK_FULL << (256 - amount));
            }
        }
    }

    /**
     * @dev Returns number of set bits within a range.
     */
    function popcountA(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal view returns(uint256 count) {
        uint256 bucket = startIndex >> 8;

        uint256 bucketStartIndex = (startIndex & 0xff);

        unchecked {
            if(bucketStartIndex + amount < 256) {
                count +=  Popcount.popcount256A(
                    bitmap._data[bucket] & (MASK_FULL << (256 - amount) >> bucketStartIndex)
                );
            } else {
                count += Popcount.popcount256A(
                    bitmap._data[bucket] & (MASK_FULL >> bucketStartIndex)
                );
                amount -= (256 - bucketStartIndex);
                bucket++;

                while(amount > 256) {
                    count += Popcount.popcount256A(bitmap._data[bucket]);
                    amount -= 256;
                    bucket++;
                }
                count += Popcount.popcount256A(
                    bitmap._data[bucket] & (MASK_FULL << (256 - amount))
                );
            }
        }
    }

    /**
     * @dev Returns number of set bits within a range.
     */
    function popcountB(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal view returns(uint256 count) {
        uint256 bucket = startIndex >> 8;

        uint256 bucketStartIndex = (startIndex & 0xff);

        unchecked {
            if(bucketStartIndex + amount < 256) {
                count +=  Popcount.popcount256B(
                    bitmap._data[bucket] & (MASK_FULL << (256 - amount) >> bucketStartIndex)
                );
            } else {
                count += Popcount.popcount256B(
                    bitmap._data[bucket] & (MASK_FULL >> bucketStartIndex)
                );
                amount -= (256 - bucketStartIndex);
                bucket++;

                while(amount > 256) {
                    count += Popcount.popcount256B(bitmap._data[bucket]);
                    amount -= 256;
                    bucket++;
                }
                count += Popcount.popcount256B(
                    bitmap._data[bucket] & (MASK_FULL << (256 - amount))
                );
            }
        }
    }


    /**
     * @dev Find the closest index of the set bit before `index`.
     */
    function scanForward(BitMap storage bitmap, uint256 index) internal view returns (uint256 setBitIndex) {
        uint256 bucket = index >> 8;

        // index within the bucket
        uint256 bucketIndex = (index & 0xff);

        // load a bitboard from the bitmap.
        uint256 bb = bitmap._data[bucket];

        // offset the bitboard to scan from `bucketIndex`.
        bb = bb >> (0xff ^ bucketIndex); // bb >> (255 - bucketIndex)
        
        if(bb > 0) {
            unchecked {
                setBitIndex = (bucket << 8) | (bucketIndex -  bb.bitScanForward256());    
            }
        } else {
            while(true) {
                require(bucket > 0, "BitMaps: The set bit before the index doesn't exist.");
                unchecked {
                    bucket--;
                }
                // No offset. Always scan from the least significiant bit now.
                bb = bitmap._data[bucket];
                
                if(bb > 0) {
                    unchecked {
                        setBitIndex = (bucket << 8) | (255 -  bb.bitScanForward256());
                        break;
                    }
                } 
            }
        }
    }

    function getBucket(BitMap storage bitmap, uint256 bucket) internal view returns (uint256) {
        return bitmap._data[bucket];
    }
}

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


// OpenZeppelin Contracts (last updated v4.8.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;
    }
}

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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


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

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;



/**
 * @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 EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

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

    /**
     * @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 override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

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

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, 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 {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _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 {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _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: @openzeppelin/contracts/utils/Context.sol


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

pragma solidity ^0.8.0;

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

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

// File: erc721psi/contracts/ERC721Psi.sol


/**
  ______ _____   _____ ______ ___  __ _  _  _ 
 |  ____|  __ \ / ____|____  |__ \/_ | || || |
 | |__  | |__) | |        / /   ) || | \| |/ |
 |  __| |  _  /| |       / /   / / | |\_   _/ 
 | |____| | \ \| |____  / /   / /_ | |  | |   
 |______|_|  \_\\_____|/_/   |____||_|  |_|   

 - github: https://github.com/estarriolvetch/ERC721Psi
 - npm: https://www.npmjs.com/package/erc721psi
                                          
 */

pragma solidity ^0.8.0;

contract ERC721Psi is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;
    using BitMaps for BitMaps.BitMap;

    BitMaps.BitMap internal _batchHead;

    string private _name;
    string private _symbol;

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

    mapping(uint256 => address) private _tokenApprovals;
    mapping(address => mapping(address => bool)) private _operatorApprovals;

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

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal pure virtual returns (uint256) {
        // It will become modifiable in the future versions
        return 0;
    }

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

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        return _currentIndex - _startTokenId();
    }


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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) 
        public 
        view 
        virtual 
        override 
        returns (uint) 
    {
        require(owner != address(0), "ERC721Psi: balance query for the zero address");

        uint count;
        for( uint i = _startTokenId(); i < _nextTokenId(); ++i ){
            if(_exists(i)){
                if( owner == ownerOf(i)){
                    ++count;
                }
            }
        }
        return count;
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        (address owner, ) = _ownerAndBatchHeadOf(tokenId);
        return owner;
    }

    function _ownerAndBatchHeadOf(uint256 tokenId) internal view virtual returns (address owner, uint256 tokenIdBatchHead){
        require(_exists(tokenId), "ERC721Psi: owner query for nonexistent token");
        tokenIdBatchHead = _getBatchHead(tokenId);
        owner = _owners[tokenIdBatchHead];
    }

    /**
     * @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) {
        require(_exists(tokenId), "ERC721Psi: URI query for nonexistent token");

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

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


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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        require(
            _exists(tokenId),
            "ERC721Psi: approved query for nonexistent token"
        );

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        require(operator != _msgSender(), "ERC721Psi: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, 1,_data),
            "ERC721Psi: transfer to non ERC721Receiver implementer"
        );
    }

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

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

    /**
     * @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.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, "");
    }

    
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        uint256 nextTokenId = _nextTokenId();
        _mint(to, quantity);
        require(
            _checkOnERC721Received(address(0), to, nextTokenId, quantity, _data),
            "ERC721Psi: transfer to non ERC721Receiver implementer"
        );
    }


    function _mint(
        address to,
        uint256 quantity
    ) internal virtual {
        uint256 nextTokenId = _nextTokenId();
        
        require(quantity > 0, "ERC721Psi: quantity must be greater 0");
        require(to != address(0), "ERC721Psi: mint to the zero address");
        
        _beforeTokenTransfers(address(0), to, nextTokenId, quantity);
        _currentIndex += quantity;
        _owners[nextTokenId] = to;
        _batchHead.set(nextTokenId);
        _afterTokenTransfers(address(0), to, nextTokenId, quantity);
        
        // Emit events
        for(uint256 tokenId=nextTokenId; tokenId < nextTokenId + quantity; tokenId++){
            emit Transfer(address(0), to, tokenId);
        } 
    }



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

        require(
            owner == from,
            "ERC721Psi: transfer of token that is not own"
        );
        require(to != address(0), "ERC721Psi: transfer to the zero address");

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        uint256 subsequentTokenId = tokenId + 1;

        if(!_batchHead.get(subsequentTokenId) &&  
            subsequentTokenId < _nextTokenId()
        ) {
            _owners[subsequentTokenId] = from;
            _batchHead.set(subsequentTokenId);
        }

        _owners[tokenId] = to;
        if(tokenId != tokenIdBatchHead) {
            _batchHead.set(tokenId);
        }

        emit Transfer(from, to, tokenId);

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

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

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

    function _getBatchHead(uint256 tokenId) internal view returns (uint256 tokenIdBatchHead) {
        tokenIdBatchHead = _batchHead.scanForward(tokenId); 
    }


    function totalSupply() public virtual view returns (uint256) {
        return _totalMinted();
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * This function is compatiable with ERC721AQueryable.
     */
    function tokensOfOwner(address owner) external view virtual returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                if (_exists(i)) {
                    if (ownerOf(i) == owner) {
                        tokenIds[tokenIdsIdx++] = i;
                    }
                }
            }
            return tokenIds;   
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * 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`.
     */
    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.
     *
     * 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` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}
// File: erc721psi/contracts/extension/ERC721PsiBurnable.sol


/**
  ______ _____   _____ ______ ___  __ _  _  _ 
 |  ____|  __ \ / ____|____  |__ \/_ | || || |
 | |__  | |__) | |        / /   ) || | \| |/ |
 |  __| |  _  /| |       / /   / / | |\_   _/ 
 | |____| | \ \| |____  / /   / /_ | |  | |   
 |______|_|  \_\\_____|/_/   |____||_|  |_|   
                                              
                                            
 */
pragma solidity ^0.8.0;




abstract contract ERC721PsiBurnable is ERC721Psi {
    using BitMaps for BitMaps.BitMap;
    BitMaps.BitMap internal _burnedToken;

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address from = ownerOf(tokenId);
        _beforeTokenTransfers(from, address(0), tokenId, 1);
        _burnedToken.set(tokenId);
        
        emit Transfer(from, address(0), tokenId);

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view override virtual returns (bool){
        if(_burnedToken.get(tokenId)) {
            return false;
        } 
        return super._exists(tokenId);
    }

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

    /**
     * @dev Returns number of token burned.
     */
    function _burned() internal view returns (uint256 burned){
        uint256 startBucket = _startTokenId() >> 8;
        uint256 lastBucket = (_nextTokenId() >> 8) + 1;

        for(uint256 i=startBucket; i < lastBucket; i++) {
            uint256 bucket = _burnedToken.getBucket(i);
            burned += _popcount(bucket);
        }
    }

    /**
     * @dev Returns number of set bits.
     */
    function _popcount(uint256 x) private pure returns (uint256 count) {
        unchecked{
            for (count=0; x!=0; count++)
                x &= x - 1;
        }
    }
}
// File: @openzeppelin/contracts/access/Ownable.sol


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

pragma solidity ^0.8.0;


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

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

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

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

// File: EXO/NEW/EXO.sol

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';

        // load the table into memory
        string memory table = TABLE_ENCODE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
                // read 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(        input,  0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

        // add some extra buffer at the end required for the writing
        bytes memory result = new bytes(decodedLen + 32);

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}






pragma solidity ^0.8.7;


abstract contract MerkleProof {
    bytes32 internal _wlMerkleRoot;
    mapping(uint256 => bytes32) internal _alMerkleRoot;
    uint256 public phaseId;

    function _setWlMerkleRoot(bytes32 merkleRoot_) internal virtual {
        _wlMerkleRoot = merkleRoot_;
    }
    function isWhitelisted(string memory _passwd, bytes32[] memory proof_) public view returns (bool) {
        bytes32 _leaf = keccak256(abi.encodePacked(_passwd));
        for (uint256 i = 0; i < proof_.length; i++) {
            _leaf = _leaf < proof_[i] ? keccak256(abi.encodePacked(_leaf, proof_[i])) : keccak256(abi.encodePacked(proof_[i], _leaf));
        }
        return _leaf == _wlMerkleRoot;
    }

    function _setAlMerkleRootWithId(uint256 _phaseId,bytes32 merkleRoot_) internal virtual {
        _alMerkleRoot[_phaseId] = merkleRoot_;
    }

    function _setAlMerkleRoot(bytes32 merkleRoot_) internal virtual {
        _alMerkleRoot[phaseId] = merkleRoot_;
    }

    function isAllowlisted(address address_,uint256 _phaseId, bytes32[] memory proof_) public view returns (bool) {
        bytes32 _leaf = keccak256(abi.encodePacked(address_));
        for (uint256 i = 0; i < proof_.length; i++) {
            _leaf = _leaf < proof_[i] ? keccak256(abi.encodePacked(_leaf, proof_[i])) : keccak256(abi.encodePacked(proof_[i], _leaf));
        }
        return _leaf == _alMerkleRoot[_phaseId];
    }

}

pragma solidity ^0.8.9;
abstract contract Operable is Context {
    mapping(address => bool) _operators;
    modifier onlyOperator() {
        _checkOperatorRole(_msgSender());
        _;
    }
    function isOperator(address _operator) public view returns (bool) {
        return _operators[_operator];
    }
    function _grantOperatorRole(address _candidate) internal {
        require(
            !_operators[_candidate],
            string(
                abi.encodePacked(
                    "account ",
                    Strings.toHexString(uint160(_msgSender()), 20),
                    " is already has an operator role"
                )
            )
        );
        _operators[_candidate] = true;
    }
    function _revokeOperatorRole(address _candidate) internal {
        _checkOperatorRole(_candidate);
        delete _operators[_candidate];
    }
    function _checkOperatorRole(address _operator) internal view {
        require(
            _operators[_operator],
            string(
                abi.encodePacked(
                    "account ",
                    Strings.toHexString(uint160(_msgSender()), 20),
                    " is not an operator"
                )
            )
        );
    }
}

pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

pragma solidity ^0.8.13;


/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);
    bool public operatorFilteringEnabled = true;

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0 && operatorFilteringEnabled) {
            // Allow spending tokens from addresses with balance
            // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
            // from an EOA.
            if (from == msg.sender) {
                _;
                return;
            }
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0 && operatorFilteringEnabled) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
        _;
    }
}


pragma solidity ^0.8.13;
/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}





pragma solidity >=0.7.0 <0.9.0;

interface IContractAllowListProxy {
    function isAllowed(address _transferer, uint256 _level)
        external
        view
        returns (bool);
}

pragma solidity >=0.8.0;

/// @title IERC721RestrictApprove
/// @dev Approve抑制機能付きコントラクトのインターフェース
/// @author Lavulite

interface IERC721RestrictApprove {
    /**
     * @dev CALレベルが変更された場合のイベント
     */
    event CalLevelChanged(address indexed operator, uint256 indexed level);
    
    /**
     * @dev LocalContractAllowListnに追加された場合のイベント
     */
    event LocalCalAdded(address indexed operator, address indexed transferer);

    /**
     * @dev LocalContractAllowListnに削除された場合のイベント
     */
    event LocalCalRemoved(address indexed operator, address indexed transferer);

    /**
     * @dev CALを利用する場合のCALのレベルを設定する。レベルが高いほど、許可されるコントラクトの範囲が狭い。
     */
    function setCALLevel(uint256 level) external;

    /**
     * @dev CALのアドレスをセットする。
     */
    function setCAL(address calAddress) external;

    /**
     * @dev CALのリストに無い独自の許可アドレスを追加する場合、こちらにアドレスを記載する。
     */
    function addLocalContractAllowList(address transferer) external;

    /**
     * @dev CALのリストにある独自の許可アドレスを削除する場合、こちらにアドレスを記載する。
     */
    function removeLocalContractAllowList(address transferer) external;

    /**
     * @dev CALのリストにある独自の許可アドレスの一覧を取得する。
     */
    function getLocalContractAllowList() external view returns(address[] memory);

}

pragma solidity >=0.8.0;

/// @title AntiScam機能付きERC721A
/// @dev Readmeを見てください。

abstract contract ERC721RestrictApprove is ERC721PsiBurnable, IERC721RestrictApprove {
    using EnumerableSet for EnumerableSet.AddressSet;

    IContractAllowListProxy public CAL;
    EnumerableSet.AddressSet localAllowedAddresses;

    modifier onlyHolder(uint256 tokenId) {
        require(
            msg.sender == ownerOf(tokenId),
            "RestrictApprove: operation is only holder."
        );
        _;
    }

    /*//////////////////////////////////////////////////////////////
    変数
    //////////////////////////////////////////////////////////////*/
    bool public enableRestrict = true;

    // token lock
    mapping(uint256 => uint256) public tokenCALLevel;

    // wallet lock
    mapping(address => uint256) public walletCALLevel;

    // contract lock
    uint256 public CALLevel = 1;

    /*///////////////////////////////////////////////////////////////
    Approve抑制機能ロジック
    //////////////////////////////////////////////////////////////*/
    function _addLocalContractAllowList(address transferer)
        internal
        virtual
    {
        localAllowedAddresses.add(transferer);
        emit LocalCalAdded(msg.sender, transferer);
    }

    function _removeLocalContractAllowList(address transferer)
        internal
        virtual
    {
        localAllowedAddresses.remove(transferer);
        emit LocalCalRemoved(msg.sender, transferer);
    }

    function _getLocalContractAllowList()
        internal
        virtual
        view
        returns(address[] memory)
    {
        return localAllowedAddresses.values();
    }

    function _isLocalAllowed(address transferer)
        internal
        view
        virtual
        returns (bool)
    {
        return localAllowedAddresses.contains(transferer);
    }

    function _isAllowed(address transferer)
        internal
        view
        virtual
        returns (bool)
    {
        return _isAllowed(msg.sender, transferer);
    }

    function _isAllowed(uint256 tokenId, address transferer)
        internal
        view
        virtual
        returns (bool)
    {
        uint256 level = _getCALLevel(msg.sender, tokenId);
        return _isAllowed(transferer, level);
    }

    function _isAllowed(address holder, address transferer)
        internal
        view
        virtual
        returns (bool)
    {
        uint256 level = _getCALLevel(holder);
        return _isAllowed(transferer, level);
    }

    function _isAllowed(address transferer, uint256 level)
        internal
        view
        virtual
        returns (bool)
    {
        if (!enableRestrict) {
            return true;
        }

        return _isLocalAllowed(transferer) || CAL.isAllowed(transferer, level);
    }

    function _getCALLevel(address holder, uint256 tokenId)
        internal
        view
        virtual
        returns (uint256)
    {
        if (tokenCALLevel[tokenId] > 0) {
            return tokenCALLevel[tokenId];
        }

        return _getCALLevel(holder);
    }

    function _getCALLevel(address holder)
        internal
        view
        virtual
        returns (uint256)
    {
        if (walletCALLevel[holder] > 0) {
            return walletCALLevel[holder];
        }

        return CALLevel;
    }

    function _setCAL(address _cal) internal virtual {
        CAL = IContractAllowListProxy(_cal);
    }

    function _deleteTokenCALLevel(uint256 tokenId) internal virtual {
        delete tokenCALLevel[tokenId];
    }

    function setTokenCALLevel(uint256 tokenId, uint256 level)
        external
        virtual
        onlyHolder(tokenId)
    {
        tokenCALLevel[tokenId] = level;
    }

    function setWalletCALLevel(uint256 level)
        external
        virtual
    {
        walletCALLevel[msg.sender] = level;
    }

    /*///////////////////////////////////////////////////////////////
                              OVERRIDES
    //////////////////////////////////////////////////////////////*/

    function isApprovedForAll(address owner, address operator)
        public
        view
        virtual
        override
        returns (bool)
    {
        if (_isAllowed(owner, operator) == false) {
            return false;
        }
        return super.isApprovedForAll(owner, operator);
    }

    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        require(
            _isAllowed(operator) || approved == false,
            "RestrictApprove: Can not approve locked token"
        );
        super.setApprovalForAll(operator, approved);
    }

    function _beforeApprove(address to, uint256 tokenId)
        internal
        virtual
    {
        if (to != address(0)) {
            require(_isAllowed(tokenId, to), "RestrictApprove: The contract is not allowed.");
        }
    }

    function approve(address to, uint256 tokenId)
        public
        virtual
        override
    {
        _beforeApprove(to, tokenId);
        super.approve(to, tokenId);
    }

    function _afterTokenTransfers(
        address from,
        address, /*to*/
        uint256 startTokenId,
        uint256 /*quantity*/
    ) internal virtual override {
        // 転送やバーンにおいては、常にstartTokenIdは TokenIDそのものとなります。
        if (from != address(0)) {
            // CALレベルをデフォルトに戻す。
            _deleteTokenCALLevel(startTokenId);
        }
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        return
            interfaceId == type(IERC721RestrictApprove).interfaceId ||
            super.supportsInterface(interfaceId);
    }
}


pragma solidity ^0.8.7;
/*
╔═╗─╔╦═══╦════╗
║║╚╗║║╔══╣╔╗╔╗║
║╔╗╚╝║╚══╬╝║║╚╝
║║╚╗║║╔══╝─║║
║║─║║║║────║║
╚╝─╚═╩╝────╚╝
╔═══╦═══╦════╗
║╔═╗║╔═╗║╔╗╔╗║
║║─║║╚═╝╠╝║║╚╝
║╚═╝║╔╗╔╝─║║
║╔═╗║║║╚╗─║║
╚╝─╚╩╝╚═╝─╚╝
╔════╦═══╦╗╔═╦╗──╔╦═══╗╔═══╗
║╔╗╔╗║╔═╗║║║╔╣╚╗╔╝║╔═╗║║╔═╗║
╚╝║║╚╣║─║║╚╝╝╚╗╚╝╔╣║─║║╚╝╔╝║
──║║─║║─║║╔╗║─╚╗╔╝║║─║║╔╗╚╗║
──║║─║╚═╝║║║╚╗─║║─║╚═╝║║╚═╝║
──╚╝─╚═══╩╝╚═╝─╚╝─╚═══╝╚═══╝
*/
contract NAT3 is Ownable, ERC721RestrictApprove, ReentrancyGuard, MerkleProof, ERC2981, DefaultOperatorFilterer,Operable {
  //Project Settings
  uint256 public wlMintPrice = 0.0 ether;
  uint256 public alMintPrice = 0.0 ether;
  uint256 public psMintPrice = 0.0 ether;
  mapping(uint256 => uint256) public maxMintsPerAL;
  uint256 public maxMintsPerPS = 2;
  uint256 public maxMintsPerWL = 1;
  uint256 public maxMintsPerWLOT = 1;
  uint256 public maxMintsPerALOT = 1;
  uint256 public maxMintsPerPSOT = 1;
  uint256 public maxSupply = 198;
  uint256 public mintable = 198;
  uint256 public revealed = 198;
  uint256 public nowPhaseWl;
  uint256 public nowPhaseAl;
  uint256 public nowPhasePs;

  address internal _withdrawWallet;

  //URI
  string internal hiddenURI;
  string internal _baseTokenURI;
  string public _baseExtension = ".json";

  //flags
  bool public isWlSaleEnabled;
  bool public isAlSaleEnabled;
  bool public isPublicSaleEnabled;
  bool internal lockBurn = true;

  //mint records.
  mapping(uint256 => mapping(address => uint256)) internal _wlMinted;
  mapping(uint256 => mapping(address => uint256)) internal _alMinted;
  mapping(uint256 => mapping(address => uint256)) internal _psMinted;
  mapping(string => uint256) internal _pswdMinted;
  mapping(uint256 => uint256) internal _updateAt;
  mapping(uint256 => int256) internal _lockTim;
  address[] private pointer;
  using BitMaps for BitMaps.BitMap;
  uint256 public nowPid;
  address public deployer;
  
  constructor (
    address payable _ownerAdd
  ) ERC721Psi ("StampRally by NAT3","NAT3") {
    deployer = _ownerAdd;
    _grantOperatorRole(0x637d25D0769f747B2742A04d249802dA85395970);
    _grantOperatorRole(deployer);
    _setDefaultRoyalty(deployer,1000);
    _wlMerkleRoot = 0x103cdcdd03ebcd33f020df534fa2d1814bb7569d70346712592a7959cb33a85c;
	operatorFilteringEnabled = false;
    //CAL initialization
    CALLevel = 1;
    _setCAL(0xF2A78c73ffBAB6ECc3548Acc54B546ace279312E);//Ethereum mainnet proxy
    _addLocalContractAllowList(0x1E0049783F008A0085193E00003D00cd54003c71);//OpenSea
    _addLocalContractAllowList(0x4feE7B061C97C9c496b01DbcE9CDb10c02f0a0Be);//Rarible
  }

  
  //start from 1.adjust.
  function _startTokenId() internal pure virtual override returns (uint256) {
        return 1;
  }
  //set Default Royalty._feeNumerator 500 = 5% Royalty
  function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) external virtual onlyOperator {
      _setDefaultRoyalty(_receiver, _feeNumerator);
  }
  //for ERC2981
  function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721RestrictApprove, ERC2981) returns (bool) {
    return super.supportsInterface(interfaceId);
  }
  //for ERC2981 Opensea
  function contractURI() external view virtual returns (string memory) {
        return _formatContractURI();
  }
  //make contractURI
  function _formatContractURI() internal view returns (string memory) {
    (address receiver, uint256 royaltyFraction) = royaltyInfo(0,_feeDenominator());//tokenid=0
    return string(
      abi.encodePacked(
        "data:application/json;base64,",
        Base64.encode(
          bytes(
            abi.encodePacked(
                '{"seller_fee_basis_points":', Strings.toString(royaltyFraction),
                ', "fee_recipient":"', Strings.toHexString(uint256(uint160(receiver)), 20), '"}'
            )
          )
        )
      )
    );
  }

  //set maxSupply.only owner.
  function setMaxSupply(uint256 _maxSupply) external virtual onlyOperator {
    require(totalSupply() <= _maxSupply, "Lower than _currentIndex.");
    maxSupply = _maxSupply;
  }
  function setMintable(uint256 _mintable) external virtual onlyOperator {
    require(totalSupply() <= _mintable, "Lower than _currentIndex.");
    mintable = _mintable;
  }
    // GET phaseId.
  function getPhaseId() external view virtual returns (uint256){
    return phaseId;
  }
    // SET phaseId.
  function setPhaseId(uint256 _phaseId) external virtual onlyOperator {
    phaseId = _phaseId;
  }
    // SET phaseId.
  function setPhaseIdWithReset(uint256 _phaseId) external virtual onlyOperator {
    phaseId = _phaseId;
    nowPhaseAl += 1;
  }
  function setNowPhaseWl(uint256 _nowPhaseWl) external virtual onlyOperator {
    nowPhaseWl = _nowPhaseWl;
  }
  function setNowPhaseAl(uint256 _nowPhaseAl) external virtual onlyOperator {
    nowPhaseAl = _nowPhaseAl;
  }
  function setNowPhasePs(uint256 _nowPhasePs) external virtual onlyOperator {
    nowPhasePs = _nowPhasePs;
  }
  // SET PRICES.
  //WL.Price
  function setWlPrice(uint256 newPrice) external virtual onlyOperator {
    wlMintPrice = newPrice;
  }
  //AL.Price
  function setAlPrice(uint256 newPrice) external virtual onlyOperator {
    alMintPrice = newPrice;
  }
  //PS.Price
  function setPsPrice(uint256 newPrice) external virtual onlyOperator {
    psMintPrice = newPrice;
  }
  //set reveal.only owner.
  function setReveal(uint256 newRevealNum) external virtual onlyOperator {
    revealed = newRevealNum;
  }
  //return _isRevealed()
  function _isRevealed(uint256 _tokenId) internal view virtual returns (bool){
    return _tokenId <= revealed;
  }
  // GET MINTED COUNT.
  function wlMinted(address _address) external view virtual returns (uint256){
    return _wlMinted[nowPhaseWl][_address];
  }
  function alMinted(address _address) external view virtual returns (uint256){
    return _alMinted[nowPhaseAl][_address];
  }
  function alIdMinted(uint256 _nowPhaseAl,address _address) external view virtual returns (uint256){
    return _alMinted[_nowPhaseAl][_address];
  }
  function psMinted(address _address) external view virtual returns (uint256){
    return _psMinted[nowPhasePs][_address];
  }
  function pswdMinted(string memory _passwd) external view virtual returns (uint256){
    return _pswdMinted[_passwd];
  }
  // SET MAX MINTS.
  //get.AL.mxmints
  function getAlMaxMints() external view virtual returns (uint256){
    return maxMintsPerAL[phaseId];
  }
  //set.AL.mxmints
  function setAlMaxMints(uint256 _phaseId,uint256 _max) external virtual onlyOperator {
    maxMintsPerAL[_phaseId] = _max;
  }
  //PS.mxmints
  function setPsMaxMints(uint256 _max) external virtual onlyOperator {
    maxMintsPerPS = _max;
  }
  // SET SALES ENABLE.
  //WL.SaleEnable
  function setWhitelistSaleEnable(bool bool_) external virtual onlyOperator {
    isWlSaleEnabled = bool_;
  }
  //AL.SaleEnable
  function setAllowlistSaleEnable(bool bool_) external virtual onlyOperator {
    isAlSaleEnabled = bool_;
  }
  //PS.SaleEnable
  function setPublicSaleEnable(bool bool_) external virtual onlyOperator {
    isPublicSaleEnabled = bool_;
  }
  // SET MERKLE ROOT.
  function setMerkleRootWl(bytes32 merkleRoot_) external virtual onlyOperator {
    _setWlMerkleRoot(merkleRoot_);
  }
  function setMerkleRootAlWithId(uint256 _phaseId,bytes32 merkleRoot_) external virtual onlyOperator {
    _setAlMerkleRootWithId(_phaseId,merkleRoot_);
  }
  //set HiddenBaseURI.only owner.
  function setHiddenURI(string memory uri_) external virtual onlyOperator {
    hiddenURI = uri_;
  }
  //return _currentIndex
  function getCurrentIndex() external view virtual returns (uint256){
    return _nextTokenId() -1;
  }
  /** @dev set BaseURI at after reveal. only owner. */
  function setBaseURI(string memory uri_) external virtual onlyOperator {
    _baseTokenURI = uri_;
  }

  function setBaseExtension(string memory _newBaseExtension) external onlyOperator
  {
    _baseExtension = _newBaseExtension;
  }

  /** @dev BaseURI.internal. */
  function _currentBaseURI() internal view returns (string memory){
    return _baseTokenURI;
  }


  function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
    require(_exists(_tokenId), "URI query for nonexistent token");
    if(_isRevealed(_tokenId)){
        return string(abi.encodePacked(_currentBaseURI(), Strings.toString(_tokenId), _baseExtension));
    }
    return hiddenURI;
  }
  /** @dev owner mint.transfer to _address.only owner. */
  function ownerMintSafe(uint256 _amount, address _address) external virtual onlyOperator { 
    require((_amount + totalSupply()) <= (maxSupply), "No more NFTs");
    _safeMint(_address, _amount);
  }

  //WL mint.
  function whitelistMint(uint256 _amount, bytes32[] memory proof_,string memory _passwd) external payable virtual nonReentrant {
    require(isWlSaleEnabled, "whitelistMint is Paused");
    require(isWhitelisted(_passwd, proof_), "You are not whitelisted!");
    require(maxMintsPerWLOT >= _wlMinted[nowPhaseWl][msg.sender] + _amount, "You have no whitelistMint left");
    require(maxMintsPerWL >= _pswdMinted[_passwd] + _amount, "this account have no whitelistMint left");
    require(msg.value == wlMintPrice * _amount, "ETH value is not correct");
    require((_amount + totalSupply()) <= (mintable), "No more NFTs");
    _wlMinted[nowPhaseWl][msg.sender] += _amount;
    _pswdMinted[_passwd] += _amount;
    _safeMint(msg.sender, _amount);
  }
  
    //AL mint.
  function allowlistMint(uint256 _amount, bytes32[] memory proof_) external payable virtual nonReentrant {
    require(isAlSaleEnabled, "allowlistMint is Paused");
    require(isAllowlisted(msg.sender,phaseId, proof_), "You are not whitelisted!");
    require(maxMintsPerALOT >= _amount, "allowlistMint: Over max mints per one time");
    require(maxMintsPerAL[phaseId] >= _amount, "allowlistMint: Over max mints per wallet");
    require(maxMintsPerAL[phaseId] >= _alMinted[nowPhaseAl][msg.sender] + _amount, "You have no whitelistMint left");
    require(msg.value == alMintPrice * _amount, "ETH value is not correct");
    require((_amount + totalSupply()) <= (mintable), "No more NFTs");
    _alMinted[nowPhaseAl][msg.sender] += _amount;
    _safeMint(msg.sender, _amount);
  }


  /** @dev receive. */
  function receiveToDeb() external payable virtual nonReentrant {
      require(msg.value > 0, "ETH value is not correct");
  }
  /** @dev widraw ETH from this contract.only operator. */
  function withdraw() external payable virtual onlyOperator nonReentrant{
    uint256 _ethBalance = address(this).balance;
    bool os;
    if(_withdrawWallet != address(0)){//if _withdrawWallet has.
        (os, ) = payable(_withdrawWallet).call{value: (_ethBalance)}("");
    }else{
        (os, ) = payable(owner()).call{value: (_ethBalance)}("");
    }
    require(os, "Failed to withdraw Ether");
  }
  //Public mint.
  function publicMint(uint256 _amount) external payable virtual nonReentrant {
    require(isPublicSaleEnabled, "publicMint is Paused");
    require(maxMintsPerPSOT >= _amount, "publicMint: Over max mints per one time");
    require(maxMintsPerPS >= _amount, "publicMint: Over max mints per wallet");
    require(maxMintsPerPS >= _psMinted[nowPhasePs][msg.sender] + _amount, "You have no publicMint left");
    require(msg.value == psMintPrice * _amount, "ETH value is not correct");
    require((_amount + totalSupply()) <= (mintable), "No more NFTs");
    _psMinted[nowPhasePs][msg.sender] += _amount;
    _safeMint(msg.sender, _amount);
  }

    //burn
    function burn(uint256 tokenId) external virtual {
        require(ownerOf(tokenId) == msg.sender, "isnt owner token");
        require(lockBurn == false, "not allow");
        _burn(tokenId);
    }
    //LB.SaleEnable
    function setLockBurn(bool bool_) external virtual onlyOperator {
        lockBurn = bool_;
    }


  //return wallet owned tokenids.
  function walletOfOwner(address _address) external view virtual returns (uint256[] memory) {
    uint256 ownerTokenCount = balanceOf(_address);
    uint256[] memory tokenIds = new uint256[](ownerTokenCount);
    //search from all tonkenid. so spend high gas values.attention.
    uint256 tokenindex = 0;
    for (uint256 i = _startTokenId(); i < (_nextTokenId() -1); i++) {
      if(_address == this.tryOwnerOf(i)) tokenIds[tokenindex++] = i;
    }
    return tokenIds;
  }

  //try catch vaersion ownerOf. support burned tokenid.
  function tryOwnerOf(uint256 tokenId) external view  virtual returns (address) {
    try this.ownerOf(tokenId) returns (address _address) {
      return(_address);
    } catch {
        return (address(0));//return 0x0 if error.
    }
  }

    //OPENSEA.OPERATORFilterer.START
    /**
     * @notice Set the state of the OpenSea operator filter
     * @param value Flag indicating if the operator filter should be applied to transfers and approvals
     */
    function setOperatorFilteringEnabled(bool value) external onlyOperator {
        operatorFilteringEnabled = value;
    }

    function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

    function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
        public
        override
        onlyAllowedOperator(from)
    {
        super.safeTransferFrom(from, to, tokenId, data);
    }
    //OPENSEA.OPERATORFilterer.END

    /*///////////////////////////////////////////////////////////////
                    OVERRIDES ERC721RestrictApprove
    //////////////////////////////////////////////////////////////*/
    function addLocalContractAllowList(address transferer)
        external
        override
        onlyOperator
    {
        _addLocalContractAllowList(transferer);
    }

    function removeLocalContractAllowList(address transferer)
        external
        override
        onlyOperator
    {
        _removeLocalContractAllowList(transferer);
    }

    function getLocalContractAllowList()
        external
        override
        view
        returns(address[] memory)
    {
        return _getLocalContractAllowList();
    }

    function setCALLevel(uint256 level) public override onlyOperator {
        CALLevel = level;
    }

    function setCAL(address calAddress) external override onlyOperator {
        _setCAL(calAddress);
    }

    /**
        @dev Operable.Role.ADD
     */
    function grantOperatorRole(address _candidate) external onlyOwner {
        _grantOperatorRole(_candidate);
    }
    /**
        @dev Operable.Role.REMOVE
     */
    function revokeOperatorRole(address _candidate) external onlyOwner {
        _revokeOperatorRole(_candidate);
    }



}
//CODE.BY.FRICKLIK

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"_ownerAdd","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"uint256","name":"level","type":"uint256"}],"name":"CalLevelChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"transferer","type":"address"}],"name":"LocalCalAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"transferer","type":"address"}],"name":"LocalCalRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CAL","outputs":[{"internalType":"contract IContractAllowListProxy","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CALLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"transferer","type":"address"}],"name":"addLocalContractAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nowPhaseAl","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"alIdMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"alMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"alMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableRestrict","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAlMaxMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLocalContractAllowList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPhaseId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_candidate","type":"address"}],"name":"grantOperatorRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isAlSaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"uint256","name":"_phaseId","type":"uint256"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"isAllowlisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_passwd","type":"string"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWlSaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxMintsPerAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerALOT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerPSOT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerWLOT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintable","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":"nowPhaseAl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nowPhasePs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nowPhaseWl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nowPid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilteringEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"ownerMintSafe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"psMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"psMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_passwd","type":"string"}],"name":"pswdMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"receiveToDeb","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"transferer","type":"address"}],"name":"removeLocalContractAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_candidate","type":"address"}],"name":"revokeOperatorRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":[{"internalType":"uint256","name":"_phaseId","type":"uint256"},{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setAlMaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setAlPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setAllowlistSaleEnable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"calAddress","type":"address"}],"name":"setCAL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"level","type":"uint256"}],"name":"setCALLevel","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":"string","name":"uri_","type":"string"}],"name":"setHiddenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setLockBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRootAlWithId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRootWl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintable","type":"uint256"}],"name":"setMintable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nowPhaseAl","type":"uint256"}],"name":"setNowPhaseAl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nowPhasePs","type":"uint256"}],"name":"setNowPhasePs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nowPhaseWl","type":"uint256"}],"name":"setNowPhaseWl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOperatorFilteringEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"}],"name":"setPhaseId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"}],"name":"setPhaseIdWithReset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setPsMaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPsPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setPublicSaleEnable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRevealNum","type":"uint256"}],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"level","type":"uint256"}],"name":"setTokenCALLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"level","type":"uint256"}],"name":"setWalletCALLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setWhitelistSaleEnable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setWlPrice","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":"","type":"uint256"}],"name":"tokenCALLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tryOwnerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletCALLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"},{"internalType":"string","name":"_passwd","type":"string"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"wlMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

600c8054600160ff199182168117909255600f8290556016805490911682179055600060188190556019819055601a556002601c55601d819055601e819055601f81905560205560c66021819055602281905560235560c06040526005608090815264173539b7b760d91b60a052602a906200007c9082620008d5565b50602b805463ff000000191663010000001790553480156200009d57600080fd5b506040516200615c3803806200615c833981016040819052620000c091620009a1565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001604051806040016040528060128152602001715374616d7052616c6c79206279204e41543360701b815250604051806040016040528060048152602001634e41543360e01b8152506200013962000133620003b360201b60201c565b620003b7565b6002620001478382620008d5565b506003620001568282620008d5565b506001600555505060016010556daaeb6d7670e522a718067333cd4e3b15620002a8578015620001f657604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620001d757600080fd5b505af1158015620001ec573d6000803e3d6000fd5b50505050620002a8565b6001600160a01b03821615620002475760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620001bc565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200028e57600080fd5b505af1158015620002a3573d6000803e3d6000fd5b505050505b5050603480546001600160a01b0319166001600160a01b038316179055620002e473637d25d0769f747b2742a04d249802da8539597062000407565b603454620002fb906001600160a01b031662000407565b60345462000315906001600160a01b03166103e8620004b5565b7f103cdcdd03ebcd33f020df534fa2d1814bb7569d70346712592a7959cb33a85c6011556016805460ff191690556001600f55600980546001600160a01b03191673f2a78c73ffbab6ecc3548acc54b546ace279312e1790556200038d731e0049783f008a0085193e00003d00cd54003c71620005b6565b620003ac734fee7b061c97c9c496b01dbce9cdb10c02f0a0be620005b6565b5062000af6565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811660009081526017602052604090205460ff161562000445336001600160a01b031660146200060b60201b62002ee91760201c565b604051602001620004579190620009f2565b60405160208183030381529060405290620004905760405162461bcd60e51b815260040162000487919062000a4b565b60405180910390fd5b506001600160a01b03166000908152601760205260409020805460ff19166001179055565b6127106001600160601b0382161115620005255760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840162000487565b6001600160a01b0382166200057d5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000487565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601455565b620005d181600a620007cd60201b620030841790919060201c565b506040516001600160a01b0382169033907fbd0af1fe0a2c1c7bb340c17a284a291138979c8eeb797e176dbd1c415199af3c90600090a350565b606060006200061c83600262000a96565b6200062990600262000ab0565b6001600160401b0381111562000643576200064362000830565b6040519080825280601f01601f1916602001820160405280156200066e576020820181803683370190505b509050600360fc1b816000815181106200068c576200068c62000ac6565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110620006be57620006be62000ac6565b60200101906001600160f81b031916908160001a9053506000620006e484600262000a96565b620006f190600162000ab0565b90505b600181111562000773576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811062000729576200072962000ac6565b1a60f81b82828151811062000742576200074262000ac6565b60200101906001600160f81b031916908160001a90535060049490941c936200076b8162000adc565b9050620006f4565b508315620007c45760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640162000487565b90505b92915050565b6000620007c4836001600160a01b03841660008181526001830160205260408120546200082757508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620007c7565b506000620007c7565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200085b57607f821691505b6020821081036200087c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620008d057600081815260208120601f850160051c81016020861015620008ab5750805b601f850160051c820191505b81811015620008cc57828155600101620008b7565b5050505b505050565b81516001600160401b03811115620008f157620008f162000830565b620009098162000902845462000846565b8462000882565b602080601f831160018114620009415760008415620009285750858301515b600019600386901b1c1916600185901b178555620008cc565b600085815260208120601f198616915b82811015620009725788860151825594840194600190910190840162000951565b5085821015620009915787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620009b457600080fd5b81516001600160a01b0381168114620007c457600080fd5b60005b83811015620009e9578181015183820152602001620009cf565b50506000910152565b67030b1b1b7bab73a160c51b81526000825162000a17816008850160208701620009cc565b7f20697320616c72656164792068617320616e206f70657261746f7220726f6c656008939091019283015250602801919050565b602081526000825180602084015262000a6c816040850160208701620009cc565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620007c757620007c762000a80565b80820180821115620007c757620007c762000a80565b634e487b7160e01b600052603260045260246000fd5b60008162000aee5762000aee62000a80565b506000190190565b6156568062000b066000396000f3fe6080604052600436106105c45760003560e01c806372b44d71116102f3578063b88d4fde1161019b578063d5f39488116100e7578063e985e9c5116100a0578063fb796e6c1161007a578063fb796e6c146111ff578063fdf03cd514611219578063fe08eab014611239578063ff7682121461125957600080fd5b8063e985e9c5146111a9578063ea7baab1146111c9578063f2fde38b146111df57600080fd5b8063d5f39488146110fe578063d78be71c1461111e578063da3ef23f1461113e578063df58a1b51461115e578063e0669c5514611174578063e8a3d4851461119457600080fd5b8063c50c818611610154578063d2de022f1161012e578063d2de022f1461109d578063d4e45c14146110bd578063d5abeb01146110d2578063d5dcfbc6146110e857600080fd5b8063c50c81861461104a578063c6dd4ddd1461106a578063c87b56dd1461107d57600080fd5b8063b88d4fde14610f8b578063b9a2e65514610fab578063bbaac02f14610fcb578063bf509b9d14610feb578063c3e536831461100b578063c3faf7241461102a57600080fd5b80638e37326a1161025a578063a22cb46511610213578063b219f7d7116101ed578063b219f7d714610efa578063b31391cb14610f1a578063b435d23614610f47578063b7c0b8e814610f6b57600080fd5b8063a22cb46514610e8d578063a355fd2914610ead578063a35c23ad14610ecd57600080fd5b80638e37326a14610db357806391e4bac814610df6578063942958f414610e1657806395d89b4114610e5a5780639970cc2914610e6f5780639da9778c14610e8557600080fd5b8063813779ef116102ac578063813779ef14610cff578063830b3a6414610d1f578063830f821114610d3f5780638462151c14610d555780638da5cb5b14610d755780638dd07d0f14610d9357600080fd5b806372b44d7114610c2857806375ed36e814610c485780637672287e14610c6857806378a9238014610c885780637bc9200e14610ccc5780637c3dc17314610cdf57600080fd5b80632db1154411610471578063449d0f10116103bd5780635f341ad8116103765780636f8b44b0116103505780636f8b44b014610bb35780636fa0cf5f14610bd357806370a0823114610bf3578063715018a614610c1357600080fd5b80635f341ad814610b3a5780636352211e14610b5a5780636d70f7ae14610b7a57600080fd5b8063449d0f1014610aac5780634bf365df14610ac25780634f3db34614610ad85780635183022714610aee57806355f804b314610b0457806358303b1014610b2457600080fd5b80634009920d1161042a57806342842e0e1161040457806342842e0e14610a1f57806342966c6814610a3f578063435e4ccd14610a5f578063438b630014610a7f57600080fd5b80634009920d146109c757806341f43434146109e757806342454db914610a0957600080fd5b80632db11544146109405780632e9901f41461095357806330e7ed3514610969578063396e8f53146109895780633ccfd60b146109a95780633df669f7146109b157600080fd5b8063189f3de111610530578063258bc0ef116104e957806327ac0c58116104c357806327ac0c58146108b55780632a55205a146108d55780632ab110da146109145780632c4e9fc61461092a57600080fd5b8063258bc0ef146108605780632672c90214610880578063267fe9891461089557600080fd5b8063189f3de1146107725780631a09cfe21461078c5780631a8b8357146107a257806321434421146107cf5780632398f8431461081357806323b872dd1461084057600080fd5b8063072653891161058257806307265389146106a8578063081812fc146106c2578063095ea7b3146106fa5780630d9005ae1461071a5780630f4345e21461073d57806318160ddd1461075d57600080fd5b80623f332f146105c957806301ffc9a7146105f4578063025e332e1461062457806303c0f48c1461064657806304634d8d1461066657806306fdde0314610686575b600080fd5b3480156105d557600080fd5b506105de611279565b6040516105eb91906148dd565b60405180910390f35b34801561060057600080fd5b5061061461060f366004614940565b611288565b60405190151581526020016105eb565b34801561063057600080fd5b5061064461063f366004614972565b611299565b005b34801561065257600080fd5b5061064461066136600461498f565b6112c3565b34801561067257600080fd5b506106446106813660046149a8565b6112d1565b34801561069257600080fd5b5061069b6112e8565b6040516105eb9190614a3d565b3480156106b457600080fd5b50600c546106149060ff1681565b3480156106ce57600080fd5b506106e26106dd36600461498f565b61137a565b6040516001600160a01b0390911681526020016105eb565b34801561070657600080fd5b50610644610715366004614a50565b61140a565b34801561072657600080fd5b5061072f6114e3565b6040519081526020016105eb565b34801561074957600080fd5b5061064461075836600461498f565b6114fa565b34801561076957600080fd5b5061072f611508565b34801561077e57600080fd5b50602b546106149060ff1681565b34801561079857600080fd5b5061072f601c5481565b3480156107ae57600080fd5b5061072f6107bd36600461498f565b601b6020526000908152604090205481565b3480156107db57600080fd5b5061072f6107ea366004614972565b6025546000908152602d602090815260408083206001600160a01b039094168352929052205490565b34801561081f57600080fd5b5061072f61082e366004614972565b600e6020526000908152604090205481565b34801561084c57600080fd5b5061064461085b366004614a7c565b61151a565b34801561086c57600080fd5b5061064461087b36600461498f565b611603565b34801561088c57600080fd5b5061069b611615565b3480156108a157600080fd5b506106446108b036600461498f565b6116a3565b3480156108c157600080fd5b506106446108d0366004614972565b6116ce565b3480156108e157600080fd5b506108f56108f0366004614abd565b6116df565b604080516001600160a01b0390931683526020830191909152016105eb565b34801561092057600080fd5b5061072f601e5481565b34801561093657600080fd5b5061072f60185481565b61064461094e36600461498f565b61178b565b34801561095f57600080fd5b5061072f601f5481565b34801561097557600080fd5b5061064461098436600461498f565b6119c2565b34801561099557600080fd5b506009546106e2906001600160a01b031681565b6106446119d0565b3480156109bd57600080fd5b5061072f60335481565b3480156109d357600080fd5b50602b546106149062010000900460ff1681565b3480156109f357600080fd5b506106e26daaeb6d7670e522a718067333cd4e81565b348015610a1557600080fd5b5061072f601a5481565b348015610a2b57600080fd5b50610644610a3a366004614a7c565b611b10565b348015610a4b57600080fd5b50610644610a5a36600461498f565b611bee565b348015610a6b57600080fd5b50610644610a7a366004614aed565b611c90565b348015610a8b57600080fd5b50610a9f610a9a366004614972565b611cb7565b6040516105eb9190614b0a565b348015610ab857600080fd5b5061072f60195481565b348015610ace57600080fd5b5061072f60225481565b348015610ae457600080fd5b5061072f600f5481565b348015610afa57600080fd5b5061072f60235481565b348015610b1057600080fd5b50610644610b1f366004614bff565b611dec565b348015610b3057600080fd5b5061072f60135481565b348015610b4657600080fd5b50610614610b55366004614cb2565b611e01565b348015610b6657600080fd5b506106e2610b7536600461498f565b611f15565b348015610b8657600080fd5b50610614610b95366004614972565b6001600160a01b031660009081526017602052604090205460ff1690565b348015610bbf57600080fd5b50610644610bce36600461498f565b611f29565b348015610bdf57600080fd5b50610644610bee366004614abd565b611f8a565b348015610bff57600080fd5b5061072f610c0e366004614972565b611fa5565b348015610c1f57600080fd5b50610644612074565b348015610c3457600080fd5b50610644610c43366004614972565b612086565b348015610c5457600080fd5b5061072f610c63366004614bff565b612098565b348015610c7457600080fd5b50610644610c83366004614aed565b6120c0565b348015610c9457600080fd5b5061072f610ca3366004614972565b6024546000908152602c602090815260408083206001600160a01b039094168352929052205490565b610644610cda366004614d15565b6120e3565b348015610ceb57600080fd5b50610644610cfa366004614abd565b61239a565b348015610d0b57600080fd5b50610644610d1a36600461498f565b61242a565b348015610d2b57600080fd5b506106e2610d3a36600461498f565b612438565b348015610d4b57600080fd5b5061072f60245481565b348015610d6157600080fd5b50610a9f610d70366004614972565b6124a4565b348015610d8157600080fd5b506000546001600160a01b03166106e2565b348015610d9f57600080fd5b50610644610dae36600461498f565b61256a565b348015610dbf57600080fd5b5061072f610dce366004614d51565b6000918252602d602090815260408084206001600160a01b0393909316845291905290205490565b348015610e0257600080fd5b50610644610e1136600461498f565b612578565b348015610e2257600080fd5b5061072f610e31366004614972565b6026546000908152602e602090815260408083206001600160a01b039094168352929052205490565b348015610e6657600080fd5b5061069b6125d9565b348015610e7b57600080fd5b5061072f601d5481565b6106446125e8565b348015610e9957600080fd5b50610644610ea8366004614d76565b61261a565b348015610eb957600080fd5b50610644610ec8366004614aed565b6126ee565b348015610ed957600080fd5b50610644610ee836600461498f565b336000908152600e6020526040902055565b348015610f0657600080fd5b50610644610f15366004614972565b612713565b348015610f2657600080fd5b5061072f610f3536600461498f565b600d6020526000908152604090205481565b348015610f5357600080fd5b506013546000908152601b602052604090205461072f565b348015610f7757600080fd5b50610644610f86366004614aed565b612724565b348015610f9757600080fd5b50610644610fa6366004614da4565b612740565b348015610fb757600080fd5b50610644610fc6366004614abd565b61282c565b348015610fd757600080fd5b50610644610fe6366004614bff565b612847565b348015610ff757600080fd5b5061064461100636600461498f565b61285c565b34801561101757600080fd5b50602b5461061490610100900460ff1681565b34801561103657600080fd5b50610644611045366004614aed565b61286a565b34801561105657600080fd5b5061064461106536600461498f565b612886565b610644611078366004614e23565b612894565b34801561108957600080fd5b5061069b61109836600461498f565b612b1d565b3480156110a957600080fd5b506106146110b8366004614e8f565b612c52565b3480156110c957600080fd5b5060135461072f565b3480156110de57600080fd5b5061072f60215481565b3480156110f457600080fd5b5061072f60255481565b34801561110a57600080fd5b506034546106e2906001600160a01b031681565b34801561112a57600080fd5b5061064461113936600461498f565b612d84565b34801561114a57600080fd5b50610644611159366004614bff565b612d92565b34801561116a57600080fd5b5061072f60265481565b34801561118057600080fd5b5061064461118f36600461498f565b612da7565b3480156111a057600080fd5b5061069b612db5565b3480156111b557600080fd5b506106146111c4366004614edd565b612dbf565b3480156111d557600080fd5b5061072f60205481565b3480156111eb57600080fd5b506106446111fa366004614972565b612e0d565b34801561120b57600080fd5b506016546106149060ff1681565b34801561122557600080fd5b5061064461123436600461498f565b612e83565b34801561124557600080fd5b50610644611254366004614d51565b612e91565b34801561126557600080fd5b50610644611274366004614972565b612ed7565b6060611283613099565b905090565b6000611293826130a5565b92915050565b6112a2336130ca565b600980546001600160a01b0319166001600160a01b03831617905550565b50565b6112cc336130ca565b602555565b6112da336130ca565b6112e48282613138565b5050565b6060600280546112f790614f0b565b80601f016020809104026020016040519081016040528092919081815260200182805461132390614f0b565b80156113705780601f1061134557610100808354040283529160200191611370565b820191906000526020600020905b81548152906001019060200180831161135357829003601f168201915b5050505050905090565b600061138582613235565b6113ee5760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1580159061142b575060165460ff165b156114d457604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ac9190614f45565b6114d457604051633b79c77360e21b81526001600160a01b03821660048201526024016113e5565b6114de838361326b565b505050565b600060016114f060055490565b6112839190614f78565b611503336130ca565b600f55565b600061151261327f565b6114f06132e1565b826daaeb6d7670e522a718067333cd4e3b1580159061153b575060165460ff165b156115f257336001600160a01b038216036115605761155b8484846132f2565b6115fd565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156115af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d39190614f45565b6115f257604051633b79c77360e21b81523360048201526024016113e5565b6115fd8484846132f2565b50505050565b61160c336130ca565b6112c081601155565b602a805461162290614f0b565b80601f016020809104026020016040519081016040528092919081815260200182805461164e90614f0b565b801561169b5780601f106116705761010080835404028352916020019161169b565b820191906000526020600020905b81548152906001019060200180831161167e57829003601f168201915b505050505081565b6116ac336130ca565b806013819055506001602560008282546116c69190614f8b565b909155505050565b6116d6613323565b6112c08161337d565b60008281526015602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916117545750604080518082019091526014546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090611773906001600160601b031687614f9e565b61177d9190614fb5565b915196919550909350505050565b611793613405565b602b5462010000900460ff166117e25760405162461bcd60e51b81526020600482015260146024820152731c1d589b1a58d35a5b9d081a5cc814185d5cd95960621b60448201526064016113e5565b8060205410156118445760405162461bcd60e51b815260206004820152602760248201527f7075626c69634d696e743a204f766572206d6178206d696e747320706572206f6044820152666e652074696d6560c81b60648201526084016113e5565b80601c5410156118a45760405162461bcd60e51b815260206004820152602560248201527f7075626c69634d696e743a204f766572206d6178206d696e7473207065722077604482015264185b1b195d60da1b60648201526084016113e5565b6026546000908152602e602090815260408083203384529091529020546118cc908290614f8b565b601c54101561191d5760405162461bcd60e51b815260206004820152601b60248201527f596f752068617665206e6f207075626c69634d696e74206c656674000000000060448201526064016113e5565b80601a5461192b9190614f9e565b34146119495760405162461bcd60e51b81526004016113e590614fd7565b602254611954611508565b61195e9083614f8b565b111561197c5760405162461bcd60e51b81526004016113e59061500e565b6026546000908152602e60209081526040808320338452909152812080548392906119a8908490614f8b565b909155506119b89050338261345e565b6112c06001601055565b6119cb336130ca565b602655565b6119d9336130ca565b6119e1613405565b60275447906000906001600160a01b031615611a54576027546040516001600160a01b03909116908390600081818185875af1925050503d8060008114611a44576040519150601f19603f3d011682016040523d82523d6000602084013e611a49565b606091505b505080915050611ab5565b6000546001600160a01b03166001600160a01b03168260405160006040518083038185875af1925050503d8060008114611aaa576040519150601f19603f3d011682016040523d82523d6000602084013e611aaf565b606091505b50909150505b80611b025760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f207769746864726177204574686572000000000000000060448201526064016113e5565b5050611b0e6001601055565b565b826daaeb6d7670e522a718067333cd4e3b15801590611b31575060165460ff165b15611be357336001600160a01b03821603611b515761155b848484613478565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc49190614f45565b611be357604051633b79c77360e21b81523360048201526024016113e5565b6115fd848484613478565b33611bf882611f15565b6001600160a01b031614611c415760405162461bcd60e51b815260206004820152601060248201526f34b9b73a1037bbb732b9103a37b5b2b760811b60448201526064016113e5565b602b546301000000900460ff1615611c875760405162461bcd60e51b81526020600482015260096024820152686e6f7420616c6c6f7760b81b60448201526064016113e5565b6112c081613493565b611c99336130ca565b602b805491151563010000000263ff00000019909216919091179055565b60606000611cc483611fa5565b90506000816001600160401b03811115611ce057611ce0614b42565b604051908082528060200260200182016040528015611d09578160200160208202803683370190505b509050600060015b6001611d1c60055490565b611d269190614f78565b811015611de2576040516320c2ce9960e21b815260048101829052309063830b3a6490602401602060405180830381865afa158015611d69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d8d9190615034565b6001600160a01b0316866001600160a01b031603611dd057808383611db181615051565b945081518110611dc357611dc361506a565b6020026020010181815250505b80611dda81615051565b915050611d11565b5090949350505050565b611df5336130ca565b60296112e482826150c6565b60008083604051602001611e159190615185565b60405160208183030381529060405280519060200120905060005b8351811015611f0957838181518110611e4b57611e4b61506a565b60200260200101518210611ea957838181518110611e6b57611e6b61506a565b602002602001015182604051602001611e8e929190918252602082015260400190565b60405160208183030381529060405280519060200120611ef5565b81848281518110611ebc57611ebc61506a565b6020026020010151604051602001611ede929190918252602082015260400190565b604051602081830303815290604052805190602001205b915080611f0181615051565b915050611e30565b50601154149392505050565b600080611f21836134f1565b509392505050565b611f32336130ca565b80611f3b611508565b1115611f855760405162461bcd60e51b81526020600482015260196024820152782637bbb2b9103a3430b7102fb1bab93932b73a24b73232bc1760391b60448201526064016113e5565b602155565b611f93336130ca565b60009182526012602052604090912055565b60006001600160a01b0382166120135760405162461bcd60e51b815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201526c207a65726f206164647265737360981b60648201526084016113e5565b600060015b60055481101561206d5761202b81613235565b1561205d5761203981611f15565b6001600160a01b0316846001600160a01b03160361205d5761205a82615051565b91505b61206681615051565b9050612018565b5092915050565b61207c613323565b611b0e6000613588565b61208f336130ca565b6112c0816135d8565b6000602f826040516120aa9190615185565b9081526020016040518091039020549050919050565b6120c9336130ca565b602b80549115156101000261ff0019909216919091179055565b6120eb613405565b602b54610100900460ff166121425760405162461bcd60e51b815260206004820152601760248201527f616c6c6f776c6973744d696e742069732050617573656400000000000000000060448201526064016113e5565b61214f3360135483612c52565b6121965760405162461bcd60e51b8152602060048201526018602482015277596f7520617265206e6f742077686974656c69737465642160401b60448201526064016113e5565b81601f5410156121fb5760405162461bcd60e51b815260206004820152602a60248201527f616c6c6f776c6973744d696e743a204f766572206d6178206d696e747320706560448201526972206f6e652074696d6560b01b60648201526084016113e5565b6013546000908152601b602052604090205482111561226d5760405162461bcd60e51b815260206004820152602860248201527f616c6c6f776c6973744d696e743a204f766572206d6178206d696e74732070656044820152671c881dd85b1b195d60c21b60648201526084016113e5565b6025546000908152602d60209081526040808320338452909152902054612295908390614f8b565b6013546000908152601b602052604090205410156122f55760405162461bcd60e51b815260206004820152601e60248201527f596f752068617665206e6f2077686974656c6973744d696e74206c656674000060448201526064016113e5565b816019546123039190614f9e565b34146123215760405162461bcd60e51b81526004016113e590614fd7565b60225461232c611508565b6123369084614f8b565b11156123545760405162461bcd60e51b81526004016113e59061500e565b6025546000908152602d6020908152604080832033845290915281208054849290612380908490614f8b565b909155506123909050338361345e565b6112e46001601055565b816123a481611f15565b6001600160a01b0316336001600160a01b0316146124175760405162461bcd60e51b815260206004820152602a60248201527f5265737472696374417070726f76653a206f7065726174696f6e206973206f6e604482015269363c903437b63232b91760b11b60648201526084016113e5565b506000918252600d602052604090912055565b612433336130ca565b601c55565b6040516331a9108f60e11b8152600481018290526000903090636352211e90602401602060405180830381865afa925050508015612493575060408051601f3d908101601f1916820190925261249091810190615034565b60015b61129357506000919050565b919050565b60606000806124b284611fa5565b90506000816001600160401b038111156124ce576124ce614b42565b6040519080825280602002602001820160405280156124f7578160200160208202803683370190505b50905060015b8284146125615761250d81613235565b1561255957856001600160a01b031661252582611f15565b6001600160a01b031603612559578082858060010196508151811061254c5761254c61506a565b6020026020010181815250505b6001016124fd565b50949350505050565b612573336130ca565b601855565b612581336130ca565b8061258a611508565b11156125d45760405162461bcd60e51b81526020600482015260196024820152782637bbb2b9103a3430b7102fb1bab93932b73a24b73232bc1760391b60448201526064016113e5565b602255565b6060600380546112f790614f0b565b6125f0613405565b600034116126105760405162461bcd60e51b81526004016113e590614fd7565b611b0e6001601055565b816daaeb6d7670e522a718067333cd4e3b1580159061263b575060165460ff165b156126e457604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612698573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126bc9190614f45565b6126e457604051633b79c77360e21b81526001600160a01b03821660048201526024016113e5565b6114de838361361d565b6126f7336130ca565b602b8054911515620100000262ff000019909216919091179055565b61271b613323565b6112c08161369b565b61272d336130ca565b6016805460ff1916911515919091179055565b836daaeb6d7670e522a718067333cd4e3b15801590612761575060165460ff165b1561281957336001600160a01b0382160361278757612782858585856136c5565b612825565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156127d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127fa9190614f45565b61281957604051633b79c77360e21b81523360048201526024016113e5565b612825858585856136c5565b5050505050565b612835336130ca565b6000918252601b602052604090912055565b612850336130ca565b60286112e482826150c6565b612865336130ca565b601955565b612873336130ca565b602b805460ff1916911515919091179055565b61288f336130ca565b602355565b61289c613405565b602b5460ff166128ee5760405162461bcd60e51b815260206004820152601760248201527f77686974656c6973744d696e742069732050617573656400000000000000000060448201526064016113e5565b6128f88183611e01565b61293f5760405162461bcd60e51b8152602060048201526018602482015277596f7520617265206e6f742077686974656c69737465642160401b60448201526064016113e5565b6024546000908152602c60209081526040808320338452909152902054612967908490614f8b565b601e5410156129b85760405162461bcd60e51b815260206004820152601e60248201527f596f752068617665206e6f2077686974656c6973744d696e74206c656674000060448201526064016113e5565b82602f826040516129c99190615185565b9081526020016040518091039020546129e29190614f8b565b601d541015612a435760405162461bcd60e51b815260206004820152602760248201527f74686973206163636f756e742068617665206e6f2077686974656c6973744d696044820152661b9d081b19599d60ca1b60648201526084016113e5565b82601854612a519190614f9e565b3414612a6f5760405162461bcd60e51b81526004016113e590614fd7565b602254612a7a611508565b612a849085614f8b565b1115612aa25760405162461bcd60e51b81526004016113e59061500e565b6024546000908152602c6020908152604080832033845290915281208054859290612ace908490614f8b565b9250508190555082602f82604051612ae69190615185565b90815260200160405180910390206000828254612b039190614f8b565b90915550612b139050338461345e565b6114de6001601055565b6060612b2882613235565b612b745760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016113e5565b612b8082602354101590565b15612bc057612b8d6136f7565b612b9683613706565b602a604051602001612baa939291906151a1565b6040516020818303038152906040529050919050565b60288054612bcd90614f0b565b80601f0160208091040260200160405190810160405280929190818152602001828054612bf990614f0b565b8015612c465780601f10612c1b57610100808354040283529160200191612c46565b820191906000526020600020905b815481529060010190602001808311612c2957829003601f168201915b50505050509050919050565b6040516bffffffffffffffffffffffff19606085901b166020820152600090819060340160405160208183030381529060405280519060200120905060005b8351811015612d6a57838181518110612cac57612cac61506a565b60200260200101518210612d0a57838181518110612ccc57612ccc61506a565b602002602001015182604051602001612cef929190918252602082015260400190565b60405160208183030381529060405280519060200120612d56565b81848281518110612d1d57612d1d61506a565b6020026020010151604051602001612d3f929190918252602082015260400190565b604051602081830303815290604052805190602001205b915080612d6281615051565b915050612c91565b506000848152601260205260409020541490509392505050565b612d8d336130ca565b601a55565b612d9b336130ca565b602a6112e482826150c6565b612db0336130ca565b602455565b6060611283613798565b6000612dcb8383613818565b1515600003612ddc57506000611293565b6001600160a01b0380841660009081526007602090815260408083209386168352929052205460ff165b9392505050565b612e15613323565b6001600160a01b038116612e7a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016113e5565b6112c081613588565b612e8c336130ca565b601355565b612e9a336130ca565b602154612ea5611508565b612eaf9084614f8b565b1115612ecd5760405162461bcd60e51b81526004016113e59061500e565b6112e4818361345e565b612ee0336130ca565b6112c081613838565b60606000612ef8836002614f9e565b612f03906002614f8b565b6001600160401b03811115612f1a57612f1a614b42565b6040519080825280601f01601f191660200182016040528015612f44576020820181803683370190505b509050600360fc1b81600081518110612f5f57612f5f61506a565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612f8e57612f8e61506a565b60200101906001600160f81b031916908160001a9053506000612fb2846002614f9e565b612fbd906001614f8b565b90505b6001811115613035576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612ff157612ff161506a565b1a60f81b8282815181106130075761300761506a565b60200101906001600160f81b031916908160001a90535060049490941c9361302e81615241565b9050612fc0565b508315612e065760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016113e5565b6000612e06836001600160a01b03841661387d565b6060611283600a6138cc565b60006001600160e01b0319821663152a902d60e11b14806112935750611293826138d9565b6001600160a01b03811660009081526017602052604090205460ff166130fb335b6001600160a01b03166014612ee9565b60405160200161310b9190615258565b604051602081830303815290604052906112e45760405162461bcd60e51b81526004016113e59190614a3d565b6127106001600160601b03821611156131a65760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016113e5565b6001600160a01b0382166131fc5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016113e5565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601455565b600881811c60009081526020919091526040812054600160ff1b60ff84161c161561326257506000919050565b611293826138fe565b613275828261391a565b6112e48282613995565b600554600090819081906132979060081c6001614f8b565b9050815b818110156132db576000818152600860205260409020546132bb81613aa7565b6132c59086614f8b565b94505080806132d390615051565b91505061329b565b50505090565b600060016005546112839190614f78565b6132fc3382613ac1565b6133185760405162461bcd60e51b81526004016113e5906152a5565b6114de838383613b86565b6000546001600160a01b03163314611b0e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016113e5565b6001600160a01b03811660009081526017602052604090205460ff16156133a3336130eb565b6040516020016133b391906152f9565b604051602081830303815290604052906133e05760405162461bcd60e51b81526004016113e59190614a3d565b506001600160a01b03166000908152601760205260409020805460ff19166001179055565b6002601054036134575760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016113e5565b6002601055565b6112e4828260405180602001604052806000815250613d80565b6114de83838360405180602001604052806000815250612740565b600061349e82611f15565b90506134ab600883613dc1565b60405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a46112e4816000846001613ded565b6000806134fd83613235565b61355e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016113e5565b61356783613e10565b6000818152600460205260409020546001600160a01b031694909350915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6135e3600a82613e1d565b506040516001600160a01b0382169033907f3b01c97343869ca2757fcc37cdb8f71683b0a7aed858e3755f4529a1db85729290600090a350565b61362682613e32565b8061362f575080155b6136915760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2043616e206e6f7420617070726f766560448201526c103637b1b5b2b2103a37b5b2b760991b60648201526084016113e5565b6112e48282613e3e565b6136a4816130ca565b6001600160a01b03166000908152601760205260409020805460ff19169055565b6136cf3383613ac1565b6136eb5760405162461bcd60e51b81526004016113e5906152a5565b6115fd84848484613f02565b6060602980546112f790614f0b565b6060600061371383613f1b565b60010190506000816001600160401b0381111561373257613732614b42565b6040519080825280601f01601f19166020018201604052801561375c576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461376657509392505050565b60606000806137a9816127106116df565b915091506137f26137b982613706565b6137cd846001600160a01b03166014612ee9565b6040516020016137de929190615350565b604051602081830303815290604052613ff3565b60405160200161380291906153d6565b6040516020818303038152906040529250505090565b60008061382484614157565b90506138308382614199565b949350505050565b613843600a82613084565b506040516001600160a01b0382169033907fbd0af1fe0a2c1c7bb340c17a284a291138979c8eeb797e176dbd1c415199af3c90600090a350565b60008181526001830160205260408120546138c457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611293565b506000611293565b60606000612e0683614232565b60006001600160e01b03198216630101c11560e71b148061129357506112938261428d565b600061390960055490565b821080156112935750506001111590565b6001600160a01b038216156112e45761393381836142dd565b6112e45760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2054686520636f6e747261637420697360448201526c103737ba1030b63637bbb2b21760991b60648201526084016113e5565b60006139a082611f15565b9050806001600160a01b0316836001600160a01b031603613a0f5760405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f6044820152633bb732b960e11b60648201526084016113e5565b336001600160a01b0382161480613a2b5750613a2b8133612dbf565b613a9d5760405162461bcd60e51b815260206004820152603b60248201527f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460448201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c000000000060648201526084016113e5565b6114de83836142ea565b60005b811561249f57600019820190911690600101613aaa565b6000613acc82613235565b613b305760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016113e5565b6000613b3b83611f15565b9050806001600160a01b0316846001600160a01b03161480613b765750836001600160a01b0316613b6b8461137a565b6001600160a01b0316145b8061383057506138308185612dbf565b600080613b92836134f1565b91509150846001600160a01b0316826001600160a01b031614613c0c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201526b3a1034b9903737ba1037bbb760a11b60648201526084016113e5565b6001600160a01b038416613c725760405162461bcd60e51b815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b60648201526084016113e5565b613c7d6000846142ea565b6000613c8a846001614f8b565b600881901c600090815260016020526040902054909150600160ff1b60ff83161c16158015613cba575060055481105b15613cf157600081815260046020526040902080546001600160a01b0319166001600160a01b038816179055613cf1600182613dc1565b600084815260046020526040902080546001600160a01b0319166001600160a01b038716179055818414613d2a57613d2a600185613dc1565b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613d788686866001613ded565b505050505050565b6000613d8b60055490565b9050613d978484614358565b613da56000858386866144d8565b6115fd5760405162461bcd60e51b81526004016113e59061541b565b600881901c600090815260209290925260409091208054600160ff1b60ff9093169290921c9091179055565b6001600160a01b038416156115fd576000828152600d60205260408120556115fd565b600061129360018361460f565b6000612e06836001600160a01b038416614707565b60006112933383613818565b336001600160a01b03831603613e965760405162461bcd60e51b815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c65720000000060448201526064016113e5565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b613f0d848484613b86565b613da58484846001856144d8565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310613f5a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310613f86576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310613fa457662386f26fc10000830492506010015b6305f5e1008310613fbc576305f5e100830492506008015b6127108310613fd057612710830492506004015b60648310613fe2576064830492506002015b600a83106112935760010192915050565b6060815160000361401257505060408051602081019091526000815290565b60006040518060600160405280604081526020016154e160409139905060006003845160026140419190614f8b565b61404b9190614fb5565b614056906004614f9e565b90506000614065826020614f8b565b6001600160401b0381111561407c5761407c614b42565b6040519080825280601f01601f1916602001820160405280156140a6576020820181803683370190505b509050818152600183018586518101602084015b81831015614112576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f81168501518253506001016140ba565b60038951066001811461412c576002811461413d57614149565b613d3d60f01b600119830152614149565b603d60f81b6000198301525b509398975050505050505050565b6001600160a01b0381166000908152600e60205260408120541561419157506001600160a01b03166000908152600e602052604090205490565b5050600f5490565b600c5460009060ff166141ae57506001611293565b6141b7836147fa565b80612e065750600954604051630f8350ed60e41b81526001600160a01b038581166004830152602482018590529091169063f8350ed090604401602060405180830381865afa15801561420e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e069190614f45565b606081600001805480602002602001604051908101604052809291908181526020018280548015612c4657602002820191906000526020600020905b81548152602001906001019080831161426e5750505050509050919050565b60006001600160e01b031982166380ac58cd60e01b14806142be57506001600160e01b03198216635b5e139f60e01b145b8061129357506301ffc9a760e01b6001600160e01b0319831614611293565b6000806138243385614807565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061431f82611f15565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061436360055490565b9050600082116143c35760405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a207175616e74697479206d7573742062652067726561604482015264074657220360dc1b60648201526084016113e5565b6001600160a01b0383166144255760405162461bcd60e51b815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b60648201526084016113e5565b81600560008282546144379190614f8b565b9091555050600081815260046020526040902080546001600160a01b0319166001600160a01b03851617905561446e600182613dc1565b61447b6000848385613ded565b805b6144878383614f8b565b8110156115fd5760405181906001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4806144d081615051565b91505061447d565b60006001600160a01b0385163b1561460257506001835b6144f98486614f8b565b8110156145fc57604051630a85bd0160e11b81526001600160a01b0387169063150b7a02906145329033908b9086908990600401615470565b6020604051808303816000875af192505050801561456d575060408051601f3d908101601f1916820190925261456a918101906154ad565b60015b6145ca573d80801561459b576040519150601f19603f3d011682016040523d82523d6000602084013e6145a0565b606091505b5080516000036145c25760405162461bcd60e51b81526004016113e59061541b565b805181602001fd5b8280156145e757506001600160e01b03198116630a85bd0160e11b145b925050806145f481615051565b9150506144ef565b50614606565b5060015b95945050505050565b600881901c60008181526020849052604081205490919060ff808516919082181c80156146515761463f81614839565b60ff168203600884901b1793506146fe565b600083116146be5760405162461bcd60e51b815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527334b73232bc103237b2b9b713ba1032bc34b9ba1760611b60648201526084016113e5565b5060001990910160008181526020869052604090205490919080156146f9576146e681614839565b60ff0360ff16600884901b1793506146fe565b614651565b50505092915050565b600081815260018301602052604081205480156147f057600061472b600183614f78565b855490915060009061473f90600190614f78565b90508181146147a457600086600001828154811061475f5761475f61506a565b90600052602060002001549050808760000184815481106147825761478261506a565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806147b5576147b56154ca565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050611293565b6000915050611293565b6000611293600a836148a3565b6000818152600d60205260408120541561483057506000818152600d6020526040902054611293565b612e0683614157565b60006040518061012001604052806101008152602001615521610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff614882856148c5565b02901c815181106148955761489561506a565b016020015160f81c92915050565b6001600160a01b03811660009081526001830160205260408120541515612e06565b60008082116148d357600080fd5b5060008190031690565b6020808252825182820181905260009190848201906040850190845b8181101561491e5783516001600160a01b0316835292840192918401916001016148f9565b50909695505050505050565b6001600160e01b0319811681146112c057600080fd5b60006020828403121561495257600080fd5b8135612e068161492a565b6001600160a01b03811681146112c057600080fd5b60006020828403121561498457600080fd5b8135612e068161495d565b6000602082840312156149a157600080fd5b5035919050565b600080604083850312156149bb57600080fd5b82356149c68161495d565b915060208301356001600160601b03811681146149e257600080fd5b809150509250929050565b60005b83811015614a085781810151838201526020016149f0565b50506000910152565b60008151808452614a298160208601602086016149ed565b601f01601f19169290920160200192915050565b602081526000612e066020830184614a11565b60008060408385031215614a6357600080fd5b8235614a6e8161495d565b946020939093013593505050565b600080600060608486031215614a9157600080fd5b8335614a9c8161495d565b92506020840135614aac8161495d565b929592945050506040919091013590565b60008060408385031215614ad057600080fd5b50508035926020909101359150565b80151581146112c057600080fd5b600060208284031215614aff57600080fd5b8135612e0681614adf565b6020808252825182820181905260009190848201906040850190845b8181101561491e57835183529284019291840191600101614b26565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715614b8057614b80614b42565b604052919050565b60006001600160401b03831115614ba157614ba1614b42565b614bb4601f8401601f1916602001614b58565b9050828152838383011115614bc857600080fd5b828260208301376000602084830101529392505050565b600082601f830112614bf057600080fd5b612e0683833560208501614b88565b600060208284031215614c1157600080fd5b81356001600160401b03811115614c2757600080fd5b61383084828501614bdf565b600082601f830112614c4457600080fd5b813560206001600160401b03821115614c5f57614c5f614b42565b8160051b614c6e828201614b58565b9283528481018201928281019087851115614c8857600080fd5b83870192505b84831015614ca757823582529183019190830190614c8e565b979650505050505050565b60008060408385031215614cc557600080fd5b82356001600160401b0380821115614cdc57600080fd5b614ce886838701614bdf565b93506020850135915080821115614cfe57600080fd5b50614d0b85828601614c33565b9150509250929050565b60008060408385031215614d2857600080fd5b8235915060208301356001600160401b03811115614d4557600080fd5b614d0b85828601614c33565b60008060408385031215614d6457600080fd5b8235915060208301356149e28161495d565b60008060408385031215614d8957600080fd5b8235614d948161495d565b915060208301356149e281614adf565b60008060008060808587031215614dba57600080fd5b8435614dc58161495d565b93506020850135614dd58161495d565b92506040850135915060608501356001600160401b03811115614df757600080fd5b8501601f81018713614e0857600080fd5b614e1787823560208401614b88565b91505092959194509250565b600080600060608486031215614e3857600080fd5b8335925060208401356001600160401b0380821115614e5657600080fd5b614e6287838801614c33565b93506040860135915080821115614e7857600080fd5b50614e8586828701614bdf565b9150509250925092565b600080600060608486031215614ea457600080fd5b8335614eaf8161495d565b92506020840135915060408401356001600160401b03811115614ed157600080fd5b614e8586828701614c33565b60008060408385031215614ef057600080fd5b8235614efb8161495d565b915060208301356149e28161495d565b600181811c90821680614f1f57607f821691505b602082108103614f3f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614f5757600080fd5b8151612e0681614adf565b634e487b7160e01b600052601160045260246000fd5b8181038181111561129357611293614f62565b8082018082111561129357611293614f62565b808202811582820484141761129357611293614f62565b600082614fd257634e487b7160e01b600052601260045260246000fd5b500490565b60208082526018908201527f4554482076616c7565206973206e6f7420636f72726563740000000000000000604082015260600190565b6020808252600c908201526b4e6f206d6f7265204e46547360a01b604082015260600190565b60006020828403121561504657600080fd5b8151612e068161495d565b60006001820161506357615063614f62565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f8211156114de57600081815260208120601f850160051c810160208610156150a75750805b601f850160051c820191505b81811015613d78578281556001016150b3565b81516001600160401b038111156150df576150df614b42565b6150f3816150ed8454614f0b565b84615080565b602080601f83116001811461512857600084156151105750858301515b600019600386901b1c1916600185901b178555613d78565b600085815260208120601f198616915b8281101561515757888601518255948401946001909101908401615138565b50858210156151755787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516151978184602087016149ed565b9190910192915050565b6000845160206151b48285838a016149ed565b8551918401916151c78184848a016149ed565b85549201916000906151d881614f0b565b600182811680156151f0576001811461520557615231565b60ff1984168752821515830287019450615231565b896000528560002060005b8481101561522957815489820152908301908701615210565b505082870194505b50929a9950505050505050505050565b60008161525057615250614f62565b506000190190565b67030b1b1b7bab73a160c51b81526000825161527b8160088501602087016149ed565b721034b9903737ba1030b71037b832b930ba37b960691b6008939091019283015250601b01919050565b60208082526034908201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f6040820152731d081bdddb995c881b9bdc88185c1c1c9bdd995960621b606082015260800190565b67030b1b1b7bab73a160c51b81526000825161531c8160088501602087016149ed565b7f20697320616c72656164792068617320616e206f70657261746f7220726f6c656008939091019283015250602801919050565b7f7b2273656c6c65725f6665655f62617369735f706f696e7473223a000000000081526000835161538881601b8501602088016149ed565b721610113332b2afb932b1b4b834b2b73a111d1160691b601b9184019182015283516153bb81602e8401602088016149ed565b61227d60f01b602e9290910191820152603001949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161540e81601d8501602087016149ed565b91909101601d0192915050565b60208082526035908201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527418a932b1b2b4bb32b91034b6b83632b6b2b73a32b960591b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906154a390830184614a11565b9695505050505050565b6000602082840312156154bf57600080fd5b8151612e068161492a565b634e487b7160e01b600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a26469706673582212200c66069d3b76448d6f4efec4d7bd4d307eecf1da386bc18ee7bc5056f98a4fab64736f6c63430008110033000000000000000000000000f73b733e7459cf1e7321ed45ad7ac08893aebc04

Deployed Bytecode

0x6080604052600436106105c45760003560e01c806372b44d71116102f3578063b88d4fde1161019b578063d5f39488116100e7578063e985e9c5116100a0578063fb796e6c1161007a578063fb796e6c146111ff578063fdf03cd514611219578063fe08eab014611239578063ff7682121461125957600080fd5b8063e985e9c5146111a9578063ea7baab1146111c9578063f2fde38b146111df57600080fd5b8063d5f39488146110fe578063d78be71c1461111e578063da3ef23f1461113e578063df58a1b51461115e578063e0669c5514611174578063e8a3d4851461119457600080fd5b8063c50c818611610154578063d2de022f1161012e578063d2de022f1461109d578063d4e45c14146110bd578063d5abeb01146110d2578063d5dcfbc6146110e857600080fd5b8063c50c81861461104a578063c6dd4ddd1461106a578063c87b56dd1461107d57600080fd5b8063b88d4fde14610f8b578063b9a2e65514610fab578063bbaac02f14610fcb578063bf509b9d14610feb578063c3e536831461100b578063c3faf7241461102a57600080fd5b80638e37326a1161025a578063a22cb46511610213578063b219f7d7116101ed578063b219f7d714610efa578063b31391cb14610f1a578063b435d23614610f47578063b7c0b8e814610f6b57600080fd5b8063a22cb46514610e8d578063a355fd2914610ead578063a35c23ad14610ecd57600080fd5b80638e37326a14610db357806391e4bac814610df6578063942958f414610e1657806395d89b4114610e5a5780639970cc2914610e6f5780639da9778c14610e8557600080fd5b8063813779ef116102ac578063813779ef14610cff578063830b3a6414610d1f578063830f821114610d3f5780638462151c14610d555780638da5cb5b14610d755780638dd07d0f14610d9357600080fd5b806372b44d7114610c2857806375ed36e814610c485780637672287e14610c6857806378a9238014610c885780637bc9200e14610ccc5780637c3dc17314610cdf57600080fd5b80632db1154411610471578063449d0f10116103bd5780635f341ad8116103765780636f8b44b0116103505780636f8b44b014610bb35780636fa0cf5f14610bd357806370a0823114610bf3578063715018a614610c1357600080fd5b80635f341ad814610b3a5780636352211e14610b5a5780636d70f7ae14610b7a57600080fd5b8063449d0f1014610aac5780634bf365df14610ac25780634f3db34614610ad85780635183022714610aee57806355f804b314610b0457806358303b1014610b2457600080fd5b80634009920d1161042a57806342842e0e1161040457806342842e0e14610a1f57806342966c6814610a3f578063435e4ccd14610a5f578063438b630014610a7f57600080fd5b80634009920d146109c757806341f43434146109e757806342454db914610a0957600080fd5b80632db11544146109405780632e9901f41461095357806330e7ed3514610969578063396e8f53146109895780633ccfd60b146109a95780633df669f7146109b157600080fd5b8063189f3de111610530578063258bc0ef116104e957806327ac0c58116104c357806327ac0c58146108b55780632a55205a146108d55780632ab110da146109145780632c4e9fc61461092a57600080fd5b8063258bc0ef146108605780632672c90214610880578063267fe9891461089557600080fd5b8063189f3de1146107725780631a09cfe21461078c5780631a8b8357146107a257806321434421146107cf5780632398f8431461081357806323b872dd1461084057600080fd5b8063072653891161058257806307265389146106a8578063081812fc146106c2578063095ea7b3146106fa5780630d9005ae1461071a5780630f4345e21461073d57806318160ddd1461075d57600080fd5b80623f332f146105c957806301ffc9a7146105f4578063025e332e1461062457806303c0f48c1461064657806304634d8d1461066657806306fdde0314610686575b600080fd5b3480156105d557600080fd5b506105de611279565b6040516105eb91906148dd565b60405180910390f35b34801561060057600080fd5b5061061461060f366004614940565b611288565b60405190151581526020016105eb565b34801561063057600080fd5b5061064461063f366004614972565b611299565b005b34801561065257600080fd5b5061064461066136600461498f565b6112c3565b34801561067257600080fd5b506106446106813660046149a8565b6112d1565b34801561069257600080fd5b5061069b6112e8565b6040516105eb9190614a3d565b3480156106b457600080fd5b50600c546106149060ff1681565b3480156106ce57600080fd5b506106e26106dd36600461498f565b61137a565b6040516001600160a01b0390911681526020016105eb565b34801561070657600080fd5b50610644610715366004614a50565b61140a565b34801561072657600080fd5b5061072f6114e3565b6040519081526020016105eb565b34801561074957600080fd5b5061064461075836600461498f565b6114fa565b34801561076957600080fd5b5061072f611508565b34801561077e57600080fd5b50602b546106149060ff1681565b34801561079857600080fd5b5061072f601c5481565b3480156107ae57600080fd5b5061072f6107bd36600461498f565b601b6020526000908152604090205481565b3480156107db57600080fd5b5061072f6107ea366004614972565b6025546000908152602d602090815260408083206001600160a01b039094168352929052205490565b34801561081f57600080fd5b5061072f61082e366004614972565b600e6020526000908152604090205481565b34801561084c57600080fd5b5061064461085b366004614a7c565b61151a565b34801561086c57600080fd5b5061064461087b36600461498f565b611603565b34801561088c57600080fd5b5061069b611615565b3480156108a157600080fd5b506106446108b036600461498f565b6116a3565b3480156108c157600080fd5b506106446108d0366004614972565b6116ce565b3480156108e157600080fd5b506108f56108f0366004614abd565b6116df565b604080516001600160a01b0390931683526020830191909152016105eb565b34801561092057600080fd5b5061072f601e5481565b34801561093657600080fd5b5061072f60185481565b61064461094e36600461498f565b61178b565b34801561095f57600080fd5b5061072f601f5481565b34801561097557600080fd5b5061064461098436600461498f565b6119c2565b34801561099557600080fd5b506009546106e2906001600160a01b031681565b6106446119d0565b3480156109bd57600080fd5b5061072f60335481565b3480156109d357600080fd5b50602b546106149062010000900460ff1681565b3480156109f357600080fd5b506106e26daaeb6d7670e522a718067333cd4e81565b348015610a1557600080fd5b5061072f601a5481565b348015610a2b57600080fd5b50610644610a3a366004614a7c565b611b10565b348015610a4b57600080fd5b50610644610a5a36600461498f565b611bee565b348015610a6b57600080fd5b50610644610a7a366004614aed565b611c90565b348015610a8b57600080fd5b50610a9f610a9a366004614972565b611cb7565b6040516105eb9190614b0a565b348015610ab857600080fd5b5061072f60195481565b348015610ace57600080fd5b5061072f60225481565b348015610ae457600080fd5b5061072f600f5481565b348015610afa57600080fd5b5061072f60235481565b348015610b1057600080fd5b50610644610b1f366004614bff565b611dec565b348015610b3057600080fd5b5061072f60135481565b348015610b4657600080fd5b50610614610b55366004614cb2565b611e01565b348015610b6657600080fd5b506106e2610b7536600461498f565b611f15565b348015610b8657600080fd5b50610614610b95366004614972565b6001600160a01b031660009081526017602052604090205460ff1690565b348015610bbf57600080fd5b50610644610bce36600461498f565b611f29565b348015610bdf57600080fd5b50610644610bee366004614abd565b611f8a565b348015610bff57600080fd5b5061072f610c0e366004614972565b611fa5565b348015610c1f57600080fd5b50610644612074565b348015610c3457600080fd5b50610644610c43366004614972565b612086565b348015610c5457600080fd5b5061072f610c63366004614bff565b612098565b348015610c7457600080fd5b50610644610c83366004614aed565b6120c0565b348015610c9457600080fd5b5061072f610ca3366004614972565b6024546000908152602c602090815260408083206001600160a01b039094168352929052205490565b610644610cda366004614d15565b6120e3565b348015610ceb57600080fd5b50610644610cfa366004614abd565b61239a565b348015610d0b57600080fd5b50610644610d1a36600461498f565b61242a565b348015610d2b57600080fd5b506106e2610d3a36600461498f565b612438565b348015610d4b57600080fd5b5061072f60245481565b348015610d6157600080fd5b50610a9f610d70366004614972565b6124a4565b348015610d8157600080fd5b506000546001600160a01b03166106e2565b348015610d9f57600080fd5b50610644610dae36600461498f565b61256a565b348015610dbf57600080fd5b5061072f610dce366004614d51565b6000918252602d602090815260408084206001600160a01b0393909316845291905290205490565b348015610e0257600080fd5b50610644610e1136600461498f565b612578565b348015610e2257600080fd5b5061072f610e31366004614972565b6026546000908152602e602090815260408083206001600160a01b039094168352929052205490565b348015610e6657600080fd5b5061069b6125d9565b348015610e7b57600080fd5b5061072f601d5481565b6106446125e8565b348015610e9957600080fd5b50610644610ea8366004614d76565b61261a565b348015610eb957600080fd5b50610644610ec8366004614aed565b6126ee565b348015610ed957600080fd5b50610644610ee836600461498f565b336000908152600e6020526040902055565b348015610f0657600080fd5b50610644610f15366004614972565b612713565b348015610f2657600080fd5b5061072f610f3536600461498f565b600d6020526000908152604090205481565b348015610f5357600080fd5b506013546000908152601b602052604090205461072f565b348015610f7757600080fd5b50610644610f86366004614aed565b612724565b348015610f9757600080fd5b50610644610fa6366004614da4565b612740565b348015610fb757600080fd5b50610644610fc6366004614abd565b61282c565b348015610fd757600080fd5b50610644610fe6366004614bff565b612847565b348015610ff757600080fd5b5061064461100636600461498f565b61285c565b34801561101757600080fd5b50602b5461061490610100900460ff1681565b34801561103657600080fd5b50610644611045366004614aed565b61286a565b34801561105657600080fd5b5061064461106536600461498f565b612886565b610644611078366004614e23565b612894565b34801561108957600080fd5b5061069b61109836600461498f565b612b1d565b3480156110a957600080fd5b506106146110b8366004614e8f565b612c52565b3480156110c957600080fd5b5060135461072f565b3480156110de57600080fd5b5061072f60215481565b3480156110f457600080fd5b5061072f60255481565b34801561110a57600080fd5b506034546106e2906001600160a01b031681565b34801561112a57600080fd5b5061064461113936600461498f565b612d84565b34801561114a57600080fd5b50610644611159366004614bff565b612d92565b34801561116a57600080fd5b5061072f60265481565b34801561118057600080fd5b5061064461118f36600461498f565b612da7565b3480156111a057600080fd5b5061069b612db5565b3480156111b557600080fd5b506106146111c4366004614edd565b612dbf565b3480156111d557600080fd5b5061072f60205481565b3480156111eb57600080fd5b506106446111fa366004614972565b612e0d565b34801561120b57600080fd5b506016546106149060ff1681565b34801561122557600080fd5b5061064461123436600461498f565b612e83565b34801561124557600080fd5b50610644611254366004614d51565b612e91565b34801561126557600080fd5b50610644611274366004614972565b612ed7565b6060611283613099565b905090565b6000611293826130a5565b92915050565b6112a2336130ca565b600980546001600160a01b0319166001600160a01b03831617905550565b50565b6112cc336130ca565b602555565b6112da336130ca565b6112e48282613138565b5050565b6060600280546112f790614f0b565b80601f016020809104026020016040519081016040528092919081815260200182805461132390614f0b565b80156113705780601f1061134557610100808354040283529160200191611370565b820191906000526020600020905b81548152906001019060200180831161135357829003601f168201915b5050505050905090565b600061138582613235565b6113ee5760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1580159061142b575060165460ff165b156114d457604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ac9190614f45565b6114d457604051633b79c77360e21b81526001600160a01b03821660048201526024016113e5565b6114de838361326b565b505050565b600060016114f060055490565b6112839190614f78565b611503336130ca565b600f55565b600061151261327f565b6114f06132e1565b826daaeb6d7670e522a718067333cd4e3b1580159061153b575060165460ff165b156115f257336001600160a01b038216036115605761155b8484846132f2565b6115fd565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156115af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d39190614f45565b6115f257604051633b79c77360e21b81523360048201526024016113e5565b6115fd8484846132f2565b50505050565b61160c336130ca565b6112c081601155565b602a805461162290614f0b565b80601f016020809104026020016040519081016040528092919081815260200182805461164e90614f0b565b801561169b5780601f106116705761010080835404028352916020019161169b565b820191906000526020600020905b81548152906001019060200180831161167e57829003601f168201915b505050505081565b6116ac336130ca565b806013819055506001602560008282546116c69190614f8b565b909155505050565b6116d6613323565b6112c08161337d565b60008281526015602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916117545750604080518082019091526014546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090611773906001600160601b031687614f9e565b61177d9190614fb5565b915196919550909350505050565b611793613405565b602b5462010000900460ff166117e25760405162461bcd60e51b81526020600482015260146024820152731c1d589b1a58d35a5b9d081a5cc814185d5cd95960621b60448201526064016113e5565b8060205410156118445760405162461bcd60e51b815260206004820152602760248201527f7075626c69634d696e743a204f766572206d6178206d696e747320706572206f6044820152666e652074696d6560c81b60648201526084016113e5565b80601c5410156118a45760405162461bcd60e51b815260206004820152602560248201527f7075626c69634d696e743a204f766572206d6178206d696e7473207065722077604482015264185b1b195d60da1b60648201526084016113e5565b6026546000908152602e602090815260408083203384529091529020546118cc908290614f8b565b601c54101561191d5760405162461bcd60e51b815260206004820152601b60248201527f596f752068617665206e6f207075626c69634d696e74206c656674000000000060448201526064016113e5565b80601a5461192b9190614f9e565b34146119495760405162461bcd60e51b81526004016113e590614fd7565b602254611954611508565b61195e9083614f8b565b111561197c5760405162461bcd60e51b81526004016113e59061500e565b6026546000908152602e60209081526040808320338452909152812080548392906119a8908490614f8b565b909155506119b89050338261345e565b6112c06001601055565b6119cb336130ca565b602655565b6119d9336130ca565b6119e1613405565b60275447906000906001600160a01b031615611a54576027546040516001600160a01b03909116908390600081818185875af1925050503d8060008114611a44576040519150601f19603f3d011682016040523d82523d6000602084013e611a49565b606091505b505080915050611ab5565b6000546001600160a01b03166001600160a01b03168260405160006040518083038185875af1925050503d8060008114611aaa576040519150601f19603f3d011682016040523d82523d6000602084013e611aaf565b606091505b50909150505b80611b025760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f207769746864726177204574686572000000000000000060448201526064016113e5565b5050611b0e6001601055565b565b826daaeb6d7670e522a718067333cd4e3b15801590611b31575060165460ff165b15611be357336001600160a01b03821603611b515761155b848484613478565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc49190614f45565b611be357604051633b79c77360e21b81523360048201526024016113e5565b6115fd848484613478565b33611bf882611f15565b6001600160a01b031614611c415760405162461bcd60e51b815260206004820152601060248201526f34b9b73a1037bbb732b9103a37b5b2b760811b60448201526064016113e5565b602b546301000000900460ff1615611c875760405162461bcd60e51b81526020600482015260096024820152686e6f7420616c6c6f7760b81b60448201526064016113e5565b6112c081613493565b611c99336130ca565b602b805491151563010000000263ff00000019909216919091179055565b60606000611cc483611fa5565b90506000816001600160401b03811115611ce057611ce0614b42565b604051908082528060200260200182016040528015611d09578160200160208202803683370190505b509050600060015b6001611d1c60055490565b611d269190614f78565b811015611de2576040516320c2ce9960e21b815260048101829052309063830b3a6490602401602060405180830381865afa158015611d69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d8d9190615034565b6001600160a01b0316866001600160a01b031603611dd057808383611db181615051565b945081518110611dc357611dc361506a565b6020026020010181815250505b80611dda81615051565b915050611d11565b5090949350505050565b611df5336130ca565b60296112e482826150c6565b60008083604051602001611e159190615185565b60405160208183030381529060405280519060200120905060005b8351811015611f0957838181518110611e4b57611e4b61506a565b60200260200101518210611ea957838181518110611e6b57611e6b61506a565b602002602001015182604051602001611e8e929190918252602082015260400190565b60405160208183030381529060405280519060200120611ef5565b81848281518110611ebc57611ebc61506a565b6020026020010151604051602001611ede929190918252602082015260400190565b604051602081830303815290604052805190602001205b915080611f0181615051565b915050611e30565b50601154149392505050565b600080611f21836134f1565b509392505050565b611f32336130ca565b80611f3b611508565b1115611f855760405162461bcd60e51b81526020600482015260196024820152782637bbb2b9103a3430b7102fb1bab93932b73a24b73232bc1760391b60448201526064016113e5565b602155565b611f93336130ca565b60009182526012602052604090912055565b60006001600160a01b0382166120135760405162461bcd60e51b815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201526c207a65726f206164647265737360981b60648201526084016113e5565b600060015b60055481101561206d5761202b81613235565b1561205d5761203981611f15565b6001600160a01b0316846001600160a01b03160361205d5761205a82615051565b91505b61206681615051565b9050612018565b5092915050565b61207c613323565b611b0e6000613588565b61208f336130ca565b6112c0816135d8565b6000602f826040516120aa9190615185565b9081526020016040518091039020549050919050565b6120c9336130ca565b602b80549115156101000261ff0019909216919091179055565b6120eb613405565b602b54610100900460ff166121425760405162461bcd60e51b815260206004820152601760248201527f616c6c6f776c6973744d696e742069732050617573656400000000000000000060448201526064016113e5565b61214f3360135483612c52565b6121965760405162461bcd60e51b8152602060048201526018602482015277596f7520617265206e6f742077686974656c69737465642160401b60448201526064016113e5565b81601f5410156121fb5760405162461bcd60e51b815260206004820152602a60248201527f616c6c6f776c6973744d696e743a204f766572206d6178206d696e747320706560448201526972206f6e652074696d6560b01b60648201526084016113e5565b6013546000908152601b602052604090205482111561226d5760405162461bcd60e51b815260206004820152602860248201527f616c6c6f776c6973744d696e743a204f766572206d6178206d696e74732070656044820152671c881dd85b1b195d60c21b60648201526084016113e5565b6025546000908152602d60209081526040808320338452909152902054612295908390614f8b565b6013546000908152601b602052604090205410156122f55760405162461bcd60e51b815260206004820152601e60248201527f596f752068617665206e6f2077686974656c6973744d696e74206c656674000060448201526064016113e5565b816019546123039190614f9e565b34146123215760405162461bcd60e51b81526004016113e590614fd7565b60225461232c611508565b6123369084614f8b565b11156123545760405162461bcd60e51b81526004016113e59061500e565b6025546000908152602d6020908152604080832033845290915281208054849290612380908490614f8b565b909155506123909050338361345e565b6112e46001601055565b816123a481611f15565b6001600160a01b0316336001600160a01b0316146124175760405162461bcd60e51b815260206004820152602a60248201527f5265737472696374417070726f76653a206f7065726174696f6e206973206f6e604482015269363c903437b63232b91760b11b60648201526084016113e5565b506000918252600d602052604090912055565b612433336130ca565b601c55565b6040516331a9108f60e11b8152600481018290526000903090636352211e90602401602060405180830381865afa925050508015612493575060408051601f3d908101601f1916820190925261249091810190615034565b60015b61129357506000919050565b919050565b60606000806124b284611fa5565b90506000816001600160401b038111156124ce576124ce614b42565b6040519080825280602002602001820160405280156124f7578160200160208202803683370190505b50905060015b8284146125615761250d81613235565b1561255957856001600160a01b031661252582611f15565b6001600160a01b031603612559578082858060010196508151811061254c5761254c61506a565b6020026020010181815250505b6001016124fd565b50949350505050565b612573336130ca565b601855565b612581336130ca565b8061258a611508565b11156125d45760405162461bcd60e51b81526020600482015260196024820152782637bbb2b9103a3430b7102fb1bab93932b73a24b73232bc1760391b60448201526064016113e5565b602255565b6060600380546112f790614f0b565b6125f0613405565b600034116126105760405162461bcd60e51b81526004016113e590614fd7565b611b0e6001601055565b816daaeb6d7670e522a718067333cd4e3b1580159061263b575060165460ff165b156126e457604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612698573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126bc9190614f45565b6126e457604051633b79c77360e21b81526001600160a01b03821660048201526024016113e5565b6114de838361361d565b6126f7336130ca565b602b8054911515620100000262ff000019909216919091179055565b61271b613323565b6112c08161369b565b61272d336130ca565b6016805460ff1916911515919091179055565b836daaeb6d7670e522a718067333cd4e3b15801590612761575060165460ff165b1561281957336001600160a01b0382160361278757612782858585856136c5565b612825565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156127d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127fa9190614f45565b61281957604051633b79c77360e21b81523360048201526024016113e5565b612825858585856136c5565b5050505050565b612835336130ca565b6000918252601b602052604090912055565b612850336130ca565b60286112e482826150c6565b612865336130ca565b601955565b612873336130ca565b602b805460ff1916911515919091179055565b61288f336130ca565b602355565b61289c613405565b602b5460ff166128ee5760405162461bcd60e51b815260206004820152601760248201527f77686974656c6973744d696e742069732050617573656400000000000000000060448201526064016113e5565b6128f88183611e01565b61293f5760405162461bcd60e51b8152602060048201526018602482015277596f7520617265206e6f742077686974656c69737465642160401b60448201526064016113e5565b6024546000908152602c60209081526040808320338452909152902054612967908490614f8b565b601e5410156129b85760405162461bcd60e51b815260206004820152601e60248201527f596f752068617665206e6f2077686974656c6973744d696e74206c656674000060448201526064016113e5565b82602f826040516129c99190615185565b9081526020016040518091039020546129e29190614f8b565b601d541015612a435760405162461bcd60e51b815260206004820152602760248201527f74686973206163636f756e742068617665206e6f2077686974656c6973744d696044820152661b9d081b19599d60ca1b60648201526084016113e5565b82601854612a519190614f9e565b3414612a6f5760405162461bcd60e51b81526004016113e590614fd7565b602254612a7a611508565b612a849085614f8b565b1115612aa25760405162461bcd60e51b81526004016113e59061500e565b6024546000908152602c6020908152604080832033845290915281208054859290612ace908490614f8b565b9250508190555082602f82604051612ae69190615185565b90815260200160405180910390206000828254612b039190614f8b565b90915550612b139050338461345e565b6114de6001601055565b6060612b2882613235565b612b745760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016113e5565b612b8082602354101590565b15612bc057612b8d6136f7565b612b9683613706565b602a604051602001612baa939291906151a1565b6040516020818303038152906040529050919050565b60288054612bcd90614f0b565b80601f0160208091040260200160405190810160405280929190818152602001828054612bf990614f0b565b8015612c465780601f10612c1b57610100808354040283529160200191612c46565b820191906000526020600020905b815481529060010190602001808311612c2957829003601f168201915b50505050509050919050565b6040516bffffffffffffffffffffffff19606085901b166020820152600090819060340160405160208183030381529060405280519060200120905060005b8351811015612d6a57838181518110612cac57612cac61506a565b60200260200101518210612d0a57838181518110612ccc57612ccc61506a565b602002602001015182604051602001612cef929190918252602082015260400190565b60405160208183030381529060405280519060200120612d56565b81848281518110612d1d57612d1d61506a565b6020026020010151604051602001612d3f929190918252602082015260400190565b604051602081830303815290604052805190602001205b915080612d6281615051565b915050612c91565b506000848152601260205260409020541490509392505050565b612d8d336130ca565b601a55565b612d9b336130ca565b602a6112e482826150c6565b612db0336130ca565b602455565b6060611283613798565b6000612dcb8383613818565b1515600003612ddc57506000611293565b6001600160a01b0380841660009081526007602090815260408083209386168352929052205460ff165b9392505050565b612e15613323565b6001600160a01b038116612e7a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016113e5565b6112c081613588565b612e8c336130ca565b601355565b612e9a336130ca565b602154612ea5611508565b612eaf9084614f8b565b1115612ecd5760405162461bcd60e51b81526004016113e59061500e565b6112e4818361345e565b612ee0336130ca565b6112c081613838565b60606000612ef8836002614f9e565b612f03906002614f8b565b6001600160401b03811115612f1a57612f1a614b42565b6040519080825280601f01601f191660200182016040528015612f44576020820181803683370190505b509050600360fc1b81600081518110612f5f57612f5f61506a565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612f8e57612f8e61506a565b60200101906001600160f81b031916908160001a9053506000612fb2846002614f9e565b612fbd906001614f8b565b90505b6001811115613035576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612ff157612ff161506a565b1a60f81b8282815181106130075761300761506a565b60200101906001600160f81b031916908160001a90535060049490941c9361302e81615241565b9050612fc0565b508315612e065760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016113e5565b6000612e06836001600160a01b03841661387d565b6060611283600a6138cc565b60006001600160e01b0319821663152a902d60e11b14806112935750611293826138d9565b6001600160a01b03811660009081526017602052604090205460ff166130fb335b6001600160a01b03166014612ee9565b60405160200161310b9190615258565b604051602081830303815290604052906112e45760405162461bcd60e51b81526004016113e59190614a3d565b6127106001600160601b03821611156131a65760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016113e5565b6001600160a01b0382166131fc5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016113e5565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601455565b600881811c60009081526020919091526040812054600160ff1b60ff84161c161561326257506000919050565b611293826138fe565b613275828261391a565b6112e48282613995565b600554600090819081906132979060081c6001614f8b565b9050815b818110156132db576000818152600860205260409020546132bb81613aa7565b6132c59086614f8b565b94505080806132d390615051565b91505061329b565b50505090565b600060016005546112839190614f78565b6132fc3382613ac1565b6133185760405162461bcd60e51b81526004016113e5906152a5565b6114de838383613b86565b6000546001600160a01b03163314611b0e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016113e5565b6001600160a01b03811660009081526017602052604090205460ff16156133a3336130eb565b6040516020016133b391906152f9565b604051602081830303815290604052906133e05760405162461bcd60e51b81526004016113e59190614a3d565b506001600160a01b03166000908152601760205260409020805460ff19166001179055565b6002601054036134575760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016113e5565b6002601055565b6112e4828260405180602001604052806000815250613d80565b6114de83838360405180602001604052806000815250612740565b600061349e82611f15565b90506134ab600883613dc1565b60405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a46112e4816000846001613ded565b6000806134fd83613235565b61355e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016113e5565b61356783613e10565b6000818152600460205260409020546001600160a01b031694909350915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6135e3600a82613e1d565b506040516001600160a01b0382169033907f3b01c97343869ca2757fcc37cdb8f71683b0a7aed858e3755f4529a1db85729290600090a350565b61362682613e32565b8061362f575080155b6136915760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2043616e206e6f7420617070726f766560448201526c103637b1b5b2b2103a37b5b2b760991b60648201526084016113e5565b6112e48282613e3e565b6136a4816130ca565b6001600160a01b03166000908152601760205260409020805460ff19169055565b6136cf3383613ac1565b6136eb5760405162461bcd60e51b81526004016113e5906152a5565b6115fd84848484613f02565b6060602980546112f790614f0b565b6060600061371383613f1b565b60010190506000816001600160401b0381111561373257613732614b42565b6040519080825280601f01601f19166020018201604052801561375c576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461376657509392505050565b60606000806137a9816127106116df565b915091506137f26137b982613706565b6137cd846001600160a01b03166014612ee9565b6040516020016137de929190615350565b604051602081830303815290604052613ff3565b60405160200161380291906153d6565b6040516020818303038152906040529250505090565b60008061382484614157565b90506138308382614199565b949350505050565b613843600a82613084565b506040516001600160a01b0382169033907fbd0af1fe0a2c1c7bb340c17a284a291138979c8eeb797e176dbd1c415199af3c90600090a350565b60008181526001830160205260408120546138c457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611293565b506000611293565b60606000612e0683614232565b60006001600160e01b03198216630101c11560e71b148061129357506112938261428d565b600061390960055490565b821080156112935750506001111590565b6001600160a01b038216156112e45761393381836142dd565b6112e45760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2054686520636f6e747261637420697360448201526c103737ba1030b63637bbb2b21760991b60648201526084016113e5565b60006139a082611f15565b9050806001600160a01b0316836001600160a01b031603613a0f5760405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f6044820152633bb732b960e11b60648201526084016113e5565b336001600160a01b0382161480613a2b5750613a2b8133612dbf565b613a9d5760405162461bcd60e51b815260206004820152603b60248201527f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460448201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c000000000060648201526084016113e5565b6114de83836142ea565b60005b811561249f57600019820190911690600101613aaa565b6000613acc82613235565b613b305760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016113e5565b6000613b3b83611f15565b9050806001600160a01b0316846001600160a01b03161480613b765750836001600160a01b0316613b6b8461137a565b6001600160a01b0316145b8061383057506138308185612dbf565b600080613b92836134f1565b91509150846001600160a01b0316826001600160a01b031614613c0c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201526b3a1034b9903737ba1037bbb760a11b60648201526084016113e5565b6001600160a01b038416613c725760405162461bcd60e51b815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b60648201526084016113e5565b613c7d6000846142ea565b6000613c8a846001614f8b565b600881901c600090815260016020526040902054909150600160ff1b60ff83161c16158015613cba575060055481105b15613cf157600081815260046020526040902080546001600160a01b0319166001600160a01b038816179055613cf1600182613dc1565b600084815260046020526040902080546001600160a01b0319166001600160a01b038716179055818414613d2a57613d2a600185613dc1565b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613d788686866001613ded565b505050505050565b6000613d8b60055490565b9050613d978484614358565b613da56000858386866144d8565b6115fd5760405162461bcd60e51b81526004016113e59061541b565b600881901c600090815260209290925260409091208054600160ff1b60ff9093169290921c9091179055565b6001600160a01b038416156115fd576000828152600d60205260408120556115fd565b600061129360018361460f565b6000612e06836001600160a01b038416614707565b60006112933383613818565b336001600160a01b03831603613e965760405162461bcd60e51b815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c65720000000060448201526064016113e5565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b613f0d848484613b86565b613da58484846001856144d8565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310613f5a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310613f86576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310613fa457662386f26fc10000830492506010015b6305f5e1008310613fbc576305f5e100830492506008015b6127108310613fd057612710830492506004015b60648310613fe2576064830492506002015b600a83106112935760010192915050565b6060815160000361401257505060408051602081019091526000815290565b60006040518060600160405280604081526020016154e160409139905060006003845160026140419190614f8b565b61404b9190614fb5565b614056906004614f9e565b90506000614065826020614f8b565b6001600160401b0381111561407c5761407c614b42565b6040519080825280601f01601f1916602001820160405280156140a6576020820181803683370190505b509050818152600183018586518101602084015b81831015614112576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f81168501518253506001016140ba565b60038951066001811461412c576002811461413d57614149565b613d3d60f01b600119830152614149565b603d60f81b6000198301525b509398975050505050505050565b6001600160a01b0381166000908152600e60205260408120541561419157506001600160a01b03166000908152600e602052604090205490565b5050600f5490565b600c5460009060ff166141ae57506001611293565b6141b7836147fa565b80612e065750600954604051630f8350ed60e41b81526001600160a01b038581166004830152602482018590529091169063f8350ed090604401602060405180830381865afa15801561420e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e069190614f45565b606081600001805480602002602001604051908101604052809291908181526020018280548015612c4657602002820191906000526020600020905b81548152602001906001019080831161426e5750505050509050919050565b60006001600160e01b031982166380ac58cd60e01b14806142be57506001600160e01b03198216635b5e139f60e01b145b8061129357506301ffc9a760e01b6001600160e01b0319831614611293565b6000806138243385614807565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061431f82611f15565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061436360055490565b9050600082116143c35760405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a207175616e74697479206d7573742062652067726561604482015264074657220360dc1b60648201526084016113e5565b6001600160a01b0383166144255760405162461bcd60e51b815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b60648201526084016113e5565b81600560008282546144379190614f8b565b9091555050600081815260046020526040902080546001600160a01b0319166001600160a01b03851617905561446e600182613dc1565b61447b6000848385613ded565b805b6144878383614f8b565b8110156115fd5760405181906001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4806144d081615051565b91505061447d565b60006001600160a01b0385163b1561460257506001835b6144f98486614f8b565b8110156145fc57604051630a85bd0160e11b81526001600160a01b0387169063150b7a02906145329033908b9086908990600401615470565b6020604051808303816000875af192505050801561456d575060408051601f3d908101601f1916820190925261456a918101906154ad565b60015b6145ca573d80801561459b576040519150601f19603f3d011682016040523d82523d6000602084013e6145a0565b606091505b5080516000036145c25760405162461bcd60e51b81526004016113e59061541b565b805181602001fd5b8280156145e757506001600160e01b03198116630a85bd0160e11b145b925050806145f481615051565b9150506144ef565b50614606565b5060015b95945050505050565b600881901c60008181526020849052604081205490919060ff808516919082181c80156146515761463f81614839565b60ff168203600884901b1793506146fe565b600083116146be5760405162461bcd60e51b815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527334b73232bc103237b2b9b713ba1032bc34b9ba1760611b60648201526084016113e5565b5060001990910160008181526020869052604090205490919080156146f9576146e681614839565b60ff0360ff16600884901b1793506146fe565b614651565b50505092915050565b600081815260018301602052604081205480156147f057600061472b600183614f78565b855490915060009061473f90600190614f78565b90508181146147a457600086600001828154811061475f5761475f61506a565b90600052602060002001549050808760000184815481106147825761478261506a565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806147b5576147b56154ca565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050611293565b6000915050611293565b6000611293600a836148a3565b6000818152600d60205260408120541561483057506000818152600d6020526040902054611293565b612e0683614157565b60006040518061012001604052806101008152602001615521610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff614882856148c5565b02901c815181106148955761489561506a565b016020015160f81c92915050565b6001600160a01b03811660009081526001830160205260408120541515612e06565b60008082116148d357600080fd5b5060008190031690565b6020808252825182820181905260009190848201906040850190845b8181101561491e5783516001600160a01b0316835292840192918401916001016148f9565b50909695505050505050565b6001600160e01b0319811681146112c057600080fd5b60006020828403121561495257600080fd5b8135612e068161492a565b6001600160a01b03811681146112c057600080fd5b60006020828403121561498457600080fd5b8135612e068161495d565b6000602082840312156149a157600080fd5b5035919050565b600080604083850312156149bb57600080fd5b82356149c68161495d565b915060208301356001600160601b03811681146149e257600080fd5b809150509250929050565b60005b83811015614a085781810151838201526020016149f0565b50506000910152565b60008151808452614a298160208601602086016149ed565b601f01601f19169290920160200192915050565b602081526000612e066020830184614a11565b60008060408385031215614a6357600080fd5b8235614a6e8161495d565b946020939093013593505050565b600080600060608486031215614a9157600080fd5b8335614a9c8161495d565b92506020840135614aac8161495d565b929592945050506040919091013590565b60008060408385031215614ad057600080fd5b50508035926020909101359150565b80151581146112c057600080fd5b600060208284031215614aff57600080fd5b8135612e0681614adf565b6020808252825182820181905260009190848201906040850190845b8181101561491e57835183529284019291840191600101614b26565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715614b8057614b80614b42565b604052919050565b60006001600160401b03831115614ba157614ba1614b42565b614bb4601f8401601f1916602001614b58565b9050828152838383011115614bc857600080fd5b828260208301376000602084830101529392505050565b600082601f830112614bf057600080fd5b612e0683833560208501614b88565b600060208284031215614c1157600080fd5b81356001600160401b03811115614c2757600080fd5b61383084828501614bdf565b600082601f830112614c4457600080fd5b813560206001600160401b03821115614c5f57614c5f614b42565b8160051b614c6e828201614b58565b9283528481018201928281019087851115614c8857600080fd5b83870192505b84831015614ca757823582529183019190830190614c8e565b979650505050505050565b60008060408385031215614cc557600080fd5b82356001600160401b0380821115614cdc57600080fd5b614ce886838701614bdf565b93506020850135915080821115614cfe57600080fd5b50614d0b85828601614c33565b9150509250929050565b60008060408385031215614d2857600080fd5b8235915060208301356001600160401b03811115614d4557600080fd5b614d0b85828601614c33565b60008060408385031215614d6457600080fd5b8235915060208301356149e28161495d565b60008060408385031215614d8957600080fd5b8235614d948161495d565b915060208301356149e281614adf565b60008060008060808587031215614dba57600080fd5b8435614dc58161495d565b93506020850135614dd58161495d565b92506040850135915060608501356001600160401b03811115614df757600080fd5b8501601f81018713614e0857600080fd5b614e1787823560208401614b88565b91505092959194509250565b600080600060608486031215614e3857600080fd5b8335925060208401356001600160401b0380821115614e5657600080fd5b614e6287838801614c33565b93506040860135915080821115614e7857600080fd5b50614e8586828701614bdf565b9150509250925092565b600080600060608486031215614ea457600080fd5b8335614eaf8161495d565b92506020840135915060408401356001600160401b03811115614ed157600080fd5b614e8586828701614c33565b60008060408385031215614ef057600080fd5b8235614efb8161495d565b915060208301356149e28161495d565b600181811c90821680614f1f57607f821691505b602082108103614f3f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614f5757600080fd5b8151612e0681614adf565b634e487b7160e01b600052601160045260246000fd5b8181038181111561129357611293614f62565b8082018082111561129357611293614f62565b808202811582820484141761129357611293614f62565b600082614fd257634e487b7160e01b600052601260045260246000fd5b500490565b60208082526018908201527f4554482076616c7565206973206e6f7420636f72726563740000000000000000604082015260600190565b6020808252600c908201526b4e6f206d6f7265204e46547360a01b604082015260600190565b60006020828403121561504657600080fd5b8151612e068161495d565b60006001820161506357615063614f62565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f8211156114de57600081815260208120601f850160051c810160208610156150a75750805b601f850160051c820191505b81811015613d78578281556001016150b3565b81516001600160401b038111156150df576150df614b42565b6150f3816150ed8454614f0b565b84615080565b602080601f83116001811461512857600084156151105750858301515b600019600386901b1c1916600185901b178555613d78565b600085815260208120601f198616915b8281101561515757888601518255948401946001909101908401615138565b50858210156151755787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516151978184602087016149ed565b9190910192915050565b6000845160206151b48285838a016149ed565b8551918401916151c78184848a016149ed565b85549201916000906151d881614f0b565b600182811680156151f0576001811461520557615231565b60ff1984168752821515830287019450615231565b896000528560002060005b8481101561522957815489820152908301908701615210565b505082870194505b50929a9950505050505050505050565b60008161525057615250614f62565b506000190190565b67030b1b1b7bab73a160c51b81526000825161527b8160088501602087016149ed565b721034b9903737ba1030b71037b832b930ba37b960691b6008939091019283015250601b01919050565b60208082526034908201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f6040820152731d081bdddb995c881b9bdc88185c1c1c9bdd995960621b606082015260800190565b67030b1b1b7bab73a160c51b81526000825161531c8160088501602087016149ed565b7f20697320616c72656164792068617320616e206f70657261746f7220726f6c656008939091019283015250602801919050565b7f7b2273656c6c65725f6665655f62617369735f706f696e7473223a000000000081526000835161538881601b8501602088016149ed565b721610113332b2afb932b1b4b834b2b73a111d1160691b601b9184019182015283516153bb81602e8401602088016149ed565b61227d60f01b602e9290910191820152603001949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161540e81601d8501602087016149ed565b91909101601d0192915050565b60208082526035908201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527418a932b1b2b4bb32b91034b6b83632b6b2b73a32b960591b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906154a390830184614a11565b9695505050505050565b6000602082840312156154bf57600080fd5b8151612e068161492a565b634e487b7160e01b600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a26469706673582212200c66069d3b76448d6f4efec4d7bd4d307eecf1da386bc18ee7bc5056f98a4fab64736f6c63430008110033

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

000000000000000000000000f73b733e7459cf1e7321ed45ad7ac08893aebc04

-----Decoded View---------------
Arg [0] : _ownerAdd (address): 0xf73B733e7459cF1E7321Ed45Ad7Ac08893AeBC04

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f73b733e7459cf1e7321ed45ad7ac08893aebc04


Deployed Bytecode Sourcemap

119154:15188:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;133582:181;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;121747:179;;;;;;;;;;-1:-1:-1;121747:179:0;;;;;:::i;:::-;;:::i;:::-;;;1228:14:1;;1221:22;1203:41;;1191:2;1176:18;121747:179:0;1063:187:1;133879:105:0;;;;;;;;;;-1:-1:-1;133879:105:0;;;;;:::i;:::-;;:::i;:::-;;123566:111;;;;;;;;;;-1:-1:-1;123566:111:0;;;;;:::i;:::-;;:::i;121569:157::-;;;;;;;;;;-1:-1:-1;121569:157:0;;;;;:::i;:::-;;:::i;78225:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;112718:33::-;;;;;;;;;;-1:-1:-1;112718:33:0;;;;;;;;79780:311;;;;;;;;;;-1:-1:-1;79780:311:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3188:32:1;;;3170:51;;3158:2;3143:18;79780:311:0;3024:203:1;132229:157:0;;;;;;;;;;-1:-1:-1;132229:157:0;;;;;:::i;:::-;;:::i;126471:103::-;;;;;;;;;;;;;:::i;:::-;;;3698:25:1;;;3686:2;3671:18;126471:103:0;3552:177:1;133771:100:0;;;;;;;;;;-1:-1:-1;133771:100:0;;;;;:::i;:::-;;:::i;93355:122::-;;;;;;;;;;;;;:::i;120038:27::-;;;;;;;;;;-1:-1:-1;120038:27:0;;;;;;;;119484:32;;;;;;;;;;;;;;;;119431:48;;;;;;;;;;-1:-1:-1;119431:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;124615:126;;;;;;;;;;-1:-1:-1;124615:126:0;;;;;:::i;:::-;124714:10;;124682:7;124704:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;124704:31:0;;;;;;;;;;;124615:126;112856:49;;;;;;;;;;-1:-1:-1;112856:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;132394:163;;;;;;;;;;-1:-1:-1;132394:163:0;;;;;:::i;:::-;;:::i;126023:118::-;;;;;;;;;;-1:-1:-1;126023:118:0;;;;;:::i;:::-;;:::i;119982:38::-;;;;;;;;;;;;;:::i;123317:130::-;;;;;;;;;;-1:-1:-1;123317:130:0;;;;;:::i;:::-;;:::i;134042:115::-;;;;;;;;;;-1:-1:-1;134042:115:0;;;;;:::i;:::-;;:::i;71139:442::-;;;;;;;;;;-1:-1:-1;71139:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4825:32:1;;;4807:51;;4889:2;4874:18;;4867:34;;;;4780:18;71139:442:0;4633:274:1;119558:34:0;;;;;;;;;;;;;;;;119302:38;;;;;;;;;;;;;;;;129859:650;;;;;;:::i;:::-;;:::i;119597:34::-;;;;;;;;;;;;;;;;123681:111;;;;;;;;;;-1:-1:-1;123681:111:0;;;;;:::i;:::-;;:::i;112272:34::-;;;;;;;;;;-1:-1:-1;112272:34:0;;;;-1:-1:-1;;;;;112272:34:0;;;129425:412;;;:::i;120625:21::-;;;;;;;;;;;;;;;;120102:31;;;;;;;;;;-1:-1:-1;120102:31:0;;;;;;;;;;;107373:143;;;;;;;;;;;;107473:42;107373:143;;119388:38;;;;;;;;;;;;;;;;132565:171;;;;;;;;;;-1:-1:-1;132565:171:0;;;;;:::i;:::-;;:::i;130529:201::-;;;;;;;;;;-1:-1:-1;130529:201:0;;;;;:::i;:::-;;:::i;130757:98::-;;;;;;;;;;-1:-1:-1;130757:98:0;;;;;:::i;:::-;;:::i;130898:481::-;;;;;;;;;;-1:-1:-1;130898:481:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;119345:38::-;;;;;;;;;;;;;;;;119710:29;;;;;;;;;;;;;;;;112936:27;;;;;;;;;;;;;;;;119744:29;;;;;;;;;;;;;;;;126634:103;;;;;;;;;;-1:-1:-1;126634:103:0;;;;;:::i;:::-;;:::i;101963:22::-;;;;;;;;;;;;;;;;102110:411;;;;;;;;;;-1:-1:-1;102110:411:0;;;;;:::i;:::-;;:::i;77622:222::-;;;;;;;;;;-1:-1:-1;77622:222:0;;;;;:::i;:::-;;:::i;103455:113::-;;;;;;;;;;-1:-1:-1;103455:113:0;;;;;:::i;:::-;-1:-1:-1;;;;;103539:21:0;103515:4;103539:21;;;:10;:21;;;;;;;;;103455:113;122698:179;;;;;;;;;;-1:-1:-1;122698:179:0;;;;;:::i;:::-;;:::i;126145:156::-;;;;;;;;;;-1:-1:-1;126145:156:0;;;;;:::i;:::-;;:::i;77070:490::-;;;;;;;;;;-1:-1:-1;77070:490:0;;;;;:::i;:::-;;:::i;96026:103::-;;;;;;;;;;;;;:::i;133393:181::-;;;;;;;;;;-1:-1:-1;133393:181:0;;;;;:::i;:::-;;:::i;125028:122::-;;;;;;;;;;-1:-1:-1;125028:122:0;;;;;:::i;:::-;;:::i;125752:110::-;;;;;;;;;;-1:-1:-1;125752:110:0;;;;;:::i;:::-;;:::i;124485:126::-;;;;;;;;;;-1:-1:-1;124485:126:0;;;;;:::i;:::-;124584:10;;124552:7;124574:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;124574:31:0;;;;;;;;;;;124485:126;128413:789;;;;;;:::i;:::-;;:::i;115744:176::-;;;;;;;;;;-1:-1:-1;115744:176:0;;;;;:::i;:::-;;:::i;125472:100::-;;;;;;;;;;-1:-1:-1;125472:100:0;;;;;:::i;:::-;;:::i;131442:243::-;;;;;;;;;;-1:-1:-1;131442:243:0;;;;;:::i;:::-;;:::i;119778:25::-;;;;;;;;;;;;;;;;89763:601;;;;;;;;;;-1:-1:-1;89763:601:0;;;;;:::i;:::-;;:::i;95378:87::-;;;;;;;;;;-1:-1:-1;95424:7:0;95451:6;-1:-1:-1;;;;;95451:6:0;95378:87;;123828:103;;;;;;;;;;-1:-1:-1;123828:103:0;;;;;:::i;:::-;;:::i;124745:149::-;;;;;;;;;;-1:-1:-1;124745:149:0;;;;;:::i;:::-;124834:7;124856:22;;;:9;:22;;;;;;;;-1:-1:-1;;;;;124856:32:0;;;;;;;;;;;;;124745:149;122881:174;;;;;;;;;;-1:-1:-1;122881:174:0;;;;;:::i;:::-;;:::i;124898:126::-;;;;;;;;;;-1:-1:-1;124898:126:0;;;;;:::i;:::-;124997:10;;124965:7;124987:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;124987:31:0;;;;;;;;;;;124898:126;78394:104;;;;;;;;;;;;;:::i;119521:32::-;;;;;;;;;;;;;;;;129234:127;;;:::i;132045:176::-;;;;;;;;;;-1:-1:-1;132045:176:0;;;;;:::i;:::-;;:::i;125885:111::-;;;;;;;;;;-1:-1:-1;125885:111:0;;;;;:::i;:::-;;:::i;115928:135::-;;;;;;;;;;-1:-1:-1;115928:135:0;;;;;:::i;:::-;116036:10;116021:26;;;;:14;:26;;;;;:34;115928:135;134216:117;;;;;;;;;;-1:-1:-1;134216:117:0;;;;;:::i;:::-;;:::i;112779:48::-;;;;;;;;;;-1:-1:-1;112779:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;125195:106;;;;;;;;;;-1:-1:-1;125287:7:0;;125251;125273:22;;;:13;:22;;;;;;125195:106;;131915:122;;;;;;;;;;-1:-1:-1;131915:122:0;;;;;:::i;:::-;;:::i;132744:228::-;;;;;;;;;;-1:-1:-1;132744:228:0;;;;;:::i;:::-;;:::i;125325:127::-;;;;;;;;;;-1:-1:-1;125325:127:0;;;;;:::i;:::-;;:::i;126340:101::-;;;;;;;;;;-1:-1:-1;126340:101:0;;;;;:::i;:::-;;:::i;123949:103::-;;;;;;;;;;-1:-1:-1;123949:103:0;;;;;:::i;:::-;;:::i;120070:27::-;;;;;;;;;;-1:-1:-1;120070:27:0;;;;;;;;;;;125619:110;;;;;;;;;;-1:-1:-1;125619:110:0;;;;;:::i;:::-;;:::i;124205:107::-;;;;;;;;;;-1:-1:-1;124205:107:0;;;;;:::i;:::-;;:::i;127633:756::-;;;;;;:::i;:::-;;:::i;127018:330::-;;;;;;;;;;-1:-1:-1;127018:330:0;;;;;:::i;:::-;;:::i;102807:434::-;;;;;;;;;;-1:-1:-1;102807:434:0;;;;;:::i;:::-;;:::i;123080:88::-;;;;;;;;;;-1:-1:-1;123155:7:0;;123080:88;;119675:30;;;;;;;;;;;;;;;;119808:25;;;;;;;;;;;;;;;;120651:23;;;;;;;;;;-1:-1:-1;120651:23:0;;;;-1:-1:-1;;;;;120651:23:0;;;124070:103;;;;;;;;;;-1:-1:-1;124070:103:0;;;;;:::i;:::-;;:::i;126743:131::-;;;;;;;;;;-1:-1:-1;126743:131:0;;;;;:::i;:::-;;:::i;119838:25::-;;;;;;;;;;;;;;;;123451:111;;;;;;;;;;-1:-1:-1;123451:111:0;;;;;:::i;:::-;;:::i;121955:113::-;;;;;;;;;;;;;:::i;116255:309::-;;;;;;;;;;-1:-1:-1;116255:309:0;;;;;:::i;:::-;;:::i;119636:34::-;;;;;;;;;;;;;;;;96284:201;;;;;;;;;;-1:-1:-1;96284:201:0;;;;;:::i;:::-;;:::i;107321:43::-;;;;;;;;;;-1:-1:-1;107321:43:0;;;;;;;;123193:99;;;;;;;;;;-1:-1:-1;123193:99:0;;;;;:::i;:::-;;:::i;127411:202::-;;;;;;;;;;-1:-1:-1;127411:202:0;;;;;:::i;:::-;;:::i;133210:175::-;;;;;;;;;;-1:-1:-1;133210:175:0;;;;;:::i;:::-;;:::i;133582:181::-;133686:16;133727:28;:26;:28::i;:::-;133720:35;;133582:181;:::o;121747:179::-;121864:4;121884:36;121908:11;121884:23;:36::i;:::-;121877:43;121747:179;-1:-1:-1;;121747:179:0:o;133879:105::-;103397:32;74395:10;103397:18;:32::i;:::-;115573:3;:35;;-1:-1:-1;;;;;;115573:35:0;-1:-1:-1;;;;;115573:35:0;;;;;133879:105;:::o;133957:19::-:1;133879:105:::0;:::o;123566:111::-;103397:32;74395:10;103397:18;:32::i;:::-;123647:10:::1;:24:::0;123566:111::o;121569:157::-;103397:32;74395:10;103397:18;:32::i;:::-;121676:44:::1;121695:9;121706:13;121676:18;:44::i;:::-;121569:157:::0;;:::o;78225:100::-;78279:13;78312:5;78305:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78225:100;:::o;79780:311::-;79901:7;79948:16;79956:7;79948;:16::i;:::-;79926:113;;;;-1:-1:-1;;;79926:113:0;;13426:2:1;79926:113:0;;;13408:21:1;13465:2;13445:18;;;13438:30;13504:34;13484:18;;;13477:62;-1:-1:-1;;;13555:18:1;;;13548:45;13610:19;;79926:113:0;;;;;;;;;-1:-1:-1;80059:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;80059:24:0;;79780:311::o;132229:157::-;132325:8;107473:42;109395:45;:49;;;;:77;;-1:-1:-1;109448:24:0;;;;109395:77;109391:253;;;109494:67;;-1:-1:-1;;;109494:67:0;;109545:4;109494:67;;;13852:34:1;-1:-1:-1;;;;;13922:15:1;;13902:18;;;13895:43;107473:42:0;;109494;;13787:18:1;;109494:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;109489:144;;109589:28;;-1:-1:-1;;;109589:28:0;;-1:-1:-1;;;;;3188:32:1;;109589:28:0;;;3170:51:1;3143:18;;109589:28:0;3024:203:1;109489:144:0;132346:32:::1;132360:8;132370:7;132346:13;:32::i;:::-;132229:157:::0;;;:::o;126471:103::-;126529:7;126567:1;126551:14;76337:13;;;76255:103;126551:14;:17;;;;:::i;133771:100::-;103397:32;74395:10;103397:18;:32::i;:::-;133847:8:::1;:16:::0;133771:100::o;93355:122::-;93416:7;93460:9;:7;:9::i;:::-;93443:14;:12;:14::i;132394:163::-;132495:4;107473:42;108621:45;:49;;;;:77;;-1:-1:-1;108674:24:0;;;;108621:77;108617:567;;;108938:10;-1:-1:-1;;;;;108930:18:0;;;108926:85;;132512:37:::1;132531:4;132537:2;132541:7;132512:18;:37::i;:::-;108989:7:::0;;108926:85;109030:69;;-1:-1:-1;;;109030:69:0;;109081:4;109030:69;;;13852:34:1;109088:10:0;13902:18:1;;;13895:43;107473:42:0;;109030;;13787:18:1;;109030:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;109025:148;;109127:30;;-1:-1:-1;;;109127:30:0;;109146:10;109127:30;;;3170:51:1;3143:18;;109127:30:0;3024:203:1;109025:148:0;132512:37:::1;132531:4;132537:2;132541:7;132512:18;:37::i;:::-;132394:163:::0;;;;:::o;126023:118::-;103397:32;74395:10;103397:18;:32::i;:::-;126106:29:::1;126123:11;102069:13:::0;:27;101994:110;119982:38;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;123317:130::-;103397:32;74395:10;103397:18;:32::i;:::-;123411:8:::1;123401:7;:18;;;;123440:1;123426:10;;:15;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;123317:130:0:o;134042:115::-;95264:13;:11;:13::i;:::-;134119:30:::1;134138:10;134119:18;:30::i;71139:442::-:0;71236:7;71294:27;;;:17;:27;;;;;;;;71265:56;;;;;;;;;-1:-1:-1;;;;;71265:56:0;;;;;-1:-1:-1;;;71265:56:0;;;-1:-1:-1;;;;;71265:56:0;;;;;;;;71236:7;;71334:92;;-1:-1:-1;71385:29:0;;;;;;;;;71395:19;71385:29;-1:-1:-1;;;;;71385:29:0;;;;-1:-1:-1;;;71385:29:0;;-1:-1:-1;;;;;71385:29:0;;;;;71334:92;71476:23;;;;71438:21;;71947:5;;71463:36;;-1:-1:-1;;;;;71463:36:0;:10;:36;:::i;:::-;71462:58;;;;:::i;:::-;71541:16;;;;;-1:-1:-1;71139:442:0;;-1:-1:-1;;;;71139:442:0:o;129859:650::-;60121:21;:19;:21::i;:::-;129949:19:::1;::::0;;;::::1;;;129941:52;;;::::0;-1:-1:-1;;;129941:52:0;;15323:2:1;129941:52:0::1;::::0;::::1;15305:21:1::0;15362:2;15342:18;;;15335:30;-1:-1:-1;;;15381:18:1;;;15374:50;15441:18;;129941:52:0::1;15121:344:1::0;129941:52:0::1;130027:7;130008:15;;:26;;130000:78;;;::::0;-1:-1:-1;;;130000:78:0;;15672:2:1;130000:78:0::1;::::0;::::1;15654:21:1::0;15711:2;15691:18;;;15684:30;15750:34;15730:18;;;15723:62;-1:-1:-1;;;15801:18:1;;;15794:37;15848:19;;130000:78:0::1;15470:403:1::0;130000:78:0::1;130110:7;130093:13;;:24;;130085:74;;;::::0;-1:-1:-1;;;130085:74:0;;16080:2:1;130085:74:0::1;::::0;::::1;16062:21:1::0;16119:2;16099:18;;;16092:30;16158:34;16138:18;;;16131:62;-1:-1:-1;;;16209:18:1;;;16202:35;16254:19;;130085:74:0::1;15878:401:1::0;130085:74:0::1;130201:10;::::0;130191:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;130213:10:::1;130191:33:::0;;;;;;;;:43:::1;::::0;130227:7;;130191:43:::1;:::i;:::-;130174:13;;:60;;130166:100;;;::::0;-1:-1:-1;;;130166:100:0;;16486:2:1;130166:100:0::1;::::0;::::1;16468:21:1::0;16525:2;16505:18;;;16498:30;16564:29;16544:18;;;16537:57;16611:18;;130166:100:0::1;16284:351:1::0;130166:100:0::1;130308:7;130294:11;;:21;;;;:::i;:::-;130281:9;:34;130273:71;;;;-1:-1:-1::0;;;130273:71:0::1;;;;;;;:::i;:::-;130389:8;;130370:13;:11;:13::i;:::-;130360:23;::::0;:7;:23:::1;:::i;:::-;130359:39;;130351:64;;;;-1:-1:-1::0;;;130351:64:0::1;;;;;;;:::i;:::-;130432:10;::::0;130422:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;130444:10:::1;130422:33:::0;;;;;;;:44;;130459:7;;130422:21;:44:::1;::::0;130459:7;;130422:44:::1;:::i;:::-;::::0;;;-1:-1:-1;130473:30:0::1;::::0;-1:-1:-1;130483:10:0::1;130495:7:::0;130473:9:::1;:30::i;:::-;60165:20:::0;59559:1;60685:7;:22;60502:213;123681:111;103397:32;74395:10;103397:18;:32::i;:::-;123762:10:::1;:24:::0;123681:111::o;129425:412::-;103397:32;74395:10;103397:18;:32::i;:::-;60121:21:::1;:19;:21::i;:::-;129569:15:::2;::::0;129524:21:::2;::::0;129502:19:::2;::::0;-1:-1:-1;;;;;129569:15:0::2;:29:::0;129566:220:::2;;129652:15;::::0;129644:55:::2;::::0;-1:-1:-1;;;;;129652:15:0;;::::2;::::0;129682:11;;129644:55:::2;::::0;;;129682:11;129652:15;129644:55:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;129635:64;;;;;129566:220;;;95424:7:::0;95451:6;-1:-1:-1;;;;;95451:6:0;-1:-1:-1;;;;;129731:21:0::2;129761:11;129731:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;129722:56:0;;-1:-1:-1;;129566:220:0::2;129800:2;129792:39;;;::::0;-1:-1:-1;;;129792:39:0;;17746:2:1;129792:39:0::2;::::0;::::2;17728:21:1::0;17785:2;17765:18;;;17758:30;17824:26;17804:18;;;17797:54;17868:18;;129792:39:0::2;17544:348:1::0;129792:39:0::2;129495:342;;60165:20:::1;59559:1:::0;60685:7;:22;60502:213;60165:20:::1;129425:412::o:0;132565:171::-;132670:4;107473:42;108621:45;:49;;;;:77;;-1:-1:-1;108674:24:0;;;;108621:77;108617:567;;;108938:10;-1:-1:-1;;;;;108930:18:0;;;108926:85;;132687:41:::1;132710:4;132716:2;132720:7;132687:22;:41::i;108926:85::-:0;109030:69;;-1:-1:-1;;;109030:69:0;;109081:4;109030:69;;;13852:34:1;109088:10:0;13902:18:1;;;13895:43;107473:42:0;;109030;;13787:18:1;;109030:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;109025:148;;109127:30;;-1:-1:-1;;;109127:30:0;;109146:10;109127:30;;;3170:51:1;3143:18;;109127:30:0;3024:203:1;109025:148:0;132687:41:::1;132710:4;132716:2;132720:7;132687:22;:41::i;130529:201::-:0;130616:10;130596:16;130604:7;130596;:16::i;:::-;-1:-1:-1;;;;;130596:30:0;;130588:59;;;;-1:-1:-1;;;130588:59:0;;18099:2:1;130588:59:0;;;18081:21:1;18138:2;18118:18;;;18111:30;-1:-1:-1;;;18157:18:1;;;18150:46;18213:18;;130588:59:0;17897:340:1;130588:59:0;130666:8;;;;;;;:17;130658:39;;;;-1:-1:-1;;;130658:39:0;;18444:2:1;130658:39:0;;;18426:21:1;18483:1;18463:18;;;18456:29;-1:-1:-1;;;18501:18:1;;;18494:39;18550:18;;130658:39:0;18242:332:1;130658:39:0;130708:14;130714:7;130708:5;:14::i;130757:98::-;103397:32;74395:10;103397:18;:32::i;:::-;130831:8:::1;:16:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;130831:16:0;;::::1;::::0;;;::::1;::::0;;130757:98::o;130898:481::-;130970:16;130995:23;131021:19;131031:8;131021:9;:19::i;:::-;130995:45;;131047:25;131089:15;-1:-1:-1;;;;;131075:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;131075:30:0;-1:-1:-1;131047:58:0;-1:-1:-1;131181:18:0;121502:1;131210:142;131265:1;131249:14;76337:13;;;76255:103;131249:14;:17;;;;:::i;:::-;131244:1;:23;131210:142;;;131298:18;;-1:-1:-1;;;131298:18:0;;;;;3698:25:1;;;131298:4:0;;:15;;3671:18:1;;131298::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;131286:30:0;:8;-1:-1:-1;;;;;131286:30:0;;131283:61;;131343:1;131318:8;131327:12;;;;:::i;:::-;;;131318:22;;;;;;;;:::i;:::-;;;;;;:26;;;;;131283:61;131269:3;;;;:::i;:::-;;;;131210:142;;;-1:-1:-1;131365:8:0;;130898:481;-1:-1:-1;;;;130898:481:0:o;126634:103::-;103397:32;74395:10;103397:18;:32::i;:::-;126711:13:::1;:20;126727:4:::0;126711:13;:20:::1;:::i;102110:411::-:0;102202:4;102219:13;102262:7;102245:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;102235:36;;;;;;102219:52;;102287:9;102282:192;102306:6;:13;102302:1;:17;102282:192;;;102357:6;102364:1;102357:9;;;;;;;;:::i;:::-;;;;;;;102349:5;:17;:113;;102444:6;102451:1;102444:9;;;;;;;;:::i;:::-;;;;;;;102455:5;102427:34;;;;;;;;21762:19:1;;;21806:2;21797:12;;21790:28;21843:2;21834:12;;21605:247;102427:34:0;;;;;;;;;;;;;102417:45;;;;;;102349:113;;;102396:5;102403:6;102410:1;102403:9;;;;;;;;:::i;:::-;;;;;;;102379:34;;;;;;;;21762:19:1;;;21806:2;21797:12;;21790:28;21843:2;21834:12;;21605:247;102379:34:0;;;;;;;;;;;;;102369:45;;;;;;102349:113;102341:121;-1:-1:-1;102321:3:0;;;;:::i;:::-;;;;102282:192;;;-1:-1:-1;102500:13:0;;102491:22;;102110:411;-1:-1:-1;;;102110:411:0:o;77622:222::-;77739:7;77765:13;77784:29;77805:7;77784:20;:29::i;:::-;-1:-1:-1;77764:49:0;77622:222;-1:-1:-1;;;77622:222:0:o;122698:179::-;103397:32;74395:10;103397:18;:32::i;:::-;122802:10:::1;122785:13;:11;:13::i;:::-;:27;;122777:65;;;::::0;-1:-1:-1;;;122777:65:0;;22059:2:1;122777:65:0::1;::::0;::::1;22041:21:1::0;22098:2;22078:18;;;22071:30;-1:-1:-1;;;22117:18:1;;;22110:55;22182:18;;122777:65:0::1;21857:349:1::0;122777:65:0::1;122849:9;:22:::0;122698:179::o;126145:156::-;103397:32;74395:10;103397:18;:32::i;:::-;102627:23;;;;:13;:23;;;;;;:37;121569:157::o;77070:490::-;77192:4;-1:-1:-1;;;;;77223:19:0;;77215:77;;;;-1:-1:-1;;;77215:77:0;;22413:2:1;77215:77:0;;;22395:21:1;22452:2;22432:18;;;22425:30;22491:34;22471:18;;;22464:62;-1:-1:-1;;;22542:18:1;;;22535:43;22595:19;;77215:77:0;22211:409:1;77215:77:0;77305:10;121502:1;77326:204;76337:13;;77357:1;:18;77326:204;;;77400:10;77408:1;77400:7;:10::i;:::-;77397:122;;;77443:10;77451:1;77443:7;:10::i;:::-;-1:-1:-1;;;;;77434:19:0;:5;-1:-1:-1;;;;;77434:19:0;;77430:74;;77477:7;;;:::i;:::-;;;77430:74;77377:3;;;:::i;:::-;;;77326:204;;;-1:-1:-1;77547:5:0;77070:490;-1:-1:-1;;77070:490:0:o;96026:103::-;95264:13;:11;:13::i;:::-;96091:30:::1;96118:1;96091:18;:30::i;133393:181::-:0;103397:32;74395:10;103397:18;:32::i;:::-;133525:41:::1;133555:10;133525:29;:41::i;125028:122::-:0;125102:7;125124:11;125136:7;125124:20;;;;;;:::i;:::-;;;;;;;;;;;;;;125117:27;;125028:122;;;:::o;125752:110::-;103397:32;74395:10;103397:18;:32::i;:::-;125833:15:::1;:23:::0;;;::::1;;;;-1:-1:-1::0;;125833:23:0;;::::1;::::0;;;::::1;::::0;;125752:110::o;128413:789::-;60121:21;:19;:21::i;:::-;128531:15:::1;::::0;::::1;::::0;::::1;;;128523:51;;;::::0;-1:-1:-1;;;128523:51:0;;22827:2:1;128523:51:0::1;::::0;::::1;22809:21:1::0;22866:2;22846:18;;;22839:30;22905:25;22885:18;;;22878:53;22948:18;;128523:51:0::1;22625:347:1::0;128523:51:0::1;128589:41;128603:10;128614:7;;128623:6;128589:13;:41::i;:::-;128581:78;;;::::0;-1:-1:-1;;;128581:78:0;;23179:2:1;128581:78:0::1;::::0;::::1;23161:21:1::0;23218:2;23198:18;;;23191:30;-1:-1:-1;;;23237:18:1;;;23230:54;23301:18;;128581:78:0::1;22977:348:1::0;128581:78:0::1;128693:7;128674:15;;:26;;128666:81;;;::::0;-1:-1:-1;;;128666:81:0;;23532:2:1;128666:81:0::1;::::0;::::1;23514:21:1::0;23571:2;23551:18;;;23544:30;23610:34;23590:18;;;23583:62;-1:-1:-1;;;23661:18:1;;;23654:40;23711:19;;128666:81:0::1;23330:406:1::0;128666:81:0::1;128776:7;::::0;128762:22:::1;::::0;;;:13:::1;:22;::::0;;;;;:33;-1:-1:-1;128762:33:0::1;128754:86;;;::::0;-1:-1:-1;;;128754:86:0;;23943:2:1;128754:86:0::1;::::0;::::1;23925:21:1::0;23982:2;23962:18;;;23955:30;24021:34;24001:18;;;23994:62;-1:-1:-1;;;24072:18:1;;;24065:38;24120:19;;128754:86:0::1;23741:404:1::0;128754:86:0::1;128891:10;::::0;128881:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;128903:10:::1;128881:33:::0;;;;;;;;:43:::1;::::0;128917:7;;128881:43:::1;:::i;:::-;128869:7;::::0;128855:22:::1;::::0;;;:13:::1;:22;::::0;;;;;:69:::1;;128847:112;;;::::0;-1:-1:-1;;;128847:112:0;;24352:2:1;128847:112:0::1;::::0;::::1;24334:21:1::0;24391:2;24371:18;;;24364:30;24430:32;24410:18;;;24403:60;24480:18;;128847:112:0::1;24150:354:1::0;128847:112:0::1;129001:7;128987:11;;:21;;;;:::i;:::-;128974:9;:34;128966:71;;;;-1:-1:-1::0;;;128966:71:0::1;;;;;;;:::i;:::-;129082:8;;129063:13;:11;:13::i;:::-;129053:23;::::0;:7;:23:::1;:::i;:::-;129052:39;;129044:64;;;;-1:-1:-1::0;;;129044:64:0::1;;;;;;;:::i;:::-;129125:10;::::0;129115:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;129137:10:::1;129115:33:::0;;;;;;;:44;;129152:7;;129115:21;:44:::1;::::0;129152:7;;129115:44:::1;:::i;:::-;::::0;;;-1:-1:-1;129166:30:0::1;::::0;-1:-1:-1;129176:10:0::1;129188:7:::0;129166:9:::1;:30::i;:::-;60165:20:::0;59559:1;60685:7;:22;60502:213;115744:176;115857:7;112452:16;112460:7;112452;:16::i;:::-;-1:-1:-1;;;;;112438:30:0;:10;-1:-1:-1;;;;;112438:30:0;;112416:122;;;;-1:-1:-1;;;112416:122:0;;24711:2:1;112416:122:0;;;24693:21:1;24750:2;24730:18;;;24723:30;24789:34;24769:18;;;24762:62;-1:-1:-1;;;24840:18:1;;;24833:40;24890:19;;112416:122:0;24509:406:1;112416:122:0;-1:-1:-1;115882:22:0::1;::::0;;;:13:::1;:22;::::0;;;;;:30;115744:176::o;125472:100::-;103397:32;74395:10;103397:18;:32::i;:::-;125546:13:::1;:20:::0;125472:100::o;131442:243::-;131531:21;;-1:-1:-1;;;131531:21:0;;;;;3698:25:1;;;131511:7:0;;131531:4;;:12;;3671:18:1;;131531:21:0;;;;;;;;;;;;;;;;;;-1:-1:-1;131531:21:0;;;;;;;;-1:-1:-1;;131531:21:0;;;;;;;;;;;;:::i;:::-;;;131527:153;;-1:-1:-1;131647:1:0;;131442:243;-1:-1:-1;131442:243:0:o;131527:153::-;131442:243;;;:::o;89763:601::-;89832:16;89886:19;89920:22;89945:16;89955:5;89945:9;:16::i;:::-;89920:41;;89976:25;90018:14;-1:-1:-1;;;;;90004:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;90004:29:0;-1:-1:-1;89976:57:0;-1:-1:-1;121502:1:0;90048:265;90097:14;90082:11;:29;90048:265;;90141:10;90149:1;90141:7;:10::i;:::-;90137:161;;;90194:5;-1:-1:-1;;;;;90180:19:0;:10;90188:1;90180:7;:10::i;:::-;-1:-1:-1;;;;;90180:19:0;;90176:103;;90254:1;90228:8;90237:13;;;;;;90228:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;90176:103;90113:3;;90048:265;;;-1:-1:-1;90334:8:0;89763:601;-1:-1:-1;;;;89763:601:0:o;123828:103::-;103397:32;74395:10;103397:18;:32::i;:::-;123903:11:::1;:22:::0;123828:103::o;122881:174::-;103397:32;74395:10;103397:18;:32::i;:::-;122983:9:::1;122966:13;:11;:13::i;:::-;:26;;122958:64;;;::::0;-1:-1:-1;;;122958:64:0;;22059:2:1;122958:64:0::1;::::0;::::1;22041:21:1::0;22098:2;22078:18;;;22071:30;-1:-1:-1;;;22117:18:1;;;22110:55;22182:18;;122958:64:0::1;21857:349:1::0;122958:64:0::1;123029:8;:20:::0;122881:174::o;78394:104::-;78450:13;78483:7;78476:14;;;;;:::i;129234:127::-;60121:21;:19;:21::i;:::-;129325:1:::1;129313:9;:13;129305:50;;;;-1:-1:-1::0;;;129305:50:0::1;;;;;;;:::i;:::-;60165:20:::0;59559:1;60685:7;:22;60502:213;132045:176;132149:8;107473:42;109395:45;:49;;;;:77;;-1:-1:-1;109448:24:0;;;;109395:77;109391:253;;;109494:67;;-1:-1:-1;;;109494:67:0;;109545:4;109494:67;;;13852:34:1;-1:-1:-1;;;;;13922:15:1;;13902:18;;;13895:43;107473:42:0;;109494;;13787:18:1;;109494:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;109489:144;;109589:28;;-1:-1:-1;;;109589:28:0;;-1:-1:-1;;;;;3188:32:1;;109589:28:0;;;3170:51:1;3143:18;;109589:28:0;3024:203:1;109489:144:0;132170:43:::1;132194:8;132204;132170:23;:43::i;125885:111::-:0;103397:32;74395:10;103397:18;:32::i;:::-;125963:19:::1;:27:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;125963:27:0;;::::1;::::0;;;::::1;::::0;;125885:111::o;134216:117::-;95264:13;:11;:13::i;:::-;134294:31:::1;134314:10;134294:19;:31::i;131915:122::-:0;103397:32;74395:10;103397:18;:32::i;:::-;131997:24:::1;:32:::0;;-1:-1:-1;;131997:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;131915:122::o;132744:228::-;132895:4;107473:42;108621:45;:49;;;;:77;;-1:-1:-1;108674:24:0;;;;108621:77;108617:567;;;108938:10;-1:-1:-1;;;;;108930:18:0;;;108926:85;;132917:47:::1;132940:4;132946:2;132950:7;132959:4;132917:22;:47::i;:::-;108989:7:::0;;108926:85;109030:69;;-1:-1:-1;;;109030:69:0;;109081:4;109030:69;;;13852:34:1;109088:10:0;13902:18:1;;;13895:43;107473:42:0;;109030;;13787:18:1;;109030:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;109025:148;;109127:30;;-1:-1:-1;;;109127:30:0;;109146:10;109127:30;;;3170:51:1;3143:18;;109127:30:0;3024:203:1;109025:148:0;132917:47:::1;132940:4;132946:2;132950:7;132959:4;132917:22;:47::i;:::-;132744:228:::0;;;;;:::o;125325:127::-;103397:32;74395:10;103397:18;:32::i;:::-;125416:23:::1;::::0;;;:13:::1;:23;::::0;;;;;:30;125325:127::o;126340:101::-;103397:32;74395:10;103397:18;:32::i;:::-;126419:9:::1;:16;126431:4:::0;126419:9;:16:::1;:::i;123949:103::-:0;103397:32;74395:10;103397:18;:32::i;:::-;124024:11:::1;:22:::0;123949:103::o;125619:110::-;103397:32;74395:10;103397:18;:32::i;:::-;125700:15:::1;:23:::0;;-1:-1:-1;;125700:23:0::1;::::0;::::1;;::::0;;;::::1;::::0;;125619:110::o;124205:107::-;103397:32;74395:10;103397:18;:32::i;:::-;124283:8:::1;:23:::0;124205:107::o;127633:756::-;60121:21;:19;:21::i;:::-;127773:15:::1;::::0;::::1;;127765:51;;;::::0;-1:-1:-1;;;127765:51:0;;25122:2:1;127765:51:0::1;::::0;::::1;25104:21:1::0;25161:2;25141:18;;;25134:30;25200:25;25180:18;;;25173:53;25243:18;;127765:51:0::1;24920:347:1::0;127765:51:0::1;127831:30;127845:7;127854:6;127831:13;:30::i;:::-;127823:67;;;::::0;-1:-1:-1;;;127823:67:0;;23179:2:1;127823:67:0::1;::::0;::::1;23161:21:1::0;23218:2;23198:18;;;23191:30;-1:-1:-1;;;23237:18:1;;;23230:54;23301:18;;127823:67:0::1;22977:348:1::0;127823:67:0::1;127934:10;::::0;127924:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;127946:10:::1;127924:33:::0;;;;;;;;:43:::1;::::0;127960:7;;127924:43:::1;:::i;:::-;127905:15;;:62;;127897:105;;;::::0;-1:-1:-1;;;127897:105:0;;24352:2:1;127897:105:0::1;::::0;::::1;24334:21:1::0;24391:2;24371:18;;;24364:30;24430:32;24410:18;;;24403:60;24480:18;;127897:105:0::1;24150:354:1::0;127897:105:0::1;128057:7;128034:11;128046:7;128034:20;;;;;;:::i;:::-;;;;;;;;;;;;;;:30;;;;:::i;:::-;128017:13;;:47;;128009:99;;;::::0;-1:-1:-1;;;128009:99:0;;25474:2:1;128009:99:0::1;::::0;::::1;25456:21:1::0;25513:2;25493:18;;;25486:30;25552:34;25532:18;;;25525:62;-1:-1:-1;;;25603:18:1;;;25596:37;25650:19;;128009:99:0::1;25272:403:1::0;128009:99:0::1;128150:7;128136:11;;:21;;;;:::i;:::-;128123:9;:34;128115:71;;;;-1:-1:-1::0;;;128115:71:0::1;;;;;;;:::i;:::-;128231:8;;128212:13;:11;:13::i;:::-;128202:23;::::0;:7;:23:::1;:::i;:::-;128201:39;;128193:64;;;;-1:-1:-1::0;;;128193:64:0::1;;;;;;;:::i;:::-;128274:10;::::0;128264:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;128286:10:::1;128264:33:::0;;;;;;;:44;;128301:7;;128264:21;:44:::1;::::0;128301:7;;128264:44:::1;:::i;:::-;;;;;;;;128339:7;128315:11;128327:7;128315:20;;;;;;:::i;:::-;;;;;;;;;;;;;;:31;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;128353:30:0::1;::::0;-1:-1:-1;128363:10:0::1;128375:7:::0;128353:9:::1;:30::i;:::-;60165:20:::0;59559:1;60685:7;:22;60502:213;127018:330;127092:13;127122:17;127130:8;127122:7;:17::i;:::-;127114:61;;;;-1:-1:-1;;;127114:61:0;;25882:2:1;127114:61:0;;;25864:21:1;25921:2;25901:18;;;25894:30;25960:33;25940:18;;;25933:61;26011:18;;127114:61:0;25680:355:1;127114:61:0;127185:21;127197:8;124443;;-1:-1:-1;124431:20:0;;124342:115;127185:21;127182:138;;;127249:17;:15;:17::i;:::-;127268:26;127285:8;127268:16;:26::i;:::-;127296:14;127232:79;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;127218:94;;127018:330;;;:::o;127182:138::-;127333:9;127326:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;127018:330;;;:::o;102807:434::-;102954:26;;-1:-1:-1;;27450:2:1;27446:15;;;27442:53;102954:26:0;;;27430:66:1;102911:4:0;;;;27512:12:1;;102954:26:0;;;;;;;;;;;;102944:37;;;;;;102928:53;;102997:9;102992:192;103016:6;:13;103012:1;:17;102992:192;;;103067:6;103074:1;103067:9;;;;;;;;:::i;:::-;;;;;;;103059:5;:17;:113;;103154:6;103161:1;103154:9;;;;;;;;:::i;:::-;;;;;;;103165:5;103137:34;;;;;;;;21762:19:1;;;21806:2;21797:12;;21790:28;21843:2;21834:12;;21605:247;103137:34:0;;;;;;;;;;;;;103127:45;;;;;;103059:113;;;103106:5;103113:6;103120:1;103113:9;;;;;;;;:::i;:::-;;;;;;;103089:34;;;;;;;;21762:19:1;;;21806:2;21797:12;;21790:28;21843:2;21834:12;;21605:247;103089:34:0;;;;;;;;;;;;;103079:45;;;;;;103059:113;103051:121;-1:-1:-1;103031:3:0;;;;:::i;:::-;;;;102992:192;;;-1:-1:-1;103210:23:0;;;;:13;:23;;;;;;103201:32;;-1:-1:-1;102807:434:0;;;;;:::o;124070:103::-;103397:32;74395:10;103397:18;:32::i;:::-;124145:11:::1;:22:::0;124070:103::o;126743:131::-;103397:32;74395:10;103397:18;:32::i;:::-;126834:14:::1;:34;126851:17:::0;126834:14;:34:::1;:::i;123451:111::-:0;103397:32;74395:10;103397:18;:32::i;:::-;123532:10:::1;:24:::0;123451:111::o;121955:113::-;122009:13;122042:20;:18;:20::i;116255:309::-;116397:4;116423:27;116434:5;116441:8;116423:10;:27::i;:::-;:36;;116454:5;116423:36;116419:81;;-1:-1:-1;116483:5:0;116476:12;;116419:81;-1:-1:-1;;;;;80735:25:0;;;80706:4;80735:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;116517:39;116510:46;116255:309;-1:-1:-1;;;116255:309:0:o;96284:201::-;95264:13;:11;:13::i;:::-;-1:-1:-1;;;;;96373:22:0;::::1;96365:73;;;::::0;-1:-1:-1;;;96365:73:0;;27737:2:1;96365:73:0::1;::::0;::::1;27719:21:1::0;27776:2;27756:18;;;27749:30;27815:34;27795:18;;;27788:62;-1:-1:-1;;;27866:18:1;;;27859:36;27912:19;;96365:73:0::1;27535:402:1::0;96365:73:0::1;96449:28;96468:8;96449:18;:28::i;123193:99::-:0;103397:32;74395:10;103397:18;:32::i;:::-;123268:7:::1;:18:::0;123193:99::o;127411:202::-;103397:32;74395:10;103397:18;:32::i;:::-;127545:9:::1;;127526:13;:11;:13::i;:::-;127516:23;::::0;:7;:23:::1;:::i;:::-;127515:40;;127507:65;;;;-1:-1:-1::0;;;127507:65:0::1;;;;;;;:::i;:::-;127579:28;127589:8;127599:7;127579:9;:28::i;133210:175::-:0;103397:32;74395:10;103397:18;:32::i;:::-;133339:38:::1;133366:10;133339:26;:38::i;42915:447::-:0;42990:13;43016:19;43048:10;43052:6;43048:1;:10;:::i;:::-;:14;;43061:1;43048:14;:::i;:::-;-1:-1:-1;;;;;43038:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43038:25:0;;43016:47;;-1:-1:-1;;;43074:6:0;43081:1;43074:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;43074:15:0;;;;;;;;;-1:-1:-1;;;43100:6:0;43107:1;43100:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;43100:15:0;;;;;;;;-1:-1:-1;43131:9:0;43143:10;43147:6;43143:1;:10;:::i;:::-;:14;;43156:1;43143:14;:::i;:::-;43131:26;;43126:131;43163:1;43159;:5;43126:131;;;-1:-1:-1;;;43207:5:0;43215:3;43207:11;43198:21;;;;;;;:::i;:::-;;;;43186:6;43193:1;43186:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;43186:33:0;;;;;;;;-1:-1:-1;43244:1:0;43234:11;;;;;43166:3;;;:::i;:::-;;;43126:131;;;-1:-1:-1;43275:10:0;;43267:55;;;;-1:-1:-1;;;43267:55:0;;28285:2:1;43267:55:0;;;28267:21:1;;;28304:18;;;28297:30;28363:34;28343:18;;;28336:62;28415:18;;43267:55:0;28083:356:1;11469:152:0;11539:4;11563:50;11568:3;-1:-1:-1;;;;;11588:23:0;;11563:4;:50::i;113584:183::-;113688:16;113729:30;:21;:28;:30::i;70869:215::-;70971:4;-1:-1:-1;;;;;;70995:41:0;;-1:-1:-1;;;70995:41:0;;:81;;;71040:36;71064:11;71040:23;:36::i;104154:370::-;-1:-1:-1;;;;;104248:21:0;;;;;;:10;:21;;;;;;;;104381:46;74395:10;104409:12;-1:-1:-1;;;;;104381:46:0;104424:2;104381:19;:46::i;:::-;104309:181;;;;;;;;:::i;:::-;;;;;;;;;;;;;104226:290;;;;;-1:-1:-1;;;104226:290:0;;;;;;;;:::i;72231:332::-;71947:5;-1:-1:-1;;;;;72334:33:0;;;;72326:88;;;;-1:-1:-1;;;72326:88:0;;29262:2:1;72326:88:0;;;29244:21:1;29301:2;29281:18;;;29274:30;29340:34;29320:18;;;29313:62;-1:-1:-1;;;29391:18:1;;;29384:40;29441:19;;72326:88:0;29060:406:1;72326:88:0;-1:-1:-1;;;;;72433:22:0;;72425:60;;;;-1:-1:-1;;;72425:60:0;;29673:2:1;72425:60:0;;;29655:21:1;29712:2;29692:18;;;29685:30;29751:27;29731:18;;;29724:55;29796:18;;72425:60:0;29471:349:1;72425:60:0;72520:35;;;;;;;;;-1:-1:-1;;;;;72520:35:0;;;;;;-1:-1:-1;;;;;72520:35:0;;;;;;;;;;-1:-1:-1;;;72498:57:0;;;;:19;:57;72231:332::o;93072:207::-;93165:12;51107:10;;;93146:4;51194:20;;;;;;;;;;;;-1:-1:-1;;;51171:4:0;51163:12;;51143:33;51194:27;:32;93162:69;;-1:-1:-1;93214:5:0;;93072:207;-1:-1:-1;93072:207:0:o;93162:69::-;93249:22;93263:7;93249:13;:22::i;117154:185::-;117267:27;117282:2;117286:7;117267:14;:27::i;:::-;117305:26;117319:2;117323:7;117305:13;:26::i;93548:346::-;76337:13;;93590:14;;;;;;93690:25;;93657:1;93691:19;93714:1;93690:25;:::i;:::-;93669:46;-1:-1:-1;93742:11:0;93728:159;93759:10;93755:1;:14;93728:159;;;93791:14;57741:20;;;93808:12;57741:20;;;;;;93858:17;57741:20;93858:9;:17::i;:::-;93848:27;;;;:::i;:::-;;;93776:111;93771:3;;;;;:::i;:::-;;;;93728:159;;;;93605:289;;93548:346;:::o;76456:121::-;76511:7;121502:1;76538:13;;:31;;;;:::i;80845:379::-;81054:41;74395:10;81087:7;81054:18;:41::i;:::-;81032:143;;;;-1:-1:-1;;;81032:143:0;;;;;;;:::i;:::-;81188:28;81198:4;81204:2;81208:7;81188:9;:28::i;95543:132::-;95424:7;95451:6;-1:-1:-1;;;;;95451:6:0;74395:10;95607:23;95599:68;;;;-1:-1:-1;;;95599:68:0;;30448:2:1;95599:68:0;;;30430:21:1;;;30467:18;;;30460:30;30526:34;30506:18;;;30499:62;30578:18;;95599:68:0;30246:356:1;103574:421:0;-1:-1:-1;;;;;103665:22:0;;;;;;:10;:22;;;;;;;;103664:23;103799:46;74395:10;103827:12;74315:98;103799:46;103727:194;;;;;;;;:::i;:::-;;;;;;;;;;;;;103642:305;;;;;-1:-1:-1;;;103642:305:0;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;103958:22:0;;;;;:10;:22;;;;;:29;;-1:-1:-1;;103958:29:0;103983:4;103958:29;;;103574:421::o;60201:293::-;59603:1;60335:7;;:19;60327:63;;;;-1:-1:-1;;;60327:63:0;;31438:2:1;60327:63:0;;;31420:21:1;31477:2;31457:18;;;31450:30;31516:33;31496:18;;;31489:61;31567:18;;60327:63:0;31236:355:1;60327:63:0;59603:1;60468:7;:18;60201:293::o;84542:112::-;84619:27;84629:2;84633:8;84619:27;;;;;;;;;;;;:9;:27::i;81295:185::-;81433:39;81450:4;81456:2;81460:7;81433:39;;;;;;;;;;;;:16;:39::i;92438:321::-;92498:12;92513:16;92521:7;92513;:16::i;:::-;92498:31;;92602:25;:12;92619:7;92602:16;:25::i;:::-;92653:35;;92680:7;;92676:1;;-1:-1:-1;;;;;92653:35:0;;;;;92676:1;;92653:35;92701:50;92722:4;92736:1;92740:7;92749:1;92701:20;:50::i;77852:306::-;77930:13;77945:24;77989:16;77997:7;77989;:16::i;:::-;77981:73;;;;-1:-1:-1;;;77981:73:0;;31798:2:1;77981:73:0;;;31780:21:1;31837:2;31817:18;;;31810:30;31876:34;31856:18;;;31849:62;-1:-1:-1;;;31927:18:1;;;31920:42;31979:19;;77981:73:0;31596:408:1;77981:73:0;78084:22;78098:7;78084:13;:22::i;:::-;78125:25;;;;:7;:25;;;;;;-1:-1:-1;;;;;78125:25:0;;78065:41;;-1:-1:-1;77852:306:0;-1:-1:-1;;77852:306:0:o;96645:191::-;96719:16;96738:6;;-1:-1:-1;;;;;96755:17:0;;;-1:-1:-1;;;;;;96755:17:0;;;;;;96788:40;;96738:6;;;;;;;96788:40;;96719:16;96788:40;96708:128;96645:191;:::o;113363:213::-;113473:40;:21;113502:10;113473:28;:40::i;:::-;-1:-1:-1;113529:39:0;;-1:-1:-1;;;;;113529:39:0;;;113545:10;;113529:39;;;;;113363:213;:::o;116572:325::-;116721:20;116732:8;116721:10;:20::i;:::-;:41;;;-1:-1:-1;116745:17:0;;116721:41;116699:136;;;;-1:-1:-1;;;116699:136:0;;32211:2:1;116699:136:0;;;32193:21:1;32250:2;32230:18;;;32223:30;32289:34;32269:18;;;32262:62;-1:-1:-1;;;32340:18:1;;;32333:43;32393:19;;116699:136:0;32009:409:1;116699:136:0;116846:43;116870:8;116880;116846:23;:43::i;104001:147::-;104070:30;104089:10;104070:18;:30::i;:::-;-1:-1:-1;;;;;104118:22:0;;;;;:10;:22;;;;;104111:29;;-1:-1:-1;;104111:29:0;;;104001:147::o;81551:368::-;81740:41;74395:10;81773:7;81740:18;:41::i;:::-;81718:143;;;;-1:-1:-1;;;81718:143:0;;;;;;;:::i;:::-;81872:39;81886:4;81892:2;81896:7;81905:5;81872:13;:39::i;126913:97::-;126963:13;126991;126984:20;;;;;:::i;41783:716::-;41839:13;41890:14;41907:17;41918:5;41907:10;:17::i;:::-;41927:1;41907:21;41890:38;;41943:20;41977:6;-1:-1:-1;;;;;41966:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41966:18:0;-1:-1:-1;41943:41:0;-1:-1:-1;42108:28:0;;;42124:2;42108:28;42165:288;-1:-1:-1;;42197:5:0;-1:-1:-1;;;42334:2:0;42323:14;;42318:30;42197:5;42305:44;42395:2;42386:11;;;-1:-1:-1;42416:21:0;42165:288;42416:21;-1:-1:-1;42474:6:0;41783:716;-1:-1:-1;;;41783:716:0:o;122094:567::-;122147:13;122170:16;;122215:32;122170:16;71947:5;122215:11;:32::i;:::-;122169:78;;;;122356:283;122468:33;122485:15;122468:16;:33::i;:::-;122543:51;122579:8;-1:-1:-1;;;;;122563:26:0;122591:2;122543:19;:51::i;:::-;122402:213;;;;;;;;;:::i;:::-;;;;;;;;;;;;;122356:13;:283::i;:::-;122287:361;;;;;;;;:::i;:::-;;;;;;;;;;;;;122265:390;;;;122094:567;:::o;114418:236::-;114541:4;114563:13;114579:20;114592:6;114579:12;:20::i;:::-;114563:36;;114617:29;114628:10;114640:5;114617:10;:29::i;:::-;114610:36;114418:236;-1:-1:-1;;;;114418:236:0:o;113150:205::-;113257:37;:21;113283:10;113257:25;:37::i;:::-;-1:-1:-1;113310:37:0;;-1:-1:-1;;;;;113310:37:0;;;113324:10;;113310:37;;;;;113150:205;:::o;5200:414::-;5263:4;7393:19;;;:12;;;:19;;;;;;5280:327;;-1:-1:-1;5323:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;5506:18;;5484:19;;;:12;;;:19;;;;;;:40;;;;5539:11;;5280:327;-1:-1:-1;5590:5:0;5583:12;;13473:310;13536:16;13565:22;13590:19;13598:3;13590:7;:19::i;117798:288::-;117928:4;-1:-1:-1;;;;;;117970:55:0;;-1:-1:-1;;;117970:55:0;;:108;;;118042:36;118066:11;118042:23;:36::i;83413:151::-;83478:4;83512:14;76337:13;;;76255:103;83512:14;83502:7;:24;:54;;;;-1:-1:-1;;121502:1:0;83530:26;;;83413:151::o;116905:241::-;-1:-1:-1;;;;;117013:16:0;;;117009:130;;117054:23;117065:7;117074:2;117054:10;:23::i;:::-;117046:81;;;;-1:-1:-1;;;117046:81:0;;34146:2:1;117046:81:0;;;34128:21:1;34185:2;34165:18;;;34158:30;34224:34;34204:18;;;34197:62;-1:-1:-1;;;34275:18:1;;;34268:43;34328:19;;117046:81:0;33944:409:1;79304:410:0;79385:13;79401:16;79409:7;79401;:16::i;:::-;79385:32;;79442:5;-1:-1:-1;;;;;79436:11:0;:2;-1:-1:-1;;;;;79436:11:0;;79428:60;;;;-1:-1:-1;;;79428:60:0;;34560:2:1;79428:60:0;;;34542:21:1;34599:2;34579:18;;;34572:30;34638:34;34618:18;;;34611:62;-1:-1:-1;;;34689:18:1;;;34682:34;34733:19;;79428:60:0;34358:400:1;79428:60:0;74395:10;-1:-1:-1;;;;;79523:21:0;;;;:62;;-1:-1:-1;79548:37:0;79565:5;74395:10;116255:309;:::i;79548:37::-;79501:171;;;;-1:-1:-1;;;79501:171:0;;34965:2:1;79501:171:0;;;34947:21:1;35004:2;34984:18;;;34977:30;35043:34;35023:18;;;35016:62;35114:29;35094:18;;;35087:57;35161:19;;79501:171:0;34763:423:1;79501:171:0;79685:21;79694:2;79698:7;79685:8;:21::i;93961:177::-;94013:13;94063:56;94077:4;;94063:56;;-1:-1:-1;;94114:5:0;;94109:10;;;;94118:1;94083:7;94063:56;;83731:448;83860:4;83904:16;83912:7;83904;:16::i;:::-;83882:113;;;;-1:-1:-1;;;83882:113:0;;35393:2:1;83882:113:0;;;35375:21:1;35432:2;35412:18;;;35405:30;35471:34;35451:18;;;35444:62;-1:-1:-1;;;35522:18:1;;;35515:45;35577:19;;83882:113:0;35191:411:1;83882:113:0;84006:13;84022:16;84030:7;84022;:16::i;:::-;84006:32;;84068:5;-1:-1:-1;;;;;84057:16:0;:7;-1:-1:-1;;;;;84057:16:0;;:64;;;;84114:7;-1:-1:-1;;;;;84090:31:0;:20;84102:7;84090:11;:20::i;:::-;-1:-1:-1;;;;;84090:31:0;;84057:64;:113;;;;84138:32;84155:5;84162:7;84138:16;:32::i;86154:1057::-;86279:13;86294:24;86322:29;86343:7;86322:20;:29::i;:::-;86278:73;;;;86395:4;-1:-1:-1;;;;;86386:13:0;:5;-1:-1:-1;;;;;86386:13:0;;86364:107;;;;-1:-1:-1;;;86364:107:0;;35809:2:1;86364:107:0;;;35791:21:1;35848:2;35828:18;;;35821:30;35887:34;35867:18;;;35860:62;-1:-1:-1;;;35938:18:1;;;35931:42;35990:19;;86364:107:0;35607:408:1;86364:107:0;-1:-1:-1;;;;;86490:16:0;;86482:68;;;;-1:-1:-1;;;86482:68:0;;36222:2:1;86482:68:0;;;36204:21:1;36261:2;36241:18;;;36234:30;36300:34;36280:18;;;36273:62;-1:-1:-1;;;36351:18:1;;;36344:37;36398:19;;86482:68:0;36020:403:1;86482:68:0;86671:29;86688:1;86692:7;86671:8;:29::i;:::-;86716:25;86744:11;:7;86754:1;86744:11;:::i;:::-;51116:1;51107:10;;;51073:4;51194:20;;;86772:10;51194:20;;;;;;51107:10;;-1:-1:-1;;;;51171:4:0;51163:12;;51143:33;51194:27;:32;;;86771:87;;-1:-1:-1;76337:13:0;;86824:17;:34;86771:87;86768:210;;;86885:26;;;;:7;:26;;;;;:33;;-1:-1:-1;;;;;;86885:33:0;-1:-1:-1;;;;;86885:33:0;;;;;86933;-1:-1:-1;86885:26:0;86933:14;:33::i;:::-;86990:16;;;;:7;:16;;;;;:21;;-1:-1:-1;;;;;;86990:21:0;-1:-1:-1;;;;;86990:21:0;;;;;87025:27;;;87022:82;;87069:23;:10;87084:7;87069:14;:23::i;:::-;87140:7;87136:2;-1:-1:-1;;;;;87121:27:0;87130:4;-1:-1:-1;;;;;87121:27:0;;;;;;;;;;;87161:42;87182:4;87188:2;87192:7;87201:1;87161:20;:42::i;:::-;86267:944;;;86154:1057;;;:::o;84668:387::-;84799:19;84821:14;76337:13;;;76255:103;84821:14;84799:36;;84846:19;84852:2;84856:8;84846:5;:19::i;:::-;84898:68;84929:1;84933:2;84937:11;84950:8;84960:5;84898:22;:68::i;:::-;84876:171;;;;-1:-1:-1;;;84876:171:0;;;;;;;:::i;51620:204::-;51717:1;51708:10;;;51691:14;51788:20;;;;;;;;;;;;:28;;-1:-1:-1;;;51772:4:0;51764:12;;;51744:33;;;;51788:28;;;;;51620:204::o;117347:443::-;-1:-1:-1;;;;;117643:18:0;;;117639:144;;115706:22;;;;:13;:22;;;;;115699:29;117737:34;115624:112;89197:159;89260:24;89316:31;:10;89339:7;89316:22;:31::i;11797:158::-;11870:4;11894:53;11902:3;-1:-1:-1;;;;;11922:23:0;;11894:7;:53::i;113974:178::-;114081:4;114110:34;114121:10;114133;114110;:34::i;80163:330::-;74395:10;-1:-1:-1;;;;;80298:24:0;;;80290:65;;;;-1:-1:-1;;;80290:65:0;;37052:2:1;80290:65:0;;;37034:21:1;37091:2;37071:18;;;37064:30;37130;37110:18;;;37103:58;37178:18;;80290:65:0;36850:352:1;80290:65:0;74395:10;80368:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;80368:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;80368:53:0;;;;;;;;;;80437:48;;1203:41:1;;;80368:42:0;;74395:10;80437:48;;1176:18:1;80437:48:0;;;;;;;80163:330;;:::o;82801:357::-;82958:28;82968:4;82974:2;82978:7;82958:9;:28::i;:::-;83019:50;83042:4;83048:2;83052:7;83061:1;83063:5;83019:22;:50::i;38649:922::-;38702:7;;-1:-1:-1;;;38780:15:0;;38776:102;;-1:-1:-1;;;38816:15:0;;;-1:-1:-1;38860:2:0;38850:12;38776:102;38905:6;38896:5;:15;38892:102;;38941:6;38932:15;;;-1:-1:-1;38976:2:0;38966:12;38892:102;39021:6;39012:5;:15;39008:102;;39057:6;39048:15;;;-1:-1:-1;39092:2:0;39082:12;39008:102;39137:5;39128;:14;39124:99;;39172:5;39163:14;;;-1:-1:-1;39206:1:0;39196:11;39124:99;39250:5;39241;:14;39237:99;;39285:5;39276:14;;;-1:-1:-1;39319:1:0;39309:11;39237:99;39363:5;39354;:14;39350:99;;39398:5;39389:14;;;-1:-1:-1;39432:1:0;39422:11;39350:99;39476:5;39467;:14;39463:66;;39512:1;39502:11;39557:6;38649:922;-1:-1:-1;;38649:922:0:o;97627:1912::-;97685:13;97715:4;:11;97730:1;97715:16;97711:31;;-1:-1:-1;;97733:9:0;;;;;;;;;-1:-1:-1;97733:9:0;;;97627:1912::o;97711:31::-;97794:19;97816:12;;;;;;;;;;;;;;;;;97794:34;;97880:18;97926:1;97907:4;:11;97921:1;97907:15;;;;:::i;:::-;97906:21;;;;:::i;:::-;97901:27;;:1;:27;:::i;:::-;97880:48;-1:-1:-1;98011:20:0;98045:15;97880:48;98058:2;98045:15;:::i;:::-;-1:-1:-1;;;;;98034:27:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;98034:27:0;;98011:50;;98158:10;98150:6;98143:26;98253:1;98246:5;98242:13;98312:4;98363;98357:11;98348:7;98344:25;98459:2;98451:6;98447:15;98532:754;98551:6;98542:7;98539:19;98532:754;;;98651:1;98642:7;98638:15;98627:26;;98690:7;98684:14;98816:4;98808:5;98804:2;98800:14;98796:25;98786:8;98782:40;98776:47;98765:9;98757:67;98870:1;98859:9;98855:17;98842:30;;98949:4;98941:5;98937:2;98933:14;98929:25;98919:8;98915:40;98909:47;98898:9;98890:67;99003:1;98992:9;98988:17;98975:30;;99082:4;99074:5;99071:1;99066:14;99062:25;99052:8;99048:40;99042:47;99031:9;99023:67;99136:1;99125:9;99121:17;99108:30;;99215:4;99207:5;99195:25;99185:8;99181:40;99175:47;99164:9;99156:67;-1:-1:-1;99269:1:0;99254:17;98532:754;;;99359:1;99352:4;99346:11;99342:19;99380:1;99375:54;;;;99448:1;99443:52;;;;99335:160;;99375:54;-1:-1:-1;;;;;99391:17:0;;99384:43;99375:54;;99443:52;-1:-1:-1;;;;;99459:17:0;;99452:41;99335:160;-1:-1:-1;99525:6:0;;97627:1912;-1:-1:-1;;;;;;;;97627:1912:0:o;115253:253::-;-1:-1:-1;;;;;115387:22:0;;115358:7;115387:22;;;:14;:22;;;;;;:26;115383:88;;-1:-1:-1;;;;;;115437:22:0;;;;;:14;:22;;;;;;;115253:253::o;115383:88::-;-1:-1:-1;;115490:8:0;;;115253:253::o;114662:293::-;114811:14;;114784:4;;114811:14;;114806:59;;-1:-1:-1;114849:4:0;114842:11;;114806:59;114884:27;114900:10;114884:15;:27::i;:::-;:63;;;-1:-1:-1;114915:3:0;;:32;;-1:-1:-1;;;114915:32:0;;-1:-1:-1;;;;;4825:32:1;;;114915::0;;;4807:51:1;4874:18;;;4867:34;;;114915:3:0;;;;:13;;4780:18:1;;114915:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;8644:111::-;8700:16;8736:3;:11;;8729:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8644:111;;;:::o;76651:355::-;76798:4;-1:-1:-1;;;;;;76840:40:0;;-1:-1:-1;;;76840:40:0;;:105;;-1:-1:-1;;;;;;;76897:48:0;;-1:-1:-1;;;76897:48:0;76840:105;:158;;;-1:-1:-1;;;;;;;;;;68530:40:0;;;76962:36;68421:157;114160:250;114284:4;114306:13;114322:33;114335:10;114347:7;114322:12;:33::i;87329:167::-;87404:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;87404:29:0;-1:-1:-1;;;;;87404:29:0;;;;;;;;:24;;87458:16;87404:24;87458:7;:16::i;:::-;-1:-1:-1;;;;;87449:39:0;;;;;;;;;;;87329:167;;:::o;85065:748::-;85163:19;85185:14;76337:13;;;76255:103;85185:14;85163:36;;85239:1;85228:8;:12;85220:62;;;;-1:-1:-1;;;85220:62:0;;37409:2:1;85220:62:0;;;37391:21:1;37448:2;37428:18;;;37421:30;37487:34;37467:18;;;37460:62;-1:-1:-1;;;37538:18:1;;;37531:35;37583:19;;85220:62:0;37207:401:1;85220:62:0;-1:-1:-1;;;;;85301:16:0;;85293:64;;;;-1:-1:-1;;;85293:64:0;;37815:2:1;85293:64:0;;;37797:21:1;37854:2;37834:18;;;37827:30;37893:34;37873:18;;;37866:62;-1:-1:-1;;;37944:18:1;;;37937:33;37987:19;;85293:64:0;37613:399:1;85293:64:0;85466:8;85449:13;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;85485:20:0;;;;:7;:20;;;;;:25;;-1:-1:-1;;;;;;85485:25:0;-1:-1:-1;;;;;85485:25:0;;;;;85521:27;-1:-1:-1;85485:20:0;85521:14;:27::i;:::-;85559:59;85588:1;85592:2;85596:11;85609:8;85559:20;:59::i;:::-;85683:11;85663:142;85706:22;85720:8;85706:11;:22;:::i;:::-;85696:7;:32;85663:142;;;85760:33;;85785:7;;-1:-1:-1;;;;;85760:33:0;;;85777:1;;85760:33;;85777:1;;85760:33;85730:9;;;;:::i;:::-;;;;85663:142;;88150:1039;88337:6;-1:-1:-1;;;;;88360:13:0;;20578:19;:23;88356:826;;-1:-1:-1;88396:4:0;88437:12;88415:689;88461:23;88476:8;88461:12;:23;:::i;:::-;88451:7;:33;88415:689;;;88519:72;;-1:-1:-1;;;88519:72:0;;-1:-1:-1;;;;;88519:36:0;;;;;:72;;74395:10;;88570:4;;88576:7;;88585:5;;88519:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;88519:72:0;;;;;;;;-1:-1:-1;;88519:72:0;;;;;;;;;;;;:::i;:::-;;;88515:574;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88775:6;:13;88792:1;88775:18;88771:299;;88822:63;;-1:-1:-1;;;88822:63:0;;;;;;;:::i;88771:299::-;89012:6;89006:13;88997:6;88993:2;88989:15;88982:38;88515:574;88643:1;:56;;;;-1:-1:-1;;;;;;;88648:51:0;;-1:-1:-1;;;88648:51:0;88643:56;88639:60;;88592:127;88486:9;;;;:::i;:::-;;;;88415:689;;;;89118:8;;88356:826;-1:-1:-1;89166:4:0;88356:826;88150:1039;;;;;;;:::o;56391:1234::-;56531:1;56522:10;;;56473:19;56688:20;;;;;;;;;;;56473:19;;56522:10;56612:4;56604:12;;;;56793:18;;;56786:26;56865:6;;56862:756;;56963:22;:2;:20;:22::i;:::-;56948:37;;:11;:37;56942:1;56932:6;:11;;56931:55;56917:69;;56862:756;;;57086:1;57077:6;:10;57069:75;;;;-1:-1:-1;;;57069:75:0;;38967:2:1;57069:75:0;;;38949:21:1;39006:2;38986:18;;;38979:30;39045:34;39025:18;;;39018:62;-1:-1:-1;;;39096:18:1;;;39089:50;39156:19;;57069:75:0;38765:416:1;57069:75:0;-1:-1:-1;;;57196:8:0;;;57327:12;:20;;;;;;;;;;;57196:8;;-1:-1:-1;57387:6:0;;57384:207;;57493:22;:2;:20;:22::i;:::-;57486:3;:29;57469:47;;57480:1;57470:6;:11;;57469:47;57455:61;;57543:5;;57384:207;57038:569;;;56494:1131;;;56391:1234;;;;:::o;5790:1420::-;5856:4;5995:19;;;:12;;;:19;;;;;;6031:15;;6027:1176;;6406:21;6430:14;6443:1;6430:10;:14;:::i;:::-;6479:18;;6406:38;;-1:-1:-1;6459:17:0;;6479:22;;6500:1;;6479:22;:::i;:::-;6459:42;;6535:13;6522:9;:26;6518:405;;6569:17;6589:3;:11;;6601:9;6589:22;;;;;;;;:::i;:::-;;;;;;;;;6569:42;;6743:9;6714:3;:11;;6726:13;6714:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;6828:23;;;:12;;;:23;;;;;:36;;;6518:405;7004:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;7099:3;:12;;:19;7112:5;7099:19;;;;;;;;;;;7092:26;;;7142:4;7135:11;;;;;;;6027:1176;7186:5;7179:12;;;;;113775:191;113887:4;113916:42;:21;113947:10;113916:30;:42::i;114963:282::-;115085:7;115114:22;;;:13;:22;;;;;;:26;115110:88;;-1:-1:-1;115164:22:0;;;;:13;:22;;;;;;115157:29;;115110:88;115217:20;115230:6;115217:12;:20::i;48590:201::-;48652:5;48708:16;;;;;;;;;;;;;;;;;48764:3;47106:64;48726:18;48741:2;48726:14;:18::i;:::-;:33;48725:42;;48708:60;;;;;;;;:::i;:::-;;;;;;;;48590:201;-1:-1:-1;;48590:201:0:o;12041:167::-;-1:-1:-1;;;;;12175:23:0;;12121:4;7393:19;;;:12;;;:19;;;;;;:24;;12145:55;7296:129;47817:169;47876:7;47909:1;47904:2;:6;47896:15;;;;;;-1:-1:-1;47960:1:0;:6;;;47954:13;;47817:169::o;14:658:1:-;185:2;237:21;;;307:13;;210:18;;;329:22;;;156:4;;185:2;408:15;;;;382:2;367:18;;;156:4;451:195;465:6;462:1;459:13;451:195;;;530:13;;-1:-1:-1;;;;;526:39:1;514:52;;621:15;;;;586:12;;;;562:1;480:9;451:195;;;-1:-1:-1;663:3:1;;14:658;-1:-1:-1;;;;;;14:658:1:o;677:131::-;-1:-1:-1;;;;;;751:32:1;;741:43;;731:71;;798:1;795;788:12;813:245;871:6;924:2;912:9;903:7;899:23;895:32;892:52;;;940:1;937;930:12;892:52;979:9;966:23;998:30;1022:5;998:30;:::i;1255:131::-;-1:-1:-1;;;;;1330:31:1;;1320:42;;1310:70;;1376:1;1373;1366:12;1391:247;1450:6;1503:2;1491:9;1482:7;1478:23;1474:32;1471:52;;;1519:1;1516;1509:12;1471:52;1558:9;1545:23;1577:31;1602:5;1577:31;:::i;1643:180::-;1702:6;1755:2;1743:9;1734:7;1730:23;1726:32;1723:52;;;1771:1;1768;1761:12;1723:52;-1:-1:-1;1794:23:1;;1643:180;-1:-1:-1;1643:180:1:o;1828:435::-;1895:6;1903;1956:2;1944:9;1935:7;1931:23;1927:32;1924:52;;;1972:1;1969;1962:12;1924:52;2011:9;1998:23;2030:31;2055:5;2030:31;:::i;:::-;2080:5;-1:-1:-1;2137:2:1;2122:18;;2109:32;-1:-1:-1;;;;;2172:40:1;;2160:53;;2150:81;;2227:1;2224;2217:12;2150:81;2250:7;2240:17;;;1828:435;;;;;:::o;2268:250::-;2353:1;2363:113;2377:6;2374:1;2371:13;2363:113;;;2453:11;;;2447:18;2434:11;;;2427:39;2399:2;2392:10;2363:113;;;-1:-1:-1;;2510:1:1;2492:16;;2485:27;2268:250::o;2523:271::-;2565:3;2603:5;2597:12;2630:6;2625:3;2618:19;2646:76;2715:6;2708:4;2703:3;2699:14;2692:4;2685:5;2681:16;2646:76;:::i;:::-;2776:2;2755:15;-1:-1:-1;;2751:29:1;2742:39;;;;2783:4;2738:50;;2523:271;-1:-1:-1;;2523:271:1:o;2799:220::-;2948:2;2937:9;2930:21;2911:4;2968:45;3009:2;2998:9;2994:18;2986:6;2968:45;:::i;3232:315::-;3300:6;3308;3361:2;3349:9;3340:7;3336:23;3332:32;3329:52;;;3377:1;3374;3367:12;3329:52;3416:9;3403:23;3435:31;3460:5;3435:31;:::i;:::-;3485:5;3537:2;3522:18;;;;3509:32;;-1:-1:-1;;;3232:315:1:o;3734:456::-;3811:6;3819;3827;3880:2;3868:9;3859:7;3855:23;3851:32;3848:52;;;3896:1;3893;3886:12;3848:52;3935:9;3922:23;3954:31;3979:5;3954:31;:::i;:::-;4004:5;-1:-1:-1;4061:2:1;4046:18;;4033:32;4074:33;4033:32;4074:33;:::i;:::-;3734:456;;4126:7;;-1:-1:-1;;;4180:2:1;4165:18;;;;4152:32;;3734:456::o;4380:248::-;4448:6;4456;4509:2;4497:9;4488:7;4484:23;4480:32;4477:52;;;4525:1;4522;4515:12;4477:52;-1:-1:-1;;4548:23:1;;;4618:2;4603:18;;;4590:32;;-1:-1:-1;4380:248:1:o;5392:118::-;5478:5;5471:13;5464:21;5457:5;5454:32;5444:60;;5500:1;5497;5490:12;5515:241;5571:6;5624:2;5612:9;5603:7;5599:23;5595:32;5592:52;;;5640:1;5637;5630:12;5592:52;5679:9;5666:23;5698:28;5720:5;5698:28;:::i;5761:632::-;5932:2;5984:21;;;6054:13;;5957:18;;;6076:22;;;5903:4;;5932:2;6155:15;;;;6129:2;6114:18;;;5903:4;6198:169;6212:6;6209:1;6206:13;6198:169;;;6273:13;;6261:26;;6342:15;;;;6307:12;;;;6234:1;6227:9;6198:169;;6398:127;6459:10;6454:3;6450:20;6447:1;6440:31;6490:4;6487:1;6480:15;6514:4;6511:1;6504:15;6530:275;6601:2;6595:9;6666:2;6647:13;;-1:-1:-1;;6643:27:1;6631:40;;-1:-1:-1;;;;;6686:34:1;;6722:22;;;6683:62;6680:88;;;6748:18;;:::i;:::-;6784:2;6777:22;6530:275;;-1:-1:-1;6530:275:1:o;6810:407::-;6875:5;-1:-1:-1;;;;;6901:6:1;6898:30;6895:56;;;6931:18;;:::i;:::-;6969:57;7014:2;6993:15;;-1:-1:-1;;6989:29:1;7020:4;6985:40;6969:57;:::i;:::-;6960:66;;7049:6;7042:5;7035:21;7089:3;7080:6;7075:3;7071:16;7068:25;7065:45;;;7106:1;7103;7096:12;7065:45;7155:6;7150:3;7143:4;7136:5;7132:16;7119:43;7209:1;7202:4;7193:6;7186:5;7182:18;7178:29;7171:40;6810:407;;;;;:::o;7222:222::-;7265:5;7318:3;7311:4;7303:6;7299:17;7295:27;7285:55;;7336:1;7333;7326:12;7285:55;7358:80;7434:3;7425:6;7412:20;7405:4;7397:6;7393:17;7358:80;:::i;7449:322::-;7518:6;7571:2;7559:9;7550:7;7546:23;7542:32;7539:52;;;7587:1;7584;7577:12;7539:52;7627:9;7614:23;-1:-1:-1;;;;;7652:6:1;7649:30;7646:50;;;7692:1;7689;7682:12;7646:50;7715;7757:7;7748:6;7737:9;7733:22;7715:50;:::i;7776:712::-;7830:5;7883:3;7876:4;7868:6;7864:17;7860:27;7850:55;;7901:1;7898;7891:12;7850:55;7937:6;7924:20;7963:4;-1:-1:-1;;;;;7982:2:1;7979:26;7976:52;;;8008:18;;:::i;:::-;8054:2;8051:1;8047:10;8077:28;8101:2;8097;8093:11;8077:28;:::i;:::-;8139:15;;;8209;;;8205:24;;;8170:12;;;;8241:15;;;8238:35;;;8269:1;8266;8259:12;8238:35;8305:2;8297:6;8293:15;8282:26;;8317:142;8333:6;8328:3;8325:15;8317:142;;;8399:17;;8387:30;;8350:12;;;;8437;;;;8317:142;;;8477:5;7776:712;-1:-1:-1;;;;;;;7776:712:1:o;8493:569::-;8596:6;8604;8657:2;8645:9;8636:7;8632:23;8628:32;8625:52;;;8673:1;8670;8663:12;8625:52;8713:9;8700:23;-1:-1:-1;;;;;8783:2:1;8775:6;8772:14;8769:34;;;8799:1;8796;8789:12;8769:34;8822:50;8864:7;8855:6;8844:9;8840:22;8822:50;:::i;:::-;8812:60;;8925:2;8914:9;8910:18;8897:32;8881:48;;8954:2;8944:8;8941:16;8938:36;;;8970:1;8967;8960:12;8938:36;;8993:63;9048:7;9037:8;9026:9;9022:24;8993:63;:::i;:::-;8983:73;;;8493:569;;;;;:::o;9320:416::-;9413:6;9421;9474:2;9462:9;9453:7;9449:23;9445:32;9442:52;;;9490:1;9487;9480:12;9442:52;9526:9;9513:23;9503:33;;9587:2;9576:9;9572:18;9559:32;-1:-1:-1;;;;;9606:6:1;9603:30;9600:50;;;9646:1;9643;9636:12;9600:50;9669:61;9722:7;9713:6;9702:9;9698:22;9669:61;:::i;9741:315::-;9809:6;9817;9870:2;9858:9;9849:7;9845:23;9841:32;9838:52;;;9886:1;9883;9876:12;9838:52;9922:9;9909:23;9899:33;;9982:2;9971:9;9967:18;9954:32;9995:31;10020:5;9995:31;:::i;10061:382::-;10126:6;10134;10187:2;10175:9;10166:7;10162:23;10158:32;10155:52;;;10203:1;10200;10193:12;10155:52;10242:9;10229:23;10261:31;10286:5;10261:31;:::i;:::-;10311:5;-1:-1:-1;10368:2:1;10353:18;;10340:32;10381:30;10340:32;10381:30;:::i;10448:795::-;10543:6;10551;10559;10567;10620:3;10608:9;10599:7;10595:23;10591:33;10588:53;;;10637:1;10634;10627:12;10588:53;10676:9;10663:23;10695:31;10720:5;10695:31;:::i;:::-;10745:5;-1:-1:-1;10802:2:1;10787:18;;10774:32;10815:33;10774:32;10815:33;:::i;:::-;10867:7;-1:-1:-1;10921:2:1;10906:18;;10893:32;;-1:-1:-1;10976:2:1;10961:18;;10948:32;-1:-1:-1;;;;;10992:30:1;;10989:50;;;11035:1;11032;11025:12;10989:50;11058:22;;11111:4;11103:13;;11099:27;-1:-1:-1;11089:55:1;;11140:1;11137;11130:12;11089:55;11163:74;11229:7;11224:2;11211:16;11206:2;11202;11198:11;11163:74;:::i;:::-;11153:84;;;10448:795;;;;;;;:::o;11248:637::-;11360:6;11368;11376;11429:2;11417:9;11408:7;11404:23;11400:32;11397:52;;;11445:1;11442;11435:12;11397:52;11481:9;11468:23;11458:33;;11542:2;11531:9;11527:18;11514:32;-1:-1:-1;;;;;11606:2:1;11598:6;11595:14;11592:34;;;11622:1;11619;11612:12;11592:34;11645:61;11698:7;11689:6;11678:9;11674:22;11645:61;:::i;:::-;11635:71;;11759:2;11748:9;11744:18;11731:32;11715:48;;11788:2;11778:8;11775:16;11772:36;;;11804:1;11801;11794:12;11772:36;;11827:52;11871:7;11860:8;11849:9;11845:24;11827:52;:::i;:::-;11817:62;;;11248:637;;;;;:::o;11890:551::-;11992:6;12000;12008;12061:2;12049:9;12040:7;12036:23;12032:32;12029:52;;;12077:1;12074;12067:12;12029:52;12116:9;12103:23;12135:31;12160:5;12135:31;:::i;:::-;12185:5;-1:-1:-1;12237:2:1;12222:18;;12209:32;;-1:-1:-1;12292:2:1;12277:18;;12264:32;-1:-1:-1;;;;;12308:30:1;;12305:50;;;12351:1;12348;12341:12;12305:50;12374:61;12427:7;12418:6;12407:9;12403:22;12374:61;:::i;12446:388::-;12514:6;12522;12575:2;12563:9;12554:7;12550:23;12546:32;12543:52;;;12591:1;12588;12581:12;12543:52;12630:9;12617:23;12649:31;12674:5;12649:31;:::i;:::-;12699:5;-1:-1:-1;12756:2:1;12741:18;;12728:32;12769:33;12728:32;12769:33;:::i;12839:380::-;12918:1;12914:12;;;;12961;;;12982:61;;13036:4;13028:6;13024:17;13014:27;;12982:61;13089:2;13081:6;13078:14;13058:18;13055:38;13052:161;;13135:10;13130:3;13126:20;13123:1;13116:31;13170:4;13167:1;13160:15;13198:4;13195:1;13188:15;13052:161;;12839:380;;;:::o;13949:245::-;14016:6;14069:2;14057:9;14048:7;14044:23;14040:32;14037:52;;;14085:1;14082;14075:12;14037:52;14117:9;14111:16;14136:28;14158:5;14136:28;:::i;14199:127::-;14260:10;14255:3;14251:20;14248:1;14241:31;14291:4;14288:1;14281:15;14315:4;14312:1;14305:15;14331:128;14398:9;;;14419:11;;;14416:37;;;14433:18;;:::i;14464:125::-;14529:9;;;14550:10;;;14547:36;;;14563:18;;:::i;14594:168::-;14667:9;;;14698;;14715:15;;;14709:22;;14695:37;14685:71;;14736:18;;:::i;14899:217::-;14939:1;14965;14955:132;;15009:10;15004:3;15000:20;14997:1;14990:31;15044:4;15041:1;15034:15;15072:4;15069:1;15062:15;14955:132;-1:-1:-1;15101:9:1;;14899:217::o;16640:348::-;16842:2;16824:21;;;16881:2;16861:18;;;16854:30;16920:26;16915:2;16900:18;;16893:54;16979:2;16964:18;;16640:348::o;16993:336::-;17195:2;17177:21;;;17234:2;17214:18;;;17207:30;-1:-1:-1;;;17268:2:1;17253:18;;17246:42;17320:2;17305:18;;16993:336::o;18579:251::-;18649:6;18702:2;18690:9;18681:7;18677:23;18673:32;18670:52;;;18718:1;18715;18708:12;18670:52;18750:9;18744:16;18769:31;18794:5;18769:31;:::i;18835:135::-;18874:3;18895:17;;;18892:43;;18915:18;;:::i;:::-;-1:-1:-1;18962:1:1;18951:13;;18835:135::o;18975:127::-;19036:10;19031:3;19027:20;19024:1;19017:31;19067:4;19064:1;19057:15;19091:4;19088:1;19081:15;19233:545;19335:2;19330:3;19327:11;19324:448;;;19371:1;19396:5;19392:2;19385:17;19441:4;19437:2;19427:19;19511:2;19499:10;19495:19;19492:1;19488:27;19482:4;19478:38;19547:4;19535:10;19532:20;19529:47;;;-1:-1:-1;19570:4:1;19529:47;19625:2;19620:3;19616:12;19613:1;19609:20;19603:4;19599:31;19589:41;;19680:82;19698:2;19691:5;19688:13;19680:82;;;19743:17;;;19724:1;19713:13;19680:82;;19954:1352;20080:3;20074:10;-1:-1:-1;;;;;20099:6:1;20096:30;20093:56;;;20129:18;;:::i;:::-;20158:97;20248:6;20208:38;20240:4;20234:11;20208:38;:::i;:::-;20202:4;20158:97;:::i;:::-;20310:4;;20374:2;20363:14;;20391:1;20386:663;;;;21093:1;21110:6;21107:89;;;-1:-1:-1;21162:19:1;;;21156:26;21107:89;-1:-1:-1;;19911:1:1;19907:11;;;19903:24;19899:29;19889:40;19935:1;19931:11;;;19886:57;21209:81;;20356:944;;20386:663;19180:1;19173:14;;;19217:4;19204:18;;-1:-1:-1;;20422:20:1;;;20540:236;20554:7;20551:1;20548:14;20540:236;;;20643:19;;;20637:26;20622:42;;20735:27;;;;20703:1;20691:14;;;;20570:19;;20540:236;;;20544:3;20804:6;20795:7;20792:19;20789:201;;;20865:19;;;20859:26;-1:-1:-1;;20948:1:1;20944:14;;;20960:3;20940:24;20936:37;20932:42;20917:58;20902:74;;20789:201;-1:-1:-1;;;;;21036:1:1;21020:14;;;21016:22;21003:36;;-1:-1:-1;19954:1352:1:o;21311:289::-;21442:3;21480:6;21474:13;21496:66;21555:6;21550:3;21543:4;21535:6;21531:17;21496:66;:::i;:::-;21578:16;;;;;21311:289;-1:-1:-1;;21311:289:1:o;26040:1256::-;26264:3;26302:6;26296:13;26328:4;26341:64;26398:6;26393:3;26388:2;26380:6;26376:15;26341:64;:::i;:::-;26468:13;;26427:16;;;;26490:68;26468:13;26427:16;26525:15;;;26490:68;:::i;:::-;26647:13;;26580:20;;;26620:1;;26685:36;26647:13;26685:36;:::i;:::-;26740:1;26757:18;;;26784:141;;;;26939:1;26934:337;;;;26750:521;;26784:141;-1:-1:-1;;26819:24:1;;26805:39;;26896:16;;26889:24;26875:39;;26864:51;;;-1:-1:-1;26784:141:1;;26934:337;26965:6;26962:1;26955:17;27013:2;27010:1;27000:16;27038:1;27052:169;27066:8;27063:1;27060:15;27052:169;;;27148:14;;27133:13;;;27126:37;27191:16;;;;27083:10;;27052:169;;;27056:3;;27252:8;27245:5;27241:20;27234:27;;26750:521;-1:-1:-1;27287:3:1;;26040:1256;-1:-1:-1;;;;;;;;;;26040:1256:1:o;27942:136::-;27981:3;28009:5;27999:39;;28018:18;;:::i;:::-;-1:-1:-1;;;28054:18:1;;27942:136::o;28444:611::-;-1:-1:-1;;;28802:3:1;28795:23;28777:3;28847:6;28841:13;28863:74;28930:6;28926:1;28921:3;28917:11;28910:4;28902:6;28898:17;28863:74;:::i;:::-;-1:-1:-1;;;28996:1:1;28956:16;;;;28988:10;;;28981:41;-1:-1:-1;29046:2:1;29038:11;;28444:611;-1:-1:-1;28444:611:1:o;29825:416::-;30027:2;30009:21;;;30066:2;30046:18;;;30039:30;30105:34;30100:2;30085:18;;30078:62;-1:-1:-1;;;30171:2:1;30156:18;;30149:50;30231:3;30216:19;;29825:416::o;30607:624::-;-1:-1:-1;;;30965:3:1;30958:23;30940:3;31010:6;31004:13;31026:74;31093:6;31089:1;31084:3;31080:11;31073:4;31065:6;31061:17;31026:74;:::i;:::-;31163:34;31159:1;31119:16;;;;31151:10;;;31144:54;-1:-1:-1;31222:2:1;31214:11;;30607:624;-1:-1:-1;30607:624:1:o;32423:1050::-;32935:66;32930:3;32923:79;32905:3;33031:6;33025:13;33047:75;33115:6;33110:2;33105:3;33101:12;33094:4;33086:6;33082:17;33047:75;:::i;:::-;-1:-1:-1;;;33181:2:1;33141:16;;;33173:11;;;33166:71;33262:13;;33284:76;33262:13;33346:2;33338:11;;33331:4;33319:17;;33284:76;:::i;:::-;-1:-1:-1;;;33420:2:1;33379:17;;;;33412:11;;;33405:35;33464:2;33456:11;;32423:1050;-1:-1:-1;;;;32423:1050:1:o;33478:461::-;33740:31;33735:3;33728:44;33710:3;33801:6;33795:13;33817:75;33885:6;33880:2;33875:3;33871:12;33864:4;33856:6;33852:17;33817:75;:::i;:::-;33912:16;;;;33930:2;33908:25;;33478:461;-1:-1:-1;;33478:461:1:o;36428:417::-;36630:2;36612:21;;;36669:2;36649:18;;;36642:30;36708:34;36703:2;36688:18;;36681:62;-1:-1:-1;;;36774:2:1;36759:18;;36752:51;36835:3;36820:19;;36428:417::o;38017:489::-;-1:-1:-1;;;;;38286:15:1;;;38268:34;;38338:15;;38333:2;38318:18;;38311:43;38385:2;38370:18;;38363:34;;;38433:3;38428:2;38413:18;;38406:31;;;38211:4;;38454:46;;38480:19;;38472:6;38454:46;:::i;:::-;38446:54;38017:489;-1:-1:-1;;;;;;38017:489:1:o;38511:249::-;38580:6;38633:2;38621:9;38612:7;38608:23;38604:32;38601:52;;;38649:1;38646;38639:12;38601:52;38681:9;38675:16;38700:30;38724:5;38700:30;:::i;39186:127::-;39247:10;39242:3;39238:20;39235:1;39228:31;39278:4;39275:1;39268:15;39302:4;39299:1;39292:15

Swarm Source

ipfs://0c66069d3b76448d6f4efec4d7bd4d307eecf1da386bc18ee7bc5056f98a4fab
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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