Address Details
contract
token

0xe49E6147B6327522ECAc51cc31C95940945AEc08

Token
Sacuda Credit Score (SACS)
Creator
0x1e7d0f–39bbd2 at 0xb8254a–2437f7
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
6 Transactions
Transfers
0 Transfers
Gas Used
471,268
Last Balance Update
14410559
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
Sacuda




Optimization enabled
false
Compiler version
v0.8.11+commit.d7f03943




EVM Version
london




Verified at
2023-01-25T18:27:17.541340Z

contracts/Sacuda.sol

// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.11;

import "@openzeppelin/contracts@4.7.0/access/AccessControl.sol";
import "@openzeppelin/contracts@4.7.0/token/ERC721/ERC721.sol";
import {TokenURIDescriptor} from "./TokenURIDescriptor.sol";

/** @dev Report with percentages of health in each catgegory */
struct CreditReportPercentages {
    uint8 paymentHistory;
    uint8 amountOwed;
    uint8 creditLength;
    uint8 creditMix;
    uint8 newCredit;
}

contract Sacuda is ERC721, AccessControl {
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN");
    bytes32 public constant MINTER_ROLE = keccak256("MINTER");
    bytes32 public constant ENHANCER_ROLE = keccak256("ENHANCER");
    bytes32 public constant WOB_ROLE = keccak256("WOMAN_OF_BUSSINESS");

    // bytes32 public constant WOB = keccak256("WOMAN_OF_BUSSINESS");

    uint256 public totalSupply;

    /** @dev Weights for Credit Scores */
    uint8 public paymentHistoryWeight;
    uint8 public amountOwedWeight;
    uint8 public creditLengthWeight;
    uint8 public creditMixWeight;
    uint8 public newCreditWeight;

    /** @dev Credit Score Storage */
    mapping(uint256 => CreditReportPercentages) public report;

    /** @dev Name Storage */
    mapping(uint256 => string) public name;

    // /** @dev Is Enhancer Storage */
    // mapping(uint256 => bool) public isEnhancer;

    /** Errors */
    error NotAPercentage();

    /** Events */
    event UserReportUpdated(
        uint256 indexed tokenId,
        uint8 paymentHistory,
        uint8 amountOwed,
        uint8 creditLength,
        uint8 creditMix,
        uint8 newCredit
    );
    event WeightsUpdated(
        uint8 paymentHistory,
        uint8 amountOwed,
        uint8 creditLength,
        uint8 creditMix,
        uint8 newCredit
    );
    event NameUpdated(uint256 indexed tokenId, string newName);

    /** @notice constructor for contract */
    constructor() ERC721("Sacuda Credit Score", "SACS") {
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        paymentHistoryWeight = 35;
        amountOwedWeight = 30;
        creditLengthWeight = 15;
        creditMixWeight = 10;
        newCreditWeight = 10;
    }

    /** @dev Override required by AccessControl/ERC721 */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    /** @dev Override to make Tokens non-transferable */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId //,
    ) internal override // uint256 batchSize
    {
        require(
            (from == address(0) || to == address(0)),
            "Non-Transferable Token"
        );
        super._beforeTokenTransfer(from, to, tokenId); //, batchSize);
    }

    /** @notice Only one non-transferable token per address */
    function mint(
        address _user,
        bool _isEnhancer,
        string memory _name
    ) external onlyRole(MINTER_ROLE) {
        require(balanceOf(_user) == 0, "Already Registered");
        uint256 tokenId = ++totalSupply;
        _mint(_user, tokenId);
        // isEnhancer[tokenId] = _isEnhancer;
        if (_isEnhancer) {
            _grantRole(ENHANCER_ROLE, _user);
            report[tokenId].amountOwed = 100; // Trying to set score to 0
        } else {
            _grantRole(WOB_ROLE, _user);
            report[tokenId].paymentHistory = 100;
            // report[tokenId].amountOwed = 0; // Already in 0
            report[tokenId].creditLength = 100;
            report[tokenId].creditMix = 100;
            report[tokenId].newCredit = 100;
            emit UserReportUpdated(tokenId, 100, 0, 100, 100, 100);
        }
        name[tokenId] = _name;
        emit NameUpdated(tokenId, _name);
    }

    /** @dev Override to have on-chain SVG NFTs */
    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        // _requireMinted(tokenId); // This gets checked when calling score()
        uint256 scoring = score(tokenId);

        bool isEnhancer = hasRole(ENHANCER_ROLE, ownerOf(tokenId));
        return
            TokenURIDescriptor.tokenURI(
                isEnhancer,
                scoring,
                tokenId,
                name[tokenId],
                super.name(),
                super.symbol()
            );
    }

    /** @notice Credit Score of the user */
    function score(uint256 _tokenId) public view returns (uint256) {
        _requireMinted(_tokenId);
        CreditReportPercentages storage r = report[_tokenId];
        uint256 userScore = (uint256(r.paymentHistory) *
            uint256(paymentHistoryWeight) +
            (100 - uint256(r.amountOwed)) *
            uint256(amountOwedWeight) +
            uint256(r.creditLength) *
            uint256(creditLengthWeight) +
            uint256(r.creditMix) *
            uint256(creditMixWeight) +
            uint256(r.newCredit) *
            uint256(newCreditWeight)) / 100;
        return userScore;
    }

    /** @notice Update username function */
    function updateName(uint256 tokenId, string memory _name)
        external
        onlyRole(MINTER_ROLE)
    {
        _requireMinted(tokenId);
        name[tokenId] = _name;
    }

    /** @notice Update User's Credit Report */
    function updateReport(uint256 _tokenId, bytes memory data)
        external
        onlyRole(ADMIN_ROLE)
    {
        _requireMinted(_tokenId);
        CreditReportPercentages memory r;
        (
            r.paymentHistory,
            r.amountOwed,
            r.creditLength,
            r.creditMix,
            r.newCredit
        ) = abi.decode(data, (uint8, uint8, uint8, uint8, uint8));
        if (
            r.paymentHistory > 100 ||
            r.amountOwed > 100 ||
            r.creditLength > 100 ||
            r.creditMix > 100 ||
            r.newCredit > 100
        ) revert NotAPercentage();
        report[_tokenId] = r;
        emit UserReportUpdated(
            _tokenId,
            r.paymentHistory,
            r.amountOwed,
            r.creditLength,
            r.creditMix,
            r.newCredit
        );
    }

    /** @notice Update System's Weights for Credit Score */
    function updateWeights(bytes memory data) external onlyRole(ADMIN_ROLE) {
        (
            uint8 paymentHistory,
            uint8 amountOwed,
            uint8 creditLength,
            uint8 creditMix,
            uint8 newCredit
        ) = abi.decode(data, (uint8, uint8, uint8, uint8, uint8));
        if (
            paymentHistory +
                amountOwed +
                creditLength +
                creditMix +
                newCredit !=
            100
        ) revert NotAPercentage();
        paymentHistoryWeight = paymentHistory;
        amountOwedWeight = amountOwed;
        creditLengthWeight = creditLength;
        creditMixWeight = creditMix;
        newCreditWeight = newCredit;
        emit WeightsUpdated(
            paymentHistory,
            amountOwed,
            creditLength,
            creditMix,
            newCredit
        );
    }
}
        

/_openzeppelin/contracts/utils/Base64.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

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

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

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}
          

/_openzeppelin/contracts/utils/Strings.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

/_openzeppelin/contracts_4.7.0/access/AccessControl.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

/_openzeppelin/contracts_4.7.0/access/IAccessControl.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

/_openzeppelin/contracts_4.7.0/token/ERC721/ERC721.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}
          

/_openzeppelin/contracts_4.7.0/token/ERC721/IERC721.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

/_openzeppelin/contracts_4.7.0/token/ERC721/IERC721Receiver.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

/_openzeppelin/contracts_4.7.0/token/ERC721/extensions/IERC721Metadata.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

/_openzeppelin/contracts_4.7.0/utils/Address.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/_openzeppelin/contracts_4.7.0/utils/Context.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

/_openzeppelin/contracts_4.7.0/utils/Strings.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

/_openzeppelin/contracts_4.7.0/utils/introspection/ERC165.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

/_openzeppelin/contracts_4.7.0/utils/introspection/IERC165.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

/contracts/TokenURIDescriptor.sol

// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;

import "@openzeppelin/contracts/utils/Base64.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

string constant SVG_START = '<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 600 600" font-family="Arial, Helvetica, sans-serif"><rect x="0" y="0" width="100%" height="100%" fill="#';
string constant BG_WOB = "ffeaed";
string constant BG_ENH = "b9e7be";
string constant SVG_HEADER = '" rx="5%" /><g id="logo" fill="#0398b0"><path d="m47 25c-18 0 -18 15 -18 18 0 23 25 32 36 32 2 0 3 -1 3 -3 0 -3 -2 -4 -2 -20c0 -15 -4 -27 -19 -27m29 50c-6 0 -6 1 -6 3 0 1 11 33 28 33 9 0 17 -7 17 -17 0 -8 0 -19 -39 -19m 0 -20a12 12 0 1 0 24 0a12 12 0 1 0 -24 0m-34 38a11 11 0 1 0 22 0a11 11 0 1 0 -22 0z" /></g><g id="text" font-size="80"><text x="140" y="110" font-weight="bolder" fill="#000a">SACUDA</text><text x="50%" y="50%" text-anchor="middle" fill="';
string constant FONT_WOB = 'deeppink">';
string constant FONT_ENH = 'green">';
string constant SVG_USERNAME = '</text><text x="50%" y="64%" text-anchor="middle" font-size="36" fill="';
string constant SVG_SCORE = '</text><text x="50%" y="80%" text-anchor="middle" font-size="48" fill="coral">SCORE: ';
// SCORE (uint -> string)
string constant SVG_END = "</text></g></svg>";

