S Price: $0.770114 (-1.46%)

Token

FateAdventure Event Items (FAEventItems)

Overview

Max Total Supply

0 FAEventItems

Holders

221

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
0x26ca76aa5c4b14f370d189d4ec38e1c9835207c6
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
FAMAIN_EVENT_ITEMS

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at SonicScan.org on 2025-01-16
*/

// File: @openzeppelin/[email protected]/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/[email protected]/token/ERC1155/IERC1155.sol


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

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

// File: @openzeppelin/[email protected]/token/ERC1155/IERC1155Receiver.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;


/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/[email protected]/token/ERC1155/extensions/IERC1155MetadataURI.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

// File: @openzeppelin/[email protected]/utils/Address.sol


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/[email protected]/utils/Context.sol


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

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/[email protected]/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/[email protected]/token/ERC1155/ERC1155.sol


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

pragma solidity ^0.8.0;







/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: address zero is not a valid owner");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `ids` and `amounts` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

// File: @openzeppelin/[email protected]/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/[email protected]/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/[email protected]/utils/Strings.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

// File: @openzeppelin/[email protected]/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: FARPGseason1/FARPGC - Common Structs.sol


pragma solidity ^0.8.9;
        
        
library S { 

//Pet struct
   
    struct Unit {
        uint hp; //unit fainted when hp <= 0
        uint attack; //attack - defense = damage on hp
        uint defense; //attack - defense = damage on hp
        uint speed; //how frequent to take a move
        uint intelligence; //how frequent to use skill
        uint genestrength; //depends on how many duplicates
        uint range; //range skill, id
        uint special; //special skill, id
    }

    struct Status {
        //uint32 types; //determine element and some skills. 0=none, 1=fire, 2=water, 3=ice, 4=electic, 5=nature, 6=light, 7=dark //linked to skill right now
        uint id; //unit id
        uint family; //determine which class of gear it can be wore. record while evolve, since its only has max 2 family, example Dragon+phantom, and 30gene max, so can use *100
        //   family to gene is tricky, need to +1 to make sure 0 means nothing. Thus 1 is Dragon, althought for trainerGene, 0 is dragon 
        //   because player wont submit a transaction to set their trainer gene when start. 
        uint stage; //1 is rookie, 2 is mature, 3 is perfect
        //e.g. start with dragon, so family = 1,  later if evolve with phantom, then 2*100 + family = 201, 102 or 201 also represent Dragon+phantom  
        //0=none, 1=dragon, 2=phantom, 3=aqua, 4=wombat
       // uint32 bond; //how many action you took on this unit
       // uint64 stamina; //how much you can train it per day. it should follow saturation graph
    }


    struct Time {
        uint bond; //how many time you took on this unit , use to evolve
        uint stamina; //how much you can train it per day. it should follow saturation graph
        uint hunger; //how much you feed it per day. it should follow saturation graph
    }


/*
    struct PlayerData {
        //----Player Quest variables--------
        uint mainquest;   // mainquest 77 digits. Each digit represents a quest progress
        uint sidequest;   // side quest 77 digits. Each digit represents a quest progress
        uint premiumscore; // serves like premium exp, gained from events, quests, marketing campaigns, etc.
                          // also indicates player activeness.
        
        //----Player Stats variables--------    
   //     uint exp;        // player experience, increases based on activity
   //     uint rankscore;   // player ranking score for PvP
    //    uint32 energy1;   // energy of the player, for time-gated Quest/SideQuest
   //     uint32 energy2;   // energy of the player, for time-gated PvP-ranking
  //      uint32 energy22;  // energy of the player, for time-gated PvP-kingofthehill
  //      uint32 energy3;   // energy of the player, for time-gated WorldBoss
        
        //-----limits for restriction-------
        uint limit1;      // limit free openbox/mint. Default: 2 per day 
        uint limit2;      // reserve
        uint limit3;      // reserve
        uint timebound1;  // for limit free openbox/mint. Set it to now if >24hr and reset limit1
        uint timebound2;  // reserve
        
*/
}
// File: FARPGseason1/base64.sol



pragma solidity ^0.8.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;
    }
}
// File: FARPGseason1/MAIN - Event Items ERC1155.sol

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

//_______________________________________________________________
//    ___ __   __     _   ___      _   ___    _ __  
//   | _ )\ \ / /  _ | | / _ \  _ | | / _ \  (_)\ \ 
//   | _ \ \ V /  | || || (_) || || || (_) |  _  | |
//   |___/  |_|    \__/  \___/  \__/  \___/  ( ) | |
//                                           |/ /_/ 
//_______________________________________________________________
//
//  _____   _____ _  _ _____   ___ _____ ___ __  __ ___ 
// | __\ \ / / __| \| |_   _| |_ _|_   _| __|  \/  / __|
// | _| \ V /| _|| .` | | |    | |  | | | _|| |\/| \__ \
// |___| \_/ |___|_|\_| |_|   |___| |_| |___|_|  |_|___/
//                                                      
//






         
//_______________________________________________________________
//    ___  _  _  _____  ___  ___  ___  _    ___  ___ 
//   |_ _|| \| ||_   _|| __|| _ \| __|/_\  / __|| __|
//    | | | .` |  | |  | _| |   /| _|/ _ \| (__ | _| 
//   |___||_|\_|  |_|  |___||_|_\|_|/_/ \_\\___||___|
//_______________________________________________________________                                                                                                                          
                                                                          
// ERC1155 and ERC2981

//_______________________________________________________________
//     ___  ___   _  _  _____  ___    _    ___  _____ 
//    / __|/ _ \ | \| ||_   _|| _ \  /_\  / __||_   _|
//   | (__| (_) || .` |  | |  |   / / _ \| (__   | |  
//    \___|\___/ |_|\_|  |_|  |_|_\/_/ \_\\___|  |_|                                                    
//_______________________________________________________________                                                                                                                          
      
contract FAMAIN_EVENT_ITEMS is ERC1155, ERC2981, Ownable {

    constructor() ERC1155("") {
        setRoyaltyRecipient(msg.sender);
    }
     
    string public name = "FateAdventure Event Items";
    string public symbol = "FAEventItems";
    string public constant baseUri = "ipfs://";
    string public imageExtension = ".jpg";
    string public imageURL = "https://ipfs/bafybeiaywxhzbucshglkjmv2djdp2267u5shwwopto3m5624n7xucmiwdm/";
    bool public _namebyID = true; //indicate where it needs to have ID 123 on name
    uint public royalty = 700; // base 10000, 1500 royalty means 15%
    address public royaltyRecipient;
    mapping(uint => string) private nftNames;        // Mapping for NFT names
    mapping(uint => string) private nftDescriptions; // Mapping for NFT descriptions
  
    function setImageURL(string memory URL) public onlyOwner {
        imageURL = URL;//IPFS/server is less realiable, Only URI link is upgradable.
        //URI is just for marketplace to display.
    }
    function setExtension(string memory exe) public onlyOwner {
        imageExtension = exe;//IPFS/server is less realiable, Only URI link is upgradable.
        //URI is just for marketplace to display.
    }

    
    bool public stopgen;
    event UpdateName(string name);

    using Strings for uint256;

    uint constant MAX_ID = 1999; //this max ID is to use for loop to retrieve number 
//_______________________________________________________________    
//      _    ___   __  __  ___  _  _ 
//     /_\  |   \ |  \/  ||_ _|| \| |
//    / _ \ | |) || |\/| | | | | .` |
//   /_/ \_\|___/ |_|  |_||___||_|\_|
//_______________________________________________________________                                    
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155, ERC2981) returns (bool) {
        // Add your implementation here if needed
        return ERC2981.supportsInterface(interfaceId) || ERC1155.supportsInterface(interfaceId) ;
    }
    address[50] public masterContracts; 

    modifier onlyMasterContract() {
        bool isMasterContract = false;
        for (uint8 i = 0; i < 50; i++) {
            if (masterContracts[i] == msg.sender) {
                isMasterContract = true;
                break;
            }
        }
        require(isMasterContract, "Only allowed for master contracts");
        _;
    }
    function getMasterContract() external view returns (address[50] memory) { 
        return masterContracts;
    }
    function addMasterContract(address _address, uint8 _index) public onlyOwner {
        require(_index < 50, "Index out of bounds"); 
        masterContracts[_index] = _address;
    }
    function removeMasterContract(uint8 _index) public onlyOwner {
        require(_index < 50, "Index out of bounds"); 
        masterContracts[_index] = address(0);
    }
    function royaltyInfo(uint256, uint256 _salePrice) public view override returns (address, uint256) {
        uint256 amount = (_salePrice * royalty) / 10000;
        return (royaltyRecipient, amount);
    }
    function setRoyaltyRecipient(address _royaltyRecipient) public onlyOwner {
        require(_royaltyRecipient != address(0), "royalty cannot be sent to zero address");
        royaltyRecipient = _royaltyRecipient;
    }
    function setRoyaltyBasisPts(uint BasisPoint) public onlyOwner {
        royalty = BasisPoint; // base 10000, 1500 royalty means 15%
    }
    function updateName(string calldata _name) public onlyOwner { // update symbol name
        name = _name;
        emit UpdateName(name);
    }
    function withdraw(address payable _to) external { //incase someone want to donate to me? who knows. haha
        require(_to == owner());
        (bool sent,) = _to.call{value: address(this).balance}("");
        require(sent);
    }
    function isApprovedForAll(address _owner, address _operator) public view override returns (bool isOperator) {
        for (uint8 i = 0; i < 50; i++) { // Updated loop to 50 iterations
            if (_operator == masterContracts[i]) {
                return true;
            }
        }
        return ERC1155.isApprovedForAll(_owner, _operator);
    }
    // Set by ID
    function setNFTName(uint _tokenID, string memory _name) public onlyOwner {
        nftNames[_tokenID] = _name;
    }
    function setNFTDescription(uint _tokenID, string memory _description) public onlyOwner {
        nftDescriptions[_tokenID] = _description;
    }
    // Combined Set function to set names and descriptions in a batch
    function setNFTDataBatch(uint[] memory _tokenIDs, string[] memory _names, string[] memory _descriptions) public onlyOwner {
        require(_tokenIDs.length == _names.length && _names.length == _descriptions.length, "All input arrays must have the same length");
        for (uint i = 0; i < _tokenIDs.length; i++) {
            nftNames[_tokenIDs[i]] = _names[i];
            nftDescriptions[_tokenIDs[i]] = _descriptions[i];
        }
    }

    // Get an NFT's name
    function getNFTName(uint _tokenID) public view returns (string memory) {
        return nftNames[_tokenID];
    }
    // Get an NFT's description
    function getNFTDescription(uint _tokenID) public view returns (string memory) {
        return nftDescriptions[_tokenID];
    }
    // Combined batch retrieval for names and descriptions
    function getNFTDataBatch(uint[] memory _tokenIDs)
        public
        view
        returns (string[] memory, string[] memory)
    {
        string[] memory names = new string[](_tokenIDs.length);
        string[] memory descriptions = new string[](_tokenIDs.length);

        for (uint i = 0; i < _tokenIDs.length; i++) {
            names[i] = nftNames[_tokenIDs[i]];
            descriptions[i] = nftDescriptions[_tokenIDs[i]];
        }
        return (names, descriptions);
    }
//_______________________________________________________________    
//    ___  _____  _    ___  _____ 
//   / __||_   _|/_\  | _ \|_   _|
//   \__ \  | | / _ \ |   /  | |  
//   |___/  |_|/_/ \_\|_|_\  |_|  
//_______________________________________________________________                                  

 
    mapping(uint256 => string) internal tokenURIs;

    function mint( uint _amount, address _to, uint _id) public onlyMasterContract {
        _mint(_to, _id, _amount, ""); //give ownership to ID
    }
    // Batch mint function
    function mintBatch(
        address[] memory _to,           // Array of addresses to mint to
        uint256[] memory _ids,          // Array of token IDs to mint
        uint256[] memory _amounts       // Array of amounts for each token ID
    ) public onlyMasterContract {
        require(_to.length == _ids.length && _ids.length == _amounts.length, "Arrays length mismatch");
        
        for (uint i = 0; i < _to.length; i++) {
            _mint(_to[i], _ids[i], _amounts[i], ""); // Mint each NFT to the respective address
        }
    }
    // Anyone can burn their NFT if they have sufficient balance
    function burn(address owner, uint _id, uint _amount) public onlyMasterContract {
        require(balanceOf(owner, _id) >= _amount);
        _burn(owner, _id, _amount);
    }
    /**
    * Override isApprovedForAll to whitelist the mastercontract to reward players
    */
    

    //--------------
//_________________________________________________________________________  
//    ___  _  _   ___    _    __  __  ___   __   __ ___  ___ __      __
//   |_ _|| \| | / __|  /_\  |  \/  || __|  \ \ / /|_ _|| __|\ \    / /
//    | | | .` || (_ | / _ \ | |\/| || _|    \ V /  | | | _|  \ \/\/ / 
//   |___||_|\_| \___|/_/ \_\|_|  |_||___|    \_/  |___||___|  \_/\_/  
//                                                                     
//_________________________________________________________________________                                                            
    
    function WWW1getSpecialTransformItemBalanceByOwner(address _owner, uint start, uint stop) public view returns (uint[] memory, uint[] memory, uint) {
        require(stop > start, "Stop must be greater than start");
        require(stop - start <= 400, "Range too large, max 400 items");

        uint[] memory _scannedBalance = new uint[](stop - start);
        for (uint i = 0; i < (stop - start); i++) {
            _scannedBalance[i] = balanceOf(_owner, start + i);
        }

        uint _owneduniqueitems = 0;
        for (uint i = 0; i < _scannedBalance.length; i++) {
            if (_scannedBalance[i] > 0) {
                _owneduniqueitems++;
            }
        }

        uint[] memory ownedID = new uint[](_owneduniqueitems);
        uint[] memory ownedBalance = new uint[](_owneduniqueitems);
        uint counter = 0;
        for (uint i = 0; i < _scannedBalance.length; i++) {
            if (_scannedBalance[i] > 0) {
                ownedID[counter] = start + i;
                ownedBalance[counter] = _scannedBalance[i];
                counter++;
            }
        }

        return (ownedID, ownedBalance,_owneduniqueitems);
    }
    
    
    
