ETH Price: $3,522.36 (+0.33%)
Gas: 3 Gwei

Contract

0x26442a5A77de81d983BD04d82C5B343b41f6C0F4
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...192756802024-02-21 11:17:11150 days ago1708514231IN
0x26442a5A...b41f6C0F4
0 ETH0.0016281727.18791578
Safe Transfer Fr...184129422023-10-23 12:23:11271 days ago1698063791IN
0x26442a5A...b41f6C0F4
0 ETH0.0007315311.74442346
Set Approval For...174320802023-06-08 0:35:47408 days ago1686184547IN
0x26442a5A...b41f6C0F4
0 ETH0.0011260518.80323719
Set Approval For...169472262023-03-31 12:37:11477 days ago1680266231IN
0x26442a5A...b41f6C0F4
0 ETH0.0016921828.25684513
Safe Transfer Fr...167689852023-03-06 11:22:35502 days ago1678101755IN
0x26442a5A...b41f6C0F4
0 ETH0.0014462323.24246106
Transfer From167689822023-03-06 11:21:59502 days ago1678101719IN
0x26442a5A...b41f6C0F4
0 ETH0.0031161724.03828139
Set Approval For...167083032023-02-25 22:37:35510 days ago1677364655IN
0x26442a5A...b41f6C0F4
0 ETH0.0011520919.21122658
Air Drop Mint167059052023-02-25 14:31:11511 days ago1677335471IN
0x26442a5A...b41f6C0F4
0 ETH0.0379271219.4008794
Set Bytes167058802023-02-25 14:26:11511 days ago1677335171IN
0x26442a5A...b41f6C0F4
0 ETH0.0477631320.5449613
0x600c8054167058642023-02-25 14:22:47511 days ago1677334967IN
 Create: Lagen
0 ETH0.1279963920.41323825

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
167058802023-02-25 14:26:11511 days ago1677335171
0x26442a5A...b41f6C0F4
 Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Lagen

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 100 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

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


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

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

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

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

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

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

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

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

      uint256 size = maxSize < reqSize ? maxSize : reqSize;

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

/**
  @title A key-value storage with auto-generated keys for storing chunks of data with a lower write & read cost.
  @author Agustin Aguilar <[email protected]>
  Readme: https://github.com/0xsequence/sstore2#readme
*/
library SSTORE2 {
  error WriteError();

  /**
    @notice Stores `_data` and returns `pointer` as key for later retrieval
    @dev The pointer is a contract address with `_data` as code
    @param _data to be written
    @return pointer Pointer to the written `_data`
  */
  function write(bytes memory _data) internal returns (address pointer) {
    // Append 00 to _data so contract can't be called
    // Build init code
    bytes memory code = Bytecode.creationCodeFor(
      abi.encodePacked(
        hex'00',
        _data
      )
    );

    // Deploy contract using create
    assembly { pointer := create(0, add(code, 32), mload(code)) }

    // Address MUST be non-zero
    if (pointer == address(0)) revert WriteError();
  }

  /**
    @notice Reads the contents of the `_pointer` code as data, skips the first byte 
    @dev The function is intended for reading pointers generated by `write`
    @param _pointer to be read
    @return data read from `_pointer` contract
  */
  function read(address _pointer) internal view returns (bytes memory) {
    return Bytecode.codeAt(_pointer, 1, type(uint256).max);
  }

  /**
    @notice Reads the contents of the `_pointer` code as data, skips the first byte 
    @dev The function is intended for reading pointers generated by `write`
    @param _pointer to be read
    @param _start number of bytes to skip
    @return data read from `_pointer` contract
  */
  function read(address _pointer, uint256 _start) internal view returns (bytes memory) {
    return Bytecode.codeAt(_pointer, _start + 1, type(uint256).max);
  }

  /**
    @notice Reads the contents of the `_pointer` code as data, skips the first byte 
    @dev The function is intended for reading pointers generated by `write`
    @param _pointer to be read
    @param _start number of bytes to skip
    @param _end index before which to end extraction
    @return data read from `_pointer` contract
  */
  function read(address _pointer, uint256 _start, uint256 _end) internal view returns (bytes memory) {
    return Bytecode.codeAt(_pointer, _start + 1, _end + 1);
  }
}

pragma solidity >=0.8.0 <0.9.0;


library BytesLib {
    function concat(
        bytes memory _preBytes,
        bytes memory _postBytes
    )
        internal
        pure
        returns (bytes memory)
    {
        bytes memory tempBytes;

        assembly {
            // Get a location of some free memory and store it in tempBytes as
            // Solidity does for memory variables.
            tempBytes := mload(0x40)

            // Store the length of the first bytes array at the beginning of
            // the memory for tempBytes.
            let length := mload(_preBytes)
            mstore(tempBytes, length)

            // Maintain a memory counter for the current write location in the
            // temp bytes array by adding the 32 bytes for the array length to
            // the starting location.
            let mc := add(tempBytes, 0x20)
            // Stop copying when the memory counter reaches the length of the
            // first bytes array.
            let end := add(mc, length)

            for {
                // Initialize a copy counter to the start of the _preBytes data,
                // 32 bytes into its memory.
                let cc := add(_preBytes, 0x20)
            } lt(mc, end) {
                // Increase both counters by 32 bytes each iteration.
                mc := add(mc, 0x20)
                cc := add(cc, 0x20)
            } {
                // Write the _preBytes data into the tempBytes memory 32 bytes
                // at a time.
                mstore(mc, mload(cc))
            }

            // Add the length of _postBytes to the current length of tempBytes
            // and store it as the new length in the first 32 bytes of the
            // tempBytes memory.
            length := mload(_postBytes)
            mstore(tempBytes, add(length, mload(tempBytes)))

            // Move the memory counter back from a multiple of 0x20 to the
            // actual end of the _preBytes data.
            mc := end
            // Stop copying when the memory counter reaches the new combined
            // length of the arrays.
            end := add(mc, length)

            for {
                let cc := add(_postBytes, 0x20)
            } lt(mc, end) {
                mc := add(mc, 0x20)
                cc := add(cc, 0x20)
            } {
                mstore(mc, mload(cc))
            }

            // Update the free-memory pointer by padding our last write location
            // to 32 bytes: add 31 bytes to the end of tempBytes to move to the
            // next 32 byte block, then round down to the nearest multiple of
            // 32. If the sum of the length of the two arrays is zero then add
            // one before rounding down to leave a blank 32 bytes (the length block with 0).
            mstore(0x40, and(
              add(add(end, iszero(add(length, mload(_preBytes)))), 31),
              not(31) // Round down to the nearest 32 bytes.
            ))
        }

        return tempBytes;
    }

    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {
        assembly {
            // Read the first 32 bytes of _preBytes storage, which is the length
            // of the array. (We don't need to use the offset into the slot
            // because arrays use the entire slot.)
            let fslot := sload(_preBytes.slot)
            // Arrays of 31 bytes or less have an even value in their slot,
            // while longer arrays have an odd value. The actual length is
            // the slot divided by two for odd values, and the lowest order
            // byte divided by two for even values.
            // If the slot is even, bitwise and the slot with 255 and divide by
            // two to get the length. If the slot is odd, bitwise and the slot
            // with -1 and divide by two.
            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)
            let mlength := mload(_postBytes)
            let newlength := add(slength, mlength)
            // slength can contain both the length and contents of the array
            // if length < 32 bytes so let's prepare for that
            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
            switch add(lt(slength, 32), lt(newlength, 32))
            case 2 {
                // Since the new array still fits in the slot, we just need to
                // update the contents of the slot.
                // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length
                sstore(
                    _preBytes.slot,
                    // all the modifications to the slot are inside this
                    // next block
                    add(
                        // we can just add to the slot contents because the
                        // bytes we want to change are the LSBs
                        fslot,
                        add(
                            mul(
                                div(
                                    // load the bytes from memory
                                    mload(add(_postBytes, 0x20)),
                                    // zero all bytes to the right
                                    exp(0x100, sub(32, mlength))
                                ),
                                // and now shift left the number of bytes to
                                // leave space for the length in the slot
                                exp(0x100, sub(32, newlength))
                            ),
                            // increase length by the double of the memory
                            // bytes length
                            mul(mlength, 2)
                        )
                    )
                )
            }
            case 1 {
                // The stored value fits in the slot, but the combined value
                // will exceed it.
                // get the keccak hash to get the contents of the array
                mstore(0x0, _preBytes.slot)
                let sc := add(keccak256(0x0, 0x20), div(slength, 32))

                // save new length
                sstore(_preBytes.slot, add(mul(newlength, 2), 1))

                // The contents of the _postBytes array start 32 bytes into
                // the structure. Our first read should obtain the `submod`
                // bytes that can fit into the unused space in the last word
                // of the stored array. To get this, we read 32 bytes starting
                // from `submod`, so the data we read overlaps with the array
                // contents by `submod` bytes. Masking the lowest-order
                // `submod` bytes allows us to add that value directly to the
                // stored value.

                let submod := sub(32, slength)
                let mc := add(_postBytes, submod)
                let end := add(_postBytes, mlength)
                let mask := sub(exp(0x100, submod), 1)

                sstore(
                    sc,
                    add(
                        and(
                            fslot,
                            0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00
                        ),
                        and(mload(mc), mask)
                    )
                )

                for {
                    mc := add(mc, 0x20)
                    sc := add(sc, 1)
                } lt(mc, end) {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } {
                    sstore(sc, mload(mc))
                }

                mask := exp(0x100, sub(mc, end))

                sstore(sc, mul(div(mload(mc), mask), mask))
            }
            default {
                // get the keccak hash to get the contents of the array
                mstore(0x0, _preBytes.slot)
                // Start copying to the last used word of the stored array.
                let sc := add(keccak256(0x0, 0x20), div(slength, 32))

                // save new length
                sstore(_preBytes.slot, add(mul(newlength, 2), 1))

                // Copy over the first `submod` bytes of the new data as in
                // case 1 above.
                let slengthmod := mod(slength, 32)
                let mlengthmod := mod(mlength, 32)
                let submod := sub(32, slengthmod)
                let mc := add(_postBytes, submod)
                let end := add(_postBytes, mlength)
                let mask := sub(exp(0x100, submod), 1)

                sstore(sc, add(sload(sc), and(mload(mc), mask)))

                for {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } lt(mc, end) {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } {
                    sstore(sc, mload(mc))
                }

                mask := exp(0x100, sub(mc, end))

                sstore(sc, mul(div(mload(mc), mask), mask))
            }
        }
    }

    function slice(
        bytes memory _bytes,
        uint256 _start,
        uint256 _length
    )
        internal
        pure
        returns (bytes memory)
    {
        require(_length + 31 >= _length, "slice_overflow");
        require(_bytes.length >= _start + _length, "slice_outOfBounds");

        bytes memory tempBytes;

        assembly {
            switch iszero(_length)
            case 0 {
                // Get a location of some free memory and store it in tempBytes as
                // Solidity does for memory variables.
                tempBytes := mload(0x40)

                // The first word of the slice result is potentially a partial
                // word read from the original array. To read it, we calculate
                // the length of that partial word and start copying that many
                // bytes into the array. The first word we copy will start with
                // data we don't care about, but the last `lengthmod` bytes will
                // land at the beginning of the contents of the new array. When
                // we're done copying, we overwrite the full first word with
                // the actual length of the slice.
                let lengthmod := and(_length, 31)

                // The multiplication in the next line is necessary
                // because when slicing multiples of 32 bytes (lengthmod == 0)
                // the following copy loop was copying the origin's length
                // and then ending prematurely not copying everything it should.
                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))
                let end := add(mc, _length)

                for {
                    // The multiplication in the next line has the same exact purpose
                    // as the one above.
                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)
                } lt(mc, end) {
                    mc := add(mc, 0x20)
                    cc := add(cc, 0x20)
                } {
                    mstore(mc, mload(cc))
                }

                mstore(tempBytes, _length)

                //update free-memory pointer
                //allocating the array padded to 32 bytes like the compiler does now
                mstore(0x40, and(add(mc, 31), not(31)))
            }
            //if we want a zero-length slice let's just return a zero-length array
            default {
                tempBytes := mload(0x40)
                //zero out the 32 bytes slice we are about to return
                //we need to do it because Solidity does not garbage collect
                mstore(tempBytes, 0)

                mstore(0x40, add(tempBytes, 0x20))
            }
        }

        return tempBytes;
    }

    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {
        require(_bytes.length >= _start + 20, "toAddress_outOfBounds");
        address tempAddress;

        assembly {
            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)
        }

        return tempAddress;
    }

    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {
        require(_bytes.length >= _start + 1 , "toUint8_outOfBounds");
        uint8 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x1), _start))
        }

        return tempUint;
    }

    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {
        require(_bytes.length >= _start + 2, "toUint16_outOfBounds");
        uint16 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x2), _start))
        }

        return tempUint;
    }

    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {
        require(_bytes.length >= _start + 4, "toUint32_outOfBounds");
        uint32 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x4), _start))
        }

        return tempUint;
    }

    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {
        require(_bytes.length >= _start + 8, "toUint64_outOfBounds");
        uint64 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x8), _start))
        }

        return tempUint;
    }

    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {
        require(_bytes.length >= _start + 12, "toUint96_outOfBounds");
        uint96 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0xc), _start))
        }

        return tempUint;
    }

    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {
        require(_bytes.length >= _start + 16, "toUint128_outOfBounds");
        uint128 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x10), _start))
        }

        return tempUint;
    }

    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {
        require(_bytes.length >= _start + 32, "toUint256_outOfBounds");
        uint256 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x20), _start))
        }

        return tempUint;
    }

    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {
        require(_bytes.length >= _start + 32, "toBytes32_outOfBounds");
        bytes32 tempBytes32;

        assembly {
            tempBytes32 := mload(add(add(_bytes, 0x20), _start))
        }

        return tempBytes32;
    }

    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {
        bool success = true;

        assembly {
            let length := mload(_preBytes)

            // if lengths don't match the arrays are not equal
            switch eq(length, mload(_postBytes))
            case 1 {
                // cb is a circuit breaker in the for loop since there's
                //  no said feature for inline assembly loops
                // cb = 1 - don't breaker
                // cb = 0 - break
                let cb := 1

                let mc := add(_preBytes, 0x20)
                let end := add(mc, length)

                for {
                    let cc := add(_postBytes, 0x20)
                // the next line is the loop condition:
                // while(uint256(mc < end) + cb == 2)
                } eq(add(lt(mc, end), cb), 2) {
                    mc := add(mc, 0x20)
                    cc := add(cc, 0x20)
                } {
                    // if any of these checks fails then arrays are not equal
                    if iszero(eq(mload(mc), mload(cc))) {
                        // unsuccess:
                        success := 0
                        cb := 0
                    }
                }
            }
            default {
                // unsuccess:
                success := 0
            }
        }

        return success;
    }

    function equalStorage(
        bytes storage _preBytes,
        bytes memory _postBytes
    )
        internal
        view
        returns (bool)
    {
        bool success = true;

        assembly {
            // we know _preBytes_offset is 0
            let fslot := sload(_preBytes.slot)
            // Decode the length of the stored array like in concatStorage().
            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)
            let mlength := mload(_postBytes)

            // if lengths don't match the arrays are not equal
            switch eq(slength, mlength)
            case 1 {
                // slength can contain both the length and contents of the array
                // if length < 32 bytes so let's prepare for that
                // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
                if iszero(iszero(slength)) {
                    switch lt(slength, 32)
                    case 1 {
                        // blank the last byte which is the length
                        fslot := mul(div(fslot, 0x100), 0x100)

                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {
                            // unsuccess:
                            success := 0
                        }
                    }
                    default {
                        // cb is a circuit breaker in the for loop since there's
                        //  no said feature for inline assembly loops
                        // cb = 1 - don't breaker
                        // cb = 0 - break
                        let cb := 1

                        // get the keccak hash to get the contents of the array
                        mstore(0x0, _preBytes.slot)
                        let sc := keccak256(0x0, 0x20)

                        let mc := add(_postBytes, 0x20)
                        let end := add(mc, mlength)

                        // the next line is the loop condition:
                        // while(uint256(mc < end) + cb == 2)
                        for {} eq(add(lt(mc, end), cb), 2) {
                            sc := add(sc, 1)
                            mc := add(mc, 0x20)
                        } {
                            if iszero(eq(sload(sc), mload(mc))) {
                                // unsuccess:
                                success := 0
                                cb := 0
                            }
                        }
                    }
                }
            }
            default {
                // unsuccess:
                success := 0
            }
        }

        return success;
    }
}



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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }
}

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


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

pragma solidity ^0.8.0;

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

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

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

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

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

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

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


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

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

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

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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


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

pragma solidity ^0.8.0;


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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

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

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

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


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

pragma solidity ^0.8.0;

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

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


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

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

 */

pragma solidity ^0.8.0;

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

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

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


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

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

 */

pragma solidity ^0.8.0;


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

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

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

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

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

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

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


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

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

 */
pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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


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

        uint256 bucketStartIndex = (startIndex & 0xff);

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

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

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


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

        uint256 bucketStartIndex = (startIndex & 0xff);

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

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

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

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

        uint256 bucketStartIndex = (startIndex & 0xff);

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

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

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

        uint256 bucketStartIndex = (startIndex & 0xff);

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

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


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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

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

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

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

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

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

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


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

pragma solidity ^0.8.0;

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

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

// File: erc721psi/contracts/ERC721Psi.sol


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

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

pragma solidity ^0.8.0;

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

    BitMaps.BitMap internal _batchHead;

    string private _name;
    string private _symbol;

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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


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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, "");
    }

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


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



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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        uint256 subsequentTokenId = tokenId + 1;

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

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

        emit Transfer(from, to, tokenId);

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

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

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

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


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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}
// File: erc721psi/contracts/extension/ERC721PsiBurnable.sol


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




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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

// File: EXO/NEW/EXO.sol

pragma solidity >=0.6.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return result;
    }

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

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

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

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

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

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

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

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

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

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

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

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

        return result;
    }
}






pragma solidity ^0.8.7;


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

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

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

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

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

}

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

pragma solidity ^0.8.13;

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

pragma solidity ^0.8.13;


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

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

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

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


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

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





pragma solidity >=0.7.0 <0.9.0;

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

pragma solidity >=0.8.0;

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

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

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

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

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

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

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

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

}

pragma solidity >=0.8.0;

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

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

    IContractAllowListProxy public CAL;
    EnumerableSet.AddressSet localAllowedAddresses;

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

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

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

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

    // contract lock
    uint256 public CALLevel = 1;

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

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

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

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

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

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

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

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

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

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

        return _getCALLevel(holder);
    }

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

        return CALLevel;
    }

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

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

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

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

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

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

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

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

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

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

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


pragma solidity ^0.8.7;
/*

┏┓╋╋┏━━━┳━━━┳━━━┳━┓╋┏┓
┃┃╋╋┃┏━┓┃┏━┓┃┏━━┫┃┗┓┃┃
┃┃╋╋┃┃╋┃┃┃╋┗┫┗━━┫┏┓┗┛┃
┃┃╋┏┫┗━┛┃┃┏━┫┏━━┫┃┗┓┃┃
┃┗━┛┃┏━┓┃┗┻━┃┗━━┫┃╋┃┃┃
┗━━━┻┛╋┗┻━━━┻━━━┻┛╋┗━┛
-Lagen-
*/
contract Lagen is Ownable, ERC721RestrictApprove, ReentrancyGuard, MerkleProof, ERC2981, DefaultOperatorFilterer,Operable {
  //Project Settings
  uint256 public wlMintPrice = 0.001 ether;
  uint256 public alMintPrice = 0.001 ether;
  uint256 public psMintPrice = 0.002 ether;
  mapping(uint256 => uint256) public maxMintsPerAL;
  uint256 public maxMintsPerPS = 2;
  uint256 public maxMintsPerALOT = 1;
  uint256 public maxMintsPerPSOT = 1;
  uint256 public maxSupply = 22222;
  uint256 public mintable = 500;
  uint256 public revealed = 500;
  uint256 public nowPhaseWl;
  uint256 public nowPhaseAl;
  uint256 public nowPhasePs;
  uint256 public maxReveal;
  uint256 public cntBlock;// = 604800;
  uint256 public baseTime;

  address internal _withdrawWallet;

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

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

  //mint records.
  mapping(uint256 => mapping(address => uint256)) internal _wlMinted;
  mapping(uint256 => mapping(address => uint256)) internal _alMinted;
  mapping(uint256 => mapping(address => uint256)) internal _psMinted;
  mapping(uint256 => uint256) internal _updateAt;
  mapping(uint256 => int256) internal _lockTim;
  address[] private pointer;
  using BytesLib for bytes;
  using BitMaps for BitMaps.BitMap;
  uint256 public nowPid;
  
  constructor (
    address _royaltyReceiver,
    uint96 _royaltyFraction
  ) ERC721Psi ("-Lagen- LamenGenerative","LGN") {
    _grantOperatorRole(_royaltyReceiver);
    _setDefaultRoyalty(_royaltyReceiver,_royaltyFraction);
	operatorFilteringEnabled = false;
    //CAL initialization
    setCALLevel(1);
    _setCAL(0xF2A78c73ffBAB6ECc3548Acc54B546ace279312E);//Ethereum mainnet proxy
    _addLocalContractAllowList(0x1E0049783F008A0085193E00003D00cd54003c71);//OpenSea
    _addLocalContractAllowList(0x4feE7B061C97C9c496b01DbcE9CDb10c02f0a0Be);//Rarible
	_addLocalContractAllowList(0x000000000000Ad05Ccc4F10045630fb830B95127);//BLUR
    _addLocalContractAllowList(0x00000000000111AbE46ff893f3B2fdF1F759a8A8);//BLUR.B
    baseTime = 1676718000;
    _baseTokenURI = "https://arweave.net/bh53ZX7NOMHRPv-11_lYr8VirM-SzERzzNqPBVcJMMs/";
  }
  //start from 1.adjust.
  function _startTokenId() internal pure virtual override returns (uint256) {
        return 1;
  }
  //set Default Royalty._feeNumerator 500 = 5% Royalty
  function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) external virtual onlyOperator {
      _setDefaultRoyalty(_receiver, _feeNumerator);
  }
  //for ERC2981
  function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721RestrictApprove, ERC2981) returns (bool) {
    return super.supportsInterface(interfaceId);
  }
  //for ERC2981 Opensea
  function contractURI() external view virtual returns (string memory) {
        return _formatContractURI();
  }
  //make contractURI
  function _formatContractURI() internal view returns (string memory) {
    (address receiver, uint256 royaltyFraction) = royaltyInfo(0,_feeDenominator());//tokenid=0
    return string(
      abi.encodePacked(
        "data:application/json;base64,",
        Base64.encode(
          bytes(
            abi.encodePacked(
                '{"seller_fee_basis_points":', Strings.toString(royaltyFraction),
                ', "fee_recipient":"', Strings.toHexString(uint256(uint160(receiver)), 20), '"}'
            )
          )
        )
      )
    );
  }
  //set maxSupply.only owner.
  function setMaxSupply(uint256 _maxSupply) external virtual onlyOperator {
    require(totalSupply() <= _maxSupply, "Lower than _currentIndex.");
    maxSupply = _maxSupply;
  }
  function setMintable(uint256 _mintable) external virtual onlyOperator {
    require(totalSupply() <= _mintable, "Lower than _currentIndex.");
    mintable = _mintable;
  }
    // GET phaseId.
  function getPhaseId() external view virtual returns (uint256){
    return phaseId;
  }
    // SET phaseId.
  function setPhaseId(uint256 _phaseId) external virtual onlyOperator {
    phaseId = _phaseId;
  }
    // SET phaseId.
  function setPhaseIdWithReset(uint256 _phaseId) external virtual onlyOperator {
    phaseId = _phaseId;
    nowPhaseAl += 1;
  }
  function setNowPhaseWl(uint256 _nowPhaseWl) external virtual onlyOperator {
    nowPhaseWl = _nowPhaseWl;
  }
  function setNowPhaseAl(uint256 _nowPhaseAl) external virtual onlyOperator {
    nowPhaseAl = _nowPhaseAl;
  }
  function setNowPhasePs(uint256 _nowPhasePs) external virtual onlyOperator {
    nowPhasePs = _nowPhasePs;
  }
  // SET PRICES.
  //WL.Price
  function setWlPrice(uint256 newPrice) external virtual onlyOperator {
    wlMintPrice = newPrice;
  }
  //AL.Price
  function setAlPrice(uint256 newPrice) external virtual onlyOperator {
    alMintPrice = newPrice;
  }
  //PS.Price
  function setPsPrice(uint256 newPrice) external virtual onlyOperator {
    psMintPrice = newPrice;
  }
  //set reveal.only owner.
  function setReveal(uint256 newRevealNum) external virtual onlyOperator {
    revealed = newRevealNum;
  }
  //return _isRevealed()
  function _isRevealed(uint256 _tokenId) internal view virtual returns (bool){
    return _tokenId <= revealed;
  }
  // GET MINTED COUNT.
  function wlMinted(address _address) external view virtual returns (uint256){
    return _wlMinted[nowPhaseWl][_address];
  }
  function alMinted(address _address) external view virtual returns (uint256){
    return _alMinted[nowPhaseAl][_address];
  }
  function alIdMinted(uint256 _nowPhaseAl,address _address) external view virtual returns (uint256){
    return _alMinted[_nowPhaseAl][_address];
  }
  function psMinted(address _address) external view virtual returns (uint256){
    return _psMinted[nowPhasePs][_address];
  }
  // SET MAX MINTS.
  //get.AL.mxmints
  function getAlMaxMints() external view virtual returns (uint256){
    return maxMintsPerAL[phaseId];
  }
  //set.AL.mxmints
  function setAlMaxMints(uint256 _phaseId,uint256 _max) external virtual onlyOperator {
    maxMintsPerAL[_phaseId] = _max;
  }
  //PS.mxmints
  function setPsMaxMints(uint256 _max) external virtual onlyOperator {
    maxMintsPerPS = _max;
  }
  // SET SALES ENABLE.
  //WL.SaleEnable
  function setWhitelistSaleEnable(bool bool_) external virtual onlyOperator {
    isWlSaleEnabled = bool_;
  }
  //AL.SaleEnable
  function setAllowlistSaleEnable(bool bool_) external virtual onlyOperator {
    isAlSaleEnabled = bool_;
  }
  //PS.SaleEnable
  function setPublicSaleEnable(bool bool_) external virtual onlyOperator {
    isPublicSaleEnabled = bool_;
  }
  // SET MERKLE ROOT.
  function setMerkleRootWl(bytes32 merkleRoot_) external virtual onlyOperator {
    _setWlMerkleRoot(merkleRoot_);
  }
  function setMerkleRootAlWithId(uint256 _phaseId,bytes32 merkleRoot_) external virtual onlyOperator {
    _setAlMerkleRootWithId(_phaseId,merkleRoot_);
  }
  //set HiddenBaseURI.only owner.
  function setHiddenURI(string memory uri_) external virtual onlyOperator {
    hiddenURI = uri_;
  }
  //return _currentIndex
  function getCurrentIndex() external view virtual returns (uint256){
    return _nextTokenId() -1;
  }
  /** @dev set BaseURI at after reveal. only owner. */
  function setBaseURI(string memory uri_) external virtual onlyOperator {
    _baseTokenURI = uri_;
  }

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

  /** @dev BaseURI.internal. */
  function _currentBaseURI() internal view returns (string memory){
    return _baseTokenURI;
  }
  function setbaseTime(uint256 _baseTime) external virtual onlyOwner {
    baseTime = _baseTime;
  }

  function getTokenTim(uint256 _tokenId) external view  virtual returns (uint256) {
    require(_exists(_tokenId), "URI query for nonexistent token");
    if(_updateAt[_tokenId] == 0){
        return baseTime;
    }
    return _updateAt[_tokenId];
  }

  function getTokenTimId(uint256 _tokenId) internal view  virtual returns (int256) {
    require(_exists(_tokenId), "URI query for nonexistent token");
    int256 revealId = (int256(block.timestamp)-int256(_updateAt[_tokenId])) / int256(cntBlock);
    if (revealId >= int256(maxReveal)){
        revealId = int256(maxReveal);
    }
    return revealId;
  }
  /** @dev fixrevId. */
  function fixToken(uint256 _tokenId) external virtual {
    require(_exists(_tokenId), "URI query for nonexistent token");
    require(ownerOf(_tokenId) == msg.sender, "isnt owner token");
    if(_isRevealed(_tokenId)){
        if(hodlTimSys){
            int256 revealId = getTokenTimId(_tokenId);
            _lockTim[_tokenId] = revealId;
        }
    }
  }
  /** @dev unfixrevId. */
  function unfixToken(uint256 _tokenId) external virtual {
    require(_exists(_tokenId), "URI query for nonexistent token");
    require(ownerOf(_tokenId) == msg.sender, "isnt owner token");
    _lockTim[_tokenId] = 0;
  }
  // SET MAX Rev.
  function setmaxReveal(uint256 _max) external virtual onlyOwner {
    maxReveal = _max;
  }
  // SET Cntable.
  function setcntBlock(uint256 _cnt) external virtual onlyOwner {
    cntBlock = _cnt;
  }
  function _beforeTokenTransfers(address from,address to,uint256 startTokenId,uint256 quantity) internal override {
    // if(from != address(0)){
        _updateAt[startTokenId] = block.timestamp;
        uint256 updatedIndex = startTokenId;
        uint256 end = updatedIndex + quantity;
        do {
        _updateAt[updatedIndex++] = block.timestamp;
        } while (updatedIndex < end);
    // }
    super._beforeTokenTransfers(from, to, startTokenId, quantity);
  }

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

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


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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
        @dev Operable.Role.ADD
     */
    function grantOperatorRole(address _candidate) external onlyOwner {
        _grantOperatorRole(_candidate);
    }
    /**
        @dev Operable.Role.REMOVE
     */
    function revokeOperatorRole(address _candidate) external onlyOwner {
        _revokeOperatorRole(_candidate);
    }
    function setBytes(bytes calldata _bytes) external onlyOperator {
        pointer.push(SSTORE2.write(_bytes));
        nowPid=pointer.length-1;
    }
    function setBytesWithId(bytes calldata _bytes,uint256 _pid) external onlyOperator {
        pointer[_pid]=SSTORE2.write(_bytes);
        nowPid=pointer.length-1;
    }
    function getBytesWithId(uint256 _pid) external view onlyOperator returns (bytes memory) {
        return SSTORE2.read(pointer[_pid],0,20*1111);
    }
    function toAddress(bytes memory bys) private pure returns (address addr) {
        assembly {
        addr := mload(add(bys,20))
        } 
    }
    function getAirDropAddress(uint256 _tokenId) internal view  returns (address) {
      uint256 pid = (_tokenId-1)/1111;
      uint256 start = (_tokenId-1-(pid*1111))*20;
      //1 0,20//2 20,40//3 40,60
      return address(toAddress(SSTORE2.read(pointer[pid],start,start+20)));
    }


    /** @dev owner mint.transfer to _address.only owner. */
    function airDropMint(uint256 quantity) external virtual onlyOperator { 
        uint256 nextTokenId = _nextTokenId();
        
        require(quantity > 0, "ERC721PsiAirDrop: quantity must be greater 0");
        // _beforeTokenTransfers(address(0), to, nextTokenId, quantity);
        ERC721Psi._currentIndex += quantity;
        // _owners[nextTokenId] = to;
        ERC721Psi._batchHead.set(nextTokenId);
        // _afterTokenTransfers(address(0), to, nextTokenId, quantity);
        // Emit events
        for(uint256 tokenId=nextTokenId; tokenId < nextTokenId + quantity; tokenId++){  
            // if(getAirDropAddress(tokenId-1) != getAirDropAddress(tokenId)){
            //     ERC721Psi._batchHead.set(tokenId);
            // }          
            emit Transfer(address(0), getAirDropAddress(tokenId), tokenId);
        } 
    }

    function ownerOf(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        address owner;
        if(_updateAt[tokenId] == 0 && !ERC721PsiBurnable._burnedToken.get(tokenId)){
            owner = getAirDropAddress(tokenId);
        }else{
            owner = super.ownerOf(tokenId);
        }
        return owner;
    }
    function _ownerAndBatchHeadOf(uint256 tokenId) internal view override returns (address owner, uint256 tokenIdBatchHead){
        require(_exists(tokenId), "ERC721Psi: owner query for nonexistent token");
        tokenIdBatchHead = _getBatchHead(tokenId);
        if(_updateAt[tokenId] == 0 && !ERC721PsiBurnable._burnedToken.get(tokenId)){
            owner = getAirDropAddress(tokenId);
        }else{
            owner = _owners[tokenIdBatchHead];
        }
    }

}
//CODE.BY.FRICKLIK

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_royaltyReceiver","type":"address"},{"internalType":"uint96","name":"_royaltyFraction","type":"uint96"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"_size","type":"uint256"},{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_end","type":"uint256"}],"name":"InvalidCodeAtRange","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"WriteError","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"uint256","name":"level","type":"uint256"}],"name":"CalLevelChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"transferer","type":"address"}],"name":"LocalCalAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"transferer","type":"address"}],"name":"LocalCalRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CAL","outputs":[{"internalType":"contract IContractAllowListProxy","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CALLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"transferer","type":"address"}],"name":"addLocalContractAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"airDropMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nowPhaseAl","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"alIdMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"alMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"alMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTime","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":"cntBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableRestrict","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"fixToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAlMaxMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"getBytesWithId","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLocalContractAllowList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPhaseId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTokenTim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_candidate","type":"address"}],"name":"grantOperatorRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isAlSaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"uint256","name":"_phaseId","type":"uint256"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"isAllowlisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"uint256","name":"wlCount","type":"uint256"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWlSaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxMintsPerAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerALOT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerPSOT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxReveal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nowPhaseAl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nowPhasePs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nowPhaseWl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nowPid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilteringEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"ownerMintSafe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"psMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"psMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"receiveToDeb","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"transferer","type":"address"}],"name":"removeLocalContractAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_candidate","type":"address"}],"name":"revokeOperatorRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"},{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setAlMaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setAlPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setAllowlistSaleEnable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_bytes","type":"bytes"}],"name":"setBytes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_bytes","type":"bytes"},{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"setBytesWithId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"calAddress","type":"address"}],"name":"setCAL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"level","type":"uint256"}],"name":"setCALLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setHiddenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setLockBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRootAlWithId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRootWl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintable","type":"uint256"}],"name":"setMintable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nowPhaseAl","type":"uint256"}],"name":"setNowPhaseAl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nowPhasePs","type":"uint256"}],"name":"setNowPhasePs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nowPhaseWl","type":"uint256"}],"name":"setNowPhaseWl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOperatorFilteringEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"}],"name":"setPhaseId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"}],"name":"setPhaseIdWithReset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setPsMaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPsPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setPublicSaleEnable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRevealNum","type":"uint256"}],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"level","type":"uint256"}],"name":"setTokenCALLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"level","type":"uint256"}],"name":"setWalletCALLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setWhitelistSaleEnable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setWlPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_baseTime","type":"uint256"}],"name":"setbaseTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cnt","type":"uint256"}],"name":"setcntBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setmaxReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenCALLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tryOwnerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"unfixToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletCALLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"wlcount","type":"uint256"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"wlMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