library TokenURIDescriptor {
    function getSVG(
        bool _isEnhancer,
        uint256 _score,
        string memory _userName
    ) internal pure returns (string memory) {
        string memory usernameLine;
        string memory bgColor;
        string memory fontColor;
        string memory userType;
        string memory scoringLine;
        if (_isEnhancer) {
            bgColor = BG_ENH;
            fontColor = FONT_ENH;
            userType = "ENHANCER";
        } else {
            bgColor = BG_WOB;
            fontColor = FONT_WOB;
            userType = "WOB";
            scoringLine = string(
                abi.encodePacked(SVG_SCORE, Strings.toString(_score))
            );
        }
        if (bytes(_userName).length > 0) {
            usernameLine = string(
                abi.encodePacked(SVG_USERNAME, fontColor, _userName)
            );
        }
        return
            string(
                abi.encodePacked(
                    SVG_START,
                    bgColor,
                    SVG_HEADER,
                    fontColor,
                    userType,
                    usernameLine,
                    scoringLine,
                    SVG_END
                )
            );
    }

    function tokenURI(
        bool _isEnhancer,
        uint256 _score,
        uint256 _tokenId,
        string memory _userName,
        string memory _name,
        string memory _symbol
    ) internal pure returns (string memory) {
        string memory o = string(
            abi.encodePacked(
                '{"name":"',
                _name,
                " #",
                Strings.toString(_tokenId),
                " (",
                _userName,
                ")"
            )
        );
        string memory output = string(
            abi.encodePacked(
                o,
                '","symbol":"',
                _symbol,
                '","description":"Sacuda Scoring","image": "data:image/svg+xml;base64,',
                Base64.encode(bytes(getSVG(_isEnhancer, _score, _userName))),
                '"}'
            )
        );

        return
            string(
                abi.encodePacked(
                    "data:application/json;base64,",
                    Base64.encode(bytes(output))
                )
            );
    }
}
          

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"error","name":"NotAPercentage","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":"NameUpdated","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"string","name":"newName","internalType":"string","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":"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":"event","name":"UserReportUpdated","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"uint8","name":"paymentHistory","internalType":"uint8","indexed":false},{"type":"uint8","name":"amountOwed","internalType":"uint8","indexed":false},{"type":"uint8","name":"creditLength","internalType":"uint8","indexed":false},{"type":"uint8","name":"creditMix","internalType":"uint8","indexed":false},{"type":"uint8","name":"newCredit","internalType":"uint8","indexed":false}],"anonymous":false},{"type":"event","name":"WeightsUpdated","inputs":[{"type":"uint8","name":"paymentHistory","internalType":"uint8","indexed":false},{"type":"uint8","name":"amountOwed","internalType":"uint8","indexed":false},{"type":"uint8","name":"creditLength","internalType":"uint8","indexed":false},{"type":"uint8","name":"creditMix","internalType":"uint8","indexed":false},{"type":"uint8","name":"newCredit","internalType":"uint8","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"ADMIN_ROLE","inputs":[]},{"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":"ENHANCER_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":"WOB_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"amountOwedWeight","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":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"creditLengthWeight","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"creditMixWeight","inputs":[]},{"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":"bytes32","name":"","internalType":"bytes32"}],"name":"getRoleAdmin","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"}]},{"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":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"_user","internalType":"address"},{"type":"bool","name":"_isEnhancer","internalType":"bool"},{"type":"string","name":"_name","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"newCreditWeight","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"paymentHistoryWeight","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"paymentHistory","internalType":"uint8"},{"type":"uint8","name":"amountOwed","internalType":"uint8"},{"type":"uint8","name":"creditLength","internalType":"uint8"},{"type":"uint8","name":"creditMix","internalType":"uint8"},{"type":"uint8","name":"newCredit","internalType":"uint8"}],"name":"report","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"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":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"score","inputs":[{"type":"uint256","name":"_tokenId","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":"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":"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"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateName","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"string","name":"_name","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateReport","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateWeights","inputs":[{"type":"bytes","name":"data","internalType":"bytes"}]}]
              

Contract Creation Code

0x60806040523480156200001157600080fd5b506040518060400160405280601381526020017f536163756461204372656469742053636f7265000000000000000000000000008152506040518060400160405280600481526020017f5341435300000000000000000000000000000000000000000000000000000000815250816000908051906020019062000096929190620002be565b508060019080519060200190620000af929190620002be565b505050620000c76000801b336200015960201b60201c565b6023600860006101000a81548160ff021916908360ff160217905550601e600860016101000a81548160ff021916908360ff160217905550600f600860026101000a81548160ff021916908360ff160217905550600a600860036101000a81548160ff021916908360ff160217905550600a600860046101000a81548160ff021916908360ff160217905550620003d3565b6200016b82826200024b60201b60201c565b620002475760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001ec620002b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b828054620002cc906200039d565b90600052602060002090601f016020900481019282620002f057600085556200033c565b82601f106200030b57805160ff19168380011785556200033c565b828001600101855582156200033c579182015b828111156200033b5782518255916020019190600101906200031e565b5b5090506200034b91906200034f565b5090565b5b808211156200036a57600081600090555060010162000350565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003b657607f821691505b60208210811415620003cd57620003cc6200036e565b5b50919050565b614fbe80620003e36000396000f3fe608060405234801561001057600080fd5b506004361061021b5760003560e01c806391d1485411610125578063b88d4fde116100ad578063d53913931161007c578063d539139314610668578063d547741f14610686578063e985e9c5146106a2578063ef243480146106d2578063fccdaa64146106ee5761021b565b8063b88d4fde146105ce578063bf0446ad146105ea578063c87b56dd14610608578063d1730f1f146106385761021b565b8063a217fddf116100f4578063a217fddf1461053a578063a22cb46514610558578063a544cf3b14610574578063b273535b14610592578063b5e4a227146105b05761021b565b806391d148541461049c57806395d89b41146104cc578063969b1cdb146104ea578063988489b81461051e5761021b565b80632f2ff15d116101a857806355e54f361161017757806355e54f36146103e25780636352211e1461040057806370a082311461043057806375b238fc146104605780637f76b2821461047e5761021b565b80632f2ff15d1461037257806336568abe1461038e57806342842e0e146103aa57806353e76f2c146103c65761021b565b8063095ea7b3116101ef578063095ea7b3146102ce57806318160ddd146102ea57806323b872dd14610308578063248a9ca3146103245780632ec19017146103545761021b565b8062ad800c1461022057806301ffc9a71461025057806306fdde0314610280578063081812fc1461029e575b600080fd5b61023a6004803603810190610235919061313b565b61070a565b6040516102479190613201565b60405180910390f35b61026a6004803603810190610265919061327b565b6107aa565b60405161027791906132c3565b60405180910390f35b6102886107bc565b6040516102959190613201565b60405180910390f35b6102b860048036038101906102b3919061313b565b61084e565b6040516102c5919061331f565b60405180910390f35b6102e860048036038101906102e39190613366565b610894565b005b6102f26109ac565b6040516102ff91906133b5565b60405180910390f35b610322600480360381019061031d91906133d0565b6109b2565b005b61033e60048036038101906103399190613459565b610a12565b60405161034b9190613495565b60405180910390f35b61035c610a32565b60405161036991906134cc565b60405180910390f35b61038c600480360381019061038791906134e7565b610a45565b005b6103a860048036038101906103a391906134e7565b610a66565b005b6103c460048036038101906103bf91906133d0565b610ae9565b005b6103e060048036038101906103db919061365c565b610b09565b005b6103ea610b69565b6040516103f79190613495565b60405180910390f35b61041a6004803603810190610415919061313b565b610b8d565b604051610427919061331f565b60405180910390f35b61044a600480360381019061044591906136b8565b610c3f565b60405161045791906133b5565b60405180910390f35b610468610cf7565b6040516104759190613495565b60405180910390f35b610486610d1b565b60405161049391906134cc565b60405180910390f35b6104b660048036038101906104b191906134e7565b610d2e565b6040516104c391906132c3565b60405180910390f35b6104d4610d99565b6040516104e19190613201565b60405180910390f35b61050460048036038101906104ff919061313b565b610e2b565b6040516105159594939291906136e5565b60405180910390f35b61053860048036038101906105339190613764565b610ea2565b005b610542611135565b60405161054f9190613495565b60405180910390f35b610572600480360381019061056d91906137d3565b61113c565b005b61057c611152565b60405161058991906134cc565b60405180910390f35b61059a611165565b6040516105a791906134cc565b60405180910390f35b6105b8611178565b6040516105c59190613495565b60405180910390f35b6105e860048036038101906105e391906138b4565b61119c565b005b6105f26111fe565b6040516105ff91906134cc565b60405180910390f35b610622600480360381019061061d919061313b565b611211565b60405161062f9190613201565b60405180910390f35b610652600480360381019061064d919061313b565b611316565b60405161065f91906133b5565b60405180910390f35b610670611480565b60405161067d9190613495565b60405180910390f35b6106a0600480360381019061069b91906134e7565b6114a4565b005b6106bc60048036038101906106b79190613937565b6114c5565b6040516106c991906132c3565b60405180910390f35b6106ec60048036038101906106e79190613977565b611559565b005b610708600480360381019061070391906139d3565b611793565b005b600a602052806000526040600020600091509050805461072990613a4b565b80601f016020809104026020016040519081016040528092919081815260200182805461075590613a4b565b80156107a25780601f10610777576101008083540402835291602001916107a2565b820191906000526020600020905b81548152906001019060200180831161078557829003601f168201915b505050505081565b60006107b58261191b565b9050919050565b6060600080546107cb90613a4b565b80601f01602080910402602001604051908101604052809291908181526020018280546107f790613a4b565b80156108445780601f1061081957610100808354040283529160200191610844565b820191906000526020600020905b81548152906001019060200180831161082757829003601f168201915b5050505050905090565b600061085982611995565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061089f82610b8d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610910576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090790613aef565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661092f6119e0565b73ffffffffffffffffffffffffffffffffffffffff16148061095e575061095d816109586119e0565b6114c5565b5b61099d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099490613b81565b60405180910390fd5b6109a783836119e8565b505050565b60075481565b6109c36109bd6119e0565b82611aa1565b610a02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f990613c13565b60405180910390fd5b610a0d838383611b36565b505050565b600060066000838152602001908152602001600020600101549050919050565b600860049054906101000a900460ff1681565b610a4e82610a12565b610a5781611d9d565b610a618383611db1565b505050565b610a6e6119e0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad290613ca5565b60405180910390fd5b610ae58282611e92565b5050565b610b048383836040518060200160405280600081525061119c565b505050565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9610b3381611d9d565b610b3c83611995565b81600a60008581526020019081526020016000209080519060200190610b63929190613010565b50505050565b7fd65b6e327dd83cd6cd304493e69128b248953070f6fb45a75b6d1cfb13eaaf2481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2d90613d11565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca790613da3565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec4281565b600860009054906101000a900460ff1681565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054610da890613a4b565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd490613a4b565b8015610e215780601f10610df657610100808354040283529160200191610e21565b820191906000526020600020905b815481529060010190602001808311610e0457829003601f168201915b5050505050905090565b60096020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060000160029054906101000a900460ff16908060000160039054906101000a900460ff16908060000160049054906101000a900460ff16905085565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9610ecc81611d9d565b6000610ed785610c3f565b14610f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0e90613e0f565b60405180910390fd5b6000600760008154610f2890613e5e565b9190508190559050610f3a8582611f74565b8315610f9f57610f6a7fd65b6e327dd83cd6cd304493e69128b248953070f6fb45a75b6d1cfb13eaaf2486611db1565b60646009600083815260200190815260200160002060000160016101000a81548160ff021916908360ff1602179055506110ce565b610fc97f498bf36e2fbef2653329df98fa621b014358e41daebc97009253d2364a1a70bd86611db1565b60646009600083815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555060646009600083815260200190815260200160002060000160026101000a81548160ff021916908360ff16021790555060646009600083815260200190815260200160002060000160036101000a81548160ff021916908360ff16021790555060646009600083815260200190815260200160002060000160046101000a81548160ff021916908360ff160217905550807fb396665453a2ebbab31d5f8c27d55053b108e7e9a5ae590567270143f525f6196064600060648060646040516110c5959493929190613f27565b60405180910390a25b82600a600083815260200190815260200160002090805190602001906110f5929190613010565b50807f70a8f52a5cc7cf2d25e71645299888cb2ed1590225e7fca72f35ac61cf61d324846040516111269190613201565b60405180910390a25050505050565b6000801b81565b61114e6111476119e0565b838361214e565b5050565b600860029054906101000a900460ff1681565b600860039054906101000a900460ff1681565b7f498bf36e2fbef2653329df98fa621b014358e41daebc97009253d2364a1a70bd81565b6111ad6111a76119e0565b83611aa1565b6111ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e390613c13565b60405180910390fd5b6111f8848484846122bb565b50505050565b600860019054906101000a900460ff1681565b6060600061121e83611316565b905060006112547fd65b6e327dd83cd6cd304493e69128b248953070f6fb45a75b6d1cfb13eaaf2461124f86610b8d565b610d2e565b905061130d818386600a6000898152602001908152602001600020805461127a90613a4b565b80601f01602080910402602001604051908101604052809291908181526020018280546112a690613a4b565b80156112f35780601f106112c8576101008083540402835291602001916112f3565b820191906000526020600020905b8154815290600101906020018083116112d657829003601f168201915b50505050506113006107bc565b611308610d99565b612317565b92505050919050565b600061132182611995565b600060096000848152602001908152602001600020905060006064600860049054906101000a900460ff1660ff168360000160049054906101000a900460ff1660ff1661136e9190613f7a565b600860039054906101000a900460ff1660ff168460000160039054906101000a900460ff1660ff166113a09190613f7a565b600860029054906101000a900460ff1660ff168560000160029054906101000a900460ff1660ff166113d29190613f7a565b600860019054906101000a900460ff1660ff168660000160019054906101000a900460ff1660ff1660646114069190613fd4565b6114109190613f7a565b600860009054906101000a900460ff1660ff168760000160009054906101000a900460ff1660ff166114429190613f7a565b61144c9190614008565b6114569190614008565b6114609190614008565b61146a9190614008565b611474919061408d565b90508092505050919050565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc981565b6114ad82610a12565b6114b681611d9d565b6114c08383611e92565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec4261158381611d9d565b61158c83611995565b611594613096565b828060200190518101906115a891906140ea565b85600001866020018760400188606001896080018560ff1660ff168152508560ff1660ff168152508560ff1660ff168152508560ff1660ff168152508560ff1660ff1681525050505050506064816000015160ff16118061161057506064816020015160ff16115b8061162257506064816040015160ff16115b8061163457506064816060015160ff16115b8061164657506064816080015160ff16115b1561167d576040517fc78758c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806009600086815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff16021790555060808201518160000160046101000a81548160ff021916908360ff160217905550905050837fb396665453a2ebbab31d5f8c27d55053b108e7e9a5ae590567270143f525f619826000015183602001518460400151856060015186608001516040516117859594939291906136e5565b60405180910390a250505050565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec426117bd81611d9d565b6000806000806000868060200190518101906117d991906140ea565b94509450945094509450606481838587896117f49190614165565b6117fe9190614165565b6118089190614165565b6118129190614165565b60ff161461184c576040517fc78758c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84600860006101000a81548160ff021916908360ff16021790555083600860016101000a81548160ff021916908360ff16021790555082600860026101000a81548160ff021916908360ff16021790555081600860036101000a81548160ff021916908360ff16021790555080600860046101000a81548160ff021916908360ff1602179055507f61b5a7230e6ad7228528de923cff523fb0666f143f6788173205439800070036858585858560405161190a9594939291906136e5565b60405180910390a150505050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061198e575061198d826123b9565b5b9050919050565b61199e8161249b565b6119dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d490613d11565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a5b83610b8d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611aad83610b8d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611aef5750611aee81856114c5565b5b80611b2d57508373ffffffffffffffffffffffffffffffffffffffff16611b158461084e565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611b5682610b8d565b73ffffffffffffffffffffffffffffffffffffffff1614611bac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba39061420e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c13906142a0565b60405180910390fd5b611c27838383612507565b611c326000826119e8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c829190613fd4565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cd99190614008565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d988383836125bd565b505050565b611dae81611da96119e0565b6125c2565b50565b611dbb8282610d2e565b611e8e5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e336119e0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611e9c8282610d2e565b15611f705760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611f156119e0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fe4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdb9061430c565b60405180910390fd5b611fed8161249b565b1561202d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202490614378565b60405180910390fd5b61203960008383612507565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120899190614008565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461214a600083836125bd565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b4906143e4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122ae91906132c3565b60405180910390a3505050565b6122c6848484611b36565b6122d28484848461265f565b612311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230890614476565b60405180910390fd5b50505050565b6060600083612325876127e7565b8660405160200161233893929190614602565b60405160208183030381529060405290506000818461236061235b8c8c8b612948565b612bde565b6040516020016123729392919061478f565b604051602081830303815290604052905061238c81612bde565b60405160200161239c919061482d565b604051602081830303815290604052925050509695505050505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061248457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612494575061249382612d42565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061256e5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b6125ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a49061489b565b60405180910390fd5b6125b8838383612dac565b505050565b505050565b6125cc8282610d2e565b61265b576125f18173ffffffffffffffffffffffffffffffffffffffff166014612db1565b6125ff8360001c6020612db1565b604051602001612610929190614953565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126529190613201565b60405180910390fd5b5050565b60006126808473ffffffffffffffffffffffffffffffffffffffff16612fed565b156127da578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126a96119e0565b8786866040518563ffffffff1660e01b81526004016126cb94939291906149e2565b6020604051808303816000875af192505050801561270757506040513d601f19601f820116820180604052508101906127049190614a43565b60015b61278a573d8060008114612737576040519150601f19603f3d011682016040523d82523d6000602084013e61273c565b606091505b50600081511415612782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277990614476565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127df565b600190505b949350505050565b6060600082141561282f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612943565b600082905060005b6000821461286157808061284a90613e5e565b915050600a8261285a919061408d565b9150612837565b60008167ffffffffffffffff81111561287d5761287c613531565b5b6040519080825280601f01601f1916602001820160405280156128af5781602001600182028036833780820191505090505b5090505b6000851461293c576001826128c89190613fd4565b9150600a856128d79190614a70565b60306128e39190614008565b60f81b8183815181106128f9576128f8614aa1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612935919061408d565b94506128b3565b8093505050505b919050565b6060806060806060808815612a04576040518060400160405280600681526020017f623965376265000000000000000000000000000000000000000000000000000081525093506040518060400160405280600781526020017f677265656e223e0000000000000000000000000000000000000000000000000081525092506040518060400160405280600881526020017f454e48414e4345520000000000000000000000000000000000000000000000008152509150612af1565b6040518060400160405280600681526020017f666665616564000000000000000000000000000000000000000000000000000081525093506040518060400160405280600a81526020017f6465657070696e6b223e0000000000000000000000000000000000000000000081525092506040518060400160405280600381526020017f574f4200000000000000000000000000000000000000000000000000000000008152509150604051806080016040528060558152602001614c2e60559139612ace896127e7565b604051602001612adf929190614ad0565b60405160208183030381529060405290505b600087511115612b3a57604051806080016040528060478152602001614d39604791398388604051602001612b2893929190614af4565b60405160208183030381529060405294505b6040518060e0016040528060b68152602001614c8360b69139846040518061020001604052806101c98152602001614dc06101c99139858589866040518060400160405280601181526020017f3c2f746578743e3c2f673e3c2f7376673e000000000000000000000000000000815250604051602001612bc1989796959493929190614b25565b604051602081830303815290604052955050505050509392505050565b6060600082511415612c0157604051806020016040528060008152509050612d3d565b6000604051806060016040528060408152602001614d806040913990506000600360028551612c309190614008565b612c3a919061408d565b6004612c469190613f7a565b67ffffffffffffffff811115612c5f57612c5e613531565b5b6040519080825280601f01601f191660200182016040528015612c915781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612cfd576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612ca2565b5050600386510660018114612d195760028114612d2c57612d34565b603d6001830353603d6002830353612d34565b603d60018303535b50505080925050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b606060006002836002612dc49190613f7a565b612dce9190614008565b67ffffffffffffffff811115612de757612de6613531565b5b6040519080825280601f01601f191660200182016040528015612e195781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612e5157612e50614aa1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612eb557612eb4614aa1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612ef59190613f7a565b612eff9190614008565b90505b6001811115612f9f577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612f4157612f40614aa1565b5b1a60f81b828281518110612f5857612f57614aa1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612f9890614b97565b9050612f02565b5060008414612fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fda90614c0d565b60405180910390fd5b8091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461301c90613a4b565b90600052602060002090601f01602090048101928261303e5760008555613085565b82601f1061305757805160ff1916838001178555613085565b82800160010185558215613085579182015b82811115613084578251825591602001919060010190613069565b5b50905061309291906130d4565b5090565b6040518060a00160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff1681525090565b5b808211156130ed5760008160009055506001016130d5565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61311881613105565b811461312357600080fd5b50565b6000813590506131358161310f565b92915050565b600060208284031215613151576131506130fb565b5b600061315f84828501613126565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131a2578082015181840152602081019050613187565b838111156131b1576000848401525b50505050565b6000601f19601f8301169050919050565b60006131d382613168565b6131dd8185613173565b93506131ed818560208601613184565b6131f6816131b7565b840191505092915050565b6000602082019050818103600083015261321b81846131c8565b905092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61325881613223565b811461326357600080fd5b50565b6000813590506132758161324f565b92915050565b600060208284031215613291576132906130fb565b5b600061329f84828501613266565b91505092915050565b60008115159050919050565b6132bd816132a8565b82525050565b60006020820190506132d860008301846132b4565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613309826132de565b9050919050565b613319816132fe565b82525050565b60006020820190506133346000830184613310565b92915050565b613343816132fe565b811461334e57600080fd5b50565b6000813590506133608161333a565b92915050565b6000806040838503121561337d5761337c6130fb565b5b600061338b85828601613351565b925050602061339c85828601613126565b9150509250929050565b6133af81613105565b82525050565b60006020820190506133ca60008301846133a6565b92915050565b6000806000606084860312156133e9576133e86130fb565b5b60006133f786828701613351565b935050602061340886828701613351565b925050604061341986828701613126565b9150509250925092565b6000819050919050565b61343681613423565b811461344157600080fd5b50565b6000813590506134538161342d565b92915050565b60006020828403121561346f5761346e6130fb565b5b600061347d84828501613444565b91505092915050565b61348f81613423565b82525050565b60006020820190506134aa6000830184613486565b92915050565b600060ff82169050919050565b6134c6816134b0565b82525050565b60006020820190506134e160008301846134bd565b92915050565b600080604083850312156134fe576134fd6130fb565b5b600061350c85828601613444565b925050602061351d85828601613351565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613569826131b7565b810181811067ffffffffffffffff8211171561358857613587613531565b5b80604052505050565b600061359b6130f1565b90506135a78282613560565b919050565b600067ffffffffffffffff8211156135c7576135c6613531565b5b6135d0826131b7565b9050602081019050919050565b82818337600083830152505050565b60006135ff6135fa846135ac565b613591565b90508281526020810184848401111561361b5761361a61352c565b5b6136268482856135dd565b509392505050565b600082601f83011261364357613642613527565b5b81356136538482602086016135ec565b91505092915050565b60008060408385031215613673576136726130fb565b5b600061368185828601613126565b925050602083013567ffffffffffffffff8111156136a2576136a1613100565b5b6136ae8582860161362e565b9150509250929050565b6000602082840312156136ce576136cd6130fb565b5b60006136dc84828501613351565b91505092915050565b600060a0820190506136fa60008301886134bd565b61370760208301876134bd565b61371460408301866134bd565b61372160608301856134bd565b61372e60808301846134bd565b9695505050505050565b613741816132a8565b811461374c57600080fd5b50565b60008135905061375e81613738565b92915050565b60008060006060848603121561377d5761377c6130fb565b5b600061378b86828701613351565b935050602061379c8682870161374f565b925050604084013567ffffffffffffffff8111156137bd576137bc613100565b5b6137c98682870161362e565b9150509250925092565b600080604083850312156137ea576137e96130fb565b5b60006137f885828601613351565b92505060206138098582860161374f565b9150509250929050565b600067ffffffffffffffff82111561382e5761382d613531565b5b613837826131b7565b9050602081019050919050565b600061385761385284613813565b613591565b9050828152602081018484840111156138735761387261352c565b5b61387e8482856135dd565b509392505050565b600082601f83011261389b5761389a613527565b5b81356138ab848260208601613844565b91505092915050565b600080600080608085870312156138ce576138cd6130fb565b5b60006138dc87828801613351565b94505060206138ed87828801613351565b93505060406138fe87828801613126565b925050606085013567ffffffffffffffff81111561391f5761391e613100565b5b61392b87828801613886565b91505092959194509250565b6000806040838503121561394e5761394d6130fb565b5b600061395c85828601613351565b925050602061396d85828601613351565b9150509250929050565b6000806040838503121561398e5761398d6130fb565b5b600061399c85828601613126565b925050602083013567ffffffffffffffff8111156139bd576139bc613100565b5b6139c985828601613886565b9150509250929050565b6000602082840312156139e9576139e86130fb565b5b600082013567ffffffffffffffff811115613a0757613a06613100565b5b613a1384828501613886565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a6357607f821691505b60208210811415613a7757613a76613a1c565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613ad9602183613173565b9150613ae482613a7d565b604082019050919050565b60006020820190508181036000830152613b0881613acc565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613b6b603e83613173565b9150613b7682613b0f565b604082019050919050565b60006020820190508181036000830152613b9a81613b5e565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613bfd602e83613173565b9150613c0882613ba1565b604082019050919050565b60006020820190508181036000830152613c2c81613bf0565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613c8f602f83613173565b9150613c9a82613c33565b604082019050919050565b60006020820190508181036000830152613cbe81613c82565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613cfb601883613173565b9150613d0682613cc5565b602082019050919050565b60006020820190508181036000830152613d2a81613cee565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613d8d602983613173565b9150613d9882613d31565b604082019050919050565b60006020820190508181036000830152613dbc81613d80565b9050919050565b7f416c726561647920526567697374657265640000000000000000000000000000600082015250565b6000613df9601283613173565b9150613e0482613dc3565b602082019050919050565b60006020820190508181036000830152613e2881613dec565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613e6982613105565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e9c57613e9b613e2f565b5b600182019050919050565b6000819050919050565b6000819050919050565b6000613ed6613ed1613ecc84613ea7565b613eb1565b6134b0565b9050919050565b613ee681613ebb565b82525050565b6000819050919050565b6000613f11613f0c613f0784613eec565b613eb1565b6134b0565b9050919050565b613f2181613ef6565b82525050565b600060a082019050613f3c6000830188613edd565b613f496020830187613f18565b613f566040830186613edd565b613f636060830185613edd565b613f706080830184613edd565b9695505050505050565b6000613f8582613105565b9150613f9083613105565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613fc957613fc8613e2f565b5b828202905092915050565b6000613fdf82613105565b9150613fea83613105565b925082821015613ffd57613ffc613e2f565b5b828203905092915050565b600061401382613105565b915061401e83613105565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561405357614052613e2f565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061409882613105565b91506140a383613105565b9250826140b3576140b261405e565b5b828204905092915050565b6140c7816134b0565b81146140d257600080fd5b50565b6000815190506140e4816140be565b92915050565b600080600080600060a08688031215614106576141056130fb565b5b6000614114888289016140d5565b9550506020614125888289016140d5565b9450506040614136888289016140d5565b9350506060614147888289016140d5565b9250506080614158888289016140d5565b9150509295509295909350565b6000614170826134b0565b915061417b836134b0565b92508260ff0382111561419157614190613e2f565b5b828201905092915050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006141f8602583613173565b91506142038261419c565b604082019050919050565b60006020820190508181036000830152614227816141eb565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061428a602483613173565b91506142958261422e565b604082019050919050565b600060208201905081810360008301526142b98161427d565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006142f6602083613173565b9150614301826142c0565b602082019050919050565b60006020820190508181036000830152614325816142e9565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614362601c83613173565b915061436d8261432c565b602082019050919050565b6000602082019050818103600083015261439181614355565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006143ce601983613173565b91506143d982614398565b602082019050919050565b600060208201905081810360008301526143fd816143c1565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614460603283613173565b915061446b82614404565b604082019050919050565b6000602082019050818103600083015261448f81614453565b9050919050565b600081905092915050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b60006144d7600983614496565b91506144e2826144a1565b600982019050919050565b60006144f882613168565b6145028185614496565b9350614512818560208601613184565b80840191505092915050565b7f2023000000000000000000000000000000000000000000000000000000000000600082015250565b6000614554600283614496565b915061455f8261451e565b600282019050919050565b7f2028000000000000000000000000000000000000000000000000000000000000600082015250565b60006145a0600283614496565b91506145ab8261456a565b600282019050919050565b7f2900000000000000000000000000000000000000000000000000000000000000600082015250565b60006145ec600183614496565b91506145f7826145b6565b600182019050919050565b600061460d826144ca565b915061461982866144ed565b915061462482614547565b915061463082856144ed565b915061463b82614593565b915061464782846144ed565b9150614652826145df565b9150819050949350505050565b7f222c2273796d626f6c223a220000000000000000000000000000000000000000600082015250565b6000614695600c83614496565b91506146a08261465f565b600c82019050919050565b7f222c226465736372697074696f6e223a225361637564612053636f72696e672260008201527f2c22696d616765223a2022646174613a696d6167652f7376672b786d6c3b626160208201527f736536342c000000000000000000000000000000000000000000000000000000604082015250565b600061472d604583614496565b9150614738826146ab565b604582019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000614779600283614496565b915061478482614743565b600282019050919050565b600061479b82866144ed565b91506147a682614688565b91506147b282856144ed565b91506147bd82614720565b91506147c982846144ed565b91506147d48261476c565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614817601d83614496565b9150614822826147e1565b601d82019050919050565b60006148388261480a565b915061484482846144ed565b915081905092915050565b7f4e6f6e2d5472616e7366657261626c6520546f6b656e00000000000000000000600082015250565b6000614885601683613173565b91506148908261484f565b602082019050919050565b600060208201905081810360008301526148b481614878565b9050919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006148f1601783614496565b91506148fc826148bb565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061493d601183614496565b915061494882614907565b601182019050919050565b600061495e826148e4565b915061496a82856144ed565b915061497582614930565b915061498182846144ed565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006149b48261498d565b6149be8185614998565b93506149ce818560208601613184565b6149d7816131b7565b840191505092915050565b60006080820190506149f76000830187613310565b614a046020830186613310565b614a1160408301856133a6565b8181036060830152614a2381846149a9565b905095945050505050565b600081519050614a3d8161324f565b92915050565b600060208284031215614a5957614a586130fb565b5b6000614a6784828501614a2e565b91505092915050565b6000614a7b82613105565b9150614a8683613105565b925082614a9657614a9561405e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614adc82856144ed565b9150614ae882846144ed565b91508190509392505050565b6000614b0082866144ed565b9150614b0c82856144ed565b9150614b1882846144ed565b9150819050949350505050565b6000614b31828b6144ed565b9150614b3d828a6144ed565b9150614b4982896144ed565b9150614b5582886144ed565b9150614b6182876144ed565b9150614b6d82866144ed565b9150614b7982856144ed565b9150614b8582846144ed565b91508190509998505050505050505050565b6000614ba282613105565b91506000821415614bb657614bb5613e2f565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614bf7602083613173565b9150614c0282614bc1565b602082019050919050565b60006020820190508181036000830152614c2681614bea565b905091905056fe3c2f746578743e3c7465787420783d223530252220793d223830252220746578742d616e63686f723d226d6964646c652220666f6e742d73697a653d223438222066696c6c3d22636f72616c223e53434f52453a203c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222077696474683d2235303022206865696768743d22353030222076696577426f783d2230203020363030203630302220666f6e742d66616d696c793d22417269616c2c2048656c7665746963612c2073616e732d7365726966223e3c7265637420783d22302220793d2230222077696474683d223130302522206865696768743d2231303025222066696c6c3d22233c2f746578743e3c7465787420783d223530252220793d223634252220746578742d616e63686f723d226d6964646c652220666f6e742d73697a653d223336222066696c6c3d224142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f222072783d22352522202f3e3c672069643d226c6f676f222066696c6c3d2223303339386230223e3c7061746820643d226d3437203235632d31382030202d3138203135202d31382031382030203233203235203332203336203332203220302033202d312033202d332030202d33202d32202d34202d32202d32306330202d3135202d34202d3237202d3139202d32376d3239203530632d362030202d362031202d3620332030203120313120333320323820333320392030203137202d37203137202d31372030202d382030202d3139202d3339202d31396d2030202d32306131322031322030203120302032342030613132203132203020312030202d323420306d2d33342033386131312031312030203120302032322030613131203131203020312030202d323220307a22202f3e3c2f673e3c672069643d22746578742220666f6e742d73697a653d223830223e3c7465787420783d223134302220793d223131302220666f6e742d7765696768743d22626f6c646572222066696c6c3d222330303061223e5341435544413c2f746578743e3c7465787420783d223530252220793d223530252220746578742d616e63686f723d226d6964646c65222066696c6c3d22a2646970667358221220b35d0ee7b6e4a0612b72242a04895fe6e9bbb5ea3cdd6a4527dddb05bd862aad64736f6c634300080b0033

Deployed ByteCode

0x608060405234801561001057600080fd5b506004361061021b5760003560e01c806391d1485411610125578063b88d4fde116100ad578063d53913931161007c578063d539139314610668578063d547741f14610686578063e985e9c5146106a2578063ef243480146106d2578063fccdaa64146106ee5761021b565b8063b88d4fde146105ce578063bf0446ad146105ea578063c87b56dd14610608578063d1730f1f146106385761021b565b8063a217fddf116100f4578063a217fddf1461053a578063a22cb46514610558578063a544cf3b14610574578063b273535b14610592578063b5e4a227146105b05761021b565b806391d148541461049c57806395d89b41146104cc578063969b1cdb146104ea578063988489b81461051e5761021b565b80632f2ff15d116101a857806355e54f361161017757806355e54f36146103e25780636352211e1461040057806370a082311461043057806375b238fc146104605780637f76b2821461047e5761021b565b80632f2ff15d1461037257806336568abe1461038e57806342842e0e146103aa57806353e76f2c146103c65761021b565b8063095ea7b3116101ef578063095ea7b3146102ce57806318160ddd146102ea57806323b872dd14610308578063248a9ca3146103245780632ec19017146103545761021b565b8062ad800c1461022057806301ffc9a71461025057806306fdde0314610280578063081812fc1461029e575b600080fd5b61023a6004803603810190610235919061313b565b61070a565b6040516102479190613201565b60405180910390f35b61026a6004803603810190610265919061327b565b6107aa565b60405161027791906132c3565b60405180910390f35b6102886107bc565b6040516102959190613201565b60405180910390f35b6102b860048036038101906102b3919061313b565b61084e565b6040516102c5919061331f565b60405180910390f35b6102e860048036038101906102e39190613366565b610894565b005b6102f26109ac565b6040516102ff91906133b5565b60405180910390f35b610322600480360381019061031d91906133d0565b6109b2565b005b61033e60048036038101906103399190613459565b610a12565b60405161034b9190613495565b60405180910390f35b61035c610a32565b60405161036991906134cc565b60405180910390f35b61038c600480360381019061038791906134e7565b610a45565b005b6103a860048036038101906103a391906134e7565b610a66565b005b6103c460048036038101906103bf91906133d0565b610ae9565b005b6103e060048036038101906103db919061365c565b610b09565b005b6103ea610b69565b6040516103f79190613495565b60405180910390f35b61041a6004803603810190610415919061313b565b610b8d565b604051610427919061331f565b60405180910390f35b61044a600480360381019061044591906136b8565b610c3f565b60405161045791906133b5565b60405180910390f35b610468610cf7565b6040516104759190613495565b60405180910390f35b610486610d1b565b60405161049391906134cc565b60405180910390f35b6104b660048036038101906104b191906134e7565b610d2e565b6040516104c391906132c3565b60405180910390f35b6104d4610d99565b6040516104e19190613201565b60405180910390f35b61050460048036038101906104ff919061313b565b610e2b565b6040516105159594939291906136e5565b60405180910390f35b61053860048036038101906105339190613764565b610ea2565b005b610542611135565b60405161054f9190613495565b60405180910390f35b610572600480360381019061056d91906137d3565b61113c565b005b61057c611152565b60405161058991906134cc565b60405180910390f35b61059a611165565b6040516105a791906134cc565b60405180910390f35b6105b8611178565b6040516105c59190613495565b60405180910390f35b6105e860048036038101906105e391906138b4565b61119c565b005b6105f26111fe565b6040516105ff91906134cc565b60405180910390f35b610622600480360381019061061d919061313b565b611211565b60405161062f9190613201565b60405180910390f35b610652600480360381019061064d919061313b565b611316565b60405161065f91906133b5565b60405180910390f35b610670611480565b60405161067d9190613495565b60405180910390f35b6106a0600480360381019061069b91906134e7565b6114a4565b005b6106bc60048036038101906106b79190613937565b6114c5565b6040516106c991906132c3565b60405180910390f35b6106ec60048036038101906106e79190613977565b611559565b005b610708600480360381019061070391906139d3565b611793565b005b600a602052806000526040600020600091509050805461072990613a4b565b80601f016020809104026020016040519081016040528092919081815260200182805461075590613a4b565b80156107a25780601f10610777576101008083540402835291602001916107a2565b820191906000526020600020905b81548152906001019060200180831161078557829003601f168201915b505050505081565b60006107b58261191b565b9050919050565b6060600080546107cb90613a4b565b80601f01602080910402602001604051908101604052809291908181526020018280546107f790613a4b565b80156108445780601f1061081957610100808354040283529160200191610844565b820191906000526020600020905b81548152906001019060200180831161082757829003601f168201915b5050505050905090565b600061085982611995565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061089f82610b8d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610910576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090790613aef565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661092f6119e0565b73ffffffffffffffffffffffffffffffffffffffff16148061095e575061095d816109586119e0565b6114c5565b5b61099d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099490613b81565b60405180910390fd5b6109a783836119e8565b505050565b60075481565b6109c36109bd6119e0565b82611aa1565b610a02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f990613c13565b60405180910390fd5b610a0d838383611b36565b505050565b600060066000838152602001908152602001600020600101549050919050565b600860049054906101000a900460ff1681565b610a4e82610a12565b610a5781611d9d565b610a618383611db1565b505050565b610a6e6119e0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad290613ca5565b60405180910390fd5b610ae58282611e92565b5050565b610b048383836040518060200160405280600081525061119c565b505050565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9610b3381611d9d565b610b3c83611995565b81600a60008581526020019081526020016000209080519060200190610b63929190613010565b50505050565b7fd65b6e327dd83cd6cd304493e69128b248953070f6fb45a75b6d1cfb13eaaf2481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2d90613d11565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca790613da3565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec4281565b600860009054906101000a900460ff1681565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054610da890613a4b565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd490613a4b565b8015610e215780601f10610df657610100808354040283529160200191610e21565b820191906000526020600020905b815481529060010190602001808311610e0457829003601f168201915b5050505050905090565b60096020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060000160029054906101000a900460ff16908060000160039054906101000a900460ff16908060000160049054906101000a900460ff16905085565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9610ecc81611d9d565b6000610ed785610c3f565b14610f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0e90613e0f565b60405180910390fd5b6000600760008154610f2890613e5e565b9190508190559050610f3a8582611f74565b8315610f9f57610f6a7fd65b6e327dd83cd6cd304493e69128b248953070f6fb45a75b6d1cfb13eaaf2486611db1565b60646009600083815260200190815260200160002060000160016101000a81548160ff021916908360ff1602179055506110ce565b610fc97f498bf36e2fbef2653329df98fa621b014358e41daebc97009253d2364a1a70bd86611db1565b60646009600083815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555060646009600083815260200190815260200160002060000160026101000a81548160ff021916908360ff16021790555060646009600083815260200190815260200160002060000160036101000a81548160ff021916908360ff16021790555060646009600083815260200190815260200160002060000160046101000a81548160ff021916908360ff160217905550807fb396665453a2ebbab31d5f8c27d55053b108e7e9a5ae590567270143f525f6196064600060648060646040516110c5959493929190613f27565b60405180910390a25b82600a600083815260200190815260200160002090805190602001906110f5929190613010565b50807f70a8f52a5cc7cf2d25e71645299888cb2ed1590225e7fca72f35ac61cf61d324846040516111269190613201565b60405180910390a25050505050565b6000801b81565b61114e6111476119e0565b838361214e565b5050565b600860029054906101000a900460ff1681565b600860039054906101000a900460ff1681565b7f498bf36e2fbef2653329df98fa621b014358e41daebc97009253d2364a1a70bd81565b6111ad6111a76119e0565b83611aa1565b6111ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e390613c13565b60405180910390fd5b6111f8848484846122bb565b50505050565b600860019054906101000a900460ff1681565b6060600061121e83611316565b905060006112547fd65b6e327dd83cd6cd304493e69128b248953070f6fb45a75b6d1cfb13eaaf2461124f86610b8d565b610d2e565b905061130d818386600a6000898152602001908152602001600020805461127a90613a4b565b80601f01602080910402602001604051908101604052809291908181526020018280546112a690613a4b565b80156112f35780601f106112c8576101008083540402835291602001916112f3565b820191906000526020600020905b8154815290600101906020018083116112d657829003601f168201915b50505050506113006107bc565b611308610d99565b612317565b92505050919050565b600061132182611995565b600060096000848152602001908152602001600020905060006064600860049054906101000a900460ff1660ff168360000160049054906101000a900460ff1660ff1661136e9190613f7a565b600860039054906101000a900460ff1660ff168460000160039054906101000a900460ff1660ff166113a09190613f7a565b600860029054906101000a900460ff1660ff168560000160029054906101000a900460ff1660ff166113d29190613f7a565b600860019054906101000a900460ff1660ff168660000160019054906101000a900460ff1660ff1660646114069190613fd4565b6114109190613f7a565b600860009054906101000a900460ff1660ff168760000160009054906101000a900460ff1660ff166114429190613f7a565b61144c9190614008565b6114569190614008565b6114609190614008565b61146a9190614008565b611474919061408d565b90508092505050919050565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc981565b6114ad82610a12565b6114b681611d9d565b6114c08383611e92565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec4261158381611d9d565b61158c83611995565b611594613096565b828060200190518101906115a891906140ea565b85600001866020018760400188606001896080018560ff1660ff168152508560ff1660ff168152508560ff1660ff168152508560ff1660ff168152508560ff1660ff1681525050505050506064816000015160ff16118061161057506064816020015160ff16115b8061162257506064816040015160ff16115b8061163457506064816060015160ff16115b8061164657506064816080015160ff16115b1561167d576040517fc78758c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806009600086815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff16021790555060808201518160000160046101000a81548160ff021916908360ff160217905550905050837fb396665453a2ebbab31d5f8c27d55053b108e7e9a5ae590567270143f525f619826000015183602001518460400151856060015186608001516040516117859594939291906136e5565b60405180910390a250505050565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec426117bd81611d9d565b6000806000806000868060200190518101906117d991906140ea565b94509450945094509450606481838587896117f49190614165565b6117fe9190614165565b6118089190614165565b6118129190614165565b60ff161461184c576040517fc78758c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84600860006101000a81548160ff021916908360ff16021790555083600860016101000a81548160ff021916908360ff16021790555082600860026101000a81548160ff021916908360ff16021790555081600860036101000a81548160ff021916908360ff16021790555080600860046101000a81548160ff021916908360ff1602179055507f61b5a7230e6ad7228528de923cff523fb0666f143f6788173205439800070036858585858560405161190a9594939291906136e5565b60405180910390a150505050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061198e575061198d826123b9565b5b9050919050565b61199e8161249b565b6119dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d490613d11565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a5b83610b8d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611aad83610b8d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611aef5750611aee81856114c5565b5b80611b2d57508373ffffffffffffffffffffffffffffffffffffffff16611b158461084e565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611b5682610b8d565b73ffffffffffffffffffffffffffffffffffffffff1614611bac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba39061420e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c13906142a0565b60405180910390fd5b611c27838383612507565b611c326000826119e8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c829190613fd4565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cd99190614008565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d988383836125bd565b505050565b611dae81611da96119e0565b6125c2565b50565b611dbb8282610d2e565b611e8e5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e336119e0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611e9c8282610d2e565b15611f705760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611f156119e0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fe4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdb9061430c565b60405180910390fd5b611fed8161249b565b1561202d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202490614378565b60405180910390fd5b61203960008383612507565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120899190614008565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461214a600083836125bd565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b4906143e4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122ae91906132c3565b60405180910390a3505050565b6122c6848484611b36565b6122d28484848461265f565b612311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230890614476565b60405180910390fd5b50505050565b6060600083612325876127e7565b8660405160200161233893929190614602565b60405160208183030381529060405290506000818461236061235b8c8c8b612948565b612bde565b6040516020016123729392919061478f565b604051602081830303815290604052905061238c81612bde565b60405160200161239c919061482d565b604051602081830303815290604052925050509695505050505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061248457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612494575061249382612d42565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061256e5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b6125ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a49061489b565b60405180910390fd5b6125b8838383612dac565b505050565b505050565b6125cc8282610d2e565b61265b576125f18173ffffffffffffffffffffffffffffffffffffffff166014612db1565b6125ff8360001c6020612db1565b604051602001612610929190614953565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126529190613201565b60405180910390fd5b5050565b60006126808473ffffffffffffffffffffffffffffffffffffffff16612fed565b156127da578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126a96119e0565b8786866040518563ffffffff1660e01b81526004016126cb94939291906149e2565b6020604051808303816000875af192505050801561270757506040513d601f19601f820116820180604052508101906127049190614a43565b60015b61278a573d8060008114612737576040519150601f19603f3d011682016040523d82523d6000602084013e61273c565b606091505b50600081511415612782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277990614476565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127df565b600190505b949350505050565b6060600082141561282f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612943565b600082905060005b6000821461286157808061284a90613e5e565b915050600a8261285a919061408d565b9150612837565b60008167ffffffffffffffff81111561287d5761287c613531565b5b6040519080825280601f01601f1916602001820160405280156128af5781602001600182028036833780820191505090505b5090505b6000851461293c576001826128c89190613fd4565b9150600a856128d79190614a70565b60306128e39190614008565b60f81b8183815181106128f9576128f8614aa1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612935919061408d565b94506128b3565b8093505050505b919050565b6060806060806060808815612a04576040518060400160405280600681526020017f623965376265000000000000000000000000000000000000000000000000000081525093506040518060400160405280600781526020017f677265656e223e0000000000000000000000000000000000000000000000000081525092506040518060400160405280600881526020017f454e48414e4345520000000000000000000000000000000000000000000000008152509150612af1565b6040518060400160405280600681526020017f666665616564000000000000000000000000000000000000000000000000000081525093506040518060400160405280600a81526020017f6465657070696e6b223e0000000000000000000000000000000000000000000081525092506040518060400160405280600381526020017f574f4200000000000000000000000000000000000000000000000000000000008152509150604051806080016040528060558152602001614c2e60559139612ace896127e7565b604051602001612adf929190614ad0565b60405160208183030381529060405290505b600087511115612b3a57604051806080016040528060478152602001614d39604791398388604051602001612b2893929190614af4565b60405160208183030381529060405294505b6040518060e0016040528060b68152602001614c8360b69139846040518061020001604052806101c98152602001614dc06101c99139858589866040518060400160405280601181526020017f3c2f746578743e3c2f673e3c2f7376673e000000000000000000000000000000815250604051602001612bc1989796959493929190614b25565b604051602081830303815290604052955050505050509392505050565b6060600082511415612c0157604051806020016040528060008152509050612d3d565b6000604051806060016040528060408152602001614d806040913990506000600360028551612c309190614008565b612c3a919061408d565b6004612c469190613f7a565b67ffffffffffffffff811115612c5f57612c5e613531565b5b6040519080825280601f01601f191660200182016040528015612c915781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612cfd576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612ca2565b5050600386510660018114612d195760028114612d2c57612d34565b603d6001830353603d6002830353612d34565b603d60018303535b50505080925050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b606060006002836002612dc49190613f7a565b612dce9190614008565b67ffffffffffffffff811115612de757612de6613531565b5b6040519080825280601f01601f191660200182016040528015612e195781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612e5157612e50614aa1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612eb557612eb4614aa1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612ef59190613f7a565b612eff9190614008565b90505b6001811115612f9f577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612f4157612f40614aa1565b5b1a60f81b828281518110612f5857612f57614aa1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612f9890614b97565b9050612f02565b5060008414612fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fda90614c0d565b60405180910390fd5b8091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461301c90613a4b565b90600052602060002090601f01602090048101928261303e5760008555613085565b82601f1061305757805160ff1916838001178555613085565b82800160010185558215613085579182015b82811115613084578251825591602001919060010190613069565b5b50905061309291906130d4565b5090565b6040518060a00160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff1681525090565b5b808211156130ed5760008160009055506001016130d5565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61311881613105565b811461312357600080fd5b50565b6000813590506131358161310f565b92915050565b600060208284031215613151576131506130fb565b5b600061315f84828501613126565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131a2578082015181840152602081019050613187565b838111156131b1576000848401525b50505050565b6000601f19601f8301169050919050565b60006131d382613168565b6131dd8185613173565b93506131ed818560208601613184565b6131f6816131b7565b840191505092915050565b6000602082019050818103600083015261321b81846131c8565b905092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61325881613223565b811461326357600080fd5b50565b6000813590506132758161324f565b92915050565b600060208284031215613291576132906130fb565b5b600061329f84828501613266565b91505092915050565b60008115159050919050565b6132bd816132a8565b82525050565b60006020820190506132d860008301846132b4565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613309826132de565b9050919050565b613319816132fe565b82525050565b60006020820190506133346000830184613310565b92915050565b613343816132fe565b811461334e57600080fd5b50565b6000813590506133608161333a565b92915050565b6000806040838503121561337d5761337c6130fb565b5b600061338b85828601613351565b925050602061339c85828601613126565b9150509250929050565b6133af81613105565b82525050565b60006020820190506133ca60008301846133a6565b92915050565b6000806000606084860312156133e9576133e86130fb565b5b60006133f786828701613351565b935050602061340886828701613351565b925050604061341986828701613126565b9150509250925092565b6000819050919050565b61343681613423565b811461344157600080fd5b50565b6000813590506134538161342d565b92915050565b60006020828403121561346f5761346e6130fb565b5b600061347d84828501613444565b91505092915050565b61348f81613423565b82525050565b60006020820190506134aa6000830184613486565b92915050565b600060ff82169050919050565b6134c6816134b0565b82525050565b60006020820190506134e160008301846134bd565b92915050565b600080604083850312156134fe576134fd6130fb565b5b600061350c85828601613444565b925050602061351d85828601613351565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613569826131b7565b810181811067ffffffffffffffff8211171561358857613587613531565b5b80604052505050565b600061359b6130f1565b90506135a78282613560565b919050565b600067ffffffffffffffff8211156135c7576135c6613531565b5b6135d0826131b7565b9050602081019050919050565b82818337600083830152505050565b60006135ff6135fa846135ac565b613591565b90508281526020810184848401111561361b5761361a61352c565b5b6136268482856135dd565b509392505050565b600082601f83011261364357613642613527565b5b81356136538482602086016135ec565b91505092915050565b60008060408385031215613673576136726130fb565b5b600061368185828601613126565b925050602083013567ffffffffffffffff8111156136a2576136a1613100565b5b6136ae8582860161362e565b9150509250929050565b6000602082840312156136ce576136cd6130fb565b5b60006136dc84828501613351565b91505092915050565b600060a0820190506136fa60008301886134bd565b61370760208301876134bd565b61371460408301866134bd565b61372160608301856134bd565b61372e60808301846134bd565b9695505050505050565b613741816132a8565b811461374c57600080fd5b50565b60008135905061375e81613738565b92915050565b60008060006060848603121561377d5761377c6130fb565b5b600061378b86828701613351565b935050602061379c8682870161374f565b925050604084013567ffffffffffffffff8111156137bd576137bc613100565b5b6137c98682870161362e565b9150509250925092565b600080604083850312156137ea576137e96130fb565b5b60006137f885828601613351565b92505060206138098582860161374f565b9150509250929050565b600067ffffffffffffffff82111561382e5761382d613531565b5b613837826131b7565b9050602081019050919050565b600061385761385284613813565b613591565b9050828152602081018484840111156138735761387261352c565b5b61387e8482856135dd565b509392505050565b600082601f83011261389b5761389a613527565b5b81356138ab848260208601613844565b91505092915050565b600080600080608085870312156138ce576138cd6130fb565b5b60006138dc87828801613351565b94505060206138ed87828801613351565b93505060406138fe87828801613126565b925050606085013567ffffffffffffffff81111561391f5761391e613100565b5b61392b87828801613886565b91505092959194509250565b6000806040838503121561394e5761394d6130fb565b5b600061395c85828601613351565b925050602061396d85828601613351565b9150509250929050565b6000806040838503121561398e5761398d6130fb565b5b600061399c85828601613126565b925050602083013567ffffffffffffffff8111156139bd576139bc613100565b5b6139c985828601613886565b9150509250929050565b6000602082840312156139e9576139e86130fb565b5b600082013567ffffffffffffffff811115613a0757613a06613100565b5b613a1384828501613886565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a6357607f821691505b60208210811415613a7757613a76613a1c565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613ad9602183613173565b9150613ae482613a7d565b604082019050919050565b60006020820190508181036000830152613b0881613acc565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613b6b603e83613173565b9150613b7682613b0f565b604082019050919050565b60006020820190508181036000830152613b9a81613b5e565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613bfd602e83613173565b9150613c0882613ba1565b604082019050919050565b60006020820190508181036000830152613c2c81613bf0565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613c8f602f83613173565b9150613c9a82613c33565b604082019050919050565b60006020820190508181036000830152613cbe81613c82565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613cfb601883613173565b9150613d0682613cc5565b602082019050919050565b60006020820190508181036000830152613d2a81613cee565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613d8d602983613173565b9150613d9882613d31565b604082019050919050565b60006020820190508181036000830152613dbc81613d80565b9050919050565b7f416c726561647920526567697374657265640000000000000000000000000000600082015250565b6000613df9601283613173565b9150613e0482613dc3565b602082019050919050565b60006020820190508181036000830152613e2881613dec565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613e6982613105565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e9c57613e9b613e2f565b5b600182019050919050565b6000819050919050565b6000819050919050565b6000613ed6613ed1613ecc84613ea7565b613eb1565b6134b0565b9050919050565b613ee681613ebb565b82525050565b6000819050919050565b6000613f11613f0c613f0784613eec565b613eb1565b6134b0565b9050919050565b613f2181613ef6565b82525050565b600060a082019050613f3c6000830188613edd565b613f496020830187613f18565b613f566040830186613edd565b613f636060830185613edd565b613f706080830184613edd565b9695505050505050565b6000613f8582613105565b9150613f9083613105565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613fc957613fc8613e2f565b5b828202905092915050565b6000613fdf82613105565b9150613fea83613105565b925082821015613ffd57613ffc613e2f565b5b828203905092915050565b600061401382613105565b915061401e83613105565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561405357614052613e2f565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061409882613105565b91506140a383613105565b9250826140b3576140b261405e565b5b828204905092915050565b6140c7816134b0565b81146140d257600080fd5b50565b6000815190506140e4816140be565b92915050565b600080600080600060a08688031215614106576141056130fb565b5b6000614114888289016140d5565b9550506020614125888289016140d5565b9450506040614136888289016140d5565b9350506060614147888289016140d5565b9250506080614158888289016140d5565b9150509295509295909350565b6000614170826134b0565b915061417b836134b0565b92508260ff0382111561419157614190613e2f565b5b828201905092915050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006141f8602583613173565b91506142038261419c565b604082019050919050565b60006020820190508181036000830152614227816141eb565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061428a602483613173565b91506142958261422e565b604082019050919050565b600060208201905081810360008301526142b98161427d565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006142f6602083613173565b9150614301826142c0565b602082019050919050565b60006020820190508181036000830152614325816142e9565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614362601c83613173565b915061436d8261432c565b602082019050919050565b6000602082019050818103600083015261439181614355565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006143ce601983613173565b91506143d982614398565b602082019050919050565b600060208201905081810360008301526143fd816143c1565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614460603283613173565b915061446b82614404565b604082019050919050565b6000602082019050818103600083015261448f81614453565b9050919050565b600081905092915050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b60006144d7600983614496565b91506144e2826144a1565b600982019050919050565b60006144f882613168565b6145028185614496565b9350614512818560208601613184565b80840191505092915050565b7f2023000000000000000000000000000000000000000000000000000000000000600082015250565b6000614554600283614496565b915061455f8261451e565b600282019050919050565b7f2028000000000000000000000000000000000000000000000000000000000000600082015250565b60006145a0600283614496565b91506145ab8261456a565b600282019050919050565b7f2900000000000000000000000000000000000000000000000000000000000000600082015250565b60006145ec600183614496565b91506145f7826145b6565b600182019050919050565b600061460d826144ca565b915061461982866144ed565b915061462482614547565b915061463082856144ed565b915061463b82614593565b915061464782846144ed565b9150614652826145df565b9150819050949350505050565b7f222c2273796d626f6c223a220000000000000000000000000000000000000000600082015250565b6000614695600c83614496565b91506146a08261465f565b600c82019050919050565b7f222c226465736372697074696f6e223a225361637564612053636f72696e672260008201527f2c22696d616765223a2022646174613a696d6167652f7376672b786d6c3b626160208201527f736536342c000000000000000000000000000000000000000000000000000000604082015250565b600061472d604583614496565b9150614738826146ab565b604582019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000614779600283614496565b915061478482614743565b600282019050919050565b600061479b82866144ed565b91506147a682614688565b91506147b282856144ed565b91506147bd82614720565b91506147c982846144ed565b91506147d48261476c565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614817601d83614496565b9150614822826147e1565b601d82019050919050565b60006148388261480a565b915061484482846144ed565b915081905092915050565b7f4e6f6e2d5472616e7366657261626c6520546f6b656e00000000000000000000600082015250565b6000614885601683613173565b91506148908261484f565b602082019050919050565b600060208201905081810360008301526148b481614878565b9050919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006148f1601783614496565b91506148fc826148bb565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061493d601183614496565b915061494882614907565b601182019050919050565b600061495e826148e4565b915061496a82856144ed565b915061497582614930565b915061498182846144ed565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006149b48261498d565b6149be8185614998565b93506149ce818560208601613184565b6149d7816131b7565b840191505092915050565b60006080820190506149f76000830187613310565b614a046020830186613310565b614a1160408301856133a6565b8181036060830152614a2381846149a9565b905095945050505050565b600081519050614a3d8161324f565b92915050565b600060208284031215614a5957614a586130fb565b5b6000614a6784828501614a2e565b91505092915050565b6000614a7b82613105565b9150614a8683613105565b925082614a9657614a9561405e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614adc82856144ed565b9150614ae882846144ed565b91508190509392505050565b6000614b0082866144ed565b9150614b0c82856144ed565b9150614b1882846144ed565b9150819050949350505050565b6000614b31828b6144ed565b9150614b3d828a6144ed565b9150614b4982896144ed565b9150614b5582886144ed565b9150614b6182876144ed565b9150614b6d82866144ed565b9150614b7982856144ed565b9150614b8582846144ed565b91508190509998505050505050505050565b6000614ba282613105565b91506000821415614bb657614bb5613e2f565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614bf7602083613173565b9150614c0282614bc1565b602082019050919050565b60006020820190508181036000830152614c2681614bea565b905091905056fe3c2f746578743e3c7465787420783d223530252220793d223830252220746578742d616e63686f723d226d6964646c652220666f6e742d73697a653d223438222066696c6c3d22636f72616c223e53434f52453a203c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222077696474683d2235303022206865696768743d22353030222076696577426f783d2230203020363030203630302220666f6e742d66616d696c793d22417269616c2c2048656c7665746963612c2073616e732d7365726966223e3c7265637420783d22302220793d2230222077696474683d223130302522206865696768743d2231303025222066696c6c3d22233c2f746578743e3c7465787420783d223530252220793d223634252220746578742d616e63686f723d226d6964646c652220666f6e742d73697a653d223336222066696c6c3d224142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f222072783d22352522202f3e3c672069643d226c6f676f222066696c6c3d2223303339386230223e3c7061746820643d226d3437203235632d31382030202d3138203135202d31382031382030203233203235203332203336203332203220302033202d312033202d332030202d33202d32202d34202d32202d32306330202d3135202d34202d3237202d3139202d32376d3239203530632d362030202d362031202d3620332030203120313120333320323820333320392030203137202d37203137202d31372030202d382030202d3139202d3339202d31396d2030202d32306131322031322030203120302032342030613132203132203020312030202d323420306d2d33342033386131312031312030203120302032322030613131203131203020312030202d323220307a22202f3e3c2f673e3c672069643d22746578742220666f6e742d73697a653d223830223e3c7465787420783d223134302220793d223131302220666f6e742d7765696768743d22626f6c646572222066696c6c3d222330303061223e5341435544413c2f746578743e3c7465787420783d223530252220793d223530252220746578742d616e63686f723d226d6964646c65222066696c6c3d22a2646970667358221220b35d0ee7b6e4a0612b72242a04895fe6e9bbb5ea3cdd6a4527dddb05bd862aad64736f6c634300080b0033