//_______________________________________________________________  
//    _   _  ___  ___    ___  ___  _       _  _____  ___  ___  
//   | | | || _ \|_ _|  | _ \| __|| |     /_\|_   _|| __||   \ 
//   | |_| ||   / | |   |   /| _| | |__  / _ \ | |  | _| | |) |
//    \___/ |_|_\|___|  |_|_\|___||____|/_/ \_\|_|  |___||___/ 
//_______________________________________________________________                                                            

    
    
    function uri(uint _tokenId) public view virtual override returns (string memory metadata) {
        uint tokenID = uint(_tokenId);
        string memory _name = nftNames[tokenID];
        string memory _imagelinkfull = string(abi.encodePacked(imageURL,_toString(tokenID), imageExtension));
        string memory _description = nftDescriptions[tokenID];
        
         metadata = string(abi.encodePacked("data:application/json;base64,",
            Base64.encode(
                bytes(
                    abi.encodePacked(
                        "{\"name\": \"#",_toString(tokenID)," ",_name,
                        "\",\"description\": \"",_description,
                        "\",\"image\": \"",
                        _imagelinkfull, 
                        "\"}"
                    )
                )
            )
        ));
       
    }    
    
    function _toString(uint _i) private pure returns (bytes memory convString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len;
        while (_i != 0) {
            k = k-1;
            uint8 temp = (48 + uint8(_i - _i / 10 * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return bstr;
    }
 
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"UpdateName","type":"event"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"WWW1getSpecialTransformItemBalanceByOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_namebyID","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint8","name":"_index","type":"uint8"}],"name":"addMasterContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getMasterContract","outputs":[{"internalType":"address[50]","name":"","type":"address[50]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIDs","type":"uint256[]"}],"name":"getNFTDataBatch","outputs":[{"internalType":"string[]","name":"","type":"string[]"},{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"getNFTDescription","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"getNFTName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"imageExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"imageURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"masterContracts","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"}],"name":"removeMasterContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royalty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","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":[],"name":"royaltyRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"exe","type":"string"}],"name":"setExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URL","type":"string"}],"name":"setImageURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIDs","type":"uint256[]"},{"internalType":"string[]","name":"_names","type":"string[]"},{"internalType":"string[]","name":"_descriptions","type":"string[]"}],"name":"setNFTDataBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"},{"internalType":"string","name":"_description","type":"string"}],"name":"setNFTDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"},{"internalType":"string","name":"_name","type":"string"}],"name":"setNFTName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"BasisPoint","type":"uint256"}],"name":"setRoyaltyBasisPts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyRecipient","type":"address"}],"name":"setRoyaltyRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopgen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"}],"name":"updateName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"metadata","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c0604052601960809081527f46617465416476656e74757265204576656e74204974656d730000000000000060a05260069061003c90826102f5565b5060408051808201909152600c81526b46414576656e744974656d7360a01b602082015260079061006d90826102f5565b506040805180820190915260048152632e6a706760e01b602082015260089061009690826102f5565b506040518060800160405280604981526020016139b5604991396009906100bd90826102f5565b50600a805460ff191660011790556102bc600b553480156100dc575f5ffd5b5060408051602081019091525f81526100f48161010c565b506100fe3361011c565b6101073361016d565b6103af565b600261011882826102f5565b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b610175610201565b6001600160a01b0381166101df5760405162461bcd60e51b815260206004820152602660248201527f726f79616c74792063616e6e6f742062652073656e7420746f207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461025b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101d6565b565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061028557607f821691505b6020821081036102a357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156102f057805f5260205f20601f840160051c810160208510156102ce5750805b601f840160051c820191505b818110156102ed575f81556001016102da565b50505b505050565b81516001600160401b0381111561030e5761030e61025d565b6103228161031c8454610271565b846102a9565b6020601f821160018114610354575f831561033d5750848201515b5f19600385901b1c1916600184901b1784556102ed565b5f84815260208120601f198516915b828110156103835787850151825560209485019460019092019101610363565b50848210156103a057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6135f9806103bc5f395ff3fe608060405234801561000f575f5ffd5b5060043610610248575f3560e01c806384da92a711610140578063ab4f3446116100bf578063e985e9c511610084578063e985e9c514610542578063ed91dcda14610555578063f242432a14610568578063f2fde38b1461057b578063f5298aca1461058e578063fc199fcb146105a1575f5ffd5b8063ab4f3446146104df578063b90497e0146104f2578063cc855c5d146104fa578063cf7470fa1461051c578063df6e99111461052f575f5ffd5b80639abc8320116101055780639abc83201461046a578063a22cb46514610490578063a487ce2d146104a3578063a9ef3aeb146104b6578063ab19c549146104be575f5ffd5b806384da92a7146104185780638da5cb5b1461042b57806391ec64381461043c57806395d89b411461044f57806397a1ce3314610457575f5ffd5b806341e42f30116101cc57806358e792ee1161019157806358e792ee146103ca578063685455fd146103dd578063715018a6146103ea5780637e2285aa146103f2578063836a104014610405575f5ffd5b806341e42f30146103465780634c00de82146103595780634e1273f41461038457806351cff8d9146103a457806357128683146103b7575f5ffd5b806329ee566c1161021257806329ee566c146102d65780632a55205a146102df5780632eb2c2d614610311578063365b521f146103265780633fa8aaa914610339575f5ffd5b8062be2fec1461024c578062fdd58e1461026a57806301ffc9a71461028b57806306fdde03146102ae5780630e89341c146102c3575b5f5ffd5b6102546105b4565b60405161026191906124e1565b60405180910390f35b61027d61027836600461252f565b6105fa565b604051908152602001610261565b61029e61029936600461256e565b610691565b6040519015158152602001610261565b6102b66106aa565b60405161026191906125b7565b6102b66102d13660046125c9565b610736565b61027d600b5481565b6102f26102ed3660046125e0565b6108fd565b604080516001600160a01b039093168352602083019190915201610261565b61032461031f36600461274c565b610932565b005b610324610334366004612811565b61097e565b600a5461029e9060ff1681565b610324610354366004612844565b610a09565b600c5461036c906001600160a01b031681565b6040516001600160a01b039091168152602001610261565b6103976103923660046128cf565b610a98565b604051610261919061296c565b6103246103b2366004612844565b610bb7565b6103246103c536600461297e565b610c2f565b6103246103d8366004612a09565b610d63565b600f5461029e9060ff1681565b610324610d77565b610324610400366004612a09565b610d8a565b610324610413366004612a42565b610d9e565b610324610426366004612a77565b610e23565b6005546001600160a01b031661036c565b61032461044a366004612ae3565b610e75565b6102b6610eff565b610324610465366004612afc565b610f0c565b6102b660405180604001604052806007815260200166697066733a2f2f60c81b81525081565b61032461049e366004612b35565b610f30565b6102b66104b13660046125c9565b610f3b565b6102b6610fda565b6104d16104cc366004612b70565b610fe7565b604051610261929190612bfb565b6103246104ed366004612cb2565b611244565b6102b6611372565b61050d610508366004612d33565b61137f565b60405161026193929190612d65565b61036c61052a3660046125c9565b611645565b61032461053d366004612afc565b611664565b61029e610550366004612d9a565b611683565b6102b66105633660046125c9565b611700565b610324610576366004612dc6565b61171c565b610324610589366004612844565b611761565b61032461059c366004612d33565b6117da565b6103246105af3660046125c9565b61185f565b6105bc6124c2565b604080516106408101918290529060109060329082845b81546001600160a01b031681526001909101906020018083116105d3575050505050905090565b5f6001600160a01b0383166106695760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b505f818152602081815260408083206001600160a01b03861684529091529020545b92915050565b5f61069b8261186c565b8061068b575061068b8261188c565b600680546106b790612e1d565b80601f01602080910402602001604051908101604052809291908181526020018280546106e390612e1d565b801561072e5780601f106107055761010080835404028352916020019161072e565b820191905f5260205f20905b81548152906001019060200180831161071157829003601f168201915b505050505081565b5f818152600d6020526040812080546060928492909161075590612e1d565b80601f016020809104026020016040519081016040528092919081815260200182805461078190612e1d565b80156107cc5780601f106107a3576101008083540402835291602001916107cc565b820191905f5260205f20905b8154815290600101906020018083116107af57829003601f168201915b505050505090505f60096107df846118db565b60086040516020016107f393929190612ed7565b60408051601f198184030181529181525f858152600e6020529081208054929350909161081f90612e1d565b80601f016020809104026020016040519081016040528092919081815260200182805461084b90612e1d565b80156108965780601f1061086d57610100808354040283529160200191610896565b820191905f5260205f20905b81548152906001019060200180831161087957829003601f168201915b505050505090506108d36108a9856118db565b8483856040516020016108bf9493929190612ef4565b604051602081830303815290604052611a00565b6040516020016108e39190612f85565b604051602081830303815290604052945050505050919050565b5f5f5f612710600b54856109119190612fca565b61091b9190612fe1565b600c546001600160a01b0316969095509350505050565b6001600160a01b03851633148061094e575061094e8533611683565b61096a5760405162461bcd60e51b815260040161066090613000565b6109778585858585611b5e565b5050505050565b610986611d2f565b60328160ff16106109cf5760405162461bcd60e51b8152602060048201526013602482015272496e646578206f7574206f6620626f756e647360681b6044820152606401610660565b8160108260ff16603281106109e6576109e661304f565b0180546001600160a01b0319166001600160a01b03929092169190911790555050565b610a11611d2f565b6001600160a01b038116610a765760405162461bcd60e51b815260206004820152602660248201527f726f79616c74792063616e6e6f742062652073656e7420746f207a65726f206160448201526564647265737360d01b6064820152608401610660565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60608151835114610afd5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610660565b5f83516001600160401b03811115610b1757610b17612600565b604051908082528060200260200182016040528015610b40578160200160208202803683370190505b5090505f5b8451811015610baf57610b8a858281518110610b6357610b6361304f565b6020026020010151858381518110610b7d57610b7d61304f565b60200260200101516105fa565b828281518110610b9c57610b9c61304f565b6020908102919091010152600101610b45565b509392505050565b6005546001600160a01b03828116911614610bd0575f5ffd5b5f816001600160a01b0316476040515f6040518083038185875af1925050503d805f8114610c19576040519150601f19603f3d011682016040523d82523d5f602084013e610c1e565b606091505b5050905080610c2b575f5ffd5b5050565b5f805b60328160ff161015610c765733601060ff831660328110610c5557610c5561304f565b01546001600160a01b031603610c6e5760019150610c76565b600101610c32565b5080610c945760405162461bcd60e51b815260040161066090613063565b82518451148015610ca6575081518351145b610ceb5760405162461bcd60e51b8152602060048201526016602482015275082e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b6044820152606401610660565b5f5b845181101561097757610d5b858281518110610d0b57610d0b61304f565b6020026020010151858381518110610d2557610d2561304f565b6020026020010151858481518110610d3f57610d3f61304f565b602002602001015160405180602001604052805f815250611d89565b600101610ced565b610d6b611d2f565b6009610c2b82826130e8565b610d7f611d2f565b610d885f611e98565b565b610d92611d2f565b6008610c2b82826130e8565b5f805b60328160ff161015610de55733601060ff831660328110610dc457610dc461304f565b01546001600160a01b031603610ddd5760019150610de5565b600101610da1565b5080610e035760405162461bcd60e51b815260040161066090613063565b610e1d83838660405180602001604052805f815250611d89565b50505050565b610e2b611d2f565b6006610e388284836131a2565b507fed41a19b397d8e610d8f9e6e52ab2bef7e51c9977a12cb779c7cd86747f8d5096006604051610e69919061325b565b60405180910390a15050565b610e7d611d2f565b60328160ff1610610ec65760405162461bcd60e51b8152602060048201526013602482015272496e646578206f7574206f6620626f756e647360681b6044820152606401610660565b5f60108260ff1660328110610edd57610edd61304f565b0180546001600160a01b0319166001600160a01b039290921691909117905550565b600780546106b790612e1d565b610f14611d2f565b5f828152600e60205260409020610f2b82826130e8565b505050565b610c2b338383611ee9565b5f818152600e60205260409020805460609190610f5790612e1d565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8390612e1d565b8015610fce5780601f10610fa557610100808354040283529160200191610fce565b820191905f5260205f20905b815481529060010190602001808311610fb157829003601f168201915b50505050509050919050565b600880546106b790612e1d565b6060805f83516001600160401b0381111561100457611004612600565b60405190808252806020026020018201604052801561103757816020015b60608152602001906001900390816110225790505b5090505f84516001600160401b0381111561105457611054612600565b60405190808252806020026020018201604052801561108757816020015b60608152602001906001900390816110725790505b5090505f5b855181101561123957600d5f8783815181106110aa576110aa61304f565b602002602001015181526020019081526020015f2080546110ca90612e1d565b80601f01602080910402602001604051908101604052809291908181526020018280546110f690612e1d565b80156111415780601f1061111857610100808354040283529160200191611141565b820191905f5260205f20905b81548152906001019060200180831161112457829003601f168201915b50505050508382815181106111585761115861304f565b6020026020010181905250600e5f8783815181106111785761117861304f565b602002602001015181526020019081526020015f20805461119890612e1d565b80601f01602080910402602001604051908101604052809291908181526020018280546111c490612e1d565b801561120f5780601f106111e65761010080835404028352916020019161120f565b820191905f5260205f20905b8154815290600101906020018083116111f257829003601f168201915b50505050508282815181106112265761122661304f565b602090810291909101015260010161108c565b509094909350915050565b61124c611d2f565b8151835114801561125e575080518251145b6112bd5760405162461bcd60e51b815260206004820152602a60248201527f416c6c20696e70757420617272617973206d75737420686176652074686520736044820152690c2daca40d8cadccee8d60b31b6064820152608401610660565b5f5b8351811015610e1d578281815181106112da576112da61304f565b6020026020010151600d5f8684815181106112f7576112f761304f565b602002602001015181526020019081526020015f20908161131891906130e8565b5081818151811061132b5761132b61304f565b6020026020010151600e5f8684815181106113485761134861304f565b602002602001015181526020019081526020015f20908161136991906130e8565b506001016112bf565b600980546106b790612e1d565b6060805f8484116113d25760405162461bcd60e51b815260206004820152601f60248201527f53746f70206d7573742062652067726561746572207468616e207374617274006044820152606401610660565b6101906113df86866132e2565b111561142d5760405162461bcd60e51b815260206004820152601e60248201527f52616e676520746f6f206c617267652c206d617820343030206974656d7300006044820152606401610660565b5f61143886866132e2565b6001600160401b0381111561144f5761144f612600565b604051908082528060200260200182016040528015611478578160200160208202803683370190505b5090505f5b61148787876132e2565b8110156114c15761149c88610278838a6132f5565b8282815181106114ae576114ae61304f565b602090810291909101015260010161147d565b505f805b8251811015611505575f8382815181106114e1576114e161304f565b602002602001015111156114fd57816114f981613308565b9250505b6001016114c5565b505f816001600160401b0381111561151f5761151f612600565b604051908082528060200260200182016040528015611548578160200160208202803683370190505b5090505f826001600160401b0381111561156457611564612600565b60405190808252806020026020018201604052801561158d578160200160208202803683370190505b5090505f805b8551811015611632575f8682815181106115af576115af61304f565b6020026020010151111561162a576115c7818c6132f5565b8483815181106115d9576115d961304f565b6020026020010181815250508581815181106115f7576115f761304f565b60200260200101518383815181106116115761161161304f565b60209081029190910101528161162681613308565b9250505b600101611593565b50919a9099509197509095505050505050565b60108160328110611654575f80fd5b01546001600160a01b0316905081565b61166c611d2f565b5f828152600d60205260409020610f2b82826130e8565b5f805b60328160ff1610156116cf5760108160ff16603281106116a8576116a861304f565b01546001600160a01b03908116908416036116c757600191505061068b565b600101611686565b506001600160a01b038084165f9081526001602090815260408083209386168352929052205460ff165b9392505050565b5f818152600d60205260409020805460609190610f5790612e1d565b6001600160a01b03851633148061173857506117388533611683565b6117545760405162461bcd60e51b815260040161066090613000565b6109778585858585611fc8565b611769611d2f565b6001600160a01b0381166117ce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610660565b6117d781611e98565b50565b5f805b60328160ff1610156118215733601060ff8316603281106118005761180061304f565b01546001600160a01b0316036118195760019150611821565b6001016117dd565b508061183f5760405162461bcd60e51b815260040161066090613063565b8161184a85856105fa565b1015611854575f5ffd5b610e1d8484846120ee565b611867611d2f565b600b55565b5f6001600160e01b0319821663152a902d60e11b148061068b575061068b825b5f6001600160e01b03198216636cdb3d1360e11b14806118bc57506001600160e01b031982166303a24d0760e21b145b8061068b57506301ffc9a760e01b6001600160e01b031983161461068b565b6060815f036119015750506040805180820190915260018152600360fc1b602082015290565b815f5b811561192a578061191481613308565b91506119239050600a83612fe1565b9150611904565b5f816001600160401b0381111561194357611943612600565b6040519080825280601f01601f19166020018201604052801561196d576020820181803683370190505b509050815b85156119f7576119836001826132e2565b90505f611991600a88612fe1565b61199c90600a612fca565b6119a690886132e2565b6119b1906030613320565b90505f8160f81b9050808484815181106119cd576119cd61304f565b60200101906001600160f81b03191690815f1a9053506119ee600a89612fe1565b97505050611972565b50949350505050565b606081515f03611a1d57505060408051602081019091525f815290565b5f6040518060600160405280604081526020016135846040913990505f600384516002611a4a91906132f5565b611a549190612fe1565b611a5f906004612fca565b90505f611a6d8260206132f5565b6001600160401b03811115611a8457611a84612600565b6040519080825280601f01601f191660200182016040528015611aae576020820181803683370190505b509050818152600183018586518101602084015b81831015611b1a576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101611ac2565b600389510660018114611b345760028114611b4557611b50565b613d3d60f01b600119830152611b50565b603d60f81b5f198301525b509398975050505050505050565b8151835114611bc05760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610660565b6001600160a01b038416611be65760405162461bcd60e51b815260040161066090613339565b335f5b8451811015611cc1575f858281518110611c0557611c0561304f565b602002602001015190505f858381518110611c2257611c2261304f565b6020908102919091018101515f84815280835260408082206001600160a01b038e168352909352919091205490915081811015611c715760405162461bcd60e51b81526004016106609061337e565b5f838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290611cad9084906132f5565b909155505060019093019250611be9915050565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611d119291906133c8565b60405180910390a4611d27818787878787612265565b505050505050565b6005546001600160a01b03163314610d885760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610660565b6001600160a01b038416611de95760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610660565b335f611df4856123bf565b90505f611e00856123bf565b90505f868152602081815260408083206001600160a01b038b16845290915281208054879290611e319084906132f5565b909155505060408051878152602081018790526001600160a01b03808a16925f92918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611e8f835f89898989612408565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b816001600160a01b0316836001600160a01b031603611f5c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610660565b6001600160a01b038381165f81815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416611fee5760405162461bcd60e51b815260040161066090613339565b335f611ff9856123bf565b90505f612005856123bf565b90505f868152602081815260408083206001600160a01b038c168452909152902054858110156120475760405162461bcd60e51b81526004016106609061337e565b5f878152602081815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906120839084906132f5565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46120e3848a8a8a8a8a612408565b505050505050505050565b6001600160a01b0383166121505760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610660565b335f61215b846123bf565b90505f612167846123bf565b60408051602080820183525f918290528882528181528282206001600160a01b038b16835290522054909150848110156121ef5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610660565b5f868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a460408051602081019091525f9052611e8f565b6001600160a01b0384163b15611d275760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906122a990899089908890889088906004016133ec565b6020604051808303815f875af19250505080156122e3575060408051601f3d908101601f191682019092526122e091810190613449565b60015b61238f576122ef613464565b806308c379a003612328575061230361347d565b8061230e575061232a565b8060405162461bcd60e51b815260040161066091906125b7565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610660565b6001600160e01b0319811663bc197c8160e01b14611e8f5760405162461bcd60e51b8152600401610660906134f7565b6040805160018082528183019092526060915f91906020808301908036833701905050905082815f815181106123f7576123f761304f565b602090810291909101015292915050565b6001600160a01b0384163b15611d275760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061244c908990899088908890889060040161353f565b6020604051808303815f875af1925050508015612486575060408051601f3d908101601f1916820190925261248391810190613449565b60015b612492576122ef613464565b6001600160e01b0319811663f23a6e6160e01b14611e8f5760405162461bcd60e51b8152600401610660906134f7565b6040518061064001604052806032906020820280368337509192915050565b610640810181835f5b60328110156125125781516001600160a01b03168352602092830192909101906001016124ea565b50505092915050565b6001600160a01b03811681146117d7575f5ffd5b5f5f60408385031215612540575f5ffd5b823561254b8161251b565b946020939093013593505050565b6001600160e01b0319811681146117d7575f5ffd5b5f6020828403121561257e575f5ffd5b81356116f981612559565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6116f96020830184612589565b5f602082840312156125d9575f5ffd5b5035919050565b5f5f604083850312156125f1575f5ffd5b50508035926020909101359150565b634e487b7160e01b5f52604160045260245ffd5b601f8201601f191681016001600160401b038111828210171561263957612639612600565b6040525050565b5f6001600160401b0382111561265857612658612600565b5060051b60200190565b5f82601f830112612671575f5ffd5b813561267c81612640565b6040516126898282612614565b80915082815260208101915060208360051b8601019250858311156126ac575f5ffd5b602085015b838110156126c95780358352602092830192016126b1565b5095945050505050565b5f82601f8301126126e2575f5ffd5b8135602083015f5f6001600160401b0384111561270157612701612600565b50604051601f8401601f19166020019061271b8282612614565b80925084815287858501111561272f575f5ffd5b848460208301375f60208683010152809550505050505092915050565b5f5f5f5f5f60a08688031215612760575f5ffd5b853561276b8161251b565b9450602086013561277b8161251b565b935060408601356001600160401b03811115612795575f5ffd5b6127a188828901612662565b93505060608601356001600160401b038111156127bc575f5ffd5b6127c888828901612662565b92505060808601356001600160401b038111156127e3575f5ffd5b6127ef888289016126d3565b9150509295509295909350565b803560ff8116811461280c575f5ffd5b919050565b5f5f60408385031215612822575f5ffd5b823561282d8161251b565b915061283b602084016127fc565b90509250929050565b5f60208284031215612854575f5ffd5b81356116f98161251b565b5f82601f83011261286e575f5ffd5b813561287981612640565b6040516128868282612614565b80915082815260208101915060208360051b8601019250858311156128a9575f5ffd5b602085015b838110156126c95780356128c18161251b565b8352602092830192016128ae565b5f5f604083850312156128e0575f5ffd5b82356001600160401b038111156128f5575f5ffd5b6129018582860161285f565b92505060208301356001600160401b0381111561291c575f5ffd5b61292885828601612662565b9150509250929050565b5f8151808452602084019350602083015f5b82811015612962578151865260209586019590910190600101612944565b5093949350505050565b602081525f6116f96020830184612932565b5f5f5f60608486031215612990575f5ffd5b83356001600160401b038111156129a5575f5ffd5b6129b18682870161285f565b93505060208401356001600160401b038111156129cc575f5ffd5b6129d886828701612662565b92505060408401356001600160401b038111156129f3575f5ffd5b6129ff86828701612662565b9150509250925092565b5f60208284031215612a19575f5ffd5b81356001600160401b03811115612a2e575f5ffd5b612a3a848285016126d3565b949350505050565b5f5f5f60608486031215612a54575f5ffd5b833592506020840135612a668161251b565b929592945050506040919091013590565b5f5f60208385031215612a88575f5ffd5b82356001600160401b03811115612a9d575f5ffd5b8301601f81018513612aad575f5ffd5b80356001600160401b03811115612ac2575f5ffd5b856020828401011115612ad3575f5ffd5b6020919091019590945092505050565b5f60208284031215612af3575f5ffd5b6116f9826127fc565b5f5f60408385031215612b0d575f5ffd5b8235915060208301356001600160401b03811115612b29575f5ffd5b612928858286016126d3565b5f5f60408385031215612b46575f5ffd5b8235612b518161251b565b915060208301358015158114612b65575f5ffd5b809150509250929050565b5f60208284031215612b80575f5ffd5b81356001600160401b03811115612b95575f5ffd5b612a3a84828501612662565b5f82825180855260208501945060208160051b830101602085015f5b83811015612bef57601f19858403018852612bd9838351612589565b6020988901989093509190910190600101612bbd565b50909695505050505050565b604081525f612c0d6040830185612ba1565b8281036020840152612c1f8185612ba1565b95945050505050565b5f82601f830112612c37575f5ffd5b8135612c4281612640565b604051612c4f8282612614565b80915082815260208101915060208360051b860101925085831115612c72575f5ffd5b602085015b838110156126c95780356001600160401b03811115612c94575f5ffd5b612ca3886020838a01016126d3565b84525060209283019201612c77565b5f5f5f60608486031215612cc4575f5ffd5b83356001600160401b03811115612cd9575f5ffd5b612ce586828701612662565b93505060208401356001600160401b03811115612d00575f5ffd5b612d0c86828701612c28565b92505060408401356001600160401b03811115612d27575f5ffd5b6129ff86828701612c28565b5f5f5f60608486031215612d45575f5ffd5b8335612d508161251b565b95602085013595506040909401359392505050565b606081525f612d776060830186612932565b8281036020840152612d898186612932565b915050826040830152949350505050565b5f5f60408385031215612dab575f5ffd5b8235612db68161251b565b91506020830135612b658161251b565b5f5f5f5f5f60a08688031215612dda575f5ffd5b8535612de58161251b565b94506020860135612df58161251b565b9350604086013592506060860135915060808601356001600160401b038111156127e3575f5ffd5b600181811c90821680612e3157607f821691505b602082108103612e4f57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f8154612e6181612e1d565b600182168015612e785760018114612e8d57612512565b60ff1983168652811515820286019350612512565b845f5260205f205f5b83811015612eb257815488820152600190910190602001612e96565b505050939093019392505050565b5f81518060208401855e5f93019283525090919050565b5f612c1f612eee612ee88488612e55565b86612ec0565b84612e55565b6a7b226e616d65223a20222360a81b81525f612f13600b830187612ec0565b600160fd1b8152612f276001820187612ec0565b711116113232b9b1b934b83a34b7b7111d101160711b81529050612f4e6012820186612ec0565b6b11161134b6b0b3b2911d101160a11b81529050612f6f600c820185612ec0565b61227d60f01b8152600201979650505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081525f6116f9601d830184612ec0565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761068b5761068b612fb6565b5f82612ffb57634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b60208082526021908201527f4f6e6c7920616c6c6f77656420666f72206d617374657220636f6e74726163746040820152607360f81b606082015260800190565b601f821115610f2b57805f5260205f20601f840160051c810160208510156130c95750805b601f840160051c820191505b81811015610977575f81556001016130d5565b81516001600160401b0381111561310157613101612600565b6131158161310f8454612e1d565b846130a4565b6020601f821160018114613147575f83156131305750848201515b5f19600385901b1c1916600184901b178455610977565b5f84815260208120601f198516915b828110156131765787850151825560209485019460019092019101613156565b508482101561319357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b038311156131b9576131b9612600565b6131cd836131c78354612e1d565b836130a4565b5f601f8411600181146131fe575f85156131e75750838201355b5f19600387901b1c1916600186901b178355610977565b5f83815260208120601f198716915b8281101561322d578685013582556020948501946001909201910161320d565b5086821015613249575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b602081525f5f835461326c81612e1d565b806020860152600182165f811461328a57600181146132a6576132d7565b60ff1983166040870152604082151560051b87010193506132d7565b865f5260205f205f5b838110156132ce578154888201604001526001909101906020016132af565b87016040019450505b509195945050505050565b8181038181111561068b5761068b612fb6565b8082018082111561068b5761068b612fb6565b5f6001820161331957613319612fb6565b5060010190565b60ff818116838216019081111561068b5761068b612fb6565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b604081525f6133da6040830185612932565b8281036020840152612c1f8185612932565b6001600160a01b0386811682528516602082015260a0604082018190525f9061341790830186612932565b82810360608401526134298186612932565b9050828103608084015261343d8185612589565b98975050505050505050565b5f60208284031215613459575f5ffd5b81516116f981612559565b5f60033d111561347a5760045f5f3e505f5160e01c5b90565b5f60443d101561348a5790565b6040513d600319016004823e80513d60248201116001600160401b03821117156134b357505090565b80820180516001600160401b038111156134ce575050505090565b3d84016003190182820160200111156134e8575050505090565b610baf60208285010185612614565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f9061357890830184612589565b97965050505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220a059d793b8afb532b9ad202b52e8f5bde8132bf57403654c6529b778ca238c6664736f6c634300081c003368747470733a2f2f697066732f6261667962656961797778687a6275637368676c6b6a6d7632646a6470323236377535736877776f70746f336d353632346e377875636d6977646d2f

