Contract 0x4a9d857b3f9f38c9c286f95301940c6683d51ab4 1

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xb486b6185a09dc07799735bb13315666d53c34f9908b3f3461e3703d9c6bb3d0Set Approval For...514478212022-11-25 23:37:516 days 26 mins ago0x7749876413881f2abf4a196a01bf5c0e49958bae IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.004647481825
0xef11282a12032e560ecc13d502203d38c1c4f4161dbf80ed84c361953b415857Transfer From513964542022-11-24 16:11:077 days 7 hrs ago0x5ccf599b7d43bc3f576ea01ec0aa307ecbc94102 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.012223651964
0x262220425479e3ba81344e2444f1166574d44e6b6696a01b47c2da5d3e8d52ffSet Approval For...512897822022-11-22 12:02:129 days 12 hrs ago0x8775baa1ab4d8b951d7802d0f30a00add5e16e54 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.011511061422
0xfb4dd2ccdf2c095cedee712ecc869794834f59301fe71516879a6f254a57d82eSet Approval For...512137432022-11-21 1:06:4310 days 22 hrs ago0x155b6485305ccab44ef7da58ac886c62ce105cf9 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.001731168214
0x75f7d4ece1132208d5c1879010b4eaa4eec109246379ac0ef0febd04c388113bSet Approval For...511504222022-11-19 21:35:5212 days 2 hrs ago0x580b92695c3e0f84b9f15f8337f0c3a8fc067762 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.01289833235
0x193c10e28ee7e380c4bfa23c1a9f15efb4edec90d820281524bd570996643388Transfer From511125872022-11-19 6:01:2512 days 18 hrs ago0x4c41a7bcbe1dc7ca32016d95c2de5cfb95eaad27 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.004051658776
0x896824e2c332516467c12b103976a33cc0ddc92cca16687fd84827adf106ecc8Transfer From504038592022-11-02 21:35:0029 days 2 hrs ago0x0c4cad0a420520074c91983e315faba77ecbe493 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.010870792334
0xcb00884bdc8e4a1b1f2bd7d8d3610e9080f462f26f54191c6ff2e7625af6f3ffTransfer From495804652022-10-20 2:40:3542 days 21 hrs ago0xdec41fca69d372f85ae1846b6ee347bee2529757 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.000076385341
0x0dc0fc6531997dc3ff4bf15e3bdbc3a5f660e987f2002ff7d1c773f0c4f11c80Set Approval For...494938842022-10-19 0:50:4043 days 23 hrs ago0x5ce90c58e06921d1609f72b2d2283225e0e66508 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.000086353855
0xed3606cecf63a6b1331ef2f104c511d1065931f418fcbb93202375c1ec00c4faSet Approval For...484864572022-10-05 16:31:4157 days 7 hrs ago0x7d83ce58640e0c0e5613066c27425b32b6bc99e1 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.00005637224
0x81c93e18802fdcd6946dbf2930db39658a18938391d855d609a8e8597e6d862aSet Approval For...484441992022-10-05 3:34:3557 days 20 hrs ago0xb0b6e08f4a92ae03a87eb657fa2353b39c355a54 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.000051550276
0xe3bc33f85495fb8423b42f5eaf77bd4eba8d4f7f781c888b7bfff1469741133bTransfer From483931422022-10-04 11:34:5058 days 12 hrs ago0x27e9531d81e0d89ce04394e233d406256d66d36a IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.0001577125
0x27d7e58d3ac70e5c0820e7e52f80ae9c4039f65226ba3082068f6797dbbfe1a5Set Approval For...482795142022-10-03 0:17:1959 days 23 hrs ago0xafb7650afbea60dc21849df752505871e1e8499d IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.00327474
0x63e6cb94345ccf9d43216c3a729a1bd55ad7816b19864b79214ec2da14715cc3Set Approval For...482386032022-10-02 11:21:2260 days 12 hrs ago0xf2e4a05cbae83fb3173becee7a31686e8a6ae3ce IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.00093564
0x0a53f6265d80422983a649c89e4d20da046c061ab4704e8c1b35843bc12af836Set Approval For...481691512022-10-01 13:22:4961 days 10 hrs ago0x0282e055d3b2f7c0ad656952ac1bb989fb6d0086 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.000048007033
0x0e203aa34a4e48fb67e12d9c98bcf80191b3251e1a16ce416b8e120ae86ef443Set Approval For...481570742022-10-01 9:41:4361 days 14 hrs ago0xb8cd4834597dfcdcd7241487ccc03a5b573f1145 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.053447025943
0x7ae13b7b41edb24a792fc7718e280909bbb00bfbba3004e3229ff41484005680Set Approval For...481366842022-10-01 3:39:3461 days 20 hrs ago0x948e422da3bd457289c526c8be6319949411bd5a IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.000116955
0xd61884e9da40f0d146e85717dd5f8ec7dddad6e752dec579cf54f1bafb67f463Set Approval For...480633302022-09-30 4:27:4962 days 19 hrs ago0x7b154bc3de58e14f667f3ace4ddd5f466e7f62a1 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.000053183178
0x981771821862f5918aa0d4c60154820c31b62d0a7946384110047f16b2db85b5Set Approval For...480557892022-09-30 2:10:4762 days 21 hrs ago0xe8a30a34ba93de71fcf77e2c4bb228e982976f42 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.011742282
0x0592d014bf2b3f3dcb36aea7aa1d06df65de97a06c68c200005064722869f8f1Set Approval For...480290492022-09-29 18:01:2463 days 6 hrs ago0xb226c3598b5ca028b12b3eec1aea5fec142d9ab5 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.000419219515
0xb414919387aab6f0ec6e77e6dd83a695791151857a2ec4bf08adef9b0b8f5eb4Set Approval For...479827652022-09-29 2:47:4863 days 21 hrs ago0x982c62810e69621218f1db14b6661d623e542aa0 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.000050232733
0x808d0a06d8ddebfa87256c432a4cfbebcb54524a456f97bd9c7ded0d5fd8213cSet Approval For...479800682022-09-29 1:59:2163 days 22 hrs ago0x4c41a7bcbe1dc7ca32016d95c2de5cfb95eaad27 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.000053871489
0x9c395db6f0f3a347c336313ebb7f874dd95bf103292069eb487825ff56441ac5Set Approval For...479545152022-09-28 17:54:5964 days 6 hrs ago0x40bfabf5a1241108c75fe56013f58c8112928094 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.001143698757
0x9032770d1ed6c2e07e70ca2c271d63961b5f0b1f719fbb9bf72a359a473ab39bSet Approval For...479003182022-09-28 0:09:5364 days 23 hrs ago0x56fed5bb34d8ecae854a58502befe1e1fed679c0 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.000140346
0x46bccdefa1cdad2907b05ba7bd73bf729869d257cd30dca6b9b911c3d1ddffa3Set Approval For...478718812022-09-27 14:54:1065 days 9 hrs ago0x7d828b25640079d2461fde495f4b129c86abce12 IN  0x4a9d857b3f9f38c9c286f95301940c6683d51ab40 FTM0.000048916569
[ Download CSV Export 
Latest 4 internal transactions
Parent Txn Hash Block From To Value
0x3e11ae026f78ce56b56461454abba3bcc188314229ed269cb4cfe2baaf299189477314852022-09-25 18:15:3867 days 5 hrs ago 0x4a9d857b3f9f38c9c286f95301940c6683d51ab40x5ccf599b7d43bc3f576ea01ec0aa307ecbc9410210,600 FTM
0x9f98fbf0be0745aa5b76bb31a231e25ba38a7b476d898b70121aecc1cddd6e08474312252022-09-21 19:42:4771 days 4 hrs ago 0x4a9d857b3f9f38c9c286f95301940c6683d51ab40x5ccf599b7d43bc3f576ea01ec0aa307ecbc941021,230 FTM
0x92404042591ec83dd84fc2c1ee5da56126371fe8fbd1bf476b268532d7d7af2e474098232022-09-21 12:24:5671 days 11 hrs ago 0x4a9d857b3f9f38c9c286f95301940c6683d51ab40x5ccf599b7d43bc3f576ea01ec0aa307ecbc941029,270 FTM
0xf909d95e3ba2f3bd26ecef91a105b296ef9a1e383c9ac3e1ba40795703b1beac471632362022-09-18 3:10:4074 days 20 hrs ago 0x4ce69fd760ad0c07490178f9a47863dc0358cccd  Contract Creation0 FTM
[ Download CSV Export 
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
AmericanGothic

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion, Apache-2.0 license
File 1 of 38 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 2 of 38 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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: balance query for the zero address");
        return _balances[owner];
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _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: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {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 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 {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 3 of 38 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

File 4 of 38 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 5 of 38 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../../utils/Context.sol";

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 6 of 38 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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);
}

File 7 of 38 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 38 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 9 of 38 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 10 of 38 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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;
    }
}

File 11 of 38 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 12 of 38 : IDeveloper.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#* 
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=: 
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%* 
 *
 * @title: IDeveloper.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Interface for onlyDev() role
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface IDeveloper is IERC165 {


  // @dev: Classic "EIP-173" but for onlyDev()
  // @return: Developer of contract
  function developer()
    external
    view
    returns (address);

  // @dev: This renounces your role as onlyDev()
  function renounceDeveloper()
    external;

  // @dev: Classic "EIP-173" but for onlyDev()
  // @param newDeveloper: addres of new pending Developer role
  function transferDeveloper(
    address newDeveloper
  ) external;
}

File 13 of 38 : IDeveloperV2.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: IDeveloperV2.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Interface V2 for onlyDev() role, suggested by Auditors...
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "./IDeveloper.sol";

interface IDeveloperV2 is IDeveloper {

  // @dev: This accepts the push-pull method of onlyDev()
  function acceptDeveloper()
    external;

  // @dev: This declines the push-pull method of onlyDev()
  function declineDeveloper()
    external;

  // @dev: This starts the push-pull method of onlyDev()
  // @param newDeveloper: addres of new pending developer role
  function pushDeveloper(
    address newDeveloper
  ) external;
}

File 14 of 38 : IOwner.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#* 
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=: 
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%* 
 *
 * @title: IOwner.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Interface for onlyOwner() role
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface IOwner is IERC165 {

  // @dev: Classic "EIP-173" getter for owner()
  // @return: owner of contract
  function owner()
    external
    view
    returns (address);

  // @dev: This is the classic "EIP-173" method of setting onlyOwner()  
  function renounceOwnership()
    external;


  // @dev: This is the classic "EIP-173" method of setting onlyOwner()
  // @param newOwner: addres of new pending owner role
  function transferOwnership(
    address newOwner
  ) external;
}

File 15 of 38 : IOwnerV2.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: IOwnerV2.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Interface V2 for onlyOwner() role, suggested by Auditors...
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "./IOwner.sol";

interface IOwnerV2 is IOwner {

  // @dev: This accepts the push-pull method of onlyOwner()
  function acceptOwnership()
    external;

  // @dev: This declines the push-pull method of onlyOwner()
  function declineOwnership()
    external;

  // @dev: This starts the push-pull method of onlyOwner()
  // @param newOwner: addres of new pending owner role
  function pushOwnership(
    address newOwner
  ) external;
}

File 16 of 38 : IRole.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: IRole.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Interface for MaxAccess version of roles
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface IRole is IERC165 {

  // @dev: Returns `true` if `account` has been granted `role`.
  // @param role: Bytes4 of a role
  // @param account: Address to check
  // @return: bool true/false if account has role
  function hasRole(
    bytes4 role
  , address account
  ) external
    view
    returns (bool);

  // @dev: Returns the admin role that controls a role
  // @param role: Role to check
  // @return: admin role
  function getRoleAdmin(
    bytes4 role
  ) external
    view 
    returns (bytes4);

  // @dev: Grants `role` to `account`
  // @param role: Bytes4 of a role
  // @param account: account to give role to
  function grantRole(
    bytes4 role
  , address account
  ) external;

  // @dev: Revokes `role` from `account`
  // @param role: Bytes4 of a role
  // @param account: account to revoke role from
  function revokeRole(
    bytes4 role
  , address account
  ) external;

  // @dev: Renounces `role` from `account`
  // @param role: Bytes4 of a role
  // @param account: account to renounce role from
  function renounceRole(
    bytes4 role
  ) external;
}

File 17 of 38 : MaxAccess.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: MaxAccess.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Access control based off EIP 173/roles from OZ
 * @custom:error-code MA:E1 you are not admin or role
 * @custom:error-code MA:E2 pending developers can not use
 * @custom:error-code MA:E3 pending owners can not use
 * @custom:error-code MA:E4 you are not onlyDev()
 * @custom:error-code MA:E5 you are not onlyOwner()
 * @custom:change-log added custom errors above
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "./IOwnerV2.sol";
import "./IDeveloperV2.sol";
import "./IRole.sol";
import "../lib/Roles.sol";
import "../errors/MaxErrors.sol";

abstract contract MaxAccess is MaxErrors
                             , IRole
                             , IOwnerV2
                             , IDeveloperV2 {

  using Roles for Roles.Role;

  Roles.Role private contractRoles;

  // bytes4 caluclated as follows
  // bytes4(keccak256(bytes(signature)))
  // developer() => 0xca4b208b
  // owner() => 0x8da5cb5b
  // admin() => 0xf851a440
  // was using trailing () for caluclations

  bytes4 constant private DEVS = 0xca4b208b;
  bytes4 constant private PENDING_DEVS = 0xca4b208a; // DEVS - 1
  bytes4 constant private OWNERS = 0x8da5cb5b;
  bytes4 constant private PENDING_OWNERS = 0x8da5cb5a; // OWNERS - 1
  bytes4 constant private ADMIN = 0xf851a440;

  // @dev you can sub your own address here... this is MaxFlowO2.eth
  // these are for displays anyways, and init().
  address private TheDev = address(0x4CE69fd760AD0c07490178f9a47863Dc0358cCCD);
  address private TheOwner = address(0x5ccf599B7d43Bc3F576EA01EC0aA307ecbc94102);

  constructor() {
    // supercedes all the logic below
    contractRoles.add(ADMIN, address(this));
    _grantRole(ADMIN, TheDev);
    _grantRole(OWNERS, TheOwner);
    _grantRole(DEVS, TheDev);
  }

  // modifiers
  modifier onlyRole(bytes4 role) {
    if (_checkRole(role, msg.sender) || _checkRole(ADMIN, msg.sender)) {
      _;
    } else {
      revert MaxSplaining({
        reason: "MA:E1"
      });
    }
  }

  modifier onlyDev() {
    if (!_checkRole(DEVS, msg.sender)) {
      revert MaxSplaining({
        reason: "MA:E4"
      });
    }
    _;
  }

  modifier onlyOwner() {
    if (!_checkRole(OWNERS, msg.sender)) {
      revert MaxSplaining({
        reason: "MA:E5"
      });
    }
    _;
  }

  // internal logic first 
  // (sets the tone later, and for later contracts)

  // @dev: this is the bool for checking if the account has a role via lib roles.sol
  // @param role: bytes4 of the role to check for
  // @param account: address of account to check
  // @return: bool true/false
  function _checkRole(
    bytes4 role
  , address account
  ) internal
    view
    virtual
    returns (bool) {
    return contractRoles.has(role, account);
  }

  // @dev: this is the internal to grant roles
  // @param role: bytes4 of the role
  // @param account: address of account to add
  function _grantRole(
    bytes4 role
  , address account
  ) internal
    virtual {
    contractRoles.add(role, account);
  }

  // @dev: this is the internal to revoke roles
  // @param role: bytes4 of the role
  // @param account: address of account to remove
  function _revokeRole(
    bytes4 role
  , address account
  ) internal
    virtual {
    contractRoles.remove(role, account);
  }

  // @dev: Returns `true` if `account` has been granted `role`.
  // @param role: Bytes4 of a role
  // @param account: Address to check
  // @return: bool true/false if account has role
  function hasRole(
    bytes4 role
  , address account
  ) external
    view
    virtual
    override
    returns (bool) {
    return _checkRole(role, account);
  }

  // @dev: Returns the admin role that controls a role
  // @param role: Role to check
  // @return: admin role
  function getRoleAdmin(
    bytes4 role
  ) external
    view
    virtual
    override
    returns (bytes4) {
    return ADMIN;
  }

  // @dev: Grants `role` to `account`
  // @param role: Bytes4 of a role
  // @param account: account to give role to
  function grantRole(
    bytes4 role
  , address account
  ) external
    virtual
    override 
    onlyRole(role) {

    if (role == PENDING_DEVS) {
      // locks out pending devs from mass swapping roles
      if (_checkRole(PENDING_DEVS, msg.sender)) {
        revert MaxSplaining({
          reason: "MA:E2"
        });
      }
    }

    if (role == PENDING_OWNERS) {
      // locks out pending owners from mass swapping roles
      if (_checkRole(PENDING_OWNERS, msg.sender)) {
        revert MaxSplaining({
          reason: "MA:E3"
        });
      }
    }

    _grantRole(role, account);
  }

  // @dev: Revokes `role` from `account`
  // @param role: Bytes4 of a role
  // @param account: account to revoke role from
  function revokeRole(
    bytes4 role
  , address account
  ) external
    virtual
    override
    onlyRole(role) {

    if (role == PENDING_DEVS) {
      // locks out pending devs from mass swapping roles
      if (account != msg.sender) {
        revert MaxSplaining({
          reason: "MA:E2"
        });
      }
    }

    if (role == PENDING_OWNERS) {
      // locks out pending owners from mass swapping roles
      if (account != msg.sender) {
        revert MaxSplaining({
          reason: "MA:E3"
        });
      }
    }
    _revokeRole(role, account);
  }

  // @dev: Renounces `role` from `account`
  // @param role: Bytes4 of a role
  // @param account: account to renounce role from
  function renounceRole(
    bytes4 role
  ) external
    virtual
    override 
    onlyRole(role) {
    address user = msg.sender;
    _revokeRole(role, user);
  }

  // Now the classic onlyDev() + "V2" suggested by auditors

  // @dev: Classic "EIP-173" but for onlyDev()
  // @return: Developer of contract
  function developer()
    external
    view
    virtual
    override
    returns (address) {
    return TheDev;
  }

  // @dev: This renounces your role as onlyDev()
  function renounceDeveloper()
    external
    virtual
    override 
    onlyRole(DEVS) {
    address user = msg.sender;
    _revokeRole(DEVS, user);
  }

  // @dev: Classic "EIP-173" but for onlyDev()
  // @param newDeveloper: addres of new pending Developer role
  function transferDeveloper(
    address newDeveloper
  ) external
    virtual
    override 
    onlyRole(DEVS) {
    address user = msg.sender;
    _grantRole(DEVS, newDeveloper);
    _revokeRole(DEVS, user);
  }

  // @dev: This accepts the push-pull method of onlyDev()
  function acceptDeveloper()
    external
    virtual
    override 
    onlyRole(PENDING_DEVS) {
    address user = msg.sender;
    _revokeRole(PENDING_DEVS, user);
    _grantRole(DEVS, user);
  }

  // @dev: This declines the push-pull method of onlyDev()
  function declineDeveloper()
    external
    virtual
    override 
    onlyRole(PENDING_DEVS) {
    address user = msg.sender;
    _revokeRole(PENDING_DEVS, user);
  }

  // @dev: This starts the push-pull method of onlyDev()
  // @param newDeveloper: addres of new pending developer role
  function pushDeveloper(
    address newDeveloper
  ) external
    virtual
    override
    onlyRole(DEVS) {
    _grantRole(PENDING_DEVS, newDeveloper);
  }

  // @dev: This changes the display of developer()
  // @param newDisplay: new display addrss for developer()
  function setDeveloper(
    address newDisplay
  ) external
    onlyDev() {
    if (!_checkRole(DEVS, newDisplay)) {
        revert MaxSplaining({
          reason: "MA:E4"
        });
    }
    TheDev = newDisplay;
  }

  // Now the classic onlyOwner() + "V2" suggested by auditors

  // @dev: Classic "EIP-173" getter for owner()
  // @return: owner of contract
  function owner()
    external
    view
    virtual
    override
    returns (address) {
    return TheOwner;
  }

   // @dev: This renounces your role as onlyOwner()
  function renounceOwnership()
    external
    virtual
    override
    onlyRole(OWNERS) {
    address user = msg.sender;
    _revokeRole(OWNERS, user);
  }

  // @dev: Classic "EIP-173" but for onlyOwner()
  // @param newOwner: addres of new pending Developer role
  function transferOwnership(
    address newOwner
  ) external
    virtual
    override
    onlyRole(OWNERS) {
    address user = msg.sender;
    _grantRole(OWNERS, newOwner);
    _revokeRole(OWNERS, user);
  }

  // @dev: This accepts the push-pull method of onlyOwner()
  function acceptOwnership()
    external
    virtual
    override
    onlyRole(PENDING_OWNERS) {
    address user = msg.sender;
    _revokeRole(PENDING_OWNERS, user);
    _grantRole(OWNERS, user);
  }

  // @dev: This declines the push-pull method of onlyOwner()
  function declineOwnership()
    external
    virtual
    override
    onlyRole(PENDING_OWNERS) {
    address user = msg.sender;
    _revokeRole(PENDING_OWNERS, user);
  }

  // @dev: This starts the push-pull method of onlyOwner()
  // @param newOwner: addres of new pending developer role
  function pushOwnership(
    address newOwner
  ) external
    virtual
    override
    onlyRole(OWNERS) {
    _grantRole(PENDING_OWNERS, newOwner);
  }

  // @dev: This changes the display of Ownership()
  // @param newDisplay: new display addrss for Ownership()
  function setOwner(
    address newDisplay
  ) external
    onlyOwner() {
    if (!_checkRole(OWNERS, newDisplay)) {
        revert MaxSplaining({
          reason: "MA:E5"
        });
    }
    TheOwner = newDisplay;
  }
}

File 18 of 38 : american-gothic.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: American Gothic
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: ERC-721/1412/2981 compliant contract set with burn()
 * @custom:change-log addred quant limit of 5 to logic
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "./eip/1412/ERC1412.sol";
import "./eip/2981/ERC2981Collection.sol";
import "./modules/timecop/TimeCop.sol";
import "./modules/splitter/PaymentSplitterV2.sol";
import "./modules/llamas/Llamas.sol";
import "./modules/whitelist/WhitelistV3.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract AmericanGothic is TimeCop
                         , ERC2981
                         , PaymentSplitterV2
                         , Llamas
                         , ERC1412
                         , WhitelistV3
                         , ReentrancyGuard {

  using Strings for uint256;

  string base;

  event UpdatedBaseURI(string _old, string _new);
  event ThankYou(address user, uint amount);

  constructor() ERC1412("American Gothic", "AMGOTH") {}



  function presaleMint(
    uint quant
  ) external
    notPaused()
    onlyPresale()
    nonReentrant() {
    for (uint x = 0; x < quant;) {
      _safeMint(msg.sender, _nextUp());
      _oneRegularMint();
      _oneWLMint(msg.sender);
      unchecked { ++x; }
    }
  }

  function publicMint(
    uint quant
  ) external
    payable
    notPaused()
    onlySale()
    paidMint(quant)
    nonReentrant() {
    if (quant > 5) {
      revert MaxSplaining ({
        reason: "Main:E1"
      });
    }
    for (uint x = 0; x < quant;) {
      _safeMint(msg.sender, _nextUp());
      _oneRegularMint();
      unchecked { ++x; }
    }
  }

/*
  function teamMint()
    external
    onlyDev() {
    uint quant = this.minterTeamMintsRemaining();
    for (uint x = 0; x < quant;) {
      // mint it
      _safeMint(this.owner(), _nextUp());
      _oneTeamMint();
      unchecked { ++x; }
    }
  }
*/
  function donate()
    external
    payable {
    // thank you
    emit ThankYou(msg.sender, msg.value);
  }

  // @notice: Function to receive ether, msg.data must be empty
  receive()
    external
    payable {
    // From PaymentSplitter.sol
    emit PaymentReceived(msg.sender, msg.value);
  }

  // @notice: Function to receive ether, msg.data is not empty
  fallback()
    external
    payable {
    // From PaymentSplitter.sol
    emit PaymentReceived(msg.sender, msg.value);
  }

  // @notice this is a public getter for ETH blance on contract
  function getBalance()
    external
    view
    returns (uint) {
    return address(this).balance;
  }

  // @notice will update _baseURI() by onlyDeveloper() role
  // @param _base: Base for NFT's
  function setBaseURI(
    string memory _base
    )
    public
    onlyDev() {
    string memory old = base;
    base = _base;
    emit UpdatedBaseURI(old, base);
  }

  // @notice: This override sets _base as the string for tokenURI(tokenId)
  function _baseURI()
    internal
    view
    override
    returns (string memory) {
    return base;
  }

  // @notice: This override is for making string/number now string/number.json
  // @param tokenId: tokenId to pull URI for
  function tokenURI(
    uint256 tokenId
  ) public
    view
    virtual
    override (ERC721)
    returns (string memory) {
    if (!_exists(tokenId)) {
      revert MaxSplaining({
        reason: string(
                  abi.encodePacked(
                    "ERC721Metadata: URI query for ",
                    Strings.toString(tokenId),
                    " returns nonexistent token"
                  )
                )
      });
    }
    string memory baseURI = _baseURI();
    string memory json = ".json";
    return bytes(baseURI).length > 0 ? string(
                                         abi.encodePacked(
                                           baseURI
                                         , tokenId.toString()
                                         , json)
                                       ) : "";
  }

  // @notice: This override is to correct totalSupply()
  // @param tokenId: tokenId to burn
  function burn(
    uint256 tokenId
  ) public
    virtual
    override(ERC721Burnable) {
    //solhint-disable-next-line max-line-length
    if (!_isApprovedOrOwner(_msgSender(), tokenId)) {
      revert MaxSplaining({
        reason: string(
                  abi.encodePacked(
                    "ERC721Burnable: ",
                    Strings.toHexString(uint160(msg.sender), 20),
                    " is not owner nor approved"
                  )
                )
      });
    }
    _burn(tokenId);
    // fixes totalSupply()
    _subOne();
  }

  // @notice: Standard override for ERC165
  // @param interfaceId: interfaceId to check for compliance
  // @return: bool if interfaceId is supported
  function supportsInterface(
    bytes4 interfaceId
  ) public
    view
    virtual
    override (
      ERC721
    , IERC165
    ) returns (bool) {
    return (
      interfaceId == type(IERC2981).interfaceId  ||
      interfaceId == type(EIP1412).interfaceId  ||
      super.supportsInterface(interfaceId)
    );
  }
}