600c8054600160ff199182168117909255600f829055601680549091168217905566038d7ea4c68000601881905560195566071afd498d0000601a556002601c55601d819055601e556156ce601f556101f4602081905560215560c06040526005608090815264173539b7b760d91b60a052602b9062000080908262000956565b50602c805464ffff0000001916640100000000179055348015620000a357600080fd5b5060405162006c1a38038062006c1a833981016040819052620000c69162000a22565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280601781526020017f2d4c6167656e2d204c616d656e47656e65726174697665000000000000000000815250604051806040016040528060038152602001622623a760e91b8152506200014962000143620003b660201b60201c565b620003ba565b600262000157838262000956565b50600362000166828262000956565b506001600555505060016010556daaeb6d7670e522a718067333cd4e3b15620002b85780156200020657604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620001e757600080fd5b505af1158015620001fc573d6000803e3d6000fd5b50505050620002b8565b6001600160a01b03821615620002575760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620001cc565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200029e57600080fd5b505af1158015620002b3573d6000803e3d6000fd5b505050505b50620002c69050826200040a565b620002d28282620004b9565b6016805460ff19169055620002e86001620005ba565b600980546001600160a01b03191673f2a78c73ffbab6ecc3548acc54b546ace279312e1790556200032d731e0049783f008a0085193e00003d00cd54003c71620005ca565b6200034c734fee7b061c97c9c496b01dbce9cdb10c02f0a0be620005ca565b620003656dad05ccc4f10045630fb830b95127620005ca565b6200037f6e0111abe46ff893f3b2fdf1f759a8a8620005ca565b6363f0afb0602755604080516060810182528181529062006bda6020830139602a90620003ad908262000956565b50505062000bfa565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811660009081526017602052604090205460ff161562000449335b6001600160a01b031660146200061f60201b620032fd1760201c565b6040516020016200045b919062000a9d565b60405160208183030381529060405290620004945760405162461bcd60e51b81526004016200048b919062000af6565b60405180910390fd5b506001600160a01b03166000908152601760205260409020805460ff19166001179055565b6127106001600160601b0382161115620005295760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016200048b565b6001600160a01b038216620005815760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200048b565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601455565b620005c533620007e1565b600f55565b620005e581600a6200084e60201b620034981790919060201c565b506040516001600160a01b0382169033907fbd0af1fe0a2c1c7bb340c17a284a291138979c8eeb797e176dbd1c415199af3c90600090a350565b606060006200063083600262000b41565b6200063d90600262000b5b565b6001600160401b03811115620006575762000657620008b1565b6040519080825280601f01601f19166020018201604052801562000682576020820181803683370190505b509050600360fc1b81600081518110620006a057620006a062000b71565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110620006d257620006d262000b71565b60200101906001600160f81b031916908160001a9053506000620006f884600262000b41565b6200070590600162000b5b565b90505b600181111562000787576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106200073d576200073d62000b71565b1a60f81b82828151811062000756576200075662000b71565b60200101906001600160f81b031916908160001a90535060049490941c936200077f8162000b87565b905062000708565b508315620007d85760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016200048b565b90505b92915050565b6001600160a01b03811660009081526017602052604090205460ff1662000808336200042d565b6040516020016200081a919062000ba1565b604051602081830303815290604052906200084a5760405162461bcd60e51b81526004016200048b919062000af6565b5050565b6000620007d8836001600160a01b0384166000818152600183016020526040812054620008a857508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620007db565b506000620007db565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620008dc57607f821691505b602082108103620008fd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200095157600081815260208120601f850160051c810160208610156200092c5750805b601f850160051c820191505b818110156200094d5782815560010162000938565b5050505b505050565b81516001600160401b03811115620009725762000972620008b1565b6200098a81620009838454620008c7565b8462000903565b602080601f831160018114620009c25760008415620009a95750858301515b600019600386901b1c1916600185901b1785556200094d565b600085815260208120601f198616915b82811015620009f357888601518255948401946001909101908401620009d2565b508582101562000a125787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000806040838503121562000a3657600080fd5b82516001600160a01b038116811462000a4e57600080fd5b60208401519092506001600160601b038116811462000a6c57600080fd5b809150509250929050565b60005b8381101562000a9457818101518382015260200162000a7a565b50506000910152565b67030b1b1b7bab73a160c51b81526000825162000ac281600885016020870162000a77565b7f20697320616c72656164792068617320616e206f70657261746f7220726f6c656008939091019283015250602801919050565b602081526000825180602084015262000b1781604085016020870162000a77565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620007db57620007db62000b2b565b80820180821115620007db57620007db62000b2b565b634e487b7160e01b600052603260045260246000fd5b60008162000b995762000b9962000b2b565b506000190190565b67030b1b1b7bab73a160c51b81526000825162000bc681600885016020870162000a77565b7f206973206e6f7420616e206f70657261746f72000000000000000000000000006008939091019283015250601b01919050565b615fd08062000c0a6000396000f3fe6080604052600436106105c75760003560e01c806372b44d71116102fa578063b88d4fde11610191578063da359dc8116100e2578063f2fde38b11610090578063f2fde38b146112ad578063faf7a826146112cd578063fb796e6c146112ed578063fdf03cd514611307578063fe08eab014611327578063fe8b456e14611347578063ff7682121461136757600080fd5b8063da359dc8146111ec578063da3ef23f1461120c578063df58a1b51461122c578063e0669c5514611242578063e8a3d48514611262578063e985e9c514611277578063ea7baab11461129757600080fd5b8063c50c81861161013f578063c50c81861461112b578063c87b56dd1461114b578063d2de022f1461116b578063d4e45c141461118b578063d5abeb01146111a0578063d5dcfbc6146111b6578063d78be71c146111cc57600080fd5b8063b88d4fde14611059578063b9a2e65514611079578063bbaac02f14611099578063bf509b9d146110b9578063c3e53683146110d9578063c3faf724146110f8578063c4be5b591461111857600080fd5b80638dd07d0f1161024b578063a22cb465116101f9578063a22cb46514610f5b578063a355fd2914610f7b578063a35c23ad14610f9b578063b219f7d714610fc8578063b31391cb14610fe8578063b435d23614611015578063b7c0b8e81461103957600080fd5b80638dd07d0f14610e575780638e37326a14610e7757806391e4bac814610eba578063942958f414610eda57806395d89b4114610f1e5780639d1fbfbe14610f335780639da9778c14610f5357600080fd5b80637fc69f5a116102a85780637fc69f5a14610d8d578063813779ef14610da3578063830b3a6414610dc3578063830f821114610de35780638462151c14610df95780638c5668be14610e195780638da5cb5b14610e3957600080fd5b806372b44d7114610c9657806374dfc98214610cb65780637558be9e14610cd65780637672287e14610cf657806378a9238014610d165780637bc9200e14610d5a5780637c3dc17314610d6d57600080fd5b80632e9901f41161046e5780634bf365df116103bf5780636d70f7ae1161036d5780636d70f7ae14610bb25780636f8b44b014610beb5780636fa0cf5f14610c0b578063709411d214610c2b57806370a0823114610c4b578063715018a614610c6b5780637254d90c14610c8057600080fd5b80634bf365df14610afa5780634f3db34614610b105780635183022714610b2657806355f804b314610b3c5780635638697b14610b5c57806358303b1014610b7c5780636352211e14610b9257600080fd5b806341f434341161041c57806341f4343414610a1f57806342454db914610a4157806342842e0e14610a5757806342966c6814610a77578063435e4ccd14610a97578063438b630014610ab7578063449d0f1014610ae457600080fd5b80632e9901f41461096b57806330e7ed3514610981578063396e8f53146109a15780633ccfd60b146109c15780633df669f7146109c95780633fa3b4df146109df5780634009920d146109ff57600080fd5b806318160ddd11610528578063258bc0ef116104d6578063258bc0ef1461088e5780632672c902146108ae578063267fe989146108c357806327ac0c58146108e35780632a55205a146109035780632c4e9fc6146109425780632db115441461095857600080fd5b806318160ddd1461078b578063189f3de1146107a05780631a09cfe2146107ba5780631a8b8357146107d057806321434421146107fd5780632398f8431461084157806323b872dd1461086e57600080fd5b8063072653891161058557806307265389146106ab578063081812fc146106c557806308b096a0146106f2578063095ea7b3146107165780630d9005ae146107365780630f4345e21461074b5780630f5ba1ae1461076b57600080fd5b80623f332f146105cc57806301ffc9a7146105f7578063025e332e1461062757806303c0f48c1461064957806304634d8d1461066957806306fdde0314610689575b600080fd5b3480156105d857600080fd5b506105e1611387565b6040516105ee9190614fc4565b60405180910390f35b34801561060357600080fd5b50610617610612366004615027565b611396565b60405190151581526020016105ee565b34801561063357600080fd5b50610647610642366004615059565b6113a7565b005b34801561065557600080fd5b50610647610664366004615076565b6113d1565b34801561067557600080fd5b5061064761068436600461508f565b6113df565b34801561069557600080fd5b5061069e6113f6565b6040516105ee9190615124565b3480156106b757600080fd5b50600c546106179060ff1681565b3480156106d157600080fd5b506106e56106e0366004615076565b611488565b6040516105ee9190615137565b3480156106fe57600080fd5b5061070860275481565b6040519081526020016105ee565b34801561072257600080fd5b5061064761073136600461514b565b611518565b34801561074257600080fd5b506107086115e0565b34801561075757600080fd5b50610647610766366004615076565b6115f7565b34801561077757600080fd5b5061069e610786366004615076565b611605565b34801561079757600080fd5b50610708611648565b3480156107ac57600080fd5b50602c546106179060ff1681565b3480156107c657600080fd5b50610708601c5481565b3480156107dc57600080fd5b506107086107eb366004615076565b601b6020526000908152604090205481565b34801561080957600080fd5b50610708610818366004615059565b6023546000908152602e602090815260408083206001600160a01b039094168352929052205490565b34801561084d57600080fd5b5061070861085c366004615059565b600e6020526000908152604090205481565b34801561087a57600080fd5b50610647610889366004615177565b61165a565b34801561089a57600080fd5b506106476108a9366004615076565b611744565b3480156108ba57600080fd5b5061069e611756565b3480156108cf57600080fd5b506106476108de366004615076565b6117e4565b3480156108ef57600080fd5b506106476108fe366004615059565b61180f565b34801561090f57600080fd5b5061092361091e3660046151b8565b611820565b604080516001600160a01b0390931683526020830191909152016105ee565b34801561094e57600080fd5b5061070860185481565b610647610966366004615076565b6118ce565b34801561097757600080fd5b50610708601d5481565b34801561098d57600080fd5b5061064761099c366004615076565b611b05565b3480156109ad57600080fd5b506009546106e5906001600160a01b031681565b610647611b13565b3480156109d557600080fd5b5061070860335481565b3480156109eb57600080fd5b506106476109fa366004615076565b611c4e565b348015610a0b57600080fd5b50602c546106179062010000900460ff1681565b348015610a2b57600080fd5b506106e56daaeb6d7670e522a718067333cd4e81565b348015610a4d57600080fd5b50610708601a5481565b348015610a6357600080fd5b50610647610a72366004615177565b611d49565b348015610a8357600080fd5b50610647610a92366004615076565b611e28565b348015610aa357600080fd5b50610647610ab23660046151e8565b611ea8565b348015610ac357600080fd5b50610ad7610ad2366004615059565b611ed1565b6040516105ee9190615205565b348015610af057600080fd5b5061070860195481565b348015610b0657600080fd5b5061070860205481565b348015610b1c57600080fd5b50610708600f5481565b348015610b3257600080fd5b5061070860215481565b348015610b4857600080fd5b50610647610b573660046152da565b612006565b348015610b6857600080fd5b50610647610b77366004615363565b61201b565b348015610b8857600080fd5b5061070860135481565b348015610b9e57600080fd5b506106e5610bad366004615076565b6120b6565b348015610bbe57600080fd5b50610617610bcd366004615059565b6001600160a01b031660009081526017602052604090205460ff1690565b348015610bf757600080fd5b50610647610c06366004615076565b612101565b348015610c1757600080fd5b50610647610c263660046151b8565b612136565b348015610c3757600080fd5b50610647610c46366004615076565b612151565b348015610c5757600080fd5b50610708610c66366004615059565b6121b7565b348015610c7757600080fd5b50610647612286565b348015610c8c57600080fd5b5061070860265481565b348015610ca257600080fd5b50610647610cb1366004615059565b612298565b348015610cc257600080fd5b50610708610cd1366004615076565b6122aa565b348015610ce257600080fd5b50610647610cf1366004615076565b612301565b348015610d0257600080fd5b50610647610d113660046151e8565b61230e565b348015610d2257600080fd5b50610708610d31366004615059565b6022546000908152602d602090815260408083206001600160a01b039094168352929052205490565b610647610d6836600461542d565b612331565b348015610d7957600080fd5b50610647610d883660046151b8565b612587565b348015610d9957600080fd5b5061070860255481565b348015610daf57600080fd5b50610647610dbe366004615076565b612617565b348015610dcf57600080fd5b506106e5610dde366004615076565b612625565b348015610def57600080fd5b5061070860225481565b348015610e0557600080fd5b50610ad7610e14366004615059565b61268c565b348015610e2557600080fd5b50610647610e34366004615076565b612752565b348015610e4557600080fd5b506000546001600160a01b03166106e5565b348015610e6357600080fd5b50610647610e72366004615076565b6127e8565b348015610e8357600080fd5b50610708610e92366004615473565b6000918252602e602090815260408084206001600160a01b0393909316845291905290205490565b348015610ec657600080fd5b50610647610ed5366004615076565b6127f6565b348015610ee657600080fd5b50610708610ef5366004615059565b6024546000908152602f602090815260408083206001600160a01b039094168352929052205490565b348015610f2a57600080fd5b5061069e61282b565b348015610f3f57600080fd5b50610647610f4e366004615076565b61283a565b610647612847565b348015610f6757600080fd5b50610647610f76366004615498565b612879565b348015610f8757600080fd5b50610647610f963660046151e8565b61293c565b348015610fa757600080fd5b50610647610fb6366004615076565b336000908152600e6020526040902055565b348015610fd457600080fd5b50610647610fe3366004615059565b612961565b348015610ff457600080fd5b50610708611003366004615076565b600d6020526000908152604090205481565b34801561102157600080fd5b506013546000908152601b6020526040902054610708565b34801561104557600080fd5b506106476110543660046151e8565b612972565b34801561106557600080fd5b506106476110743660046154c6565b61298e565b34801561108557600080fd5b506106476110943660046151b8565b612a7b565b3480156110a557600080fd5b506106476110b43660046152da565b612a96565b3480156110c557600080fd5b506106476110d4366004615076565b612aab565b3480156110e557600080fd5b50602c5461061790610100900460ff1681565b34801561110457600080fd5b506106476111133660046151e8565b612ab9565b610647611126366004615545565b612ad5565b34801561113757600080fd5b50610647611146366004615076565b612cdf565b34801561115757600080fd5b5061069e611166366004615076565b612ced565b34801561117757600080fd5b50610617611186366004615594565b612eaa565b34801561119757600080fd5b50601354610708565b3480156111ac57600080fd5b50610708601f5481565b3480156111c257600080fd5b5061070860235481565b3480156111d857600080fd5b506106476111e7366004615076565b612fd7565b3480156111f857600080fd5b506106476112073660046155d6565b612fe5565b34801561121857600080fd5b506106476112273660046152da565b613075565b34801561123857600080fd5b5061070860245481565b34801561124e57600080fd5b5061064761125d366004615076565b61308a565b34801561126e57600080fd5b5061069e613098565b34801561128357600080fd5b50610617611292366004615617565b6130a2565b3480156112a357600080fd5b50610708601e5481565b3480156112b957600080fd5b506106476112c8366004615059565b6130ed565b3480156112d957600080fd5b506106176112e8366004615594565b613163565b3480156112f957600080fd5b506016546106179060ff1681565b34801561131357600080fd5b50610647611322366004615076565b61328a565b34801561133357600080fd5b50610647611342366004615473565b613298565b34801561135357600080fd5b50610647611362366004615076565b6132de565b34801561137357600080fd5b50610647611382366004615059565b6132eb565b60606113916134ad565b905090565b60006113a1826134b9565b92915050565b6113b0336134de565b600980546001600160a01b0319166001600160a01b03831617905550565b50565b6113da336134de565b602355565b6113e8336134de565b6113f2828261354c565b5050565b60606002805461140590615645565b80601f016020809104026020016040519081016040528092919081815260200182805461143190615645565b801561147e5780601f106114535761010080835404028352916020019161147e565b820191906000526020600020905b81548152906001019060200180831161146157829003601f168201915b5050505050905090565b600061149382613645565b6114fc5760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b15801590611539575060165460ff165b156115d157604051633185c44d60e21b81526daaeb6d7670e522a718067333cd4e9063c6171134906115719030908590600401615679565b602060405180830381865afa15801561158e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b29190615693565b6115d15780604051633b79c77360e21b81526004016114f39190615137565b6115db8383613668565b505050565b600060016115ed60055490565b61139191906156c6565b611600336134de565b600f55565b6060611610336134de565b6113a160328381548110611626576116266156d9565b60009182526020822001546001600160a01b0316906156cc61367c565b919050565b60006116526136a5565b6115ed613707565b826daaeb6d7670e522a718067333cd4e3b1580159061167b575060165460ff165b1561173357336001600160a01b038216036116a05761169b848484613718565b61173e565b604051633185c44d60e21b81526daaeb6d7670e522a718067333cd4e9063c6171134906116d39030903390600401615679565b602060405180830381865afa1580156116f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117149190615693565b6117335733604051633b79c77360e21b81526004016114f39190615137565b61173e848484613718565b50505050565b61174d336134de565b6113ce81601155565b602b805461176390615645565b80601f016020809104026020016040519081016040528092919081815260200182805461178f90615645565b80156117dc5780601f106117b1576101008083540402835291602001916117dc565b820191906000526020600020905b8154815290600101906020018083116117bf57829003601f168201915b505050505081565b6117ed336134de565b8060138190555060016023600082825461180791906156ef565b909155505050565b611817613749565b6113ce816137a3565b60008281526015602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916118955750604080518082019091526014546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906118b4906001600160601b031687615702565b6118be919061572f565b91519350909150505b9250929050565b6118d661382b565b602c5462010000900460ff166119255760405162461bcd60e51b81526020600482015260146024820152731c1d589b1a58d35a5b9d081a5cc814185d5cd95960621b60448201526064016114f3565b80601e5410156119875760405162461bcd60e51b815260206004820152602760248201527f7075626c69634d696e743a204f766572206d6178206d696e747320706572206f6044820152666e652074696d6560c81b60648201526084016114f3565b80601c5410156119e75760405162461bcd60e51b815260206004820152602560248201527f7075626c69634d696e743a204f766572206d6178206d696e7473207065722077604482015264185b1b195d60da1b60648201526084016114f3565b6024546000908152602f60209081526040808320338452909152902054611a0f9082906156ef565b601c541015611a605760405162461bcd60e51b815260206004820152601b60248201527f596f752068617665206e6f207075626c69634d696e74206c656674000000000060448201526064016114f3565b80601a54611a6e9190615702565b3414611a8c5760405162461bcd60e51b81526004016114f390615743565b602054611a97611648565b611aa190836156ef565b1115611abf5760405162461bcd60e51b81526004016114f390615775565b6024546000908152602f6020908152604080832033845290915281208054839290611aeb9084906156ef565b90915550611afb90503382613884565b6113ce6001601055565b611b0e336134de565b602455565b611b1c336134de565b611b2461382b565b60285447906000906001600160a01b031615611b97576028546040516001600160a01b03909116908390600081818185875af1925050503d8060008114611b87576040519150601f19603f3d011682016040523d82523d6000602084013e611b8c565b606091505b505080915050611bf8565b6000546001600160a01b03166001600160a01b03168260405160006040518083038185875af1925050503d8060008114611bed576040519150601f19603f3d011682016040523d82523d6000602084013e611bf2565b606091505b50909150505b80611c405760405162461bcd60e51b81526020600482015260186024820152772330b4b632b2103a37903bb4ba34323930bb9022ba3432b960411b60448201526064016114f3565b5050611c4c6001601055565b565b611c57336134de565b6000611c6260055490565b905060008211611cc95760405162461bcd60e51b815260206004820152602c60248201527f45524337323150736941697244726f703a207175616e74697479206d7573742060448201526b06265206772656174657220360a41b60648201526084016114f3565b8160056000828254611cdb91906156ef565b90915550611cec905060018261389e565b805b611cf883836156ef565b8110156115db5780611d09826138ca565b6001600160a01b031660006001600160a01b0316600080516020615e7b83398151915260405160405180910390a480611d418161579b565b915050611cee565b826daaeb6d7670e522a718067333cd4e3b15801590611d6a575060165460ff165b15611e1d57336001600160a01b03821603611d8a5761169b84848461395d565b604051633185c44d60e21b81526daaeb6d7670e522a718067333cd4e9063c617113490611dbd9030903390600401615679565b602060405180830381865afa158015611dda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dfe9190615693565b611e1d5733604051633b79c77360e21b81526004016114f39190615137565b61173e84848461395d565b33611e32826120b6565b6001600160a01b031614611e585760405162461bcd60e51b81526004016114f3906157b4565b602c54640100000000900460ff1615611e9f5760405162461bcd60e51b81526020600482015260096024820152686e6f7420616c6c6f7760b81b60448201526064016114f3565b6113ce81613978565b611eb1336134de565b602c80549115156401000000000264ff0000000019909216919091179055565b60606000611ede836121b7565b90506000816001600160401b03811115611efa57611efa61523d565b604051908082528060200260200182016040528015611f23578160200160208202803683370190505b509050600060015b6001611f3660055490565b611f4091906156c6565b811015611ffc576040516320c2ce9960e21b815260048101829052309063830b3a6490602401602060405180830381865afa158015611f83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa791906157de565b6001600160a01b0316866001600160a01b031603611fea57808383611fcb8161579b565b945081518110611fdd57611fdd6156d9565b6020026020010181815250505b80611ff48161579b565b915050611f2b565b5090949350505050565b61200f336134de565b602a6113f28282615841565b612024336134de565b61206383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506139d292505050565b60328281548110612076576120766156d9565b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790556032546120ae906001906156c6565b603355505050565b60008181526030602052604081205481901580156120dc57506120da600884613a37565b155b156120f1576120ea836138ca565b90506113a1565b6120fa83613a5e565b9392505050565b61210a336134de565b80612113611648565b11156121315760405162461bcd60e51b81526004016114f390615900565b601f55565b61213f336134de565b60009182526012602052604090912055565b61215a81613645565b6121765760405162461bcd60e51b81526004016114f390615933565b33612180826120b6565b6001600160a01b0316146121a65760405162461bcd60e51b81526004016114f3906157b4565b600090815260316020526040812055565b60006001600160a01b0382166122255760405162461bcd60e51b815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201526c207a65726f206164647265737360981b60648201526084016114f3565b600060015b60055481101561227f5761223d81613645565b1561226f5761224b816120b6565b6001600160a01b0316846001600160a01b03160361226f5761226c8261579b565b91505b6122788161579b565b905061222a565b5092915050565b61228e613749565b611c4c6000613a72565b6122a1336134de565b6113ce81613ac2565b60006122b582613645565b6122d15760405162461bcd60e51b81526004016114f390615933565b60008281526030602052604081205490036122ee57505060275490565b5060009081526030602052604090205490565b612309613749565b602555565b612317336134de565b602c80549115156101000261ff0019909216919091179055565b61233961382b565b602c54610100900460ff1661238a5760405162461bcd60e51b8152602060048201526017602482015276185b1b1bdddb1a5cdd135a5b9d081a5cc814185d5cd959604a1b60448201526064016114f3565b6123973360135483612eaa565b6123b35760405162461bcd60e51b81526004016114f39061596a565b81601d5410156124185760405162461bcd60e51b815260206004820152602a60248201527f616c6c6f776c6973744d696e743a204f766572206d6178206d696e747320706560448201526972206f6e652074696d6560b01b60648201526084016114f3565b6013546000908152601b602052604090205482111561248a5760405162461bcd60e51b815260206004820152602860248201527f616c6c6f776c6973744d696e743a204f766572206d6178206d696e74732070656044820152671c881dd85b1b195d60c21b60648201526084016114f3565b6023546000908152602e602090815260408083203384529091529020546124b29083906156ef565b6013546000908152601b602052604090205410156124e25760405162461bcd60e51b81526004016114f39061599c565b816019546124f09190615702565b341461250e5760405162461bcd60e51b81526004016114f390615743565b602054612519611648565b61252390846156ef565b11156125415760405162461bcd60e51b81526004016114f390615775565b6023546000908152602e602090815260408083203384529091528120805484929061256d9084906156ef565b9091555061257d90503383613884565b6113f26001601055565b81612591816120b6565b6001600160a01b0316336001600160a01b0316146126045760405162461bcd60e51b815260206004820152602a60248201527f5265737472696374417070726f76653a206f7065726174696f6e206973206f6e604482015269363c903437b63232b91760b11b60648201526084016114f3565b506000918252600d602052604090912055565b612620336134de565b601c55565b6040516331a9108f60e11b8152600481018290526000903090636352211e90602401602060405180830381865afa925050508015612680575060408051601f3d908101601f1916820190925261267d918101906157de565b60015b6113a157506000919050565b606060008061269a846121b7565b90506000816001600160401b038111156126b6576126b661523d565b6040519080825280602002602001820160405280156126df578160200160208202803683370190505b50905060015b828414612749576126f581613645565b1561274157856001600160a01b031661270d826120b6565b6001600160a01b0316036127415780828580600101965081518110612734576127346156d9565b6020026020010181815250505b6001016126e5565b50949350505050565b61275b81613645565b6127775760405162461bcd60e51b81526004016114f390615933565b33612781826120b6565b6001600160a01b0316146127a75760405162461bcd60e51b81526004016114f3906157b4565b6127b381602154101590565b156113ce57602c546301000000900460ff16156113ce5760006127d582613b07565b6000838152603160205260409020555050565b6127f1336134de565b601855565b6127ff336134de565b80612808611648565b11156128265760405162461bcd60e51b81526004016114f390615900565b602055565b60606003805461140590615645565b612842613749565b602755565b61284f61382b565b6000341161286f5760405162461bcd60e51b81526004016114f390615743565b611c4c6001601055565b816daaeb6d7670e522a718067333cd4e3b1580159061289a575060165460ff165b1561293257604051633185c44d60e21b81526daaeb6d7670e522a718067333cd4e9063c6171134906128d29030908590600401615679565b602060405180830381865afa1580156128ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129139190615693565b6129325780604051633b79c77360e21b81526004016114f39190615137565b6115db8383613b6c565b612945336134de565b602c8054911515620100000262ff000019909216919091179055565b612969613749565b6113ce81613bea565b61297b336134de565b6016805460ff1916911515919091179055565b836daaeb6d7670e522a718067333cd4e3b158015906129af575060165460ff165b15612a6857336001600160a01b038216036129d5576129d085858585613c14565b612a74565b604051633185c44d60e21b81526daaeb6d7670e522a718067333cd4e9063c617113490612a089030903390600401615679565b602060405180830381865afa158015612a25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a499190615693565b612a685733604051633b79c77360e21b81526004016114f39190615137565b612a7485858585613c14565b5050505050565b612a84336134de565b6000918252601b602052604090912055565b612a9f336134de565b60296113f28282615841565b612ab4336134de565b601955565b612ac2336134de565b602c805460ff1916911515919091179055565b612add61382b565b602c5460ff16612b295760405162461bcd60e51b81526020600482015260176024820152761dda1a5d195b1a5cdd135a5b9d081a5cc814185d5cd959604a1b60448201526064016114f3565b612b34338383613163565b612b505760405162461bcd60e51b81526004016114f39061596a565b60008211612b925760405162461bcd60e51b815260206004820152600f60248201526e596f752068617665206e6f20574c2160881b60448201526064016114f3565b82821015612bf35760405162461bcd60e51b815260206004820152602860248201527f77686974656c6973744d696e743a204f766572206d6178206d696e74732070656044820152671c881dd85b1b195d60c21b60648201526084016114f3565b6022546000908152602d60209081526040808320338452909152902054612c1b9084906156ef565b821015612c3a5760405162461bcd60e51b81526004016114f39061599c565b82601854612c489190615702565b3414612c665760405162461bcd60e51b81526004016114f390615743565b602054612c71611648565b612c7b90856156ef565b1115612c995760405162461bcd60e51b81526004016114f390615775565b6022546000908152602d6020908152604080832033845290915281208054859290612cc59084906156ef565b90915550612cd590503384613884565b6115db6001601055565b612ce8336134de565b602155565b6060612cf882613645565b612d145760405162461bcd60e51b81526004016114f390615933565b612d2082602154101590565b15612e18576000828152603160205260408120541315612d8e57612d42613c46565b600083815260316020526040902054612d5a90613c55565b612d6384613c55565b602b604051602001612d789493929190615a46565b6040516020818303038152906040529050919050565b602c546301000000900460ff1615612df3576000612dab83613b07565b9050612db5613c46565b612dbe82613c55565b612dc785613c55565b602b604051602001612ddc9493929190615a46565b604051602081830303815290604052915050919050565b612dfb613c46565b612e0483613c55565b602b604051602001612d7893929190615aa4565b60298054612e2590615645565b80601f0160208091040260200160405190810160405280929190818152602001828054612e5190615645565b8015612e9e5780601f10612e7357610100808354040283529160200191612e9e565b820191906000526020600020905b815481529060010190602001808311612e8157829003601f168201915b50505050509050919050565b6040516001600160601b0319606085901b166020820152600090819060340160405160208183030381529060405280519060200120905060005b8351811015612fbd57838181518110612eff57612eff6156d9565b60200260200101518210612f5d57838181518110612f1f57612f1f6156d9565b602002602001015182604051602001612f42929190918252602082015260400190565b60405160208183030381529060405280519060200120612fa9565b81848281518110612f7057612f706156d9565b6020026020010151604051602001612f92929190918252602082015260400190565b604051602081830303815290604052805190602001205b915080612fb58161579b565b915050612ee4565b506000848152601260205260409020541490509392505050565b612fe0336134de565b601a55565b612fee336134de565b603261302f83838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506139d292505050565b815460018082018455600093845260209093200180546001600160a01b0319166001600160a01b039290921691909117905560325461306e91906156c6565b6033555050565b61307e336134de565b602b6113f28282615841565b613093336134de565b602255565b6060611391613ce7565b60006130ae8383613d67565b15156000036130bf575060006113a1565b6001600160a01b0380841660009081526007602090815260408083209386168352929052205460ff166120fa565b6130f5613749565b6001600160a01b03811661315a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016114f3565b6113ce81613a72565b6040516001600160601b0319606085901b16602082015260348101839052600090819060540160405160208183030381529060405280519060200120905060005b835181101561327d578381815181106131bf576131bf6156d9565b6020026020010151821061321d578381815181106131df576131df6156d9565b602002602001015182604051602001613202929190918252602082015260400190565b60405160208183030381529060405280519060200120613269565b81848281518110613230576132306156d9565b6020026020010151604051602001613252929190918252602082015260400190565b604051602081830303815290604052805190602001205b9150806132758161579b565b9150506131a4565b5060115414949350505050565b613293336134de565b601355565b6132a1336134de565b601f546132ac611648565b6132b690846156ef565b11156132d45760405162461bcd60e51b81526004016114f390615775565b6113f28183613884565b6132e6613749565b602655565b6132f4336134de565b6113ce81613d7f565b6060600061330c836002615702565b6133179060026156ef565b6001600160401b0381111561332e5761332e61523d565b6040519080825280601f01601f191660200182016040528015613358576020820181803683370190505b509050600360fc1b81600081518110613373576133736156d9565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106133a2576133a26156d9565b60200101906001600160f81b031916908160001a90535060006133c6846002615702565b6133d19060016156ef565b90505b6001811115613449576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613405576134056156d9565b1a60f81b82828151811061341b5761341b6156d9565b60200101906001600160f81b031916908160001a90535060049490941c9361344281615ad6565b90506133d4565b5083156120fa5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016114f3565b60006120fa836001600160a01b038416613dc4565b6060611391600a613e13565b60006001600160e01b0319821663152a902d60e11b14806113a157506113a182613e20565b6001600160a01b03811660009081526017602052604090205460ff1661350f335b6001600160a01b031660146132fd565b60405160200161351f9190615aed565b604051602081830303815290604052906113f25760405162461bcd60e51b81526004016114f39190615124565b6127106001600160601b03821611156135ba5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016114f3565b6001600160a01b03821661360c5760405162461bcd60e51b815260206004820152601960248201527822a921991c9c189d1034b73b30b634b2103932b1b2b4bb32b960391b60448201526064016114f3565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601455565b6000613652600883613a37565b1561365f57506000919050565b6113a182613e45565b6136728282613e61565b6113f28282613edc565b606061369d8461368d8560016156ef565b6136988560016156ef565b613fee565b949350505050565b600554600090819081906136bd9060081c60016156ef565b9050815b81811015613701576000818152600860205260409020546136e1816140a3565b6136eb90866156ef565b94505080806136f99061579b565b9150506136c1565b50505090565b6000600160055461139191906156c6565b61372233826140bd565b61373e5760405162461bcd60e51b81526004016114f390615b3a565b6115db838383614182565b6000546001600160a01b03163314611c4c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016114f3565b6001600160a01b03811660009081526017602052604090205460ff16156137c9336134ff565b6040516020016137d99190615b8e565b604051602081830303815290604052906138065760405162461bcd60e51b81526004016114f39190615124565b506001600160a01b03166000908152601760205260409020805460ff19166001179055565b60026010540361387d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016114f3565b6002601055565b6113f2828260405180602001604052806000815250614362565b600881901c600090815260209290925260409091208054600160ff1b60ff9093169290921c9091179055565b6000806104576138db6001856156c6565b6138e5919061572f565b905060006138f582610457615702565b6139006001866156c6565b61390a91906156c6565b613915906014615702565b905061369d61395660328481548110613930576139306156d9565b6000918252602090912001546001600160a01b0316836139518160146156ef565b61367c565b6014015190565b6115db8383836040518060200160405280600081525061298e565b6000613983826120b6565b90506139938160008460016143a3565b61399e60088361389e565b60405182906000906001600160a01b03841690600080516020615e7b833981519152908390a46113f28160008460016143f2565b6000806139fd836040516020016139e99190615be5565b604051602081830303815290604052614415565b90508051602082016000f091506001600160a01b038216613a315760405163046a55db60e11b815260040160405180910390fd5b50919050565b600881901c600090815260208390526040902054600160ff1b60ff83161c16151592915050565b600080613a6a8361442b565b509392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b613acd600a826144fc565b506040516001600160a01b0382169033907f3b01c97343869ca2757fcc37cdb8f71683b0a7aed858e3755f4529a1db85729290600090a350565b6000613b1282613645565b613b2e5760405162461bcd60e51b81526004016114f390615933565b602654600083815260306020526040812054909190613b4d9042615c0b565b613b579190615c2b565b905060255481126113a1575060255492915050565b613b7582614511565b80613b7e575080155b613be05760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2043616e206e6f7420617070726f766560448201526c103637b1b5b2b2103a37b5b2b760991b60648201526084016114f3565b6113f2828261451d565b613bf3816134de565b6001600160a01b03166000908152601760205260409020805460ff19169055565b613c1e33836140bd565b613c3a5760405162461bcd60e51b81526004016114f390615b3a565b61173e848484846145e1565b6060602a805461140590615645565b60606000613c62836145fa565b60010190506000816001600160401b03811115613c8157613c8161523d565b6040519080825280601f01601f191660200182016040528015613cab576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084613cb557509392505050565b6060600080613cf881612710611820565b91509150613d41613d0882613c55565b613d1c846001600160a01b031660146132fd565b604051602001613d2d929190615c59565b6040516020818303038152906040526146d2565b604051602001613d519190615cdf565b6040516020818303038152906040529250505090565b600080613d7384614836565b905061369d8382614878565b613d8a600a82613498565b506040516001600160a01b0382169033907fbd0af1fe0a2c1c7bb340c17a284a291138979c8eeb797e176dbd1c415199af3c90600090a350565b6000818152600183016020526040812054613e0b575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556113a1565b5060006113a1565b606060006120fa83614911565b60006001600160e01b03198216630101c11560e71b14806113a157506113a18261496c565b6000613e5060055490565b821080156113a15750506001111590565b6001600160a01b038216156113f257613e7a81836149bc565b6113f25760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2054686520636f6e747261637420697360448201526c103737ba1030b63637bbb2b21760991b60648201526084016114f3565b6000613ee7826120b6565b9050806001600160a01b0316836001600160a01b031603613f565760405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f6044820152633bb732b960e11b60648201526084016114f3565b336001600160a01b0382161480613f725750613f7281336130a2565b613fe45760405162461bcd60e51b815260206004820152603b60248201527f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460448201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c000000000060648201526084016114f3565b6115db83836149c9565b6060833b60008190036140115750506040805160208101909152600081526120fa565b8084111561402f5750506040805160208101909152600081526120fa565b838310156140615760405163162544fd60e11b81526004810182905260248101859052604481018490526064016114f3565b83830384820360008282106140765782614078565b815b60408051603f8301601f19168101909152818152955090508087602087018a3c505050509392505050565b60005b8115611643576000198201909116906001016140a6565b60006140c882613645565b61412c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016114f3565b6000614137836120b6565b9050806001600160a01b0316846001600160a01b031614806141725750836001600160a01b031661416784611488565b6001600160a01b0316145b8061369d575061369d81856130a2565b60008061418e8361442b565b91509150846001600160a01b0316826001600160a01b0316146142085760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201526b3a1034b9903737ba1037bbb760a11b60648201526084016114f3565b6001600160a01b03841661426e5760405162461bcd60e51b815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b60648201526084016114f3565b61427b85858560016143a3565b6142866000846149c9565b60006142938460016156ef565b90506142a0600182613a37565b1580156142ae575060055481105b156142e557600081815260046020526040902080546001600160a01b0319166001600160a01b0388161790556142e560018261389e565b600084815260046020526040902080546001600160a01b0319166001600160a01b03871617905581841461431e5761431e60018561389e565b83856001600160a01b0316876001600160a01b0316600080516020615e7b83398151915260405160405180910390a461435a86868660016143f2565b505050505050565b600061436d60055490565b90506143798484614a37565b614387600085838686614bb2565b61173e5760405162461bcd60e51b81526004016114f390615d24565b600082815260306020526040812042905582906143c083836156ef565b90505b4260306000846143d28161579b565b95508152602001908152602001600020819055508082106143c35761435a565b6001600160a01b0384161561173e576000828152600d602052604081205561173e565b6060815182604051602001612d78929190615d79565b60008061443783613645565b6144985760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016114f3565b6144a183614ce9565b6000848152603060205260409020549091501580156144c857506144c6600884613a37565b155b156144dd576144d6836138ca565b9150915091565b6000818152600460205260409020546001600160a01b03169150915091565b60006120fa836001600160a01b038416614cf6565b60006113a13383613d67565b336001600160a01b038316036145755760405162461bcd60e51b815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c65720000000060448201526064016114f3565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6145ec848484614182565b614387848484600185614bb2565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106146395772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310614665576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061468357662386f26fc10000830492506010015b6305f5e100831061469b576305f5e100830492506008015b61271083106146af57612710830492506004015b606483106146c1576064830492506002015b600a83106113a15760010192915050565b606081516000036146f157505060408051602081019091526000815290565b6000604051806060016040528060408152602001615e3b604091399050600060038451600261472091906156ef565b61472a919061572f565b614735906004615702565b905060006147448260206156ef565b6001600160401b0381111561475b5761475b61523d565b6040519080825280601f01601f191660200182016040528015614785576020820181803683370190505b509050818152600183018586518101602084015b818310156147f1576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101614799565b60038951066001811461480b576002811461481c57614828565b613d3d60f01b600119830152614828565b603d60f81b6000198301525b509398975050505050505050565b6001600160a01b0381166000908152600e60205260408120541561487057506001600160a01b03166000908152600e602052604090205490565b5050600f5490565b600c5460009060ff1661488d575060016113a1565b61489683614de9565b806120fa5750600954604051630f8350ed60e41b81526001600160a01b038581166004830152602482018590529091169063f8350ed090604401602060405180830381865afa1580156148ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120fa9190615693565b606081600001805480602002602001604051908101604052809291908181526020018280548015612e9e57602002820191906000526020600020905b81548152602001906001019080831161494d5750505050509050919050565b60006001600160e01b031982166380ac58cd60e01b148061499d57506001600160e01b03198216635b5e139f60e01b145b806113a157506301ffc9a760e01b6001600160e01b03198316146113a1565b600080613d733385614df6565b600081815260066020526040902080546001600160a01b0319166001600160a01b03841690811790915581906149fe826120b6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000614a4260055490565b905060008211614aa25760405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a207175616e74697479206d7573742062652067726561604482015264074657220360dc1b60648201526084016114f3565b6001600160a01b038316614b045760405162461bcd60e51b815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b60648201526084016114f3565b614b1160008483856143a3565b8160056000828254614b2391906156ef565b9091555050600081815260046020526040902080546001600160a01b0319166001600160a01b038516179055614b5a60018261389e565b614b6760008483856143f2565b805b614b7383836156ef565b81101561173e5760405181906001600160a01b03861690600090600080516020615e7b833981519152908290a480614baa8161579b565b915050614b69565b60006001600160a01b0385163b15614cdc57506001835b614bd384866156ef565b811015614cd657604051630a85bd0160e11b81526001600160a01b0387169063150b7a0290614c0c9033908b9086908990600401615dca565b6020604051808303816000875af1925050508015614c47575060408051601f3d908101601f19168201909252614c4491810190615e07565b60015b614ca4573d808015614c75576040519150601f19603f3d011682016040523d82523d6000602084013e614c7a565b606091505b508051600003614c9c5760405162461bcd60e51b81526004016114f390615d24565b805181602001fd5b828015614cc157506001600160e01b03198116630a85bd0160e11b145b92505080614cce8161579b565b915050614bc9565b50614ce0565b5060015b95945050505050565b60006113a1600183614e28565b60008181526001830160205260408120548015614ddf576000614d1a6001836156c6565b8554909150600090614d2e906001906156c6565b9050818114614d93576000866000018281548110614d4e57614d4e6156d9565b9060005260206000200154905080876000018481548110614d7157614d716156d9565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080614da457614da4615e24565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506113a1565b60009150506113a1565b60006113a1600a83614f20565b6000818152600d602052604081205415614e1f57506000818152600d60205260409020546113a1565b6120fa83614836565b600881901c60008181526020849052604081205490919060ff808516919082181c8015614e6a57614e5881614f42565b60ff168203600884901b179350614f17565b60008311614ed75760405162461bcd60e51b815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527334b73232bc103237b2b9b713ba1032bc34b9ba1760611b60648201526084016114f3565b506000199091016000818152602086905260409020549091908015614f1257614eff81614f42565b60ff0360ff16600884901b179350614f17565b614e6a565b50505092915050565b6001600160a01b038116600090815260018301602052604081205415156120fa565b60006040518061012001604052806101008152602001615e9b610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff614f8b85614fac565b02901c81518110614f9e57614f9e6156d9565b016020015160f81c92915050565b6000808211614fba57600080fd5b5060008190031690565b6020808252825182820181905260009190848201906040850190845b818110156150055783516001600160a01b031683529284019291840191600101614fe0565b50909695505050505050565b6001600160e01b0319811681146113ce57600080fd5b60006020828403121561503957600080fd5b81356120fa81615011565b6001600160a01b03811681146113ce57600080fd5b60006020828403121561506b57600080fd5b81356120fa81615044565b60006020828403121561508857600080fd5b5035919050565b600080604083850312156150a257600080fd5b82356150ad81615044565b915060208301356001600160601b03811681146150c957600080fd5b809150509250929050565b60005b838110156150ef5781810151838201526020016150d7565b50506000910152565b600081518084526151108160208601602086016150d4565b601f01601f19169290920160200192915050565b6020815260006120fa60208301846150f8565b6001600160a01b0391909116815260200190565b6000806040838503121561515e57600080fd5b823561516981615044565b946020939093013593505050565b60008060006060848603121561518c57600080fd5b833561519781615044565b925060208401356151a781615044565b929592945050506040919091013590565b600080604083850312156151cb57600080fd5b50508035926020909101359150565b80151581146113ce57600080fd5b6000602082840312156151fa57600080fd5b81356120fa816151da565b6020808252825182820181905260009190848201906040850190845b8181101561500557835183529284019291840191600101615221565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561527b5761527b61523d565b604052919050565b60006001600160401b0383111561529c5761529c61523d565b6152af601f8401601f1916602001615253565b90508281528383830111156152c357600080fd5b828260208301376000602084830101529392505050565b6000602082840312156152ec57600080fd5b81356001600160401b0381111561530257600080fd5b8201601f8101841361531357600080fd5b61369d84823560208401615283565b60008083601f84011261533457600080fd5b5081356001600160401b0381111561534b57600080fd5b6020830191508360208285010111156118c757600080fd5b60008060006040848603121561537857600080fd5b83356001600160401b0381111561538e57600080fd5b61539a86828701615322565b909790965060209590950135949350505050565b600082601f8301126153bf57600080fd5b813560206001600160401b038211156153da576153da61523d565b8160051b6153e9828201615253565b928352848101820192828101908785111561540357600080fd5b83870192505b8483101561542257823582529183019190830190615409565b979650505050505050565b6000806040838503121561544057600080fd5b8235915060208301356001600160401b0381111561545d57600080fd5b615469858286016153ae565b9150509250929050565b6000806040838503121561548657600080fd5b8235915060208301356150c981615044565b600080604083850312156154ab57600080fd5b82356154b681615044565b915060208301356150c9816151da565b600080600080608085870312156154dc57600080fd5b84356154e781615044565b935060208501356154f781615044565b92506040850135915060608501356001600160401b0381111561551957600080fd5b8501601f8101871361552a57600080fd5b61553987823560208401615283565b91505092959194509250565b60008060006060848603121561555a57600080fd5b833592506020840135915060408401356001600160401b0381111561557e57600080fd5b61558a868287016153ae565b9150509250925092565b6000806000606084860312156155a957600080fd5b83356155b481615044565b92506020840135915060408401356001600160401b0381111561557e57600080fd5b600080602083850312156155e957600080fd5b82356001600160401b038111156155ff57600080fd5b61560b85828601615322565b90969095509350505050565b6000806040838503121561562a57600080fd5b823561563581615044565b915060208301356150c981615044565b600181811c9082168061565957607f821691505b602082108103613a3157634e487b7160e01b600052602260045260246000fd5b6001600160a01b0392831681529116602082015260400190565b6000602082840312156156a557600080fd5b81516120fa816151da565b634e487b7160e01b600052601160045260246000fd5b818103818111156113a1576113a16156b0565b634e487b7160e01b600052603260045260246000fd5b808201808211156113a1576113a16156b0565b80820281158282048414176113a1576113a16156b0565b634e487b7160e01b600052601260045260246000fd5b60008261573e5761573e615719565b500490565b602080825260189082015277115512081d985b1d59481a5cc81b9bdd0818dbdc9c9958dd60421b604082015260600190565b6020808252600c908201526b4e6f206d6f7265204e46547360a01b604082015260600190565b6000600182016157ad576157ad6156b0565b5060010190565b60208082526010908201526f34b9b73a1037bbb732b9103a37b5b2b760811b604082015260600190565b6000602082840312156157f057600080fd5b81516120fa81615044565b601f8211156115db57600081815260208120601f850160051c810160208610156158225750805b601f850160051c820191505b8181101561435a5782815560010161582e565b81516001600160401b0381111561585a5761585a61523d565b61586e816158688454615645565b846157fb565b602080601f8311600181146158a3576000841561588b5750858301515b600019600386901b1c1916600185901b17855561435a565b600085815260208120601f198616915b828110156158d2578886015182559484019460019091019084016158b3565b50858210156158f05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252601990820152782637bbb2b9103a3430b7102fb1bab93932b73a24b73232bc1760391b604082015260600190565b6020808252601f908201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604082015260600190565b602080825260189082015277596f7520617265206e6f742077686974656c69737465642160401b604082015260600190565b6020808252601e908201527f596f752068617665206e6f2077686974656c6973744d696e74206c6566740000604082015260600190565b600081546159e081615645565b600182811680156159f85760018114615a0d57615a3c565b60ff1984168752821515830287019450615a3c565b8560005260208060002060005b85811015615a335781548a820152908401908201615a1a565b50505082870194505b5050505092915050565b60008551615a58818460208a016150d4565b855190830190615a6c818360208a016150d4565b602f60f81b91019081528451615a898160018401602089016150d4565b615a98600182840101866159d3565b98975050505050505050565b60008451615ab68184602089016150d4565b845190830190615aca8183602089016150d4565b615422818301866159d3565b600081615ae557615ae56156b0565b506000190190565b67030b1b1b7bab73a160c51b815260008251615b108160088501602087016150d4565b721034b9903737ba1030b71037b832b930ba37b960691b6008939091019283015250601b01919050565b60208082526034908201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f6040820152731d081bdddb995c881b9bdc88185c1c1c9bdd995960621b606082015260800190565b67030b1b1b7bab73a160c51b815260008251615bb18160088501602087016150d4565b7f20697320616c72656164792068617320616e206f70657261746f7220726f6c656008939091019283015250602801919050565b6000815260008251615bfe8160018501602087016150d4565b9190910160010192915050565b818103600083128015838313168383128216171561227f5761227f6156b0565b600082615c3a57615c3a615719565b600160ff1b821460001984141615615c5457615c546156b0565b500590565b7f7b2273656c6c65725f6665655f62617369735f706f696e7473223a0000000000815260008351615c9181601b8501602088016150d4565b721610113332b2afb932b1b4b834b2b73a111d1160691b601b918401918201528351615cc481602e8401602088016150d4565b61227d60f01b602e9290910191820152603001949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251615d1781601d8501602087016150d4565b91909101601d0192915050565b60208082526035908201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527418a932b1b2b4bb32b91034b6b83632b6b2b73a32b960591b606082015260800190565b606360f81b815260e083901b6001600160e01b03191660018201526880600e6000396000f360b81b60058201528151600090615dbc81600e8501602087016150d4565b91909101600e019392505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090615dfd908301846150f8565b9695505050505050565b600060208284031215615e1957600080fd5b81516120fa81615011565b634e487b7160e01b600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a26469706673582212203d061d89e59dff1e2fc61b06eda80aac5089f5e83a7499259c8a3e4b38120f3264736f6c6343000811003368747470733a2f2f617277656176652e6e65742f626835335a58374e4f4d485250762d31315f6c5972385669724d2d537a45527a7a4e71504256634a4d4d732f000000000000000000000000637d25d0769f747b2742a04d249802da8539597000000000000000000000000000000000000000000000000000000000000001f4