Deployed Bytecode

0x608060405234801561000f575f5ffd5b5060043610610248575f3560e01c806384da92a711610140578063ab4f3446116100bf578063e985e9c511610084578063e985e9c514610542578063ed91dcda14610555578063f242432a14610568578063f2fde38b1461057b578063f5298aca1461058e578063fc199fcb146105a1575f5ffd5b8063ab4f3446146104df578063b90497e0146104f2578063cc855c5d146104fa578063cf7470fa1461051c578063df6e99111461052f575f5ffd5b80639abc8320116101055780639abc83201461046a578063a22cb46514610490578063a487ce2d146104a3578063a9ef3aeb146104b6578063ab19c549146104be575f5ffd5b806384da92a7146104185780638da5cb5b1461042b57806391ec64381461043c57806395d89b411461044f57806397a1ce3314610457575f5ffd5b806341e42f30116101cc57806358e792ee1161019157806358e792ee146103ca578063685455fd146103dd578063715018a6146103ea5780637e2285aa146103f2578063836a104014610405575f5ffd5b806341e42f30146103465780634c00de82146103595780634e1273f41461038457806351cff8d9146103a457806357128683146103b7575f5ffd5b806329ee566c1161021257806329ee566c146102d65780632a55205a146102df5780632eb2c2d614610311578063365b521f146103265780633fa8aaa914610339575f5ffd5b8062be2fec1461024c578062fdd58e1461026a57806301ffc9a71461028b57806306fdde03146102ae5780630e89341c146102c3575b5f5ffd5b6102546105b4565b60405161026191906124e1565b60405180910390f35b61027d61027836600461252f565b6105fa565b604051908152602001610261565b61029e61029936600461256e565b610691565b6040519015158152602001610261565b6102b66106aa565b60405161026191906125b7565b6102b66102d13660046125c9565b610736565b61027d600b5481565b6102f26102ed3660046125e0565b6108fd565b604080516001600160a01b039093168352602083019190915201610261565b61032461031f36600461274c565b610932565b005b610324610334366004612811565b61097e565b600a5461029e9060ff1681565b610324610354366004612844565b610a09565b600c5461036c906001600160a01b031681565b6040516001600160a01b039091168152602001610261565b6103976103923660046128cf565b610a98565b604051610261919061296c565b6103246103b2366004612844565b610bb7565b6103246103c536600461297e565b610c2f565b6103246103d8366004612a09565b610d63565b600f5461029e9060ff1681565b610324610d77565b610324610400366004612a09565b610d8a565b610324610413366004612a42565b610d9e565b610324610426366004612a77565b610e23565b6005546001600160a01b031661036c565b61032461044a366004612ae3565b610e75565b6102b6610eff565b610324610465366004612afc565b610f0c565b6102b660405180604001604052806007815260200166697066733a2f2f60c81b81525081565b61032461049e366004612b35565b610f30565b6102b66104b13660046125c9565b610f3b565b6102b6610fda565b6104d16104cc366004612b70565b610fe7565b604051610261929190612bfb565b6103246104ed366004612cb2565b611244565b6102b6611372565b61050d610508366004612d33565b61137f565b60405161026193929190612d65565b61036c61052a3660046125c9565b611645565b61032461053d366004612afc565b611664565b61029e610550366004612d9a565b611683565b6102b66105633660046125c9565b611700565b610324610576366004612dc6565b61171c565b610324610589366004612844565b611761565b61032461059c366004612d33565b6117da565b6103246105af3660046125c9565b61185f565b6105bc6124c2565b604080516106408101918290529060109060329082845b81546001600160a01b031681526001909101906020018083116105d3575050505050905090565b5f6001600160a01b0383166106695760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b505f818152602081815260408083206001600160a01b03861684529091529020545b92915050565b5f61069b8261186c565b8061068b575061068b8261188c565b600680546106b790612e1d565b80601f01602080910402602001604051908101604052809291908181526020018280546106e390612e1d565b801561072e5780601f106107055761010080835404028352916020019161072e565b820191905f5260205f20905b81548152906001019060200180831161071157829003601f168201915b505050505081565b5f818152600d6020526040812080546060928492909161075590612e1d565b80601f016020809104026020016040519081016040528092919081815260200182805461078190612e1d565b80156107cc5780601f106107a3576101008083540402835291602001916107cc565b820191905f5260205f20905b8154815290600101906020018083116107af57829003601f168201915b505050505090505f60096107df846118db565b60086040516020016107f393929190612ed7565b60408051601f198184030181529181525f858152600e6020529081208054929350909161081f90612e1d565b80601f016020809104026020016040519081016040528092919081815260200182805461084b90612e1d565b80156108965780601f1061086d57610100808354040283529160200191610896565b820191905f5260205f20905b81548152906001019060200180831161087957829003601f168201915b505050505090506108d36108a9856118db565b8483856040516020016108bf9493929190612ef4565b604051602081830303815290604052611a00565b6040516020016108e39190612f85565b604051602081830303815290604052945050505050919050565b5f5f5f612710600b54856109119190612fca565b61091b9190612fe1565b600c546001600160a01b0316969095509350505050565b6001600160a01b03851633148061094e575061094e8533611683565b61096a5760405162461bcd60e51b815260040161066090613000565b6109778585858585611b5e565b5050505050565b610986611d2f565b60328160ff16106109cf5760405162461bcd60e51b8152602060048201526013602482015272496e646578206f7574206f6620626f756e647360681b6044820152606401610660565b8160108260ff16603281106109e6576109e661304f565b0180546001600160a01b0319166001600160a01b03929092169190911790555050565b610a11611d2f565b6001600160a01b038116610a765760405162461bcd60e51b815260206004820152602660248201527f726f79616c74792063616e6e6f742062652073656e7420746f207a65726f206160448201526564647265737360d01b6064820152608401610660565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60608151835114610afd5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610660565b5f83516001600160401b03811115610b1757610b17612600565b604051908082528060200260200182016040528015610b40578160200160208202803683370190505b5090505f5b8451811015610baf57610b8a858281518110610b6357610b6361304f565b6020026020010151858381518110610b7d57610b7d61304f565b60200260200101516105fa565b828281518110610b9c57610b9c61304f565b6020908102919091010152600101610b45565b509392505050565b6005546001600160a01b03828116911614610bd0575f5ffd5b5f816001600160a01b0316476040515f6040518083038185875af1925050503d805f8114610c19576040519150601f19603f3d011682016040523d82523d5f602084013e610c1e565b606091505b5050905080610c2b575f5ffd5b5050565b5f805b60328160ff161015610c765733601060ff831660328110610c5557610c5561304f565b01546001600160a01b031603610c6e5760019150610c76565b600101610c32565b5080610c945760405162461bcd60e51b815260040161066090613063565b82518451148015610ca6575081518351145b610ceb5760405162461bcd60e51b8152602060048201526016602482015275082e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b6044820152606401610660565b5f5b845181101561097757610d5b858281518110610d0b57610d0b61304f565b6020026020010151858381518110610d2557610d2561304f565b6020026020010151858481518110610d3f57610d3f61304f565b602002602001015160405180602001604052805f815250611d89565b600101610ced565b610d6b611d2f565b6009610c2b82826130e8565b610d7f611d2f565b610d885f611e98565b565b610d92611d2f565b6008610c2b82826130e8565b5f805b60328160ff161015610de55733601060ff831660328110610dc457610dc461304f565b01546001600160a01b031603610ddd5760019150610de5565b600101610da1565b5080610e035760405162461bcd60e51b815260040161066090613063565b610e1d83838660405180602001604052805f815250611d89565b50505050565b610e2b611d2f565b6006610e388284836131a2565b507fed41a19b397d8e610d8f9e6e52ab2bef7e51c9977a12cb779c7cd86747f8d5096006604051610e69919061325b565b60405180910390a15050565b610e7d611d2f565b60328160ff1610610ec65760405162461bcd60e51b8152602060048201526013602482015272496e646578206f7574206f6620626f756e647360681b6044820152606401610660565b5f60108260ff1660328110610edd57610edd61304f565b0180546001600160a01b0319166001600160a01b039290921691909117905550565b600780546106b790612e1d565b610f14611d2f565b5f828152600e60205260409020610f2b82826130e8565b505050565b610c2b338383611ee9565b5f818152600e60205260409020805460609190610f5790612e1d565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8390612e1d565b8015610fce5780601f10610fa557610100808354040283529160200191610fce565b820191905f5260205f20905b815481529060010190602001808311610fb157829003601f168201915b50505050509050919050565b600880546106b790612e1d565b6060805f83516001600160401b0381111561100457611004612600565b60405190808252806020026020018201604052801561103757816020015b60608152602001906001900390816110225790505b5090505f84516001600160401b0381111561105457611054612600565b60405190808252806020026020018201604052801561108757816020015b60608152602001906001900390816110725790505b5090505f5b855181101561123957600d5f8783815181106110aa576110aa61304f565b602002602001015181526020019081526020015f2080546110ca90612e1d565b80601f01602080910402602001604051908101604052809291908181526020018280546110f690612e1d565b80156111415780601f1061111857610100808354040283529160200191611141565b820191905f5260205f20905b81548152906001019060200180831161112457829003601f168201915b50505050508382815181106111585761115861304f565b6020026020010181905250600e5f8783815181106111785761117861304f565b602002602001015181526020019081526020015f20805461119890612e1d565b80601f01602080910402602001604051908101604052809291908181526020018280546111c490612e1d565b801561120f5780601f106111e65761010080835404028352916020019161120f565b820191905f5260205f20905b8154815290600101906020018083116111f257829003601f168201915b50505050508282815181106112265761122661304f565b602090810291909101015260010161108c565b509094909350915050565b61124c611d2f565b8151835114801561125e575080518251145b6112bd5760405162461bcd60e51b815260206004820152602a60248201527f416c6c20696e70757420617272617973206d75737420686176652074686520736044820152690c2daca40d8cadccee8d60b31b6064820152608401610660565b5f5b8351811015610e1d578281815181106112da576112da61304f565b6020026020010151600d5f8684815181106112f7576112f761304f565b602002602001015181526020019081526020015f20908161131891906130e8565b5081818151811061132b5761132b61304f565b6020026020010151600e5f8684815181106113485761134861304f565b602002602001015181526020019081526020015f20908161136991906130e8565b506001016112bf565b600980546106b790612e1d565b6060805f8484116113d25760405162461bcd60e51b815260206004820152601f60248201527f53746f70206d7573742062652067726561746572207468616e207374617274006044820152606401610660565b6101906113df86866132e2565b111561142d5760405162461bcd60e51b815260206004820152601e60248201527f52616e676520746f6f206c617267652c206d617820343030206974656d7300006044820152606401610660565b5f61143886866132e2565b6001600160401b0381111561144f5761144f612600565b604051908082528060200260200182016040528015611478578160200160208202803683370190505b5090505f5b61148787876132e2565b8110156114c15761149c88610278838a6132f5565b8282815181106114ae576114ae61304f565b602090810291909101015260010161147d565b505f805b8251811015611505575f8382815181106114e1576114e161304f565b602002602001015111156114fd57816114f981613308565b9250505b6001016114c5565b505f816001600160401b0381111561151f5761151f612600565b604051908082528060200260200182016040528015611548578160200160208202803683370190505b5090505f826001600160401b0381111561156457611564612600565b60405190808252806020026020018201604052801561158d578160200160208202803683370190505b5090505f805b8551811015611632575f8682815181106115af576115af61304f565b6020026020010151111561162a576115c7818c6132f5565b8483815181106115d9576115d961304f565b6020026020010181815250508581815181106115f7576115f761304f565b60200260200101518383815181106116115761161161304f565b60209081029190910101528161162681613308565b9250505b600101611593565b50919a9099509197509095505050505050565b60108160328110611654575f80fd5b01546001600160a01b0316905081565b61166c611d2f565b5f828152600d60205260409020610f2b82826130e8565b5f805b60328160ff1610156116cf5760108160ff16603281106116a8576116a861304f565b01546001600160a01b03908116908416036116c757600191505061068b565b600101611686565b506001600160a01b038084165f9081526001602090815260408083209386168352929052205460ff165b9392505050565b5f818152600d60205260409020805460609190610f5790612e1d565b6001600160a01b03851633148061173857506117388533611683565b6117545760405162461bcd60e51b815260040161066090613000565b6109778585858585611fc8565b611769611d2f565b6001600160a01b0381166117ce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610660565b6117d781611e98565b50565b5f805b60328160ff1610156118215733601060ff8316603281106118005761180061304f565b01546001600160a01b0316036118195760019150611821565b6001016117dd565b508061183f5760405162461bcd60e51b815260040161066090613063565b8161184a85856105fa565b1015611854575f5ffd5b610e1d8484846120ee565b611867611d2f565b600b55565b5f6001600160e01b0319821663152a902d60e11b148061068b575061068b825b5f6001600160e01b03198216636cdb3d1360e11b14806118bc57506001600160e01b031982166303a24d0760e21b145b8061068b57506301ffc9a760e01b6001600160e01b031983161461068b565b6060815f036119015750506040805180820190915260018152600360fc1b602082015290565b815f5b811561192a578061191481613308565b91506119239050600a83612fe1565b9150611904565b5f816001600160401b0381111561194357611943612600565b6040519080825280601f01601f19166020018201604052801561196d576020820181803683370190505b509050815b85156119f7576119836001826132e2565b90505f611991600a88612fe1565b61199c90600a612fca565b6119a690886132e2565b6119b1906030613320565b90505f8160f81b9050808484815181106119cd576119cd61304f565b60200101906001600160f81b03191690815f1a9053506119ee600a89612fe1565b97505050611972565b50949350505050565b606081515f03611a1d57505060408051602081019091525f815290565b5f6040518060600160405280604081526020016135846040913990505f600384516002611a4a91906132f5565b611a549190612fe1565b611a5f906004612fca565b90505f611a6d8260206132f5565b6001600160401b03811115611a8457611a84612600565b6040519080825280601f01601f191660200182016040528015611aae576020820181803683370190505b509050818152600183018586518101602084015b81831015611b1a576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101611ac2565b600389510660018114611b345760028114611b4557611b50565b613d3d60f01b600119830152611b50565b603d60f81b5f198301525b509398975050505050505050565b8151835114611bc05760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610660565b6001600160a01b038416611be65760405162461bcd60e51b815260040161066090613339565b335f5b8451811015611cc1575f858281518110611c0557611c0561304f565b602002602001015190505f858381518110611c2257611c2261304f565b6020908102919091018101515f84815280835260408082206001600160a01b038e168352909352919091205490915081811015611c715760405162461bcd60e51b81526004016106609061337e565b5f838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290611cad9084906132f5565b909155505060019093019250611be9915050565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611d119291906133c8565b60405180910390a4611d27818787878787612265565b505050505050565b6005546001600160a01b03163314610d885760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610660565b6001600160a01b038416611de95760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610660565b335f611df4856123bf565b90505f611e00856123bf565b90505f868152602081815260408083206001600160a01b038b16845290915281208054879290611e319084906132f5565b909155505060408051878152602081018790526001600160a01b03808a16925f92918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611e8f835f89898989612408565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b816001600160a01b0316836001600160a01b031603611f5c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610660565b6001600160a01b038381165f81815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416611fee5760405162461bcd60e51b815260040161066090613339565b335f611ff9856123bf565b90505f612005856123bf565b90505f868152602081815260408083206001600160a01b038c168452909152902054858110156120475760405162461bcd60e51b81526004016106609061337e565b5f878152602081815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906120839084906132f5565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46120e3848a8a8a8a8a612408565b505050505050505050565b6001600160a01b0383166121505760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610660565b335f61215b846123bf565b90505f612167846123bf565b60408051602080820183525f918290528882528181528282206001600160a01b038b16835290522054909150848110156121ef5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610660565b5f868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a460408051602081019091525f9052611e8f565b6001600160a01b0384163b15611d275760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906122a990899089908890889088906004016133ec565b6020604051808303815f875af19250505080156122e3575060408051601f3d908101601f191682019092526122e091810190613449565b60015b61238f576122ef613464565b806308c379a003612328575061230361347d565b8061230e575061232a565b8060405162461bcd60e51b815260040161066091906125b7565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610660565b6001600160e01b0319811663bc197c8160e01b14611e8f5760405162461bcd60e51b8152600401610660906134f7565b6040805160018082528183019092526060915f91906020808301908036833701905050905082815f815181106123f7576123f761304f565b602090810291909101015292915050565b6001600160a01b0384163b15611d275760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061244c908990899088908890889060040161353f565b6020604051808303815f875af1925050508015612486575060408051601f3d908101601f1916820190925261248391810190613449565b60015b612492576122ef613464565b6001600160e01b0319811663f23a6e6160e01b14611e8f5760405162461bcd60e51b8152600401610660906134f7565b6040518061064001604052806032906020820280368337509192915050565b610640810181835f5b60328110156125125781516001600160a01b03168352602092830192909101906001016124ea565b50505092915050565b6001600160a01b03811681146117d7575f5ffd5b5f5f60408385031215612540575f5ffd5b823561254b8161251b565b946020939093013593505050565b6001600160e01b0319811681146117d7575f5ffd5b5f6020828403121561257e575f5ffd5b81356116f981612559565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6116f96020830184612589565b5f602082840312156125d9575f5ffd5b5035919050565b5f5f604083850312156125f1575f5ffd5b50508035926020909101359150565b634e487b7160e01b5f52604160045260245ffd5b601f8201601f191681016001600160401b038111828210171561263957612639612600565b6040525050565b5f6001600160401b0382111561265857612658612600565b5060051b60200190565b5f82601f830112612671575f5ffd5b813561267c81612640565b6040516126898282612614565b80915082815260208101915060208360051b8601019250858311156126ac575f5ffd5b602085015b838110156126c95780358352602092830192016126b1565b5095945050505050565b5f82601f8301126126e2575f5ffd5b8135602083015f5f6001600160401b0384111561270157612701612600565b50604051601f8401601f19166020019061271b8282612614565b80925084815287858501111561272f575f5ffd5b848460208301375f60208683010152809550505050505092915050565b5f5f5f5f5f60a08688031215612760575f5ffd5b853561276b8161251b565b9450602086013561277b8161251b565b935060408601356001600160401b03811115612795575f5ffd5b6127a188828901612662565b93505060608601356001600160401b038111156127bc575f5ffd5b6127c888828901612662565b92505060808601356001600160401b038111156127e3575f5ffd5b6127ef888289016126d3565b9150509295509295909350565b803560ff8116811461280c575f5ffd5b919050565b5f5f60408385031215612822575f5ffd5b823561282d8161251b565b915061283b602084016127fc565b90509250929050565b5f60208284031215612854575f5ffd5b81356116f98161251b565b5f82601f83011261286e575f5ffd5b813561287981612640565b6040516128868282612614565b80915082815260208101915060208360051b8601019250858311156128a9575f5ffd5b602085015b838110156126c95780356128c18161251b565b8352602092830192016128ae565b5f5f604083850312156128e0575f5ffd5b82356001600160401b038111156128f5575f5ffd5b6129018582860161285f565b92505060208301356001600160401b0381111561291c575f5ffd5b61292885828601612662565b9150509250929050565b5f8151808452602084019350602083015f5b82811015612962578151865260209586019590910190600101612944565b5093949350505050565b602081525f6116f96020830184612932565b5f5f5f60608486031215612990575f5ffd5b83356001600160401b038111156129a5575f5ffd5b6129b18682870161285f565b93505060208401356001600160401b038111156129cc575f5ffd5b6129d886828701612662565b92505060408401356001600160401b038111156129f3575f5ffd5b6129ff86828701612662565b9150509250925092565b5f60208284031215612a19575f5ffd5b81356001600160401b03811115612a2e575f5ffd5b612a3a848285016126d3565b949350505050565b5f5f5f60608486031215612a54575f5ffd5b833592506020840135612a668161251b565b929592945050506040919091013590565b5f5f60208385031215612a88575f5ffd5b82356001600160401b03811115612a9d575f5ffd5b8301601f81018513612aad575f5ffd5b80356001600160401b03811115612ac2575f5ffd5b856020828401011115612ad3575f5ffd5b6020919091019590945092505050565b5f60208284031215612af3575f5ffd5b6116f9826127fc565b5f5f60408385031215612b0d575f5ffd5b8235915060208301356001600160401b03811115612b29575f5ffd5b612928858286016126d3565b5f5f60408385031215612b46575f5ffd5b8235612b518161251b565b915060208301358015158114612b65575f5ffd5b809150509250929050565b5f60208284031215612b80575f5ffd5b81356001600160401b03811115612b95575f5ffd5b612a3a84828501612662565b5f82825180855260208501945060208160051b830101602085015f5b83811015612bef57601f19858403018852612bd9838351612589565b6020988901989093509190910190600101612bbd565b50909695505050505050565b604081525f612c0d6040830185612ba1565b8281036020840152612c1f8185612ba1565b95945050505050565b5f82601f830112612c37575f5ffd5b8135612c4281612640565b604051612c4f8282612614565b80915082815260208101915060208360051b860101925085831115612c72575f5ffd5b602085015b838110156126c95780356001600160401b03811115612c94575f5ffd5b612ca3886020838a01016126d3565b84525060209283019201612c77565b5f5f5f60608486031215612cc4575f5ffd5b83356001600160401b03811115612cd9575f5ffd5b612ce586828701612662565b93505060208401356001600160401b03811115612d00575f5ffd5b612d0c86828701612c28565b92505060408401356001600160401b03811115612d27575f5ffd5b6129ff86828701612c28565b5f5f5f60608486031215612d45575f5ffd5b8335612d508161251b565b95602085013595506040909401359392505050565b606081525f612d776060830186612932565b8281036020840152612d898186612932565b915050826040830152949350505050565b5f5f60408385031215612dab575f5ffd5b8235612db68161251b565b91506020830135612b658161251b565b5f5f5f5f5f60a08688031215612dda575f5ffd5b8535612de58161251b565b94506020860135612df58161251b565b9350604086013592506060860135915060808601356001600160401b038111156127e3575f5ffd5b600181811c90821680612e3157607f821691505b602082108103612e4f57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f8154612e6181612e1d565b600182168015612e785760018114612e8d57612512565b60ff1983168652811515820286019350612512565b845f5260205f205f5b83811015612eb257815488820152600190910190602001612e96565b505050939093019392505050565b5f81518060208401855e5f93019283525090919050565b5f612c1f612eee612ee88488612e55565b86612ec0565b84612e55565b6a7b226e616d65223a20222360a81b81525f612f13600b830187612ec0565b600160fd1b8152612f276001820187612ec0565b711116113232b9b1b934b83a34b7b7111d101160711b81529050612f4e6012820186612ec0565b6b11161134b6b0b3b2911d101160a11b81529050612f6f600c820185612ec0565b61227d60f01b8152600201979650505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081525f6116f9601d830184612ec0565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761068b5761068b612fb6565b5f82612ffb57634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b60208082526021908201527f4f6e6c7920616c6c6f77656420666f72206d617374657220636f6e74726163746040820152607360f81b606082015260800190565b601f821115610f2b57805f5260205f20601f840160051c810160208510156130c95750805b601f840160051c820191505b81811015610977575f81556001016130d5565b81516001600160401b0381111561310157613101612600565b6131158161310f8454612e1d565b846130a4565b6020601f821160018114613147575f83156131305750848201515b5f19600385901b1c1916600184901b178455610977565b5f84815260208120601f198516915b828110156131765787850151825560209485019460019092019101613156565b508482101561319357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b038311156131b9576131b9612600565b6131cd836131c78354612e1d565b836130a4565b5f601f8411600181146131fe575f85156131e75750838201355b5f19600387901b1c1916600186901b178355610977565b5f83815260208120601f198716915b8281101561322d578685013582556020948501946001909201910161320d565b5086821015613249575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b602081525f5f835461326c81612e1d565b806020860152600182165f811461328a57600181146132a6576132d7565b60ff1983166040870152604082151560051b87010193506132d7565b865f5260205f205f5b838110156132ce578154888201604001526001909101906020016132af565b87016040019450505b509195945050505050565b8181038181111561068b5761068b612fb6565b8082018082111561068b5761068b612fb6565b5f6001820161331957613319612fb6565b5060010190565b60ff818116838216019081111561068b5761068b612fb6565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b604081525f6133da6040830185612932565b8281036020840152612c1f8185612932565b6001600160a01b0386811682528516602082015260a0604082018190525f9061341790830186612932565b82810360608401526134298186612932565b9050828103608084015261343d8185612589565b98975050505050505050565b5f60208284031215613459575f5ffd5b81516116f981612559565b5f60033d111561347a5760045f5f3e505f5160e01c5b90565b5f60443d101561348a5790565b6040513d600319016004823e80513d60248201116001600160401b03821117156134b357505090565b80820180516001600160401b038111156134ce575050505090565b3d84016003190182820160200111156134e8575050505090565b610baf60208285010185612614565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f9061357890830184612589565b97965050505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220a059d793b8afb532b9ad202b52e8f5bde8132bf57403654c6529b778ca238c6664736f6c634300081c0033