File 19 of 38 : EIP1412.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: Batch Transfers For Non-Fungible Tokens
 * @author: Nick Mudge [email protected]
 * @notice: Adds batch transfer functions for ERC721 non-fungible tokens.
 * @custom: Change log added ERC165 into this, added event TransferBatch and changed to Apache2.0
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

///  Note: the ERC-165 identifier for this interface is 0x2b89bcaa

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface EIP1412 is IERC165 {

  // @notice this is the event emitted for batch transfer
  // @param operator - msg.sender
  // @param from - address from
  // @param to - addres sent to
  // @param ids - list/array of token id's that transferred
  event TransferBatch(
    address indexed operator,
    address indexed from,
    address indexed to,
    uint256[] ids
  );

  // @notice Transfers the ownership of multiple NFTs from one address to another address
  // @param _from The current owner of the NFT
  // @param _to The new owner
  // @param _tokenIds The NFTs to transfer
  // @param _data Additional data with no specified format, sent in call to `_to`  
  function safeBatchTransferFrom(
    address _from
  , address _to
  , uint256[] memory _tokenIds
  , bytes memory _data
  ) external;
  
  // @notice Transfers the ownership of multiple NFTs from one address to another address
  // @param _from The current owner of the NFT
  // @param _to The new owner
  // @param _tokenIds The NFTs to transfer  
  function safeBatchTransferFrom(
    address _from
  , address _to
  , uint256[] memory _tokenIds
  ) external;

}

File 20 of 38 : ERC1412.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: ERC721BatchTransfer.sol
 * @author: @MaxFlowO2 on bird app/GitHub
 * @notice: Provides a batch transfer capability that can be added to ERC 721 via EIP 1412 (V2).
 * @custom:error-code ERC721BT:E1 to.length tokenId.length mismatch
 * @custom:change-log added custom errors above
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "./EIP1412.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";

abstract contract ERC1412 is EIP1412
                           , ERC721
                           , ERC721Burnable {

  constructor(
    string memory _name
  , string memory _ticker
  ) ERC721(_name, _ticker) {}

  function safeBatchTransferFrom(
    address from,
    address to,
    uint256[] memory tokenIds
  ) public
    virtual
    override {
    safeBatchTransferFrom(from, to, tokenIds, "");
  }

  function safeBatchTransferFrom(
    address from,
    address to,
    uint256[] memory tokenIds,
    bytes memory _data
  ) public
    virtual
    override {
    uint len = tokenIds.length;
    for(uint x = 0; x < len;) {
      _safeTransfer(from, to, tokenIds[x], _data);
      unchecked { ++x; }
    }
    emit TransferBatch(msg.sender, from, to, tokenIds);
  }
}

File 21 of 38 : ERC2981Collection.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: ERC2981Collection.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Use case for EIP 2981, steered more towards NFT Collections as a whole
 * @custom:error-code ERC2981:E1 permille out of bounds
 * @custom:change-log added custom error code
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "./IMAX2981.sol";
import "../../access/MaxAccess.sol";

abstract contract ERC2981 is MaxAccess
                           , IMAX2981 {

  address internal royaltyAddress;
  uint16 internal royaltyPermille;

  event royalatiesSet(
          uint16 value
        , address recipient
        );

  // the internals to do logic flows later

  // @dev to set roaylties on contract via EIP 2981
  // @param _receiver, address of recipient
  // @param _permille, permille xx.x -> xxx value
  function _setRoyalties(
    address _receiver
  , uint16 _permille
  ) internal {
  if (_permille >= 1000 || _permille == 0) {
    revert MaxSplaining({
      reason: "ERC2981:E1"
    });
  }
    royaltyAddress = _receiver;
    royaltyPermille = _permille;
    emit royalatiesSet(royaltyPermille, royaltyAddress);
  }

  // @dev to remove royalties from contract
  function _removeRoyalties()
    internal {
    delete royaltyAddress;
    delete royaltyPermille;
    emit royalatiesSet(royaltyPermille, royaltyAddress);
  }

  // Logic for this contract (abstract)

  // @notice: This sets the contract as royalty reciever (useful with abstract PaymentSplitter)
  // @param permille: Percentage you want so 3.5% -> 35
  function setRoyaltiesThis(
    uint16 permille
  ) external
    virtual
    override
    onlyOwner() {
    _setRoyalties(address(this), permille);
  }

  // @notice: This sets royalties per EIP-2981
  // @param newAddress: Sets the address for royalties
  // @param permille: Percentage you want so 3.5% -> 35
  function setRoyalties(
    address newAddress
  , uint16 permille
  ) external
    virtual
    override
    onlyOwner() {
    _setRoyalties(newAddress, permille);
  }

  // @notice: Clears EIP2981 royalties
  function clearRoyalties()
    external
    virtual
    override
    onlyOwner() {
    _removeRoyalties();
  }

  // @dev Override for royaltyInfo(uint256, uint256)
  // @param _tokenId, uint of token ID to be checked
  // @param _salePrice, uint of amount of sale
  // @return receiver, address of recipient
  // @return royaltyAmount, amount royalties recieved
  function royaltyInfo(
    uint256 _tokenId
  , uint256 _salePrice
  ) external
    view
    virtual
    override
    returns (
    address receiver
  , uint256 royaltyAmount
  ) {
    receiver = royaltyAddress;
    royaltyAmount = _salePrice * royaltyPermille / 1000;
  }
}

File 22 of 38 : IERC2981.sol
/***
 *    ███████╗██╗██████╗       ██████╗  █████╗  █████╗  ██╗
 *    ██╔════╝██║██╔══██╗      ╚════██╗██╔══██╗██╔══██╗███║
 *    █████╗  ██║██████╔╝█████╗ █████╔╝╚██████║╚█████╔╝╚██║
 *    ██╔══╝  ██║██╔═══╝ ╚════╝██╔═══╝  ╚═══██║██╔══██╗ ██║
 *    ███████╗██║██║           ███████╗ █████╔╝╚█████╔╝ ██║
 *    ╚══════╝╚═╝╚═╝           ╚══════╝ ╚════╝  ╚════╝  ╚═╝                                                        
 * Zach Burks, James Morgan, Blaine Malone, James Seibel,
 * "EIP-2981: NFT Royalty Standard,"
 * Ethereum Improvement Proposals, no. 2981, September 2020. [Online serial].
 * Available: https://eips.ethereum.org/EIPS/eip-2981.
 */

// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

///
/// @dev Interface for the NFT Royalty Standard
///

interface IERC2981 is IERC165 {

  // @notice Called with the sale price to determine how much royalty
  //  is owed and to whom.
  // @param _tokenId - the NFT asset queried for royalty information
  // @param _salePrice - the sale price of the NFT asset specified by _tokenId
  // @return receiver - address of who should be sent the royalty payment
  // @return royaltyAmount - the royalty payment amount for _salePrice
  function royaltyInfo(
    uint256 _tokenId
  , uint256 _salePrice
  ) external
    view
    returns (
    address receiver
  , uint256 royaltyAmount
  );
}

File 23 of 38 : IMAX2981.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: IMAX2981.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: IERC2981 Extension
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/


pragma solidity >=0.8.0 <0.9.0;

import "./IERC2981.sol";

interface IMAX2981 is IERC2981 {

  // @notice: This sets the contract as royalty reciever (useful with abstract PaymentSplitter)
  // @param permille: Percentage you want so 3.5% -> 35
  function setRoyaltiesThis(
    uint16 permille
  ) external;

  // @notice: This sets royalties per EIP-2981
  // @param newAddress: Sets the address for royalties
  // @param permille: Percentage you want so 3.5% -> 35
  function setRoyalties(
    address newAddress
  , uint16 permille
  ) external;

  // @notice: This clears all EIP-2981 royalties (address(0) and 0%)
  function clearRoyalties()
    external;

}

File 24 of 38 : MaxErrors.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: MaxErrors.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Custom errors for all contracts, minus libraries
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;


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

abstract contract MaxErrors {

  // @dev: this is Unauthorized(), basically a catch all, zero description
  // @notice: 0x82b42900 bytes4 of this
  error Unauthorized();

  // @dev: this is MaxSplaining(), giving you a reason, aka require(param, "reason")
  // @param reason: Use the "Contract name: error"
  // @notice: 0x0661b792 bytes4 of this
  error MaxSplaining(
    string reason
  );

  // @dev: this is TooSoonJunior(), using times
  // @param yourTime: should almost always be block.timestamp
  // @param hitTime: the time you should have started
  // @notice: 0xf3f82ac5 bytes4 of this
  error TooSoonJunior(
    uint yourTime
  , uint hitTime
  );

  // @dev: this is TooLateBoomer(), using times
  // @param yourTime: should almost always be block.timestamp
  // @param hitTime: the time you should have ended
  // @notice: 0x43c540ef bytes4 of this
  error TooLateBoomer(
    uint yourTime
  , uint hitTime
  );

}

File 25 of 38 : CountersV2.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: CountersV2.sol
 * @author Matt Condon (@shrugs)
           rewritten by Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @dev Provides counters that can only be incremented, decremented, reset or set. 
 * This can be used e.g. to track the number of elements in a mapping, issuing ERC721 ids
 * or counting request ids.
 *
 * Edited by @MaxFlowO2 for more NFT functionality on 13 Jan 2022
 * added .set(uint) so if projects need to start at say 1 or some random number they can
 * and an event log for numbers being reset or set.
 *
 * Include with `using CountersV2 for CountersV2.Counter;`
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

library CountersV2 {

  // @dev: this is MaxSplaining(), giving you a reason, aka require(param, "reason")
  // @param reason: Use the "Contract name: error"
  // @notice: 0x0661b792 bytes4 of this
  error MaxSplaining(
    string reason
  );

  event CounterNumberChangedTo(uint _number);

  struct Counter {
    // This variable should never be directly accessed by users of the library: interactions must be restricted to
    // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
    // this feature: see https://github.com/ethereum/solidity/issues/4637
    uint256 _value; // default: 0
  }

  function current(
    Counter storage counter
  ) internal
    view
    returns (uint256) {
    return counter._value;
  }

  function increment(
    Counter storage counter
  ) internal {
    unchecked {
      ++counter._value;
    }
  }

  function decrement(
    Counter storage counter
  ) internal {
    uint256 value = counter._value;
    if (value == 0) {
      revert MaxSplaining({
        reason : "CountersV2: No negatives in uints"
      });
    }
    unchecked {
      --counter._value;
    }
  }

  function reset(
    Counter storage counter
  ) internal {
    counter._value = 0;
    emit CounterNumberChangedTo(counter._value);
  }

  function set(
    Counter storage counter
  , uint number
  ) internal {
    counter._value = number;
    emit CounterNumberChangedTo(counter._value);
  }  
}

File 26 of 38 : PsuedoRand.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: PsuedoRand.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Library for Llama/BAYC Mint engine...
 *  basically a random start point and a bookends mint to start
 *  i.e. 0-2999 start at 500 -> 2999, then 0 -> 499.
 *
 *  Covers IMAX721.sol and Illamas.sol
 *
 * Include with 'using PsuedoRand for PsuedoRand.Engine;'
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "./CountersV2.sol";

library PsuedoRand {
  using CountersV2 for CountersV2.Counter;

  event SetProvenanceIMG(string _new, string _old);
  event SetProvenanceJSON(string _new, string _old);
  event SetStartNumber(uint _new);
  event SetMaxCapacity(uint _new, uint _old);
  event SetMaxTeamMint(uint _new, uint _old);
  event SetMintFees(uint _new, uint _old);
  event SetStatus(bool _new);
  event ProvenanceLocked(bool _status);

  // @dev: this is MaxSplaining(), giving you a reason, aka require(param, "reason")
  // @param reason: Use the "Contract name: error"
  // @notice: 0x0661b792 bytes4 of this
  error MaxSplaining(
    string reason
  );

  struct Engine {
    uint256 mintFee;
    uint256 startNumber;
    uint256 maxCapacity;
    uint256 maxTeamMints;
    string ProvenanceIMG;
    string ProvenanceJSON;
    CountersV2.Counter currentMinted;
    CountersV2.Counter currentTeam;
    bool status;
    bool provSet;
  }

  function setProvJSON(
    Engine storage engine
  , string memory provJSON
  ) internal {
    string memory old = engine.ProvenanceJSON;
    engine.ProvenanceJSON = provJSON;
    emit SetProvenanceJSON(provJSON, old);
  }
 
  function setProvIMG(
    Engine storage engine
  , string memory provIMG
  ) internal {
    string memory old = engine.ProvenanceIMG;
    engine.ProvenanceIMG = provIMG;
    emit SetProvenanceIMG(provIMG, old);
  }

  function provLock(
    Engine storage engine
  ) internal {
    engine.provSet = true;
    emit ProvenanceLocked(engine.provSet);
  }

  function setStartNumber(
    Engine storage engine
  ) internal {
    if (engine.maxCapacity == 0) {
      revert MaxSplaining({
        reason : "Lib-Llamas:E1"
      });
    }
    engine.startNumber = uint(
                           keccak256(
                             abi.encodePacked(
                               block.timestamp
                             , msg.sender
                             , engine.ProvenanceIMG
                             , engine.ProvenanceJSON
                             , block.difficulty))) 
                         % engine.maxCapacity;
    emit SetStartNumber(engine.startNumber);
  }

  function setMaxCap(
    Engine storage engine
  , uint256 max
  ) internal {
    uint old = engine.maxCapacity;
    engine.maxCapacity = max;
    emit SetMaxCapacity(max, old);
  }

  function setMaxTeam(
    Engine storage engine
  , uint256 max
  ) internal {
    uint old = engine.maxTeamMints;
    engine.maxTeamMints = max;
    emit SetMaxTeamMint(max, old);
  }

  function setFees(
    Engine storage engine
  , uint256 max
  ) internal {
    uint old = engine.mintFee;
    engine.mintFee = max;
    emit SetMintFees(max, old);
  }

  function setStatus(
    Engine storage engine
  , bool change
  ) internal {
    engine.status = change;
    emit SetStatus(change);
  }

  function mintID(
    Engine storage engine
  ) internal
    view
    returns (uint256) {
    return (engine.startNumber + engine.currentMinted.current()) % engine.maxCapacity;
  }

  function showTeam(
    Engine storage engine
  ) internal 
    view
    returns (uint256) {
    return engine.currentTeam.current();
  }

  function showMinted(
    Engine storage engine
  ) internal
    view
    returns (uint256) {
    return engine.currentMinted.current();
  }

  function battersUpTeam(
    Engine storage engine
  ) internal {
    engine.currentTeam.increment();
  }

  function battersUp(
    Engine storage engine
  ) internal {
    engine.currentMinted.increment();
  }
}

File 27 of 38 : Roles.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: Roles.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Library for MaxAcess.sol
 * @custom:error-code Lib-Roles:E1 User has role already
 * @custom:error-code Lib-Roles:E2 User does not have role to revoke
 * @custom:change-log Custom errors added above
 *
 * Include with 'using Roles for Roles.Role;'
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

library Roles {

  // @dev: this is Unauthorized(), basically a catch all, zero description
  // @notice: 0x82b42900 bytes4 of this
  error Unauthorized();

  // @dev: this is MaxSplaining(), giving you a reason, aka require(param, "reason")
  // @param reason: Use the "Contract name: error"
  // @notice: 0x0661b792 bytes4 of this
  error MaxSplaining(
    string reason
  );

  event RoleChanged(bytes4 _type, address _user, bool _status); // 0x0baaa7ab

  struct Role {
    mapping(address => mapping(bytes4 => bool)) bearer;
  }

  function add(Role storage role, bytes4 _type, address account) internal {
    if (account == address(0)) {
      revert Unauthorized();
    } else if (has(role, _type, account)) {
      revert MaxSplaining({
        reason: "Lib-Roles:E1"
      });
    }
    role.bearer[account][_type] = true;
    emit RoleChanged(_type, account, true);
  }

  function remove(Role storage role, bytes4 _type, address account) internal {
    if (account == address(0)) {
      revert Unauthorized();
    } else if (!has(role, _type, account)) {
      revert MaxSplaining({
        reason: "Lib-Roles:E2"
      });
    }
    role.bearer[account][_type] = false;
    emit RoleChanged(_type, account, false);
  }

  function has(Role storage role, bytes4 _type, address account)
    internal
    view
    returns (bool)
  {
    if (account == address(0)) {
      revert Unauthorized();
    }
    return role.bearer[account][_type];
  }
}

File 28 of 38 : WhitelistV2.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: Whitelist.sol
 * @author: @MaxFlowO2 on bird app/GitHub
 * @notice: Provides a whitelist capability that can be added to and removed easily.
 * @custom:error-code Lib-WL:E1 Whitelist already enabled
 * @custom:error-code Lib-WL:E2 Whitelist already disabled
 * @custom:error-code Lib-WL:E3 User already Whitelisted
 * @custom:error-code Lib-WL:E4 User not Whitelisted
 * @custom:change-log Custom errors added above
 *
 * Include with 'using WhitelistV2 for WhitelistV2.List;'
 *
 * This edition is address => uint so you can have a quant per wl address
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "./CountersV2.sol";

library WhitelistV2 {
  using CountersV2 for CountersV2.Counter;

  event WhiteListEndChanged(uint _old, uint _new);
  event WhiteListChanged(bool _current, uint _quant, address _address);
  event WhiteListStatus(bool _old, bool _new);

  // @dev: this is MaxSplaining(), giving you a reason, aka require(param, "reason")
  // @param reason: Use the "Contract name: error"
  // @notice: 0x0661b792 bytes4 of this
  error MaxSplaining(
    string reason
  );

  struct List {
    // These variables should never be directly accessed by users of the library: interactions must be restr>
    // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to>
    // this feature: see https://github.com/ethereum/solidity/issues/4637
    bool enabled; //default is false,
    mapping(address => uint) _quant; // all values default to zero
  }

  function wlMint(
    List storage list
  , address _address
  ) internal {
    // Using this a bit
    uint check = list._quant[_address];
    // If zero revert
    if (check == 0) {
      revert  MaxSplaining({
        reason : "Lib-WL:E4"
      });
    }
    // has to be positive, can unckeck the decrement
    unchecked { --check; }
    // now the new wl value
    list._quant[_address] = check;
    // emit event
    emit WhiteListChanged(true, list._quant[_address], _address);
  }

  function add(
    List storage list
  , address _address
  , uint _amount
  ) internal {
    if (list._quant[_address] > 0) {
      revert  MaxSplaining({
        reason : "Lib-WL:E3"
      });
    }
    // since now all previous values are false no need for another variable
    // and add them to the list!
    list._quant[_address] = _amount;
    // emit event
    emit WhiteListChanged(true, list._quant[_address], _address);
  }

  function remove(
    List storage list
  , address _address
  ) internal {
    if (list._quant[_address] == 0) {
      revert  MaxSplaining({
        reason : "Lib-WL:E4"
      });
    }
    // since now all previous values are true no need for another variable
    // and remove them from the list!
    list._quant[_address] = 0;
    // emit event
    emit WhiteListChanged(false, list._quant[_address], _address);
  }

  function enable(
    List storage list
  ) internal {
    if (list.enabled) {
      revert  MaxSplaining({
        reason : "Lib-WL:E1"
      });
    }
    list.enabled = true;
    emit WhiteListStatus(false, list.enabled);
  }

  function disable(
    List storage list
  ) internal {
    if (!list.enabled) {
      revert  MaxSplaining({
        reason : "Lib-WL:E2"
      });
    }
    list.enabled = false;
    emit WhiteListStatus(true, list.enabled);
  }

  function status(
    List storage list
  ) internal
    view
    returns (bool) {
    return list.enabled;
  }

  function onList(
    List storage list
  , address _address
  ) internal
    view
    returns (bool) {
    return list._quant[_address] > 0;
  }
}

File 29 of 38 : ILlamas.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: ILlamas.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Interface for Llama/BAYC Mint engine, does Provenance for Metadata/Images
 * Source: https://etherscan.io/address/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d#code
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "./IMAX721.sol";

interface ILlamas is IMAX721{

  // @dev: will return Provenance hash of images
  // @return: string memory of the Images Hash (sha256)
  function RevealProvenanceImages()
    external
    view
    returns (string memory);

  // @dev: will return Provenance hash of metadata
  // @return: string memory of the Metadata Hash (sha256)
  function RevealProvenanceJSON()
    external
    view
    returns (string memory);

  // @dev: will return starting number for mint
  // @return: uint of the start number
  function RevealStartID()
    external
    view
    returns (uint256);

  // @dev this will set the boolean for minter status
  // @param toggle: bool for enabled or not
  function setStatus(
    bool toggle
  ) external;

  // @dev this will set the minter fees
  // @param number: uint for fees in wei.
  function setMintFees(
    uint number
  ) external;

  // @dev this will set the Provenance Hashes
  // @param string memory img - Provenance Hash of images in sequence
  // @param string memory json - Provenance Hash of metadata in sequence
  // @notice: This will set the start number as well, make sure to set MaxCap
  //  also can be a hyperlink... sha3... ipfs.. whatever.
  function setProvenance(
    string memory img
  , string memory json
  ) external;

  // @dev this will set the mint engine
  // @param mintingCap: uint for publicMint() capacity of this chain
  // @param teamMints: uint for maximum teamMints() capacity on this chain
  function setLlamasEngine(
    uint mintingCap
  , uint teamMints
  ) external;
}

File 30 of 38 : IMAX721.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: IMAX721.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Interface for UX/UI
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface IMAX721 is IERC165 {

  // @dev will return status of Minter
  // @return - bool of active or not
  function minterStatus() 
    external
    view
    returns (bool);

  // @dev will return minting fees
  // @return - uint of mint costs in wei
  function minterFees()
    external
    view
    returns (uint);

  // @dev will return maximum mint capacity
  // @return - uint of maximum mints allowed
  function minterCapacity()
    external
    view
    returns (uint);

  // @dev will return maximum mint capacity
  // @return - uint of maximum mints allowed
  function minterMinted()
    external
    view
    returns (uint);

  // @dev will return maximum "team minting" capacity
  // @return - uint of maximum airdrops or team mints allowed
  function minterTeamMintsCapacity()
    external
    view
    returns (uint);


  // @dev will return "team mints" count
  // @return - uint of airdrops or team mints done
  function minterTeamMintsMinted()
    external
    view
    returns (uint);

  // @dev: will return total supply for mint
  // @return: uint for this mint
  function totalSupply()
    external
    view
    returns (uint256);
}

File 31 of 38 : Llamas.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: Llamas.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Solidity from the BAYC Mint engine, does Provenance for Images
 * @custom:OG-Source: https://etherscan.io/address/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d#code
 * @custom:error-code Llamas:E1 msg.value is under quant * fees
 * @custom:error-code Llamas:E2 minter is paused
 * @custom:error-code Llamas:E3 states not loaded
 * @custom:error-code Llamas:E4 provenance is locked
 * @custom:error-code Llamas:E5 can not change provenance while minting
 * @custom:change-log added provenance to metadata
 * @custom:change-log used the modulo division to wrap from start -> last ID -> first ID -> start
 * @custom:change-log bug found, line 61 corrected >= to <
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "./ILlamas.sol";
import "../../lib/PsuedoRand.sol";
import "../../lib/CountersV2.sol";
import "../../access/MaxAccess.sol";

