<commit_before>import * as React from "react"
import styled from "styled-components"

import { PrismLight as SyntaxHighlighter } from "react-syntax-highlighter"

const theme = require("react-syntax-highlighter/dist/esm/styles/prism/vs")
const sql = require("react-syntax-highlighter/dist/esm/languages/prism/sql")

SyntaxHighlighter.registerLanguage("sql", sql)

const CodeTag = styled.code`
  white-space: pre-wrap !important;
  word-break: break-word !important;
`

export const SQLSnippet = ({ src }: { src: string }) => {
  return (
    <SyntaxHighlighter
      language="sql"
      CodeTag={CodeTag}
      style={{
        ...theme,
        hljs: { margin: "0" }
      }}
    >
      {src}
    </SyntaxHighlighter>
  )
}<commit_msg>jeeze<commit_after>import * as React from "react"
import styled from "styled-components"

import { PrismLight as SyntaxHighlighter } from "react-syntax-highlighter"

const theme = require("react-syntax-highlighter/dist/esm/styles/prism/vs")
  .default
const sql = require("react-syntax-highlighter/dist/esm/languages/prism/sql")
  .default

SyntaxHighlighter.registerLanguage("sql", sql)

const CodeTag = styled.code`
  white-space: pre-wrap !important;
  word-break: break-word !important;
`

export const SQLSnippet = ({ src }: { src: string }) => {
  return (
    <SyntaxHighlighter
      language="sql"
      CodeTag={CodeTag}
      style={{
        ...theme,
        hljs: { margin: "0" }
      }}
    >
      {src}
    </SyntaxHighlighter>
  )
}
{'fraction_non_alphanumeric': 0.13844086021505375, 'fraction_numerical': 0.0013440860215053765, 'mean_word_length': 3.3411078717201166, 'pattern_counts': {'":': 0, '<': 7, '<?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': '2440393', 'n_tokens_mistral': 504, 'n_tokens_neox': 492, 'n_words': 100}