Deployed Bytecode Sourcemap

56930:11193:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59364:114;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20972:230;;;;;;:::i;:::-;;:::i;:::-;;;1174:25:1;;;1162:2;1147:18;20972:230:0;1028:177:1;58691:267:0;;;;;;:::i;:::-;;:::i;:::-;;;1761:14:1;;1754:22;1736:41;;1724:2;1709:18;58691:267:0;1596:187:1;57085:48:0;;;:::i;:::-;;;;;;;:::i;66665:875::-;;;;;;:::i;:::-;;:::i;57468:25::-;;;;;;59851:208;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3081:32:1;;;3063:51;;3145:2;3130:18;;3123:34;;;;3036:18;59851:208:0;2889:274:1;22916:439:0;;;;;;:::i;:::-;;:::i;:::-;;59484:184;;;;;;:::i;:::-;;:::i;57384:28::-;;;;;;;;;60065:221;;;;;;:::i;:::-;;:::i;57538:31::-;;;;;-1:-1:-1;;;;;57538:31:0;;;;;;-1:-1:-1;;;;;7203:32:1;;;7185:51;;7173:2;7158:18;57538:31:0;7039:203:1;21368:524:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;60588:237::-;;;;;;:::i;:::-;;:::i;63455:557::-;;;;;;:::i;:::-;;:::i;57745:202::-;;;;;;:::i;:::-;;:::i;58176:19::-;;;;;;;;;45954:103;;;:::i;57953:209::-;;;;;;:::i;:::-;;:::i;63273:148::-;;;;;;:::i;:::-;;:::i;60437:145::-;;;;;;:::i;:::-;;:::i;45306:87::-;45379:6;;-1:-1:-1;;;;;45379:6:0;45306:87;;59674:171;;;;;;:::i;:::-;;:::i;57140:37::-;;;:::i;61339:146::-;;;;;;:::i;:::-;;:::i;57184:42::-;;;;;;;;;;;;;;;-1:-1:-1;;;57184:42:0;;;;;21965:155;;;;;;:::i;:::-;;:::i;62198:129::-;;;;;;:::i;:::-;;:::i;57233:37::-;;;:::i;62393:499::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;61562:448::-;;;;;;:::i;:::-;;:::i;57277:100::-;;;:::i;64983:1188::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;58964:34::-;;;;;;:::i;:::-;;:::i;61215:118::-;;;;;;:::i;:::-;;:::i;60831:360::-;;;;;;:::i;:::-;;:::i;62044:115::-;;;;;;:::i;:::-;;:::i;22432:407::-;;;;;;:::i;:::-;;:::i;46212:201::-;;;;;;:::i;:::-;;:::i;64084:176::-;;;;;;:::i;:::-;;:::i;60292:139::-;;;;;;:::i;:::-;;:::i;59364:114::-;59416:18;;:::i;:::-;59448:22;;;;;;;;;;;59455:15;;59448:22;;59455:15;59448:22;;;;-1:-1:-1;;;;;59448:22:0;;;;;;;;;;;;;;;;;;;;;;59364:114;:::o;20972:230::-;21058:7;-1:-1:-1;;;;;21086:21:0;;21078:76;;;;-1:-1:-1;;;21078:76:0;;18555:2:1;21078:76:0;;;18537:21:1;18594:2;18574:18;;;18567:30;18633:34;18613:18;;;18606:62;-1:-1:-1;;;18684:18:1;;;18677:40;18734:19;;21078:76:0;;;;;;;;;-1:-1:-1;21172:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;21172:22:0;;;;;;;;;;20972:230;;;;;:::o;58691:267::-;58794:4;58869:38;58895:11;58869:25;:38::i;:::-;:80;;;;58911:38;58937:11;58911:25;:38::i;57085:48::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;66665:875::-;66766:12;66828:17;;;:8;:17;;;;;66806:39;;66731:22;;66786:8;;66766:12;;66806:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66856:28;66911:8;66920:18;66930:7;66920:9;:18::i;:::-;66940:14;66894:61;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;66894:61:0;;;;;;;;;66967:26;66996:24;;;:15;66894:61;66996:24;;;;66967:53;;66894:61;;-1:-1:-1;66967:26:0;;:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67123:388;67243:18;67253:7;67243:9;:18::i;:::-;67266:5;67323:12;67407:14;67183:294;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;67123:13;:388::i;:::-;67060:462;;;;;;;;:::i;:::-;;;;;;;;;;;;;67042:481;;66755:785;;;;66665:875;;;:::o;59851:208::-;59931:7;59940;59960:14;60002:5;59991:7;;59978:10;:20;;;;:::i;:::-;59977:30;;;;:::i;:::-;60026:16;;-1:-1:-1;;;;;60026:16:0;;59960:47;;-1:-1:-1;59851:208:0;-1:-1:-1;;;;59851:208:0:o;22916:439::-;-1:-1:-1;;;;;23149:20:0;;17728:10;23149:20;;:60;;-1:-1:-1;23173:36:0;23190:4;17728:10;60831:360;:::i;23173:36::-;23127:157;;;;-1:-1:-1;;;23127:157:0;;;;;;;:::i;:::-;23295:52;23318:4;23324:2;23328:3;23333:7;23342:4;23295:22;:52::i;:::-;22916:439;;;;;:::o;59484:184::-;45192:13;:11;:13::i;:::-;59588:2:::1;59579:6;:11;;;59571:43;;;::::0;-1:-1:-1;;;59571:43:0;;23320:2:1;59571:43:0::1;::::0;::::1;23302:21:1::0;23359:2;23339:18;;;23332:30;-1:-1:-1;;;23378:18:1;;;23371:49;23437:18;;59571:43:0::1;23118:343:1::0;59571:43:0::1;59652:8;59626:15;59642:6;59626:23;;;;;;;;;:::i;:::-;;:34:::0;;-1:-1:-1;;;;;;59626:34:0::1;-1:-1:-1::0;;;;;59626:34:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;59484:184:0:o;60065:221::-;45192:13;:11;:13::i;:::-;-1:-1:-1;;;;;60157:31:0;::::1;60149:82;;;::::0;-1:-1:-1;;;60149:82:0;;23800:2:1;60149:82:0::1;::::0;::::1;23782:21:1::0;23839:2;23819:18;;;23812:30;23878:34;23858:18;;;23851:62;-1:-1:-1;;;23929:18:1;;;23922:36;23975:19;;60149:82:0::1;23598:402:1::0;60149:82:0::1;60242:16;:36:::0;;-1:-1:-1;;;;;;60242:36:0::1;-1:-1:-1::0;;;;;60242:36:0;;;::::1;::::0;;;::::1;::::0;;60065:221::o;21368:524::-;21524:16;21585:3;:10;21566:8;:15;:29;21558:83;;;;-1:-1:-1;;;21558:83:0;;24207:2:1;21558:83:0;;;24189:21:1;24246:2;24226:18;;;24219:30;24285:34;24265:18;;;24258:62;-1:-1:-1;;;24336:18:1;;;24329:39;24385:19;;21558:83:0;24005:405:1;21558:83:0;21654:30;21701:8;:15;-1:-1:-1;;;;;21687:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21687:30:0;-1:-1:-1;21654:63:0;-1:-1:-1;21735:9:0;21730:122;21754:8;:15;21750:1;:19;21730:122;;;21810:30;21820:8;21829:1;21820:11;;;;;;;;:::i;:::-;;;;;;;21833:3;21837:1;21833:6;;;;;;;;:::i;:::-;;;;;;;21810:9;:30::i;:::-;21791:13;21805:1;21791:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;21771:3;;21730:122;;;-1:-1:-1;21871:13:0;21368:524;-1:-1:-1;;;21368:524:0:o;60588:237::-;45379:6;;-1:-1:-1;;;;;60710:14:0;;;45379:6;;60710:14;60702:23;;;;;;60737:9;60751:3;-1:-1:-1;;;;;60751:8:0;60767:21;60751:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60736:57;;;60812:4;60804:13;;;;;;60636:189;60588:237;:::o;63455:557::-;59049:21;;59089:177;59111:2;59107:1;:6;;;59089:177;;;59161:10;59139:15;:18;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;59139:18:0;:32;59135:120;;59211:4;59192:23;;59234:5;;59135:120;59115:3;;59089:177;;;;59284:16;59276:62;;;;-1:-1:-1;;;59276:62:0;;;;;;;:::i;:::-;63765:4:::1;:11;63751:3;:10;:25;:59;;;;;63795:8;:15;63780:4;:11;:30;63751:59;63743:94;;;::::0;-1:-1:-1;;;63743:94:0;;25229:2:1;63743:94:0::1;::::0;::::1;25211:21:1::0;25268:2;25248:18;;;25241:30;-1:-1:-1;;;25287:18:1;;;25280:52;25349:18;;63743:94:0::1;25027:346:1::0;63743:94:0::1;63863:6;63858:147;63879:3;:10;63875:1;:14;63858:147;;;63911:39;63917:3;63921:1;63917:6;;;;;;;;:::i;:::-;;;;;;;63925:4;63930:1;63925:7;;;;;;;;:::i;:::-;;;;;;;63934:8;63943:1;63934:11;;;;;;;;:::i;:::-;;;;;;;63911:39;;;;;;;;;;;::::0;:5:::1;:39::i;:::-;63891:3;;63858:147;;57745:202:::0;45192:13;:11;:13::i;:::-;57813:8:::1;:14;57824:3:::0;57813:8;:14:::1;:::i;45954:103::-:0;45192:13;:11;:13::i;:::-;46019:30:::1;46046:1;46019:18;:30::i;:::-;45954:103::o:0;57953:209::-;45192:13;:11;:13::i;:::-;58022:14:::1;:20;58039:3:::0;58022:14;:20:::1;:::i;63273:148::-:0;59049:21;;59089:177;59111:2;59107:1;:6;;;59089:177;;;59161:10;59139:15;:18;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;59139:18:0;:32;59135:120;;59211:4;59192:23;;59234:5;;59135:120;59115:3;;59089:177;;;;59284:16;59276:62;;;;-1:-1:-1;;;59276:62:0;;;;;;;:::i;:::-;63362:28:::1;63368:3;63373;63378:7;63362:28;;;;;;;;;;;::::0;:5:::1;:28::i;:::-;59038:320:::0;63273:148;;;:::o;60437:145::-;45192:13;:11;:13::i;:::-;60530:4:::1;:12;60537:5:::0;;60530:4;:12:::1;:::i;:::-;;60558:16;60569:4;60558:16;;;;;;:::i;:::-;;;;;;;;60437:145:::0;;:::o;59674:171::-;45192:13;:11;:13::i;:::-;59763:2:::1;59754:6;:11;;;59746:43;;;::::0;-1:-1:-1;;;59746:43:0;;23320:2:1;59746:43:0::1;::::0;::::1;23302:21:1::0;23359:2;23339:18;;;23332:30;-1:-1:-1;;;23378:18:1;;;23371:49;23437:18;;59746:43:0::1;23118:343:1::0;59746:43:0::1;59835:1;59801:15;59817:6;59801:23;;;;;;;;;:::i;:::-;;:36:::0;;-1:-1:-1;;;;;;59801:36:0::1;-1:-1:-1::0;;;;;59801:36:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;59674:171:0:o;57140:37::-;;;;;;;:::i;61339:146::-;45192:13;:11;:13::i;:::-;61437:25:::1;::::0;;;:15:::1;:25;::::0;;;;:40:::1;61465:12:::0;61437:25;:40:::1;:::i;:::-;;61339:146:::0;;:::o;21965:155::-;22060:52;17728:10;22093:8;22103;22060:18;:52::i;62198:129::-;62294:25;;;;:15;:25;;;;;62287:32;;62261:13;;62294:25;62287:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62198:129;;;:::o;57233:37::-;;;;;;;:::i;62393:499::-;62491:15;62508;62541:21;62578:9;:16;-1:-1:-1;;;;;62565:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62541:54;;62606:28;62650:9;:16;-1:-1:-1;;;;;62637:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62606:61:0;-1:-1:-1;62685:6:0;62680:166;62701:9;:16;62697:1;:20;62680:166;;;62750:8;:22;62759:9;62769:1;62759:12;;;;;;;;:::i;:::-;;;;;;;62750:22;;;;;;;;;;;62739:33;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:5;62745:1;62739:8;;;;;;;;:::i;:::-;;;;;;:33;;;;62805:15;:29;62821:9;62831:1;62821:12;;;;;;;;:::i;:::-;;;;;;;62805:29;;;;;;;;;;;62787:47;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:12;62800:1;62787:15;;;;;;;;:::i;:::-;;;;;;;;;;:47;62719:3;;62680:166;;;-1:-1:-1;62864:5:0;;62871:12;;-1:-1:-1;62393:499:0;-1:-1:-1;;62393:499:0:o;61562:448::-;45192:13;:11;:13::i;:::-;61723:6:::1;:13;61703:9;:16;:33;:74;;;;;61757:13;:20;61740:6;:13;:37;61703:74;61695:129;;;::::0;-1:-1:-1;;;61695:129:0;;29685:2:1;61695:129:0::1;::::0;::::1;29667:21:1::0;29724:2;29704:18;;;29697:30;29763:34;29743:18;;;29736:62;-1:-1:-1;;;29814:18:1;;;29807:40;29864:19;;61695:129:0::1;29483:406:1::0;61695:129:0::1;61840:6;61835:168;61856:9;:16;61852:1;:20;61835:168;;;61919:6;61926:1;61919:9;;;;;;;;:::i;:::-;;;;;;;61894:8;:22;61903:9;61913:1;61903:12;;;;;;;;:::i;:::-;;;;;;;61894:22;;;;;;;;;;;:34;;;;;;:::i;:::-;;61975:13;61989:1;61975:16;;;;;;;;:::i;:::-;;;;;;;61943:15;:29;61959:9;61969:1;61959:12;;;;;;;;:::i;:::-;;;;;;;61943:29;;;;;;;;;;;:48;;;;;;:::i;:::-;-1:-1:-1::0;61874:3:0::1;;61835:168;;57277:100:::0;;;;;;;:::i;64983:1188::-;65094:13;65109;65124:4;65156:5;65149:4;:12;65141:56;;;;-1:-1:-1;;;65141:56:0;;30096:2:1;65141:56:0;;;30078:21:1;30135:2;30115:18;;;30108:30;30174:33;30154:18;;;30147:61;30225:18;;65141:56:0;29894:355:1;65141:56:0;65232:3;65216:12;65223:5;65216:4;:12;:::i;:::-;:19;;65208:62;;;;-1:-1:-1;;;65208:62:0;;30589:2:1;65208:62:0;;;30571:21:1;30628:2;30608:18;;;30601:30;30667:32;30647:18;;;30640:60;30717:18;;65208:62:0;30387:354:1;65208:62:0;65283:29;65326:12;65333:5;65326:4;:12;:::i;:::-;-1:-1:-1;;;;;65315:24:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65315:24:0;-1:-1:-1;65283:56:0;-1:-1:-1;65355:6:0;65350:118;65372:12;65379:5;65372:4;:12;:::i;:::-;65367:1;:18;65350:118;;;65428:28;65438:6;65446:9;65454:1;65446:5;:9;:::i;65428:28::-;65407:15;65423:1;65407:18;;;;;;;;:::i;:::-;;;;;;;;;;:49;65387:3;;65350:118;;;-1:-1:-1;65480:22:0;;65517:158;65538:15;:22;65534:1;:26;65517:158;;;65607:1;65586:15;65602:1;65586:18;;;;;;;;:::i;:::-;;;;;;;:22;65582:82;;;65629:19;;;;:::i;:::-;;;;65582:82;65562:3;;65517:158;;;;65687:21;65722:17;-1:-1:-1;;;;;65711:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65711:29:0;;65687:53;;65751:26;65791:17;-1:-1:-1;;;;;65780:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65780:29:0;-1:-1:-1;65751:58:0;-1:-1:-1;65820:12:0;;65847:256;65868:15;:22;65864:1;:26;65847:256;;;65937:1;65916:15;65932:1;65916:18;;;;;;;;:::i;:::-;;;;;;;:22;65912:180;;;65978:9;65986:1;65978:5;:9;:::i;:::-;65959:7;65967;65959:16;;;;;;;;:::i;:::-;;;;;;:28;;;;;66030:15;66046:1;66030:18;;;;;;;;:::i;:::-;;;;;;;66006:12;66019:7;66006:21;;;;;;;;:::i;:::-;;;;;;;;;;:42;66067:9;;;;:::i;:::-;;;;65912:180;65892:3;;65847:256;;;-1:-1:-1;66123:7:0;;66132:12;;-1:-1:-1;66145:17:0;;-1:-1:-1;64983:1188:0;;-1:-1:-1;;;;;;64983:1188:0:o;58964:34::-;;;;;;;;;;;;;;-1:-1:-1;;;;;58964:34:0;;-1:-1:-1;58964:34:0;:::o;61215:118::-;45192:13;:11;:13::i;:::-;61299:18:::1;::::0;;;:8:::1;:18;::::0;;;;:26:::1;61320:5:::0;61299:18;:26:::1;:::i;60831:360::-:0;60922:15;;60950:173;60972:2;60968:1;:6;;;60950:173;;;61046:15;61062:1;61046:18;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;61046:18:0;;;61033:31;;;;61029:83;;61092:4;61085:11;;;;;61029:83;60976:3;;60950:173;;;-1:-1:-1;;;;;;22315:27:0;;;22291:4;22315:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;61140:43;61133:50;60831:360;-1:-1:-1;;;60831:360:0:o;62044:115::-;62133:18;;;;:8;:18;;;;;62126:25;;62100:13;;62133:18;62126:25;;;:::i;22432:407::-;-1:-1:-1;;;;;22640:20:0;;17728:10;22640:20;;:60;;-1:-1:-1;22664:36:0;22681:4;17728:10;60831:360;:::i;22664:36::-;22618:157;;;;-1:-1:-1;;;22618:157:0;;;;;;;:::i;:::-;22786:45;22804:4;22810:2;22814;22818:6;22826:4;22786:17;:45::i;46212:201::-;45192:13;:11;:13::i;:::-;-1:-1:-1;;;;;46301:22:0;::::1;46293:73;;;::::0;-1:-1:-1;;;46293:73:0;;31218:2:1;46293:73:0::1;::::0;::::1;31200:21:1::0;31257:2;31237:18;;;31230:30;31296:34;31276:18;;;31269:62;-1:-1:-1;;;31347:18:1;;;31340:36;31393:19;;46293:73:0::1;31016:402:1::0;46293:73:0::1;46377:28;46396:8;46377:18;:28::i;:::-;46212:201:::0;:::o;64084:176::-;59049:21;;59089:177;59111:2;59107:1;:6;;;59089:177;;;59161:10;59139:15;:18;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;59139:18:0;:32;59135:120;;59211:4;59192:23;;59234:5;;59135:120;59115:3;;59089:177;;;;59284:16;59276:62;;;;-1:-1:-1;;;59276:62:0;;;;;;;:::i;:::-;64207:7:::1;64182:21;64192:5;64199:3;64182:9;:21::i;:::-;:32;;64174:41;;;;;;64226:26;64232:5;64239:3;64244:7;64226:5;:26::i;60292:139::-:0;45192:13;:11;:13::i;:::-;60365:7:::1;:20:::0;60292:139::o;38795:215::-;38897:4;-1:-1:-1;;;;;;38921:41:0;;-1:-1:-1;;;38921:41:0;;:81;;;38966:36;38990:11;19995:310;20097:4;-1:-1:-1;;;;;;20134:41:0;;-1:-1:-1;;;20134:41:0;;:110;;-1:-1:-1;;;;;;;20192:52:0;;-1:-1:-1;;;20192:52:0;20134:110;:163;;;-1:-1:-1;;;;;;;;;;18842:40:0;;;20261:36;18733:157;67556:561;67606:23;67646:2;67652:1;67646:7;67642:50;;-1:-1:-1;;67670:10:0;;;;;;;;;;;;-1:-1:-1;;;67670:10:0;;;;;67556:561::o;67642:50::-;67711:2;67702:6;67743:69;67750:6;;67743:69;;67773:5;;;;:::i;:::-;;-1:-1:-1;67793:7:0;;-1:-1:-1;67798:2:0;67793:7;;:::i;:::-;;;67743:69;;;67822:17;67852:3;-1:-1:-1;;;;;67842:14:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67842:14:0;-1:-1:-1;67822:34:0;-1:-1:-1;67876:3:0;67890:198;67897:7;;67890:198;;67925:3;67927:1;67925;:3;:::i;:::-;67921:7;-1:-1:-1;67943:10:0;67973:7;67978:2;67973;:7;:::i;:::-;:12;;67983:2;67973:12;:::i;:::-;67968:17;;:2;:17;:::i;:::-;67957:29;;:2;:29;:::i;:::-;67943:44;;68002:9;68021:4;68014:12;;68002:24;;68051:2;68041:4;68046:1;68041:7;;;;;;;;:::i;:::-;;;;:12;-1:-1:-1;;;;;68041:12:0;;;;;;;;-1:-1:-1;68068:8:0;68074:2;68068:8;;:::i;:::-;;;67906:182;;67890:198;;;-1:-1:-1;68105:4:0;67556:561;-1:-1:-1;;;;67556:561:0:o;50810:1912::-;50868:13;50898:4;:11;50913:1;50898:16;50894:31;;-1:-1:-1;;50916:9:0;;;;;;;;;-1:-1:-1;50916:9:0;;;50810:1912::o;50894:31::-;50977:19;50999:12;;;;;;;;;;;;;;;;;50977:34;;51063:18;51109:1;51090:4;:11;51104:1;51090:15;;;;:::i;:::-;51089:21;;;;:::i;:::-;51084:27;;:1;:27;:::i;:::-;51063:48;-1:-1:-1;51194:20:0;51228:15;51063:48;51241:2;51228:15;:::i;:::-;-1:-1:-1;;;;;51217:27:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51217:27:0;;51194:50;;51341:10;51333:6;51326:26;51436:1;51429:5;51425:13;51495:4;51546;51540:11;51531:7;51527:25;51642:2;51634:6;51630:15;51715:754;51734:6;51725:7;51722:19;51715:754;;;51834:1;51825:7;51821:15;51810:26;;51873:7;51867:14;51999:4;51991:5;51987:2;51983:14;51979:25;51969:8;51965:40;51959:47;51948:9;51940:67;52053:1;52042:9;52038:17;52025:30;;52132:4;52124:5;52120:2;52116:14;52112:25;52102:8;52098:40;52092:47;52081:9;52073:67;52186:1;52175:9;52171:17;52158:30;;52265:4;52257:5;52254:1;52249:14;52245:25;52235:8;52231:40;52225:47;52214:9;52206:67;52319:1;52308:9;52304:17;52291:30;;52398:4;52390:5;52378:25;52368:8;52364:40;52358:47;52347:9;52339:67;-1:-1:-1;52452:1:0;52437:17;51715:754;;;52542:1;52535:4;52529:11;52525:19;52563:1;52558:54;;;;52631:1;52626:52;;;;52518:160;;52558:54;-1:-1:-1;;;;;52574:17:0;;52567:43;52558:54;;52626:52;-1:-1:-1;;;;;52642:17:0;;52635:41;52518:160;-1:-1:-1;52708:6:0;;50810:1912;-1:-1:-1;;;;;;;;50810:1912:0:o;25151:1146::-;25378:7;:14;25364:3;:10;:28;25356:81;;;;-1:-1:-1;;;25356:81:0;;31778:2:1;25356:81:0;;;31760:21:1;31817:2;31797:18;;;31790:30;31856:34;31836:18;;;31829:62;-1:-1:-1;;;31907:18:1;;;31900:38;31955:19;;25356:81:0;31576:404:1;25356:81:0;-1:-1:-1;;;;;25456:16:0;;25448:66;;;;-1:-1:-1;;;25448:66:0;;;;;;;:::i;:::-;17728:10;25527:16;25644:421;25668:3;:10;25664:1;:14;25644:421;;;25700:10;25713:3;25717:1;25713:6;;;;;;;;:::i;:::-;;;;;;;25700:19;;25734:14;25751:7;25759:1;25751:10;;;;;;;;:::i;:::-;;;;;;;;;;;;25778:19;25800:13;;;;;;;;;;-1:-1:-1;;;;;25800:19:0;;;;;;;;;;;;25751:10;;-1:-1:-1;25842:21:0;;;;25834:76;;;;-1:-1:-1;;;25834:76:0;;;;;;;:::i;:::-;25954:9;:13;;;;;;;;;;;-1:-1:-1;;;;;25954:19:0;;;;;;;;;;25976:20;;;25954:42;;26026:17;;;;;;;:27;;25976:20;;25954:9;26026:27;;25976:20;;26026:27;:::i;:::-;;;;-1:-1:-1;;25680:3:0;;;;;-1:-1:-1;25644:421:0;;-1:-1:-1;;25644:421:0;;;26112:2;-1:-1:-1;;;;;26082:47:0;26106:4;-1:-1:-1;;;;;26082:47:0;26096:8;-1:-1:-1;;;;;26082:47:0;;26116:3;26121:7;26082:47;;;;;;;:::i;:::-;;;;;;;;26214:75;26250:8;26260:4;26266:2;26270:3;26275:7;26284:4;26214:35;:75::i;:::-;25345:952;25151:1146;;;;;:::o;45471:132::-;45379:6;;-1:-1:-1;;;;;45379:6:0;17728:10;45535:23;45527:68;;;;-1:-1:-1;;;45527:68:0;;33474:2:1;45527:68:0;;;33456:21:1;;;33493:18;;;33486:30;33552:34;33532:18;;;33525:62;33604:18;;45527:68:0;33272:356:1;27615:729:0;-1:-1:-1;;;;;27768:16:0;;27760:62;;;;-1:-1:-1;;;27760:62:0;;33835:2:1;27760:62:0;;;33817:21:1;33874:2;33854:18;;;33847:30;33913:34;33893:18;;;33886:62;-1:-1:-1;;;33964:18:1;;;33957:31;34005:19;;27760:62:0;33633:397:1;27760:62:0;17728:10;27835:16;27900:21;27918:2;27900:17;:21::i;:::-;27877:44;;27932:24;27959:25;27977:6;27959:17;:25::i;:::-;27932:52;;28076:9;:13;;;;;;;;;;;-1:-1:-1;;;;;28076:17:0;;;;;;;;;:27;;28097:6;;28076:9;:27;;28097:6;;28076:27;:::i;:::-;;;;-1:-1:-1;;28119:52:0;;;34209:25:1;;;34265:2;34250:18;;34243:34;;;-1:-1:-1;;;;;28119:52:0;;;;28152:1;;28119:52;;;;;;34182:18:1;28119:52:0;;;;;;;28262:74;28293:8;28311:1;28315:2;28319;28323:6;28331:4;28262:30;:74::i;:::-;27749:595;;;27615:729;;;;:::o;46573:191::-;46666:6;;;-1:-1:-1;;;;;46683:17:0;;;-1:-1:-1;;;;;;46683:17:0;;;;;;;46716:40;;46666:6;;;46683:17;46666:6;;46716:40;;46647:16;;46716:40;46636:128;46573:191;:::o;32028:331::-;32183:8;-1:-1:-1;;;;;32174:17:0;:5;-1:-1:-1;;;;;32174:17:0;;32166:71;;;;-1:-1:-1;;;32166:71:0;;34490:2:1;32166:71:0;;;34472:21:1;34529:2;34509:18;;;34502:30;34568:34;34548:18;;;34541:62;-1:-1:-1;;;34619:18:1;;;34612:39;34668:19;;32166:71:0;34288:405:1;32166:71:0;-1:-1:-1;;;;;32248:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;32248:46:0;;;;;;;;;;32310:41;;1736::1;;;32310::0;;1709:18:1;32310:41:0;;;;;;;32028:331;;;:::o;23819:974::-;-1:-1:-1;;;;;24007:16:0;;23999:66;;;;-1:-1:-1;;;23999:66:0;;;;;;;:::i;:::-;17728:10;24078:16;24143:21;24161:2;24143:17;:21::i;:::-;24120:44;;24175:24;24202:25;24220:6;24202:17;:25::i;:::-;24175:52;;24313:19;24335:13;;;;;;;;;;;-1:-1:-1;;;;;24335:19:0;;;;;;;;;;24373:21;;;;24365:76;;;;-1:-1:-1;;;24365:76:0;;;;;;;:::i;:::-;24477:9;:13;;;;;;;;;;;-1:-1:-1;;;;;24477:19:0;;;;;;;;;;24499:20;;;24477:42;;24541:17;;;;;;;:27;;24499:20;;24477:9;24541:27;;24499:20;;24541:27;:::i;:::-;;;;-1:-1:-1;;24586:46:0;;;34209:25:1;;;34265:2;34250:18;;34243:34;;;-1:-1:-1;;;;;24586:46:0;;;;;;;;;;;;;;34182:18:1;24586:46:0;;;;;;;24717:68;24748:8;24758:4;24764:2;24768;24772:6;24780:4;24717:30;:68::i;:::-;23988:805;;;;23819:974;;;;;:::o;29858:808::-;-1:-1:-1;;;;;29985:18:0;;29977:66;;;;-1:-1:-1;;;29977:66:0;;34900:2:1;29977:66:0;;;34882:21:1;34939:2;34919:18;;;34912:30;34978:34;34958:18;;;34951:62;-1:-1:-1;;;35029:18:1;;;35022:33;35072:19;;29977:66:0;34698:399:1;29977:66:0;17728:10;30056:16;30121:21;30139:2;30121:17;:21::i;:::-;30098:44;;30153:24;30180:25;30198:6;30180:17;:25::i;:::-;30218:66;;;;;;;;;-1:-1:-1;30218:66:0;;;;30319:13;;;;;;;;;-1:-1:-1;;;;;30319:19:0;;;;;;;;30153:52;;-1:-1:-1;30357:21:0;;;;30349:70;;;;-1:-1:-1;;;30349:70:0;;35304:2:1;30349:70:0;;;35286:21:1;35343:2;35323:18;;;35316:30;35382:34;35362:18;;;35355:62;-1:-1:-1;;;35433:18:1;;;35426:34;35477:19;;30349:70:0;35102:400:1;30349:70:0;30455:9;:13;;;;;;;;;;;-1:-1:-1;;;;;30455:19:0;;;;;;;;;;;;30477:20;;;30455:42;;30526:54;;34209:25:1;;;34250:18;;;34243:34;;;30455:19:0;;30526:54;;;;;;34182:18:1;30526:54:0;;;;;;;30593:65;;;;;;;;;30637:1;30593:65;;;25151:1146;35473:813;-1:-1:-1;;;;;35713:13:0;;9938:19;:23;35709:570;;35749:79;;-1:-1:-1;;;35749:79:0;;-1:-1:-1;;;;;35749:43:0;;;;;:79;;35793:8;;35803:4;;35809:3;;35814:7;;35823:4;;35749:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35749:79:0;;;;;;;;-1:-1:-1;;35749:79:0;;;;;;;;;;;;:::i;:::-;;;35745:523;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;36141:6;36134:14;;-1:-1:-1;;;36134:14:0;;;;;;;;:::i;35745:523::-;;;36190:62;;-1:-1:-1;;;36190:62:0;;37608:2:1;36190:62:0;;;37590:21:1;37647:2;37627:18;;;37620:30;37686:34;37666:18;;;37659:62;-1:-1:-1;;;37737:18:1;;;37730:50;37797:19;;36190:62:0;37406:416:1;35745:523:0;-1:-1:-1;;;;;;35910:60:0;;-1:-1:-1;;;35910:60:0;35906:159;;35995:50;;-1:-1:-1;;;35995:50:0;;;;;;;:::i;36294:198::-;36414:16;;;36428:1;36414:16;;;;;;;;;36360;;36389:22;;36414:16;;;;;;;;;;;;-1:-1:-1;36414:16:0;36389:41;;36452:7;36441:5;36447:1;36441:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;36479:5;36294:198;-1:-1:-1;;36294:198:0:o;34721:744::-;-1:-1:-1;;;;;34936:13:0;;9938:19;:23;34932:526;;34972:72;;-1:-1:-1;;;34972:72:0;;-1:-1:-1;;;;;34972:38:0;;;;;:72;;35011:8;;35021:4;;35027:2;;35031:6;;35039:4;;34972:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34972:72:0;;;;;;;;-1:-1:-1;;34972:72:0;;;;;;;;;;;;:::i;:::-;;;34968:479;;;;:::i;:::-;-1:-1:-1;;;;;;35094:55:0;;-1:-1:-1;;;35094:55:0;35090:154;;35174:50;;-1:-1:-1;;;35174:50:0;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:501:1:-;196:4;181:20;;185:9;278:6;154:4;312:197;326:4;323:1;320:11;312:197;;;389:13;;-1:-1:-1;;;;;385:39:1;373:52;;454:4;445:14;;;;482:17;;;;421:1;339:9;312:197;;;316:3;;;14:501;;;;:::o;520:131::-;-1:-1:-1;;;;;595:31:1;;585:42;;575:70;;641:1;638;631:12;656:367;724:6;732;785:2;773:9;764:7;760:23;756:32;753:52;;;801:1;798;791:12;753:52;840:9;827:23;859:31;884:5;859:31;:::i;:::-;909:5;987:2;972:18;;;;959:32;;-1:-1:-1;;;656:367:1:o;1210:131::-;-1:-1:-1;;;;;;1284:32:1;;1274:43;;1264:71;;1331:1;1328;1321:12;1346:245;1404:6;1457:2;1445:9;1436:7;1432:23;1428:32;1425:52;;;1473:1;1470;1463:12;1425:52;1512:9;1499:23;1531:30;1555:5;1531:30;:::i;1788:289::-;1830:3;1868:5;1862:12;1895:6;1890:3;1883:19;1951:6;1944:4;1937:5;1933:16;1926:4;1921:3;1917:14;1911:47;2003:1;1996:4;1987:6;1982:3;1978:16;1974:27;1967:38;2066:4;2059:2;2055:7;2050:2;2042:6;2038:15;2034:29;2029:3;2025:39;2021:50;2014:57;;;1788:289;;;;:::o;2082:220::-;2231:2;2220:9;2213:21;2194:4;2251:45;2292:2;2281:9;2277:18;2269:6;2251:45;:::i;2307:226::-;2366:6;2419:2;2407:9;2398:7;2394:23;2390:32;2387:52;;;2435:1;2432;2425:12;2387:52;-1:-1:-1;2480:23:1;;2307:226;-1:-1:-1;2307:226:1:o;2538:346::-;2606:6;2614;2667:2;2655:9;2646:7;2642:23;2638:32;2635:52;;;2683:1;2680;2673:12;2635:52;-1:-1:-1;;2728:23:1;;;2848:2;2833:18;;;2820:32;;-1:-1:-1;2538:346:1:o;3168:127::-;3229:10;3224:3;3220:20;3217:1;3210:31;3260:4;3257:1;3250:15;3284:4;3281:1;3274:15;3300:249;3410:2;3391:13;;-1:-1:-1;;3387:27:1;3375:40;;-1:-1:-1;;;;;3430:34:1;;3466:22;;;3427:62;3424:88;;;3492:18;;:::i;:::-;3528:2;3521:22;-1:-1:-1;;3300:249:1:o;3554:183::-;3614:4;-1:-1:-1;;;;;3639:6:1;3636:30;3633:56;;;3669:18;;:::i;:::-;-1:-1:-1;3714:1:1;3710:14;3726:4;3706:25;;3554:183::o;3742:781::-;3796:5;3849:3;3842:4;3834:6;3830:17;3826:27;3816:55;;3867:1;3864;3857:12;3816:55;3907:6;3894:20;3933:47;3973:6;3933:47;:::i;:::-;4009:2;4003:9;4021:31;4049:2;4041:6;4021:31;:::i;:::-;4072:6;4061:17;;4102:6;4094;4087:22;4137:4;4129:6;4125:17;4118:24;;4198:4;4188:6;4185:1;4181:14;4173:6;4169:27;4165:38;4151:52;;4226:3;4218:6;4215:15;4212:35;;;4243:1;4240;4233:12;4212:35;4279:4;4271:6;4267:17;4293:200;4309:6;4304:3;4301:15;4293:200;;;4401:17;;4431:18;;4478:4;4469:14;;;;4326;4293:200;;;-1:-1:-1;4511:6:1;3742:781;-1:-1:-1;;;;;3742:781:1:o;4528:684::-;4570:5;4623:3;4616:4;4608:6;4604:17;4600:27;4590:55;;4641:1;4638;4631:12;4590:55;4681:6;4668:20;4720:4;4712:6;4708:17;4749:1;4771;-1:-1:-1;;;;;4787:6:1;4784:30;4781:56;;;4817:18;;:::i;:::-;-1:-1:-1;4923:2:1;4917:9;4883:2;4862:15;;-1:-1:-1;;4858:29:1;4889:4;4854:40;;4935:33;4854:40;4917:9;4935:33;:::i;:::-;4988:6;4977:17;;5018:6;5010;5003:22;5058:3;5049:6;5044:3;5040:16;5037:25;5034:45;;;5075:1;5072;5065:12;5034:45;5125:6;5120:3;5113:4;5105:6;5101:17;5088:44;5180:1;5173:4;5164:6;5156;5152:19;5148:30;5141:41;5200:6;5191:15;;;;;;;4528:684;;;;:::o;5217:1082::-;5371:6;5379;5387;5395;5403;5456:3;5444:9;5435:7;5431:23;5427:33;5424:53;;;5473:1;5470;5463:12;5424:53;5512:9;5499:23;5531:31;5556:5;5531:31;:::i;:::-;5581:5;-1:-1:-1;5638:2:1;5623:18;;5610:32;5651:33;5610:32;5651:33;:::i;:::-;5703:7;-1:-1:-1;5761:2:1;5746:18;;5733:32;-1:-1:-1;;;;;5777:30:1;;5774:50;;;5820:1;5817;5810:12;5774:50;5843:61;5896:7;5887:6;5876:9;5872:22;5843:61;:::i;:::-;5833:71;;;5957:2;5946:9;5942:18;5929:32;-1:-1:-1;;;;;5976:8:1;5973:32;5970:52;;;6018:1;6015;6008:12;5970:52;6041:63;6096:7;6085:8;6074:9;6070:24;6041:63;:::i;:::-;6031:73;;;6157:3;6146:9;6142:19;6129:33;-1:-1:-1;;;;;6177:8:1;6174:32;6171:52;;;6219:1;6216;6209:12;6171:52;6242:51;6285:7;6274:8;6263:9;6259:24;6242:51;:::i;:::-;6232:61;;;5217:1082;;;;;;;;:::o;6304:156::-;6370:20;;6430:4;6419:16;;6409:27;;6399:55;;6450:1;6447;6440:12;6399:55;6304:156;;;:::o;6465:317::-;6531:6;6539;6592:2;6580:9;6571:7;6567:23;6563:32;6560:52;;;6608:1;6605;6598:12;6560:52;6647:9;6634:23;6666:31;6691:5;6666:31;:::i;:::-;6716:5;-1:-1:-1;6740:36:1;6772:2;6757:18;;6740:36;:::i;:::-;6730:46;;6465:317;;;;;:::o;6787:247::-;6846:6;6899:2;6887:9;6878:7;6874:23;6870:32;6867:52;;;6915:1;6912;6905:12;6867:52;6954:9;6941:23;6973:31;6998:5;6973:31;:::i;7247:802::-;7301:5;7354:3;7347:4;7339:6;7335:17;7331:27;7321:55;;7372:1;7369;7362:12;7321:55;7412:6;7399:20;7438:47;7478:6;7438:47;:::i;:::-;7514:2;7508:9;7526:31;7554:2;7546:6;7526:31;:::i;:::-;7577:6;7566:17;;7607:6;7599;7592:22;7642:4;7634:6;7630:17;7623:24;;7703:4;7693:6;7690:1;7686:14;7678:6;7674:27;7670:38;7656:52;;7731:3;7723:6;7720:15;7717:35;;;7748:1;7745;7738:12;7717:35;7784:4;7776:6;7772:17;7798:221;7814:6;7809:3;7806:15;7798:221;;;7896:3;7883:17;7913:31;7938:5;7913:31;:::i;:::-;7957:18;;8004:4;7995:14;;;;7831;7798:221;;8054:590;8172:6;8180;8233:2;8221:9;8212:7;8208:23;8204:32;8201:52;;;8249:1;8246;8239:12;8201:52;8289:9;8276:23;-1:-1:-1;;;;;8314:6:1;8311:30;8308:50;;;8354:1;8351;8344:12;8308:50;8377:61;8430:7;8421:6;8410:9;8406:22;8377:61;:::i;:::-;8367:71;;;8491:2;8480:9;8476:18;8463:32;-1:-1:-1;;;;;8510:8:1;8507:32;8504:52;;;8552:1;8549;8542:12;8504:52;8575:63;8630:7;8619:8;8608:9;8604:24;8575:63;:::i;:::-;8565:73;;;8054:590;;;;;:::o;8649:420::-;8702:3;8740:5;8734:12;8767:6;8762:3;8755:19;8799:4;8794:3;8790:14;8783:21;;8838:4;8831:5;8827:16;8861:1;8871:173;8885:6;8882:1;8879:13;8871:173;;;8946:13;;8934:26;;8989:4;8980:14;;;;9017:17;;;;8907:1;8900:9;8871:173;;;-1:-1:-1;9060:3:1;;8649:420;-1:-1:-1;;;;8649:420:1:o;9074:261::-;9253:2;9242:9;9235:21;9216:4;9273:56;9325:2;9314:9;9310:18;9302:6;9273:56;:::i;9600:832::-;9752:6;9760;9768;9821:2;9809:9;9800:7;9796:23;9792:32;9789:52;;;9837:1;9834;9827:12;9789:52;9877:9;9864:23;-1:-1:-1;;;;;9902:6:1;9899:30;9896:50;;;9942:1;9939;9932:12;9896:50;9965:61;10018:7;10009:6;9998:9;9994:22;9965:61;:::i;:::-;9955:71;;;10079:2;10068:9;10064:18;10051:32;-1:-1:-1;;;;;10098:8:1;10095:32;10092:52;;;10140:1;10137;10130:12;10092:52;10163:63;10218:7;10207:8;10196:9;10192:24;10163:63;:::i;:::-;10153:73;;;10279:2;10268:9;10264:18;10251:32;-1:-1:-1;;;;;10298:8:1;10295:32;10292:52;;;10340:1;10337;10330:12;10292:52;10363:63;10418:7;10407:8;10396:9;10392:24;10363:63;:::i;:::-;10353:73;;;9600:832;;;;;:::o;10437:321::-;10506:6;10559:2;10547:9;10538:7;10534:23;10530:32;10527:52;;;10575:1;10572;10565:12;10527:52;10615:9;10602:23;-1:-1:-1;;;;;10640:6:1;10637:30;10634:50;;;10680:1;10677;10670:12;10634:50;10703:49;10744:7;10735:6;10724:9;10720:22;10703:49;:::i;:::-;10693:59;10437:321;-1:-1:-1;;;;10437:321:1:o;10763:487::-;10840:6;10848;10856;10909:2;10897:9;10888:7;10884:23;10880:32;10877:52;;;10925:1;10922;10915:12;10877:52;10970:23;;;-1:-1:-1;11069:2:1;11054:18;;11041:32;11082:33;11041:32;11082:33;:::i;:::-;10763:487;;11134:7;;-1:-1:-1;;;11214:2:1;11199:18;;;;11186:32;;10763:487::o;11255:587::-;11326:6;11334;11387:2;11375:9;11366:7;11362:23;11358:32;11355:52;;;11403:1;11400;11393:12;11355:52;11443:9;11430:23;-1:-1:-1;;;;;11468:6:1;11465:30;11462:50;;;11508:1;11505;11498:12;11462:50;11531:22;;11584:4;11576:13;;11572:27;-1:-1:-1;11562:55:1;;11613:1;11610;11603:12;11562:55;11653:2;11640:16;-1:-1:-1;;;;;11671:6:1;11668:30;11665:50;;;11711:1;11708;11701:12;11665:50;11756:7;11751:2;11742:6;11738:2;11734:15;11730:24;11727:37;11724:57;;;11777:1;11774;11767:12;11724:57;11808:2;11800:11;;;;;11830:6;;-1:-1:-1;11255:587:1;-1:-1:-1;;;11255:587:1:o;11847:182::-;11904:6;11957:2;11945:9;11936:7;11932:23;11928:32;11925:52;;;11973:1;11970;11963:12;11925:52;11996:27;12013:9;11996:27;:::i;12034:435::-;12112:6;12120;12173:2;12161:9;12152:7;12148:23;12144:32;12141:52;;;12189:1;12186;12179:12;12141:52;12234:23;;;-1:-1:-1;12332:2:1;12317:18;;12304:32;-1:-1:-1;;;;;12348:30:1;;12345:50;;;12391:1;12388;12381:12;12345:50;12414:49;12455:7;12446:6;12435:9;12431:22;12414:49;:::i;12474:416::-;12539:6;12547;12600:2;12588:9;12579:7;12575:23;12571:32;12568:52;;;12616:1;12613;12606:12;12568:52;12655:9;12642:23;12674:31;12699:5;12674:31;:::i;:::-;12724:5;-1:-1:-1;12781:2:1;12766:18;;12753:32;12823:15;;12816:23;12804:36;;12794:64;;12854:1;12851;12844:12;12794:64;12877:7;12867:17;;;12474:416;;;;;:::o;12895:348::-;12979:6;13032:2;13020:9;13011:7;13007:23;13003:32;13000:52;;;13048:1;13045;13038:12;13000:52;13088:9;13075:23;-1:-1:-1;;;;;13113:6:1;13110:30;13107:50;;;13153:1;13150;13143:12;13107:50;13176:61;13229:7;13220:6;13209:9;13205:22;13176:61;:::i;13248:579::-;13300:3;13331;13363:5;13357:12;13390:6;13385:3;13378:19;13422:4;13417:3;13413:14;13406:21;;13480:4;13470:6;13467:1;13463:14;13456:5;13452:26;13448:37;13519:4;13512:5;13508:16;13542:1;13552:249;13566:6;13563:1;13560:13;13552:249;;;13653:2;13649:7;13641:5;13635:4;13631:16;13627:30;13622:3;13615:43;13679:38;13712:4;13703:6;13697:13;13679:38;:::i;:::-;13752:4;13777:14;;;;13671:46;;-1:-1:-1;13740:17:1;;;;;13588:1;13581:9;13552:249;;;-1:-1:-1;13817:4:1;;13248:579;-1:-1:-1;;;;;;13248:579:1:o;13832:503::-;14129:2;14118:9;14111:21;14092:4;14155:55;14206:2;14195:9;14191:18;14183:6;14155:55;:::i;:::-;14258:9;14250:6;14246:22;14241:2;14230:9;14226:18;14219:50;14286:43;14322:6;14314;14286:43;:::i;:::-;14278:51;13832:503;-1:-1:-1;;;;;13832:503:1:o;14340:884::-;14393:5;14446:3;14439:4;14431:6;14427:17;14423:27;14413:55;;14464:1;14461;14454:12;14413:55;14504:6;14491:20;14530:47;14570:6;14530:47;:::i;:::-;14606:2;14600:9;14618:31;14646:2;14638:6;14618:31;:::i;:::-;14669:6;14658:17;;14699:6;14691;14684:22;14734:4;14726:6;14722:17;14715:24;;14795:4;14785:6;14782:1;14778:14;14770:6;14766:27;14762:38;14748:52;;14823:3;14815:6;14812:15;14809:35;;;14840:1;14837;14830:12;14809:35;14876:4;14868:6;14864:17;14890:304;14906:6;14901:3;14898:15;14890:304;;;14994:3;14981:17;-1:-1:-1;;;;;15017:11:1;15014:35;15011:55;;;15062:1;15059;15052:12;15011:55;15091:58;15145:3;15138:4;15124:11;15116:6;15112:24;15108:35;15091:58;:::i;:::-;15079:71;;-1:-1:-1;15179:4:1;15170:14;;;;14923;14890:304;;15229:850;15401:6;15409;15417;15470:2;15458:9;15449:7;15445:23;15441:32;15438:52;;;15486:1;15483;15476:12;15438:52;15526:9;15513:23;-1:-1:-1;;;;;15551:6:1;15548:30;15545:50;;;15591:1;15588;15581:12;15545:50;15614:61;15667:7;15658:6;15647:9;15643:22;15614:61;:::i;:::-;15604:71;;;15728:2;15717:9;15713:18;15700:32;-1:-1:-1;;;;;15747:8:1;15744:32;15741:52;;;15789:1;15786;15779:12;15741:52;15812:62;15866:7;15855:8;15844:9;15840:24;15812:62;:::i;:::-;15802:72;;;15927:2;15916:9;15912:18;15899:32;-1:-1:-1;;;;;15946:8:1;15943:32;15940:52;;;15988:1;15985;15978:12;15940:52;16011:62;16065:7;16054:8;16043:9;16039:24;16011:62;:::i;16084:487::-;16161:6;16169;16177;16230:2;16218:9;16209:7;16205:23;16201:32;16198:52;;;16246:1;16243;16236:12;16198:52;16285:9;16272:23;16304:31;16329:5;16304:31;:::i;:::-;16354:5;16432:2;16417:18;;16404:32;;-1:-1:-1;16535:2:1;16520:18;;;16507:32;;16084:487;-1:-1:-1;;;16084:487:1:o;16576:536::-;16861:2;16850:9;16843:21;16824:4;16887:56;16939:2;16928:9;16924:18;16916:6;16887:56;:::i;:::-;16991:9;16983:6;16979:22;16974:2;16963:9;16959:18;16952:50;17019:44;17056:6;17048;17019:44;:::i;:::-;17011:52;;;17099:6;17094:2;17083:9;17079:18;17072:34;16576:536;;;;;;:::o;17117:388::-;17185:6;17193;17246:2;17234:9;17225:7;17221:23;17217:32;17214:52;;;17262:1;17259;17252:12;17214:52;17301:9;17288:23;17320:31;17345:5;17320:31;:::i;:::-;17370:5;-1:-1:-1;17427:2:1;17412:18;;17399:32;17440:33;17399:32;17440:33;:::i;17510:838::-;17614:6;17622;17630;17638;17646;17699:3;17687:9;17678:7;17674:23;17670:33;17667:53;;;17716:1;17713;17706:12;17667:53;17755:9;17742:23;17774:31;17799:5;17774:31;:::i;:::-;17824:5;-1:-1:-1;17881:2:1;17866:18;;17853:32;17894:33;17853:32;17894:33;:::i;:::-;17946:7;-1:-1:-1;18026:2:1;18011:18;;17998:32;;-1:-1:-1;18129:2:1;18114:18;;18101:32;;-1:-1:-1;18210:3:1;18195:19;;18182:33;-1:-1:-1;;;;;18227:30:1;;18224:50;;;18270:1;18267;18260:12;18764:380;18843:1;18839:12;;;;18886;;;18907:61;;18961:4;18953:6;18949:17;18939:27;;18907:61;19014:2;19006:6;19003:14;18983:18;18980:38;18977:161;;19060:10;19055:3;19051:20;19048:1;19041:31;19095:4;19092:1;19085:15;19123:4;19120:1;19113:15;18977:161;;18764:380;;;:::o;19275:677::-;19325:3;19366:5;19360:12;19395:36;19421:9;19395:36;:::i;:::-;19462:1;19447:17;;19473:133;;;;19620:1;19615:331;;;;19440:506;;19473:133;-1:-1:-1;;19506:24:1;;19494:37;;19579:14;;19572:22;19560:35;;19551:45;;;-1:-1:-1;19473:133:1;;19615:331;19646:5;19643:1;19636:16;19693:4;19690:1;19680:18;19720:1;19734:166;19748:6;19745:1;19742:13;19734:166;;;19828:14;;19815:11;;;19808:35;19884:1;19871:15;;;;19770:4;19763:12;19734:166;;;-1:-1:-1;;;19920:16:1;;;;;19275:677;-1:-1:-1;;;19275:677:1:o;19957:211::-;19998:3;20036:5;20030:12;20080:6;20073:4;20066:5;20062:16;20057:3;20051:36;20142:1;20106:16;;20131:13;;;-1:-1:-1;20106:16:1;;19957:211;-1:-1:-1;19957:211:1:o;20173:349::-;20392:3;20417:99;20451:64;20476:38;20510:3;20502:6;20476:38;:::i;:::-;20468:6;20451:64;:::i;:::-;20443:6;20417:99;:::i;20527:1284::-;-1:-1:-1;;;21323:47:1;;21305:3;21389:38;21423:2;21414:12;;21406:6;21389:38;:::i;:::-;-1:-1:-1;;;21443:2:1;21436:15;21470:36;21503:1;21499:2;21495:10;21487:6;21470:36;:::i;:::-;-1:-1:-1;;;21515:60:1;;21460:46;-1:-1:-1;21594:37:1;21627:2;21619:11;;21611:6;21594:37;:::i;:::-;-1:-1:-1;;;21640:48:1;;21584:47;-1:-1:-1;21707:37:1;21740:2;21732:11;;21724:6;21707:37;:::i;:::-;-1:-1:-1;;;21753:26:1;;21803:1;21795:10;;20527:1284;-1:-1:-1;;;;;;;20527:1284:1:o;21816:354::-;22078:31;22073:3;22066:44;22048:3;22126:38;22160:2;22155:3;22151:12;22143:6;22126:38;:::i;22175:127::-;22236:10;22231:3;22227:20;22224:1;22217:31;22267:4;22264:1;22257:15;22291:4;22288:1;22281:15;22307:168;22380:9;;;22411;;22428:15;;;22422:22;;22408:37;22398:71;;22449:18;;:::i;22480:217::-;22520:1;22546;22536:132;;22590:10;22585:3;22581:20;22578:1;22571:31;22625:4;22622:1;22615:15;22653:4;22650:1;22643:15;22536:132;-1:-1:-1;22682:9:1;;22480:217::o;22702:411::-;22904:2;22886:21;;;22943:2;22923:18;;;22916:30;22982:34;22977:2;22962:18;;22955:62;-1:-1:-1;;;23048:2:1;23033:18;;23026:45;23103:3;23088:19;;22702:411::o;23466:127::-;23527:10;23522:3;23518:20;23515:1;23508:31;23558:4;23555:1;23548:15;23582:4;23579:1;23572:15;24625:397;24827:2;24809:21;;;24866:2;24846:18;;;24839:30;24905:34;24900:2;24885:18;;24878:62;-1:-1:-1;;;24971:2:1;24956:18;;24949:31;25012:3;24997:19;;24625:397::o;25378:518::-;25480:2;25475:3;25472:11;25469:421;;;25516:5;25513:1;25506:16;25560:4;25557:1;25547:18;25630:2;25618:10;25614:19;25611:1;25607:27;25601:4;25597:38;25666:4;25654:10;25651:20;25648:47;;;-1:-1:-1;25689:4:1;25648:47;25744:2;25739:3;25735:12;25732:1;25728:20;25722:4;25718:31;25708:41;;25799:81;25817:2;25810:5;25807:13;25799:81;;;25876:1;25862:16;;25843:1;25832:13;25799:81;;26072:1299;26198:3;26192:10;-1:-1:-1;;;;;26217:6:1;26214:30;26211:56;;;26247:18;;:::i;:::-;26276:97;26366:6;26326:38;26358:4;26352:11;26326:38;:::i;:::-;26320:4;26276:97;:::i;:::-;26422:4;26453:2;26442:14;;26470:1;26465:649;;;;27158:1;27175:6;27172:89;;;-1:-1:-1;27227:19:1;;;27221:26;27172:89;-1:-1:-1;;26029:1:1;26025:11;;;26021:24;26017:29;26007:40;26053:1;26049:11;;;26004:57;27274:81;;26435:930;;26465:649;19222:1;19215:14;;;19259:4;19246:18;;-1:-1:-1;;26501:20:1;;;26619:222;26633:7;26630:1;26627:14;26619:222;;;26715:19;;;26709:26;26694:42;;26822:4;26807:20;;;;26775:1;26763:14;;;;26649:12;26619:222;;;26623:3;26869:6;26860:7;26857:19;26854:201;;;26930:19;;;26924:26;-1:-1:-1;;27013:1:1;27009:14;;;27025:3;27005:24;27001:37;26997:42;26982:58;26967:74;;26854:201;-1:-1:-1;;;;27101:1:1;27085:14;;;27081:22;27068:36;;-1:-1:-1;26072:1299:1:o;27376:1198::-;-1:-1:-1;;;;;27495:3:1;27492:27;27489:53;;;27522:18;;:::i;:::-;27551:94;27641:3;27601:38;27633:4;27627:11;27601:38;:::i;:::-;27595:4;27551:94;:::i;:::-;27671:1;27696:2;27691:3;27688:11;27713:1;27708:608;;;;28360:1;28377:3;28374:93;;;-1:-1:-1;28433:19:1;;;28420:33;28374:93;-1:-1:-1;;26029:1:1;26025:11;;;26021:24;26017:29;26007:40;26053:1;26049:11;;;26004:57;28480:78;;27681:887;;27708:608;19222:1;19215:14;;;19259:4;19246:18;;-1:-1:-1;;27744:17:1;;;27859:229;27873:7;27870:1;27867:14;27859:229;;;27962:19;;;27949:33;27934:49;;28069:4;28054:20;;;;28022:1;28010:14;;;;27889:12;27859:229;;;27863:3;28116;28107:7;28104:16;28101:159;;;28240:1;28236:6;28230:3;28224;28221:1;28217:11;28213:21;28209:34;28205:39;28192:9;28187:3;28183:19;28170:33;28166:79;28158:6;28151:95;28101:159;;;28303:1;28297:3;28294:1;28290:11;28286:19;28280:4;28273:33;27681:887;;27376:1198;;;:::o;28579:899::-;28725:2;28714:9;28707:21;28688:4;28748:1;28781:6;28775:13;28811:36;28837:9;28811:36;:::i;:::-;28883:6;28878:2;28867:9;28863:18;28856:34;28921:1;28910:9;28906:17;28937:1;28932:158;;;;29104:1;29099:353;;;;28899:553;;28932:158;28999:3;28995:8;28984:9;28980:24;28975:2;28964:9;28960:18;28953:52;29077:2;29065:6;29058:14;29051:22;29048:1;29044:30;29033:9;29029:46;29025:55;29018:62;;28932:158;;29099:353;29130:6;29127:1;29120:17;29178:2;29175:1;29165:16;29203:1;29217:179;29231:6;29228:1;29225:13;29217:179;;;29324:14;;29300:17;;;29319:2;29296:26;29289:50;29380:1;29367:15;;;;29253:2;29246:10;29217:179;;;29420:17;;29439:2;29416:26;;-1:-1:-1;;28899:553:1;-1:-1:-1;29469:3:1;;28579:899;-1:-1:-1;;;;;28579:899:1:o;30254:128::-;30321:9;;;30342:11;;;30339:37;;;30356:18;;:::i;30746:125::-;30811:9;;;30832:10;;;30829:36;;;30845:18;;:::i;30876:135::-;30915:3;30936:17;;;30933:43;;30956:18;;:::i;:::-;-1:-1:-1;31003:1:1;30992:13;;30876:135::o;31423:148::-;31511:4;31490:12;;;31504;;;31486:31;;31529:13;;31526:39;;;31545:18;;:::i;31985:401::-;32187:2;32169:21;;;32226:2;32206:18;;;32199:30;32265:34;32260:2;32245:18;;32238:62;-1:-1:-1;;;32331:2:1;32316:18;;32309:35;32376:3;32361:19;;31985:401::o;32391:406::-;32593:2;32575:21;;;32632:2;32612:18;;;32605:30;32671:34;32666:2;32651:18;;32644:62;-1:-1:-1;;;32737:2:1;32722:18;;32715:40;32787:3;32772:19;;32391:406::o;32802:465::-;33059:2;33048:9;33041:21;33022:4;33085:56;33137:2;33126:9;33122:18;33114:6;33085:56;:::i;:::-;33189:9;33181:6;33177:22;33172:2;33161:9;33157:18;33150:50;33217:44;33254:6;33246;33217:44;:::i;35507:823::-;-1:-1:-1;;;;;35866:32:1;;;35848:51;;35935:32;;35930:2;35915:18;;35908:60;35886:3;35999:2;35984:18;;35977:31;;;-1:-1:-1;;36031:57:1;;36068:19;;36060:6;36031:57;:::i;:::-;36136:9;36128:6;36124:22;36119:2;36108:9;36104:18;36097:50;36170:44;36207:6;36199;36170:44;:::i;:::-;36156:58;;36263:9;36255:6;36251:22;36245:3;36234:9;36230:19;36223:51;36291:33;36317:6;36309;36291:33;:::i;:::-;36283:41;35507:823;-1:-1:-1;;;;;;;;35507:823:1:o;36335:249::-;36404:6;36457:2;36445:9;36436:7;36432:23;36428:32;36425:52;;;36473:1;36470;36463:12;36425:52;36505:9;36499:16;36524:30;36548:5;36524:30;:::i;36589:179::-;36624:3;36666:1;36648:16;36645:23;36642:120;;;36712:1;36709;36706;36691:23;-1:-1:-1;36749:1:1;36743:8;36738:3;36734:18;36642:120;36589:179;:::o;36773:628::-;36812:3;36854:4;36836:16;36833:26;36830:39;;;36773:628;:::o;36830:39::-;36896:2;36890:9;36936:16;-1:-1:-1;;36932:29:1;36929:1;36890:9;36908:54;36991:4;36985:11;37065:16;37058:4;37050:6;37046:17;37043:39;-1:-1:-1;;;;;37014:6:1;37011:30;37008:75;37005:88;;;37086:5;;36773:628;:::o;37005:88::-;37123:6;37117:4;37113:17;37159:3;37153:10;-1:-1:-1;;;;;37178:6:1;37175:30;37172:43;;;37208:5;;;;36773:628;:::o;37172:43::-;37273:16;37263:27;;-1:-1:-1;;37259:40:1;37234:16;;;37252:4;37230:27;37227:73;37224:86;;;37303:5;;;;36773:628;:::o;37224:86::-;37319:57;37370:4;37361:6;37353;37349:19;37345:30;37339:4;37319:57;:::i;37827:404::-;38029:2;38011:21;;;38068:2;38048:18;;;38041:30;38107:34;38102:2;38087:18;;38080:62;-1:-1:-1;;;38173:2:1;38158:18;;38151:38;38221:3;38206:19;;37827:404::o;38236:557::-;-1:-1:-1;;;;;38495:32:1;;;38477:51;;38564:32;;38559:2;38544:18;;38537:60;38628:2;38613:18;;38606:34;;;38671:2;38656:18;;38649:34;;;38515:3;38714;38699:19;;38692:32;;;-1:-1:-1;;38741:46:1;;38767:19;;38759:6;38741:46;:::i;:::-;38733:54;38236:557;-1:-1:-1;;;;;;;38236:557:1:o

Swarm Source

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