Contract Address Details

0x9C26e24ac6f0EA783fF9CA2bf81543c67cf446d2

Token
Banksy Factory NFT (BanksyFactoryNFT)
Creator
0xf9e78c–318f5b at 0xe1c0de–bd57a8
Balance
0 Doge
Tokens
Fetching tokens...
Transactions
418 Transactions
Transfers
0 Transfers
Gas Used
56,043,702
Last Balance Update
27579878
Contract name:
BanksyFactoryNFT




Optimization enabled
false
Compiler version
v0.8.9+commit.e5eed63a




EVM Version
default




Verified at
2022-09-20T15:14:44.493105Z

Contract source code

// Sources flattened with hardhat v2.4.1 https://hardhat.org

// File @openzeppelin/contracts/utils/introspection/IERC165.sol@v4.2.0
// SPDX-License-Identifier: MIT


pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/ERC721/IERC721.sol@v4.2.0


pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol@v4.2.0


pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol@v4.2.0


pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/utils/Address.sol@v4.2.0


pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


// File @openzeppelin/contracts/utils/Context.sol@v4.2.0


pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/utils/Strings.sol@v4.2.0


pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/utils/introspection/ERC165.sol@v4.2.0


pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/ERC721/ERC721.sol@v4.2.0


pragma solidity ^0.8.0;







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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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


// File @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol@v4.2.0


pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol@v4.2.0


pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/access/AccessControl.sol@v4.2.0


pragma solidity ^0.8.0;



/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);

    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    function grantRole(bytes32 role, address account) external;

    function revokeRole(bytes32 role, address account) external;

    function renounceRole(bytes32 role, address account) external;
}

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}


// File @openzeppelin/contracts/utils/math/SafeMath.sol@v4.2.0


pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File contracts/libs/ERC721Presets.sol

/*
     ,-""""-.
   ,'      _ `.
  /       )_)  \
 :              :
 \              /
  \            /
   `.        ,'
     `.    ,'
       `.,'
        /\`.   ,-._
            `-'         Banksy.farm

 */


pragma solidity ^0.8.6;




/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721Presets is ERC721Enumerable, AccessControl {
    using SafeMath for uint256;
    using Strings for string;


    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControl, ERC721Enumerable) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

}


// File contracts/BanksyFactoryNFT.sol

/*
     ,-""""-.
   ,'      _ `.
  /       )_)  \
 :              :
 \              /
  \            /
   `.        ,'
     `.    ,'
       `.,'
        /\`.   ,-._
            `-'         Banksy.farm

 */


pragma solidity ^0.8.6;