abstract contract Llamas is MaxAccess
                          , ILlamas {

  using PsuedoRand for PsuedoRand.Engine;
  using CountersV2 for CountersV2.Counter;

  PsuedoRand.Engine private llamas;
  CountersV2.Counter private tokensBurned;

  event SetStartNumbers(uint numberToMint, uint teamMints);

  modifier paidMint(uint quant) {
    if (msg.value < quant * llamas.mintFee) {
      revert MaxSplaining({
        reason: "Llamas:E1"
      });
    }
    _;
  }

  modifier notPaused() {
    if (!llamas.status) {
      revert MaxSplaining({
        reason: "Llamas:E2"
      });
    }
    _;
  }

  modifier numbersSet() {
    if (llamas.maxCapacity == 0) {
      revert MaxSplaining({
        reason: "Llamas:E3"
      });
    }
    _;
  }

  modifier provenanceLocked() {
    if (llamas.provSet) {
      revert MaxSplaining({
        reason: "Llamas:E4:"
      });
    }
    if (llamas.showMinted() > 0) {
      revert MaxSplaining({
        reason: "Llamas:E5"
      });
    }
    _;
  }

  // @dev this is to substract one to on chain minted
  function _subOne()
    internal {
    tokensBurned.increment();
  }

  // @dev this is for any team mint that happens, must be included in mint...
  function _oneTeamMint()
    internal {
    llamas.battersUp();
    llamas.battersUpTeam();
  }

  // @dev this is for any mint outside of a team mint, must be included in mint...
  function _oneRegularMint()
    internal {
    llamas.battersUp();
  }

  // @dev this will set the boolean for minter status
  // @param toggle: bool for enabled or not
  function _setStatus(
    bool toggle
  ) internal {
    llamas.setStatus(toggle);
  }

  // @dev this will set the minter fees
  // @param number: uint for fees in wei.
  function _setMintFees(
    uint number
  ) internal {
    llamas.setFees(number);
  }

  // @dev this will set the mint engine
  // @param _mintingCap: uint for publicMint() capacity of this chain
  // @param _teamMints: uint for maximum teamMints() capacity on this chain
  function _setLlamasEngine(
    uint _mintingCap
  , uint _teamMints
  ) internal {
    llamas.setMaxCap(_mintingCap);
    llamas.setMaxTeam(_teamMints);

    emit SetStartNumbers(
      _mintingCap
    , _teamMints
    );
  }

  // @dev this will set the Provenance Hashes
  // @param string memory img - Provenance Hash of images in sequence
  // @param string memory json - Provenance Hash of metadata in sequence
  // @notice: This will set the start number as well, make sure to set MaxCap
  //  also can be a hyperlink... sha3... ipfs.. whatever.
  function _setProvenance(
    string memory img
  , string memory json
  ) internal {
    llamas.setProvJSON(json);
    llamas.setProvIMG(img);
    llamas.setStartNumber();
    llamas.provLock();
  }

  // @dev this will be valuable on the mint engine logic contract
  function _nextUp()
    internal
    view
    returns (uint) {
    return llamas.mintID();
  }

  // @dev this will set the boolean for minter status
  // @param toggle: bool for enabled or not
  function setStatus(
    bool toggle
  ) external
    virtual
    override
    onlyDev() {
    _setStatus(toggle);
  }

  // @dev this will set the minter fees
  // @param number: uint for fees in wei.
  function setMintFees(
    uint number
  ) external
    virtual
    override
    onlyDev() {
    _setMintFees(number);
  }

  // @dev this will set the mint engine
  // @param mintingCap: uint for publicMint() capacity of this chain
  // @param teamMints: uint for maximum teamMints() capacity on this chain
  function setLlamasEngine(
    uint mintingCap
  , uint teamMints
  ) external
    virtual
    override
    onlyDev() {
    _setLlamasEngine(
      mintingCap
    , teamMints
    );
  }

  // @dev this will set the Provenance Hashes
  // @param string memory img - Provenance Hash of images in sequence
  // @param string memory json - Provenance Hash of metadata in sequence
  // @notice: This will set the start number as well, make sure to set MaxCap
  //  also can be a hyperlink... sha3... ipfs.. whatever.
  function setProvenance(
    string memory img
  , string memory json
  ) external
    virtual
    override
    numbersSet()
    provenanceLocked()
    onlyDev() {
    _setProvenance(
      img
    , json
    );
  }

  // @dev will return status of Minter
  // @return - bool of active or not
  function minterStatus()
    external
    view
    virtual
    override
    returns (bool) {
    return llamas.status;
  }

  // @dev will return minting fees
  // @return - uint of mint costs in wei
  function minterFees()
    external
    view
    virtual
    override
    returns (uint) {
    return llamas.mintFee;
  }

  // @dev will return maximum mint capacity
  // @return - uint of maximum mints allowed
  function minterCapacity()
    external
    view
    virtual
    override
    returns (uint) {
    return llamas.maxCapacity;
  }

  // @dev will return maximum mint capacity
  // @return - uint of maximum mints allowed
  function minterMinted()
    external
    view
    virtual
    override
    returns (uint) {
    return llamas.showMinted();
  }

  // @dev will return maximum "team minting" capacity
  // @return - uint of maximum airdrops or team mints allowed
  function minterTeamMintsCapacity()
    external
    view
    virtual
    override
    returns (uint) {
    return llamas.maxTeamMints;
  }

  // @dev will return "team mints" count
  // @return - uint of airdrops or team mints done
  function minterTeamMintsMinted()
    external
    view
    virtual
    override
    returns (uint) {
    return llamas.showTeam();
  }

  // @dev: will return total supply for mint
  // @return: uint for this mint
  function totalSupply()
    external
    view
    virtual
    override
    returns (uint256) {
    return llamas.showMinted() - tokensBurned.current();
  }

  // @dev: will return Provenance hash of images
  // @return: string memory of the Images Hash (sha256)
  function RevealProvenanceImages() 
    external 
    view 
    virtual
    override 
    returns (string memory) {
    return llamas.ProvenanceIMG;
  }

  // @dev: will return Provenance hash of metadata
  // @return: string memory of the Metadata Hash (sha256)
  function RevealProvenanceJSON()
    external
    view
    virtual
    override
    returns (string memory) {
    return llamas.ProvenanceJSON;
  }

  // @dev: will return starting number for mint
  // @return: uint of the start number
  function RevealStartID()
    external
    view
    virtual
    override
    returns (uint256) {
    return llamas.startNumber;
  }
}

File 32 of 38 : IPaymentSplitterV2.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: IPaymentSplitter.sol
 * @author: OG was OZ, rewritten by Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Interface for PaymentSplitter.sol
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface IPaymentSplitterV2 is IERC165 {

  // @dev: this claims all "eth" on contract for msg.sender
  function claim()
    external;

  // @dev: This adds a payment split to PaymentSplitterV3.sol
  // @param newSplit: Address of payee
  // @param newShares: Shares to send user
  function addSplit (
    address newSplit
  , uint256 newShares
  ) external;

  // @dev: This pays all payment splits on PaymentSplitterV3.sol
  function paySplits()
    external;

  // @dev: This removes a payment split on PaymentSplitterV3.sol
  // @param remove: Address of payee to remove
  // @notice: use paySplits() prior to use if anything is on the contract
  function removeSplit (
    address remove
  ) external;

  // @dev: This removes all payment splits on PaymentSplitterV3.sol
  // @notice: use paySplits() prior to use if anything is on the contract
  function clearSplits()
    external;

  // @dev: returns total shares
  // @return: uint256 of all shares on contract
  function totalShares()
    external
    view
    returns (uint256);

  // @dev: returns total releases in "eth"
  // @return: uint256 of all "eth" released in wei
  function totalReleased()
    external
    view
    returns (uint256);

  // @dev: returns shares of an address
  // @param account: address of account to return
  // @return: mapping(address => uint) of _shares
  function shares(
    address account
  ) external
    view
    returns (uint256);

  // @dev: returns released "eth" of an account
  // @param account: address of account to look up
  // @return: mapping(address => uint) of _released
  function released(
    address account
  ) external
    view
    returns (uint256);

  // @dev: returns index number of payee
  // @param index: number of index
  // @return: address at _payees[index]
  function payee(
    uint256 index
  ) external
    view
    returns (address);

  // @dev: returns amount of "eth" that can be released to account
  // @param account: address of account to look up
  // @return: uint in wei of "eth" to release
  function releasable(
    address account
  ) external
    view
    returns (uint256);

}

File 33 of 38 : PaymentSplitterV2.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: PaymentSplitterV2.sol
 * @author: rewritten by Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: was once an OZ payment splitter now, a maxflow payment splitter
 * @custom:OG-Source github.com/OpenZeppelin/openzeppelin-contracts/blob/0a87a4e75b02b95ca019d4894dc6e02e69e586f1/contracts/finance/PaymentSplitter.sol
 * @custom:error-code PSV2:E1 No Shares for address
 * @custom:error-code PSV2:E2 No payment due for address
 * @custom:error-code PSV2:E3 Can not use address(0)
 * @custom:error-code PSV2:E4 Shares can not be 0
 * @custom:error-code PSV2:E5 User has shares already
 * @custom:change-log added claim (msg.sender) for payment
 * @custom:change-log removed constructor, release, and ERC20 support
 * @custom:change-log added addPayee(address, uint)
 * @custom:change-log added removePayee(address, uint)
 * @custom:change-log added ERC165 with Interfaces IPaymentSplitter & IPaymentSplitterV2
 * @custom:change-log added custom error-codes above
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "./IPaymentSplitterV2.sol";
import "../../access/MaxAccess.sol";
import "@openzeppelin/contracts/utils/Address.sol";

/**
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the
 * time of contract deployment and can't be updated thereafter.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 */

abstract contract PaymentSplitterV2 is MaxAccess
                                     , IPaymentSplitterV2 {
  uint256 private _totalShares;
  uint256 private _totalReleased;
  mapping(address => uint256) private _shares;
  mapping(address => uint256) private _released;
  address[] private _payees;

  event PayeeAdded(address account, uint256 shares);
  event PayeeRemoved(address account, uint256 shares);
  event PayeesReset();
  event PaymentReleased(address to, uint256 amount);
  event PaymentReceived(address from, uint256 amount);

  /**
   * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
   * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
   * reliability of the events, and not the actual splitting of Ether.
   *
   * To learn more about this see the Solidity documentation for
   * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
   * functions].
   *
   *  receive() external payable virtual {
   *    emit PaymentReceived(msg.sender, msg.value);
   *  }
   *
   *  // Fallback function is called when msg.data is not empty
   *  // Added to PaymentSplitter.sol
   *  fallback() external payable {
   *    emit PaymentReceived(msg.sender, msg.value);
   *  }
   *
   * receive() and fallback() to be handled at final contract
   */

  // Internals of this contract

  // @dev: returns uint of payment for account in wei
  // @param account: account to lookup
  // @return: eth in wei
  function _pendingPayment(
    address account
  ) internal
    view
    returns (uint256) {
    uint totalReceived = address(this).balance + _totalReleased;
    return (totalReceived * _shares[account]) / _totalShares - _totalReleased;
  }

  // @dev: claims "eth" for user
  // @param user: address of user
  function _claimETH(
    address user
  ) internal {
    if (_shares[user] == 0) {
      revert MaxSplaining({
        reason: "PSV2:E1"
      });
    }

    uint256 payment = _pendingPayment(user);

    if (payment == 0) {
      revert MaxSplaining({
        reason: "PSV2:E2"
      });
    }

    // _totalReleased is the sum of all values in _released.
    // If "_totalReleased += payment" does not overflow,
    // then "_released[account] += payment" cannot overflow.
    _totalReleased += payment;
    unchecked {
      _released[user] += payment;
    }
    Address.sendValue(payable(user), payment);
    emit PaymentReleased(user, payment);
  }


  // @dev: this claims "eth" and ERC20 for all _payees[]
  function _payAll()
    internal {
    uint len = _payees.length;
    for (uint x = 0; x < len;) {
      _claimETH(_payees[x]);
      unchecked {
        ++x;
      }
    }
  }

  // @dev: this will add a payee to PaymentSplitterV3
  // @param account: address of account to add
  // @param shares: uint256 of shares to add to account
  function _addPayee(
    address account
  , uint256 addShares
  ) internal {
    if (account == address(0)) {
      revert MaxSplaining({
        reason: "PSV2:E3"
      });
    } else if (addShares == 0) {
      revert MaxSplaining({
        reason: "PSV2:E4"
      });
    } else if (_shares[account] > 0) {
      revert MaxSplaining({
        reason: "PSV2:E5"
      });
    }

    _payees.push(account);
    _shares[account] = addShares;
    _totalShares = _totalShares + addShares;

    emit PayeeAdded(account, addShares);
  }

  // @dev: finds index of an account in _payees
  // @param account: address of account to find
  // @return index: position of account in address[] _payees
  function _findIndex(
    address account
  ) internal
    view
    returns (uint index) {
    uint len = _payees.length;
    for (uint x = 0; x < len;) {
      if (_payees[x] == account) {
        index = x;
      }
      unchecked {
        ++x;
      }
    }
  }

  // @dev: removes an account in _payees
  // @param account: address of account to remove
  // @notice: will keep payment data in there
  function _removePayee(
    address account
  ) internal {
    if (account == address(0)) {
      revert MaxSplaining({
        reason: "PSV2:E3"
      });
    }

    // This finds the payee in the array _payees and removes it
    uint remove = _findIndex(account);
    address last = _payees[_payees.length - 1];
    _payees[remove] = last;
    _payees.pop();

    uint removeTwo = _shares[account];
    _shares[account] = 0;
    _totalShares = _totalShares - removeTwo;

    emit PayeeRemoved(account, removeTwo);
  }

  // @dev: this clears all shares/users from PaymentSplitterV3
  //       this WILL leave the payments already claimed on contract
  function _clearPayees()
    internal {
    uint len = _payees.length;
    for (uint x = 0; x < len;) {
      address account = _payees[x];
      _shares[account] = 0;
      unchecked {
         ++x;
      }
    }
    delete _totalShares;
    delete _payees;
    emit PayeesReset();
  }

  // Now the externals, listed by use

  // @dev: this claims all "eth" on contract for msg.sender
  function claim()
    external
    virtual
    override {
    _claimETH(msg.sender);
  }

  // @dev: This adds a payment split to PaymentSplitterV3.sol
  // @param newSplit: Address of payee
  // @param newShares: Shares to send user
  function addSplit (
    address newSplit
  , uint256 newShares
  ) external
    virtual
    override
    onlyDev() {
    _addPayee(newSplit, newShares);
  }

  // @dev: This pays all payment splits on PaymentSplitterV3.sol
  function paySplits()
    external
    virtual
    override
    onlyDev() {
    _payAll();
  }

  // @dev: This removes a payment split on PaymentSplitterV3.sol
  // @param remove: Address of payee to remove
  // @notice: use paySplits() prior to use if anything is on the contract
  function removeSplit (
    address remove
  ) external
    virtual
    override
    onlyDev() {
    _removePayee(remove);
  }

  // @dev: This removes all payment splits on PaymentSplitterV3.sol
  // @notice: use paySplits() prior to use if anything is on the contract
  function clearSplits()
    external
    virtual
    override
    onlyDev() {
    _clearPayees();
  }

  // @dev: returns total shares
  // @return: uint256 of all shares on contract
  function totalShares()
    external
    view
    virtual
    override
    returns (uint256) {
    return _totalShares;
  }

  // @dev: returns total releases in "eth"
  // @return: uint256 of all "eth" released in wei
  function totalReleased()
    external
    view
    virtual
    override
    returns (uint256) {
    return _totalReleased;
  }

  // @dev: returns shares of an address
  // @param account: address of account to return
  // @return: mapping(address => uint) of _shares
  function shares(
    address account
  ) external
    view
    virtual
    override
    returns (uint256) {
    return _shares[account];
  }

  // @dev: returns released "eth" of an account
  // @param account: address of account to look up
  // @return: mapping(address => uint) of _released
  function released(
    address account
  ) external
    view
    virtual
    override
    returns (uint256) {
    return _released[account];
  }

  // @dev: returns index number of payee
  // @param index: number of index
  // @return: address at _payees[index]
  function payee(
    uint256 index
  ) external
    view
    virtual
    override
    returns (address) {
    return _payees[index];
  }

  // @dev: returns amount of "eth" that can be released to account
  // @param account: address of account to look up
  // @return: uint in wei of "eth" to release
  function releasable(
    address account
  ) external
    view
    virtual
    override
    returns (uint256) {
    return _pendingPayment(account);
  }
}

File 34 of 38 : ITimeCop.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: ITimeCop.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Time based interface for Solidity
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface ITimeCop is IERC165 {

  function setPresale(
    uint time
  , uint duration
  ) external;

  function showPresaleStart()
    external
    view
    returns (uint);

  function showStart()
    external
    view
    returns (uint);
}

File 35 of 38 : TimeCop.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: TimeCop.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Time based mechanism for Solidity
 * @custom:error-code TC:E1 State not set
 * @custom:change-log added custom error code
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "./ITimeCop.sol";
import "../../access/MaxAccess.sol";

abstract contract TimeCop is MaxAccess
                           , ITimeCop {

  uint internal startPresale;
  uint internal presaleDuration;

  event PresaleSet(uint start, uint length);

  function setPresale(
    uint time
  , uint duration
  ) external
    onlyDev() {
    startPresale = time;
    presaleDuration = duration;
    emit PresaleSet(time, duration);
  }

  function showPresaleStart()
    external
    view
    virtual
    override (ITimeCop)
    returns (uint) {
    return startPresale;
  }

  function showStart()
    external
    view
    virtual
    override (ITimeCop)
    returns (uint) {
    return startPresale + presaleDuration;
  }

  modifier onlyPresale() {
    if (block.timestamp < startPresale) {
      revert TooSoonJunior({
        yourTime: block.timestamp
      , hitTime: startPresale
      });
    }
    if (block.timestamp >= startPresale + presaleDuration) {
      revert TooLateBoomer({
        yourTime: block.timestamp
      , hitTime: startPresale + presaleDuration
      });
    }
    _;
  }

  modifier onlySale() {
    if (block.timestamp < startPresale + presaleDuration) {
      revert TooSoonJunior({
        yourTime: block.timestamp
      , hitTime: startPresale + presaleDuration
      });
    }
    if (startPresale == 0) {
      revert MaxSplaining({
        reason: "TC:E1"
      });
    }
    _;
  }
}

File 36 of 38 : IWhitelist.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: IWhitelist.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Interface for Whitelist
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface IWhitelist is IERC165 {

  // @notice enables the bool
  function enableWhitelist()
    external;

  // @notice disables the bool
  function disableWhitelist()
    external;

  // @dev will return user status on whitelist
  // @return - bool if whitelist is enabled or not
  // @param myAddress - any user account address, EOA or contract
  function myWhitelistStatus(
    address myAddress
  ) external
    view
    returns (bool);

  // @dev will return status of whitelist
  // @return - bool if whitelist is enabled or not
  function whitelistStatus()
    external
    view
    returns (bool);
}

File 37 of 38 : IWhitelistV3.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: IWhitelistV3.sol
 * @author: Max Flow O2 -> @MaxFlowO2 on bird app/GitHub
 * @notice: Interface for WhitelistV2.sol add on for ERC20/721/777/1155 tokens
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "./IWhitelist.sol";

interface IWhitelistV3 is IWhitelist {

  // @notice adding functions to whitelist
  // @param newAddresses - array of addresses to add
  // @param newQuants - arrray of quantites allowed
  function addBatchWhitelist(
    address[] memory newAddresses
  , uint[] memory newQuants
  ) external;

  // @notice adding functions to whitelist
  // @param newAddress - address to add
  // @param newQuant - quantity allowed
  function addWhitelist(
    address newAddress
  , uint newQuant
  ) external;

  // @notice removing functions to whitelist
  // @param newAddresses - array of addresses to remove
  function removeBatchWhitelist(
    address[] memory newAddresses
  ) external;

  // @notice removing functions to whitelist
  // @param newAddress - address to remove
  function removeWhitelist(
    address newAddress
  ) external;

}

File 38 of 38 : WhitelistV3.sol
/*     +%%#-                           ##.        =+.    .+#%#+:       *%%#:    .**+-      =+
 *   .%@@*#*:                          @@: *%-   #%*=  .*@@=.  =%.   .%@@*%*   [email protected]@=+=%   .%##
 *  .%@@- -=+                         *@% :@@-  #@=#  [email protected]@*     [email protected]  :@@@: ==* -%%. ***   #@=*
 *  %@@:  -.*  :.                    [email protected]@-.#@#  [email protected]%#.   :.     [email protected]*  :@@@.  -:# .%. *@#   *@#*
 * *%@-   +++ [email protected]#.-- .*%*. .#@@*@#  %@@%*#@@: [email protected]@=-.         -%-   #%@:   +*-   =*@*   [email protected]%=:
 * @@%   =##  [email protected]@#-..%%:%[email protected]@[email protected]@+  ..   [email protected]%  #@#*[email protected]:      .*=     @@%   =#*   -*. +#. %@#+*@
 * @@#  [email protected]*   #@#  [email protected]@. [email protected]@+#*@% =#:    #@= :@@-.%#      -=.  :   @@# .*@*  [email protected]=  :*@:[email protected]@-:@+
 * -#%[email protected]#-  :@#@@+%[email protected]*@*:=%+..%%#=      *@  *@++##.    =%@%@%%#-  =#%[email protected]#-   :*+**+=: %%++%*
 *
 * @title: WhitelistV3.sol
 * @author: @MaxFlowO2 on bird app/GitHub
 * @notice: Provides a whitelist capability that can be added to and removed easily.
 * @custom:error-code WLV3:E1 address.length and quant.length mismatch
 * @custom:change-log Custom errors added above
 */

// SPDX-License-Identifier: Apache-2.0

/******************************************************************************
 * Copyright 2022 Max Flow O2                                                 *
 *                                                                            *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *     http://www.apache.org/licenses/LICENSE-2.0                             *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 ******************************************************************************/

pragma solidity >=0.8.0 <0.9.0;

import "../../access/MaxAccess.sol";
import "../../lib/WhitelistV2.sol";
import "./IWhitelistV3.sol";