Deployed Bytecode

0x6080604052600436106105c75760003560e01c806372b44d71116102fa578063b88d4fde11610191578063da359dc8116100e2578063f2fde38b11610090578063f2fde38b146112ad578063faf7a826146112cd578063fb796e6c146112ed578063fdf03cd514611307578063fe08eab014611327578063fe8b456e14611347578063ff7682121461136757600080fd5b8063da359dc8146111ec578063da3ef23f1461120c578063df58a1b51461122c578063e0669c5514611242578063e8a3d48514611262578063e985e9c514611277578063ea7baab11461129757600080fd5b8063c50c81861161013f578063c50c81861461112b578063c87b56dd1461114b578063d2de022f1461116b578063d4e45c141461118b578063d5abeb01146111a0578063d5dcfbc6146111b6578063d78be71c146111cc57600080fd5b8063b88d4fde14611059578063b9a2e65514611079578063bbaac02f14611099578063bf509b9d146110b9578063c3e53683146110d9578063c3faf724146110f8578063c4be5b591461111857600080fd5b80638dd07d0f1161024b578063a22cb465116101f9578063a22cb46514610f5b578063a355fd2914610f7b578063a35c23ad14610f9b578063b219f7d714610fc8578063b31391cb14610fe8578063b435d23614611015578063b7c0b8e81461103957600080fd5b80638dd07d0f14610e575780638e37326a14610e7757806391e4bac814610eba578063942958f414610eda57806395d89b4114610f1e5780639d1fbfbe14610f335780639da9778c14610f5357600080fd5b80637fc69f5a116102a85780637fc69f5a14610d8d578063813779ef14610da3578063830b3a6414610dc3578063830f821114610de35780638462151c14610df95780638c5668be14610e195780638da5cb5b14610e3957600080fd5b806372b44d7114610c9657806374dfc98214610cb65780637558be9e14610cd65780637672287e14610cf657806378a9238014610d165780637bc9200e14610d5a5780637c3dc17314610d6d57600080fd5b80632e9901f41161046e5780634bf365df116103bf5780636d70f7ae1161036d5780636d70f7ae14610bb25780636f8b44b014610beb5780636fa0cf5f14610c0b578063709411d214610c2b57806370a0823114610c4b578063715018a614610c6b5780637254d90c14610c8057600080fd5b80634bf365df14610afa5780634f3db34614610b105780635183022714610b2657806355f804b314610b3c5780635638697b14610b5c57806358303b1014610b7c5780636352211e14610b9257600080fd5b806341f434341161041c57806341f4343414610a1f57806342454db914610a4157806342842e0e14610a5757806342966c6814610a77578063435e4ccd14610a97578063438b630014610ab7578063449d0f1014610ae457600080fd5b80632e9901f41461096b57806330e7ed3514610981578063396e8f53146109a15780633ccfd60b146109c15780633df669f7146109c95780633fa3b4df146109df5780634009920d146109ff57600080fd5b806318160ddd11610528578063258bc0ef116104d6578063258bc0ef1461088e5780632672c902146108ae578063267fe989146108c357806327ac0c58146108e35780632a55205a146109035780632c4e9fc6146109425780632db115441461095857600080fd5b806318160ddd1461078b578063189f3de1146107a05780631a09cfe2146107ba5780631a8b8357146107d057806321434421146107fd5780632398f8431461084157806323b872dd1461086e57600080fd5b8063072653891161058557806307265389146106ab578063081812fc146106c557806308b096a0146106f2578063095ea7b3146107165780630d9005ae146107365780630f4345e21461074b5780630f5ba1ae1461076b57600080fd5b80623f332f146105cc57806301ffc9a7146105f7578063025e332e1461062757806303c0f48c1461064957806304634d8d1461066957806306fdde0314610689575b600080fd5b3480156105d857600080fd5b506105e1611387565b6040516105ee9190614fc4565b60405180910390f35b34801561060357600080fd5b50610617610612366004615027565b611396565b60405190151581526020016105ee565b34801561063357600080fd5b50610647610642366004615059565b6113a7565b005b34801561065557600080fd5b50610647610664366004615076565b6113d1565b34801561067557600080fd5b5061064761068436600461508f565b6113df565b34801561069557600080fd5b5061069e6113f6565b6040516105ee9190615124565b3480156106b757600080fd5b50600c546106179060ff1681565b3480156106d157600080fd5b506106e56106e0366004615076565b611488565b6040516105ee9190615137565b3480156106fe57600080fd5b5061070860275481565b6040519081526020016105ee565b34801561072257600080fd5b5061064761073136600461514b565b611518565b34801561074257600080fd5b506107086115e0565b34801561075757600080fd5b50610647610766366004615076565b6115f7565b34801561077757600080fd5b5061069e610786366004615076565b611605565b34801561079757600080fd5b50610708611648565b3480156107ac57600080fd5b50602c546106179060ff1681565b3480156107c657600080fd5b50610708601c5481565b3480156107dc57600080fd5b506107086107eb366004615076565b601b6020526000908152604090205481565b34801561080957600080fd5b50610708610818366004615059565b6023546000908152602e602090815260408083206001600160a01b039094168352929052205490565b34801561084d57600080fd5b5061070861085c366004615059565b600e6020526000908152604090205481565b34801561087a57600080fd5b50610647610889366004615177565b61165a565b34801561089a57600080fd5b506106476108a9366004615076565b611744565b3480156108ba57600080fd5b5061069e611756565b3480156108cf57600080fd5b506106476108de366004615076565b6117e4565b3480156108ef57600080fd5b506106476108fe366004615059565b61180f565b34801561090f57600080fd5b5061092361091e3660046151b8565b611820565b604080516001600160a01b0390931683526020830191909152016105ee565b34801561094e57600080fd5b5061070860185481565b610647610966366004615076565b6118ce565b34801561097757600080fd5b50610708601d5481565b34801561098d57600080fd5b5061064761099c366004615076565b611b05565b3480156109ad57600080fd5b506009546106e5906001600160a01b031681565b610647611b13565b3480156109d557600080fd5b5061070860335481565b3480156109eb57600080fd5b506106476109fa366004615076565b611c4e565b348015610a0b57600080fd5b50602c546106179062010000900460ff1681565b348015610a2b57600080fd5b506106e56daaeb6d7670e522a718067333cd4e81565b348015610a4d57600080fd5b50610708601a5481565b348015610a6357600080fd5b50610647610a72366004615177565b611d49565b348015610a8357600080fd5b50610647610a92366004615076565b611e28565b348015610aa357600080fd5b50610647610ab23660046151e8565b611ea8565b348015610ac357600080fd5b50610ad7610ad2366004615059565b611ed1565b6040516105ee9190615205565b348015610af057600080fd5b5061070860195481565b348015610b0657600080fd5b5061070860205481565b348015610b1c57600080fd5b50610708600f5481565b348015610b3257600080fd5b5061070860215481565b348015610b4857600080fd5b50610647610b573660046152da565b612006565b348015610b6857600080fd5b50610647610b77366004615363565b61201b565b348015610b8857600080fd5b5061070860135481565b348015610b9e57600080fd5b506106e5610bad366004615076565b6120b6565b348015610bbe57600080fd5b50610617610bcd366004615059565b6001600160a01b031660009081526017602052604090205460ff1690565b348015610bf757600080fd5b50610647610c06366004615076565b612101565b348015610c1757600080fd5b50610647610c263660046151b8565b612136565b348015610c3757600080fd5b50610647610c46366004615076565b612151565b348015610c5757600080fd5b50610708610c66366004615059565b6121b7565b348015610c7757600080fd5b50610647612286565b348015610c8c57600080fd5b5061070860265481565b348015610ca257600080fd5b50610647610cb1366004615059565b612298565b348015610cc257600080fd5b50610708610cd1366004615076565b6122aa565b348015610ce257600080fd5b50610647610cf1366004615076565b612301565b348015610d0257600080fd5b50610647610d113660046151e8565b61230e565b348015610d2257600080fd5b50610708610d31366004615059565b6022546000908152602d602090815260408083206001600160a01b039094168352929052205490565b610647610d6836600461542d565b612331565b348015610d7957600080fd5b50610647610d883660046151b8565b612587565b348015610d9957600080fd5b5061070860255481565b348015610daf57600080fd5b50610647610dbe366004615076565b612617565b348015610dcf57600080fd5b506106e5610dde366004615076565b612625565b348015610def57600080fd5b5061070860225481565b348015610e0557600080fd5b50610ad7610e14366004615059565b61268c565b348015610e2557600080fd5b50610647610e34366004615076565b612752565b348015610e4557600080fd5b506000546001600160a01b03166106e5565b348015610e6357600080fd5b50610647610e72366004615076565b6127e8565b348015610e8357600080fd5b50610708610e92366004615473565b6000918252602e602090815260408084206001600160a01b0393909316845291905290205490565b348015610ec657600080fd5b50610647610ed5366004615076565b6127f6565b348015610ee657600080fd5b50610708610ef5366004615059565b6024546000908152602f602090815260408083206001600160a01b039094168352929052205490565b348015610f2a57600080fd5b5061069e61282b565b348015610f3f57600080fd5b50610647610f4e366004615076565b61283a565b610647612847565b348015610f6757600080fd5b50610647610f76366004615498565b612879565b348015610f8757600080fd5b50610647610f963660046151e8565b61293c565b348015610fa757600080fd5b50610647610fb6366004615076565b336000908152600e6020526040902055565b348015610fd457600080fd5b50610647610fe3366004615059565b612961565b348015610ff457600080fd5b50610708611003366004615076565b600d6020526000908152604090205481565b34801561102157600080fd5b506013546000908152601b6020526040902054610708565b34801561104557600080fd5b506106476110543660046151e8565b612972565b34801561106557600080fd5b506106476110743660046154c6565b61298e565b34801561108557600080fd5b506106476110943660046151b8565b612a7b565b3480156110a557600080fd5b506106476110b43660046152da565b612a96565b3480156110c557600080fd5b506106476110d4366004615076565b612aab565b3480156110e557600080fd5b50602c5461061790610100900460ff1681565b34801561110457600080fd5b506106476111133660046151e8565b612ab9565b610647611126366004615545565b612ad5565b34801561113757600080fd5b50610647611146366004615076565b612cdf565b34801561115757600080fd5b5061069e611166366004615076565b612ced565b34801561117757600080fd5b50610617611186366004615594565b612eaa565b34801561119757600080fd5b50601354610708565b3480156111ac57600080fd5b50610708601f5481565b3480156111c257600080fd5b5061070860235481565b3480156111d857600080fd5b506106476111e7366004615076565b612fd7565b3480156111f857600080fd5b506106476112073660046155d6565b612fe5565b34801561121857600080fd5b506106476112273660046152da565b613075565b34801561123857600080fd5b5061070860245481565b34801561124e57600080fd5b5061064761125d366004615076565b61308a565b34801561126e57600080fd5b5061069e613098565b34801561128357600080fd5b50610617611292366004615617565b6130a2565b3480156112a357600080fd5b50610708601e5481565b3480156112b957600080fd5b506106476112c8366004615059565b6130ed565b3480156112d957600080fd5b506106176112e8366004615594565b613163565b3480156112f957600080fd5b506016546106179060ff1681565b34801561131357600080fd5b50610647611322366004615076565b61328a565b34801561133357600080fd5b50610647611342366004615473565b613298565b34801561135357600080fd5b50610647611362366004615076565b6132de565b34801561137357600080fd5b50610647611382366004615059565b6132eb565b60606113916134ad565b905090565b60006113a1826134b9565b92915050565b6113b0336134de565b600980546001600160a01b0319166001600160a01b03831617905550565b50565b6113da336134de565b602355565b6113e8336134de565b6113f2828261354c565b5050565b60606002805461140590615645565b80601f016020809104026020016040519081016040528092919081815260200182805461143190615645565b801561147e5780601f106114535761010080835404028352916020019161147e565b820191906000526020600020905b81548152906001019060200180831161146157829003601f168201915b5050505050905090565b600061149382613645565b6114fc5760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b15801590611539575060165460ff165b156115d157604051633185c44d60e21b81526daaeb6d7670e522a718067333cd4e9063c6171134906115719030908590600401615679565b602060405180830381865afa15801561158e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b29190615693565b6115d15780604051633b79c77360e21b81526004016114f39190615137565b6115db8383613668565b505050565b600060016115ed60055490565b61139191906156c6565b611600336134de565b600f55565b6060611610336134de565b6113a160328381548110611626576116266156d9565b60009182526020822001546001600160a01b0316906156cc61367c565b919050565b60006116526136a5565b6115ed613707565b826daaeb6d7670e522a718067333cd4e3b1580159061167b575060165460ff165b1561173357336001600160a01b038216036116a05761169b848484613718565b61173e565b604051633185c44d60e21b81526daaeb6d7670e522a718067333cd4e9063c6171134906116d39030903390600401615679565b602060405180830381865afa1580156116f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117149190615693565b6117335733604051633b79c77360e21b81526004016114f39190615137565b61173e848484613718565b50505050565b61174d336134de565b6113ce81601155565b602b805461176390615645565b80601f016020809104026020016040519081016040528092919081815260200182805461178f90615645565b80156117dc5780601f106117b1576101008083540402835291602001916117dc565b820191906000526020600020905b8154815290600101906020018083116117bf57829003601f168201915b505050505081565b6117ed336134de565b8060138190555060016023600082825461180791906156ef565b909155505050565b611817613749565b6113ce816137a3565b60008281526015602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916118955750604080518082019091526014546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906118b4906001600160601b031687615702565b6118be919061572f565b91519350909150505b9250929050565b6118d661382b565b602c5462010000900460ff166119255760405162461bcd60e51b81526020600482015260146024820152731c1d589b1a58d35a5b9d081a5cc814185d5cd95960621b60448201526064016114f3565b80601e5410156119875760405162461bcd60e51b815260206004820152602760248201527f7075626c69634d696e743a204f766572206d6178206d696e747320706572206f6044820152666e652074696d6560c81b60648201526084016114f3565b80601c5410156119e75760405162461bcd60e51b815260206004820152602560248201527f7075626c69634d696e743a204f766572206d6178206d696e7473207065722077604482015264185b1b195d60da1b60648201526084016114f3565b6024546000908152602f60209081526040808320338452909152902054611a0f9082906156ef565b601c541015611a605760405162461bcd60e51b815260206004820152601b60248201527f596f752068617665206e6f207075626c69634d696e74206c656674000000000060448201526064016114f3565b80601a54611a6e9190615702565b3414611a8c5760405162461bcd60e51b81526004016114f390615743565b602054611a97611648565b611aa190836156ef565b1115611abf5760405162461bcd60e51b81526004016114f390615775565b6024546000908152602f6020908152604080832033845290915281208054839290611aeb9084906156ef565b90915550611afb90503382613884565b6113ce6001601055565b611b0e336134de565b602455565b611b1c336134de565b611b2461382b565b60285447906000906001600160a01b031615611b97576028546040516001600160a01b03909116908390600081818185875af1925050503d8060008114611b87576040519150601f19603f3d011682016040523d82523d6000602084013e611b8c565b606091505b505080915050611bf8565b6000546001600160a01b03166001600160a01b03168260405160006040518083038185875af1925050503d8060008114611bed576040519150601f19603f3d011682016040523d82523d6000602084013e611bf2565b606091505b50909150505b80611c405760405162461bcd60e51b81526020600482015260186024820152772330b4b632b2103a37903bb4ba34323930bb9022ba3432b960411b60448201526064016114f3565b5050611c4c6001601055565b565b611c57336134de565b6000611c6260055490565b905060008211611cc95760405162461bcd60e51b815260206004820152602c60248201527f45524337323150736941697244726f703a207175616e74697479206d7573742060448201526b06265206772656174657220360a41b60648201526084016114f3565b8160056000828254611cdb91906156ef565b90915550611cec905060018261389e565b805b611cf883836156ef565b8110156115db5780611d09826138ca565b6001600160a01b031660006001600160a01b0316600080516020615e7b83398151915260405160405180910390a480611d418161579b565b915050611cee565b826daaeb6d7670e522a718067333cd4e3b15801590611d6a575060165460ff165b15611e1d57336001600160a01b03821603611d8a5761169b84848461395d565b604051633185c44d60e21b81526daaeb6d7670e522a718067333cd4e9063c617113490611dbd9030903390600401615679565b602060405180830381865afa158015611dda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dfe9190615693565b611e1d5733604051633b79c77360e21b81526004016114f39190615137565b61173e84848461395d565b33611e32826120b6565b6001600160a01b031614611e585760405162461bcd60e51b81526004016114f3906157b4565b602c54640100000000900460ff1615611e9f5760405162461bcd60e51b81526020600482015260096024820152686e6f7420616c6c6f7760b81b60448201526064016114f3565b6113ce81613978565b611eb1336134de565b602c80549115156401000000000264ff0000000019909216919091179055565b60606000611ede836121b7565b90506000816001600160401b03811115611efa57611efa61523d565b604051908082528060200260200182016040528015611f23578160200160208202803683370190505b509050600060015b6001611f3660055490565b611f4091906156c6565b811015611ffc576040516320c2ce9960e21b815260048101829052309063830b3a6490602401602060405180830381865afa158015611f83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa791906157de565b6001600160a01b0316866001600160a01b031603611fea57808383611fcb8161579b565b945081518110611fdd57611fdd6156d9565b6020026020010181815250505b80611ff48161579b565b915050611f2b565b5090949350505050565b61200f336134de565b602a6113f28282615841565b612024336134de565b61206383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506139d292505050565b60328281548110612076576120766156d9565b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790556032546120ae906001906156c6565b603355505050565b60008181526030602052604081205481901580156120dc57506120da600884613a37565b155b156120f1576120ea836138ca565b90506113a1565b6120fa83613a5e565b9392505050565b61210a336134de565b80612113611648565b11156121315760405162461bcd60e51b81526004016114f390615900565b601f55565b61213f336134de565b60009182526012602052604090912055565b61215a81613645565b6121765760405162461bcd60e51b81526004016114f390615933565b33612180826120b6565b6001600160a01b0316146121a65760405162461bcd60e51b81526004016114f3906157b4565b600090815260316020526040812055565b60006001600160a01b0382166122255760405162461bcd60e51b815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201526c207a65726f206164647265737360981b60648201526084016114f3565b600060015b60055481101561227f5761223d81613645565b1561226f5761224b816120b6565b6001600160a01b0316846001600160a01b03160361226f5761226c8261579b565b91505b6122788161579b565b905061222a565b5092915050565b61228e613749565b611c4c6000613a72565b6122a1336134de565b6113ce81613ac2565b60006122b582613645565b6122d15760405162461bcd60e51b81526004016114f390615933565b60008281526030602052604081205490036122ee57505060275490565b5060009081526030602052604090205490565b612309613749565b602555565b612317336134de565b602c80549115156101000261ff0019909216919091179055565b61233961382b565b602c54610100900460ff1661238a5760405162461bcd60e51b8152602060048201526017602482015276185b1b1bdddb1a5cdd135a5b9d081a5cc814185d5cd959604a1b60448201526064016114f3565b6123973360135483612eaa565b6123b35760405162461bcd60e51b81526004016114f39061596a565b81601d5410156124185760405162461bcd60e51b815260206004820152602a60248201527f616c6c6f776c6973744d696e743a204f766572206d6178206d696e747320706560448201526972206f6e652074696d6560b01b60648201526084016114f3565b6013546000908152601b602052604090205482111561248a5760405162461bcd60e51b815260206004820152602860248201527f616c6c6f776c6973744d696e743a204f766572206d6178206d696e74732070656044820152671c881dd85b1b195d60c21b60648201526084016114f3565b6023546000908152602e602090815260408083203384529091529020546124b29083906156ef565b6013546000908152601b602052604090205410156124e25760405162461bcd60e51b81526004016114f39061599c565b816019546124f09190615702565b341461250e5760405162461bcd60e51b81526004016114f390615743565b602054612519611648565b61252390846156ef565b11156125415760405162461bcd60e51b81526004016114f390615775565b6023546000908152602e602090815260408083203384529091528120805484929061256d9084906156ef565b9091555061257d90503383613884565b6113f26001601055565b81612591816120b6565b6001600160a01b0316336001600160a01b0316146126045760405162461bcd60e51b815260206004820152602a60248201527f5265737472696374417070726f76653a206f7065726174696f6e206973206f6e604482015269363c903437b63232b91760b11b60648201526084016114f3565b506000918252600d602052604090912055565b612620336134de565b601c55565b6040516331a9108f60e11b8152600481018290526000903090636352211e90602401602060405180830381865afa925050508015612680575060408051601f3d908101601f1916820190925261267d918101906157de565b60015b6113a157506000919050565b606060008061269a846121b7565b90506000816001600160401b038111156126b6576126b661523d565b6040519080825280602002602001820160405280156126df578160200160208202803683370190505b50905060015b828414612749576126f581613645565b1561274157856001600160a01b031661270d826120b6565b6001600160a01b0316036127415780828580600101965081518110612734576127346156d9565b6020026020010181815250505b6001016126e5565b50949350505050565b61275b81613645565b6127775760405162461bcd60e51b81526004016114f390615933565b33612781826120b6565b6001600160a01b0316146127a75760405162461bcd60e51b81526004016114f3906157b4565b6127b381602154101590565b156113ce57602c546301000000900460ff16156113ce5760006127d582613b07565b6000838152603160205260409020555050565b6127f1336134de565b601855565b6127ff336134de565b80612808611648565b11156128265760405162461bcd60e51b81526004016114f390615900565b602055565b60606003805461140590615645565b612842613749565b602755565b61284f61382b565b6000341161286f5760405162461bcd60e51b81526004016114f390615743565b611c4c6001601055565b816daaeb6d7670e522a718067333cd4e3b1580159061289a575060165460ff165b1561293257604051633185c44d60e21b81526daaeb6d7670e522a718067333cd4e9063c6171134906128d29030908590600401615679565b602060405180830381865afa1580156128ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129139190615693565b6129325780604051633b79c77360e21b81526004016114f39190615137565b6115db8383613b6c565b612945336134de565b602c8054911515620100000262ff000019909216919091179055565b612969613749565b6113ce81613bea565b61297b336134de565b6016805460ff1916911515919091179055565b836daaeb6d7670e522a718067333cd4e3b158015906129af575060165460ff165b15612a6857336001600160a01b038216036129d5576129d085858585613c14565b612a74565b604051633185c44d60e21b81526daaeb6d7670e522a718067333cd4e9063c617113490612a089030903390600401615679565b602060405180830381865afa158015612a25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a499190615693565b612a685733604051633b79c77360e21b81526004016114f39190615137565b612a7485858585613c14565b5050505050565b612a84336134de565b6000918252601b602052604090912055565b612a9f336134de565b60296113f28282615841565b612ab4336134de565b601955565b612ac2336134de565b602c805460ff1916911515919091179055565b612add61382b565b602c5460ff16612b295760405162461bcd60e51b81526020600482015260176024820152761dda1a5d195b1a5cdd135a5b9d081a5cc814185d5cd959604a1b60448201526064016114f3565b612b34338383613163565b612b505760405162461bcd60e51b81526004016114f39061596a565b60008211612b925760405162461bcd60e51b815260206004820152600f60248201526e596f752068617665206e6f20574c2160881b60448201526064016114f3565b82821015612bf35760405162461bcd60e51b815260206004820152602860248201527f77686974656c6973744d696e743a204f766572206d6178206d696e74732070656044820152671c881dd85b1b195d60c21b60648201526084016114f3565b6022546000908152602d60209081526040808320338452909152902054612c1b9084906156ef565b821015612c3a5760405162461bcd60e51b81526004016114f39061599c565b82601854612c489190615702565b3414612c665760405162461bcd60e51b81526004016114f390615743565b602054612c71611648565b612c7b90856156ef565b1115612c995760405162461bcd60e51b81526004016114f390615775565b6022546000908152602d6020908152604080832033845290915281208054859290612cc59084906156ef565b90915550612cd590503384613884565b6115db6001601055565b612ce8336134de565b602155565b6060612cf882613645565b612d145760405162461bcd60e51b81526004016114f390615933565b612d2082602154101590565b15612e18576000828152603160205260408120541315612d8e57612d42613c46565b600083815260316020526040902054612d5a90613c55565b612d6384613c55565b602b604051602001612d789493929190615a46565b6040516020818303038152906040529050919050565b602c546301000000900460ff1615612df3576000612dab83613b07565b9050612db5613c46565b612dbe82613c55565b612dc785613c55565b602b604051602001612ddc9493929190615a46565b604051602081830303815290604052915050919050565b612dfb613c46565b612e0483613c55565b602b604051602001612d7893929190615aa4565b60298054612e2590615645565b80601f0160208091040260200160405190810160405280929190818152602001828054612e5190615645565b8015612e9e5780601f10612e7357610100808354040283529160200191612e9e565b820191906000526020600020905b815481529060010190602001808311612e8157829003601f168201915b50505050509050919050565b6040516001600160601b0319606085901b166020820152600090819060340160405160208183030381529060405280519060200120905060005b8351811015612fbd57838181518110612eff57612eff6156d9565b60200260200101518210612f5d57838181518110612f1f57612f1f6156d9565b602002602001015182604051602001612f42929190918252602082015260400190565b60405160208183030381529060405280519060200120612fa9565b81848281518110612f7057612f706156d9565b6020026020010151604051602001612f92929190918252602082015260400190565b604051602081830303815290604052805190602001205b915080612fb58161579b565b915050612ee4565b506000848152601260205260409020541490509392505050565b612fe0336134de565b601a55565b612fee336134de565b603261302f83838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506139d292505050565b815460018082018455600093845260209093200180546001600160a01b0319166001600160a01b039290921691909117905560325461306e91906156c6565b6033555050565b61307e336134de565b602b6113f28282615841565b613093336134de565b602255565b6060611391613ce7565b60006130ae8383613d67565b15156000036130bf575060006113a1565b6001600160a01b0380841660009081526007602090815260408083209386168352929052205460ff166120fa565b6130f5613749565b6001600160a01b03811661315a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016114f3565b6113ce81613a72565b6040516001600160601b0319606085901b16602082015260348101839052600090819060540160405160208183030381529060405280519060200120905060005b835181101561327d578381815181106131bf576131bf6156d9565b6020026020010151821061321d578381815181106131df576131df6156d9565b602002602001015182604051602001613202929190918252602082015260400190565b60405160208183030381529060405280519060200120613269565b81848281518110613230576132306156d9565b6020026020010151604051602001613252929190918252602082015260400190565b604051602081830303815290604052805190602001205b9150806132758161579b565b9150506131a4565b5060115414949350505050565b613293336134de565b601355565b6132a1336134de565b601f546132ac611648565b6132b690846156ef565b11156132d45760405162461bcd60e51b81526004016114f390615775565b6113f28183613884565b6132e6613749565b602655565b6132f4336134de565b6113ce81613d7f565b6060600061330c836002615702565b6133179060026156ef565b6001600160401b0381111561332e5761332e61523d565b6040519080825280601f01601f191660200182016040528015613358576020820181803683370190505b509050600360fc1b81600081518110613373576133736156d9565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106133a2576133a26156d9565b60200101906001600160f81b031916908160001a90535060006133c6846002615702565b6133d19060016156ef565b90505b6001811115613449576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613405576134056156d9565b1a60f81b82828151811061341b5761341b6156d9565b60200101906001600160f81b031916908160001a90535060049490941c9361344281615ad6565b90506133d4565b5083156120fa5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016114f3565b60006120fa836001600160a01b038416613dc4565b6060611391600a613e13565b60006001600160e01b0319821663152a902d60e11b14806113a157506113a182613e20565b6001600160a01b03811660009081526017602052604090205460ff1661350f335b6001600160a01b031660146132fd565b60405160200161351f9190615aed565b604051602081830303815290604052906113f25760405162461bcd60e51b81526004016114f39190615124565b6127106001600160601b03821611156135ba5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016114f3565b6001600160a01b03821661360c5760405162461bcd60e51b815260206004820152601960248201527822a921991c9c189d1034b73b30b634b2103932b1b2b4bb32b960391b60448201526064016114f3565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601455565b6000613652600883613a37565b1561365f57506000919050565b6113a182613e45565b6136728282613e61565b6113f28282613edc565b606061369d8461368d8560016156ef565b6136988560016156ef565b613fee565b949350505050565b600554600090819081906136bd9060081c60016156ef565b9050815b81811015613701576000818152600860205260409020546136e1816140a3565b6136eb90866156ef565b94505080806136f99061579b565b9150506136c1565b50505090565b6000600160055461139191906156c6565b61372233826140bd565b61373e5760405162461bcd60e51b81526004016114f390615b3a565b6115db838383614182565b6000546001600160a01b03163314611c4c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016114f3565b6001600160a01b03811660009081526017602052604090205460ff16156137c9336134ff565b6040516020016137d99190615b8e565b604051602081830303815290604052906138065760405162461bcd60e51b81526004016114f39190615124565b506001600160a01b03166000908152601760205260409020805460ff19166001179055565b60026010540361387d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016114f3565b6002601055565b6113f2828260405180602001604052806000815250614362565b600881901c600090815260209290925260409091208054600160ff1b60ff9093169290921c9091179055565b6000806104576138db6001856156c6565b6138e5919061572f565b905060006138f582610457615702565b6139006001866156c6565b61390a91906156c6565b613915906014615702565b905061369d61395660328481548110613930576139306156d9565b6000918252602090912001546001600160a01b0316836139518160146156ef565b61367c565b6014015190565b6115db8383836040518060200160405280600081525061298e565b6000613983826120b6565b90506139938160008460016143a3565b61399e60088361389e565b60405182906000906001600160a01b03841690600080516020615e7b833981519152908390a46113f28160008460016143f2565b6000806139fd836040516020016139e99190615be5565b604051602081830303815290604052614415565b90508051602082016000f091506001600160a01b038216613a315760405163046a55db60e11b815260040160405180910390fd5b50919050565b600881901c600090815260208390526040902054600160ff1b60ff83161c16151592915050565b600080613a6a8361442b565b509392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b613acd600a826144fc565b506040516001600160a01b0382169033907f3b01c97343869ca2757fcc37cdb8f71683b0a7aed858e3755f4529a1db85729290600090a350565b6000613b1282613645565b613b2e5760405162461bcd60e51b81526004016114f390615933565b602654600083815260306020526040812054909190613b4d9042615c0b565b613b579190615c2b565b905060255481126113a1575060255492915050565b613b7582614511565b80613b7e575080155b613be05760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2043616e206e6f7420617070726f766560448201526c103637b1b5b2b2103a37b5b2b760991b60648201526084016114f3565b6113f2828261451d565b613bf3816134de565b6001600160a01b03166000908152601760205260409020805460ff19169055565b613c1e33836140bd565b613c3a5760405162461bcd60e51b81526004016114f390615b3a565b61173e848484846145e1565b6060602a805461140590615645565b60606000613c62836145fa565b60010190506000816001600160401b03811115613c8157613c8161523d565b6040519080825280601f01601f191660200182016040528015613cab576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084613cb557509392505050565b6060600080613cf881612710611820565b91509150613d41613d0882613c55565b613d1c846001600160a01b031660146132fd565b604051602001613d2d929190615c59565b6040516020818303038152906040526146d2565b604051602001613d519190615cdf565b6040516020818303038152906040529250505090565b600080613d7384614836565b905061369d8382614878565b613d8a600a82613498565b506040516001600160a01b0382169033907fbd0af1fe0a2c1c7bb340c17a284a291138979c8eeb797e176dbd1c415199af3c90600090a350565b6000818152600183016020526040812054613e0b575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556113a1565b5060006113a1565b606060006120fa83614911565b60006001600160e01b03198216630101c11560e71b14806113a157506113a18261496c565b6000613e5060055490565b821080156113a15750506001111590565b6001600160a01b038216156113f257613e7a81836149bc565b6113f25760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2054686520636f6e747261637420697360448201526c103737ba1030b63637bbb2b21760991b60648201526084016114f3565b6000613ee7826120b6565b9050806001600160a01b0316836001600160a01b031603613f565760405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f6044820152633bb732b960e11b60648201526084016114f3565b336001600160a01b0382161480613f725750613f7281336130a2565b613fe45760405162461bcd60e51b815260206004820152603b60248201527f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460448201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c000000000060648201526084016114f3565b6115db83836149c9565b6060833b60008190036140115750506040805160208101909152600081526120fa565b8084111561402f5750506040805160208101909152600081526120fa565b838310156140615760405163162544fd60e11b81526004810182905260248101859052604481018490526064016114f3565b83830384820360008282106140765782614078565b815b60408051603f8301601f19168101909152818152955090508087602087018a3c505050509392505050565b60005b8115611643576000198201909116906001016140a6565b60006140c882613645565b61412c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016114f3565b6000614137836120b6565b9050806001600160a01b0316846001600160a01b031614806141725750836001600160a01b031661416784611488565b6001600160a01b0316145b8061369d575061369d81856130a2565b60008061418e8361442b565b91509150846001600160a01b0316826001600160a01b0316146142085760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201526b3a1034b9903737ba1037bbb760a11b60648201526084016114f3565b6001600160a01b03841661426e5760405162461bcd60e51b815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b60648201526084016114f3565b61427b85858560016143a3565b6142866000846149c9565b60006142938460016156ef565b90506142a0600182613a37565b1580156142ae575060055481105b156142e557600081815260046020526040902080546001600160a01b0319166001600160a01b0388161790556142e560018261389e565b600084815260046020526040902080546001600160a01b0319166001600160a01b03871617905581841461431e5761431e60018561389e565b83856001600160a01b0316876001600160a01b0316600080516020615e7b83398151915260405160405180910390a461435a86868660016143f2565b505050505050565b600061436d60055490565b90506143798484614a37565b614387600085838686614bb2565b61173e5760405162461bcd60e51b81526004016114f390615d24565b600082815260306020526040812042905582906143c083836156ef565b90505b4260306000846143d28161579b565b95508152602001908152602001600020819055508082106143c35761435a565b6001600160a01b0384161561173e576000828152600d602052604081205561173e565b6060815182604051602001612d78929190615d79565b60008061443783613645565b6144985760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016114f3565b6144a183614ce9565b6000848152603060205260409020549091501580156144c857506144c6600884613a37565b155b156144dd576144d6836138ca565b9150915091565b6000818152600460205260409020546001600160a01b03169150915091565b60006120fa836001600160a01b038416614cf6565b60006113a13383613d67565b336001600160a01b038316036145755760405162461bcd60e51b815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c65720000000060448201526064016114f3565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6145ec848484614182565b614387848484600185614bb2565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106146395772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310614665576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061468357662386f26fc10000830492506010015b6305f5e100831061469b576305f5e100830492506008015b61271083106146af57612710830492506004015b606483106146c1576064830492506002015b600a83106113a15760010192915050565b606081516000036146f157505060408051602081019091526000815290565b6000604051806060016040528060408152602001615e3b604091399050600060038451600261472091906156ef565b61472a919061572f565b614735906004615702565b905060006147448260206156ef565b6001600160401b0381111561475b5761475b61523d565b6040519080825280601f01601f191660200182016040528015614785576020820181803683370190505b509050818152600183018586518101602084015b818310156147f1576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101614799565b60038951066001811461480b576002811461481c57614828565b613d3d60f01b600119830152614828565b603d60f81b6000198301525b509398975050505050505050565b6001600160a01b0381166000908152600e60205260408120541561487057506001600160a01b03166000908152600e602052604090205490565b5050600f5490565b600c5460009060ff1661488d575060016113a1565b61489683614de9565b806120fa5750600954604051630f8350ed60e41b81526001600160a01b038581166004830152602482018590529091169063f8350ed090604401602060405180830381865afa1580156148ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120fa9190615693565b606081600001805480602002602001604051908101604052809291908181526020018280548015612e9e57602002820191906000526020600020905b81548152602001906001019080831161494d5750505050509050919050565b60006001600160e01b031982166380ac58cd60e01b148061499d57506001600160e01b03198216635b5e139f60e01b145b806113a157506301ffc9a760e01b6001600160e01b03198316146113a1565b600080613d733385614df6565b600081815260066020526040902080546001600160a01b0319166001600160a01b03841690811790915581906149fe826120b6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000614a4260055490565b905060008211614aa25760405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a207175616e74697479206d7573742062652067726561604482015264074657220360dc1b60648201526084016114f3565b6001600160a01b038316614b045760405162461bcd60e51b815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b60648201526084016114f3565b614b1160008483856143a3565b8160056000828254614b2391906156ef565b9091555050600081815260046020526040902080546001600160a01b0319166001600160a01b038516179055614b5a60018261389e565b614b6760008483856143f2565b805b614b7383836156ef565b81101561173e5760405181906001600160a01b03861690600090600080516020615e7b833981519152908290a480614baa8161579b565b915050614b69565b60006001600160a01b0385163b15614cdc57506001835b614bd384866156ef565b811015614cd657604051630a85bd0160e11b81526001600160a01b0387169063150b7a0290614c0c9033908b9086908990600401615dca565b6020604051808303816000875af1925050508015614c47575060408051601f3d908101601f19168201909252614c4491810190615e07565b60015b614ca4573d808015614c75576040519150601f19603f3d011682016040523d82523d6000602084013e614c7a565b606091505b508051600003614c9c5760405162461bcd60e51b81526004016114f390615d24565b805181602001fd5b828015614cc157506001600160e01b03198116630a85bd0160e11b145b92505080614cce8161579b565b915050614bc9565b50614ce0565b5060015b95945050505050565b60006113a1600183614e28565b60008181526001830160205260408120548015614ddf576000614d1a6001836156c6565b8554909150600090614d2e906001906156c6565b9050818114614d93576000866000018281548110614d4e57614d4e6156d9565b9060005260206000200154905080876000018481548110614d7157614d716156d9565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080614da457614da4615e24565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506113a1565b60009150506113a1565b60006113a1600a83614f20565b6000818152600d602052604081205415614e1f57506000818152600d60205260409020546113a1565b6120fa83614836565b600881901c60008181526020849052604081205490919060ff808516919082181c8015614e6a57614e5881614f42565b60ff168203600884901b179350614f17565b60008311614ed75760405162461bcd60e51b815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527334b73232bc103237b2b9b713ba1032bc34b9ba1760611b60648201526084016114f3565b506000199091016000818152602086905260409020549091908015614f1257614eff81614f42565b60ff0360ff16600884901b179350614f17565b614e6a565b50505092915050565b6001600160a01b038116600090815260018301602052604081205415156120fa565b60006040518061012001604052806101008152602001615e9b610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff614f8b85614fac565b02901c81518110614f9e57614f9e6156d9565b016020015160f81c92915050565b6000808211614fba57600080fd5b5060008190031690565b6020808252825182820181905260009190848201906040850190845b818110156150055783516001600160a01b031683529284019291840191600101614fe0565b50909695505050505050565b6001600160e01b0319811681146113ce57600080fd5b60006020828403121561503957600080fd5b81356120fa81615011565b6001600160a01b03811681146113ce57600080fd5b60006020828403121561506b57600080fd5b81356120fa81615044565b60006020828403121561508857600080fd5b5035919050565b600080604083850312156150a257600080fd5b82356150ad81615044565b915060208301356001600160601b03811681146150c957600080fd5b809150509250929050565b60005b838110156150ef5781810151838201526020016150d7565b50506000910152565b600081518084526151108160208601602086016150d4565b601f01601f19169290920160200192915050565b6020815260006120fa60208301846150f8565b6001600160a01b0391909116815260200190565b6000806040838503121561515e57600080fd5b823561516981615044565b946020939093013593505050565b60008060006060848603121561518c57600080fd5b833561519781615044565b925060208401356151a781615044565b929592945050506040919091013590565b600080604083850312156151cb57600080fd5b50508035926020909101359150565b80151581146113ce57600080fd5b6000602082840312156151fa57600080fd5b81356120fa816151da565b6020808252825182820181905260009190848201906040850190845b8181101561500557835183529284019291840191600101615221565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561527b5761527b61523d565b604052919050565b60006001600160401b0383111561529c5761529c61523d565b6152af601f8401601f1916602001615253565b90508281528383830111156152c357600080fd5b828260208301376000602084830101529392505050565b6000602082840312156152ec57600080fd5b81356001600160401b0381111561530257600080fd5b8201601f8101841361531357600080fd5b61369d84823560208401615283565b60008083601f84011261533457600080fd5b5081356001600160401b0381111561534b57600080fd5b6020830191508360208285010111156118c757600080fd5b60008060006040848603121561537857600080fd5b83356001600160401b0381111561538e57600080fd5b61539a86828701615322565b909790965060209590950135949350505050565b600082601f8301126153bf57600080fd5b813560206001600160401b038211156153da576153da61523d565b8160051b6153e9828201615253565b928352848101820192828101908785111561540357600080fd5b83870192505b8483101561542257823582529183019190830190615409565b979650505050505050565b6000806040838503121561544057600080fd5b8235915060208301356001600160401b0381111561545d57600080fd5b615469858286016153ae565b9150509250929050565b6000806040838503121561548657600080fd5b8235915060208301356150c981615044565b600080604083850312156154ab57600080fd5b82356154b681615044565b915060208301356150c9816151da565b600080600080608085870312156154dc57600080fd5b84356154e781615044565b935060208501356154f781615044565b92506040850135915060608501356001600160401b0381111561551957600080fd5b8501601f8101871361552a57600080fd5b61553987823560208401615283565b91505092959194509250565b60008060006060848603121561555a57600080fd5b833592506020840135915060408401356001600160401b0381111561557e57600080fd5b61558a868287016153ae565b9150509250925092565b6000806000606084860312156155a957600080fd5b83356155b481615044565b92506020840135915060408401356001600160401b0381111561557e57600080fd5b600080602083850312156155e957600080fd5b82356001600160401b038111156155ff57600080fd5b61560b85828601615322565b90969095509350505050565b6000806040838503121561562a57600080fd5b823561563581615044565b915060208301356150c981615044565b600181811c9082168061565957607f821691505b602082108103613a3157634e487b7160e01b600052602260045260246000fd5b6001600160a01b0392831681529116602082015260400190565b6000602082840312156156a557600080fd5b81516120fa816151da565b634e487b7160e01b600052601160045260246000fd5b818103818111156113a1576113a16156b0565b634e487b7160e01b600052603260045260246000fd5b808201808211156113a1576113a16156b0565b80820281158282048414176113a1576113a16156b0565b634e487b7160e01b600052601260045260246000fd5b60008261573e5761573e615719565b500490565b602080825260189082015277115512081d985b1d59481a5cc81b9bdd0818dbdc9c9958dd60421b604082015260600190565b6020808252600c908201526b4e6f206d6f7265204e46547360a01b604082015260600190565b6000600182016157ad576157ad6156b0565b5060010190565b60208082526010908201526f34b9b73a1037bbb732b9103a37b5b2b760811b604082015260600190565b6000602082840312156157f057600080fd5b81516120fa81615044565b601f8211156115db57600081815260208120601f850160051c810160208610156158225750805b601f850160051c820191505b8181101561435a5782815560010161582e565b81516001600160401b0381111561585a5761585a61523d565b61586e816158688454615645565b846157fb565b602080601f8311600181146158a3576000841561588b5750858301515b600019600386901b1c1916600185901b17855561435a565b600085815260208120601f198616915b828110156158d2578886015182559484019460019091019084016158b3565b50858210156158f05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252601990820152782637bbb2b9103a3430b7102fb1bab93932b73a24b73232bc1760391b604082015260600190565b6020808252601f908201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604082015260600190565b602080825260189082015277596f7520617265206e6f742077686974656c69737465642160401b604082015260600190565b6020808252601e908201527f596f752068617665206e6f2077686974656c6973744d696e74206c6566740000604082015260600190565b600081546159e081615645565b600182811680156159f85760018114615a0d57615a3c565b60ff1984168752821515830287019450615a3c565b8560005260208060002060005b85811015615a335781548a820152908401908201615a1a565b50505082870194505b5050505092915050565b60008551615a58818460208a016150d4565b855190830190615a6c818360208a016150d4565b602f60f81b91019081528451615a898160018401602089016150d4565b615a98600182840101866159d3565b98975050505050505050565b60008451615ab68184602089016150d4565b845190830190615aca8183602089016150d4565b615422818301866159d3565b600081615ae557615ae56156b0565b506000190190565b67030b1b1b7bab73a160c51b815260008251615b108160088501602087016150d4565b721034b9903737ba1030b71037b832b930ba37b960691b6008939091019283015250601b01919050565b60208082526034908201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f6040820152731d081bdddb995c881b9bdc88185c1c1c9bdd995960621b606082015260800190565b67030b1b1b7bab73a160c51b815260008251615bb18160088501602087016150d4565b7f20697320616c72656164792068617320616e206f70657261746f7220726f6c656008939091019283015250602801919050565b6000815260008251615bfe8160018501602087016150d4565b9190910160010192915050565b818103600083128015838313168383128216171561227f5761227f6156b0565b600082615c3a57615c3a615719565b600160ff1b821460001984141615615c5457615c546156b0565b500590565b7f7b2273656c6c65725f6665655f62617369735f706f696e7473223a0000000000815260008351615c9181601b8501602088016150d4565b721610113332b2afb932b1b4b834b2b73a111d1160691b601b918401918201528351615cc481602e8401602088016150d4565b61227d60f01b602e9290910191820152603001949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251615d1781601d8501602087016150d4565b91909101601d0192915050565b60208082526035908201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527418a932b1b2b4bb32b91034b6b83632b6b2b73a32b960591b606082015260800190565b606360f81b815260e083901b6001600160e01b03191660018201526880600e6000396000f360b81b60058201528151600090615dbc81600e8501602087016150d4565b91909101600e019392505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090615dfd908301846150f8565b9695505050505050565b600060208284031215615e1957600080fd5b81516120fa81615011565b634e487b7160e01b600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a26469706673582212203d061d89e59dff1e2fc61b06eda80aac5089f5e83a7499259c8a3e4b38120f3264736f6c63430008110033

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

