<commit_before>/// <reference path="../typings/react/react.d.ts"/>

import * as React from "react";

const toolOverlayStyle:React.CSSProperties = {
    background: "#000",
    opacity: .2,
    zIndex: 3,
    boxSizing: "border-box",
    backgroundClip: "padding",
    position: "fixed",
    visibility: "hidden",
    pointerEvents: "none"
};

export interface IToolOverlayProps extends React.Props<ToolOverlay>
{
}

export interface IToolOverlayState
{
    style: React.CSSProperties;
}
export default class ToolOverlay extends React.Component<IToolOverlayProps, IToolOverlayState>
{
    constructor(props:IToolOverlayProps)
    {
        super(props);
        this.state = {
            style: toolOverlayStyle<commit_msg>fixed tool overlay positioning bug<commit_after>/// <reference path="../typings/react/react.d.ts"/>

import * as React from "react";

const toolOverlayStyle:React.CSSProperties = {
    background: "#000",
    opacity: .2,
    zIndex: 3,
    boxSizing: "border-box",
    backgroundClip: "padding",
    position: "absolute",
    visibility: "hidden",
    pointerEvents: "none"
};

export interface IToolOverlayProps extends React.Props<ToolOverlay>
{
}

export interface IToolOverlayState
{
    style: React.CSSProperties;
}
export default class ToolOverlay extends React.Component<IToolOverlayProps, IToolOverlayState>
{
    constructor(props:IToolOverlayProps)
    {
        super(props);
        this.state = {
            style: toolOverlayStyle
{'fraction_non_alphanumeric': 0.11564625850340136, 'fraction_numerical': 0.006802721088435374, 'mean_word_length': 3.729903536977492, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3999551', 'n_tokens_mistral': 431, 'n_tokens_neox': 442, 'n_words': 99}