abstract contract WhitelistV3 is MaxAccess
                               , IWhitelistV3 {

  using WhitelistV2 for WhitelistV2.List;
  
  WhitelistV2.List internal whitelist;

  // internals of contract

  function _oneWLMint(
    address user
  ) internal {
    whitelist.wlMint(user);
  }

  function _addWhitelist(
    address newAddress
  , uint newQuant
  ) internal {
    whitelist.add(newAddress, newQuant);
  }

  function _addBatchWhitelist(
    address[] memory newAddresses
  , uint[] memory newQuants
  ) internal {
    uint check = newQuants.length;
    uint length = newAddresses.length;
    if (check != length) {
      revert MaxSplaining ({
        reason: "WLV3:E1"
      });
    }
    for(uint x = 0; x < length;) {
      whitelist.add(newAddresses[x], newQuants[x]);
      unchecked { ++x; }
    }
  }

  function _removeWhitelist(
    address newAddress
  ) internal {
    whitelist.remove(newAddress);
  }

  function _removeBatchWhitelist(
    address[] memory newAddresses
  ) internal {
    uint length = newAddresses.length;
    for(uint x = 0; x < length;) {
      whitelist.remove(newAddresses[x]);
      unchecked { ++x; }
    }
  }

  function _enableWhitelist()
    internal {
    whitelist.enable();
  }

  function _disableWhitelist()
    internal {
    whitelist.disable();
  }

  // @dev will return user status on whitelist
  // @return - bool if whitelist is enabled or not
  // @param myAddress - any user account address, EOA or contract
  function _myWhitelistStatus(
    address myAddress
  ) internal
    view
    returns (bool) {
    return whitelist.onList(myAddress);
  }

  // Externals of contract

  function addWhitelist(
    address newAddress
  , uint newQuant
  ) external
    virtual
    override
    onlyDev() {
    _addWhitelist(newAddress, newQuant);
  }

  function addBatchWhitelist(
    address[] memory newAddresses
  , uint[] memory newQuants
  ) external
    virtual
    override
    onlyDev() {
    _addBatchWhitelist(newAddresses, newQuants);
  }

  function removeWhitelist(
    address newAddress
  ) external
    virtual
    override
    onlyDev() {
    _removeWhitelist(newAddress);
  }

  function removeBatchWhitelist(
    address[] memory newAddresses
  ) external
    virtual
    override
    onlyDev() {
    _removeBatchWhitelist(newAddresses);
  }

  function enableWhitelist()
    external
    virtual
    override
    onlyDev() {
    _enableWhitelist();
  }

  function disableWhitelist()
    external
    virtual
    override
    onlyDev() {
    _disableWhitelist();
  }

  // @dev will return user status on whitelist
  // @return - bool if whitelist is enabled or not
  // @param myAddress - any user account address, EOA or contract
  function myWhitelistStatus(
    address myAddress
  ) external
    view
    virtual
    override
    returns (bool) {
    return whitelist.onList(myAddress);
  }

  // @dev will return status of whitelist
  // @return - bool if whitelist is enabled or not
  function whitelistStatus()
    external
    view
    virtual
    override
    returns (bool) {
    return whitelist.status();
  }

}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 10000
  },
  "evmVersion": "london",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"string","name":"reason","type":"string"}],"name":"MaxSplaining","type":"error"},{"inputs":[{"internalType":"string","name":"reason","type":"string"}],"name":"MaxSplaining","type":"error"},{"inputs":[{"internalType":"string","name":"reason","type":"string"}],"name":"MaxSplaining","type":"error"},{"inputs":[{"internalType":"string","name":"reason","type":"string"}],"name":"MaxSplaining","type":"error"},{"inputs":[{"internalType":"uint256","name":"yourTime","type":"uint256"},{"internalType":"uint256","name":"hitTime","type":"uint256"}],"name":"TooLateBoomer","type":"error"},{"inputs":[{"internalType":"uint256","name":"yourTime","type":"uint256"},{"internalType":"uint256","name":"hitTime","type":"uint256"}],"name":"TooSoonJunior","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeRemoved","type":"event"},{"anonymous":false,"inputs":[],"name":"PayeesReset","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"length","type":"uint256"}],"name":"PresaleSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"numberToMint","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"teamMints","type":"uint256"}],"name":"SetStartNumbers","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ThankYou","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_old","type":"string"},{"indexed":false,"internalType":"string","name":"_new","type":"string"}],"name":"UpdatedBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"value","type":"uint16"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"}],"name":"royalatiesSet","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"RevealProvenanceImages","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RevealProvenanceJSON","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RevealStartID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptDeveloper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"newAddresses","type":"address[]"},{"internalType":"uint256[]","name":"newQuants","type":"uint256[]"}],"name":"addBatchWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSplit","type":"address"},{"internalType":"uint256","name":"newShares","type":"uint256"}],"name":"addSplit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"},{"internalType":"uint256","name":"newQuant","type":"uint256"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearSplits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"declineDeveloper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"declineOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"developer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"donate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"enableWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"role","type":"bytes4"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"role","type":"bytes4"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"role","type":"bytes4"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minterCapacity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minterFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minterMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minterStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minterTeamMintsCapacity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minterTeamMintsMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"myAddress","type":"address"}],"name":"myWhitelistStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paySplits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quant","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quant","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newDeveloper","type":"address"}],"name":"pushDeveloper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"pushOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"newAddresses","type":"address[]"}],"name":"removeBatchWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"remove","type":"address"}],"name":"removeSplit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"removeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceDeveloper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"role","type":"bytes4"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"role","type":"bytes4"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_base","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newDisplay","type":"address"}],"name":"setDeveloper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintingCap","type":"uint256"},{"internalType":"uint256","name":"teamMints","type":"uint256"}],"name":"setLlamasEngine","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"number","type":"uint256"}],"name":"setMintFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newDisplay","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"setPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"img","type":"string"},{"internalType":"string","name":"json","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"},{"internalType":"uint16","name":"permille","type":"uint16"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"permille","type":"uint16"}],"name":"setRoyaltiesThis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"toggle","type":"bool"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"showPresaleStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"showStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newDeveloper","type":"address"}],"name":"transferDeveloper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600180546001600160a01b0319908116734ce69fd760ad0c07490178f9a47863dc0358cccd1790915560028054909116735ccf599b7d43bc3f576ea01ec0aa307ecbc941021790553480156200005957600080fd5b506040518060400160405280600f81526020016e416d65726963616e20476f7468696360881b815250604051806040016040528060068152602001650829a8e9ea8960d31b8152508181620000c763f851a44060e01b3060006200015560201b62002eac179092919060201c565b600154620000e7906303e1469160e61b906001600160a01b031662000249565b6002546200010790638da5cb5b60e01b906001600160a01b031662000249565b600154620001279063ca4b208b60e01b906001600160a01b031662000249565b60156200013583826200036d565b5060166200014482826200036d565b50506001601d555062000439915050565b6001600160a01b0381166200017c576040516282b42960e81b815260040160405180910390fd5b620001898383836200026a565b15620001cb57604051630330dbc960e11b815260206004820152600c60248201526b4c69622d526f6c65733a453160a01b604482015260640160405180910390fd5b6001600160a01b0381166000818152602085815260408083206001600160e01b03198716808552908352928190208054600160ff1990911681179091558151938452918301939093528183015290517fc8bed56f8e046b5a3f2c2b2be85045ea5c972dc18ad669157957897b4d26e9f79181900360600190a1505050565b62000266828260006200015560201b62002eac179092919060201c565b5050565b60006001600160a01b03821662000293576040516282b42960e81b815260040160405180910390fd5b506001600160a01b03166000908152602092835260408082206001600160e01b03199390931682529190925290205460ff1690565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002f357607f821691505b6020821081036200031457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200036857600081815260208120601f850160051c81016020861015620003435750805b601f850160051c820191505b8181101562000364578281556001016200034f565b5050505b505050565b81516001600160401b03811115620003895762000389620002c8565b620003a1816200039a8454620002de565b846200031a565b602080601f831160018114620003d95760008415620003c05750858301515b600019600386901b1c1916600185901b17855562000364565b600085815260208120601f198616915b828110156200040a57888601518255948401946001909101908401620003e9565b5085821015620004295787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b615e9580620004496000396000f3fe6080604052600436106105775760003560e01c806378c8cda7116102ca578063c5f9997d11610179578063d4d714be116100d6578063e33b7de31161008a578063ed88c68e1161006f578063ed88c68e14610f24578063f2fde38b14610f2c578063ff70fa4914610f4c576105b7565b8063e33b7de314610ec6578063e985e9c514610edb576105b7565b8063d792d2a0116100bb578063d792d2a014610e7c578063d95ae16214610e91578063de02cde714610ea6576105b7565b8063d4d714be14610e47578063d6b0f48414610e67576105b7565b8063c9b298f11161012d578063cdfb2b4e11610112578063cdfb2b4e14610ddc578063ce7c2ac214610df1578063d39ce77c14610e27576105b7565b8063c9b298f114610d9e578063ca4b208b14610dbe576105b7565b8063c6956dfb1161015e578063c6956dfb14610d49578063c8314bc114610d69578063c87b56dd14610d7e576105b7565b8063c5f9997d14610d09578063c64cc6b814610d29576105b7565b8063a3f8eace11610227578063ad6d9c17116101db578063b39d9009116101c0578063b39d900914610cb4578063b88d4fde14610cd4578063b91d9b8f14610cf4576105b7565b8063ad6d9c1714610c8a578063ae47b2da14610c9f576105b7565b8063a61a49671161020c578063a61a496714610c4b578063a86ff96014610c60578063aac3f28114610c75576105b7565b8063a3f8eace14610c16578063a41c151214610c36576105b7565b806395d89b411161027e5780639ddf7ad3116102635780639ddf7ad314610bcc578063a16b3b6a14610be1578063a22cb46514610bf6576105b7565b806395d89b4114610b815780639852595c14610b96576105b7565b80638b83209b116102af5780638b83209b14610b2e5780638da5cb5b14610b4e5780639435267614610b6c576105b7565b806378c8cda714610af957806379ba509714610b19576105b7565b80633400ec63116104265780635d06c715116103835780636d7b05e011610337578063715018a61161031c578063715018a614610aaf5780637357e3b814610ac45780637544671614610ae4576105b7565b80636d7b05e014610a6f57806370a0823114610a8f576105b7565b80636352211e116103685780636352211e14610a0f57806364cb4edb14610a2f57806366278a6c14610a4f576105b7565b80635d06c715146109da5780636149d871146109ef576105b7565b806344faded0116103da57806355f804b3116103bf57806355f804b3146109425780635ba5e9f0146109625780635c40f6f4146109ba576105b7565b806344faded01461090d5780634e71d92d1461092d576105b7565b80633a98ef391161040b5780633a98ef39146108b857806342842e0e146108cd57806342966c68146108ed576105b7565b80633400ec631461087857806338c410b514610898576105b7565b806313af4035116104d45780632a55205a116104885780632db115441161046d5780632db11544146108385780632ecd28ab1461084b57806331e26cfd14610863576105b7565b80632a55205a146107e45780632bfcf0f214610823576105b7565b806318a66a7e116104b957806318a66a7e1461078f57806323b872dd146107a457806328cfbd46146107c4576105b7565b806313af40351461075a57806318160ddd1461077a576105b7565b8063095ea7b31161052b5780630f0efdbc116105105780630f0efdbc146106fd57806310ab94321461071d57806312065fe01461073d576105b7565b8063095ea7b3146106bd5780630c222ee5146106dd576105b7565b806306b6f7e91161055c57806306b6f7e91461064357806306fdde0314610663578063081812fc14610685576105b7565b806301ffc9a7146105ec578063034601ec14610621576105b7565b366105b757604080513381523460208201527f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77091015b60405180910390a1005b604080513381523460208201527f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77091016105ad565b3480156105f857600080fd5b5061060c6106073660046151ee565b610f6c565b60405190151581526020015b60405180910390f35b34801561062d57600080fd5b5061064161063c366004615316565b611014565b005b34801561064f57600080fd5b5061064161065e366004615374565b611034565b34801561066f57600080fd5b5061067861108b565b60405161061891906153dd565b34801561069157600080fd5b506106a56106a0366004615374565b61111d565b6040516001600160a01b039091168152602001610618565b3480156106c957600080fd5b506106416106d83660046153f0565b6111c3565b3480156106e957600080fd5b506106416106f836600461542c565b6112ef565b34801561070957600080fd5b506106416107183660046153f0565b611374565b34801561072957600080fd5b5061060c610738366004615456565b6113c4565b34801561074957600080fd5b50475b604051908152602001610618565b34801561076657600080fd5b50610641610775366004615482565b6113d7565b34801561078657600080fd5b5061074c6114ff565b34801561079b57600080fd5b50610641611523565b3480156107b057600080fd5b506106416107bf36600461549d565b611573565b3480156107d057600080fd5b506106416107df366004615549565b6115fb565b3480156107f057600080fd5b506108046107ff3660046155ce565b611692565b604080516001600160a01b039093168352602083019190915201610618565b34801561082f57600080fd5b506106416116e0565b610641610846366004615374565b6117ac565b34801561085757600080fd5b5060135460ff1661060c565b34801561086f57600080fd5b506106416119f3565b34801561088457600080fd5b50610641610893366004615482565b611a65565b3480156108a457600080fd5b506106416108b33660046155f0565b611ab4565b3480156108c457600080fd5b5060065461074c565b3480156108d957600080fd5b506106416108e836600461549d565b611c0b565b3480156108f957600080fd5b50610641610908366004615374565b611c26565b34801561091957600080fd5b50610641610928366004615456565b611c86565b34801561093957600080fd5b50610641611dfb565b34801561094e57600080fd5b5061064161095d366004615654565b611e04565b34801561096e57600080fd5b5061098961097d3660046151ee565b506303e1469160e61b90565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610618565b3480156109c657600080fd5b506106416109d5366004615699565b611f27565b3480156109e657600080fd5b50600c5461074c565b3480156109fb57600080fd5b50610641610a0a366004615482565b611f76565b348015610a1b57600080fd5b506106a5610a2a366004615374565b611fce565b348015610a3b57600080fd5b50610641610a4a366004615482565b612059565b348015610a5b57600080fd5b50610641610a6a3660046151ee565b6120aa565b348015610a7b57600080fd5b50610641610a8a366004615716565b6120dc565b348015610a9b57600080fd5b5061074c610aaa366004615482565b61212c565b348015610abb57600080fd5b506106416121c6565b348015610ad057600080fd5b50610641610adf3660046155ce565b612238565b348015610af057600080fd5b5061074c612288565b348015610b0557600080fd5b50610641610b14366004615482565b61229a565b348015610b2557600080fd5b506106416122e9565b348015610b3a57600080fd5b506106a5610b49366004615374565b612385565b348015610b5a57600080fd5b506002546001600160a01b03166106a5565b348015610b7857600080fd5b506106786123b5565b348015610b8d57600080fd5b506106786123c7565b348015610ba257600080fd5b5061074c610bb1366004615482565b6001600160a01b031660009081526009602052604090205490565b348015610bd857600080fd5b5061060c6123d6565b348015610bed57600080fd5b506106416123e4565b348015610c0257600080fd5b50610641610c11366004615770565b612432565b348015610c2257600080fd5b5061074c610c31366004615482565b61243d565b348015610c4257600080fd5b50600e5461074c565b348015610c5757600080fd5b5061074c612448565b348015610c6c57600080fd5b50610641612454565b348015610c8157600080fd5b5060035461074c565b348015610c9657600080fd5b506106416124c6565b348015610cab57600080fd5b50610641612506565b348015610cc057600080fd5b50610641610ccf3660046153f0565b612585565b348015610ce057600080fd5b50610641610cef36600461579a565b6125d5565b348015610d0057600080fd5b5061074c612663565b348015610d1557600080fd5b50610641610d243660046157f6565b61266f565b348015610d3557600080fd5b50610641610d4436600461582b565b6126be565b348015610d5557600080fd5b5061060c610d64366004615482565b61273f565b348015610d7557600080fd5b50600d5461074c565b348015610d8a57600080fd5b50610678610d99366004615374565b61275f565b348015610daa57600080fd5b50610641610db9366004615374565b612829565b348015610dca57600080fd5b506001546001600160a01b03166106a5565b348015610de857600080fd5b506106416129b7565b348015610dfd57600080fd5b5061074c610e0c366004615482565b6001600160a01b031660009081526008602052604090205490565b348015610e3357600080fd5b50610641610e42366004615482565b612a05565b348015610e5357600080fd5b50610641610e623660046155ce565b612a76565b348015610e7357600080fd5b50610641612afc565b348015610e8857600080fd5b50610678612b4a565b348015610e9d57600080fd5b50600b5461074c565b348015610eb257600080fd5b50610641610ec1366004615456565b612b5c565b348015610ed257600080fd5b5060075461074c565b348015610ee757600080fd5b5061060c610ef6366004615846565b6001600160a01b039182166000908152601a6020908152604080832093909416825291909152205460ff1690565b610641612d0f565b348015610f3857600080fd5b50610641610f47366004615482565b612d4a565b348015610f5857600080fd5b50610641610f67366004615482565b612de6565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480610fff57507fffffffff0000000000000000000000000000000000000000000000000000000082167f2b89bcaa00000000000000000000000000000000000000000000000000000000145b8061100e575061100e82612fdf565b92915050565b61102f838383604051806020016040528060008152506115fb565b505050565b61104563ca4b208b60e01b336130c2565b61107f57604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b60448201526064015b60405180910390fd5b611088816130cf565b50565b60606015805461109a90615862565b80601f01602080910402602001604051908101604052809291908181526020018280546110c690615862565b80156111135780601f106110e857610100808354040283529160200191611113565b820191906000526020600020905b8154815290600101906020018083116110f657829003601f168201915b5050505050905090565b6000818152601760205260408120546001600160a01b03166111a75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401611076565b506000908152601960205260409020546001600160a01b031690565b60006111ce82611fce565b9050806001600160a01b0316836001600160a01b0316036112575760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401611076565b336001600160a01b038216148061127357506112738133610ef6565b6112e55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401611076565b61102f83836130da565b6113197f8da5cb5b00000000000000000000000000000000000000000000000000000000336130c2565b61136657604051630330dbc960e11b815260206004820152600560248201527f4d413a45350000000000000000000000000000000000000000000000000000006044820152606401611076565b6113708282613160565b5050565b61138563ca4b208b60e01b336130c2565b6113ba57604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b611370828261325f565b60006113d083836130c2565b9392505050565b6114017f8da5cb5b00000000000000000000000000000000000000000000000000000000336130c2565b61144e57604051630330dbc960e11b815260206004820152600560248201527f4d413a45350000000000000000000000000000000000000000000000000000006044820152606401611076565b6114787f8da5cb5b00000000000000000000000000000000000000000000000000000000826130c2565b6114c557604051630330dbc960e11b815260206004820152600560248201527f4d413a45350000000000000000000000000000000000000000000000000000006044820152606401611076565b600280547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600061150a60145490565b611514600b613430565b61151e91906158e4565b905090565b61153463ca4b208b60e01b336130c2565b61156957604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b61157161343d565b565b61157e335b826134cc565b6115f05760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401611076565b61102f8383836135d0565b815160005b818110156116355761162d868686848151811061161f5761161f6158f7565b6020026020010151866137b5565b600101611600565b50836001600160a01b0316856001600160a01b0316336001600160a01b03167f2e75a6cf483a33fd7e40b01fc5b561361f6e9b2d5a492f866bd66ca430a8c557866040516116839190615926565b60405180910390a45050505050565b6005546001600160a01b038116906000906103e8906116cd9074010000000000000000000000000000000000000000900461ffff168561596a565b6116d791906159b0565b90509250929050565b7fca4b208a0000000000000000000000000000000000000000000000000000000061170b81336130c2565b8061172257506117226303e1469160e61b336130c2565b1561176357336117527fca4b208a000000000000000000000000000000000000000000000000000000008261383e565b61137063ca4b208b60e01b8261384a565b604051630330dbc960e11b815260206004820152600560248201527f4d413a45310000000000000000000000000000000000000000000000000000006044820152606401611076565b60135460ff166117ff57604051630330dbc960e11b815260206004820152600960248201527f4c6c616d61733a453200000000000000000000000000000000000000000000006044820152606401611076565b60045460035461180f91906159c4565b421015611862574260045460035461182791906159c4565b6040517ff3f82ac500000000000000000000000000000000000000000000000000000000815260048101929092526024820152604401611076565b6003546000036118b557604051630330dbc960e11b815260206004820152600560248201527f54433a45310000000000000000000000000000000000000000000000000000006044820152606401611076565b600b5481906118c4908261596a565b34101561191457604051630330dbc960e11b815260206004820152600960248201527f4c6c616d61733a453100000000000000000000000000000000000000000000006044820152606401611076565b6002601d54036119665760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611076565b6002601d5560058211156119bd57604051630330dbc960e11b815260206004820152600760248201527f4d61696e3a4531000000000000000000000000000000000000000000000000006044820152606401611076565b60005b828110156119e9576119d9336119d4613856565b613862565b6119e161387c565b6001016119c0565b50506001601d5550565b7fca4b208a00000000000000000000000000000000000000000000000000000000611a1e81336130c2565b80611a355750611a356303e1469160e61b336130c2565b1561176357336113707fca4b208a000000000000000000000000000000000000000000000000000000008261383e565b611a7663ca4b208b60e01b336130c2565b611aab57604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b61108881613886565b600d54600003611b0757604051630330dbc960e11b815260206004820152600960248201527f4c6c616d61733a453300000000000000000000000000000000000000000000006044820152606401611076565b601354610100900460ff1615611b6057604051630330dbc960e11b815260206004820152600a60248201527f4c6c616d61733a45343a000000000000000000000000000000000000000000006044820152606401611076565b6000611b6c600b613430565b1115611bbb57604051630330dbc960e11b815260206004820152600960248201527f4c6c616d61733a453500000000000000000000000000000000000000000000006044820152606401611076565b611bcc63ca4b208b60e01b336130c2565b611c0157604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b6113708282613a2c565b61102f838383604051806020016040528060008152506125d5565b611c2f33611578565b611c7557611c3e336014613a56565b604051602001611c4e91906159d7565b60408051601f1981840301815290829052630330dbc960e11b8252611076916004016153dd565b611c7e81613c7f565b611088613d32565b81611c9181336130c2565b80611ca85750611ca86303e1469160e61b336130c2565b15611763577f35b4df76000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000841601611d4f576001600160a01b0382163314611d4f57604051630330dbc960e11b815260206004820152600560248201527f4d413a45320000000000000000000000000000000000000000000000000000006044820152606401611076565b7f725a34a6000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000841601611df1576001600160a01b0382163314611df157604051630330dbc960e11b815260206004820152600560248201527f4d413a45330000000000000000000000000000000000000000000000000000006044820152606401611076565b61102f838361383e565b61157133613d40565b611e1563ca4b208b60e01b336130c2565b611e4a57604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b6000601e8054611e5990615862565b80601f0160208091040260200160405190810160405280929190818152602001828054611e8590615862565b8015611ed25780601f10611ea757610100808354040283529160200191611ed2565b820191906000526020600020905b815481529060010190602001808311611eb557829003601f168201915b5050505050905081601e9081611ee89190615a91565b507fd2877107a884510f506ed0bd833e6601f4344691e32a0ce4bcdedb1d9d9d28e181601e604051611f1b929190615b51565b60405180910390a15050565b611f3863ca4b208b60e01b336130c2565b611f6d57604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b61108881613e84565b63ca4b208b60e01b611f8881336130c2565b80611f9f5750611f9f6303e1469160e61b336130c2565b15611763576113707fca4b208a000000000000000000000000000000000000000000000000000000008361384a565b6000818152601760205260408120546001600160a01b03168061100e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401611076565b63ca4b208b60e01b61206b81336130c2565b8061208257506120826303e1469160e61b336130c2565b15611763573361209963ca4b208b60e01b8461384a565b61102f63ca4b208b60e01b8261383e565b806120b581336130c2565b806120cc57506120cc6303e1469160e61b336130c2565b15611763573361102f838261383e565b6120ed63ca4b208b60e01b336130c2565b61212257604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b6113708282613e8f565b60006001600160a01b0382166121aa5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401611076565b506001600160a01b031660009081526018602052604090205490565b7f8da5cb5b000000000000000000000000000000000000000000000000000000006121f181336130c2565b8061220857506122086303e1469160e61b336130c2565b1561176357336113707f8da5cb5b000000000000000000000000000000000000000000000000000000008261383e565b61224963ca4b208b60e01b336130c2565b61227e57604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b6113708282613f45565b600060045460035461151e91906159c4565b6122ab63ca4b208b60e01b336130c2565b6122e057604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b61108881613f91565b7f8da5cb5a0000000000000000000000000000000000000000000000000000000061231481336130c2565b8061232b575061232b6303e1469160e61b336130c2565b15611763573361235b7f8da5cb5a000000000000000000000000000000000000000000000000000000008261383e565b6113707f8da5cb5b000000000000000000000000000000000000000000000000000000008261384a565b6000600a828154811061239a5761239a6158f7565b6000918252602090912001546001600160a01b031692915050565b6060600b600501805461109a90615862565b60606016805461109a90615862565b600061151e601b5460ff1690565b6123f563ca4b208b60e01b336130c2565b61242a57604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b611571613f9c565b611370338383613fe2565b600061100e826140b0565b600061151e600b614103565b7f8da5cb5a0000000000000000000000000000000000000000000000000000000061247f81336130c2565b8061249657506124966303e1469160e61b336130c2565b1561176357336113707f8da5cb5a000000000000000000000000000000000000000000000000000000008261383e565b63ca4b208b60e01b6124d881336130c2565b806124ef57506124ef6303e1469160e61b336130c2565b15611763573361137063ca4b208b60e01b8261383e565b6125307f8da5cb5b00000000000000000000000000000000000000000000000000000000336130c2565b61257d57604051630330dbc960e11b815260206004820152600560248201527f4d413a45350000000000000000000000000000000000000000000000000000006044820152606401611076565b611571614110565b61259663ca4b208b60e01b336130c2565b6125cb57604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b611370828261418c565b6125df33836134cc565b6126515760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401611076565b61265d848484846137b5565b50505050565b600061151e600b613430565b61268063ca4b208b60e01b336130c2565b6126b557604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b61108881614198565b6126e87f8da5cb5b00000000000000000000000000000000000000000000000000000000336130c2565b61273557604051630330dbc960e11b815260206004820152600560248201527f4d413a45350000000000000000000000000000000000000000000000000000006044820152606401611076565b6110883082613160565b6001600160a01b0381166000908152601c6020526040812054151561100e565b6000818152601760205260409020546060906001600160a01b031661279757612787826141da565b604051602001611c4e9190615bec565b60006127a161430f565b60408051808201909152600581527f2e6a736f6e00000000000000000000000000000000000000000000000000000060208201528151919250906127f45760405180602001604052806000815250612821565b816127fe856141da565b8260405160200161281193929190615c58565b6040516020818303038152906040525b949350505050565b60135460ff1661287c57604051630330dbc960e11b815260206004820152600960248201527f4c6c616d61733a453200000000000000000000000000000000000000000000006044820152606401611076565b6003544210156128c5576003546040517ff3f82ac50000000000000000000000000000000000000000000000000000000081524260048201526024810191909152604401611076565b6004546003546128d591906159c4565b421061292757426004546003546128ec91906159c4565b6040517f43c540ef00000000000000000000000000000000000000000000000000000000815260048101929092526024820152604401611076565b6002601d54036129795760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611076565b6002601d5560005b818110156129ae57612995336119d4613856565b61299d61387c565b6129a63361431e565b600101612981565b50506001601d55565b6129c863ca4b208b60e01b336130c2565b6129fd57604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b611571614329565b7f8da5cb5b00000000000000000000000000000000000000000000000000000000612a3081336130c2565b80612a475750612a476303e1469160e61b336130c2565b15611763576113707f8da5cb5a000000000000000000000000000000000000000000000000000000008361384a565b612a8763ca4b208b60e01b336130c2565b612abc57604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b6003829055600481905560408051838152602081018390527f5ef81ff0fe28d74938986521db9f3fb5637cae3d1cec04a94b4a0d3a3b0fc3c49101611f1b565b612b0d63ca4b208b60e01b336130c2565b612b4257604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b611571614333565b6060600b600401805461109a90615862565b81612b6781336130c2565b80612b7e5750612b7e6303e1469160e61b336130c2565b15611763577f35b4df76000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000841601612c4457612bf67fca4b208a00000000000000000000000000000000000000000000000000000000336130c2565b15612c4457604051630330dbc960e11b815260206004820152600560248201527f4d413a45320000000000000000000000000000000000000000000000000000006044820152606401611076565b7f725a34a6000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000841601612d0557612cb77f8da5cb5a00000000000000000000000000000000000000000000000000000000336130c2565b15612d0557604051630330dbc960e11b815260206004820152600560248201527f4d413a45330000000000000000000000000000000000000000000000000000006044820152606401611076565b61102f838361384a565b604080513381523460208201527f9a064d674ddc42ac41b38566457161f1ded37e65a59162da003dd25bcb057b6091015b60405180910390a1565b7f8da5cb5b00000000000000000000000000000000000000000000000000000000612d7581336130c2565b80612d8c5750612d8c6303e1469160e61b336130c2565b156117635733612dbc7f8da5cb5b000000000000000000000000000000000000000000000000000000008461384a565b61102f7f8da5cb5b000000000000000000000000000000000000000000000000000000008261383e565b612df763ca4b208b60e01b336130c2565b612e2c57604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b612e3d63ca4b208b60e01b826130c2565b612e7257604051630330dbc960e11b815260206004820152600560248201526413504e914d60da1b6044820152606401611076565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6001600160a01b038116612eec576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ef783838361433d565b15612f4557604051630330dbc960e11b815260206004820152600c60248201527f4c69622d526f6c65733a453100000000000000000000000000000000000000006044820152606401611076565b6001600160a01b0381166000818152602085815260408083207fffffffff00000000000000000000000000000000000000000000000000000000871680855290835292819020805460ff19166001908117909155815193845291830193909352918101919091527fc8bed56f8e046b5a3f2c2b2be85045ea5c972dc18ad669157957897b4d26e9f7906060015b60405180910390a1505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061307257507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061100e57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161461100e565b60006113d081848461433d565b611088600b826143cc565b600081815260196020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061312782611fce565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6103e88161ffff16101580613177575061ffff8116155b156131c557604051630330dbc960e11b815260206004820152600a60248201527f455243323938313a4531000000000000000000000000000000000000000000006044820152606401611076565b600580546001600160a01b038481167fffffffffffffffffffff00000000000000000000000000000000000000000000909216919091177401000000000000000000000000000000000000000061ffff858116820292909217938490556040805191850490921681529290911660208301527f203bd2fc7b05c6618576f55822ce352bedf94489cdcaa29261b616c03676db8c9101611f1b565b6001600160a01b0382166132b657604051630330dbc960e11b815260206004820152600760248201527f505356323a4533000000000000000000000000000000000000000000000000006044820152606401611076565b8060000361330757604051630330dbc960e11b815260206004820152600760248201527f505356323a4534000000000000000000000000000000000000000000000000006044820152606401611076565b6001600160a01b0382166000908152600860205260409020541561336e57604051630330dbc960e11b815260206004820152600760248201527f505356323a4535000000000000000000000000000000000000000000000000006044820152606401611076565b600a8054600181019091557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03841690811790915560009081526008602052604090208190556006546133ee9082906159c4565b600655604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac9101611f1b565b600061100e826006015490565b600a5460005b8181101561348b576000600a8281548110613460576134606158f7565b60009182526020808320909101546001600160a01b0316825260089052604081205550600101613443565b50600660009055600a60006134a0919061518e565b6040517f3407fd525bf6581e0ae8e3a3636bd90d02112bea34d66802743c28ced73f910e90600090a150565b6000818152601760205260408120546001600160a01b03166135565760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401611076565b600061356183611fce565b9050806001600160a01b0316846001600160a01b0316148061359c5750836001600160a01b03166135918461111d565b6001600160a01b0316145b8061282157506001600160a01b038082166000908152601a602090815260408083209388168352929052205460ff16612821565b826001600160a01b03166135e382611fce565b6001600160a01b03161461365f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401611076565b6001600160a01b0382166136da5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401611076565b6136e56000826130da565b6001600160a01b038316600090815260186020526040812080546001929061370e9084906158e4565b90915550506001600160a01b038216600090815260186020526040812080546001929061373c9084906159c4565b909155505060008181526017602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6137c08484846135d0565b6137cc84848484614407565b61265d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401611076565b611370600083836145a8565b61137060008383612eac565b600061151e600b6146c7565b6113708282604051806020016040528060008152506146f2565b611571600b61477b565b6001600160a01b0381166138dd57604051630330dbc960e11b815260206004820152600760248201527f505356323a4533000000000000000000000000000000000000000000000000006044820152606401611076565b60006138e88261478b565b600a80549192506000916138fe906001906158e4565b8154811061390e5761390e6158f7565b600091825260209091200154600a80546001600160a01b03909216925082918490811061393d5761393d6158f7565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600a80548061397c5761397c615c9b565b60008281526020808220830160001990810180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690559092019092556001600160a01b0385168252600890526040812080549190556006546139e19082906158e4565b600655604080516001600160a01b0386168152602081018390527f104b8837ec12e86f303ac7ce5e3bf20c6790f843fabd7451943f3390fc8376cb910160405180910390a150505050565b613a37600b826147e5565b613a42600b836148b9565b613a4c600b61498d565b611370600b614a67565b60606000613a6583600261596a565b613a709060026159c4565b67ffffffffffffffff811115613a8857613a88615227565b6040519080825280601f01601f191660200182016040528015613ab2576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613ae957613ae96158f7565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613b4c57613b4c6158f7565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000613b8884600261596a565b613b939060016159c4565b90505b6001811115613c30577f303132333435363738396162636465660000000000000000000000000000000085600f1660108110613bd457613bd46158f7565b1a60f81b828281518110613bea57613bea6158f7565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c93613c2981615cca565b9050613b96565b5083156113d05760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401611076565b6000613c8a82611fce565b9050613c976000836130da565b6001600160a01b0381166000908152601860205260408120805460019290613cc09084906158e4565b909155505060008281526017602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b611571601480546001019055565b6001600160a01b0381166000908152600860205260408120549003613da857604051630330dbc960e11b815260206004820152600760248201527f505356323a4531000000000000000000000000000000000000000000000000006044820152606401611076565b6000613db3826140b0565b905080600003613e0657604051630330dbc960e11b815260206004820152600760248201527f505356323a4532000000000000000000000000000000000000000000000000006044820152606401611076565b8060076000828254613e1891906159c4565b90915550506001600160a01b0382166000908152600960205260409020805482019055613e458282614ad1565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0569101611f1b565b611088600b82614bea565b80518251808214613ee357604051630330dbc960e11b815260206004820152600760248201527f574c56333a4531000000000000000000000000000000000000000000000000006044820152606401611076565b60005b81811015613f3e57613f36858281518110613f0357613f036158f7565b6020026020010151858381518110613f1d57613f1d6158f7565b6020026020010151601b614c2d9092919063ffffffff16565b600101613ee6565b5050505050565b613f50600b83614cf3565b613f5b600b82614d33565b60408051838152602081018390527fe045fb07ee42693019bf9ec7ad392907bc024ffc77ea53b2c8c14c92338521ef9101611f1b565b611088601b82614d73565b600a5460005b8181101561137057613fda600a8281548110613fc057613fc06158f7565b6000918252602090912001546001600160a01b0316613d40565b600101613fa2565b816001600160a01b0316836001600160a01b0316036140435760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401611076565b6001600160a01b038381166000818152601a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600080600754476140c191906159c4565b6007546006546001600160a01b03861660009081526008602052604090205492935090916140ef908461596a565b6140f991906159b0565b6113d091906158e4565b600061100e826007015490565b600580547fffffffffffffffffffff000000000000000000000000000000000000000000001690819055604080517401000000000000000000000000000000000000000090920461ffff168252600060208301527f203bd2fc7b05c6618576f55822ce352bedf94489cdcaa29261b616c03676db8c9101612d40565b611370601b8383614c2d565b805160005b8181101561102f576141d28382815181106141ba576141ba6158f7565b6020026020010151601b614d7390919063ffffffff16565b60010161419d565b60608160000361421d57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115614247578061423181615ce1565b91506142409050600a836159b0565b9150614221565b60008167ffffffffffffffff81111561426257614262615227565b6040519080825280601f01601f19166020018201604052801561428c576020820181803683370190505b5090505b8415612821576142a16001836158e4565b91506142ae600a86615cfb565b6142b99060306159c4565b60f81b8183815181106142ce576142ce6158f7565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350614308600a866159b0565b9450614290565b6060601e805461109a90615862565b611088601b82614e3a565b611571601b614f0b565b611571601b614fa3565b60006001600160a01b03821661437f576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b03166000908152602092835260408082207fffffffff000000000000000000000000000000000000000000000000000000009390931682529190925290205460ff1690565b815481835560408051838152602081018390527f388cba11a61d4b31467a533c88eef75abfb6097ff2ab4652d086560fffcc2f839101612fd2565b60006001600160a01b0384163b1561459d576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290614464903390899088908890600401615d0f565b6020604051808303816000875af192505050801561449f575060408051601f3d908101601f1916820190925261449c91810190615d4b565b60015b614552573d8080156144cd576040519150601f19603f3d011682016040523d82523d6000602084013e6144d2565b606091505b50805160000361454a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401611076565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612821565b506001949350505050565b6001600160a01b0381166145e8576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6145f383838361433d565b61464057604051630330dbc960e11b815260206004820152600c60248201527f4c69622d526f6c65733a453200000000000000000000000000000000000000006044820152606401611076565b6001600160a01b0381166000818152602085815260408083207fffffffff000000000000000000000000000000000000000000000000000000008716808552908352818420805460ff19169055815190815291820193909352918201527fc8bed56f8e046b5a3f2c2b2be85045ea5c972dc18ad669157957897b4d26e9f790606001612fd2565b600081600201546146d9836006015490565b83600101546146e891906159c4565b61100e9190615cfb565b6146fc8383615034565b6147096000848484614407565b61102f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401611076565b6110888160060180546001019055565b600a54600090815b818110156147de57836001600160a01b0316600a82815481106147b8576147b86158f7565b6000918252602090912001546001600160a01b0316036147d6578092505b600101614793565b5050919050565b60008260050180546147f690615862565b80601f016020809104026020016040519081016040528092919081815260200182805461482290615862565b801561486f5780601f106148445761010080835404028352916020019161486f565b820191906000526020600020905b81548152906001019060200180831161485257829003601f168201915b50505050509050818360050190816148879190615a91565b507f5769620297eb5047703c0ba55dd28b8ea50ba49818a91a43217fedce8eb69a308282604051612fd2929190615d68565b60008260040180546148ca90615862565b80601f01602080910402602001604051908101604052809291908181526020018280546148f690615862565b80156149435780601f1061491857610100808354040283529160200191614943565b820191906000526020600020905b81548152906001019060200180831161492657829003601f168201915b505050505090508183600401908161495b9190615a91565b507f7058c986a2931f38a70c3f70689d1f2bb75efb4d0082511082db4b2d40492b4f8282604051612fd2929190615d68565b80600201546000036149e257604051630330dbc960e11b815260206004820152600d60248201527f4c69622d4c6c616d61733a4531000000000000000000000000000000000000006044820152606401611076565b80600201544233836004018460050144604051602001614a06959493929190615e09565b6040516020818303038152906040528051906020012060001c614a299190615cfb565b600182018190556040519081527f74d17dde2d5b61215fe87f93cddcd2470527e8b0381734da7d0dfeb3fcf6f817906020015b60405180910390a150565b6008810180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100908117918290556040517ff409b8c4404a114fa8f045dedf3c882a53c0ad3356d79cdfedcfb5337b72593592614a5c92900460ff161515815260200190565b80471015614b215760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401611076565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114614b6e576040519150601f19603f3d011682016040523d82523d6000602084013e614b73565b606091505b505090508061102f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401611076565b60088201805460ff19168215159081179091556040519081527f285588ea10d23fc295b1451293aa04d9a4898041be76bb15f233fb682515391790602001611f1b565b6001600160a01b038216600090815260018401602052604090205415614c9657604051630330dbc960e11b815260206004820152600960248201527f4c69622d574c3a453300000000000000000000000000000000000000000000006044820152606401611076565b6001600160a01b03821660008181526001858101602090815260409283902085905582519182528101849052908101919091527f2adf4f278ecfc1091c2b6f8fef4c736b1a7c2d4fb0ce6e2c9d3836e4a38b11f090606001612fd2565b6002820180549082905560408051838152602081018390527fe26aa1327aec5016c96875498202eebb896e3c2a79cd281ff17ed5bde4e545db9101612fd2565b6003820180549082905560408051838152602081018390527fef40c7688f323b7ccad323bec82bfee336d16c0939c46bee1f3e5df296dadde39101612fd2565b6001600160a01b03811660009081526001830160205260408120549003614ddd57604051630330dbc960e11b815260206004820152600960248201527f4c69622d574c3a453400000000000000000000000000000000000000000000006044820152606401611076565b6001600160a01b03811660008181526001840160209081526040808320839055805183815291820192909252908101919091527f2adf4f278ecfc1091c2b6f8fef4c736b1a7c2d4fb0ce6e2c9d3836e4a38b11f090606001611f1b565b6001600160a01b038116600090815260018301602052604081205490819003614ea657604051630330dbc960e11b815260206004820152600960248201527f4c69622d574c3a453400000000000000000000000000000000000000000000006044820152606401611076565b6001600160a01b038216600081815260018581016020908152604092839020600019959095019485905582519182528101849052908101919091527f2adf4f278ecfc1091c2b6f8fef4c736b1a7c2d4fb0ce6e2c9d3836e4a38b11f090606001612fd2565b805460ff1615614f5e57604051630330dbc960e11b815260206004820152600960248201527f4c69622d574c3a453100000000000000000000000000000000000000000000006044820152606401611076565b805460ff191660019081178255604080516000815260208101929092527f13df3fb1e1f97107d1206b035d25d9a7e08cbfb3536d5b8a35773e74f768acbf9101614a5c565b805460ff16614ff557604051630330dbc960e11b815260206004820152600960248201527f4c69622d574c3a453200000000000000000000000000000000000000000000006044820152606401611076565b805460ff191681556040805160018152600060208201527f13df3fb1e1f97107d1206b035d25d9a7e08cbfb3536d5b8a35773e74f768acbf9101614a5c565b6001600160a01b03821661508a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401611076565b6000818152601760205260409020546001600160a01b0316156150ef5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401611076565b6001600160a01b03821660009081526018602052604081208054600192906151189084906159c4565b909155505060008181526017602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b508054600082559060005260206000209081019061108891905b808211156151bc57600081556001016151a8565b5090565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461108857600080fd5b60006020828403121561520057600080fd5b81356113d0816151c0565b80356001600160a01b038116811461522257600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561527f5761527f615227565b604052919050565b600067ffffffffffffffff8211156152a1576152a1615227565b5060051b60200190565b600082601f8301126152bc57600080fd5b813560206152d16152cc83615287565b615256565b82815260059290921b840181019181810190868411156152f057600080fd5b8286015b8481101561530b57803583529183019183016152f4565b509695505050505050565b60008060006060848603121561532b57600080fd5b6153348461520b565b92506153426020850161520b565b9150604084013567ffffffffffffffff81111561535e57600080fd5b61536a868287016152ab565b9150509250925092565b60006020828403121561538657600080fd5b5035919050565b60005b838110156153a8578181015183820152602001615390565b50506000910152565b600081518084526153c981602086016020860161538d565b601f01601f19169290920160200192915050565b6020815260006113d060208301846153b1565b6000806040838503121561540357600080fd5b61540c8361520b565b946020939093013593505050565b803561ffff8116811461522257600080fd5b6000806040838503121561543f57600080fd5b6154488361520b565b91506116d76020840161541a565b6000806040838503121561546957600080fd5b8235615474816151c0565b91506116d76020840161520b565b60006020828403121561549457600080fd5b6113d08261520b565b6000806000606084860312156154b257600080fd5b6154bb8461520b565b92506154c96020850161520b565b9150604084013590509250925092565b600082601f8301126154ea57600080fd5b813567ffffffffffffffff81111561550457615504615227565b6155176020601f19601f84011601615256565b81815284602083860101111561552c57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000806080858703121561555f57600080fd5b6155688561520b565b93506155766020860161520b565b9250604085013567ffffffffffffffff8082111561559357600080fd5b61559f888389016152ab565b935060608701359150808211156155b557600080fd5b506155c2878288016154d9565b91505092959194509250565b600080604083850312156155e157600080fd5b50508035926020909101359150565b6000806040838503121561560357600080fd5b823567ffffffffffffffff8082111561561b57600080fd5b615627868387016154d9565b9350602085013591508082111561563d57600080fd5b5061564a858286016154d9565b9150509250929050565b60006020828403121561566657600080fd5b813567ffffffffffffffff81111561567d57600080fd5b612821848285016154d9565b8035801515811461522257600080fd5b6000602082840312156156ab57600080fd5b6113d082615689565b600082601f8301126156c557600080fd5b813560206156d56152cc83615287565b82815260059290921b840181019181810190868411156156f457600080fd5b8286015b8481101561530b576157098161520b565b83529183019183016156f8565b6000806040838503121561572957600080fd5b823567ffffffffffffffff8082111561574157600080fd5b61574d868387016156b4565b9350602085013591508082111561576357600080fd5b5061564a858286016152ab565b6000806040838503121561578357600080fd5b61578c8361520b565b91506116d760208401615689565b600080600080608085870312156157b057600080fd5b6157b98561520b565b93506157c76020860161520b565b925060408501359150606085013567ffffffffffffffff8111156157ea57600080fd5b6155c2878288016154d9565b60006020828403121561580857600080fd5b813567ffffffffffffffff81111561581f57600080fd5b612821848285016156b4565b60006020828403121561583d57600080fd5b6113d08261541a565b6000806040838503121561585957600080fd5b6154748361520b565b600181811c9082168061587657607f821691505b6020821081036158af577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8181038181111561100e5761100e6158b5565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b8181101561595e57835183529284019291840191600101615942565b50909695505050505050565b808202811582820484141761100e5761100e6158b5565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826159bf576159bf615981565b500490565b8082018082111561100e5761100e6158b5565b7f4552433732314275726e61626c653a2000000000000000000000000000000000815260008251615a0f81601085016020870161538d565b7f206973206e6f74206f776e6572206e6f7220617070726f7665640000000000006010939091019283015250602a01919050565b601f82111561102f57600081815260208120601f850160051c81016020861015615a6a5750805b601f850160051c820191505b81811015615a8957828155600101615a76565b505050505050565b815167ffffffffffffffff811115615aab57615aab615227565b615abf81615ab98454615862565b84615a43565b602080601f831160018114615af45760008415615adc5750858301515b600019600386901b1c1916600185901b178555615a89565b600085815260208120601f198616915b82811015615b2357888601518255948401946001909101908401615b04565b5085821015615b415787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b604081526000615b6460408301856153b1565b60208382038185015260008554615b7a81615862565b80855260018281168015615b955760018114615baf57615bdd565b60ff198416868801528583151560051b8801019450615bdd565b896000528560002060005b84811015615bd5578154898201890152908301908701615bba565b880187019550505b50929998505050505050505050565b7f4552433732314d657461646174613a2055524920717565727920666f72200000815260008251615c2481601e85016020870161538d565b7f2072657475726e73206e6f6e6578697374656e7420746f6b656e000000000000601e939091019283015250603801919050565b60008451615c6a81846020890161538d565b845190830190615c7e81836020890161538d565b8451910190615c9181836020880161538d565b0195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600081615cd957615cd96158b5565b506000190190565b60006000198203615cf457615cf46158b5565b5060010190565b600082615d0a57615d0a615981565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152615d4160808301846153b1565b9695505050505050565b600060208284031215615d5d57600080fd5b81516113d0816151c0565b604081526000615d7b60408301856153b1565b8281036020840152615d8d81856153b1565b95945050505050565b60008154615da381615862565b60018281168015615dbb5760018114615dd057615dff565b60ff1984168752821515830287019450615dff565b8560005260208060002060005b85811015615df65781548a820152908401908201615ddd565b50505082870194505b5050505092915050565b8581527fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008560601b1660208201526000615e4f615e496034840187615d96565b85615d96565b928352505060200194935050505056fea2646970667358221220d43d491d62964b2bd6b41c30d4ad072de259f949bd0993ca049aad7970d429a764736f6c63430008110033