000000000000000000000000637d25d0769f747b2742a04d249802da8539597000000000000000000000000000000000000000000000000000000000000001f4

-----Decoded View---------------
Arg [0] : _royaltyReceiver (address): 0x637d25D0769f747B2742A04d249802dA85395970
Arg [1] : _royaltyFraction (uint96): 500

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000637d25d0769f747b2742a04d249802da85395970
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001f4


Deployed Bytecode Sourcemap

140419:20509:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;157421:181;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;143182:179;;;;;;;;;;-1:-1:-1;143182:179:0;;;;;:::i;:::-;;:::i;:::-;;;1228:14:1;;1221:22;1203:41;;1191:2;1176:18;143182:179:0;1063:187:1;157718:105:0;;;;;;;;;;-1:-1:-1;157718:105:0;;;;;:::i;:::-;;:::i;:::-;;144999:111;;;;;;;;;;-1:-1:-1;144999:111:0;;;;;:::i;:::-;;:::i;143004:157::-;;;;;;;;;;-1:-1:-1;143004:157:0;;;;;:::i;:::-;;:::i;100075:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;134590:33::-;;;;;;;;;;-1:-1:-1;134590:33:0;;;;;;;;101630:311;;;;;;;;;;-1:-1:-1;101630:311:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;141135:23::-;;;;;;;;;;;;;;;;;;;3378:25:1;;;3366:2;3351:18;141135:23:0;3232:177:1;156068:157:0;;;;;;;;;;-1:-1:-1;156068:157:0;;;;;:::i;:::-;;:::i;147778:103::-;;;;;;;;;;;;;:::i;157610:100::-;;;;;;;;;;-1:-1:-1;157610:100:0;;;;;:::i;:::-;;:::i;158511:151::-;;;;;;;;;;-1:-1:-1;158511:151:0;;;;;:::i;:::-;;:::i;115205:122::-;;;;;;;;;;;;;:::i;141333:27::-;;;;;;;;;;-1:-1:-1;141333:27:0;;;;;;;;140756:32;;;;;;;;;;;;;;;;140703:48;;;;;;;;;;-1:-1:-1;140703:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;146048:126;;;;;;;;;;-1:-1:-1;146048:126:0;;;;;:::i;:::-;146147:10;;146115:7;146137:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;146137:31:0;;;;;;;;;;;146048:126;134728:49;;;;;;;;;;-1:-1:-1;134728:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;156233:163;;;;;;;;;;-1:-1:-1;156233:163:0;;;;;:::i;:::-;;:::i;147330:118::-;;;;;;;;;;-1:-1:-1;147330:118:0;;;;;:::i;:::-;;:::i;141277:38::-;;;;;;;;;;;;;:::i;144750:130::-;;;;;;;;;;-1:-1:-1;144750:130:0;;;;;:::i;:::-;;:::i;157881:115::-;;;;;;;;;;-1:-1:-1;157881:115:0;;;;;:::i;:::-;;:::i;92989:442::-;;;;;;;;;;-1:-1:-1;92989:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;5048:32:1;;;5030:51;;5112:2;5097:18;;5090:34;;;;5003:18;92989:442:0;4856:274:1;140568:40:0;;;;;;;;;;;;;;;;153698:650;;;;;;:::i;:::-;;:::i;140793:34::-;;;;;;;;;;;;;;;;145114:111;;;;;;;;;;-1:-1:-1;145114:111:0;;;;;:::i;:::-;;:::i;134144:34::-;;;;;;;;;;-1:-1:-1;134144:34:0;;;;-1:-1:-1;;;;;134144:34:0;;;153264:412;;;:::i;141934:21::-;;;;;;;;;;;;;;;;159182:861;;;;;;;;;;-1:-1:-1;159182:861:0;;;;;:::i;:::-;;:::i;141397:31::-;;;;;;;;;;-1:-1:-1;141397:31:0;;;;;;;;;;;129245:143;;;;;;;;;;;;129345:42;129245:143;;140658:40;;;;;;;;;;;;;;;;156404:171;;;;;;;;;;-1:-1:-1;156404:171:0;;;;;:::i;:::-;;:::i;154368:201::-;;;;;;;;;;-1:-1:-1;154368:201:0;;;;;:::i;:::-;;:::i;154596:98::-;;;;;;;;;;-1:-1:-1;154596:98:0;;;;;:::i;:::-;;:::i;154737:481::-;;;;;;;;;;-1:-1:-1;154737:481:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;140613:40::-;;;;;;;;;;;;;;;;140908:29;;;;;;;;;;;;;;;;134808:27;;;;;;;;;;;;;;;;140942:29;;;;;;;;;;;;;;;;147941:103;;;;;;;;;;-1:-1:-1;147941:103:0;;;;;:::i;:::-;;:::i;158335:170::-;;;;;;;;;;-1:-1:-1;158335:170:0;;;;;:::i;:::-;;:::i;123813:22::-;;;;;;;;;;;;;;;;160051:393;;;;;;;;;;-1:-1:-1;160051:393:0;;;;;:::i;:::-;;:::i;125327:113::-;;;;;;;;;;-1:-1:-1;125327:113:0;;;;;:::i;:::-;-1:-1:-1;;;;;125411:21:0;125387:4;125411:21;;;:10;:21;;;;;;;;;125327:113;144131:179;;;;;;;;;;-1:-1:-1;144131:179:0;;;;;:::i;:::-;;:::i;147452:156::-;;;;;;;;;;-1:-1:-1;147452:156:0;;;;;:::i;:::-;;:::i;149478:225::-;;;;;;;;;;-1:-1:-1;149478:225:0;;;;;:::i;:::-;;:::i;98920:490::-;;;;;;;;;;-1:-1:-1;98920:490:0;;;;;:::i;:::-;;:::i;117876:103::-;;;;;;;;;;;;;:::i;141095:23::-;;;;;;;;;;;;;;;;157232:181;;;;;;;;;;-1:-1:-1;157232:181:0;;;;;:::i;:::-;;:::i;148427:255::-;;;;;;;;;;-1:-1:-1;148427:255:0;;;;;:::i;:::-;;:::i;149726:92::-;;;;;;;;;;-1:-1:-1;149726:92:0;;;;;:::i;:::-;;:::i;147059:110::-;;;;;;;;;;-1:-1:-1;147059:110:0;;;;;:::i;:::-;;:::i;145918:126::-;;;;;;;;;;-1:-1:-1;145918:126:0;;;;;:::i;:::-;146017:10;;145985:7;146007:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;146007:31:0;;;;;;;;;;;145918:126;152252:789;;;;;;:::i;:::-;;:::i;137616:176::-;;;;;;;;;;-1:-1:-1;137616:176:0;;;;;:::i;:::-;;:::i;141066:24::-;;;;;;;;;;;;;;;;146779:100;;;;;;;;;;-1:-1:-1;146779:100:0;;;;;:::i;:::-;;:::i;155281:243::-;;;;;;;;;;-1:-1:-1;155281:243:0;;;;;:::i;:::-;;:::i;140976:25::-;;;;;;;;;;;;;;;;111613:601;;;;;;;;;;-1:-1:-1;111613:601:0;;;;;:::i;:::-;;:::i;149078:369::-;;;;;;;;;;-1:-1:-1;149078:369:0;;;;;:::i;:::-;;:::i;117228:87::-;;;;;;;;;;-1:-1:-1;117274:7:0;117301:6;-1:-1:-1;;;;;117301:6:0;117228:87;;145261:103;;;;;;;;;;-1:-1:-1;145261:103:0;;;;;:::i;:::-;;:::i;146178:149::-;;;;;;;;;;-1:-1:-1;146178:149:0;;;;;:::i;:::-;146267:7;146289:22;;;:9;:22;;;;;;;;-1:-1:-1;;;;;146289:32:0;;;;;;;;;;;;;146178:149;144314:174;;;;;;;;;;-1:-1:-1;144314:174:0;;;;;:::i;:::-;;:::i;146331:126::-;;;;;;;;;;-1:-1:-1;146331:126:0;;;;;:::i;:::-;146430:10;;146398:7;146420:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;146420:31:0;;;;;;;;;;;146331:126;100244:104;;;;;;;;;;;;;:::i;148321:100::-;;;;;;;;;;-1:-1:-1;148321:100:0;;;;;:::i;:::-;;:::i;153073:127::-;;;:::i;155884:176::-;;;;;;;;;;-1:-1:-1;155884:176:0;;;;;:::i;:::-;;:::i;147192:111::-;;;;;;;;;;-1:-1:-1;147192:111:0;;;;;:::i;:::-;;:::i;137800:135::-;;;;;;;;;;-1:-1:-1;137800:135:0;;;;;:::i;:::-;137908:10;137893:26;;;;:14;:26;;;;;:34;137800:135;158055:117;;;;;;;;;;-1:-1:-1;158055:117:0;;;;;:::i;:::-;;:::i;134651:48::-;;;;;;;;;;-1:-1:-1;134651:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;146502:106;;;;;;;;;;-1:-1:-1;146594:7:0;;146558;146580:22;;;:13;:22;;;;;;146502:106;;155754:122;;;;;;;;;;-1:-1:-1;155754:122:0;;;;;:::i;:::-;;:::i;156583:228::-;;;;;;;;;;-1:-1:-1;156583:228:0;;;;;:::i;:::-;;:::i;146632:127::-;;;;;;;;;;-1:-1:-1;146632:127:0;;;;;:::i;:::-;;:::i;147647:101::-;;;;;;;;;;-1:-1:-1;147647:101:0;;;;;:::i;:::-;;:::i;145382:103::-;;;;;;;;;;-1:-1:-1;145382:103:0;;;;;:::i;:::-;;:::i;141365:27::-;;;;;;;;;;-1:-1:-1;141365:27:0;;;;;;;;;;;146926:110;;;;;;;;;;-1:-1:-1;146926:110:0;;;;;:::i;:::-;;:::i;151493:735::-;;;;;;:::i;:::-;;:::i;145638:107::-;;;;;;;;;;-1:-1:-1;145638:107:0;;;;;:::i;:::-;;:::i;150422:786::-;;;;;;;;;;-1:-1:-1;150422:786:0;;;;;:::i;:::-;;:::i;124679:434::-;;;;;;;;;;-1:-1:-1;124679:434:0;;;;;:::i;:::-;;:::i;144513:88::-;;;;;;;;;;-1:-1:-1;144588:7:0;;144513:88;;140871:32;;;;;;;;;;;;;;;;141006:25;;;;;;;;;;;;;;;;145503:103;;;;;;;;;;-1:-1:-1;145503:103:0;;;;;:::i;:::-;;:::i;158178:151::-;;;;;;;;;;-1:-1:-1;158178:151:0;;;;;:::i;:::-;;:::i;148050:131::-;;;;;;;;;;-1:-1:-1;148050:131:0;;;;;:::i;:::-;;:::i;141036:25::-;;;;;;;;;;;;;;;;144884:111;;;;;;;;;;-1:-1:-1;144884:111:0;;;;;:::i;:::-;;:::i;143390:113::-;;;;;;;;;;;;;:::i;138127:309::-;;;;;;;;;;-1:-1:-1;138127:309:0;;;;;:::i;:::-;;:::i;140832:34::-;;;;;;;;;;;;;;;;118134:201;;;;;;;;;;-1:-1:-1;118134:201:0;;;;;:::i;:::-;;:::i;123960:433::-;;;;;;;;;;-1:-1:-1;123960:433:0;;;;;:::i;:::-;;:::i;129193:43::-;;;;;;;;;;-1:-1:-1;129193:43:0;;;;;;;;144626:99;;;;;;;;;;-1:-1:-1;144626:99:0;;;;;:::i;:::-;;:::i;151271:202::-;;;;;;;;;;-1:-1:-1;151271:202:0;;;;;:::i;:::-;;:::i;149841:90::-;;;;;;;;;;-1:-1:-1;149841:90:0;;;;;:::i;:::-;;:::i;157049:175::-;;;;;;;;;;-1:-1:-1;157049:175:0;;;;;:::i;:::-;;:::i;157421:181::-;157525:16;157566:28;:26;:28::i;:::-;157559:35;;157421:181;:::o;143182:179::-;143299:4;143319:36;143343:11;143319:23;:36::i;:::-;143312:43;143182:179;-1:-1:-1;;143182:179:0:o;157718:105::-;125269:32;96245:10;125269:18;:32::i;:::-;137445:3;:35;;-1:-1:-1;;;;;;137445:35:0;-1:-1:-1;;;;;137445:35:0;;;;;157718:105;:::o;157796:19::-:1;157718:105:::0;:::o;144999:111::-;125269:32;96245:10;125269:18;:32::i;:::-;145080:10:::1;:24:::0;144999:111::o;143004:157::-;125269:32;96245:10;125269:18;:32::i;:::-;143111:44:::1;143130:9;143141:13;143111:18;:44::i;:::-;143004:157:::0;;:::o;100075:100::-;100129:13;100162:5;100155:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100075:100;:::o;101630:311::-;101751:7;101798:16;101806:7;101798;:16::i;:::-;101776:113;;;;-1:-1:-1;;;101776:113:0;;14072:2:1;101776:113:0;;;14054:21:1;14111:2;14091:18;;;14084:30;14150:34;14130:18;;;14123:62;-1:-1:-1;;;14201:18:1;;;14194:45;14256:19;;101776:113:0;;;;;;;;;-1:-1:-1;101909:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;101909:24:0;;101630:311::o;156068:157::-;156164:8;129345:42;131267:45;:49;;;;:77;;-1:-1:-1;131320:24:0;;;;131267:77;131263:253;;;131366:67;;-1:-1:-1;;;131366:67:0;;129345:42;;131366;;:67;;131417:4;;131424:8;;131366:67;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;131361:144;;131480:8;131461:28;;-1:-1:-1;;;131461:28:0;;;;;;;;:::i;131361:144::-;156185:32:::1;156199:8;156209:7;156185:13;:32::i;:::-;156068:157:::0;;;:::o;147778:103::-;147836:7;147874:1;147858:14;98187:13;;;98105:103;147858:14;:17;;;;:::i;157610:100::-;125269:32;96245:10;125269:18;:32::i;:::-;157686:8:::1;:16:::0;157610:100::o;158511:151::-;158585:12;125269:32;96245:10;125269:18;:32::i;:::-;158617:37:::1;158630:7;158638:4;158630:13;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;-1:-1:-1;;;;;158630:13:0::1;::::0;158646:7:::1;158617:12;:37::i;125312:1::-;158511:151:::0;;;:::o;115205:122::-;115266:7;115310:9;:7;:9::i;:::-;115293:14;:12;:14::i;156233:163::-;156334:4;129345:42;130493:45;:49;;;;:77;;-1:-1:-1;130546:24:0;;;;130493:77;130489:567;;;130810:10;-1:-1:-1;;;;;130802:18:0;;;130798:85;;156351:37:::1;156370:4;156376:2;156380:7;156351:18;:37::i;:::-;130861:7:::0;;130798:85;130902:69;;-1:-1:-1;;;130902:69:0;;129345:42;;130902;;:69;;130953:4;;130960:10;;130902:69;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;130897:148;;131018:10;130999:30;;-1:-1:-1;;;130999:30:0;;;;;;;;:::i;130897:148::-;156351:37:::1;156370:4;156376:2;156380:7;156351:18;:37::i;:::-;156233:163:::0;;;;:::o;147330:118::-;125269:32;96245:10;125269:18;:32::i;:::-;147413:29:::1;147430:11;123919:13:::0;:27;123844:110;141277:38;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;144750:130::-;125269:32;96245:10;125269:18;:32::i;:::-;144844:8:::1;144834:7;:18;;;;144873:1;144859:10;;:15;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;144750:130:0:o;157881:115::-;117114:13;:11;:13::i;:::-;157958:30:::1;157977:10;157958:18;:30::i;92989:442::-:0;93086:7;93144:27;;;:17;:27;;;;;;;;93115:56;;;;;;;;;-1:-1:-1;;;;;93115:56:0;;;;;-1:-1:-1;;;93115:56:0;;;-1:-1:-1;;;;;93115:56:0;;;;;;;;93086:7;;93184:92;;-1:-1:-1;93235:29:0;;;;;;;;;93245:19;93235:29;-1:-1:-1;;;;;93235:29:0;;;;-1:-1:-1;;;93235:29:0;;-1:-1:-1;;;;;93235:29:0;;;;;93184:92;93326:23;;;;93288:21;;93797:5;;93313:36;;-1:-1:-1;;;;;93313:36:0;:10;:36;:::i;:::-;93312:58;;;;:::i;:::-;93391:16;;;-1:-1:-1;93288:82:0;;-1:-1:-1;;92989:442:0;;;;;;:::o;153698:650::-;81971:21;:19;:21::i;:::-;153788:19:::1;::::0;;;::::1;;;153780:52;;;::::0;-1:-1:-1;;;153780:52:0;;16004:2:1;153780:52:0::1;::::0;::::1;15986:21:1::0;16043:2;16023:18;;;16016:30;-1:-1:-1;;;16062:18:1;;;16055:50;16122:18;;153780:52:0::1;15802:344:1::0;153780:52:0::1;153866:7;153847:15;;:26;;153839:78;;;::::0;-1:-1:-1;;;153839:78:0;;16353:2:1;153839:78:0::1;::::0;::::1;16335:21:1::0;16392:2;16372:18;;;16365:30;16431:34;16411:18;;;16404:62;-1:-1:-1;;;16482:18:1;;;16475:37;16529:19;;153839:78:0::1;16151:403:1::0;153839:78:0::1;153949:7;153932:13;;:24;;153924:74;;;::::0;-1:-1:-1;;;153924:74:0;;16761:2:1;153924:74:0::1;::::0;::::1;16743:21:1::0;16800:2;16780:18;;;16773:30;16839:34;16819:18;;;16812:62;-1:-1:-1;;;16890:18:1;;;16883:35;16935:19;;153924:74:0::1;16559:401:1::0;153924:74:0::1;154040:10;::::0;154030:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;154052:10:::1;154030:33:::0;;;;;;;;:43:::1;::::0;154066:7;;154030:43:::1;:::i;:::-;154013:13;;:60;;154005:100;;;::::0;-1:-1:-1;;;154005:100:0;;17167:2:1;154005:100:0::1;::::0;::::1;17149:21:1::0;17206:2;17186:18;;;17179:30;17245:29;17225:18;;;17218:57;17292:18;;154005:100:0::1;16965:351:1::0;154005:100:0::1;154147:7;154133:11;;:21;;;;:::i;:::-;154120:9;:34;154112:71;;;;-1:-1:-1::0;;;154112:71:0::1;;;;;;;:::i;:::-;154228:8;;154209:13;:11;:13::i;:::-;154199:23;::::0;:7;:23:::1;:::i;:::-;154198:39;;154190:64;;;;-1:-1:-1::0;;;154190:64:0::1;;;;;;;:::i;:::-;154271:10;::::0;154261:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;154283:10:::1;154261:33:::0;;;;;;;:44;;154298:7;;154261:21;:44:::1;::::0;154298:7;;154261:44:::1;:::i;:::-;::::0;;;-1:-1:-1;154312:30:0::1;::::0;-1:-1:-1;154322:10:0::1;154334:7:::0;154312:9:::1;:30::i;:::-;82015:20:::0;81409:1;82535:7;:22;82352:213;145114:111;125269:32;96245:10;125269:18;:32::i;:::-;145195:10:::1;:24:::0;145114:111::o;153264:412::-;125269:32;96245:10;125269:18;:32::i;:::-;81971:21:::1;:19;:21::i;:::-;153408:15:::2;::::0;153363:21:::2;::::0;153341:19:::2;::::0;-1:-1:-1;;;;;153408:15:0::2;:29:::0;153405:220:::2;;153491:15;::::0;153483:55:::2;::::0;-1:-1:-1;;;;;153491:15:0;;::::2;::::0;153521:11;;153483:55:::2;::::0;;;153521:11;153491:15;153483:55:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;153474:64;;;;;153405:220;;;117274:7:::0;117301:6;-1:-1:-1;;;;;117301:6:0;-1:-1:-1;;;;;153570:21:0::2;153600:11;153570:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;153561:56:0;;-1:-1:-1;;153405:220:0::2;153639:2;153631:39;;;::::0;-1:-1:-1;;;153631:39:0;;18427:2:1;153631:39:0::2;::::0;::::2;18409:21:1::0;18466:2;18446:18;;;18439:30;-1:-1:-1;;;18485:18:1;;;18478:54;18549:18;;153631:39:0::2;18225:348:1::0;153631:39:0::2;153334:342;;82015:20:::1;81409:1:::0;82535:7;:22;82352:213;82015:20:::1;153264:412::o:0;159182:861::-;125269:32;96245:10;125269:18;:32::i;:::-;159263:19:::1;159285:14;98187:13:::0;;;98105:103;159285:14:::1;159263:36;;159339:1;159328:8;:12;159320:69;;;::::0;-1:-1:-1;;;159320:69:0;;18780:2:1;159320:69:0::1;::::0;::::1;18762:21:1::0;18819:2;18799:18;;;18792:30;18858:34;18838:18;;;18831:62;-1:-1:-1;;;18909:18:1;;;18902:42;18961:19;;159320:69:0::1;18578:408:1::0;159320:69:0::1;159501:8;159474:23;;:35;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;159559:37:0::1;::::0;-1:-1:-1;159559:20:0::1;159584:11:::0;159559:24:::1;:37::i;:::-;159724:11:::0;159704:331:::1;159747:22;159761:8:::0;159747:11;:22:::1;:::i;:::-;159737:7;:32;159704:331;;;160015:7;159987:26;160005:7;159987:17;:26::i;:::-;-1:-1:-1::0;;;;;159966:57:0::1;159983:1;-1:-1:-1::0;;;;;159966:57:0::1;-1:-1:-1::0;;;;;;;;;;;159966:57:0::1;;;;;;;;;159771:9:::0;::::1;::::0;::::1;:::i;:::-;;;;159704:331;;156404:171:::0;156509:4;129345:42;130493:45;:49;;;;:77;;-1:-1:-1;130546:24:0;;;;130493:77;130489:567;;;130810:10;-1:-1:-1;;;;;130802:18:0;;;130798:85;;156526:41:::1;156549:4;156555:2;156559:7;156526:22;:41::i;130798:85::-:0;130902:69;;-1:-1:-1;;;130902:69:0;;129345:42;;130902;;:69;;130953:4;;130960:10;;130902:69;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;130897:148;;131018:10;130999:30;;-1:-1:-1;;;130999:30:0;;;;;;;;:::i;130897:148::-;156526:41:::1;156549:4;156555:2;156559:7;156526:22;:41::i;154368:201::-:0;154455:10;154435:16;154443:7;154435;:16::i;:::-;-1:-1:-1;;;;;154435:30:0;;154427:59;;;;-1:-1:-1;;;154427:59:0;;;;;;;:::i;:::-;154505:8;;;;;;;:17;154497:39;;;;-1:-1:-1;;;154497:39:0;;19678:2:1;154497:39:0;;;19660:21:1;19717:1;19697:18;;;19690:29;-1:-1:-1;;;19735:18:1;;;19728:39;19784:18;;154497:39:0;19476:332:1;154497:39:0;154547:14;154553:7;154547:5;:14::i;154596:98::-;125269:32;96245:10;125269:18;:32::i;:::-;154670:8:::1;:16:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;154670:16:0;;::::1;::::0;;;::::1;::::0;;154596:98::o;154737:481::-;154809:16;154834:23;154860:19;154870:8;154860:9;:19::i;:::-;154834:45;;154886:25;154928:15;-1:-1:-1;;;;;154914:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;154914:30:0;-1:-1:-1;154886:58:0;-1:-1:-1;155020:18:0;142937:1;155049:142;155104:1;155088:14;98187:13;;;98105:103;155088:14;:17;;;;:::i;:::-;155083:1;:23;155049:142;;;155137:18;;-1:-1:-1;;;155137:18:0;;;;;3378:25:1;;;155137:4:0;;:15;;3351:18:1;;155137::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;155125:30:0;:8;-1:-1:-1;;;;;155125:30:0;;155122:61;;155182:1;155157:8;155166:12;;;;:::i;:::-;;;155157:22;;;;;;;;:::i;:::-;;;;;;:26;;;;;155122:61;155108:3;;;;:::i;:::-;;;;155049:142;;;-1:-1:-1;155204:8:0;;154737:481;-1:-1:-1;;;;154737:481:0:o;147941:103::-;125269:32;96245:10;125269:18;:32::i;:::-;148018:13:::1;:20;148034:4:::0;148018:13;:20:::1;:::i;158335:170::-:0;125269:32;96245:10;125269:18;:32::i;:::-;158442:21:::1;158456:6;;158442:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;158442:13:0::1;::::0;-1:-1:-1;;;158442:21:0:i:1;:::-;158428:7;158436:4;158428:13;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;:35:::0;;-1:-1:-1;;;;;;158428:35:0::1;-1:-1:-1::0;;;;;158428:35:0;;;::::1;::::0;;;::::1;::::0;;158481:7:::1;:14:::0;:16:::1;::::0;-1:-1:-1;;158481:16:0::1;:::i;:::-;158474:6;:23:::0;-1:-1:-1;;;158335:170:0:o;160051:393::-;160168:7;160220:18;;;:9;:18;;;;;;160168:7;;160220:23;:71;;;;-1:-1:-1;160248:43:0;:30;160283:7;160248:34;:43::i;:::-;160247:44;160220:71;160217:197;;;160315:26;160333:7;160315:17;:26::i;:::-;160307:34;;160217:197;;;160380:22;160394:7;160380:13;:22::i;:::-;160372:30;160431:5;-1:-1:-1;;;160051:393:0:o;144131:179::-;125269:32;96245:10;125269:18;:32::i;:::-;144235:10:::1;144218:13;:11;:13::i;:::-;:27;;144210:65;;;;-1:-1:-1::0;;;144210:65:0::1;;;;;;;:::i;:::-;144282:9;:22:::0;144131:179::o;147452:156::-;125269:32;96245:10;125269:18;:32::i;:::-;124499:23;;;;:13;:23;;;;;;:37;143004:157::o;149478:225::-;149548:17;149556:8;149548:7;:17::i;:::-;149540:61;;;;-1:-1:-1;;;149540:61:0;;;;;;;:::i;:::-;149637:10;149616:17;149624:8;149616:7;:17::i;:::-;-1:-1:-1;;;;;149616:31:0;;149608:60;;;;-1:-1:-1;;;149608:60:0;;;;;;;:::i;:::-;149696:1;149675:18;;;:8;:18;;;;;:22;149478:225::o;98920:490::-;99042:4;-1:-1:-1;;;;;99073:19:0;;99065:77;;;;-1:-1:-1;;;99065:77:0;;23189:2:1;99065:77:0;;;23171:21:1;23228:2;23208:18;;;23201:30;23267:34;23247:18;;;23240:62;-1:-1:-1;;;23318:18:1;;;23311:43;23371:19;;99065:77:0;22987:409:1;99065:77:0;99155:10;142937:1;99176:204;98187:13;;99207:1;:18;99176:204;;;99250:10;99258:1;99250:7;:10::i;:::-;99247:122;;;99293:10;99301:1;99293:7;:10::i;:::-;-1:-1:-1;;;;;99284:19:0;:5;-1:-1:-1;;;;;99284:19:0;;99280:74;;99327:7;;;:::i;:::-;;;99280:74;99227:3;;;:::i;:::-;;;99176:204;;;-1:-1:-1;99397:5:0;98920:490;-1:-1:-1;;98920:490:0:o;117876:103::-;117114:13;:11;:13::i;:::-;117941:30:::1;117968:1;117941:18;:30::i;157232:181::-:0;125269:32;96245:10;125269:18;:32::i;:::-;157364:41:::1;157394:10;157364:29;:41::i;148427:255::-:0;148498:7;148522:17;148530:8;148522:7;:17::i;:::-;148514:61;;;;-1:-1:-1;;;148514:61:0;;;;;;;:::i;:::-;148585:19;;;;:9;:19;;;;;;:24;;148582:62;;-1:-1:-1;;148628:8:0;;;148427:255::o;148582:62::-;-1:-1:-1;148657:19:0;;;;:9;:19;;;;;;;148427:255::o;149726:92::-;117114:13;:11;:13::i;:::-;149796:9:::1;:16:::0;149726:92::o;147059:110::-;125269:32;96245:10;125269:18;:32::i;:::-;147140:15:::1;:23:::0;;;::::1;;;;-1:-1:-1::0;;147140:23:0;;::::1;::::0;;;::::1;::::0;;147059:110::o;152252:789::-;81971:21;:19;:21::i;:::-;152370:15:::1;::::0;::::1;::::0;::::1;;;152362:51;;;::::0;-1:-1:-1;;;152362:51:0;;23603:2:1;152362:51:0::1;::::0;::::1;23585:21:1::0;23642:2;23622:18;;;23615:30;-1:-1:-1;;;23661:18:1;;;23654:53;23724:18;;152362:51:0::1;23401:347:1::0;152362:51:0::1;152428:41;152442:10;152453:7;;152462:6;152428:13;:41::i;:::-;152420:78;;;;-1:-1:-1::0;;;152420:78:0::1;;;;;;;:::i;:::-;152532:7;152513:15;;:26;;152505:81;;;::::0;-1:-1:-1;;;152505:81:0;;24308:2:1;152505:81:0::1;::::0;::::1;24290:21:1::0;24347:2;24327:18;;;24320:30;24386:34;24366:18;;;24359:62;-1:-1:-1;;;24437:18:1;;;24430:40;24487:19;;152505:81:0::1;24106:406:1::0;152505:81:0::1;152615:7;::::0;152601:22:::1;::::0;;;:13:::1;:22;::::0;;;;;:33;-1:-1:-1;152601:33:0::1;152593:86;;;::::0;-1:-1:-1;;;152593:86:0;;24719:2:1;152593:86:0::1;::::0;::::1;24701:21:1::0;24758:2;24738:18;;;24731:30;24797:34;24777:18;;;24770:62;-1:-1:-1;;;24848:18:1;;;24841:38;24896:19;;152593:86:0::1;24517:404:1::0;152593:86:0::1;152730:10;::::0;152720:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;152742:10:::1;152720:33:::0;;;;;;;;:43:::1;::::0;152756:7;;152720:43:::1;:::i;:::-;152708:7;::::0;152694:22:::1;::::0;;;:13:::1;:22;::::0;;;;;:69:::1;;152686:112;;;;-1:-1:-1::0;;;152686:112:0::1;;;;;;;:::i;:::-;152840:7;152826:11;;:21;;;;:::i;:::-;152813:9;:34;152805:71;;;;-1:-1:-1::0;;;152805:71:0::1;;;;;;;:::i;:::-;152921:8;;152902:13;:11;:13::i;:::-;152892:23;::::0;:7;:23:::1;:::i;:::-;152891:39;;152883:64;;;;-1:-1:-1::0;;;152883:64:0::1;;;;;;;:::i;:::-;152964:10;::::0;152954:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;152976:10:::1;152954:33:::0;;;;;;;:44;;152991:7;;152954:21;:44:::1;::::0;152991:7;;152954:44:::1;:::i;:::-;::::0;;;-1:-1:-1;153005:30:0::1;::::0;-1:-1:-1;153015:10:0::1;153027:7:::0;153005:9:::1;:30::i;:::-;82015:20:::0;81409:1;82535:7;:22;82352:213;137616:176;137729:7;134324:16;134332:7;134324;:16::i;:::-;-1:-1:-1;;;;;134310:30:0;:10;-1:-1:-1;;;;;134310:30:0;;134288:122;;;;-1:-1:-1;;;134288:122:0;;25487:2:1;134288:122:0;;;25469:21:1;25526:2;25506:18;;;25499:30;25565:34;25545:18;;;25538:62;-1:-1:-1;;;25616:18:1;;;25609:40;25666:19;;134288:122:0;25285:406:1;134288:122:0;-1:-1:-1;137754:22:0::1;::::0;;;:13:::1;:22;::::0;;;;;:30;137616:176::o;146779:100::-;125269:32;96245:10;125269:18;:32::i;:::-;146853:13:::1;:20:::0;146779:100::o;155281:243::-;155370:21;;-1:-1:-1;;;155370:21:0;;;;;3378:25:1;;;155350:7:0;;155370:4;;:12;;3351:18:1;;155370:21:0;;;;;;;;;;;;;;;;;;-1:-1:-1;155370:21:0;;;;;;;;-1:-1:-1;;155370:21:0;;;;;;;;;;;;:::i;:::-;;;155366:153;;-1:-1:-1;155486:1:0;;155281:243;-1:-1:-1;155281:243:0:o;111613:601::-;111682:16;111736:19;111770:22;111795:16;111805:5;111795:9;:16::i;:::-;111770:41;;111826:25;111868:14;-1:-1:-1;;;;;111854:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;111854:29:0;-1:-1:-1;111826:57:0;-1:-1:-1;142937:1:0;111898:265;111947:14;111932:11;:29;111898:265;;111991:10;111999:1;111991:7;:10::i;:::-;111987:161;;;112044:5;-1:-1:-1;;;;;112030:19:0;:10;112038:1;112030:7;:10::i;:::-;-1:-1:-1;;;;;112030:19:0;;112026:103;;112104:1;112078:8;112087:13;;;;;;112078:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;112026:103;111963:3;;111898:265;;;-1:-1:-1;112184:8:0;111613:601;-1:-1:-1;;;;111613:601:0:o;149078:369::-;149146:17;149154:8;149146:7;:17::i;:::-;149138:61;;;;-1:-1:-1;;;149138:61:0;;;;;;;:::i;:::-;149235:10;149214:17;149222:8;149214:7;:17::i;:::-;-1:-1:-1;;;;;149214:31:0;;149206:60;;;;-1:-1:-1;;;149206:60:0;;;;;;;:::i;:::-;149276:21;149288:8;145876;;-1:-1:-1;145864:20:0;;145775:115;149276:21;149273:169;;;149312:10;;;;;;;149309:126;;;149338:15;149356:23;149370:8;149356:13;:23::i;:::-;149394:18;;;;:8;:18;;;;;:29;-1:-1:-1;149078:369:0;:::o;145261:103::-;125269:32;96245:10;125269:18;:32::i;:::-;145336:11:::1;:22:::0;145261:103::o;144314:174::-;125269:32;96245:10;125269:18;:32::i;:::-;144416:9:::1;144399:13;:11;:13::i;:::-;:26;;144391:64;;;;-1:-1:-1::0;;;144391:64:0::1;;;;;;;:::i;:::-;144462:8;:20:::0;144314:174::o;100244:104::-;100300:13;100333:7;100326:14;;;;;:::i;148321:100::-;117114:13;:11;:13::i;:::-;148395:8:::1;:20:::0;148321:100::o;153073:127::-;81971:21;:19;:21::i;:::-;153164:1:::1;153152:9;:13;153144:50;;;;-1:-1:-1::0;;;153144:50:0::1;;;;;;;:::i;:::-;82015:20:::0;81409:1;82535:7;:22;82352:213;155884:176;155988:8;129345:42;131267:45;:49;;;;:77;;-1:-1:-1;131320:24:0;;;;131267:77;131263:253;;;131366:67;;-1:-1:-1;;;131366:67:0;;129345:42;;131366;;:67;;131417:4;;131424:8;;131366:67;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;131361:144;;131480:8;131461:28;;-1:-1:-1;;;131461:28:0;;;;;;;;:::i;131361:144::-;156009:43:::1;156033:8;156043;156009:23;:43::i;147192:111::-:0;125269:32;96245:10;125269:18;:32::i;:::-;147270:19:::1;:27:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;147270:27:0;;::::1;::::0;;;::::1;::::0;;147192:111::o;158055:117::-;117114:13;:11;:13::i;:::-;158133:31:::1;158153:10;158133:19;:31::i;155754:122::-:0;125269:32;96245:10;125269:18;:32::i;:::-;155836:24:::1;:32:::0;;-1:-1:-1;;155836:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;155754:122::o;156583:228::-;156734:4;129345:42;130493:45;:49;;;;:77;;-1:-1:-1;130546:24:0;;;;130493:77;130489:567;;;130810:10;-1:-1:-1;;;;;130802:18:0;;;130798:85;;156756:47:::1;156779:4;156785:2;156789:7;156798:4;156756:22;:47::i;:::-;130861:7:::0;;130798:85;130902:69;;-1:-1:-1;;;130902:69:0;;129345:42;;130902;;:69;;130953:4;;130960:10;;130902:69;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;130897:148;;131018:10;130999:30;;-1:-1:-1;;;130999:30:0;;;;;;;;:::i;130897:148::-;156756:47:::1;156779:4;156785:2;156789:7;156798:4;156756:22;:47::i;:::-;156583:228:::0;;;;;:::o;146632:127::-;125269:32;96245:10;125269:18;:32::i;:::-;146723:23:::1;::::0;;;:13:::1;:23;::::0;;;;;:30;146632:127::o;147647:101::-;125269:32;96245:10;125269:18;:32::i;:::-;147726:9:::1;:16;147738:4:::0;147726:9;:16:::1;:::i;145382:103::-:0;125269:32;96245:10;125269:18;:32::i;:::-;145457:11:::1;:22:::0;145382:103::o;146926:110::-;125269:32;96245:10;125269:18;:32::i;:::-;147007:15:::1;:23:::0;;-1:-1:-1;;147007:23:0::1;::::0;::::1;;::::0;;;::::1;::::0;;146926:110::o;151493:735::-;81971:21;:19;:21::i;:::-;151628:15:::1;::::0;::::1;;151620:51;;;::::0;-1:-1:-1;;;151620:51:0;;25898:2:1;151620:51:0::1;::::0;::::1;25880:21:1::0;25937:2;25917:18;;;25910:30;-1:-1:-1;;;25956:18:1;;;25949:53;26019:18;;151620:51:0::1;25696:347:1::0;151620:51:0::1;151686:42;151700:10;151712:7;151721:6;151686:13;:42::i;:::-;151678:79;;;;-1:-1:-1::0;;;151678:79:0::1;;;;;;;:::i;:::-;151782:1;151772:7;:11;151764:39;;;::::0;-1:-1:-1;;;151764:39:0;;26250:2:1;151764:39:0::1;::::0;::::1;26232:21:1::0;26289:2;26269:18;;;26262:30;-1:-1:-1;;;26308:18:1;;;26301:45;26363:18;;151764:39:0::1;26048:339:1::0;151764:39:0::1;151829:7;151818;:18;;151810:71;;;::::0;-1:-1:-1;;;151810:71:0;;26594:2:1;151810:71:0::1;::::0;::::1;26576:21:1::0;26633:2;26613:18;;;26606:30;26672:34;26652:18;;;26645:62;-1:-1:-1;;;26723:18:1;;;26716:38;26771:19;;151810:71:0::1;26392:404:1::0;151810:71:0::1;151917:10;::::0;151907:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;151929:10:::1;151907:33:::0;;;;;;;;:43:::1;::::0;151943:7;;151907:43:::1;:::i;:::-;151896:7;:54;;151888:97;;;;-1:-1:-1::0;;;151888:97:0::1;;;;;;;:::i;:::-;152027:7;152013:11;;:21;;;;:::i;:::-;152000:9;:34;151992:71;;;;-1:-1:-1::0;;;151992:71:0::1;;;;;;;:::i;:::-;152108:8;;152089:13;:11;:13::i;:::-;152079:23;::::0;:7;:23:::1;:::i;:::-;152078:39;;152070:64;;;;-1:-1:-1::0;;;152070:64:0::1;;;;;;;:::i;:::-;152151:10;::::0;152141:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;152163:10:::1;152141:33:::0;;;;;;;:44;;152178:7;;152141:21;:44:::1;::::0;152178:7;;152141:44:::1;:::i;:::-;::::0;;;-1:-1:-1;152192:30:0::1;::::0;-1:-1:-1;152202:10:0::1;152214:7:::0;152192:9:::1;:30::i;:::-;82015:20:::0;81409:1;82535:7;:22;82352:213;145638:107;125269:32;96245:10;125269:18;:32::i;:::-;145716:8:::1;:23:::0;145638:107::o;150422:786::-;150496:13;150526:17;150534:8;150526:7;:17::i;:::-;150518:61;;;;-1:-1:-1;;;150518:61:0;;;;;;;:::i;:::-;150589:21;150601:8;145876;;-1:-1:-1;145864:20:0;;145775:115;150589:21;150586:594;;;150646:1;150625:18;;;:8;:18;;;;;;:22;150622:201;;;150694:17;:15;:17::i;:::-;150738:18;;;;:8;:18;;;;;;150713:45;;:16;:45::i;:::-;150765:28;150783:8;150765:16;:28::i;:::-;150795:14;150677:133;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;150663:148;;150422:786;;;:::o;150622:201::-;150836:10;;;;;;;150833:235;;;150862:15;150880:23;150894:8;150880:13;:23::i;:::-;150862:41;;150949:17;:15;:17::i;:::-;150968:35;150993:8;150968:16;:35::i;:::-;151010:28;151028:8;151010:16;:28::i;:::-;151040:14;150932:123;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;150918:138;;;150422:786;;;:::o;150833:235::-;151109:17;:15;:17::i;:::-;151128:26;151145:8;151128:16;:26::i;:::-;151156:14;151092:79;;;;;;;;;;:::i;150586:594::-;151193:9;151186:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;150422:786;;;:::o;124679:434::-;124826:26;;-1:-1:-1;;;;;;29190:2:1;29186:15;;;29182:53;124826:26:0;;;29170:66:1;124783:4:0;;;;29252:12:1;;124826:26:0;;;;;;;;;;;;124816:37;;;;;;124800:53;;124869:9;124864:192;124888:6;:13;124884:1;:17;124864:192;;;124939:6;124946:1;124939:9;;;;;;;;:::i;:::-;;;;;;;124931:5;:17;:113;;125026:6;125033:1;125026:9;;;;;;;;:::i;:::-;;;;;;;125037:5;125009:34;;;;;;;;29432:19:1;;;29476:2;29467:12;;29460:28;29513:2;29504:12;;29275:247;125009:34:0;;;;;;;;;;;;;124999:45;;;;;;124931:113;;;124978:5;124985:6;124992:1;124985:9;;;;;;;;:::i;:::-;;;;;;;124961:34;;;;;;;;29432:19:1;;;29476:2;29467:12;;29460:28;29513:2;29504:12;;29275:247;124961:34:0;;;;;;;;;;;;;124951:45;;;;;;124931:113;124923:121;-1:-1:-1;124903:3:0;;;;:::i;:::-;;;;124864:192;;;-1:-1:-1;125082:23:0;;;;:13;:23;;;;;;125073:32;;-1:-1:-1;124679:434:0;;;;;:::o;145503:103::-;125269:32;96245:10;125269:18;:32::i;:::-;145578:11:::1;:22:::0;145503:103::o;158178:151::-;125269:32;96245:10;125269:18;:32::i;:::-;158252:7:::1;158265:21;158279:6;;158265:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;158265:13:0::1;::::0;-1:-1:-1;;;158265:21:0:i:1;:::-;158252:35:::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;158252:35:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;;;;158252:35:0::1;-1:-1:-1::0;;;;;158252:35:0;;;::::1;::::0;;;::::1;::::0;;158305:7:::1;:14:::0;:16:::1;::::0;158252:35;158305:16:::1;:::i;:::-;158298:6;:23:::0;-1:-1:-1;;158178:151:0:o;148050:131::-;125269:32;96245:10;125269:18;:32::i;:::-;148141:14:::1;:34;148158:17:::0;148141:14;:34:::1;:::i;144884:111::-:0;125269:32;96245:10;125269:18;:32::i;:::-;144965:10:::1;:24:::0;144884:111::o;143390:113::-;143444:13;143477:20;:18;:20::i;138127:309::-;138269:4;138295:27;138306:5;138313:8;138295:10;:27::i;:::-;:36;;138326:5;138295:36;138291:81;;-1:-1:-1;138355:5:0;138348:12;;138291:81;-1:-1:-1;;;;;102585:25:0;;;102556:4;102585:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;138389:39;102414:214;118134:201;117114:13;:11;:13::i;:::-;-1:-1:-1;;;;;118223:22:0;::::1;118215:73;;;::::0;-1:-1:-1;;;118215:73:0;;29729:2:1;118215:73:0::1;::::0;::::1;29711:21:1::0;29768:2;29748:18;;;29741:30;29807:34;29787:18;;;29780:62;-1:-1:-1;;;29858:18:1;;;29851:36;29904:19;;118215:73:0::1;29527:402:1::0;118215:73:0::1;118299:28;118318:8;118299:18;:28::i;123960:433::-:0;124107:35;;-1:-1:-1;;;;;;30111:2:1;30107:15;;;30103:53;124107:35:0;;;30091:66:1;30173:12;;;30166:28;;;124064:4:0;;;;30210:12:1;;124107:35:0;;;;;;;;;;;;124097:46;;;;;;124081:62;;124159:9;124154:192;124178:6;:13;124174:1;:17;124154:192;;;124229:6;124236:1;124229:9;;;;;;;;:::i;:::-;;;;;;;124221:5;:17;:113;;124316:6;124323:1;124316:9;;;;;;;;:::i;:::-;;;;;;;124327:5;124299:34;;;;;;;;29432:19:1;;;29476:2;29467:12;;29460:28;29513:2;29504:12;;29275:247;124299:34:0;;;;;;;;;;;;;124289:45;;;;;;124221:113;;;124268:5;124275:6;124282:1;124275:9;;;;;;;;:::i;:::-;;;;;;;124251:34;;;;;;;;29432:19:1;;;29476:2;29467:12;;29460:28;29513:2;29504:12;;29275:247;124251:34:0;;;;;;;;;;;;;124241:45;;;;;;124221:113;124213:121;-1:-1:-1;124193:3:0;;;;:::i;:::-;;;;124154:192;;;-1:-1:-1;124372:13:0;;124363:22;;123960:433;-1:-1:-1;;;;123960:433:0:o;144626:99::-;125269:32;96245:10;125269:18;:32::i;:::-;144701:7:::1;:18:::0;144626:99::o;151271:202::-;125269:32;96245:10;125269:18;:32::i;:::-;151405:9:::1;;151386:13;:11;:13::i;:::-;151376:23;::::0;:7;:23:::1;:::i;:::-;151375:40;;151367:65;;;;-1:-1:-1::0;;;151367:65:0::1;;;;;;;:::i;:::-;151439:28;151449:8;151459:7;151439:9;:28::i;149841:90::-:0;117114:13;:11;:13::i;:::-;149910:8:::1;:15:::0;149841:90::o;157049:175::-;125269:32;96245:10;125269:18;:32::i;:::-;157178:38:::1;157205:10;157178:26;:38::i;64765:447::-:0;64840:13;64866:19;64898:10;64902:6;64898:1;:10;:::i;:::-;:14;;64911:1;64898:14;:::i;:::-;-1:-1:-1;;;;;64888:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64888:25:0;;64866:47;;-1:-1:-1;;;64924:6:0;64931:1;64924:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;64924:15:0;;;;;;;;;-1:-1:-1;;;64950:6:0;64957:1;64950:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;64950:15:0;;;;;;;;-1:-1:-1;64981:9:0;64993:10;64997:6;64993:1;:10;:::i;:::-;:14;;65006:1;64993:14;:::i;:::-;64981:26;;64976:131;65013:1;65009;:5;64976:131;;;-1:-1:-1;;;65057:5:0;65065:3;65057:11;65048:21;;;;;;;:::i;:::-;;;;65036:6;65043:1;65036:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;65036:33:0;;;;;;;;-1:-1:-1;65094:1:0;65084:11;;;;;65016:3;;;:::i;:::-;;;64976:131;;;-1:-1:-1;65125:10:0;;65117:55;;;;-1:-1:-1;;;65117:55:0;;30576:2:1;65117:55:0;;;30558:21:1;;;30595:18;;;30588:30;30654:34;30634:18;;;30627:62;30706:18;;65117:55:0;30374:356:1;33319:152:0;33389:4;33413:50;33418:3;-1:-1:-1;;;;;33438:23:0;;33413:4;:50::i;135456:183::-;135560:16;135601:30;:21;:28;:30::i;92719:215::-;92821:4;-1:-1:-1;;;;;;92845:41:0;;-1:-1:-1;;;92845:41:0;;:81;;;92890:36;92914:11;92890:23;:36::i;126026:370::-;-1:-1:-1;;;;;126120:21:0;;;;;;:10;:21;;;;;;;;126253:46;96245:10;126281:12;-1:-1:-1;;;;;126253:46:0;126296:2;126253:19;:46::i;:::-;126181:181;;;;;;;;:::i;:::-;;;;;;;;;;;;;126098:290;;;;;-1:-1:-1;;;126098:290:0;;;;;;;;:::i;94081:332::-;93797:5;-1:-1:-1;;;;;94184:33:0;;;;94176:88;;;;-1:-1:-1;;;94176:88:0;;31553:2:1;94176:88:0;;;31535:21:1;31592:2;31572:18;;;31565:30;31631:34;31611:18;;;31604:62;-1:-1:-1;;;31682:18:1;;;31675:40;31732:19;;94176:88:0;31351:406:1;94176:88:0;-1:-1:-1;;;;;94283:22:0;;94275:60;;;;-1:-1:-1;;;94275:60:0;;31964:2:1;94275:60:0;;;31946:21:1;32003:2;31983:18;;;31976:30;-1:-1:-1;;;32022:18:1;;;32015:55;32087:18;;94275:60:0;31762:349:1;94275:60:0;94370:35;;;;;;;;;-1:-1:-1;;;;;94370:35:0;;;;;;-1:-1:-1;;;;;94370:35:0;;;;;;;;;;-1:-1:-1;;;94348:57:0;;;;:19;:57;94081:332::o;114922:207::-;114996:4;115015:25;:12;115032:7;115015:16;:25::i;:::-;115012:69;;;-1:-1:-1;115064:5:0;;114922:207;-1:-1:-1;114922:207:0:o;115012:69::-;115099:22;115113:7;115099:13;:22::i;139026:185::-;139139:27;139154:2;139158:7;139139:14;:27::i;:::-;139177:26;139191:2;139195:7;139177:13;:26::i;5052:166::-;5137:12;5165:47;5181:8;5191:10;:6;5200:1;5191:10;:::i;:::-;5203:8;:4;5210:1;5203:8;:::i;:::-;5165:15;:47::i;:::-;5158:54;5052:166;-1:-1:-1;;;;5052:166:0:o;115398:346::-;98187:13;;115440:14;;;;;;115540:25;;115507:1;115541:19;115564:1;115540:25;:::i;:::-;115519:46;-1:-1:-1;115592:11:0;115578:159;115609:10;115605:1;:14;115578:159;;;115641:14;79591:20;;;115658:12;79591:20;;;;;;115708:17;79591:20;115708:9;:17::i;:::-;115698:27;;;;:::i;:::-;;;115626:111;115621:3;;;;;:::i;:::-;;;;115578:159;;;;115455:289;;115398:346;:::o;98306:121::-;98361:7;142937:1;98388:13;;:31;;;;:::i;102695:379::-;102904:41;96245:10;102937:7;102904:18;:41::i;:::-;102882:143;;;;-1:-1:-1;;;102882:143:0;;;;;;;:::i;:::-;103038:28;103048:4;103054:2;103058:7;103038:9;:28::i;117393:132::-;117274:7;117301:6;-1:-1:-1;;;;;117301:6:0;96245:10;117457:23;117449:68;;;;-1:-1:-1;;;117449:68:0;;32739:2:1;117449:68:0;;;32721:21:1;;;32758:18;;;32751:30;32817:34;32797:18;;;32790:62;32869:18;;117449:68:0;32537:356:1;125446:421:0;-1:-1:-1;;;;;125537:22:0;;;;;;:10;:22;;;;;;;;125536:23;125671:46;96245:10;125699:12;96165:98;125671:46;125599:194;;;;;;;;:::i;:::-;;;;;;;;;;;;;125514:305;;;;;-1:-1:-1;;;125514:305:0;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;125830:22:0;;;;;:10;:22;;;;;:29;;-1:-1:-1;;125830:29:0;125855:4;125830:29;;;125446:421::o;82051:293::-;81453:1;82185:7;;:19;82177:63;;;;-1:-1:-1;;;82177:63:0;;33729:2:1;82177:63:0;;;33711:21:1;33768:2;33748:18;;;33741:30;33807:33;33787:18;;;33780:61;33858:18;;82177:63:0;33527:355:1;82177:63:0;81453:1;82318:7;:18;82051:293::o;106392:112::-;106469:27;106479:2;106483:8;106469:27;;;;;;;;;;;;:9;:27::i;73470:204::-;73567:1;73558:10;;;73541:14;73638:20;;;;;;;;;;;;:28;;-1:-1:-1;;;73622:4:0;73614:12;;;73594:33;;;;73638:28;;;;;73470:204::o;158823:288::-;158892:7;;158937:4;158925:10;158934:1;158925:8;:10;:::i;:::-;158924:17;;;;:::i;:::-;158910:31;-1:-1:-1;158950:13:0;158979:8;158910:31;158983:4;158979:8;:::i;:::-;158967:10;158976:1;158967:8;:10;:::i;:::-;:21;;;;:::i;:::-;158966:26;;158990:2;158966:26;:::i;:::-;158950:42;;159050:52;159060:41;159073:7;159081:3;159073:12;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;159073:12:0;159086:5;159092:8;159086:5;159098:2;159092:8;:::i;:::-;159060:12;:41::i;:::-;158794:2;158786:11;158780:18;;158668:149;103145:185;103283:39;103300:4;103306:2;103310:7;103283:39;;;;;;;;;;;;:16;:39::i;114288:321::-;114348:12;114363:16;114371:7;114363;:16::i;:::-;114348:31;;114390:51;114412:4;114426:1;114430:7;114439:1;114390:21;:51::i;:::-;114452:25;:12;114469:7;114452:16;:25::i;:::-;114503:35;;114530:7;;114526:1;;-1:-1:-1;;;;;114503:35:0;;;-1:-1:-1;;;;;;;;;;;114503:35:0;114526:1;;114503:35;114551:50;114572:4;114586:1;114590:7;114599:1;114551:20;:50::i;3354:475::-;3407:15;3510:17;3530:99;3608:5;3563:59;;;;;;;;:::i;:::-;;;;;;;;;;;;;3530:24;:99::i;:::-;3510:119;;3728:4;3722:11;3717:2;3711:4;3707:13;3704:1;3697:37;3686:48;-1:-1:-1;;;;;;3781:21:0;;3777:46;;3811:12;;-1:-1:-1;;;3811:12:0;;;;;;;;;;;3777:46;3424:405;3354:475;;;:::o;72849:235::-;72966:1;72957:10;;;72923:4;73044:20;;;;;;;;;;;-1:-1:-1;;;73021:4:0;73013:12;;72993:33;73044:27;:32;;72849:235;;;;:::o;99472:222::-;99589:7;99615:13;99634:29;99655:7;99634:20;:29::i;:::-;-1:-1:-1;99614:49:0;99472:222;-1:-1:-1;;;99472:222:0:o;118495:191::-;118569:16;118588:6;;-1:-1:-1;;;;;118605:17:0;;;-1:-1:-1;;;;;;118605:17:0;;;;;;118638:40;;118588:6;;;;;;;118638:40;;118569:16;118638:40;118558:128;118495:191;:::o;135235:213::-;135345:40;:21;135374:10;135345:28;:40::i;:::-;-1:-1:-1;135401:39:0;;-1:-1:-1;;;;;135401:39:0;;;135417:10;;135401:39;;;;;135235:213;:::o;148688:361::-;148761:6;148784:17;148792:8;148784:7;:17::i;:::-;148776:61;;;;-1:-1:-1;;;148776:61:0;;;;;;;:::i;:::-;148925:8;;148844:15;148894:19;;;:9;:19;;;;;;148844:15;;148925:8;148863:51;;148870:15;148863:51;:::i;:::-;148862:72;;;;:::i;:::-;148844:90;;148964:9;;148945:8;:29;148941:81;;-1:-1:-1;149004:9:0;;149035:8;148688:361;-1:-1:-1;;148688:361:0:o;138444:325::-;138593:20;138604:8;138593:10;:20::i;:::-;:41;;;-1:-1:-1;138617:17:0;;138593:41;138571:136;;;;-1:-1:-1;;;138571:136:0;;34924:2:1;138571:136:0;;;34906:21:1;34963:2;34943:18;;;34936:30;35002:34;34982:18;;;34975:62;-1:-1:-1;;;35053:18:1;;;35046:43;35106:19;;138571:136:0;34722:409:1;138571:136:0;138718:43;138742:8;138752;138718:23;:43::i;125873:147::-;125942:30;125961:10;125942:18;:30::i;:::-;-1:-1:-1;;;;;125990:22:0;;;;;:10;:22;;;;;125983:29;;-1:-1:-1;;125983:29:0;;;125873:147::o;103401:368::-;103590:41;96245:10;103623:7;103590:18;:41::i;:::-;103568:143;;;;-1:-1:-1;;;103568:143:0;;;;;;;:::i;:::-;103722:39;103736:4;103742:2;103746:7;103755:5;103722:13;:39::i;148220:97::-;148270:13;148298;148291:20;;;;;:::i;63633:716::-;63689:13;63740:14;63757:17;63768:5;63757:10;:17::i;:::-;63777:1;63757:21;63740:38;;63793:20;63827:6;-1:-1:-1;;;;;63816:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63816:18:0;-1:-1:-1;63793:41:0;-1:-1:-1;63958:28:0;;;63974:2;63958:28;64015:288;-1:-1:-1;;64047:5:0;-1:-1:-1;;;64184:2:0;64173:14;;64168:30;64047:5;64155:44;64245:2;64236:11;;;-1:-1:-1;64266:21:0;64015:288;64266:21;-1:-1:-1;64324:6:0;63633:716;-1:-1:-1;;;63633:716:0:o;143529:567::-;143582:13;143605:16;;143650:32;143605:16;93797:5;143650:11;:32::i;:::-;143604:78;;;;143791:283;143903:33;143920:15;143903:16;:33::i;:::-;143978:51;144014:8;-1:-1:-1;;;;;143998:26:0;144026:2;143978:19;:51::i;:::-;143837:213;;;;;;;;;:::i;:::-;;;;;;;;;;;;;143791:13;:283::i;:::-;143722:361;;;;;;;;:::i;:::-;;;;;;;;;;;;;143700:390;;;;143529:567;:::o;136290:236::-;136413:4;136435:13;136451:20;136464:6;136451:12;:20::i;:::-;136435:36;;136489:29;136500:10;136512:5;136489:10;:29::i;135022:205::-;135129:37;:21;135155:10;135129:25;:37::i;:::-;-1:-1:-1;135182:37:0;;-1:-1:-1;;;;;135182:37:0;;;135196:10;;135182:37;;;;;135022:205;:::o;27050:414::-;27113:4;29243:19;;;:12;;;:19;;;;;;27130:327;;-1:-1:-1;27173:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;27356:18;;27334:19;;;:12;;;:19;;;;;;:40;;;;27389:11;;27130:327;-1:-1:-1;27440:5:0;27433:12;;35323:310;35386:16;35415:22;35440:19;35448:3;35440:7;:19::i;139670:288::-;139800:4;-1:-1:-1;;;;;;139842:55:0;;-1:-1:-1;;;139842:55:0;;:108;;;139914:36;139938:11;139914:23;:36::i;105263:151::-;105328:4;105362:14;98187:13;;;98105:103;105362:14;105352:7;:24;:54;;;;-1:-1:-1;;142937:1:0;105380:26;;;105263:151::o;138777:241::-;-1:-1:-1;;;;;138885:16:0;;;138881:130;;138926:23;138937:7;138946:2;138926:10;:23::i;:::-;138918:81;;;;-1:-1:-1;;;138918:81:0;;36859:2:1;138918:81:0;;;36841:21:1;36898:2;36878:18;;;36871:30;36937:34;36917:18;;;36910:62;-1:-1:-1;;;36988:18:1;;;36981:43;37041:19;;138918:81:0;36657:409:1;101154:410:0;101235:13;101251:16;101259:7;101251;:16::i;:::-;101235:32;;101292:5;-1:-1:-1;;;;;101286:11:0;:2;-1:-1:-1;;;;;101286:11:0;;101278:60;;;;-1:-1:-1;;;101278:60:0;;37273:2:1;101278:60:0;;;37255:21:1;37312:2;37292:18;;;37285:30;37351:34;37331:18;;;37324:62;-1:-1:-1;;;37402:18:1;;;37395:34;37446:19;;101278:60:0;37071:400:1;101278:60:0;96245:10;-1:-1:-1;;;;;101373:21:0;;;;:62;;-1:-1:-1;101398:37:0;101415:5;96245:10;138127:309;:::i;101398:37::-;101351:171;;;;-1:-1:-1;;;101351:171:0;;37678:2:1;101351:171:0;;;37660:21:1;37717:2;37697:18;;;37690:30;37756:34;37736:18;;;37729:62;37827:29;37807:18;;;37800:57;37874:19;;101351:171:0;37476:423:1;101351:171:0;101535:21;101544:2;101548:7;101535:8;:21::i;1844:971::-;1928:18;1394;;1955:13;1997:10;;;1993:32;;-1:-1:-1;;2016:9:0;;;;;;;;;-1:-1:-1;2016:9:0;;2009:16;;1993:32;2047:5;2038:6;:14;2034:36;;;-1:-1:-1;;2061:9:0;;;;;;;;;-1:-1:-1;2061:9:0;;2054:16;;2034:36;2088:6;2081:4;:13;2077:65;;;2103:39;;-1:-1:-1;;;2103:39:0;;;;;38106:25:1;;;38147:18;;;38140:34;;;38190:18;;;38183:34;;;38079:18;;2103:39:0;37904:319:1;2077:65:0;2189:13;;;2229:14;;;2171:15;2269:17;;;:37;;2299:7;2269:37;;;2289:7;2269:37;2480:4;2474:11;;2570:26;;;-1:-1:-1;;2566:42:0;2555:54;;2542:68;;;2655:19;;;2474:11;-1:-1:-1;2254:52:0;-1:-1:-1;2254:52:0;2781:6;2584:4;2763:16;;2756:5;2744:50;2326:477;;;1948:867;1844:971;;;;;:::o;115811:177::-;115863:13;115913:56;115927:4;;115913:56;;-1:-1:-1;;115964:5:0;;115959:10;;;;115968:1;115933:7;115913:56;;105581:448;105710:4;105754:16;105762:7;105754;:16::i;:::-;105732:113;;;;-1:-1:-1;;;105732:113:0;;38430:2:1;105732:113:0;;;38412:21:1;38469:2;38449:18;;;38442:30;38508:34;38488:18;;;38481:62;-1:-1:-1;;;38559:18:1;;;38552:45;38614:19;;105732:113:0;38228:411:1;105732:113:0;105856:13;105872:16;105880:7;105872;:16::i;:::-;105856:32;;105918:5;-1:-1:-1;;;;;105907:16:0;:7;-1:-1:-1;;;;;105907:16:0;;:64;;;;105964:7;-1:-1:-1;;;;;105940:31:0;:20;105952:7;105940:11;:20::i;:::-;-1:-1:-1;;;;;105940:31:0;;105907:64;:113;;;;105988:32;106005:5;106012:7;105988:16;:32::i;108004:1057::-;108129:13;108144:24;108172:29;108193:7;108172:20;:29::i;:::-;108128:73;;;;108245:4;-1:-1:-1;;;;;108236:13:0;:5;-1:-1:-1;;;;;108236:13:0;;108214:107;;;;-1:-1:-1;;;108214:107:0;;38846:2:1;108214:107:0;;;38828:21:1;38885:2;38865:18;;;38858:30;38924:34;38904:18;;;38897:62;-1:-1:-1;;;38975:18:1;;;38968:42;39027:19;;108214:107:0;38644:408:1;108214:107:0;-1:-1:-1;;;;;108340:16:0;;108332:68;;;;-1:-1:-1;;;108332:68:0;;39259:2:1;108332:68:0;;;39241:21:1;39298:2;39278:18;;;39271:30;39337:34;39317:18;;;39310:62;-1:-1:-1;;;39388:18:1;;;39381:37;39435:19;;108332:68:0;39057:403:1;108332:68:0;108413:43;108435:4;108441:2;108445:7;108454:1;108413:21;:43::i;:::-;108521:29;108538:1;108542:7;108521:8;:29::i;:::-;108566:25;108594:11;:7;108604:1;108594:11;:::i;:::-;108566:39;-1:-1:-1;108622:33:0;:10;108566:39;108622:14;:33::i;:::-;108621:34;:87;;;;-1:-1:-1;98187:13:0;;108674:17;:34;108621:87;108618:210;;;108735:26;;;;:7;:26;;;;;:33;;-1:-1:-1;;;;;;108735:33:0;-1:-1:-1;;;;;108735:33:0;;;;;108783;-1:-1:-1;108735:26:0;108783:14;:33::i;:::-;108840:16;;;;:7;:16;;;;;:21;;-1:-1:-1;;;;;;108840:21:0;-1:-1:-1;;;;;108840:21:0;;;;;108875:27;;;108872:82;;108919:23;:10;108934:7;108919:14;:23::i;:::-;108990:7;108986:2;-1:-1:-1;;;;;108971:27:0;108980:4;-1:-1:-1;;;;;108971:27:0;-1:-1:-1;;;;;;;;;;;108971:27:0;;;;;;;;;109011:42;109032:4;109038:2;109042:7;109051:1;109011:20;:42::i;:::-;108117:944;;;108004:1057;;;:::o;106518:387::-;106649:19;106671:14;98187:13;;;98105:103;106671:14;106649:36;;106696:19;106702:2;106706:8;106696:5;:19::i;:::-;106748:68;106779:1;106783:2;106787:11;106800:8;106810:5;106748:22;:68::i;:::-;106726:171;;;;-1:-1:-1;;;106726:171:0;;;;;;;:::i;149935:481::-;150090:23;;;;:9;:23;;;;;150116:15;150090:41;;150100:12;;150202:23;150217:8;150100:12;150202:23;:::i;:::-;150188:37;;150236:97;150278:15;150250:9;:25;150260:14;;;;:::i;:::-;;;150250:25;;;;;;;;;;;:43;;;;150328:3;150313:12;:18;150236:97;;150349:61;156233:163;139219:443;-1:-1:-1;;;;;139515:18:0;;;139511:144;;137578:22;;;;:13;:22;;;;;137571:29;139609:34;137496:112;390:718;458:12;1028:5;:12;1090:5;980:122;;;;;;;;;:::i;160450:473::-;160529:13;160544:24;160588:16;160596:7;160588;:16::i;:::-;160580:73;;;;-1:-1:-1;;;160580:73:0;;40785:2:1;160580:73:0;;;40767:21:1;40824:2;40804:18;;;40797:30;40863:34;40843:18;;;40836:62;-1:-1:-1;;;40914:18:1;;;40907:42;40966:19;;160580:73:0;40583:408:1;160580:73:0;160683:22;160697:7;160683:13;:22::i;:::-;160719:18;;;;:9;:18;;;;;;160664:41;;-1:-1:-1;160719:23:0;:71;;;;-1:-1:-1;160747:43:0;:30;160782:7;160747:34;:43::i;:::-;160746:44;160719:71;160716:200;;;160814:26;160832:7;160814:17;:26::i;:::-;160806:34;;160450:473;;;:::o;160716:200::-;160879:25;;;;:7;:25;;;;;;-1:-1:-1;;;;;160879:25:0;;-1:-1:-1;160450:473:0;;;:::o;33647:158::-;33720:4;33744:53;33752:3;-1:-1:-1;;;;;33772:23:0;;33744:7;:53::i;135846:178::-;135953:4;135982:34;135993:10;136005;135982;:34::i;102013:330::-;96245:10;-1:-1:-1;;;;;102148:24:0;;;102140:65;;;;-1:-1:-1;;;102140:65:0;;41198:2:1;102140:65:0;;;41180:21:1;41237:2;41217:18;;;41210:30;41276;41256:18;;;41249:58;41324:18;;102140:65:0;40996:352:1;102140:65:0;96245:10;102218:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;102218:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;102218:53:0;;;;;;;;;;102287:48;;1203:41:1;;;102218:42:0;;96245:10;102287:48;;1176:18:1;102287:48:0;;;;;;;102013:330;;:::o;104651:357::-;104808:28;104818:4;104824:2;104828:7;104808:9;:28::i;:::-;104869:50;104892:4;104898:2;104902:7;104911:1;104913:5;104869:22;:50::i;60499:922::-;60552:7;;-1:-1:-1;;;60630:15:0;;60626:102;;-1:-1:-1;;;60666:15:0;;;-1:-1:-1;60710:2:0;60700:12;60626:102;60755:6;60746:5;:15;60742:102;;60791:6;60782:15;;;-1:-1:-1;60826:2:0;60816:12;60742:102;60871:6;60862:5;:15;60858:102;;60907:6;60898:15;;;-1:-1:-1;60942:2:0;60932:12;60858:102;60987:5;60978;:14;60974:99;;61022:5;61013:14;;;-1:-1:-1;61056:1:0;61046:11;60974:99;61100:5;61091;:14;61087:99;;61135:5;61126:14;;;-1:-1:-1;61169:1:0;61159:11;61087:99;61213:5;61204;:14;61200:99;;61248:5;61239:14;;;-1:-1:-1;61282:1:0;61272:11;61200:99;61326:5;61317;:14;61313:66;;61362:1;61352:11;61407:6;60499:922;-1:-1:-1;;60499:922:0:o;119477:1912::-;119535:13;119565:4;:11;119580:1;119565:16;119561:31;;-1:-1:-1;;119583:9:0;;;;;;;;;-1:-1:-1;119583:9:0;;;119477:1912::o;119561:31::-;119644:19;119666:12;;;;;;;;;;;;;;;;;119644:34;;119730:18;119776:1;119757:4;:11;119771:1;119757:15;;;;:::i;:::-;119756:21;;;;:::i;:::-;119751:27;;:1;:27;:::i;:::-;119730:48;-1:-1:-1;119861:20:0;119895:15;119730:48;119908:2;119895:15;:::i;:::-;-1:-1:-1;;;;;119884:27:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;119884:27:0;;119861:50;;120008:10;120000:6;119993:26;120103:1;120096:5;120092:13;120162:4;120213;120207:11;120198:7;120194:25;120309:2;120301:6;120297:15;120382:754;120401:6;120392:7;120389:19;120382:754;;;120501:1;120492:7;120488:15;120477:26;;120540:7;120534:14;120666:4;120658:5;120654:2;120650:14;120646:25;120636:8;120632:40;120626:47;120615:9;120607:67;120720:1;120709:9;120705:17;120692:30;;120799:4;120791:5;120787:2;120783:14;120779:25;120769:8;120765:40;120759:47;120748:9;120740:67;120853:1;120842:9;120838:17;120825:30;;120932:4;120924:5;120921:1;120916:14;120912:25;120902:8;120898:40;120892:47;120881:9;120873:67;120986:1;120975:9;120971:17;120958:30;;121065:4;121057:5;121045:25;121035:8;121031:40;121025:47;121014:9;121006:67;-1:-1:-1;121119:1:0;121104:17;120382:754;;;121209:1;121202:4;121196:11;121192:19;121230:1;121225:54;;;;121298:1;121293:52;;;;121185:160;;121225:54;-1:-1:-1;;;;;121241:17:0;;121234:43;121225:54;;121293:52;-1:-1:-1;;;;;121309:17:0;;121302:41;121185:160;-1:-1:-1;121375:6:0;;119477:1912;-1:-1:-1;;;;;;;;119477:1912:0:o;137125:253::-;-1:-1:-1;;;;;137259:22:0;;137230:7;137259:22;;;:14;:22;;;;;;:26;137255:88;;-1:-1:-1;;;;;;137309:22:0;;;;;:14;:22;;;;;;;137125:253::o;137255:88::-;-1:-1:-1;;137362:8:0;;;137125:253::o;136534:293::-;136683:14;;136656:4;;136683:14;;136678:59;;-1:-1:-1;136721:4:0;136714:11;;136678:59;136756:27;136772:10;136756:15;:27::i;:::-;:63;;;-1:-1:-1;136787:3:0;;:32;;-1:-1:-1;;;136787:32:0;;-1:-1:-1;;;;;5048:32:1;;;136787::0;;;5030:51:1;5097:18;;;5090:34;;;136787:3:0;;;;:13;;5003:18:1;;136787:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;30494:111::-;30550:16;30586:3;:11;;30579:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30494:111;;;:::o;98501:355::-;98648:4;-1:-1:-1;;;;;;98690:40:0;;-1:-1:-1;;;98690:40:0;;:105;;-1:-1:-1;;;;;;;98747:48:0;;-1:-1:-1;;;98747:48:0;98690:105;:158;;;-1:-1:-1;;;;;;;;;;90380:40:0;;;98812:36;90271:157;136032:250;136156:4;136178:13;136194:33;136207:10;136219:7;136194:12;:33::i;109179:167::-;109254:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;109254:29:0;-1:-1:-1;;;;;109254:29:0;;;;;;;;:24;;109308:16;109254:24;109308:7;:16::i;:::-;-1:-1:-1;;;;;109299:39:0;;;;;;;;;;;109179:167;;:::o;106915:748::-;107013:19;107035:14;98187:13;;;98105:103;107035:14;107013:36;;107089:1;107078:8;:12;107070:62;;;;-1:-1:-1;;;107070:62:0;;41555:2:1;107070:62:0;;;41537:21:1;41594:2;41574:18;;;41567:30;41633:34;41613:18;;;41606:62;-1:-1:-1;;;41684:18:1;;;41677:35;41729:19;;107070:62:0;41353:401:1;107070:62:0;-1:-1:-1;;;;;107151:16:0;;107143:64;;;;-1:-1:-1;;;107143:64:0;;41961:2:1;107143:64:0;;;41943:21:1;42000:2;41980:18;;;41973:30;42039:34;42019:18;;;42012:62;-1:-1:-1;;;42090:18:1;;;42083:33;42133:19;;107143:64:0;41759:399:1;107143:64:0;107228:60;107258:1;107262:2;107266:11;107279:8;107228:21;:60::i;:::-;107316:8;107299:13;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;107335:20:0;;;;:7;:20;;;;;:25;;-1:-1:-1;;;;;;107335:25:0;-1:-1:-1;;;;;107335:25:0;;;;;107371:27;-1:-1:-1;107335:20:0;107371:14;:27::i;:::-;107409:59;107438:1;107442:2;107446:11;107459:8;107409:20;:59::i;:::-;107533:11;107513:142;107556:22;107570:8;107556:11;:22;:::i;:::-;107546:7;:32;107513:142;;;107610:33;;107635:7;;-1:-1:-1;;;;;107610:33:0;;;107627:1;;-1:-1:-1;;;;;;;;;;;107610:33:0;107627:1;;107610:33;107580:9;;;;:::i;:::-;;;;107513:142;;110000:1039;110187:6;-1:-1:-1;;;;;110210:13:0;;42428:19;:23;110206:826;;-1:-1:-1;110246:4:0;110287:12;110265:689;110311:23;110326:8;110311:12;:23;:::i;:::-;110301:7;:33;110265:689;;;110369:72;;-1:-1:-1;;;110369:72:0;;-1:-1:-1;;;;;110369:36:0;;;;;:72;;96245:10;;110420:4;;110426:7;;110435:5;;110369:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;110369:72:0;;;;;;;;-1:-1:-1;;110369:72:0;;;;;;;;;;;;:::i;:::-;;;110365:574;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;110625:6;:13;110642:1;110625:18;110621:299;;110672:63;;-1:-1:-1;;;110672:63:0;;;;;;;:::i;110621:299::-;110862:6;110856:13;110847:6;110843:2;110839:15;110832:38;110365:574;110493:1;:56;;;;-1:-1:-1;;;;;;;110498:51:0;;-1:-1:-1;;;110498:51:0;110493:56;110489:60;;110442:127;110336:9;;;;:::i;:::-;;;;110265:689;;;;110968:8;;110206:826;-1:-1:-1;111016:4:0;110206:826;110000:1039;;;;;;;:::o;111047:159::-;111110:24;111166:31;:10;111189:7;111166:22;:31::i;27640:1420::-;27706:4;27845:19;;;:12;;;:19;;;;;;27881:15;;27877:1176;;28256:21;28280:14;28293:1;28280:10;:14;:::i;:::-;28329:18;;28256:38;;-1:-1:-1;28309:17:0;;28329:22;;28350:1;;28329:22;:::i;:::-;28309:42;;28385:13;28372:9;:26;28368:405;;28419:17;28439:3;:11;;28451:9;28439:22;;;;;;;;:::i;:::-;;;;;;;;;28419:42;;28593:9;28564:3;:11;;28576:13;28564:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;28678:23;;;:12;;;:23;;;;;:36;;;28368:405;28854:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;28949:3;:12;;:19;28962:5;28949:19;;;;;;;;;;;28942:26;;;28992:4;28985:11;;;;;;;27877:1176;29036:5;29029:12;;;;;135647:191;135759:4;135788:42;:21;135819:10;135788:30;:42::i;136835:282::-;136957:7;136986:22;;;:13;:22;;;;;;:26;136982:88;;-1:-1:-1;137036:22:0;;;;:13;:22;;;;;;137029:29;;136982:88;137089:20;137102:6;137089:12;:20::i;78241:1234::-;78381:1;78372:10;;;78323:19;78538:20;;;;;;;;;;;78323:19;;78372:10;78462:4;78454:12;;;;78643:18;;;78636:26;78715:6;;78712:756;;78813:22;:2;:20;:22::i;:::-;78798:37;;:11;:37;78792:1;78782:6;:11;;78781:55;78767:69;;78712:756;;;78936:1;78927:6;:10;78919:75;;;;-1:-1:-1;;;78919:75:0;;43245:2:1;78919:75:0;;;43227:21:1;43284:2;43264:18;;;43257:30;43323:34;43303:18;;;43296:62;-1:-1:-1;;;43374:18:1;;;43367:50;43434:19;;78919:75:0;43043:416:1;78919:75:0;-1:-1:-1;;;79046:8:0;;;79177:12;:20;;;;;;;;;;;79046:8;;-1:-1:-1;79237:6:0;;79234:207;;79343:22;:2;:20;:22::i;:::-;79336:3;:29;79319:47;;79330:1;79320:6;:11;;79319:47;79305:61;;79393:5;;79234:207;78888:569;;;78344:1131;;;78241:1234;;;;:::o;33891:167::-;-1:-1:-1;;;;;34025:23:0;;33971:4;29243:19;;;:12;;;:19;;;;;;:24;;33995:55;29146:129;70440:201;70502:5;70558:16;;;;;;;;;;;;;;;;;70614:3;68956:64;70576:18;70591:2;70576:14;:18::i;:::-;:33;70575:42;;70558:60;;;;;;;;:::i;:::-;;;;;;;;70440:201;-1:-1:-1;;70440:201:0:o;69667:169::-;69726:7;69759:1;69754:2;:6;69746:15;;;;;;-1:-1:-1;69810:1:0;:6;;;69804:13;;69667:169::o;14:658:1:-;185:2;237:21;;;307:13;;210:18;;;329:22;;;156:4;;185:2;408:15;;;;382:2;367:18;;;156:4;451:195;465:6;462:1;459:13;451:195;;;530:13;;-1:-1:-1;;;;;526:39:1;514:52;;621:15;;;;586:12;;;;562:1;480:9;451:195;;;-1:-1:-1;663:3:1;;14:658;-1:-1:-1;;;;;;14:658:1:o;677:131::-;-1:-1:-1;;;;;;751:32:1;;741:43;;731:71;;798:1;795;788:12;813:245;871:6;924:2;912:9;903:7;899:23;895:32;892:52;;;940:1;937;930:12;892:52;979:9;966:23;998:30;1022:5;998:30;:::i;1255:131::-;-1:-1:-1;;;;;1330:31:1;;1320:42;;1310:70;;1376:1;1373;1366:12;1391:247;1450:6;1503:2;1491:9;1482:7;1478:23;1474:32;1471:52;;;1519:1;1516;1509:12;1471:52;1558:9;1545:23;1577:31;1602:5;1577:31;:::i;1643:180::-;1702:6;1755:2;1743:9;1734:7;1730:23;1726:32;1723:52;;;1771:1;1768;1761:12;1723:52;-1:-1:-1;1794:23:1;;1643:180;-1:-1:-1;1643:180:1:o;1828:435::-;1895:6;1903;1956:2;1944:9;1935:7;1931:23;1927:32;1924:52;;;1972:1;1969;1962:12;1924:52;2011:9;1998:23;2030:31;2055:5;2030:31;:::i;:::-;2080:5;-1:-1:-1;2137:2:1;2122:18;;2109:32;-1:-1:-1;;;;;2172:40:1;;2160:53;;2150:81;;2227:1;2224;2217:12;2150:81;2250:7;2240:17;;;1828:435;;;;;:::o;2268:250::-;2353:1;2363:113;2377:6;2374:1;2371:13;2363:113;;;2453:11;;;2447:18;2434:11;;;2427:39;2399:2;2392:10;2363:113;;;-1:-1:-1;;2510:1:1;2492:16;;2485:27;2268:250::o;2523:271::-;2565:3;2603:5;2597:12;2630:6;2625:3;2618:19;2646:76;2715:6;2708:4;2703:3;2699:14;2692:4;2685:5;2681:16;2646:76;:::i;:::-;2776:2;2755:15;-1:-1:-1;;2751:29:1;2742:39;;;;2783:4;2738:50;;2523:271;-1:-1:-1;;2523:271:1:o;2799:220::-;2948:2;2937:9;2930:21;2911:4;2968:45;3009:2;2998:9;2994:18;2986:6;2968:45;:::i;3024:203::-;-1:-1:-1;;;;;3188:32:1;;;;3170:51;;3158:2;3143:18;;3024:203::o;3414:315::-;3482:6;3490;3543:2;3531:9;3522:7;3518:23;3514:32;3511:52;;;3559:1;3556;3549:12;3511:52;3598:9;3585:23;3617:31;3642:5;3617:31;:::i;:::-;3667:5;3719:2;3704:18;;;;3691:32;;-1:-1:-1;;;3414:315:1:o;3957:456::-;4034:6;4042;4050;4103:2;4091:9;4082:7;4078:23;4074:32;4071:52;;;4119:1;4116;4109:12;4071:52;4158:9;4145:23;4177:31;4202:5;4177:31;:::i;:::-;4227:5;-1:-1:-1;4284:2:1;4269:18;;4256:32;4297:33;4256:32;4297:33;:::i;:::-;3957:456;;4349:7;;-1:-1:-1;;;4403:2:1;4388:18;;;;4375:32;;3957:456::o;4603:248::-;4671:6;4679;4732:2;4720:9;4711:7;4707:23;4703:32;4700:52;;;4748:1;4745;4738:12;4700:52;-1:-1:-1;;4771:23:1;;;4841:2;4826:18;;;4813:32;;-1:-1:-1;4603:248:1:o;5615:118::-;5701:5;5694:13;5687:21;5680:5;5677:32;5667:60;;5723:1;5720;5713:12;5738:241;5794:6;5847:2;5835:9;5826:7;5822:23;5818:32;5815:52;;;5863:1;5860;5853:12;5815:52;5902:9;5889:23;5921:28;5943:5;5921:28;:::i;5984:632::-;6155:2;6207:21;;;6277:13;;6180:18;;;6299:22;;;6126:4;;6155:2;6378:15;;;;6352:2;6337:18;;;6126:4;6421:169;6435:6;6432:1;6429:13;6421:169;;;6496:13;;6484:26;;6565:15;;;;6530:12;;;;6457:1;6450:9;6421:169;;6621:127;6682:10;6677:3;6673:20;6670:1;6663:31;6713:4;6710:1;6703:15;6737:4;6734:1;6727:15;6753:275;6824:2;6818:9;6889:2;6870:13;;-1:-1:-1;;6866:27:1;6854:40;;-1:-1:-1;;;;;6909:34:1;;6945:22;;;6906:62;6903:88;;;6971:18;;:::i;:::-;7007:2;7000:22;6753:275;;-1:-1:-1;6753:275:1:o;7033:407::-;7098:5;-1:-1:-1;;;;;7124:6:1;7121:30;7118:56;;;7154:18;;:::i;:::-;7192:57;7237:2;7216:15;;-1:-1:-1;;7212:29:1;7243:4;7208:40;7192:57;:::i;:::-;7183:66;;7272:6;7265:5;7258:21;7312:3;7303:6;7298:3;7294:16;7291:25;7288:45;;;7329:1;7326;7319:12;7288:45;7378:6;7373:3;7366:4;7359:5;7355:16;7342:43;7432:1;7425:4;7416:6;7409:5;7405:18;7401:29;7394:40;7033:407;;;;;:::o;7445:451::-;7514:6;7567:2;7555:9;7546:7;7542:23;7538:32;7535:52;;;7583:1;7580;7573:12;7535:52;7623:9;7610:23;-1:-1:-1;;;;;7648:6:1;7645:30;7642:50;;;7688:1;7685;7678:12;7642:50;7711:22;;7764:4;7756:13;;7752:27;-1:-1:-1;7742:55:1;;7793:1;7790;7783:12;7742:55;7816:74;7882:7;7877:2;7864:16;7859:2;7855;7851:11;7816:74;:::i;7901:347::-;7952:8;7962:6;8016:3;8009:4;8001:6;7997:17;7993:27;7983:55;;8034:1;8031;8024:12;7983:55;-1:-1:-1;8057:20:1;;-1:-1:-1;;;;;8089:30:1;;8086:50;;;8132:1;8129;8122:12;8086:50;8169:4;8161:6;8157:17;8145:29;;8221:3;8214:4;8205:6;8197;8193:19;8189:30;8186:39;8183:59;;;8238:1;8235;8228:12;8253:477;8332:6;8340;8348;8401:2;8389:9;8380:7;8376:23;8372:32;8369:52;;;8417:1;8414;8407:12;8369:52;8457:9;8444:23;-1:-1:-1;;;;;8482:6:1;8479:30;8476:50;;;8522:1;8519;8512:12;8476:50;8561:58;8611:7;8602:6;8591:9;8587:22;8561:58;:::i;:::-;8638:8;;8535:84;;-1:-1:-1;8720:2:1;8705:18;;;;8692:32;;8253:477;-1:-1:-1;;;;8253:477:1:o;8988:712::-;9042:5;9095:3;9088:4;9080:6;9076:17;9072:27;9062:55;;9113:1;9110;9103:12;9062:55;9149:6;9136:20;9175:4;-1:-1:-1;;;;;9194:2:1;9191:26;9188:52;;;9220:18;;:::i;:::-;9266:2;9263:1;9259:10;9289:28;9313:2;9309;9305:11;9289:28;:::i;:::-;9351:15;;;9421;;;9417:24;;;9382:12;;;;9453:15;;;9450:35;;;9481:1;9478;9471:12;9450:35;9517:2;9509:6;9505:15;9494:26;;9529:142;9545:6;9540:3;9537:15;9529:142;;;9611:17;;9599:30;;9562:12;;;;9649;;;;9529:142;;;9689:5;8988:712;-1:-1:-1;;;;;;;8988:712:1:o;9705:416::-;9798:6;9806;9859:2;9847:9;9838:7;9834:23;9830:32;9827:52;;;9875:1;9872;9865:12;9827:52;9911:9;9898:23;9888:33;;9972:2;9961:9;9957:18;9944:32;-1:-1:-1;;;;;9991:6:1;9988:30;9985:50;;;10031:1;10028;10021:12;9985:50;10054:61;10107:7;10098:6;10087:9;10083:22;10054:61;:::i;:::-;10044:71;;;9705:416;;;;;:::o;10126:315::-;10194:6;10202;10255:2;10243:9;10234:7;10230:23;10226:32;10223:52;;;10271:1;10268;10261:12;10223:52;10307:9;10294:23;10284:33;;10367:2;10356:9;10352:18;10339:32;10380:31;10405:5;10380:31;:::i;10446:382::-;10511:6;10519;10572:2;10560:9;10551:7;10547:23;10543:32;10540:52;;;10588:1;10585;10578:12;10540:52;10627:9;10614:23;10646:31;10671:5;10646:31;:::i;:::-;10696:5;-1:-1:-1;10753:2:1;10738:18;;10725:32;10766:30;10725:32;10766:30;:::i;10833:795::-;10928:6;10936;10944;10952;11005:3;10993:9;10984:7;10980:23;10976:33;10973:53;;;11022:1;11019;11012:12;10973:53;11061:9;11048:23;11080:31;11105:5;11080:31;:::i;:::-;11130:5;-1:-1:-1;11187:2:1;11172:18;;11159:32;11200:33;11159:32;11200:33;:::i;:::-;11252:7;-1:-1:-1;11306:2:1;11291:18;;11278:32;;-1:-1:-1;11361:2:1;11346:18;;11333:32;-1:-1:-1;;;;;11377:30:1;;11374:50;;;11420:1;11417;11410:12;11374:50;11443:22;;11496:4;11488:13;;11484:27;-1:-1:-1;11474:55:1;;11525:1;11522;11515:12;11474:55;11548:74;11614:7;11609:2;11596:16;11591:2;11587;11583:11;11548:74;:::i;:::-;11538:84;;;10833:795;;;;;;;:::o;11633:484::-;11735:6;11743;11751;11804:2;11792:9;11783:7;11779:23;11775:32;11772:52;;;11820:1;11817;11810:12;11772:52;11856:9;11843:23;11833:33;;11913:2;11902:9;11898:18;11885:32;11875:42;;11968:2;11957:9;11953:18;11940:32;-1:-1:-1;;;;;11987:6:1;11984:30;11981:50;;;12027:1;12024;12017:12;11981:50;12050:61;12103:7;12094:6;12083:9;12079:22;12050:61;:::i;:::-;12040:71;;;11633:484;;;;;:::o;12122:551::-;12224:6;12232;12240;12293:2;12281:9;12272:7;12268:23;12264:32;12261:52;;;12309:1;12306;12299:12;12261:52;12348:9;12335:23;12367:31;12392:5;12367:31;:::i;:::-;12417:5;-1:-1:-1;12469:2:1;12454:18;;12441:32;;-1:-1:-1;12524:2:1;12509:18;;12496:32;-1:-1:-1;;;;;12540:30:1;;12537:50;;;12583:1;12580;12573:12;12678:409;12748:6;12756;12809:2;12797:9;12788:7;12784:23;12780:32;12777:52;;;12825:1;12822;12815:12;12777:52;12865:9;12852:23;-1:-1:-1;;;;;12890:6:1;12887:30;12884:50;;;12930:1;12927;12920:12;12884:50;12969:58;13019:7;13010:6;12999:9;12995:22;12969:58;:::i;:::-;13046:8;;12943:84;;-1:-1:-1;12678:409:1;-1:-1:-1;;;;12678:409:1:o;13092:388::-;13160:6;13168;13221:2;13209:9;13200:7;13196:23;13192:32;13189:52;;;13237:1;13234;13227:12;13189:52;13276:9;13263:23;13295:31;13320:5;13295:31;:::i;:::-;13345:5;-1:-1:-1;13402:2:1;13387:18;;13374:32;13415:33;13374:32;13415:33;:::i;13485:380::-;13564:1;13560:12;;;;13607;;;13628:61;;13682:4;13674:6;13670:17;13660:27;;13628:61;13735:2;13727:6;13724:14;13704:18;13701:38;13698:161;;13781:10;13776:3;13772:20;13769:1;13762:31;13816:4;13813:1;13806:15;13844:4;13841:1;13834:15;14286:304;-1:-1:-1;;;;;14516:15:1;;;14498:34;;14568:15;;14563:2;14548:18;;14541:43;14448:2;14433:18;;14286:304::o;14595:245::-;14662:6;14715:2;14703:9;14694:7;14690:23;14686:32;14683:52;;;14731:1;14728;14721:12;14683:52;14763:9;14757:16;14782:28;14804:5;14782:28;:::i;14845:127::-;14906:10;14901:3;14897:20;14894:1;14887:31;14937:4;14934:1;14927:15;14961:4;14958:1;14951:15;14977:128;15044:9;;;15065:11;;;15062:37;;;15079:18;;:::i;15110:127::-;15171:10;15166:3;15162:20;15159:1;15152:31;15202:4;15199:1;15192:15;15226:4;15223:1;15216:15;15242:125;15307:9;;;15328:10;;;15325:36;;;15341:18;;:::i;15372:168::-;15445:9;;;15476;;15493:15;;;15487:22;;15473:37;15463:71;;15514:18;;:::i;15545:127::-;15606:10;15601:3;15597:20;15594:1;15587:31;15637:4;15634:1;15627:15;15661:4;15658:1;15651:15;15677:120;15717:1;15743;15733:35;;15748:18;;:::i;:::-;-1:-1:-1;15782:9:1;;15677:120::o;17321:348::-;17523:2;17505:21;;;17562:2;17542:18;;;17535:30;-1:-1:-1;;;17596:2:1;17581:18;;17574:54;17660:2;17645:18;;17321:348::o;17674:336::-;17876:2;17858:21;;;17915:2;17895:18;;;17888:30;-1:-1:-1;;;17949:2:1;17934:18;;17927:42;18001:2;17986:18;;17674:336::o;18991:135::-;19030:3;19051:17;;;19048:43;;19071:18;;:::i;:::-;-1:-1:-1;19118:1:1;19107:13;;18991:135::o;19131:340::-;19333:2;19315:21;;;19372:2;19352:18;;;19345:30;-1:-1:-1;;;19406:2:1;19391:18;;19384:46;19462:2;19447:18;;19131:340::o;19813:251::-;19883:6;19936:2;19924:9;19915:7;19911:23;19907:32;19904:52;;;19952:1;19949;19942:12;19904:52;19984:9;19978:16;20003:31;20028:5;20003:31;:::i;20195:545::-;20297:2;20292:3;20289:11;20286:448;;;20333:1;20358:5;20354:2;20347:17;20403:4;20399:2;20389:19;20473:2;20461:10;20457:19;20454:1;20450:27;20444:4;20440:38;20509:4;20497:10;20494:20;20491:47;;;-1:-1:-1;20532:4:1;20491:47;20587:2;20582:3;20578:12;20575:1;20571:20;20565:4;20561:31;20551:41;;20642:82;20660:2;20653:5;20650:13;20642:82;;;20705:17;;;20686:1;20675:13;20642:82;;20916:1352;21042:3;21036:10;-1:-1:-1;;;;;21061:6:1;21058:30;21055:56;;;21091:18;;:::i;:::-;21120:97;21210:6;21170:38;21202:4;21196:11;21170:38;:::i;:::-;21164:4;21120:97;:::i;:::-;21272:4;;21336:2;21325:14;;21353:1;21348:663;;;;22055:1;22072:6;22069:89;;;-1:-1:-1;22124:19:1;;;22118:26;22069:89;-1:-1:-1;;20873:1:1;20869:11;;;20865:24;20861:29;20851:40;20897:1;20893:11;;;20848:57;22171:81;;21318:944;;21348:663;20142:1;20135:14;;;20179:4;20166:18;;-1:-1:-1;;21384:20:1;;;21502:236;21516:7;21513:1;21510:14;21502:236;;;21605:19;;;21599:26;21584:42;;21697:27;;;;21665:1;21653:14;;;;21532:19;;21502:236;;;21506:3;21766:6;21757:7;21754:19;21751:201;;;21827:19;;;21821:26;-1:-1:-1;;21910:1:1;21906:14;;;21922:3;21902:24;21898:37;21894:42;21879:58;21864:74;;21751:201;-1:-1:-1;;;;;21998:1:1;21982:14;;;21978:22;21965:36;;-1:-1:-1;20916:1352:1:o;22273:349::-;22475:2;22457:21;;;22514:2;22494:18;;;22487:30;-1:-1:-1;;;22548:2:1;22533:18;;22526:55;22613:2;22598:18;;22273:349::o;22627:355::-;22829:2;22811:21;;;22868:2;22848:18;;;22841:30;22907:33;22902:2;22887:18;;22880:61;22973:2;22958:18;;22627:355::o;23753:348::-;23955:2;23937:21;;;23994:2;23974:18;;;23967:30;-1:-1:-1;;;24028:2:1;24013:18;;24006:54;24092:2;24077:18;;23753:348::o;24926:354::-;25128:2;25110:21;;;25167:2;25147:18;;;25140:30;25206:32;25201:2;25186:18;;25179:60;25271:2;25256:18;;24926:354::o;26801:722::-;26851:3;26892:5;26886:12;26921:36;26947:9;26921:36;:::i;:::-;26976:1;26993:18;;;27020:133;;;;27167:1;27162:355;;;;26986:531;;27020:133;-1:-1:-1;;27053:24:1;;27041:37;;27126:14;;27119:22;27107:35;;27098:45;;;-1:-1:-1;27020:133:1;;27162:355;27193:5;27190:1;27183:16;27222:4;27267:2;27264:1;27254:16;27292:1;27306:165;27320:6;27317:1;27314:13;27306:165;;;27398:14;;27385:11;;;27378:35;27441:16;;;;27335:10;;27306:165;;;27310:3;;;27500:6;27495:3;27491:16;27484:23;;26986:531;;;;;26801:722;;;;:::o;27528:927::-;27901:3;27939:6;27933:13;27955:66;28014:6;28009:3;28002:4;27994:6;27990:17;27955:66;:::i;:::-;28084:13;;28043:16;;;;28106:70;28084:13;28043:16;28153:4;28141:17;;28106:70;:::i;:::-;-1:-1:-1;;;28198:20:1;;28227:18;;;28270:13;;28292:78;28270:13;28357:1;28346:13;;28339:4;28327:17;;28292:78;:::i;:::-;28386:63;28446:1;28435:8;28428:5;28424:20;28420:28;28412:6;28386:63;:::i;:::-;28379:70;27528:927;-1:-1:-1;;;;;;;;27528:927:1:o;28460:576::-;28684:3;28722:6;28716:13;28738:66;28797:6;28792:3;28785:4;28777:6;28773:17;28738:66;:::i;:::-;28867:13;;28826:16;;;;28889:70;28867:13;28826:16;28936:4;28924:17;;28889:70;:::i;:::-;28975:55;29020:8;29013:5;29009:20;29001:6;28975:55;:::i;30233:136::-;30272:3;30300:5;30290:39;;30309:18;;:::i;:::-;-1:-1:-1;;;30345:18:1;;30233:136::o;30735:611::-;-1:-1:-1;;;31093:3:1;31086:23;31068:3;31138:6;31132:13;31154:74;31221:6;31217:1;31212:3;31208:11;31201:4;31193:6;31189:17;31154:74;:::i;:::-;-1:-1:-1;;;31287:1:1;31247:16;;;;31279:10;;;31272:41;-1:-1:-1;31337:2:1;31329:11;;30735:611;-1:-1:-1;30735:611:1:o;32116:416::-;32318:2;32300:21;;;32357:2;32337:18;;;32330:30;32396:34;32391:2;32376:18;;32369:62;-1:-1:-1;;;32462:2:1;32447:18;;32440:50;32522:3;32507:19;;32116:416::o;32898:624::-;-1:-1:-1;;;33256:3:1;33249:23;33231:3;33301:6;33295:13;33317:74;33384:6;33380:1;33375:3;33371:11;33364:4;33356:6;33352:17;33317:74;:::i;:::-;33454:34;33450:1;33410:16;;;;33442:10;;;33435:54;-1:-1:-1;33513:2:1;33505:11;;32898:624;-1:-1:-1;32898:624:1:o;33887:427::-;34147:1;34142:3;34135:14;34117:3;34178:6;34172:13;34194:74;34261:6;34257:1;34252:3;34248:11;34241:4;34233:6;34229:17;34194:74;:::i;:::-;34288:16;;;;34306:1;34284:24;;33887:427;-1:-1:-1;;33887:427:1:o;34319:200::-;34385:9;;;34358:4;34413:9;;34441:10;;34453:12;;;34437:29;34476:12;;;34468:21;;34434:56;34431:82;;;34493:18;;:::i;34524:193::-;34563:1;34589;34579:35;;34594:18;;:::i;:::-;-1:-1:-1;;;34630:18:1;;-1:-1:-1;;34650:13:1;;34626:38;34623:64;;;34667:18;;:::i;:::-;-1:-1:-1;34701:10:1;;34524:193::o;35136:1050::-;35648:66;35643:3;35636:79;35618:3;35744:6;35738:13;35760:75;35828:6;35823:2;35818:3;35814:12;35807:4;35799:6;35795:17;35760:75;:::i;:::-;-1:-1:-1;;;35894:2:1;35854:16;;;35886:11;;;35879:71;35975:13;;35997:76;35975:13;36059:2;36051:11;;36044:4;36032:17;;35997:76;:::i;:::-;-1:-1:-1;;;36133:2:1;36092:17;;;;36125:11;;;36118:35;36177:2;36169:11;;35136:1050;-1:-1:-1;;;;35136:1050:1:o;36191:461::-;36453:31;36448:3;36441:44;36423:3;36514:6;36508:13;36530:75;36598:6;36593:2;36588:3;36584:12;36577:4;36569:6;36565:17;36530:75;:::i;:::-;36625:16;;;;36643:2;36621:25;;36191:461;-1:-1:-1;;36191:461:1:o;39465:417::-;39667:2;39649:21;;;39706:2;39686:18;;;39679:30;39745:34;39740:2;39725:18;;39718:62;-1:-1:-1;;;39811:2:1;39796:18;;39789:51;39872:3;39857:19;;39465:417::o;39887:691::-;-1:-1:-1;;;40262:16:1;;40333:3;40311:16;;;-1:-1:-1;;;;;;40307:43:1;40303:1;40294:11;;40287:64;-1:-1:-1;;;40376:1:1;40367:11;;40360:51;40434:13;;-1:-1:-1;;40456:75:1;40434:13;40519:2;40510:12;;40503:4;40491:17;;40456:75;:::i;:::-;40551:16;;;;40569:2;40547:25;;39887:691;-1:-1:-1;;;39887:691:1:o;42163:489::-;-1:-1:-1;;;;;42432:15:1;;;42414:34;;42484:15;;42479:2;42464:18;;42457:43;42531:2;42516:18;;42509:34;;;42579:3;42574:2;42559:18;;42552:31;;;42357:4;;42600:46;;42626:19;;42618:6;42600:46;:::i;:::-;42592:54;42163:489;-1:-1:-1;;;;;;42163:489:1:o;42657:249::-;42726:6;42779:2;42767:9;42758:7;42754:23;42750:32;42747:52;;;42795:1;42792;42785:12;42747:52;42827:9;42821:16;42846:30;42870:5;42846:30;:::i;42911:127::-;42972:10;42967:3;42963:20;42960:1;42953:31;43003:4;43000:1;42993:15;43027:4;43024:1;43017:15

Swarm Source

ipfs://3d061d89e59dff1e2fc61b06eda80aac5089f5e83a7499259c8a3e4b38120f32

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.