contract BanksyFactoryNFT is ERC721Presets {
    using SafeMath for uint256;
    using Strings for string;


    struct ArtWork {
        uint256 power;
        uint256 experience;
        uint256 generation;
        uint256 mergeCount;
    }

    ArtWork[] public artWorks;
    
    uint256 modulus = 100;
    // operator role
    bytes32 public constant OPERATOR_ROLE = keccak256("OPERATOR");
    // minter role
    bytes32 public constant MINTER_ROLE = keccak256("MINTER");

    event RequestNewRandomArtWork(address indexed userAddress, uint256 nftID);
    event SetGeneration(address indexed userAddress, uint256 nftID, uint256 newValue);
    event SetPower(address indexed userAddress, uint256 nftID, uint256 newValue);
    event SetExperience(address indexed userAddress, uint256 nftID, uint256 newValue);
    event SetMergeCount(address indexed userAddress, uint256 nftID, uint256 newValue);
    event SetAllAttributes(address indexed userAddress, uint256 nftID, uint256[] newValue);
    event SetModulus(uint256 newValue);
    event SetTokenURI(uint256 nftID, string nftURI);


    constructor() ERC721("Banksy Factory NFT", "BanksyFactoryNFT")
    {   
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _setupRole(MINTER_ROLE, _msgSender());
        _setupRole(OPERATOR_ROLE, _msgSender());
    }

    function requestNewRandomArtWork(
        uint256 _generation,
        address _userAddress
    ) external onlyRole(MINTER_ROLE) {

        uint256 newId = artWorks.length;
        uint256 power = randomNumber(_userAddress, newId);

        artWorks.push(
            ArtWork(
                power,
                0,
                _generation,
                0
            )
        );

        _safeMint(_userAddress, newId);

        emit RequestNewRandomArtWork(_userAddress, newId);
    }

    function getTokenURI(uint256 _tokenId) external view returns (string memory) {
        return tokenURI(_tokenId);
    }


    function getNumberOfArtWorks() external view returns (uint256) {
        return artWorks.length; 
    }


    function setExperience(uint256 _tokenId, uint256 _newExperience) onlyRole(OPERATOR_ROLE) external {
        artWorks[_tokenId].experience = _newExperience;

        emit SetExperience(_msgSender(), _tokenId, _newExperience);
    }

    function setPower(uint256 _tokenId, uint256 _power) onlyRole(OPERATOR_ROLE) external {
        artWorks[_tokenId].power = _power;
        
        emit SetPower(_msgSender(), _tokenId, _power);
    }

    function setGeneration(uint256 _tokenId, uint256 _generation) onlyRole(OPERATOR_ROLE) external {
        artWorks[_tokenId].generation = _generation;

        emit SetGeneration(_msgSender(), _tokenId, _generation);
    }

    function setMergeCount(uint256 _tokenId, uint256 _newCount) onlyRole(OPERATOR_ROLE) external {
        artWorks[_tokenId].mergeCount = _newCount;

        emit SetMergeCount(_msgSender(), _tokenId, _newCount);
    }

    function setAllAttributes(uint256 _tokenId, uint256[] memory _values) onlyRole(OPERATOR_ROLE) external {
        artWorks[_tokenId].power = _values[0];
        artWorks[_tokenId].experience = _values[1];
        artWorks[_tokenId].generation = _values[2];
        artWorks[_tokenId].mergeCount = _values[3];

        emit SetAllAttributes(_msgSender(), _tokenId, _values);
    }

    function setModulus(uint256 _modulus) onlyRole(OPERATOR_ROLE) external {
        modulus = _modulus;

        emit SetModulus(_modulus);
    }


    function setTokenURI(uint256 tokenId, string memory _tokenURI) external onlyRole(OPERATOR_ROLE) {
        require(_exists(tokenId));
        _setTokenURI(tokenId, _tokenURI);

        emit SetTokenURI(tokenId, _tokenURI);
    }

    function getArtWorkOverView(uint256 tokenId)
        external
        view
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        return (
            artWorks[tokenId].power,
            artWorks[tokenId].experience,
            artWorks[tokenId].generation
        );
    }
 
    function randomNumber(address _userAddress, uint256 _randNonce) internal view returns(uint256) {
        uint256 _randomNumber = uint256(keccak256(abi.encodePacked(block.timestamp,
                                                _userAddress,
                                                _randNonce))) % modulus;
        if(_randomNumber < 10)
            _randomNumber = _randomNumber + 10;

        return _randomNumber;
    }

}
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"approved","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"RequestNewRandomArtWork","inputs":[{"type":"address","name":"userAddress","internalType":"address","indexed":true},{"type":"uint256","name":"nftID","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"RoleAdminChanged","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"previousAdminRole","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"newAdminRole","internalType":"bytes32","indexed":true}],"anonymous":false},{"type":"event","name":"RoleGranted","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleRevoked","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"SetAllAttributes","inputs":[{"type":"address","name":"userAddress","internalType":"address","indexed":true},{"type":"uint256","name":"nftID","internalType":"uint256","indexed":false},{"type":"uint256[]","name":"newValue","internalType":"uint256[]","indexed":false}],"anonymous":false},{"type":"event","name":"SetExperience","inputs":[{"type":"address","name":"userAddress","internalType":"address","indexed":true},{"type":"uint256","name":"nftID","internalType":"uint256","indexed":false},{"type":"uint256","name":"newValue","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetGeneration","inputs":[{"type":"address","name":"userAddress","internalType":"address","indexed":true},{"type":"uint256","name":"nftID","internalType":"uint256","indexed":false},{"type":"uint256","name":"newValue","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetMergeCount","inputs":[{"type":"address","name":"userAddress","internalType":"address","indexed":true},{"type":"uint256","name":"nftID","internalType":"uint256","indexed":false},{"type":"uint256","name":"newValue","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetModulus","inputs":[{"type":"uint256","name":"newValue","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetPower","inputs":[{"type":"address","name":"userAddress","internalType":"address","indexed":true},{"type":"uint256","name":"nftID","internalType":"uint256","indexed":false},{"type":"uint256","name":"newValue","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetTokenURI","inputs":[{"type":"uint256","name":"nftID","internalType":"uint256","indexed":false},{"type":"string","name":"nftURI","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DEFAULT_ADMIN_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"MINTER_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"OPERATOR_ROLE","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"power","internalType":"uint256"},{"type":"uint256","name":"experience","internalType":"uint256"},{"type":"uint256","name":"generation","internalType":"uint256"},{"type":"uint256","name":"mergeCount","internalType":"uint256"}],"name":"artWorks","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"getArtWorkOverView","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getNumberOfArtWorks","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"getRoleAdmin","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"getTokenURI","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"grantRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"hasRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"requestNewRandomArtWork","inputs":[{"type":"uint256","name":"_generation","internalType":"uint256"},{"type":"address","name":"_userAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"revokeRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"_data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setAllAttributes","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"},{"type":"uint256[]","name":"_values","internalType":"uint256[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setExperience","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"},{"type":"uint256","name":"_newExperience","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setGeneration","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"},{"type":"uint256","name":"_generation","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMergeCount","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"},{"type":"uint256","name":"_newCount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setModulus","inputs":[{"type":"uint256","name":"_modulus","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPower","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"},{"type":"uint256","name":"_power","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"string","name":"_tokenURI","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenByIndex","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenOfOwnerByIndex","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]}]
            

Contract Creation Code

0x60806040526064600d553480156200001657600080fd5b506040518060400160405280601281526020017f42616e6b737920466163746f7279204e465400000000000000000000000000008152506040518060400160405280601081526020017f42616e6b7379466163746f72794e46540000000000000000000000000000000081525081600090805190602001906200009b929190620002de565b508060019080519060200190620000b4929190620002de565b505050620000db6000801b620000cf6200016360201b60201c565b6200016b60201b60201c565b6200011c7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9620001106200016360201b60201c565b6200016b60201b60201c565b6200015d7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c620001516200016360201b60201c565b6200016b60201b60201c565b620003f3565b600033905090565b6200017d82826200018160201b60201c565b5050565b6200019382826200027360201b60201c565b6200026f576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002146200016360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620002ec90620003bd565b90600052602060002090601f0160209004810192826200031057600085556200035c565b82601f106200032b57805160ff19168380011785556200035c565b828001600101855582156200035c579182015b828111156200035b5782518255916020019190600101906200033e565b5b5090506200036b91906200036f565b5090565b5b808211156200038a57600081600090555060010162000370565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003d657607f821691505b60208210811415620003ed57620003ec6200038e565b5b50919050565b614cd980620004036000396000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80634f6ccce711610125578063c4b01d56116100ad578063e89e025c1161007c578063e89e025c1461066f578063e985e9c5146106a2578063edd58d08146106d2578063ef3bd96f146106ee578063f5b541a61461070a5761021c565b8063c4b01d56146105e9578063c87b56dd14610605578063d539139314610635578063d547741f146106535761021c565b806391d14854116100f457806391d148541461054557806395d89b4114610575578063a217fddf14610593578063a22cb465146105b1578063b88d4fde146105cd5761021c565b80634f6ccce71461049957806350dfc658146104c95780636352211e146104e557806370a08231146105155761021c565b806323b872dd116101a85780633593b463116101775780633593b463146103e357806336568abe146104155780633bb3a24d146104315780633f6441011461046157806342842e0e1461047d5761021c565b806323b872dd1461034b578063248a9ca3146103675780632f2ff15d146103975780632f745c59146103b35761021c565b8063081812fc116101ef578063081812fc146102a9578063095ea7b3146102d95780630fd72d16146102f5578063162094c41461031157806318160ddd1461032d5761021c565b806301ffc9a71461022157806304d5ef3f1461025157806305aa07871461026d57806306fdde031461028b575b600080fd5b61023b600480360381019061023691906131ba565b610728565b6040516102489190613202565b60405180910390f35b61026b60048036038101906102669190613253565b61073a565b005b6102756107f2565b60405161028291906132a2565b60405180910390f35b6102936107ff565b6040516102a09190613356565b60405180910390f35b6102c360048036038101906102be9190613378565b610891565b6040516102d091906133e6565b60405180910390f35b6102f360048036038101906102ee919061342d565b610916565b005b61030f600480360381019061030a9190613253565b610a2e565b005b61032b600480360381019061032691906135a2565b610ae6565b005b610335610b72565b60405161034291906132a2565b60405180910390f35b610365600480360381019061036091906135fe565b610b7f565b005b610381600480360381019061037c9190613687565b610bdf565b60405161038e91906136c3565b60405180910390f35b6103b160048036038101906103ac91906136de565b610bff565b005b6103cd60048036038101906103c8919061342d565b610c28565b6040516103da91906132a2565b60405180910390f35b6103fd60048036038101906103f89190613378565b610ccd565b60405161040c9392919061371e565b60405180910390f35b61042f600480360381019061042a91906136de565b610d51565b005b61044b60048036038101906104469190613378565b610dd4565b6040516104589190613356565b60405180910390f35b61047b60048036038101906104769190613378565b610de6565b005b610497600480360381019061049291906135fe565b610e5a565b005b6104b360048036038101906104ae9190613378565b610e7a565b6040516104c091906132a2565b60405180910390f35b6104e360048036038101906104de919061381d565b610eeb565b005b6104ff60048036038101906104fa9190613378565b61108d565b60405161050c91906133e6565b60405180910390f35b61052f600480360381019061052a9190613879565b61113f565b60405161053c91906132a2565b60405180910390f35b61055f600480360381019061055a91906136de565b6111f7565b60405161056c9190613202565b60405180910390f35b61057d611262565b60405161058a9190613356565b60405180910390f35b61059b6112f4565b6040516105a891906136c3565b60405180910390f35b6105cb60048036038101906105c691906138d2565b6112fb565b005b6105e760048036038101906105e291906139b3565b61147c565b005b61060360048036038101906105fe9190613253565b6114de565b005b61061f600480360381019061061a9190613378565b611596565b60405161062c9190613356565b60405180910390f35b61063d6116e8565b60405161064a91906136c3565b60405180910390f35b61066d600480360381019061066891906136de565b61170c565b005b61068960048036038101906106849190613378565b611735565b6040516106999493929190613a36565b60405180910390f35b6106bc60048036038101906106b79190613a7b565b611775565b6040516106c99190613202565b60405180910390f35b6106ec60048036038101906106e79190613253565b611809565b005b61070860048036038101906107039190613abb565b6118c1565b005b6107126119e2565b60405161071f91906136c3565b60405180910390f35b600061073382611a06565b9050919050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c61076c81610767611a80565b611a88565b81600c848154811061078157610780613afb565b5b90600052602060002090600402016002018190555061079e611a80565b73ffffffffffffffffffffffffffffffffffffffff167f9ed11b3a9ced267941e9e4d92946f0dc0bdbce8249333fad02a500ac4197c0ed84846040516107e5929190613b2a565b60405180910390a2505050565b6000600c80549050905090565b60606000805461080e90613b82565b80601f016020809104026020016040519081016040528092919081815260200182805461083a90613b82565b80156108875780601f1061085c57610100808354040283529160200191610887565b820191906000526020600020905b81548152906001019060200180831161086a57829003601f168201915b5050505050905090565b600061089c82611b25565b6108db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d290613c26565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109218261108d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610992576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098990613cb8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109b1611a80565b73ffffffffffffffffffffffffffffffffffffffff1614806109e057506109df816109da611a80565b611775565b5b610a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1690613d4a565b60405180910390fd5b610a298383611b91565b505050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c610a6081610a5b611a80565b611a88565b81600c8481548110610a7557610a74613afb565b5b906000526020600020906004020160000181905550610a92611a80565b73ffffffffffffffffffffffffffffffffffffffff167fd2cd70991a5e92eae657dcb58f1eaa8ef74f1eebfe16c2f4f644305305e669058484604051610ad9929190613b2a565b60405180910390a2505050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c610b1881610b13611a80565b611a88565b610b2183611b25565b610b2a57600080fd5b610b348383611c4a565b7fd2d827dddfc9c9a02afc5fc68d3251684b36e213a7999ebd90a861f25df4077e8383604051610b65929190613d6a565b60405180910390a1505050565b6000600880549050905090565b610b90610b8a611a80565b82611cbe565b610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc690613e0c565b60405180910390fd5b610bda838383611d9c565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b610c0882610bdf565b610c1981610c14611a80565b611a88565b610c238383611ff8565b505050565b6000610c338361113f565b8210610c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6b90613e9e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000806000600c8481548110610ce657610ce5613afb565b5b906000526020600020906004020160000154600c8581548110610d0c57610d0b613afb565b5b906000526020600020906004020160010154600c8681548110610d3257610d31613afb565b5b9060005260206000209060040201600201549250925092509193909250565b610d59611a80565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbd90613f30565b60405180910390fd5b610dd082826120d9565b5050565b6060610ddf82611596565b9050919050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c610e1881610e13611a80565b611a88565b81600d819055507f96b11ce7bbbbed538c92701446fea48dfd797c171a19beee7fca9738f3f6849482604051610e4e91906132a2565b60405180910390a15050565b610e758383836040518060200160405280600081525061147c565b505050565b6000610e84610b72565b8210610ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebc90613fc2565b60405180910390fd5b60088281548110610ed957610ed8613afb565b5b90600052602060002001549050919050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c610f1d81610f18611a80565b611a88565b81600081518110610f3157610f30613afb565b5b6020026020010151600c8481548110610f4d57610f4c613afb565b5b90600052602060002090600402016000018190555081600181518110610f7657610f75613afb565b5b6020026020010151600c8481548110610f9257610f91613afb565b5b90600052602060002090600402016001018190555081600281518110610fbb57610fba613afb565b5b6020026020010151600c8481548110610fd757610fd6613afb565b5b9060005260206000209060040201600201819055508160038151811061100057610fff613afb565b5b6020026020010151600c848154811061101c5761101b613afb565b5b906000526020600020906004020160030181905550611039611a80565b73ffffffffffffffffffffffffffffffffffffffff167f2f3be41e85860940b801c298efbc8988b7049a14358a4d3471eb841d3cc317c384846040516110809291906140a0565b60405180910390a2505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d90614142565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a7906141d4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461127190613b82565b80601f016020809104026020016040519081016040528092919081815260200182805461129d90613b82565b80156112ea5780601f106112bf576101008083540402835291602001916112ea565b820191906000526020600020905b8154815290600101906020018083116112cd57829003601f168201915b5050505050905090565b6000801b81565b611303611a80565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611371576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136890614240565b60405180910390fd5b806005600061137e611a80565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661142b611a80565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114709190613202565b60405180910390a35050565b61148d611487611a80565b83611cbe565b6114cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c390613e0c565b60405180910390fd5b6114d8848484846121bb565b50505050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c6115108161150b611a80565b611a88565b81600c848154811061152557611524613afb565b5b906000526020600020906004020160030181905550611542611a80565b73ffffffffffffffffffffffffffffffffffffffff167f47d86ff6514a399f7e379101dda8a9a3cf4571728ab9c18f10b0987b5c2a78418484604051611589929190613b2a565b60405180910390a2505050565b60606115a182611b25565b6115e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d7906142d2565b60405180910390fd5b6000600b6000848152602001908152602001600020805461160090613b82565b80601f016020809104026020016040519081016040528092919081815260200182805461162c90613b82565b80156116795780601f1061164e57610100808354040283529160200191611679565b820191906000526020600020905b81548152906001019060200180831161165c57829003601f168201915b50505050509050600061168a612217565b90506000815114156116a05781925050506116e3565b6000825111156116d55780826040516020016116bd92919061432e565b604051602081830303815290604052925050506116e3565b6116de8461222e565b925050505b919050565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc981565b61171582610bdf565b61172681611721611a80565b611a88565b61173083836120d9565b505050565b600c818154811061174557600080fd5b90600052602060002090600402016000915090508060000154908060010154908060020154908060030154905084565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c61183b81611836611a80565b611a88565b81600c84815481106118505761184f613afb565b5b90600052602060002090600402016001018190555061186d611a80565b73ffffffffffffffffffffffffffffffffffffffff167f98434daf45265e2bb442769dd36ed403c71b80e676677b3077f63aaacc217cbc84846040516118b4929190613b2a565b60405180910390a2505050565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc96118f3816118ee611a80565b611a88565b6000600c805490509050600061190984836122d5565b9050600c6040518060800160405280838152602001600081526020018781526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000155602082015181600101556040820151816002015560608201518160030155505061198d8483612338565b8373ffffffffffffffffffffffffffffffffffffffff167f3ec23f7cd9d4f33d5bba5c847f05d8016619da6706194d55fec681a866bce65d836040516119d391906132a2565b60405180910390a25050505050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c81565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a795750611a7882612356565b5b9050919050565b600033905090565b611a9282826111f7565b611b2157611ab78173ffffffffffffffffffffffffffffffffffffffff1660146123d0565b611ac58360001c60206123d0565b604051602001611ad69291906143ea565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b189190613356565b60405180910390fd5b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c048361108d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611c5382611b25565b611c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8990614496565b60405180910390fd5b80600b60008481526020019081526020016000209080519060200190611cb99291906130ab565b505050565b6000611cc982611b25565b611d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cff90614528565b60405180910390fd5b6000611d138361108d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d8257508373ffffffffffffffffffffffffffffffffffffffff16611d6a84610891565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d935750611d928185611775565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611dbc8261108d565b73ffffffffffffffffffffffffffffffffffffffff1614611e12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e09906145ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e799061464c565b60405180910390fd5b611e8d83838361260c565b611e98600082611b91565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ee8919061469b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f3f91906146cf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61200282826111f7565b6120d5576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061207a611a80565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6120e382826111f7565b156121b7576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061215c611a80565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6121c6848484611d9c565b6121d284848484612720565b612211576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220890614797565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b606061223982611b25565b612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226f90614829565b60405180910390fd5b6000612282612217565b905060008151116122a257604051806020016040528060008152506122cd565b806122ac846128b7565b6040516020016122bd92919061432e565b6040516020818303038152906040525b915050919050565b600080600d544285856040516020016122f0939291906148b2565b6040516020818303038152906040528051906020012060001c612313919061491e565b9050600a81101561232e57600a8161232b91906146cf565b90505b8091505092915050565b612352828260405180602001604052806000815250612a18565b5050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123c957506123c882612a73565b5b9050919050565b6060600060028360026123e3919061494f565b6123ed91906146cf565b67ffffffffffffffff81111561240657612405613477565b5b6040519080825280601f01601f1916602001820160405280156124385781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106124705761246f613afb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106124d4576124d3613afb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612514919061494f565b61251e91906146cf565b90505b60018111156125be577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106125605761255f613afb565b5b1a60f81b82828151811061257757612576613afb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806125b7906149a9565b9050612521565b5060008414612602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f990614a1f565b60405180910390fd5b8091505092915050565b612617838383612b55565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561265a5761265581612b5a565b612699565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612698576126978382612ba3565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126dc576126d781612d10565b61271b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461271a576127198282612de1565b5b5b505050565b60006127418473ffffffffffffffffffffffffffffffffffffffff16612e60565b156128aa578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261276a611a80565b8786866040518563ffffffff1660e01b815260040161278c9493929190614a94565b602060405180830381600087803b1580156127a657600080fd5b505af19250505080156127d757506040513d601f19601f820116820180604052508101906127d49190614af5565b60015b61285a573d8060008114612807576040519150601f19603f3d011682016040523d82523d6000602084013e61280c565b606091505b50600081511415612852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284990614797565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128af565b600190505b949350505050565b606060008214156128ff576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a13565b600082905060005b6000821461293157808061291a90614b22565b915050600a8261292a9190614b6b565b9150612907565b60008167ffffffffffffffff81111561294d5761294c613477565b5b6040519080825280601f01601f19166020018201604052801561297f5781602001600182028036833780820191505090505b5090505b60008514612a0c57600182612998919061469b565b9150600a856129a7919061491e565b60306129b391906146cf565b60f81b8183815181106129c9576129c8613afb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a059190614b6b565b9450612983565b8093505050505b919050565b612a228383612e73565b612a2f6000848484612720565b612a6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6590614797565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b3e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b4e5750612b4d82613041565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612bb08461113f565b612bba919061469b565b9050600060076000848152602001908152602001600020549050818114612c9f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612d24919061469b565b9050600060096000848152602001908152602001600020549050600060088381548110612d5457612d53613afb565b5b906000526020600020015490508060088381548110612d7657612d75613afb565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612dc557612dc4614b9c565b5b6001900381819060005260206000200160009055905550505050565b6000612dec8361113f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eda90614c17565b60405180910390fd5b612eec81611b25565b15612f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2390614c83565b60405180910390fd5b612f386000838361260c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f8891906146cf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546130b790613b82565b90600052602060002090601f0160209004810192826130d95760008555613120565b82601f106130f257805160ff1916838001178555613120565b82800160010185558215613120579182015b8281111561311f578251825591602001919060010190613104565b5b50905061312d9190613131565b5090565b5b8082111561314a576000816000905550600101613132565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61319781613162565b81146131a257600080fd5b50565b6000813590506131b48161318e565b92915050565b6000602082840312156131d0576131cf613158565b5b60006131de848285016131a5565b91505092915050565b60008115159050919050565b6131fc816131e7565b82525050565b600060208201905061321760008301846131f3565b92915050565b6000819050919050565b6132308161321d565b811461323b57600080fd5b50565b60008135905061324d81613227565b92915050565b6000806040838503121561326a57613269613158565b5b60006132788582860161323e565b92505060206132898582860161323e565b9150509250929050565b61329c8161321d565b82525050565b60006020820190506132b76000830184613293565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156132f75780820151818401526020810190506132dc565b83811115613306576000848401525b50505050565b6000601f19601f8301169050919050565b6000613328826132bd565b61333281856132c8565b93506133428185602086016132d9565b61334b8161330c565b840191505092915050565b60006020820190508181036000830152613370818461331d565b905092915050565b60006020828403121561338e5761338d613158565b5b600061339c8482850161323e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133d0826133a5565b9050919050565b6133e0816133c5565b82525050565b60006020820190506133fb60008301846133d7565b92915050565b61340a816133c5565b811461341557600080fd5b50565b60008135905061342781613401565b92915050565b6000806040838503121561344457613443613158565b5b600061345285828601613418565b92505060206134638582860161323e565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6134af8261330c565b810181811067ffffffffffffffff821117156134ce576134cd613477565b5b80604052505050565b60006134e161314e565b90506134ed82826134a6565b919050565b600067ffffffffffffffff82111561350d5761350c613477565b5b6135168261330c565b9050602081019050919050565b82818337600083830152505050565b6000613545613540846134f2565b6134d7565b90508281526020810184848401111561356157613560613472565b5b61356c848285613523565b509392505050565b600082601f8301126135895761358861346d565b5b8135613599848260208601613532565b91505092915050565b600080604083850312156135b9576135b8613158565b5b60006135c78582860161323e565b925050602083013567ffffffffffffffff8111156135e8576135e761315d565b5b6135f485828601613574565b9150509250929050565b60008060006060848603121561361757613616613158565b5b600061362586828701613418565b935050602061363686828701613418565b92505060406136478682870161323e565b9150509250925092565b6000819050919050565b61366481613651565b811461366f57600080fd5b50565b6000813590506136818161365b565b92915050565b60006020828403121561369d5761369c613158565b5b60006136ab84828501613672565b91505092915050565b6136bd81613651565b82525050565b60006020820190506136d860008301846136b4565b92915050565b600080604083850312156136f5576136f4613158565b5b600061370385828601613672565b925050602061371485828601613418565b9150509250929050565b60006060820190506137336000830186613293565b6137406020830185613293565b61374d6040830184613293565b949350505050565b600067ffffffffffffffff8211156137705761376f613477565b5b602082029050602081019050919050565b600080fd5b600061379961379484613755565b6134d7565b905080838252602082019050602084028301858111156137bc576137bb613781565b5b835b818110156137e557806137d1888261323e565b8452602084019350506020810190506137be565b5050509392505050565b600082601f8301126138045761380361346d565b5b8135613814848260208601613786565b91505092915050565b6000806040838503121561383457613833613158565b5b60006138428582860161323e565b925050602083013567ffffffffffffffff8111156138635761386261315d565b5b61386f858286016137ef565b9150509250929050565b60006020828403121561388f5761388e613158565b5b600061389d84828501613418565b91505092915050565b6138af816131e7565b81146138ba57600080fd5b50565b6000813590506138cc816138a6565b92915050565b600080604083850312156138e9576138e8613158565b5b60006138f785828601613418565b9250506020613908858286016138bd565b9150509250929050565b600067ffffffffffffffff82111561392d5761392c613477565b5b6139368261330c565b9050602081019050919050565b600061395661395184613912565b6134d7565b90508281526020810184848401111561397257613971613472565b5b61397d848285613523565b509392505050565b600082601f83011261399a5761399961346d565b5b81356139aa848260208601613943565b91505092915050565b600080600080608085870312156139cd576139cc613158565b5b60006139db87828801613418565b94505060206139ec87828801613418565b93505060406139fd8782880161323e565b925050606085013567ffffffffffffffff811115613a1e57613a1d61315d565b5b613a2a87828801613985565b91505092959194509250565b6000608082019050613a4b6000830187613293565b613a586020830186613293565b613a656040830185613293565b613a726060830184613293565b95945050505050565b60008060408385031215613a9257613a91613158565b5b6000613aa085828601613418565b9250506020613ab185828601613418565b9150509250929050565b60008060408385031215613ad257613ad1613158565b5b6000613ae08582860161323e565b9250506020613af185828601613418565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000604082019050613b3f6000830185613293565b613b4c6020830184613293565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b9a57607f821691505b60208210811415613bae57613bad613b53565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613c10602c836132c8565b9150613c1b82613bb4565b604082019050919050565b60006020820190508181036000830152613c3f81613c03565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613ca26021836132c8565b9150613cad82613c46565b604082019050919050565b60006020820190508181036000830152613cd181613c95565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613d346038836132c8565b9150613d3f82613cd8565b604082019050919050565b60006020820190508181036000830152613d6381613d27565b9050919050565b6000604082019050613d7f6000830185613293565b8181036020830152613d91818461331d565b90509392505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613df66031836132c8565b9150613e0182613d9a565b604082019050919050565b60006020820190508181036000830152613e2581613de9565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613e88602b836132c8565b9150613e9382613e2c565b604082019050919050565b60006020820190508181036000830152613eb781613e7b565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613f1a602f836132c8565b9150613f2582613ebe565b604082019050919050565b60006020820190508181036000830152613f4981613f0d565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613fac602c836132c8565b9150613fb782613f50565b604082019050919050565b60006020820190508181036000830152613fdb81613f9f565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6140178161321d565b82525050565b6000614029838361400e565b60208301905092915050565b6000602082019050919050565b600061404d82613fe2565b6140578185613fed565b935061406283613ffe565b8060005b8381101561409357815161407a888261401d565b975061408583614035565b925050600181019050614066565b5085935050505092915050565b60006040820190506140b56000830185613293565b81810360208301526140c78184614042565b90509392505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061412c6029836132c8565b9150614137826140d0565b604082019050919050565b6000602082019050818103600083015261415b8161411f565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006141be602a836132c8565b91506141c982614162565b604082019050919050565b600060208201905081810360008301526141ed816141b1565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061422a6019836132c8565b9150614235826141f4565b602082019050919050565b600060208201905081810360008301526142598161421d565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b60006142bc6031836132c8565b91506142c782614260565b604082019050919050565b600060208201905081810360008301526142eb816142af565b9050919050565b600081905092915050565b6000614308826132bd565b61431281856142f2565b93506143228185602086016132d9565b80840191505092915050565b600061433a82856142fd565b915061434682846142fd565b91508190509392505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006143886017836142f2565b915061439382614352565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006143d46011836142f2565b91506143df8261439e565b601182019050919050565b60006143f58261437b565b915061440182856142fd565b915061440c826143c7565b915061441882846142fd565b91508190509392505050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614480602e836132c8565b915061448b82614424565b604082019050919050565b600060208201905081810360008301526144af81614473565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614512602c836132c8565b915061451d826144b6565b604082019050919050565b6000602082019050818103600083015261454181614505565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006145a46029836132c8565b91506145af82614548565b604082019050919050565b600060208201905081810360008301526145d381614597565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006146366024836132c8565b9150614641826145da565b604082019050919050565b6000602082019050818103600083015261466581614629565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006146a68261321d565b91506146b18361321d565b9250828210156146c4576146c361466c565b5b828203905092915050565b60006146da8261321d565b91506146e58361321d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561471a5761471961466c565b5b828201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006147816032836132c8565b915061478c82614725565b604082019050919050565b600060208201905081810360008301526147b081614774565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614813602f836132c8565b915061481e826147b7565b604082019050919050565b6000602082019050818103600083015261484281614806565b9050919050565b6000819050919050565b61486461485f8261321d565b614849565b82525050565b60008160601b9050919050565b60006148828261486a565b9050919050565b600061489482614877565b9050919050565b6148ac6148a7826133c5565b614889565b82525050565b60006148be8286614853565b6020820191506148ce828561489b565b6014820191506148de8284614853565b602082019150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006149298261321d565b91506149348361321d565b925082614944576149436148ef565b5b828206905092915050565b600061495a8261321d565b91506149658361321d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561499e5761499d61466c565b5b828202905092915050565b60006149b48261321d565b915060008214156149c8576149c761466c565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614a096020836132c8565b9150614a14826149d3565b602082019050919050565b60006020820190508181036000830152614a38816149fc565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614a6682614a3f565b614a708185614a4a565b9350614a808185602086016132d9565b614a898161330c565b840191505092915050565b6000608082019050614aa960008301876133d7565b614ab660208301866133d7565b614ac36040830185613293565b8181036060830152614ad58184614a5b565b905095945050505050565b600081519050614aef8161318e565b92915050565b600060208284031215614b0b57614b0a613158565b5b6000614b1984828501614ae0565b91505092915050565b6000614b2d8261321d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b6057614b5f61466c565b5b600182019050919050565b6000614b768261321d565b9150614b818361321d565b925082614b9157614b906148ef565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614c016020836132c8565b9150614c0c82614bcb565b602082019050919050565b60006020820190508181036000830152614c3081614bf4565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614c6d601c836132c8565b9150614c7882614c37565b602082019050919050565b60006020820190508181036000830152614c9c81614c60565b905091905056fea2646970667358221220e887b914ffb9c34623f87dcf2250578cfb70d22cdad41ff177a3f87edc6f427864736f6c63430008090033

Deployed ByteCode

0x608060405234801561001057600080fd5b506004361061021c5760003560e01c80634f6ccce711610125578063c4b01d56116100ad578063e89e025c1161007c578063e89e025c1461066f578063e985e9c5146106a2578063edd58d08146106d2578063ef3bd96f146106ee578063f5b541a61461070a5761021c565b8063c4b01d56146105e9578063c87b56dd14610605578063d539139314610635578063d547741f146106535761021c565b806391d14854116100f457806391d148541461054557806395d89b4114610575578063a217fddf14610593578063a22cb465146105b1578063b88d4fde146105cd5761021c565b80634f6ccce71461049957806350dfc658146104c95780636352211e146104e557806370a08231146105155761021c565b806323b872dd116101a85780633593b463116101775780633593b463146103e357806336568abe146104155780633bb3a24d146104315780633f6441011461046157806342842e0e1461047d5761021c565b806323b872dd1461034b578063248a9ca3146103675780632f2ff15d146103975780632f745c59146103b35761021c565b8063081812fc116101ef578063081812fc146102a9578063095ea7b3146102d95780630fd72d16146102f5578063162094c41461031157806318160ddd1461032d5761021c565b806301ffc9a71461022157806304d5ef3f1461025157806305aa07871461026d57806306fdde031461028b575b600080fd5b61023b600480360381019061023691906131ba565b610728565b6040516102489190613202565b60405180910390f35b61026b60048036038101906102669190613253565b61073a565b005b6102756107f2565b60405161028291906132a2565b60405180910390f35b6102936107ff565b6040516102a09190613356565b60405180910390f35b6102c360048036038101906102be9190613378565b610891565b6040516102d091906133e6565b60405180910390f35b6102f360048036038101906102ee919061342d565b610916565b005b61030f600480360381019061030a9190613253565b610a2e565b005b61032b600480360381019061032691906135a2565b610ae6565b005b610335610b72565b60405161034291906132a2565b60405180910390f35b610365600480360381019061036091906135fe565b610b7f565b005b610381600480360381019061037c9190613687565b610bdf565b60405161038e91906136c3565b60405180910390f35b6103b160048036038101906103ac91906136de565b610bff565b005b6103cd60048036038101906103c8919061342d565b610c28565b6040516103da91906132a2565b60405180910390f35b6103fd60048036038101906103f89190613378565b610ccd565b60405161040c9392919061371e565b60405180910390f35b61042f600480360381019061042a91906136de565b610d51565b005b61044b60048036038101906104469190613378565b610dd4565b6040516104589190613356565b60405180910390f35b61047b60048036038101906104769190613378565b610de6565b005b610497600480360381019061049291906135fe565b610e5a565b005b6104b360048036038101906104ae9190613378565b610e7a565b6040516104c091906132a2565b60405180910390f35b6104e360048036038101906104de919061381d565b610eeb565b005b6104ff60048036038101906104fa9190613378565b61108d565b60405161050c91906133e6565b60405180910390f35b61052f600480360381019061052a9190613879565b61113f565b60405161053c91906132a2565b60405180910390f35b61055f600480360381019061055a91906136de565b6111f7565b60405161056c9190613202565b60405180910390f35b61057d611262565b60405161058a9190613356565b60405180910390f35b61059b6112f4565b6040516105a891906136c3565b60405180910390f35b6105cb60048036038101906105c691906138d2565b6112fb565b005b6105e760048036038101906105e291906139b3565b61147c565b005b61060360048036038101906105fe9190613253565b6114de565b005b61061f600480360381019061061a9190613378565b611596565b60405161062c9190613356565b60405180910390f35b61063d6116e8565b60405161064a91906136c3565b60405180910390f35b61066d600480360381019061066891906136de565b61170c565b005b61068960048036038101906106849190613378565b611735565b6040516106999493929190613a36565b60405180910390f35b6106bc60048036038101906106b79190613a7b565b611775565b6040516106c99190613202565b60405180910390f35b6106ec60048036038101906106e79190613253565b611809565b005b61070860048036038101906107039190613abb565b6118c1565b005b6107126119e2565b60405161071f91906136c3565b60405180910390f35b600061073382611a06565b9050919050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c61076c81610767611a80565b611a88565b81600c848154811061078157610780613afb565b5b90600052602060002090600402016002018190555061079e611a80565b73ffffffffffffffffffffffffffffffffffffffff167f9ed11b3a9ced267941e9e4d92946f0dc0bdbce8249333fad02a500ac4197c0ed84846040516107e5929190613b2a565b60405180910390a2505050565b6000600c80549050905090565b60606000805461080e90613b82565b80601f016020809104026020016040519081016040528092919081815260200182805461083a90613b82565b80156108875780601f1061085c57610100808354040283529160200191610887565b820191906000526020600020905b81548152906001019060200180831161086a57829003601f168201915b5050505050905090565b600061089c82611b25565b6108db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d290613c26565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109218261108d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610992576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098990613cb8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109b1611a80565b73ffffffffffffffffffffffffffffffffffffffff1614806109e057506109df816109da611a80565b611775565b5b610a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1690613d4a565b60405180910390fd5b610a298383611b91565b505050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c610a6081610a5b611a80565b611a88565b81600c8481548110610a7557610a74613afb565b5b906000526020600020906004020160000181905550610a92611a80565b73ffffffffffffffffffffffffffffffffffffffff167fd2cd70991a5e92eae657dcb58f1eaa8ef74f1eebfe16c2f4f644305305e669058484604051610ad9929190613b2a565b60405180910390a2505050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c610b1881610b13611a80565b611a88565b610b2183611b25565b610b2a57600080fd5b610b348383611c4a565b7fd2d827dddfc9c9a02afc5fc68d3251684b36e213a7999ebd90a861f25df4077e8383604051610b65929190613d6a565b60405180910390a1505050565b6000600880549050905090565b610b90610b8a611a80565b82611cbe565b610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc690613e0c565b60405180910390fd5b610bda838383611d9c565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b610c0882610bdf565b610c1981610c14611a80565b611a88565b610c238383611ff8565b505050565b6000610c338361113f565b8210610c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6b90613e9e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000806000600c8481548110610ce657610ce5613afb565b5b906000526020600020906004020160000154600c8581548110610d0c57610d0b613afb565b5b906000526020600020906004020160010154600c8681548110610d3257610d31613afb565b5b9060005260206000209060040201600201549250925092509193909250565b610d59611a80565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbd90613f30565b60405180910390fd5b610dd082826120d9565b5050565b6060610ddf82611596565b9050919050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c610e1881610e13611a80565b611a88565b81600d819055507f96b11ce7bbbbed538c92701446fea48dfd797c171a19beee7fca9738f3f6849482604051610e4e91906132a2565b60405180910390a15050565b610e758383836040518060200160405280600081525061147c565b505050565b6000610e84610b72565b8210610ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebc90613fc2565b60405180910390fd5b60088281548110610ed957610ed8613afb565b5b90600052602060002001549050919050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c610f1d81610f18611a80565b611a88565b81600081518110610f3157610f30613afb565b5b6020026020010151600c8481548110610f4d57610f4c613afb565b5b90600052602060002090600402016000018190555081600181518110610f7657610f75613afb565b5b6020026020010151600c8481548110610f9257610f91613afb565b5b90600052602060002090600402016001018190555081600281518110610fbb57610fba613afb565b5b6020026020010151600c8481548110610fd757610fd6613afb565b5b9060005260206000209060040201600201819055508160038151811061100057610fff613afb565b5b6020026020010151600c848154811061101c5761101b613afb565b5b906000526020600020906004020160030181905550611039611a80565b73ffffffffffffffffffffffffffffffffffffffff167f2f3be41e85860940b801c298efbc8988b7049a14358a4d3471eb841d3cc317c384846040516110809291906140a0565b60405180910390a2505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d90614142565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a7906141d4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461127190613b82565b80601f016020809104026020016040519081016040528092919081815260200182805461129d90613b82565b80156112ea5780601f106112bf576101008083540402835291602001916112ea565b820191906000526020600020905b8154815290600101906020018083116112cd57829003601f168201915b5050505050905090565b6000801b81565b611303611a80565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611371576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136890614240565b60405180910390fd5b806005600061137e611a80565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661142b611a80565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114709190613202565b60405180910390a35050565b61148d611487611a80565b83611cbe565b6114cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c390613e0c565b60405180910390fd5b6114d8848484846121bb565b50505050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c6115108161150b611a80565b611a88565b81600c848154811061152557611524613afb565b5b906000526020600020906004020160030181905550611542611a80565b73ffffffffffffffffffffffffffffffffffffffff167f47d86ff6514a399f7e379101dda8a9a3cf4571728ab9c18f10b0987b5c2a78418484604051611589929190613b2a565b60405180910390a2505050565b60606115a182611b25565b6115e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d7906142d2565b60405180910390fd5b6000600b6000848152602001908152602001600020805461160090613b82565b80601f016020809104026020016040519081016040528092919081815260200182805461162c90613b82565b80156116795780601f1061164e57610100808354040283529160200191611679565b820191906000526020600020905b81548152906001019060200180831161165c57829003601f168201915b50505050509050600061168a612217565b90506000815114156116a05781925050506116e3565b6000825111156116d55780826040516020016116bd92919061432e565b604051602081830303815290604052925050506116e3565b6116de8461222e565b925050505b919050565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc981565b61171582610bdf565b61172681611721611a80565b611a88565b61173083836120d9565b505050565b600c818154811061174557600080fd5b90600052602060002090600402016000915090508060000154908060010154908060020154908060030154905084565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c61183b81611836611a80565b611a88565b81600c84815481106118505761184f613afb565b5b90600052602060002090600402016001018190555061186d611a80565b73ffffffffffffffffffffffffffffffffffffffff167f98434daf45265e2bb442769dd36ed403c71b80e676677b3077f63aaacc217cbc84846040516118b4929190613b2a565b60405180910390a2505050565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc96118f3816118ee611a80565b611a88565b6000600c805490509050600061190984836122d5565b9050600c6040518060800160405280838152602001600081526020018781526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000155602082015181600101556040820151816002015560608201518160030155505061198d8483612338565b8373ffffffffffffffffffffffffffffffffffffffff167f3ec23f7cd9d4f33d5bba5c847f05d8016619da6706194d55fec681a866bce65d836040516119d391906132a2565b60405180910390a25050505050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c81565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a795750611a7882612356565b5b9050919050565b600033905090565b611a9282826111f7565b611b2157611ab78173ffffffffffffffffffffffffffffffffffffffff1660146123d0565b611ac58360001c60206123d0565b604051602001611ad69291906143ea565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b189190613356565b60405180910390fd5b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c048361108d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611c5382611b25565b611c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8990614496565b60405180910390fd5b80600b60008481526020019081526020016000209080519060200190611cb99291906130ab565b505050565b6000611cc982611b25565b611d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cff90614528565b60405180910390fd5b6000611d138361108d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d8257508373ffffffffffffffffffffffffffffffffffffffff16611d6a84610891565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d935750611d928185611775565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611dbc8261108d565b73ffffffffffffffffffffffffffffffffffffffff1614611e12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e09906145ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e799061464c565b60405180910390fd5b611e8d83838361260c565b611e98600082611b91565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ee8919061469b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f3f91906146cf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61200282826111f7565b6120d5576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061207a611a80565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6120e382826111f7565b156121b7576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061215c611a80565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6121c6848484611d9c565b6121d284848484612720565b612211576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220890614797565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b606061223982611b25565b612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226f90614829565b60405180910390fd5b6000612282612217565b905060008151116122a257604051806020016040528060008152506122cd565b806122ac846128b7565b6040516020016122bd92919061432e565b6040516020818303038152906040525b915050919050565b600080600d544285856040516020016122f0939291906148b2565b6040516020818303038152906040528051906020012060001c612313919061491e565b9050600a81101561232e57600a8161232b91906146cf565b90505b8091505092915050565b612352828260405180602001604052806000815250612a18565b5050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123c957506123c882612a73565b5b9050919050565b6060600060028360026123e3919061494f565b6123ed91906146cf565b67ffffffffffffffff81111561240657612405613477565b5b6040519080825280601f01601f1916602001820160405280156124385781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106124705761246f613afb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106124d4576124d3613afb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612514919061494f565b61251e91906146cf565b90505b60018111156125be577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106125605761255f613afb565b5b1a60f81b82828151811061257757612576613afb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806125b7906149a9565b9050612521565b5060008414612602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f990614a1f565b60405180910390fd5b8091505092915050565b612617838383612b55565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561265a5761265581612b5a565b612699565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612698576126978382612ba3565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126dc576126d781612d10565b61271b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461271a576127198282612de1565b5b5b505050565b60006127418473ffffffffffffffffffffffffffffffffffffffff16612e60565b156128aa578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261276a611a80565b8786866040518563ffffffff1660e01b815260040161278c9493929190614a94565b602060405180830381600087803b1580156127a657600080fd5b505af19250505080156127d757506040513d601f19601f820116820180604052508101906127d49190614af5565b60015b61285a573d8060008114612807576040519150601f19603f3d011682016040523d82523d6000602084013e61280c565b606091505b50600081511415612852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284990614797565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128af565b600190505b949350505050565b606060008214156128ff576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a13565b600082905060005b6000821461293157808061291a90614b22565b915050600a8261292a9190614b6b565b9150612907565b60008167ffffffffffffffff81111561294d5761294c613477565b5b6040519080825280601f01601f19166020018201604052801561297f5781602001600182028036833780820191505090505b5090505b60008514612a0c57600182612998919061469b565b9150600a856129a7919061491e565b60306129b391906146cf565b60f81b8183815181106129c9576129c8613afb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a059190614b6b565b9450612983565b8093505050505b919050565b612a228383612e73565b612a2f6000848484612720565b612a6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6590614797565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b3e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b4e5750612b4d82613041565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612bb08461113f565b612bba919061469b565b9050600060076000848152602001908152602001600020549050818114612c9f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612d24919061469b565b9050600060096000848152602001908152602001600020549050600060088381548110612d5457612d53613afb565b5b906000526020600020015490508060088381548110612d7657612d75613afb565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612dc557612dc4614b9c565b5b6001900381819060005260206000200160009055905550505050565b6000612dec8361113f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eda90614c17565b60405180910390fd5b612eec81611b25565b15612f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2390614c83565b60405180910390fd5b612f386000838361260c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f8891906146cf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546130b790613b82565b90600052602060002090601f0160209004810192826130d95760008555613120565b82601f106130f257805160ff1916838001178555613120565b82800160010185558215613120579182015b8281111561311f578251825591602001919060010190613104565b5b50905061312d9190613131565b5090565b5b8082111561314a576000816000905550600101613132565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61319781613162565b81146131a257600080fd5b50565b6000813590506131b48161318e565b92915050565b6000602082840312156131d0576131cf613158565b5b60006131de848285016131a5565b91505092915050565b60008115159050919050565b6131fc816131e7565b82525050565b600060208201905061321760008301846131f3565b92915050565b6000819050919050565b6132308161321d565b811461323b57600080fd5b50565b60008135905061324d81613227565b92915050565b6000806040838503121561326a57613269613158565b5b60006132788582860161323e565b92505060206132898582860161323e565b9150509250929050565b61329c8161321d565b82525050565b60006020820190506132b76000830184613293565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156132f75780820151818401526020810190506132dc565b83811115613306576000848401525b50505050565b6000601f19601f8301169050919050565b6000613328826132bd565b61333281856132c8565b93506133428185602086016132d9565b61334b8161330c565b840191505092915050565b60006020820190508181036000830152613370818461331d565b905092915050565b60006020828403121561338e5761338d613158565b5b600061339c8482850161323e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133d0826133a5565b9050919050565b6133e0816133c5565b82525050565b60006020820190506133fb60008301846133d7565b92915050565b61340a816133c5565b811461341557600080fd5b50565b60008135905061342781613401565b92915050565b6000806040838503121561344457613443613158565b5b600061345285828601613418565b92505060206134638582860161323e565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6134af8261330c565b810181811067ffffffffffffffff821117156134ce576134cd613477565b5b80604052505050565b60006134e161314e565b90506134ed82826134a6565b919050565b600067ffffffffffffffff82111561350d5761350c613477565b5b6135168261330c565b9050602081019050919050565b82818337600083830152505050565b6000613545613540846134f2565b6134d7565b90508281526020810184848401111561356157613560613472565b5b61356c848285613523565b509392505050565b600082601f8301126135895761358861346d565b5b8135613599848260208601613532565b91505092915050565b600080604083850312156135b9576135b8613158565b5b60006135c78582860161323e565b925050602083013567ffffffffffffffff8111156135e8576135e761315d565b5b6135f485828601613574565b9150509250929050565b60008060006060848603121561361757613616613158565b5b600061362586828701613418565b935050602061363686828701613418565b92505060406136478682870161323e565b9150509250925092565b6000819050919050565b61366481613651565b811461366f57600080fd5b50565b6000813590506136818161365b565b92915050565b60006020828403121561369d5761369c613158565b5b60006136ab84828501613672565b91505092915050565b6136bd81613651565b82525050565b60006020820190506136d860008301846136b4565b92915050565b600080604083850312156136f5576136f4613158565b5b600061370385828601613672565b925050602061371485828601613418565b9150509250929050565b60006060820190506137336000830186613293565b6137406020830185613293565b61374d6040830184613293565b949350505050565b600067ffffffffffffffff8211156137705761376f613477565b5b602082029050602081019050919050565b600080fd5b600061379961379484613755565b6134d7565b905080838252602082019050602084028301858111156137bc576137bb613781565b5b835b818110156137e557806137d1888261323e565b8452602084019350506020810190506137be565b5050509392505050565b600082601f8301126138045761380361346d565b5b8135613814848260208601613786565b91505092915050565b6000806040838503121561383457613833613158565b5b60006138428582860161323e565b925050602083013567ffffffffffffffff8111156138635761386261315d565b5b61386f858286016137ef565b9150509250929050565b60006020828403121561388f5761388e613158565b5b600061389d84828501613418565b91505092915050565b6138af816131e7565b81146138ba57600080fd5b50565b6000813590506138cc816138a6565b92915050565b600080604083850312156138e9576138e8613158565b5b60006138f785828601613418565b9250506020613908858286016138bd565b9150509250929050565b600067ffffffffffffffff82111561392d5761392c613477565b5b6139368261330c565b9050602081019050919050565b600061395661395184613912565b6134d7565b90508281526020810184848401111561397257613971613472565b5b61397d848285613523565b509392505050565b600082601f83011261399a5761399961346d565b5b81356139aa848260208601613943565b91505092915050565b600080600080608085870312156139cd576139cc613158565b5b60006139db87828801613418565b94505060206139ec87828801613418565b93505060406139fd8782880161323e565b925050606085013567ffffffffffffffff811115613a1e57613a1d61315d565b5b613a2a87828801613985565b91505092959194509250565b6000608082019050613a4b6000830187613293565b613a586020830186613293565b613a656040830185613293565b613a726060830184613293565b95945050505050565b60008060408385031215613a9257613a91613158565b5b6000613aa085828601613418565b9250506020613ab185828601613418565b9150509250929050565b60008060408385031215613ad257613ad1613158565b5b6000613ae08582860161323e565b9250506020613af185828601613418565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000604082019050613b3f6000830185613293565b613b4c6020830184613293565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b9a57607f821691505b60208210811415613bae57613bad613b53565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613c10602c836132c8565b9150613c1b82613bb4565b604082019050919050565b60006020820190508181036000830152613c3f81613c03565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613ca26021836132c8565b9150613cad82613c46565b604082019050919050565b60006020820190508181036000830152613cd181613c95565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613d346038836132c8565b9150613d3f82613cd8565b604082019050919050565b60006020820190508181036000830152613d6381613d27565b9050919050565b6000604082019050613d7f6000830185613293565b8181036020830152613d91818461331d565b90509392505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613df66031836132c8565b9150613e0182613d9a565b604082019050919050565b60006020820190508181036000830152613e2581613de9565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613e88602b836132c8565b9150613e9382613e2c565b604082019050919050565b60006020820190508181036000830152613eb781613e7b565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613f1a602f836132c8565b9150613f2582613ebe565b604082019050919050565b60006020820190508181036000830152613f4981613f0d565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613fac602c836132c8565b9150613fb782613f50565b604082019050919050565b60006020820190508181036000830152613fdb81613f9f565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6140178161321d565b82525050565b6000614029838361400e565b60208301905092915050565b6000602082019050919050565b600061404d82613fe2565b6140578185613fed565b935061406283613ffe565b8060005b8381101561409357815161407a888261401d565b975061408583614035565b925050600181019050614066565b5085935050505092915050565b60006040820190506140b56000830185613293565b81810360208301526140c78184614042565b90509392505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061412c6029836132c8565b9150614137826140d0565b604082019050919050565b6000602082019050818103600083015261415b8161411f565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006141be602a836132c8565b91506141c982614162565b604082019050919050565b600060208201905081810360008301526141ed816141b1565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061422a6019836132c8565b9150614235826141f4565b602082019050919050565b600060208201905081810360008301526142598161421d565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b60006142bc6031836132c8565b91506142c782614260565b604082019050919050565b600060208201905081810360008301526142eb816142af565b9050919050565b600081905092915050565b6000614308826132bd565b61431281856142f2565b93506143228185602086016132d9565b80840191505092915050565b600061433a82856142fd565b915061434682846142fd565b91508190509392505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006143886017836142f2565b915061439382614352565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006143d46011836142f2565b91506143df8261439e565b601182019050919050565b60006143f58261437b565b915061440182856142fd565b915061440c826143c7565b915061441882846142fd565b91508190509392505050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614480602e836132c8565b915061448b82614424565b604082019050919050565b600060208201905081810360008301526144af81614473565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614512602c836132c8565b915061451d826144b6565b604082019050919050565b6000602082019050818103600083015261454181614505565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006145a46029836132c8565b91506145af82614548565b604082019050919050565b600060208201905081810360008301526145d381614597565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006146366024836132c8565b9150614641826145da565b604082019050919050565b6000602082019050818103600083015261466581614629565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006146a68261321d565b91506146b18361321d565b9250828210156146c4576146c361466c565b5b828203905092915050565b60006146da8261321d565b91506146e58361321d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561471a5761471961466c565b5b828201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006147816032836132c8565b915061478c82614725565b604082019050919050565b600060208201905081810360008301526147b081614774565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614813602f836132c8565b915061481e826147b7565b604082019050919050565b6000602082019050818103600083015261484281614806565b9050919050565b6000819050919050565b61486461485f8261321d565b614849565b82525050565b60008160601b9050919050565b60006148828261486a565b9050919050565b600061489482614877565b9050919050565b6148ac6148a7826133c5565b614889565b82525050565b60006148be8286614853565b6020820191506148ce828561489b565b6014820191506148de8284614853565b602082019150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006149298261321d565b91506149348361321d565b925082614944576149436148ef565b5b828206905092915050565b600061495a8261321d565b91506149658361321d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561499e5761499d61466c565b5b828202905092915050565b60006149b48261321d565b915060008214156149c8576149c761466c565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614a096020836132c8565b9150614a14826149d3565b602082019050919050565b60006020820190508181036000830152614a38816149fc565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614a6682614a3f565b614a708185614a4a565b9350614a808185602086016132d9565b614a898161330c565b840191505092915050565b6000608082019050614aa960008301876133d7565b614ab660208301866133d7565b614ac36040830185613293565b8181036060830152614ad58184614a5b565b905095945050505050565b600081519050614aef8161318e565b92915050565b600060208284031215614b0b57614b0a613158565b5b6000614b1984828501614ae0565b91505092915050565b6000614b2d8261321d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b6057614b5f61466c565b5b600182019050919050565b6000614b768261321d565b9150614b818361321d565b925082614b9157614b906148ef565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614c016020836132c8565b9150614c0c82614bcb565b602082019050919050565b60006020820190508181036000830152614c3081614bf4565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614c6d601c836132c8565b9150614c7882614c37565b602082019050919050565b60006020820190508181036000830152614c9c81614c60565b905091905056fea2646970667358221220e887b914ffb9c34623f87dcf2250578cfb70d22cdad41ff177a3f87edc6f427864736f6c63430008090033