SYMBOL INDEX (230 symbols across 70 files) FILE: components/Announcement.js constant ACTIVE (line 4) | const ACTIVE = false function Toast (line 8) | function Toast() { FILE: components/ApiContext.js function useAPI (line 6) | function useAPI() { FILE: components/AuthContext.js function useAuth (line 8) | function useAuth() { function AuthContext (line 12) | function AuthContext(props) { FILE: components/BackgroundSelect.js function validateColor (line 10) | function validateColor(str) { class BackgroundSelect (line 16) | class BackgroundSelect extends React.PureComponent { method render (line 25) | render() { FILE: components/Billing.js function Billing (line 26) | function Billing() { FILE: components/Carbon.js function searchLanguage (line 33) | function searchLanguage(l) { function noop (line 37) | function noop() {} function getUnderline (line 38) | function getUnderline(underline) { class Carbon (line 52) | class Carbon extends React.PureComponent { method render (line 148) | render() { function useModeLoader (line 386) | function useModeLoader() { function useHighlightLoader (line 405) | function useHighlightLoader() { function selectedLinesReducer (line 417) | function selectedLinesReducer( function useSelectedLines (line 457) | function useSelectedLines(props, editorRef) { function useShowInvisiblesLoader (line 492) | function useShowInvisiblesLoader() { function CarbonContainer (line 496) | function CarbonContainer(props, ref) { FILE: components/ColorPicker.js function ColorPicker (line 13) | function ColorPicker(props) { FILE: components/ConfirmButton.js function ConfirmButton (line 4) | function ConfirmButton(props) { FILE: components/CopyMenu.js function CopyButton (line 26) | function CopyButton(props) { function CopyEmbed (line 37) | function CopyEmbed({ mapper, title }) { function useClipboardSupport (line 47) | function useClipboardSupport() { function CopyMenu (line 59) | function CopyMenu({ isVisible, toggleVisibility, copyImage, carbonRef }) { FILE: components/Dropdown.js class Dropdown (line 9) | class Dropdown extends React.PureComponent { method render (line 60) | render() { FILE: components/Editor.js class Editor (line 48) | class Editor extends React.Component { method componentDidMount (line 57) | async componentDidMount() { method render (line 321) | render() { FILE: components/EditorContainer.js function onReset (line 13) | function onReset() { function toastsReducer (line 26) | function toastsReducer(curr, action) { function EditorContainer (line 38) | function EditorContainer(props) { FILE: components/ExportMenu.js function preventDefault (line 13) | function preventDefault(fn) { function ExportMenu (line 20) | function ExportMenu({ onChange, exportSize, isVisible, toggleVisibility,... FILE: components/FontFace.js function FontFace (line 3) | function FontFace(config) { FILE: components/FontSelect.js constant EXTENSIONS (line 7) | const EXTENSIONS = ['.otf', '.ttf', '.woff'] function FontSelect (line 24) | function FontSelect(props) { FILE: components/ImagePicker.js constant INITIAL_STATE (line 40) | const INITIAL_STATE = { class ImagePicker (line 49) | class ImagePicker extends React.Component { method getDerivedStateFromProps (line 51) | static getDerivedStateFromProps(nextProps, state) { method render (line 174) | render() { function GeneratePaletteSetting (line 354) | function GeneratePaletteSetting({ onChange }) { FILE: components/ListSetting.js class ListSetting (line 7) | class ListSetting extends React.Component { method renderListItems (line 27) | renderListItems() { method render (line 62) | render() { FILE: components/LoginButton.js function Drawer (line 9) | function Drawer(props) { function LoginButton (line 48) | function LoginButton({ isVisible, toggleVisibility }) { FILE: components/Meta.js constant CODEMIRROR_VERSION (line 8) | const CODEMIRROR_VERSION = '5.65.5' constant HIGHLIGHTS_ONLY (line 10) | const HIGHLIGHTS_ONLY = ['shades-of-purple', 'vscode', 'a11y-dark'] constant LOCAL_STYLESHEETS (line 11) | const LOCAL_STYLESHEETS = ['one-light', 'one-dark', 'verminal', 'night-o... constant CDN_STYLESHEETS (line 12) | const CDN_STYLESHEETS = THEMES.filter( function Link (line 16) | function Link({ href }) { FILE: components/Page.js constant COLUMN (line 9) | const COLUMN = ` class Page (line 15) | class Page extends React.Component { method render (line 16) | render() { FILE: components/PhotoCredit.js function PhotoCredit (line 3) | function PhotoCredit({ photographer }) { FILE: components/Popout.js class PopoutManager (line 9) | class PopoutManager extends React.Component { method componentDidMount (line 24) | componentDidMount() { method componentWillUnmount (line 28) | componentWillUnmount() { method render (line 32) | render() { class Popout (line 46) | class Popout extends React.PureComponent { method render (line 52) | render() { FILE: components/RandomImage.js function RandomImage (line 8) | function RandomImage(props) { FILE: components/ReferralLink.js function ReferralLink (line 5) | function ReferralLink(props) { FILE: components/SelectionEditor.js function ModifierButton (line 8) | function ModifierButton(props) { function reducer (line 24) | function reducer(state, action) { function SelectionEditor (line 54) | function SelectionEditor({ onChange }) { FILE: components/Settings.js function KeyboardShortcut (line 18) | function KeyboardShortcut({ trigger, handle }) { function WindowSettings (line 23) | function WindowSettings({ function EditorSettings (line 123) | function EditorSettings({ function MiscSettings (line 195) | function MiscSettings({ format, reset, applyPreset, settings }) { class Settings (line 264) | class Settings extends React.PureComponent { method componentDidMount (line 276) | componentDidMount() { method render (line 420) | render() { FILE: components/ShareMenu.js function ShareMenu (line 12) | function ShareMenu({ isVisible, toggleVisibility, tweet, imgur }) { FILE: components/Slider.js class Slider (line 5) | class Slider extends React.Component { method render (line 16) | render() { FILE: components/SnippetToolbar.js function DeleteButton (line 16) | function DeleteButton(props) { function DuplicateButton (line 35) | function DuplicateButton(props) { function SaveButton (line 55) | function SaveButton({ loading, onClick, sameUser }) { function SnippetToolbar (line 85) | function SnippetToolbar({ toggleVisibility, isVisible, snippet, ...props... FILE: components/Spinner.js function Spinner (line 3) | function Spinner({ size = 24 }) { FILE: components/ThemeSelect.js constant WINDOW_THEMES_MAP (line 6) | const WINDOW_THEMES_MAP = { none: None, sharp: Sharp, bw: BW, boxy: Boxy } class ThemeSelect (line 8) | class ThemeSelect extends React.Component { method renderThemes (line 15) | renderThemes() { method render (line 56) | render() { FILE: components/Themes/GlobalHighlights.js function GlobalHighlights (line 4) | function GlobalHighlights({ highlights }) { FILE: components/Themes/index.js class Themes (line 60) | class Themes extends React.PureComponent { method getDerivedStateFromProps (line 67) | static getDerivedStateFromProps(props) { method render (line 95) | render() { FILE: components/Toasts.js function Toast (line 3) | function Toast(props) { function ToastContainer (line 93) | function ToastContainer(props) { FILE: components/Toggle.js class Toggle (line 6) | class Toggle extends React.PureComponent { method render (line 13) | render() { FILE: components/WidthHandler.js function clamp (line 6) | function clamp(value, min, max) { function WidthHandler (line 16) | function WidthHandler({ FILE: components/WindowControls.js constant WINDOW_THEMES_MAP (line 39) | const WINDOW_THEMES_MAP = { bw: , boxy: } function TitleBar (line 41) | function TitleBar({ light, value, onChange }) { function WindowControls (line 82) | function WindowControls({ FILE: components/WindowPointer.js function WindowPointer (line 3) | function WindowPointer({ fromLeft, fromRight, color = '#fff' }) { FILE: components/hooks.js function userTiming (line 3) | function userTiming({ category, status, value }) { function usePerformanceMeasurement (line 15) | function usePerformanceMeasurement() { FILE: components/style/Font.js function Font (line 8) | function Font() { FILE: components/style/Reset.js function Reset (line 4) | function Reset() { FILE: components/style/Typography.js function Typography (line 3) | function Typography() { FILE: components/svg/Checkmark.js function Checkmark (line 3) | function Checkmark({ width = 18, height = 18, color = '#FFFFFF' }) { FILE: components/svg/Copy.js constant SVG_RATIO (line 3) | const SVG_RATIO = 0.81 FILE: components/svg/Language.js function Language (line 3) | function Language() { FILE: components/svg/Logo.js function Logo (line 3) | function Logo() { FILE: components/svg/Remove.js function Remove (line 3) | function Remove({ color = 'black', style }) { FILE: components/svg/Settings.js function Settings (line 3) | function Settings() { FILE: components/svg/Theme.js function Theme (line 3) | function Theme() { FILE: components/svg/Watermark.js function Watermark (line 3) | function Watermark({ light }) { FILE: lib/api.js function tweet (line 16) | function tweet(content, encodedImage) { constant RATE_LIMIT_CODE (line 31) | const RATE_LIMIT_CODE = 420 function checkIfRateLimited (line 32) | function checkIfRateLimited(err) { function openTwitterUrl (line 43) | function openTwitterUrl(twitterUrl) { method download (line 62) | download(id) { method random (line 65) | async random() { function getSnippet (line 92) | function getSnippet(uid = '', { host, filename } = {}) { function listSnippets (line 105) | function listSnippets(page) { function updateSnippet (line 128) | function updateSnippet(uid, state) { function deleteSnippet (line 152) | function deleteSnippet(uid) { FILE: lib/client.js function logout (line 18) | function logout() { function login (line 22) | function login(provider) { function loginGitHub (line 30) | function loginGitHub() { FILE: lib/constants.js constant FONTS (line 3) | const FONTS = [ constant HIGHLIGHT_KEYS (line 19) | const HIGHLIGHT_KEYS = [ constant THEMES (line 34) | const THEMES = [ constant THEMES_HASH (line 622) | const THEMES_HASH = toHash(THEMES) constant LANGUAGES (line 624) | const LANGUAGES = [ constant EXPORT_SIZES (line 1046) | const EXPORT_SIZES = [ constant EXPORT_SIZES_HASH (line 1052) | const EXPORT_SIZES_HASH = toHash(EXPORT_SIZES) constant LANGUAGE_MIME_HASH (line 1054) | const LANGUAGE_MIME_HASH = toHash(LANGUAGES, 'mime') constant LANGUAGE_MODE_HASH (line 1055) | const LANGUAGE_MODE_HASH = toHash(LANGUAGES, 'mode') constant LANGUAGE_NAME_HASH (line 1056) | const LANGUAGE_NAME_HASH = toHash(LANGUAGES, 'short') constant DEFAULT_LANGUAGE (line 1058) | const DEFAULT_LANGUAGE = 'auto' constant DEFAULT_THEME (line 1059) | const DEFAULT_THEME = THEMES_HASH.seti constant DEFAULT_BG_COLOR (line 1060) | const DEFAULT_BG_COLOR = 'rgba(171, 184, 195, 1)' constant DEFAULT_EXPORT_SIZE (line 1061) | const DEFAULT_EXPORT_SIZE = EXPORT_SIZES_HASH['2x'] constant COLORS (line 1063) | const COLORS = { constant DEFAULT_CODE (line 1077) | const DEFAULT_CODE = `const pluckDeep = key => obj => key.split('.').red... constant DEFAULT_SETTINGS (line 1089) | const DEFAULT_SETTINGS = { constant DEFAULT_WIDTHS (line 1117) | const DEFAULT_WIDTHS = { constant DEFAULT_PRESETS (line 1122) | const DEFAULT_PRESETS = [ FILE: lib/custom/autoCloseBrackets.js function getOption (line 26) | function getOption(conf, name) { function ensureBound (line 33) | function ensureBound(chars) { function handler (line 42) | function handler(ch) { function getConfig (line 48) | function getConfig(cm) { function handleBackspace (line 55) | function handleBackspace(cm) { function handleEnter (line 72) | function handleEnter(cm) { function moveSel (line 96) | function moveSel(cm, dir) { function contractSelection (line 112) | function contractSelection(sel) { function handleChar (line 120) | function handleChar(cm, ch) { function charsAround (line 203) | function charsAround(cm, pos) { function stringStartsAfter (line 208) | function stringStartsAfter(cm, pos) { FILE: lib/custom/modes/nim.js function wordRegexp (line 6) | function wordRegexp(words) { function tokenBase (line 343) | function tokenBase(stream, state) { function tokenStringFactory (line 449) | function tokenStringFactory(delimiter) { function indent (line 482) | function indent(stream, state, type) { function dedent (line 506) | function dedent(stream, state, type) { function tokenLexer (line 539) | function tokenLexer(stream, state) { FILE: lib/custom/modes/riscv.js function regexFromWords (line 14) | function regexFromWords(words, ins) { function normal (line 605) | function normal(stream, state) { function string (line 640) | function string(quote) { FILE: lib/custom/modes/solidity.js function tokenBase (line 207) | function tokenBase(stream, state) { function tokenString (line 373) | function tokenString(quote) { function tokenComment (line 390) | function tokenComment(stream, state) { function isVersion (line 403) | function isVersion(stream, state) { function isNumber (line 414) | function isNumber(ch, stream) { function isValidInteger (line 427) | function isValidInteger(token) { function isValidBytes (line 435) | function isValidBytes(token) { function isValidFixed (line 443) | function isValidFixed(token) { function updateHexLiterals (line 451) | function updateHexLiterals(token, stream) { function updateGarmmer (line 473) | function updateGarmmer(ch, state) { function Context (line 507) | function Context(indented, column, type, align, prev) { function pushContext (line 514) | function pushContext(state, col, type) { function popContext (line 517) | function popContext(state) { FILE: lib/dom-to-image.js function toSvg (line 54) | function toSvg(node, options) { function toPixelData (line 93) | function toPixelData(node, options) { function toPng (line 104) | function toPng(node, options) { function toJpeg (line 117) | function toJpeg(node, options) { function toBlob (line 129) | function toBlob(node, options) { function copyOptions (line 135) | function copyOptions(options) { function draw (line 150) | function draw(domNode, options) { function cloneNode (line 177) | function cloneNode(node, filter, root) { function embedFonts (line 311) | function embedFonts(node) { function inlineImages (line 320) | function inlineImages(node) { function makeSvgDataUri (line 326) | function makeSvgDataUri(node, width, height, escapePercentSign) { function newUtil (line 354) | function newUtil() { function newInliner (line 582) | function newInliner() { function newFontFaces (line 648) | function newFontFaces() { function newImages (line 714) | function newImages() { FILE: lib/routing.js constant URL_LIMIT (line 6) | const URL_LIMIT = 4e3 function getQueryStringState (line 146) | function getQueryStringState(query) { function fixAsPathEncoding (line 151) | function fixAsPathEncoding(asPath) { FILE: lib/util.js constant SETTINGS_KEY (line 5) | const SETTINGS_KEY = 'CARBON_STATE' constant PRESETS_KEY (line 6) | const PRESETS_KEY = 'CARBON_PRESETS' constant THEMES_KEY (line 7) | const THEMES_KEY = 'CARBON_THEMES' FILE: next.config.js method headers (line 35) | headers() { method rewrites (line 62) | rewrites() { method redirects (line 65) | redirects() { FILE: pages/[id].js function getServerSideProps (line 8) | async function getServerSideProps({ req, res, query }) { FILE: pages/_document.js class Doc (line 4) | class Doc extends Document { method render (line 5) | render() { FILE: pages/about.js function Contributors (line 4) | function Contributors() { function About (line 43) | function About() { FILE: pages/account.js function logoutThunk (line 18) | function logoutThunk() { function Plan (line 24) | function Plan({ selectBilling }) { function Settings (line 177) | function Settings() { function SettingsPage (line 248) | function SettingsPage() { FILE: pages/api/image/[id].js constant DOM_TO_IMAGE_URL (line 7) | const DOM_TO_IMAGE_URL = 'https://unpkg.com/dom-to-image@2.6.0/dist/dom-... constant NOTO_COLOR_EMOJI_URL (line 8) | const NOTO_COLOR_EMOJI_URL = function id (line 19) | async function id(req, res) { FILE: pages/embed/[id].js function getServerSideProps (line 8) | async function getServerSideProps({ req, res, query }) { FILE: pages/embed/index.js class Embed (line 41) | class Embed extends React.Component { method componentDidMount (line 53) | async componentDidMount() { method render (line 98) | render() { FILE: pages/index.js class Index (line 11) | class Index extends React.Component { method componentDidMount (line 12) | componentDidMount() { method componentWillUnmount (line 17) | componentWillUnmount() { method render (line 27) | render() { FILE: pages/snippets.js function correctTimestamp (line 20) | function correctTimestamp(n) { function Snippet (line 27) | function Snippet(props) { function ActionButton (line 155) | function ActionButton(props) { function useOnMount (line 169) | function useOnMount() { function SnippetsPage (line 178) | function SnippetsPage() { function Snippets (line 245) | function Snippets() {