Deployed ByteCode Sourcemap

2551:4556:17:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4170:38;;;4186:10;188:74:38;;4198:9:17;293:2:38;278:18;;271:34;4170:38:17;;161:18:38;4170:38:17;;;;;;;;2551:4556;;4359:38;;;4375:10;188:74:38;;4387:9:17;293:2:38;278:18;;271:34;4359:38:17;;161:18:38;4359:38:17;14:297:38;6788:317:17;;;;;;;;;;-1:-1:-1;6788:317:17;;;;;:::i;:::-;;:::i;:::-;;;913:14:38;;906:22;888:41;;876:2;861:18;6788:317:17;;;;;;;;2700:188:19;;;;;;;;;;-1:-1:-1;2700:188:19;;;;;:::i;:::-;;:::i;:::-;;6134:121:30;;;;;;;;;;-1:-1:-1;6134:121:30;;;;;:::i;:::-;;:::i;2473:98:1:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3984:217::-;;;;;;;;;;-1:-1:-1;3984:217:1;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;4189:55:38;;;4171:74;;4159:2;4144:18;3984:217:1;4025:226:38;3522:401:1;;;;;;;;;;-1:-1:-1;3522:401:1;;;;;:::i;:::-;;:::i;3831:166:20:-;;;;;;;;;;-1:-1:-1;3831:166:20;;;;;:::i;:::-;;:::i;9331:156:32:-;;;;;;;;;;-1:-1:-1;9331:156:32;;;;;:::i;:::-;;:::i;5507:163:16:-;;;;;;;;;;-1:-1:-1;5507:163:16;;;;;:::i;:::-;;:::i;4470:102:17:-;;;;;;;;;;-1:-1:-1;4546:21:17;4470:102;;;5412:25:38;;;5400:2;5385:18;4470:102:17;5266:177:38;11198:220:16;;;;;;;;;;-1:-1:-1;11198:220:16;;;;;:::i;:::-;;:::i;8582:154:30:-;;;;;;;;;;;;;:::i;10110:100:32:-;;;;;;;;;;;;;:::i;4711:330:1:-;;;;;;;;;;-1:-1:-1;4711:330:1;;;;;:::i;:::-;;:::i;2892:363:19:-;;;;;;;;;;-1:-1:-1;2892:363:19;;;;;:::i;:::-;;:::i;4404:271:20:-;;;;;;;;;;-1:-1:-1;4404:271:20;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;206:55:38;;;188:74;;293:2;278:18;;271:34;;;;161:18;4404:271:20;14:297:38;8487:194:16;;;;;;;;;;;;;:::i;3296:359:17:-;;;;;;:::i;:::-;;:::i;7250:121:30:-;;;;;;;;;;-1:-1:-1;7353:13:30;;;;7250:121;;8744:167:16;;;;;;;;;;;;;:::i;9839:125:32:-;;;;;;;;;;-1:-1:-1;9839:125:32;;;;;:::i;:::-;;:::i;6956:214:30:-;;;;;;;;;;-1:-1:-1;6956:214:30;;;;;:::i;:::-;;:::i;10294:122:32:-;;;;;;;;;;-1:-1:-1;10399:12:32;;10294:122;;5107:179:1;;;;;;;;;;-1:-1:-1;5107:179:1;;;;;:::i;:::-;;:::i;6080:553:17:-;;;;;;;;;;-1:-1:-1;6080:553:17;;;;;:::i;:::-;;:::i;6768:569:16:-;;;;;;;;;;-1:-1:-1;6768:569:16;;;;;:::i;:::-;;:::i;9096:87:32:-;;;;;;;;;;;;;:::i;4670:165:17:-;;;;;;;;;;-1:-1:-1;4670:165:17;;;;;:::i;:::-;;:::i;5786:130:16:-;;;;;;;;;;-1:-1:-1;5786:130:16;;;;;:::i;:::-;-1:-1:-1;;;;5906:5:16;5786:130;;;;8586:66:38;8574:79;;;8556:98;;8544:2;8529:18;5786:130:16;8412:248:38;5931:117:30;;;;;;;;;;-1:-1:-1;5931:117:30;;;;;:::i;:::-;;:::i;9346:130::-;;;;;;;;;;-1:-1:-1;9453:18:30;;9346:130;;9035:155:16;;;;;;;;;;-1:-1:-1;9035:155:16;;;;;:::i;:::-;;:::i;2176:235:1:-;;;;;;;;;;-1:-1:-1;2176:235:1;;;;;:::i;:::-;;:::i;8213:212:16:-;;;;;;;;;;-1:-1:-1;8213:212:16;;;;;:::i;:::-;;:::i;7470:162::-;;;;;;;;;;-1:-1:-1;7470:162:16;;;;;:::i;:::-;;:::i;4223:196:37:-;;;;;;;;;;-1:-1:-1;4223:196:37;;;;;:::i;:::-;;:::i;1914:205:1:-;;;;;;;;;;-1:-1:-1;1914:205:1;;;;;:::i;:::-;;:::i;9837:155:16:-;;;;;;;;;;;;;:::i;6443:184:30:-;;;;;;;;;;-1:-1:-1;6443:184:30;;;;;:::i;:::-;;:::i;2823:146:34:-;;;;;;;;;;;;;:::i;4423:140:37:-;;;;;;;;;;-1:-1:-1;4423:140:37;;;;;:::i;:::-;;:::i;10377:199:16:-;;;;;;;;;;;;;:::i;11343:135:32:-;;;;;;;;;;-1:-1:-1;11343:135:32;;;;;:::i;:::-;;:::i;9669:112:16:-;;;;;;;;;;-1:-1:-1;9768:8:16;;-1:-1:-1;;;;;9768:8:16;9669:112;;9109:146:30;;;;;;;;;;;;;:::i;2635:102:1:-;;;;;;;;;;;;;:::i;11079:144:32:-;;;;;;;;;;-1:-1:-1;11079:144:32;;;;;:::i;:::-;-1:-1:-1;;;;;11200:18:32;11178:7;11200:18;;;:9;:18;;;;;;;11079:144;5382:129:37;;;;;;;;;;;;;:::i;9556:93:32:-;;;;;;;;;;;;;:::i;4268:153:1:-;;;;;;;;;;-1:-1:-1;4268:153:1;;;;;:::i;:::-;;:::i;11646:152:32:-;;;;;;;;;;-1:-1:-1;11646:152:32;;;;;:::i;:::-;;:::i;8132:138:30:-;;;;;;;;;;-1:-1:-1;8246:19:30;;8132:138;;8366:134;;;;;;;;;;;;;:::i;10641:170:16:-;;;;;;;;;;;;;:::i;2684:135:34:-;;;;;;;;;;-1:-1:-1;2802:12:34;;2684:135;;7947:152:16;;;;;;;;;;;;;:::i;4040:109:20:-;;;;;;;;;;;;;:::i;4057:162:37:-;;;;;;;;;;-1:-1:-1;4057:162:37;;;;;:::i;:::-;;:::i;5352:320:1:-;;;;;;;;;;-1:-1:-1;5352:320:1;;;;;:::i;:::-;;:::i;7885:127:30:-;;;;;;;;;;;;;:::i;4567:163:37:-;;;;;;;;;;-1:-1:-1;4567:163:37;;;;;:::i;:::-;;:::i;3519:150:20:-;;;;;;;;;;-1:-1:-1;3519:150:20;;;;;:::i;:::-;;:::i;5124:161:37:-;;;;;;;;;;-1:-1:-1;5124:161:37;;;;;:::i;:::-;;:::i;7664:128:30:-;;;;;;;;;;-1:-1:-1;7769:18:30;;7664:128;;5147:836:17;;;;;;;;;;-1:-1:-1;5147:836:17;;;;;:::i;:::-;;:::i;3023:269::-;;;;;;;;;;-1:-1:-1;3023:269:17;;;;;:::i;:::-;;:::i;7780:114:16:-;;;;;;;;;;-1:-1:-1;7883:6:16;;-1:-1:-1;;;;;7883:6:16;7780:114;;4734:108:37;;;;;;;;;;;;;:::i;10784:140:32:-;;;;;;;;;;-1:-1:-1;10784:140:32;;;;;:::i;:::-;-1:-1:-1;;;;;10903:16:32;10881:7;10903:16;;;:7;:16;;;;;;;10784:140;10933:151:16;;;;;;;;;;-1:-1:-1;10933:151:16;;;;;:::i;:::-;;:::i;2501:179:34:-;;;;;;;;;;-1:-1:-1;2501:179:34;;;;;:::i;:::-;;:::i;4846:110:37:-;;;;;;;;;;;;;:::i;8845:151:30:-;;;;;;;;;;;;;:::i;7451:120::-;;;;;;;;;;-1:-1:-1;7552:6:30;:14;7451:120;;6038:601:16;;;;;;;;;;-1:-1:-1;6038:601:16;;;;;:::i;:::-;;:::i;10514:126:32:-;;;;;;;;;;-1:-1:-1;10621:14:32;;10514:126;;4487:162:1;;;;;;;;;;-1:-1:-1;4487:162:1;;;;;:::i;:::-;-1:-1:-1;;;;;4607:25:1;;;4584:4;4607:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4487:162;3917:107:17;;;:::i;10104:209:16:-;;;;;;;;;;-1:-1:-1;10104:209:16;;;;;:::i;:::-;;:::i;9304:218::-;;;;;;;;;;-1:-1:-1;9304:218:16;;;;;:::i;:::-;;:::i;6788:317:17:-;6928:4;6955:41;;;6970:26;6955:41;;:92;;-1:-1:-1;7007:40:17;;;7022:25;7007:40;6955:92;:139;;;;7058:36;7082:11;7058:23;:36::i;:::-;6940:160;6788:317;-1:-1:-1;;6788:317:17:o;2700:188:19:-;2838:45;2860:4;2866:2;2870:8;2838:45;;;;;;;;;;;;:21;:45::i;:::-;2700:188;;;:::o;6134:121:30:-;4072:28:16;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;;;;;;;;4067:104;6230:20:30::1;6243:6;6230:12;:20::i;:::-;6134:121:::0;:::o;2473:98:1:-;2527:13;2559:5;2552:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2473:98;:::o;3984:217::-;4060:7;7232:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7232:16:1;4079:73;;;;-1:-1:-1;;;4079:73:1;;12873:2:38;4079:73:1;;;12855:21:38;12912:2;12892:18;;;12885:30;12951:34;12931:18;;;12924:62;13022:14;13002:18;;;12995:42;13054:19;;4079:73:1;12671:408:38;4079:73:1;-1:-1:-1;4170:24:1;;;;:15;:24;;;;;;-1:-1:-1;;;;;4170:24:1;;3984:217::o;3522:401::-;3602:13;3618:23;3633:7;3618:14;:23::i;:::-;3602:39;;3665:5;-1:-1:-1;;;;;3659:11:1;:2;-1:-1:-1;;;;;3659:11:1;;3651:57;;;;-1:-1:-1;;;3651:57:1;;13286:2:38;3651:57:1;;;13268:21:38;13325:2;13305:18;;;13298:30;13364:34;13344:18;;;13337:62;13435:3;13415:18;;;13408:31;13456:19;;3651:57:1;13084:397:38;3651:57:1;719:10:7;-1:-1:-1;;;;;3740:21:1;;;;:62;;-1:-1:-1;3765:37:1;3782:5;719:10:7;4487:162:1;:::i;3765:37::-;3719:165;;;;-1:-1:-1;;;3719:165:1;;13688:2:38;3719:165:1;;;13670:21:38;13727:2;13707:18;;;13700:30;13766:34;13746:18;;;13739:62;13837:26;13817:18;;;13810:54;13881:19;;3719:165:1;13486:420:38;3719:165:1;3895:21;3904:2;3908:7;3895:8;:21::i;3831:166:20:-;4218:30:16;4229:6;4237:10;4218;:30::i;:::-;4213:106;;4265:47;;-1:-1:-1;;;4265:47:16;;14113:2:38;4265:47:16;;;14095:21:38;14152:1;14132:18;;;14125:29;14190:7;14170:18;;;14163:35;14215:18;;4265:47:16;13911:328:38;4213:106:16;3957:35:20::1;3971:10;3983:8;3957:13;:35::i;:::-;3831:166:::0;;:::o;9331:156:32:-;4072:28:16;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;11896:328:38;4067:104:16;9452:30:32::1;9462:8;9472:9;9452;:30::i;5507:163:16:-:0;5621:4;5640:25;5651:4;5657:7;5640:10;:25::i;:::-;5633:32;5507:163;-1:-1:-1;;;5507:163:16:o;11198:220::-;4218:30;4229:6;4237:10;4218;:30::i;:::-;4213:106;;4265:47;;-1:-1:-1;;;4265:47:16;;14113:2:38;4265:47:16;;;14095:21:38;14152:1;14132:18;;;14125:29;14190:7;14170:18;;;14163:35;14215:18;;4265:47:16;13911:328:38;4213:106:16;11280:30:::1;11291:6:::0;11299:10;11280::::1;:30::i;:::-;11275:112;;11329:51;::::0;-1:-1:-1;;;11329:51:16;;14113:2:38;11329:51:16::1;::::0;::::1;14095:21:38::0;14152:1;14132:18;;;14125:29;14190:7;14170:18;;;14163:35;14215:18;;11329:51:16::1;13911:328:38::0;11275:112:16::1;11392:8;:21:::0;;;::::1;-1:-1:-1::0;;;;;11392:21:16;;;::::1;::::0;;;::::1;::::0;;11198:220::o;8582:154:30:-;8665:7;8709:22;:12;3390:14:24;;3287:122;8709:22:30;8687:19;:6;:17;:19::i;:::-;:44;;;;:::i;:::-;8680:51;;8582:154;:::o;10110:100:32:-;4072:28:16;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;11896:328:38;4067:104:16;10191:14:32::1;:12;:14::i;:::-;10110:100::o:0;4711:330:1:-;4900:41;719:10:7;4919:12:1;4933:7;4900:18;:41::i;:::-;4892:103;;;;-1:-1:-1;;;4892:103:1;;14768:2:38;4892:103:1;;;14750:21:38;14807:2;14787:18;;;14780:30;14846:34;14826:18;;;14819:62;14917:19;14897:18;;;14890:47;14954:19;;4892:103:1;14566:413:38;4892:103:1;5006:28;5016:4;5022:2;5026:7;5006:9;:28::i;2892:363:19:-;3065:15;;3054:8;3086:109;3106:3;3102:1;:7;3086:109;;;3120:43;3134:4;3140:2;3144:8;3153:1;3144:11;;;;;;;;:::i;:::-;;;;;;;3157:5;3120:13;:43::i;:::-;3183:3;;3086:109;;;;3237:2;-1:-1:-1;;;;;3205:45:19;3231:4;-1:-1:-1;;;;;3205:45:19;3219:10;-1:-1:-1;;;;;3205:45:19;;3241:8;3205:45;;;;;;:::i;:::-;;;;;;;;3048:207;2892:363;;;;:::o;4404:271:20:-;4599:14;;-1:-1:-1;;;;;4599:14:20;;;4535:16;;4666:4;;4635:28;;4648:15;;;;;4635:10;:28;:::i;:::-;:35;;;;:::i;:::-;4619:51;;4404:271;;;;;:::o;8487:194:16:-;8566:12;3880:28;8566:12;3897:10;3880;:28::i;:::-;:61;;;-1:-1:-1;3912:29:16;-1:-1:-1;;;3930:10:16;3912;:29::i;:::-;3876:158;;;8601:10:::1;8617:31;8629:12:::0;8601:10;8617:11:::1;:31::i;:::-;8654:22;-1:-1:-1::0;;;8671:4:16;8654:10:::1;:22::i;3876:158::-:0;3980:47;;-1:-1:-1;;;3980:47:16;;16499:2:38;3980:47:16;;;16481:21:38;16538:1;16518:18;;;16511:29;16576:7;16556:18;;;16549:35;16601:18;;3980:47:16;16297:328:38;3296:359:17;3415:13:30;;;;3410:93;;3445:51;;-1:-1:-1;;;3445:51:30;;16832:2:38;3445:51:30;;;16814:21:38;16871:1;16851:18;;;16844:29;16909:11;16889:18;;;16882:39;16938:18;;3445:51:30;16630:332:38;3410:93:30;3414:15:34::1;;3399:12;;:30;;;;:::i;:::-;3381:15;:48;3377:182;;;3480:15;3528;;3513:12;;:30;;;;:::i;:::-;3446:106;::::0;::::1;::::0;;::::1;::::0;::::1;17271:25:38::0;;;;17312:18;;;17305:34;17244:18;;3446:106:34::1;17097:248:38::0;3377:182:34::1;3568:12;;3584:1;3568:17:::0;3564:92:::1;;3602:47;::::0;-1:-1:-1;;;3602:47:34;;17552:2:38;3602:47:34::1;::::0;::::1;17534:21:38::0;17591:1;17571:18;;;17564:29;17629:7;17609:18;;;17602:35;17654:18;;3602:47:34::1;17350:328:38::0;3564:92:34::1;3279:6:30::2;:14:::0;3401:5:17;;3271:22:30::2;::::0;3401:5:17;3271:22:30::2;:::i;:::-;3259:9;:34;3255:113;;;3310:51;::::0;-1:-1:-1;;;3310:51:30;;17885:2:38;3310:51:30::2;::::0;::::2;17867:21:38::0;17924:1;17904:18;;;17897:29;17962:11;17942:18;;;17935:39;17991:18;;3310:51:30::2;17683:332:38::0;3255:113:30::2;1744:1:0::3;2325:7;;:19:::0;2317:63:::3;;;::::0;-1:-1:-1;;;2317:63:0;;18222:2:38;2317:63:0::3;::::0;::::3;18204:21:38::0;18261:2;18241:18;;;18234:30;18300:33;18280:18;;;18273:61;18351:18;;2317:63:0::3;18020:355:38::0;2317:63:0::3;1744:1;2455:7;:18:::0;3445:1:17::4;3437:9:::0;::::4;3433:87;;;3463:50;::::0;-1:-1:-1;;;3463:50:17;;18582:2:38;3463:50:17::4;::::0;::::4;18564:21:38::0;18621:1;18601:18;;;18594:29;18659:9;18639:18;;;18632:37;18686:18;;3463:50:17::4;18380:330:38::0;3433:87:17::4;3530:6;3525:126;3546:5;3542:1;:9;3525:126;;;3562:32;3572:10;3584:9;:7;:9::i;:::-;3562;:32::i;:::-;3602:17;:15;:17::i;:::-;3639:3;;3525:126;;;-1:-1:-1::0;;1701:1:0::3;2628:7;:22:::0;-1:-1:-1;3296:359:17:o;8744:167:16:-;8824:12;3880:28;8824:12;3897:10;3880;:28::i;:::-;:61;;;-1:-1:-1;3912:29:16;-1:-1:-1;;;3930:10:16;3912;:29::i;:::-;3876:158;;;8859:10:::1;8875:31;8887:12:::0;8859:10;8875:11:::1;:31::i;9839:125:32:-:0;4072:28:16;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;11896:328:38;4067:104:16;9939:20:32::1;9952:6;9939:12;:20::i;6956:214:30:-:0;3550:18;;3572:1;3550:23;3546:102;;3590:51;;-1:-1:-1;;;3590:51:30;;18917:2:38;3590:51:30;;;18899:21:38;18956:1;18936:18;;;18929:29;18994:11;18974:18;;;18967:39;19023:18;;3590:51:30;18715:332:38;3546:102:30;3701:14;;::::1;::::0;::::1;;;3697:94;;;3732:52;::::0;-1:-1:-1;;;3732:52:30;;19254:2:38;3732:52:30::1;::::0;::::1;19236:21:38::0;19293:2;19273:18;;;19266:30;19332:12;19312:18;;;19305:40;19362:18;;3732:52:30::1;19052:334:38::0;3697:94:30::1;3822:1;3800:19;:6;:17;:19::i;:::-;:23;3796:102;;;3840:51;::::0;-1:-1:-1;;;3840:51:30;;19593:2:38;3840:51:30::1;::::0;::::1;19575:21:38::0;19632:1;19612:18;;;19605:29;19670:11;19650:18;;;19643:39;19699:18;;3840:51:30::1;19391:332:38::0;3796:102:30::1;4072:28:16::2;-1:-1:-1::0;;;4089:10:16::2;4072;:28::i;:::-;4067:104;;4117:47;::::0;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16::2;::::0;::::2;12080:21:38::0;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16::2;11896:328:38::0;4067:104:16::2;7123:42:30::3;7145:3;7155:4;7123:14;:42::i;5107:179:1:-:0;5240:39;5257:4;5263:2;5267:7;5240:39;;;;;;;;;;;;:16;:39::i;6080:553:17:-;6226:41;719:10:7;6245:12:17;640:96:7;6226:41:17;6221:346;;6419:44;6447:10;6460:2;6419:19;:44::i;:::-;6341:192;;;;;;;;:::i;:::-;;;;-1:-1:-1;;6341:192:17;;;;;;;;;;-1:-1:-1;;;6284:276:17;;;;;;;:::i;6221:346::-;6572:14;6578:7;6572:5;:14::i;:::-;6619:9;:7;:9::i;6768:569:16:-;6876:4;3880:28;3891:4;3897:10;3880;:28::i;:::-;:61;;;-1:-1:-1;3912:29:16;-1:-1:-1;;;3930:10:16;3912;:29::i;:::-;3876:158;;;6893:20;;;::::1;::::0;6889:201:::1;;-1:-1:-1::0;;;;;6984:21:16;::::1;6995:10;6984:21;6980:104;;7024:51;::::0;-1:-1:-1;;;7024:51:16;;20563:2:38;7024:51:16::1;::::0;::::1;20545:21:38::0;20602:1;20582:18;;;20575:29;20640:7;20620:18;;;20613:35;20665:18;;7024:51:16::1;20361:328:38::0;6980:104:16::1;7100:22:::0;;;::::1;::::0;7096:205:::1;;-1:-1:-1::0;;;;;7195:21:16;::::1;7206:10;7195:21;7191:104;;7235:51;::::0;-1:-1:-1;;;7235:51:16;;20896:2:38;7235:51:16::1;::::0;::::1;20878:21:38::0;20935:1;20915:18;;;20908:29;20973:7;20953:18;;;20946:35;20998:18;;7235:51:16::1;20694:328:38::0;7191:104:16::1;7306:26;7318:4;7324:7;7306:11;:26::i;9096:87:32:-:0;9157:21;9167:10;9157:9;:21::i;4670:165:17:-;4072:28:16;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;11896:328:38;4067:104:16;4752:17:17::1;4772:4;4752:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4789:5;4782:4;:12;;;;;;:::i;:::-;;4805:25;4820:3;4825:4;4805:25;;;;;;;:::i;:::-;;;;;;;;4746:89;4670:165:::0;:::o;5931:117:30:-;4072:28:16;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;11896:328:38;4067:104:16;6025:18:30::1;6036:6;6025:10;:18::i;9035:155:16:-:0;-1:-1:-1;;;3880:28:16;9135:4;3897:10;3880;:28::i;:::-;:61;;;-1:-1:-1;3912:29:16;-1:-1:-1;;;3930:10:16;3912;:29::i;:::-;3876:158;;;9147:38:::1;9158:12:::0;9172;9147:10:::1;:38::i;2176:235:1:-:0;2248:7;2283:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2283:16:1;;2309:73;;;;-1:-1:-1;;;2309:73:1;;24768:2:38;2309:73:1;;;24750:21:38;24807:2;24787:18;;;24780:30;24846:34;24826:18;;;24819:62;24917:11;24897:18;;;24890:39;24946:19;;2309:73:1;24566:405:38;8213:212:16;-1:-1:-1;;;3880:28:16;8318:4;3897:10;3880;:28::i;:::-;:61;;;-1:-1:-1;3912:29:16;-1:-1:-1;;;3930:10:16;3912;:29::i;:::-;3876:158;;;8345:10:::1;8361:30;-1:-1:-1::0;;;8378:12:16;8361:10:::1;:30::i;:::-;8397:23;-1:-1:-1::0;;;8415:4:16;8397:11:::1;:23::i;7470:162::-:0;7561:4;3880:28;3891:4;3897:10;3880;:28::i;:::-;:61;;;-1:-1:-1;3912:29:16;-1:-1:-1;;;3930:10:16;3912;:29::i;:::-;3876:158;;;7588:10:::1;7604:23;7616:4:::0;7588:10;7604:11:::1;:23::i;4223:196:37:-:0;4072:28:16;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;11896:328:38;4067:104:16;4371:43:37::1;4390:12;4404:9;4371:18;:43::i;1914:205:1:-:0;1986:7;-1:-1:-1;;;;;2013:19:1;;2005:74;;;;-1:-1:-1;;;2005:74:1;;25178:2:38;2005:74:1;;;25160:21:38;25217:2;25197:18;;;25190:30;25256:34;25236:18;;;25229:62;25327:12;25307:18;;;25300:40;25357:19;;2005:74:1;24976:406:38;2005:74:1;-1:-1:-1;;;;;;2096:16:1;;;;;:9;:16;;;;;;;1914:205::o;9837:155:16:-;9917:6;3880:28;9917:6;3897:10;3880;:28::i;:::-;:61;;;-1:-1:-1;3912:29:16;-1:-1:-1;;;3930:10:16;3912;:29::i;:::-;3876:158;;;9946:10:::1;9962:25;9974:6:::0;9946:10;9962:11:::1;:25::i;6443:184:30:-:0;4072:28:16;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;11896:328:38;4067:104:16;6566:56:30::1;6590:10;6607:9;6566:16;:56::i;2823:146:34:-:0;2915:4;2949:15;;2934:12;;:30;;;;:::i;4423:140:37:-;4072:28:16;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;11896:328:38;4067:104:16;4530:28:37::1;4547:10;4530:16;:28::i;10377:199:16:-:0;10455:14;3880:28;10455:14;3897:10;3880;:28::i;:::-;:61;;;-1:-1:-1;3912:29:16;-1:-1:-1;;;3930:10:16;3912;:29::i;:::-;3876:158;;;10492:10:::1;10508:33;10520:14:::0;10492:10;10508:11:::1;:33::i;:::-;10547:24;10558:6:::0;10566:4;10547:10:::1;:24::i;11343:135:32:-:0;11437:7;11459;11467:5;11459:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;11459:14:32;;11343:135;-1:-1:-1;;11343:135:32:o;9109:146:30:-;9201:13;9229:6;:21;;9222:28;;;;;:::i;2635:102:1:-;2691:13;2723:7;2716:14;;;;;:::i;5382:129:37:-;5469:4;5488:18;:9;5414:12:27;;;;5321:110;9556:93:32;4072:28:16;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;11896:328:38;4067:104:16;9635:9:32::1;:7;:9::i;4268:153:1:-:0;4362:52;719:10:7;4395:8:1;4405;4362:18;:52::i;11646:152:32:-;11747:7;11769:24;11785:7;11769:15;:24::i;8366:134:30:-;8459:4;8478:17;:6;:15;:17::i;10641:170:16:-;10720:14;3880:28;10720:14;3897:10;3880;:28::i;:::-;:61;;;-1:-1:-1;3912:29:16;-1:-1:-1;;;3930:10:16;3912;:29::i;:::-;3876:158;;;10757:10:::1;10773:33;10785:14:::0;10757:10;10773:11:::1;:33::i;7947:152::-:0;-1:-1:-1;;;3880:28:16;8028:4;3897:10;3880;:28::i;:::-;:61;;;-1:-1:-1;3912:29:16;-1:-1:-1;;;3930:10:16;3912;:29::i;:::-;3876:158;;;8055:10:::1;8071:23;-1:-1:-1::0;;;8055:10:16;8071:11:::1;:23::i;4040:109:20:-:0;4218:30:16;4229:6;4237:10;4218;:30::i;:::-;4213:106;;4265:47;;-1:-1:-1;;;4265:47:16;;14113:2:38;4265:47:16;;;14095:21:38;14152:1;14132:18;;;14125:29;14190:7;14170:18;;;14163:35;14215:18;;4265:47:16;13911:328:38;4213:106:16;4126:18:20::1;:16;:18::i;4057:162:37:-:0;4072:28:16;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;11896:328:38;4067:104:16;4179:35:37::1;4193:10;4205:8;4179:13;:35::i;5352:320:1:-:0;5521:41;719:10:7;5554:7:1;5521:18;:41::i;:::-;5513:103;;;;-1:-1:-1;;;5513:103:1;;14768:2:38;5513:103:1;;;14750:21:38;14807:2;14787:18;;;14780:30;14846:34;14826:18;;;14819:62;14917:19;14897:18;;;14890:47;14954:19;;5513:103:1;14566:413:38;5513:103:1;5626:39;5640:4;5646:2;5650:7;5659:5;5626:13;:39::i;:::-;5352:320;;;;:::o;7885:127:30:-;7969:4;7988:19;:6;:17;:19::i;4567:163:37:-;4072:28:16;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;11896:328:38;4067:104:16;4690:35:37::1;4712:12;4690:21;:35::i;3519:150:20:-:0;4218:30:16;4229:6;4237:10;4218;:30::i;:::-;4213:106;;4265:47;;-1:-1:-1;;;4265:47:16;;14113:2:38;4265:47:16;;;14095:21:38;14152:1;14132:18;;;14125:29;14190:7;14170:18;;;14163:35;14215:18;;4265:47:16;13911:328:38;4213:106:16;3626:38:20::1;3648:4;3655:8;3626:13;:38::i;5124:161:37:-:0;-1:-1:-1;;;;;5549:21:27;;5234:4:37;5549:21:27;;;:11;:21;;;;;;:25;;5253:27:37;5435:144:27;5147:836:17;7209:4:1;7232:16;;;:7;:16;;;;;;5253:13:17;;-1:-1:-1;;;;;7232:16:1;5274:316:17;;5461:25;5478:7;5461:16;:25::i;:::-;5369:187;;;;;;;;:::i;5274:316::-;5595:21;5619:10;:8;:10::i;:::-;5635:28;;;;;;;;;;;;;;;;;5676:21;;5595:34;;-1:-1:-1;5635:28:17;5676:302;;;;;;;;;;;;;;;;;5814:7;5865:18;:7;:16;:18::i;:::-;5927:4;5753:179;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5676:302;5669:309;5147:836;-1:-1:-1;;;;5147:836:17:o;3023:269::-;3415:13:30;;;;3410:93;;3445:51;;-1:-1:-1;;;3445:51:30;;16832:2:38;3445:51:30;;;16814:21:38;16871:1;16851:18;;;16844:29;16909:11;16889:18;;;16882:39;16938:18;;3445:51:30;16630:332:38;3410:93:30;3024:12:34::1;;3006:15;:30;3002:146;;;3120:12;::::0;3053:88:::1;::::0;::::1;::::0;;3087:15:::1;3053:88;::::0;::::1;17271:25:38::0;17312:18;;;17305:34;;;;17244:18;;3053:88:34::1;17097:248:38::0;3002:146:34::1;3191:15;;3176:12;;:30;;;;:::i;:::-;3157:15;:49;3153:183;;3257:15;3305;;3290:12;;:30;;;;:::i;:::-;3223:106;::::0;::::1;::::0;;::::1;::::0;::::1;17271:25:38::0;;;;17312:18;;;17305:34;17244:18;;3223:106:34::1;17097:248:38::0;3153:183:34::1;1744:1:0::2;2325:7;;:19:::0;2317:63:::2;;;::::0;-1:-1:-1;;;2317:63:0;;18222:2:38;2317:63:0::2;::::0;::::2;18204:21:38::0;18261:2;18241:18;;;18234:30;18300:33;18280:18;;;18273:61;18351:18;;2317:63:0::2;18020:355:38::0;2317:63:0::2;1744:1;2455:7;:18:::0;3137:6:17::3;3132:156;3153:5;3149:1;:9;3132:156;;;3169:32;3179:10;3191:9;:7;:9::i;3169:32::-;3209:17;:15;:17::i;:::-;3234:22;3245:10;3234;:22::i;:::-;3276:3;;3132:156;;;-1:-1:-1::0;;1701:1:0::2;2628:7;:22:::0;3023:269:17:o;4734:108:37:-;4072:28:16;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;11896:328:38;4067:104:16;4819:18:37::1;:16;:18::i;10933:151:16:-:0;11029:6;3880:28;11029:6;3897:10;3880;:28::i;:::-;:61;;;-1:-1:-1;3912:29:16;-1:-1:-1;;;3930:10:16;3912;:29::i;:::-;3876:158;;;11043:36:::1;11054:14:::0;11070:8;11043:10:::1;:36::i;2501:179:34:-:0;4072:28:16;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;11896:328:38;4067:104:16;2587:12:34::1;:19:::0;;;2612:15:::1;:26:::0;;;2649::::1;::::0;;17271:25:38;;;17327:2;17312:18;;17305:34;;;2649:26:34::1;::::0;17244:18:38;2649:26:34::1;17097:248:38::0;4846:110:37;4072:28:16;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;11896:328:38;4067:104:16;4932:19:37::1;:17;:19::i;8845:151:30:-:0;8943:13;8971:6;:20;;8964:27;;;;;:::i;6038:601:16:-;6146:4;3880:28;3891:4;3897:10;3880;:28::i;:::-;:61;;;-1:-1:-1;3912:29:16;-1:-1:-1;;;3930:10:16;3912;:29::i;:::-;3876:158;;;6163:20;;;::::1;::::0;6159:216:::1;;6254:36;6265:12:::0;6279:10:::1;6254;:36::i;:::-;6250:119;;;6309:51;::::0;-1:-1:-1;;;6309:51:16;;20563:2:38;6309:51:16::1;::::0;::::1;20545:21:38::0;20602:1;20582:18;;;20575:29;20640:7;20620:18;;;20613:35;20665:18;;6309:51:16::1;20361:328:38::0;6250:119:16::1;6385:22:::0;;;::::1;::::0;6381:222:::1;;6480:38;6491:14:::0;6507:10:::1;6480;:38::i;:::-;6476:121;;;6537:51;::::0;-1:-1:-1;;;6537:51:16;;20896:2:38;6537:51:16::1;::::0;::::1;20878:21:38::0;20935:1;20915:18;;;20908:29;20973:7;20953:18;;;20946:35;20998:18;;6537:51:16::1;20694:328:38::0;6476:121:16::1;6609:25;6620:4;6626:7;6609:10;:25::i;3917:107:17:-:0;3988:31;;;3997:10;188:74:38;;4009:9:17;293:2:38;278:18;;271:34;3988:31:17;;161:18:38;3988:31:17;;;;;;;;3917:107::o;10104:209:16:-;10204:6;3880:28;10204:6;3897:10;3880;:28::i;:::-;:61;;;-1:-1:-1;3912:29:16;-1:-1:-1;;;3930:10:16;3912;:29::i;:::-;3876:158;;;10233:10:::1;10249:28;10260:6:::0;10268:8;10249:10:::1;:28::i;:::-;10283:25;10295:6:::0;10303:4;10283:11:::1;:25::i;9304:218::-:0;4072:28;-1:-1:-1;;;4089:10:16;4072;:28::i;:::-;4067:104;;4117:47;;-1:-1:-1;;;4117:47:16;;12098:2:38;4117:47:16;;;12080:21:38;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;4117:47:16;11896:328:38;4067:104:16;9388:28:::1;-1:-1:-1::0;;;9405:10:16;9388::::1;:28::i;:::-;9383:110;;9435:51;::::0;-1:-1:-1;;;9435:51:16;;12098:2:38;9435:51:16::1;::::0;::::1;12080:21:38::0;12137:1;12117:18;;;12110:29;-1:-1:-1;;;12155:18:38;;;12148:35;12200:18;;9435:51:16::1;11896:328:38::0;9383:110:16::1;9498:6;:19:::0;;;::::1;-1:-1:-1::0;;;;;9498:19:16;;;::::1;::::0;;;::::1;::::0;;9304:218::o;2907:342:26:-;-1:-1:-1;;;;;2989:21:26;;2985:176;;3027:14;;;;;;;;;;;;;;2985:176;3058:25;3062:4;3068:5;3075:7;3058:3;:25::i;:::-;3054:107;;;3100:54;;-1:-1:-1;;;3100:54:26;;26944:2:38;3100:54:26;;;26926:21:38;26983:2;26963:18;;;26956:30;27022:14;27002:18;;;26995:42;27054:18;;3100:54:26;26742:336:38;3054:107:26;-1:-1:-1;;;;;3166:20:26;;:11;:20;;;;;;;;;;;:27;;;;;;;;;;;;;:34;;-1:-1:-1;;3166:34:26;3196:4;3166:34;;;;;;3211:33;;27277:98:38;;;27391:18;;;27384:83;;;;27483:18;;;27476:50;;;;3211:33:26;;27265:2:38;27250:18;3211:33:26;;;;;;;;2907:342;;;:::o;1555:300:1:-;1657:4;1692:40;;;1707:25;1692:40;;:104;;-1:-1:-1;1748:48:1;;;1763:33;1748:48;1692:104;:156;;;-1:-1:-1;952:25:9;937:40;;;;1812:36:1;829:155:9;4628:160:16;4732:4;4751:32;4732:4;4769;4775:7;4751:17;:32::i;4639:85:30:-;4697:22;:6;4712;4697:14;:22::i;10995:171:1:-;11069:24;;;;:15;:24;;;;;:29;;;;-1:-1:-1;;;;;11069:29:1;;;;;;;;:24;;11122:23;11069:24;11122:14;:23::i;:::-;-1:-1:-1;;;;;11113:46:1;;;;;;;;;;;10995:171;;:::o;2799:317:20:-;2900:4;2887:9;:17;;;;:35;;;-1:-1:-1;2908:14:20;;;;2887:35;2883:107;;;2937:48;;-1:-1:-1;;;2937:48:20;;27739:2:38;2937:48:20;;;27721:21:38;27778:2;27758:18;;;27751:30;27817:12;27797:18;;;27790:40;27847:18;;2937:48:20;27537:334:38;2883:107:20;2995:14;:26;;-1:-1:-1;;;;;2995:26:20;;;3027:27;;;;;;;;;;;;;;;;;;;;;;;3065:46;;;3079:15;;;;;;28048:38:38;;3096:14:20;;;;28117:2:38;28102:18;;28095:83;3065:46:20;;28021:18:38;3065:46:20;27876:308:38;6957:532:32;-1:-1:-1;;;;;7042:21:32;;7038:298;;7080:49;;-1:-1:-1;;;7080:49:32;;28391:2:38;7080:49:32;;;28373:21:38;28430:1;28410:18;;;28403:29;28468:9;28448:18;;;28441:37;28495:18;;7080:49:32;28189:330:38;7038:298:32;7146:9;7159:1;7146:14;7142:194;;7177:49;;-1:-1:-1;;;7177:49:32;;28726:2:38;7177:49:32;;;28708:21:38;28765:1;28745:18;;;28738:29;28803:9;28783:18;;;28776:37;28830:18;;7177:49:32;28524:330:38;7142:194:32;-1:-1:-1;;;;;7243:16:32;;7262:1;7243:16;;;:7;:16;;;;;;:20;7239:97;;7280:49;;-1:-1:-1;;;7280:49:32;;29061:2:38;7280:49:32;;;29043:21:38;29100:1;29080:18;;;29073:29;29138:9;29118:18;;;29111:37;29165:18;;7280:49:32;28859:330:38;7239:97:32;7342:7;:21;;;;;;;;;;;;;;-1:-1:-1;;;;;7342:21:32;;;;;;;;-1:-1:-1;7369:16:32;;;:7;7342:21;7369:16;;;;:28;;;7418:12;;:24;;7369:28;;7418:24;:::i;:::-;7403:12;:39;7454:30;;;-1:-1:-1;;;;;206:55:38;;188:74;;293:2;278:18;;271:34;;;7454:30:32;;161:18:38;7454:30:32;14:297:38;5555:139:25;5637:7;5659:30;:6;:20;;3390:14:24;;3287:122;8708:285:32;8762:7;:14;8751:8;8782:138;8803:3;8799:1;:7;8782:138;;;8817:15;8835:7;8843:1;8835:10;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;8835:10:32;8853:16;;:7;:16;;;;;:20;-1:-1:-1;8835:10:32;8902:3;8782:138;;;;8932:12;8925:19;;;8957:7;;8950:14;;;;:::i;:::-;8975:13;;;;;;;8745:248;8708:285::o;7427:344:1:-;7520:4;7232:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7232:16:1;7536:73;;;;-1:-1:-1;;;7536:73:1;;29396:2:38;7536:73:1;;;29378:21:38;29435:2;29415:18;;;29408:30;29474:34;29454:18;;;29447:62;29545:14;29525:18;;;29518:42;29577:19;;7536:73:1;29194:408:38;7536:73:1;7619:13;7635:23;7650:7;7635:14;:23::i;:::-;7619:39;;7687:5;-1:-1:-1;;;;;7676:16:1;:7;-1:-1:-1;;;;;7676:16:1;;:51;;;;7720:7;-1:-1:-1;;;;;7696:31:1;:20;7708:7;7696:11;:20::i;:::-;-1:-1:-1;;;;;7696:31:1;;7676:51;:87;;;-1:-1:-1;;;;;;4607:25:1;;;4584:4;4607:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7731:32;4487:162;10324:560;10478:4;-1:-1:-1;;;;;10451:31:1;:23;10466:7;10451:14;:23::i;:::-;-1:-1:-1;;;;;10451:31:1;;10443:85;;;;-1:-1:-1;;;10443:85:1;;29809:2:38;10443:85:1;;;29791:21:38;29848:2;29828:18;;;29821:30;29887:34;29867:18;;;29860:62;29958:11;29938:18;;;29931:39;29987:19;;10443:85:1;29607:405:38;10443:85:1;-1:-1:-1;;;;;10546:16:1;;10538:65;;;;-1:-1:-1;;;10538:65:1;;30219:2:38;10538:65:1;;;30201:21:38;30258:2;30238:18;;;30231:30;30297:34;30277:18;;;30270:62;30368:6;30348:18;;;30341:34;30392:19;;10538:65:1;30017:400:38;10538:65:1;10715:29;10732:1;10736:7;10715:8;:29::i;:::-;-1:-1:-1;;;;;10755:15:1;;;;;;:9;:15;;;;;:20;;10774:1;;10755:15;:20;;10774:1;;10755:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10785:13:1;;;;;;:9;:13;;;;;:18;;10802:1;;10785:13;:18;;10802:1;;10785:18;:::i;:::-;;;;-1:-1:-1;;10813:16:1;;;;:7;:16;;;;;;:21;;;;-1:-1:-1;;;;;10813:21:1;;;;;;;;;10850:27;;10813:16;;10850:27;;;;;;;10324:560;;;:::o;6534:307::-;6685:28;6695:4;6701:2;6705:7;6685:9;:28::i;:::-;6731:48;6754:4;6760:2;6764:7;6773:5;6731:22;:48::i;:::-;6723:111;;;;-1:-1:-1;;;6723:111:1;;30624:2:38;6723:111:1;;;30606:21:38;30663:2;30643:18;;;30636:30;30702:34;30682:18;;;30675:62;30773:20;30753:18;;;30746:48;30811:19;;6723:111:1;30422:414:38;5187:129:16;5276:35;:13;5297:4;5303:7;5276:20;:35::i;4923:125::-;5011:32;:13;5029:4;5035:7;5011:17;:32::i;5736:93:30:-;5790:4;5809:15;:6;:13;:15::i;8101:108:1:-;8176:26;8186:2;8190:7;8176:26;;;;;;;;;;;;:9;:26::i;4297:69:30:-;4343:18;:6;:16;:18::i;8055:518:32:-;-1:-1:-1;;;;;8121:21:32;;8117:98;;8159:49;;-1:-1:-1;;;8159:49:32;;28391:2:38;8159:49:32;;;28373:21:38;28430:1;28410:18;;;28403:29;28468:9;28448:18;;;28441:37;28495:18;;8159:49:32;28189:330:38;8117:98:32;8285:11;8299:19;8310:7;8299:10;:19::i;:::-;8339:7;8347:14;;8285:33;;-1:-1:-1;8324:12:32;;8347:18;;8364:1;;8347:18;:::i;:::-;8339:27;;;;;;;;:::i;:::-;;;;;;;;;;;8372:7;:15;;-1:-1:-1;;;;;8339:27:32;;;;-1:-1:-1;8339:27:32;;8380:6;;8372:15;;;;;;:::i;:::-;;;;;;;;;:22;;;;;-1:-1:-1;;;;;8372:22:32;;;;;-1:-1:-1;;;;;8372:22:32;;;;;;8400:7;:13;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;8400:13:32;;;;;;;;;;;;;;;-1:-1:-1;;;;;8437:16:32;;;;:7;:16;;;;;;;8459:20;;;8500:12;;:24;;8437:16;;8500:24;:::i;:::-;8485:12;:39;8536:32;;;-1:-1:-1;;;;;206:55:38;;188:74;;293:2;278:18;;271:34;;;8536:32:32;;161:18:38;8536:32:32;;;;;;;8111:462;;;8055:518;:::o;5468:198:30:-;5557:24;:6;5576:4;5557:18;:24::i;:::-;5587:22;:6;5605:3;5587:17;:22::i;:::-;5615:23;:6;:21;:23::i;:::-;5644:17;:6;:15;:17::i;1588:441:8:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:8;;1688:47;;1745:15;:6;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;;;;;;;;;;;1770;:6;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;;;;;;;;;;-1:-1:-1;1800:9:8;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;1866:12;1879:5;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;;;;;;;;;;-1:-1:-1;1915:1:8;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:8;;1936:55;;;;-1:-1:-1;;;1936:55:8;;31433:2:38;1936:55:8;;;31415:21:38;;;31452:18;;;31445:30;31511:34;31491:18;;;31484:62;31563:18;;1936:55:8;31231:356:38;9652:348:1;9711:13;9727:23;9742:7;9727:14;:23::i;:::-;9711:39;;9847:29;9864:1;9868:7;9847:8;:29::i;:::-;-1:-1:-1;;;;;9887:16:1;;;;;;:9;:16;;;;;:21;;9907:1;;9887:16;:21;;9907:1;;9887:21;:::i;:::-;;;;-1:-1:-1;;9925:16:1;;;;:7;:16;;;;;;9918:23;;;;;;9957:36;9933:7;;9925:16;-1:-1:-1;;;;;9957:36:1;;;;;9925:16;;9957:36;9701:299;9652:348;:::o;3967:67:30:-;4005:24;:12;3498:16:24;;;;;;3413:112;5908:651:32;-1:-1:-1;;;;;5968:13:32;;;;;;:7;:13;;;;;;:18;;5964:95;;6003:49;;-1:-1:-1;;;6003:49:32;;31794:2:38;6003:49:32;;;31776:21:38;31833:1;31813:18;;;31806:29;31871:9;31851:18;;;31844:37;31898:18;;6003:49:32;31592:330:38;5964:95:32;6065:15;6083:21;6099:4;6083:15;:21::i;:::-;6065:39;;6115:7;6126:1;6115:12;6111:89;;6144:49;;-1:-1:-1;;;6144:49:32;;32129:2:38;6144:49:32;;;32111:21:38;32168:1;32148:18;;;32141:29;32206:9;32186:18;;;32179:37;32233:18;;6144:49:32;31927:330:38;6111:89:32;6403:7;6385:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;6434:15:32;;;;;;:9;:15;;;;;:26;;;;;;6472:41;6444:4;6453:7;6472:17;:41::i;:::-;6524:30;;;-1:-1:-1;;;;;206:55:38;;188:74;;293:2;278:18;;271:34;;;6524:30:32;;161:18:38;6524:30:32;14:297:38;4468:85:30;4524:24;:6;4541;4524:16;:24::i;2831:399:37:-;2954:16;;2990:19;;3019:15;;;3015:93;;3051:50;;-1:-1:-1;;;3051:50:37;;32464:2:38;3051:50:37;;;32446:21:38;32503:1;32483:18;;;32476:29;32541:9;32521:18;;;32514:37;32568:18;;3051:50:37;32262:330:38;3015:93:37;3117:6;3113:113;3133:6;3129:1;:10;3113:113;;;3150:44;3164:12;3177:1;3164:15;;;;;;;;:::i;:::-;;;;;;;3181:9;3191:1;3181:12;;;;;;;;:::i;:::-;;;;;;;3150:9;:13;;:44;;;;;:::i;:::-;3214:3;;3113:113;;;;2935:295;;2831:399;;:::o;4914:225:30:-;5001:29;:6;5018:11;5001:16;:29::i;:::-;5036;:6;5054:10;5036:17;:29::i;:::-;5077:57;;;17271:25:38;;;17327:2;17312:18;;17305:34;;;5077:57:30;;17244:18:38;5077:57:30;17097:248:38;3234:102:37;3303:28;:9;3320:10;3303:16;:28::i;6621:175:32:-;6670:7;:14;6659:8;6690:102;6711:3;6707:1;:7;6690:102;;;6725:21;6735:7;6743:1;6735:10;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;6735:10:32;6725:9;:21::i;:::-;6774:3;;6690:102;;11301:307:1;11451:8;-1:-1:-1;;;;;11442:17:1;:5;-1:-1:-1;;;;;11442:17:1;;11434:55;;;;-1:-1:-1;;;11434:55:1;;32799:2:38;11434:55:1;;;32781:21:38;32838:2;32818:18;;;32811:30;32877:27;32857:18;;;32850:55;32922:18;;11434:55:1;32597:349:38;11434:55:1;-1:-1:-1;;;;;11499:25:1;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;11499:46:1;;;;;;;;;;11560:41;;888::38;;;11560::1;;861:18:38;11560:41:1;;;;;;;11301:307;;;:::o;5598:239:32:-;5679:7;5694:18;5739:14;;5715:21;:38;;;;:::i;:::-;5818:14;;5803:12;;-1:-1:-1;;;;;5783:16:32;;;;;;:7;:16;;;;;;5694:59;;-1:-1:-1;5818:14:32;;5767:32;;5694:59;5767:32;:::i;:::-;5766:49;;;;:::i;:::-;:66;;;;:::i;5415:136:25:-;5496:7;5518:28;:6;:18;;3390:14:24;;3287:122;3164:158:20;3218:14;3211:21;;3238:22;;;;;;3271:46;;;3238:22;3285:15;;;3238:22;3285:15;28048:38:38;;-1:-1:-1;28117:2:38;28102:18;;28095:83;3271:46:20;;28021:18:38;3271:46:20;27876:308:38;2703:124:37;2787:35;:9;2801:10;2813:8;2787:13;:35::i;3340:230::-;3439:19;;3425:11;3464:102;3484:6;3480:1;:10;3464:102;;;3501:33;3518:12;3531:1;3518:15;;;;;;;;:::i;:::-;;;;;;;3501:9;:16;;:33;;;;:::i;:::-;3554:3;;3464:102;;328:703:8;384:13;601:5;610:1;601:10;597:51;;-1:-1:-1;;627:10:8;;;;;;;;;;;;;;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:8;;-1:-1:-1;773:2:8;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:8;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:8;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;972:11:8;981:2;972:11;;:::i;:::-;;;844:150;;4914:105:17;4982:13;5010:4;5003:11;;;;;:::i;2615:84:37:-;2672:22;:9;2689:4;2672:16;:22::i;3574:70::-;3621:18;:9;:16;:18::i;3648:72::-;3696:19;:9;:17;:19::i;3605:219:26:-;3703:4;-1:-1:-1;;;;;3721:21:26;;3717:63;;3759:14;;;;;;;;;;;;;;3717:63;-1:-1:-1;;;;;;3792:20:26;:11;:20;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;3605:219::o;4921:167:25:-;5011:14;;5031:20;;;5062:21;;;17271:25:38;;;17327:2;17312:18;;17305:34;;;5062:21:25;;17244:18:38;5062:21:25;17097:248:38;12161:778:1;12311:4;-1:-1:-1;;;;;12331:13:1;;1087:20:6;1133:8;12327:606:1;;12366:72;;;;;-1:-1:-1;;;;;12366:36:1;;;;;:72;;719:10:7;;12417:4:1;;12423:7;;12432:5;;12366:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12366:72:1;;;;;;;;-1:-1:-1;;12366:72:1;;;;;;;;;;;;:::i;:::-;;;12362:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12605:6;:13;12622:1;12605:18;12601:266;;12647:60;;-1:-1:-1;;;12647:60:1;;30624:2:38;12647:60:1;;;30606:21:38;30663:2;30643:18;;;30636:30;30702:34;30682:18;;;30675:62;30773:20;30753:18;;;30746:48;30811:19;;12647:60:1;30422:414:38;12601:266:1;12819:6;12813:13;12804:6;12800:2;12796:15;12789:38;12362:519;12488:51;;12498:41;12488:51;;-1:-1:-1;12481:58:1;;12327:606;-1:-1:-1;12918:4:1;12161:778;;;;;;:::o;3253:348:26:-;-1:-1:-1;;;;;3338:21:26;;3334:177;;3376:14;;;;;;;;;;;;;;3334:177;3408:25;3412:4;3418:5;3425:7;3408:3;:25::i;:::-;3403:108;;3450:54;;-1:-1:-1;;;3450:54:26;;34241:2:38;3450:54:26;;;34223:21:38;34280:2;34260:18;;;34253:30;34319:14;34299:18;;;34292:42;34351:18;;3450:54:26;34039:336:38;3403:108:26;-1:-1:-1;;;;;3516:20:26;;3546:5;3516:20;;;;;;;;;;;:27;;;;;;;;;;;;:35;;-1:-1:-1;;3516:35:26;;;3562:34;;27277:98:38;;;27391:18;;;27384:83;;;;27483:18;;;27476:50;3562:34:26;;27265:2:38;27250:18;3562:34:26;27083:449:38;5232:179:25;5310:7;5388:6;:18;;;5354:30;:6;:20;;3390:14:24;;3287:122;5354:30:25;5333:6;:18;;;:51;;;;:::i;:::-;5332:74;;;;:::i;8430:311:1:-;8555:18;8561:2;8565:7;8555:5;:18::i;:::-;8604:54;8635:1;8639:2;8643:7;8652:5;8604:22;:54::i;:::-;8583:151;;;;-1:-1:-1;;;8583:151:1;;30624:2:38;8583:151:1;;;30606:21:38;30663:2;30643:18;;;30636:30;30702:34;30682:18;;;30675:62;30773:20;30753:18;;;30746:48;30811:19;;8583:151:1;30422:414:38;5806:102:25;5871:32;:6;:20;;3498:16:24;;;;;;3413:112;7650:264:32;7755:7;:14;7726:10;;;7775:135;7796:3;7792:1;:7;7775:135;;;7828:7;-1:-1:-1;;;;;7814:21:32;:7;7822:1;7814:10;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;7814:10:32;:21;7810:55;;7855:1;7847:9;;7810:55;7892:3;;7775:135;;;;7738:176;7650:264;;;:::o;3330:221:25:-;3424:17;3444:6;:21;;3424:41;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3495:8;3471:6;:21;;:32;;;;;;:::i;:::-;;3514;3532:8;3542:3;3514:32;;;;;;;:::i;3556:214::-;3648:17;3668:6;:20;;3648:40;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3717:7;3694:6;:20;;:30;;;;;;:::i;:::-;;3735;3752:7;3761:3;3735:30;;;;;;;:::i;3911:635::-;3985:6;:18;;;4007:1;3985:23;3981:107;;4025:56;;-1:-1:-1;;;4025:56:25;;34970:2:38;4025:56:25;;;34952:21:38;35009:2;34989:18;;;34982:30;35048:15;35028:18;;;35021:43;35081:18;;4025:56:25;34768:337:38;3981:107:25;4478:6;:18;;;4236:15;4283:10;4325:6;:20;;4377:6;:21;;4430:16;4187:260;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;4147:301;;;;;;4114:335;;:382;;;;:::i;:::-;4093:18;;;:403;;;4507:34;;5412:25:38;;;4507:34:25;;5400:2:38;5385:18;4507:34:25;;;;;;;;3911:635;:::o;3774:133::-;3838:14;;;:21;;;;;;;;;;;;3870:32;;;;;;3887:14;;3838:21;3887:14;913::38;906:22;888:41;;876:2;861:18;;748:187;2065:312:6;2179:6;2154:21;:31;;2146:73;;;;-1:-1:-1;;;2146:73:6;;36685:2:38;2146:73:6;;;36667:21:38;36724:2;36704:18;;;36697:30;36763:31;36743:18;;;36736:59;36812:18;;2146:73:6;36483:353:38;2146:73:6;2231:12;2249:9;-1:-1:-1;;;;;2249:14:6;2271:6;2249:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2230:52;;;2300:7;2292:78;;;;-1:-1:-1;;;2292:78:6;;37253:2:38;2292:78:6;;;37235:21:38;37292:2;37272:18;;;37265:30;37331:34;37311:18;;;37304:62;37402:28;37382:18;;;37375:56;37448:19;;2292:78:6;37051:422:38;5092:136:25;5173:13;;;:22;;-1:-1:-1;;5173:22:25;;;;;;;;;;5206:17;;888:41:38;;;5206:17:25;;876:2:38;861:18;5206:17:25;748:187:38;3997:433:27;-1:-1:-1;;;;;4094:21:27;;4118:1;4094:21;;;:11;;;:21;;;;;;:25;4090:106;;4137:52;;-1:-1:-1;;;4137:52:27;;37680:2:38;4137:52:27;;;37662:21:38;37719:1;37699:18;;;37692:29;37757:11;37737:18;;;37730:39;37786:18;;4137:52:27;37478:332:38;4090:106:27;-1:-1:-1;;;;;4310:21:27;;;;;;:11;;;;:21;;;;;;;;;:31;;;4370:55;;38011:41:38;;;38068:18;;38061:34;;;38111:18;;;38104:83;;;;4370:55:27;;37999:2:38;37984:18;4370:55:27;37815:378:38;4550:180:25;4642:18;;;;;4666:24;;;;4701;;;17271:25:38;;;17327:2;17312:18;;17305:34;;;4701:24:25;;17244:18:38;4701:24:25;17097:248:38;4734:183:25;4827:19;;;;;4852:25;;;;4888:24;;;17271:25:38;;;17327:2;17312:18;;17305:34;;;4888:24:25;;17244:18:38;4888:24:25;17097:248:38;4434:419:27;-1:-1:-1;;;;;4517:21:27;;;;;;:11;;;:21;;;;;;:26;;4513:107;;4561:52;;-1:-1:-1;;;4561:52:27;;38400:2:38;4561:52:27;;;38382:21:38;38439:1;38419:18;;;38412:29;38477:11;38457:18;;;38450:39;38506:18;;4561:52:27;38198:332:38;4513:107:27;-1:-1:-1;;;;;4738:21:27;;4762:1;4738:21;;;:11;;;:21;;;;;;;;:25;;;4792:56;;38011:41:38;;;38068:18;;;38061:34;;;;38111:18;;;38104:83;;;;4792:56:27;;37999:2:38;37984:18;4792:56:27;37815:378:38;3506:487:27;-1:-1:-1;;;;;3622:21:27;;3609:10;3622:21;;;:11;;;:21;;;;;;;3675:10;;;3671:91;;3703:52;;-1:-1:-1;;;3703:52:27;;38400:2:38;3703:52:27;;;38382:21:38;38439:1;38419:18;;;38412:29;38477:11;38457:18;;;38450:39;38506:18;;3703:52:27;38198:332:38;3671:91:27;-1:-1:-1;;;;;3875:21:27;;;;;;3832:7;3875:11;;;:21;;;;;;;;;-1:-1:-1;;3832:7:27;;;;3875:29;;;;3933:55;;38011:41:38;;;38068:18;;38061:34;;;38111:18;;;38104:83;;;;3933:55:27;;37999:2:38;37984:18;3933:55:27;37815:378:38;4857:227:27;4919:12;;;;4915:93;;;4949:52;;-1:-1:-1;;;4949:52:27;;38737:2:38;4949:52:27;;;38719:21:38;38776:1;38756:18;;;38749:29;38814:11;38794:18;;;38787:39;38843:18;;4949:52:27;38535:332:38;4915:93:27;5013:19;;-1:-1:-1;;5013:19:27;5028:4;5013:19;;;;;5043:36;;;-1:-1:-1;39034:41:38;;39106:2;39091:18;;39084:50;;;;5043:36:27;;39007:18:38;5043:36:27;38872:268:38;5088:229:27;5152:12;;;;5147:94;;5182:52;;-1:-1:-1;;;5182:52:27;;39347:2:38;5182:52:27;;;39329:21:38;39386:1;39366:18;;;39359:29;39424:11;39404:18;;;39397:39;39453:18;;5182:52:27;39145:332:38;5147:94:27;5246:20;;-1:-1:-1;;5246:20:27;;;5277:35;;;-1:-1:-1;39034:41:38;;-1:-1:-1;39106:2:38;39091:18;;39084:50;5277:35:27;;39007:18:38;5277:35:27;38872:268:38;9063:372:1;-1:-1:-1;;;;;9142:16:1;;9134:61;;;;-1:-1:-1;;;9134:61:1;;39684:2:38;9134:61:1;;;39666:21:38;;;39703:18;;;39696:30;39762:34;39742:18;;;39735:62;39814:18;;9134:61:1;39482:356:38;9134:61:1;7209:4;7232:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7232:16:1;:30;9205:58;;;;-1:-1:-1;;;9205:58:1;;40045:2:38;9205:58:1;;;40027:21:38;40084:2;40064:18;;;40057:30;40123;40103:18;;;40096:58;40171:18;;9205:58:1;39843:352:38;9205:58:1;-1:-1:-1;;;;;9330:13:1;;;;;;:9;:13;;;;;:18;;9347:1;;9330:13;:18;;9347:1;;9330:18;:::i;:::-;;;;-1:-1:-1;;9358:16:1;;;;:7;:16;;;;;;:21;;;;-1:-1:-1;;;;;9358:21:1;;;;;;;;9395:33;;9358:16;;;9395:33;;9358:16;;9395:33;9063:372;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;316:177:38:-;401:66;394:5;390:78;383:5;380:89;370:117;;483:1;480;473:12;498:245;556:6;609:2;597:9;588:7;584:23;580:32;577:52;;;625:1;622;615:12;577:52;664:9;651:23;683:30;707:5;683:30;:::i;940:196::-;1008:20;;-1:-1:-1;;;;;1057:54:38;;1047:65;;1037:93;;1126:1;1123;1116:12;1037:93;940:196;;;:::o;1141:184::-;1193:77;1190:1;1183:88;1290:4;1287:1;1280:15;1314:4;1311:1;1304:15;1330:334;1401:2;1395:9;1457:2;1447:13;;-1:-1:-1;;1443:86:38;1431:99;;1560:18;1545:34;;1581:22;;;1542:62;1539:88;;;1607:18;;:::i;:::-;1643:2;1636:22;1330:334;;-1:-1:-1;1330:334:38:o;1669:183::-;1729:4;1762:18;1754:6;1751:30;1748:56;;;1784:18;;:::i;:::-;-1:-1:-1;1829:1:38;1825:14;1841:4;1821:25;;1669:183::o;1857:662::-;1911:5;1964:3;1957:4;1949:6;1945:17;1941:27;1931:55;;1982:1;1979;1972:12;1931:55;2018:6;2005:20;2044:4;2068:60;2084:43;2124:2;2084:43;:::i;:::-;2068:60;:::i;:::-;2162:15;;;2248:1;2244:10;;;;2232:23;;2228:32;;;2193:12;;;;2272:15;;;2269:35;;;2300:1;2297;2290:12;2269:35;2336:2;2328:6;2324:15;2348:142;2364:6;2359:3;2356:15;2348:142;;;2430:17;;2418:30;;2468:12;;;;2381;;2348:142;;;-1:-1:-1;2508:5:38;1857:662;-1:-1:-1;;;;;;1857:662:38:o;2524:496::-;2626:6;2634;2642;2695:2;2683:9;2674:7;2670:23;2666:32;2663:52;;;2711:1;2708;2701:12;2663:52;2734:29;2753:9;2734:29;:::i;:::-;2724:39;;2782:38;2816:2;2805:9;2801:18;2782:38;:::i;:::-;2772:48;;2871:2;2860:9;2856:18;2843:32;2898:18;2890:6;2887:30;2884:50;;;2930:1;2927;2920:12;2884:50;2953:61;3006:7;2997:6;2986:9;2982:22;2953:61;:::i;:::-;2943:71;;;2524:496;;;;;:::o;3025:180::-;3084:6;3137:2;3125:9;3116:7;3112:23;3108:32;3105:52;;;3153:1;3150;3143:12;3105:52;-1:-1:-1;3176:23:38;;3025:180;-1:-1:-1;3025:180:38:o;3210:250::-;3295:1;3305:113;3319:6;3316:1;3313:13;3305:113;;;3395:11;;;3389:18;3376:11;;;3369:39;3341:2;3334:10;3305:113;;;-1:-1:-1;;3452:1:38;3434:16;;3427:27;3210:250::o;3465:330::-;3507:3;3545:5;3539:12;3572:6;3567:3;3560:19;3588:76;3657:6;3650:4;3645:3;3641:14;3634:4;3627:5;3623:16;3588:76;:::i;:::-;3709:2;3697:15;-1:-1:-1;;3693:88:38;3684:98;;;;3784:4;3680:109;;3465:330;-1:-1:-1;;3465:330:38:o;3800:220::-;3949:2;3938:9;3931:21;3912:4;3969:45;4010:2;3999:9;3995:18;3987:6;3969:45;:::i;4256:254::-;4324:6;4332;4385:2;4373:9;4364:7;4360:23;4356:32;4353:52;;;4401:1;4398;4391:12;4353:52;4424:29;4443:9;4424:29;:::i;:::-;4414:39;4500:2;4485:18;;;;4472:32;;-1:-1:-1;;;4256:254:38:o;4515:159::-;4582:20;;4642:6;4631:18;;4621:29;;4611:57;;4664:1;4661;4654:12;4679:258;4746:6;4754;4807:2;4795:9;4786:7;4782:23;4778:32;4775:52;;;4823:1;4820;4813:12;4775:52;4846:29;4865:9;4846:29;:::i;:::-;4836:39;;4894:37;4927:2;4916:9;4912:18;4894:37;:::i;4942:319::-;5009:6;5017;5070:2;5058:9;5049:7;5045:23;5041:32;5038:52;;;5086:1;5083;5076:12;5038:52;5125:9;5112:23;5144:30;5168:5;5144:30;:::i;:::-;5193:5;-1:-1:-1;5217:38:38;5251:2;5236:18;;5217:38;:::i;5448:186::-;5507:6;5560:2;5548:9;5539:7;5535:23;5531:32;5528:52;;;5576:1;5573;5566:12;5528:52;5599:29;5618:9;5599:29;:::i;5639:328::-;5716:6;5724;5732;5785:2;5773:9;5764:7;5760:23;5756:32;5753:52;;;5801:1;5798;5791:12;5753:52;5824:29;5843:9;5824:29;:::i;:::-;5814:39;;5872:38;5906:2;5895:9;5891:18;5872:38;:::i;:::-;5862:48;;5957:2;5946:9;5942:18;5929:32;5919:42;;5639:328;;;;;:::o;5972:589::-;6014:5;6067:3;6060:4;6052:6;6048:17;6044:27;6034:55;;6085:1;6082;6075:12;6034:55;6121:6;6108:20;6147:18;6143:2;6140:26;6137:52;;;6169:18;;:::i;:::-;6213:114;6321:4;-1:-1:-1;;6245:4:38;6241:2;6237:13;6233:86;6229:97;6213:114;:::i;:::-;6352:2;6343:7;6336:19;6398:3;6391:4;6386:2;6378:6;6374:15;6370:26;6367:35;6364:55;;;6415:1;6412;6405:12;6364:55;6480:2;6473:4;6465:6;6461:17;6454:4;6445:7;6441:18;6428:55;6528:1;6503:16;;;6521:4;6499:27;6492:38;;;;6507:7;5972:589;-1:-1:-1;;;5972:589:38:o;6566:716::-;6686:6;6694;6702;6710;6763:3;6751:9;6742:7;6738:23;6734:33;6731:53;;;6780:1;6777;6770:12;6731:53;6803:29;6822:9;6803:29;:::i;:::-;6793:39;;6851:38;6885:2;6874:9;6870:18;6851:38;:::i;:::-;6841:48;;6940:2;6929:9;6925:18;6912:32;6963:18;7004:2;6996:6;6993:14;6990:34;;;7020:1;7017;7010:12;6990:34;7043:61;7096:7;7087:6;7076:9;7072:22;7043:61;:::i;:::-;7033:71;;7157:2;7146:9;7142:18;7129:32;7113:48;;7186:2;7176:8;7173:16;7170:36;;;7202:1;7199;7192:12;7170:36;;7225:51;7268:7;7257:8;7246:9;7242:24;7225:51;:::i;:::-;7215:61;;;6566:716;;;;;;;:::o;7287:248::-;7355:6;7363;7416:2;7404:9;7395:7;7391:23;7387:32;7384:52;;;7432:1;7429;7422:12;7384:52;-1:-1:-1;;7455:23:38;;;7525:2;7510:18;;;7497:32;;-1:-1:-1;7287:248:38:o;7540:541::-;7628:6;7636;7689:2;7677:9;7668:7;7664:23;7660:32;7657:52;;;7705:1;7702;7695:12;7657:52;7745:9;7732:23;7774:18;7815:2;7807:6;7804:14;7801:34;;;7831:1;7828;7821:12;7801:34;7854:49;7895:7;7886:6;7875:9;7871:22;7854:49;:::i;:::-;7844:59;;7956:2;7945:9;7941:18;7928:32;7912:48;;7985:2;7975:8;7972:16;7969:36;;;8001:1;7998;7991:12;7969:36;;8024:51;8067:7;8056:8;8045:9;8041:24;8024:51;:::i;:::-;8014:61;;;7540:541;;;;;:::o;8086:321::-;8155:6;8208:2;8196:9;8187:7;8183:23;8179:32;8176:52;;;8224:1;8221;8214:12;8176:52;8264:9;8251:23;8297:18;8289:6;8286:30;8283:50;;;8329:1;8326;8319:12;8283:50;8352:49;8393:7;8384:6;8373:9;8369:22;8352:49;:::i;8665:160::-;8730:20;;8786:13;;8779:21;8769:32;;8759:60;;8815:1;8812;8805:12;8830:180;8886:6;8939:2;8927:9;8918:7;8914:23;8910:32;8907:52;;;8955:1;8952;8945:12;8907:52;8978:26;8994:9;8978:26;:::i;9015:668::-;9069:5;9122:3;9115:4;9107:6;9103:17;9099:27;9089:55;;9140:1;9137;9130:12;9089:55;9176:6;9163:20;9202:4;9226:60;9242:43;9282:2;9242:43;:::i;9226:60::-;9320:15;;;9406:1;9402:10;;;;9390:23;;9386:32;;;9351:12;;;;9430:15;;;9427:35;;;9458:1;9455;9448:12;9427:35;9494:2;9486:6;9482:15;9506:148;9522:6;9517:3;9514:15;9506:148;;;9588:23;9607:3;9588:23;:::i;:::-;9576:36;;9632:12;;;;9539;;9506:148;;9688:595;9806:6;9814;9867:2;9855:9;9846:7;9842:23;9838:32;9835:52;;;9883:1;9880;9873:12;9835:52;9923:9;9910:23;9952:18;9993:2;9985:6;9982:14;9979:34;;;10009:1;10006;9999:12;9979:34;10032:61;10085:7;10076:6;10065:9;10061:22;10032:61;:::i;:::-;10022:71;;10146:2;10135:9;10131:18;10118:32;10102:48;;10175:2;10165:8;10162:16;10159:36;;;10191:1;10188;10181:12;10159:36;;10214:63;10269:7;10258:8;10247:9;10243:24;10214:63;:::i;10288:254::-;10353:6;10361;10414:2;10402:9;10393:7;10389:23;10385:32;10382:52;;;10430:1;10427;10420:12;10382:52;10453:29;10472:9;10453:29;:::i;:::-;10443:39;;10501:35;10532:2;10521:9;10517:18;10501:35;:::i;10547:537::-;10642:6;10650;10658;10666;10719:3;10707:9;10698:7;10694:23;10690:33;10687:53;;;10736:1;10733;10726:12;10687:53;10759:29;10778:9;10759:29;:::i;:::-;10749:39;;10807:38;10841:2;10830:9;10826:18;10807:38;:::i;:::-;10797:48;;10892:2;10881:9;10877:18;10864:32;10854:42;;10947:2;10936:9;10932:18;10919:32;10974:18;10966:6;10963:30;10960:50;;;11006:1;11003;10996:12;10960:50;11029:49;11070:7;11061:6;11050:9;11046:22;11029:49;:::i;11089:348::-;11173:6;11226:2;11214:9;11205:7;11201:23;11197:32;11194:52;;;11242:1;11239;11232:12;11194:52;11282:9;11269:23;11315:18;11307:6;11304:30;11301:50;;;11347:1;11344;11337:12;11301:50;11370:61;11423:7;11414:6;11403:9;11399:22;11370:61;:::i;11442:184::-;11500:6;11553:2;11541:9;11532:7;11528:23;11524:32;11521:52;;;11569:1;11566;11559:12;11521:52;11592:28;11610:9;11592:28;:::i;11631:260::-;11699:6;11707;11760:2;11748:9;11739:7;11735:23;11731:32;11728:52;;;11776:1;11773;11766:12;11728:52;11799:29;11818:9;11799:29;:::i;12229:437::-;12308:1;12304:12;;;;12351;;;12372:61;;12426:4;12418:6;12414:17;12404:27;;12372:61;12479:2;12471:6;12468:14;12448:18;12445:38;12442:218;;12516:77;12513:1;12506:88;12617:4;12614:1;12607:15;12645:4;12642:1;12635:15;12442:218;;12229:437;;;:::o;14244:184::-;14296:77;14293:1;14286:88;14393:4;14390:1;14383:15;14417:4;14414:1;14407:15;14433:128;14500:9;;;14521:11;;;14518:37;;;14535:18;;:::i;14984:184::-;15036:77;15033:1;15026:88;15133:4;15130:1;15123:15;15157:4;15154:1;15147:15;15173:632;15344:2;15396:21;;;15466:13;;15369:18;;;15488:22;;;15315:4;;15344:2;15567:15;;;;15541:2;15526:18;;;15315:4;15610:169;15624:6;15621:1;15618:13;15610:169;;;15685:13;;15673:26;;15754:15;;;;15719:12;;;;15646:1;15639:9;15610:169;;;-1:-1:-1;15796:3:38;;15173:632;-1:-1:-1;;;;;;15173:632:38:o;15810:168::-;15883:9;;;15914;;15931:15;;;15925:22;;15911:37;15901:71;;15952:18;;:::i;15983:184::-;16035:77;16032:1;16025:88;16132:4;16129:1;16122:15;16156:4;16153:1;16146:15;16172:120;16212:1;16238;16228:35;;16243:18;;:::i;:::-;-1:-1:-1;16277:9:38;;16172:120::o;16967:125::-;17032:9;;;17053:10;;;17050:36;;;17066:18;;:::i;19728:628::-;20091:18;20086:3;20079:31;20061:3;20139:6;20133:13;20155:75;20223:6;20218:2;20213:3;20209:12;20202:4;20194:6;20190:17;20155:75;:::i;:::-;20294:28;20289:2;20249:16;;;;20281:11;;;20274:49;-1:-1:-1;20347:2:38;20339:11;;19728:628;-1:-1:-1;19728:628:38:o;21153:545::-;21255:2;21250:3;21247:11;21244:448;;;21291:1;21316:5;21312:2;21305:17;21361:4;21357:2;21347:19;21431:2;21419:10;21415:19;21412:1;21408:27;21402:4;21398:38;21467:4;21455:10;21452:20;21449:47;;;-1:-1:-1;21490:4:38;21449:47;21545:2;21540:3;21536:12;21533:1;21529:20;21523:4;21519:31;21509:41;;21600:82;21618:2;21611:5;21608:13;21600:82;;;21663:17;;;21644:1;21633:13;21600:82;;;21604:3;;;21153:545;;;:::o;21934:1471::-;22060:3;22054:10;22087:18;22079:6;22076:30;22073:56;;;22109:18;;:::i;:::-;22138:97;22228:6;22188:38;22220:4;22214:11;22188:38;:::i;:::-;22182:4;22138:97;:::i;:::-;22290:4;;22354:2;22343:14;;22371:1;22366:782;;;;23192:1;23209:6;23206:89;;;-1:-1:-1;23261:19:38;;;23255:26;23206:89;-1:-1:-1;;21831:1:38;21827:11;;;21823:84;21819:89;21809:100;21915:1;21911:11;;;21806:117;23308:81;;22336:1063;;22366:782;21100:1;21093:14;;;21137:4;21124:18;;-1:-1:-1;;22402:79:38;;;22579:236;22593:7;22590:1;22587:14;22579:236;;;22682:19;;;22676:26;22661:42;;22774:27;;;;22742:1;22730:14;;;;22609:19;;22579:236;;;22583:3;22843:6;22834:7;22831:19;22828:261;;;22904:19;;;22898:26;-1:-1:-1;;22987:1:38;22983:14;;;22999:3;22979:24;22975:97;22971:102;22956:118;22941:134;;22828:261;-1:-1:-1;;;;;23135:1:38;23119:14;;;23115:22;23102:36;;-1:-1:-1;21934:1471:38:o;23410:1151::-;23604:2;23593:9;23586:21;23567:4;23630:45;23671:2;23660:9;23656:18;23648:6;23630:45;:::i;:::-;23694:2;23744:9;23736:6;23732:22;23727:2;23716:9;23712:18;23705:50;23775:1;23808:6;23802:13;23838:36;23864:9;23838:36;:::i;:::-;23883:22;;;23924:1;23941:18;;;23968:210;;;;24192:1;24187:348;;;;23934:601;;23968:210;-1:-1:-1;;24017:9:38;24013:82;24008:2;24000:6;23996:15;23989:107;24165:2;24153:6;24146:14;24139:22;24136:1;24132:30;24124:6;24120:43;24116:52;24109:59;;23968:210;;24187:348;24218:6;24215:1;24208:17;24266:2;24263:1;24253:16;24291:1;24305:177;24319:6;24316:1;24313:13;24305:177;;;24409:14;;24388;;;24384:23;;24377:47;24452:16;;;;24334:10;;24305:177;;;24506:14;;24502:23;;;-1:-1:-1;;23934:601:38;-1:-1:-1;24552:3:38;;23410:1151;-1:-1:-1;;;;;;;;;23410:1151:38:o;25387:642::-;25750:32;25745:3;25738:45;25720:3;25812:6;25806:13;25828:75;25896:6;25891:2;25886:3;25882:12;25875:4;25867:6;25863:17;25828:75;:::i;:::-;25967:28;25962:2;25922:16;;;;25954:11;;;25947:49;-1:-1:-1;26020:2:38;26012:11;;25387:642;-1:-1:-1;25387:642:38:o;26034:703::-;26261:3;26299:6;26293:13;26315:66;26374:6;26369:3;26362:4;26354:6;26350:17;26315:66;:::i;:::-;26444:13;;26403:16;;;;26466:70;26444:13;26403:16;26513:4;26501:17;;26466:70;:::i;:::-;26603:13;;26558:20;;;26625:70;26603:13;26558:20;26672:4;26660:17;;26625:70;:::i;:::-;26711:20;;26034:703;-1:-1:-1;;;;;26034:703:38:o;30841:184::-;30893:77;30890:1;30883:88;30990:4;30987:1;30980:15;31014:4;31011:1;31004:15;31030:196;31069:3;31097:5;31087:39;;31106:18;;:::i;:::-;-1:-1:-1;;;31142:78:38;;31030:196::o;32951:195::-;32990:3;-1:-1:-1;;33014:5:38;33011:77;33008:103;;33091:18;;:::i;:::-;-1:-1:-1;33138:1:38;33127:13;;32951:195::o;33151:112::-;33183:1;33209;33199:35;;33214:18;;:::i;:::-;-1:-1:-1;33248:9:38;;33151:112::o;33268:512::-;33462:4;-1:-1:-1;;;;;33572:2:38;33564:6;33560:15;33549:9;33542:34;33624:2;33616:6;33612:15;33607:2;33596:9;33592:18;33585:43;;33664:6;33659:2;33648:9;33644:18;33637:34;33707:3;33702:2;33691:9;33687:18;33680:31;33728:46;33769:3;33758:9;33754:19;33746:6;33728:46;:::i;:::-;33720:54;33268:512;-1:-1:-1;;;;;;33268:512:38:o;33785:249::-;33854:6;33907:2;33895:9;33886:7;33882:23;33878:32;33875:52;;;33923:1;33920;33913:12;33875:52;33955:9;33949:16;33974:30;33998:5;33974:30;:::i;34380:383::-;34577:2;34566:9;34559:21;34540:4;34603:45;34644:2;34633:9;34629:18;34621:6;34603:45;:::i;:::-;34696:9;34688:6;34684:22;34679:2;34668:9;34664:18;34657:50;34724:33;34750:6;34742;34724:33;:::i;:::-;34716:41;34380:383;-1:-1:-1;;;;;34380:383:38:o;35110:780::-;35160:3;35201:5;35195:12;35230:36;35256:9;35230:36;:::i;:::-;35285:1;35302:18;;;35329:191;;;;35534:1;35529:355;;;;35295:589;;35329:191;-1:-1:-1;;35366:9:38;35362:82;35357:3;35350:95;35500:6;35493:14;35486:22;35478:6;35474:35;35469:3;35465:45;35458:52;;35329:191;;35529:355;35560:5;35557:1;35550:16;35589:4;35634:2;35631:1;35621:16;35659:1;35673:165;35687:6;35684:1;35681:13;35673:165;;;35765:14;;35752:11;;;35745:35;35808:16;;;;35702:10;;35673:165;;;35677:3;;;35867:6;35862:3;35858:16;35851:23;;35295:589;;;;;35110:780;;;;:::o;35895:583::-;36182:6;36177:3;36170:19;36240:66;36231:6;36227:2;36223:15;36219:88;36214:2;36209:3;36205:12;36198:110;36152:3;36330:82;36364:47;36407:2;36402:3;36398:12;36390:6;36364:47;:::i;:::-;36356:6;36330:82;:::i;:::-;36421:21;;;-1:-1:-1;;36469:2:38;36458:14;;35895:583;-1:-1:-1;;;;35895:583:38:o

Swarm Source

ipfs://d43d491d62964b2bd6b41c30d4ad072de259f949bd0993ca049aad7970d429a7
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.