{"version":3,"sources":["config/examples.js","store/actions/index.js","notifications/SnackbarContent/useStyles.js","notifications/SnackbarContent/SnackbarContent.js","notifications/SnackbarContent/index.js","notifications/index.js","store/effects/monaco-themes-master/themes lazy /^/.//.*/.json$/ groupOptions: {} namespace object","components/ErrorBoundaryFallback/useStyles.js","components/ErrorBoundaryFallback/ErrorBoundaryFallback.js","components/ErrorBoundaryFallback/index.js","sections/Header/index.js","layout/Header/useStyles.js","layout/Header/index.js","layout/index.js","App.js","serviceWorker.js","index.js","store/state/index.js","store/effects/index.js","store/index.js","config/index.js","utils/resetApp.js","utils/device.js","utils/isMobile.js","utils/isDesktop.js","components/Loading/useStyles.js","components/Loading/index.js","utils/asyncComponentLoader.js","utils/rTabs.js","utils/index.js","theme/getTheme.js","theme/ThemeProvider.js","theme/myPaper.js","theme/CustomTextField.js","theme/index.js"],"names":["examples","1","rTabs","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","setIsSettingsVisible","_ref","value","state","isSettingsVisible","setSelectedMenuItem","_ref2","menuItem","selectedMenuItem","setThemeMode","_ref3","themeMode","localStorage","setItem","setEditorMode","_ref4","editorMode","showNotification","_ref5","_ref6","message","variant","opt","console","log","notifications","isActive","hideNotification","_ref7","setSelectedLanguageId","type","_ref8","id","selectedLanguageId","editor","setOptions","_ref9","options","setMonacoTheme","_ref10","theme","monacoTheme","diffEditor","defineAndSetThemeBackground","async","_ref11","actions","effects","themeData","defineTheme","setThemeBackground","colors","_ref12","color","themeBackground","setFontColor","_ref13","fontColor","executeCode","code","inputData","input_values","fetch","method","headers","body","JSON","stringify","then","response","json","data","setIsEditorReady","_ref14","isReady","isEditorReady","setEditorTab","_ref15","tabIndex","editorTab","setOpenedFile","_ref16","file","openedFile","setLastOpenedFile","_ref17","lastOpenedFile","setRecentFile","_ref18","recentFile","setLastPlaygroundFile","_ref19","lastPlaygroundFile","updateOpenedFilePath","_ref20","path","openedFilePath","setFilesInDirectory","files","payload","updateFileContent","fileId","content","setNewCode","_ref21","newCode","setUiContext","_ref22","uiContext","setUser","_ref23","user","setHasOpenedFile","_ref24","hasOpenedFile","resetFileSystemState","_ref25","fileSystem","name","filesInDirectory","selectedFile","currentFilePath","currentFileName","editorContent","setShowOverlay","_ref26","showOverlay","useStyles","makeStyles","success","backgroundColor","green","error","palette","dark","info","primary","warning","amber","icon","fontSize","iconVariant","opacity","marginRight","spacing","display","alignItems","common","white","flexWrap","variantIcon","CheckCircleIcon","WarningIcon","ErrorIcon","InfoIcon","SnackbarContentWrapper","SnackbarContent","props","classes","className","onClose","other","Icon","React","createElement","Object","assign","classNames","aria-describedby","action","IconButton","key","aria-label","onClick","CloseIcon","Notifications","useStore","Snackbar","open","config","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","e","Error","ids","all","slice","t","keys","module","exports","wrapper","height","justifyContent","paper","padding","width","paddingLeft","buttons","marginTop","ErrorBoundaryFallback","_","Paper","Typography","component","messages","errorBoundary","somethingWentWrong","Button","target","rel","href","links","github","openIssue","src","urls","octocatIcon","alt","resetApp","ResetIcon","lazy","root","flexGrow","marginBottom","mixins","toolbar","minHeight","HeaderSection","asyncComponentLoader","HeaderLoader","Header","Layout","MuiThemeProvider","App","ErrorBoundary","FallbackComponent","Boolean","window","location","hostname","match","ReactDOM","render","Provider","store","document","getElementById","navigator","serviceWorker","ready","registration","unregister","DEFAULT_GUEST_FILE_CONTENT","initialState","isSideBarVisible","defaultState","inlayHintsOptions","acceptSuggestionOnCommitCharacter","acceptSuggestionOnEnter","accessibilitySupport","autoIndent","automaticLayout","codeLens","colorDecorators","contextmenu","cursorBlinking","cursorSmoothCaretAnimation","cursorStyle","disableLayerHinting","disableMonospaceOptimizations","dragAndDrop","fixedOverflowWidgets","folding","foldingStrategy","fontFamily","fontLigatures","formatOnPaste","formatOnType","hideCursorInOverviewRuler","highlightActiveIndentGuide","lineHeight","minimap","enabled","scrollbar","useShadows","horizontalSliderSize","verticalSliderSize","stickyScroll","mouseWheelZoom","multiCursorMergeOverlapping","multiCursorModifier","overviewRulerBorder","overviewRulerLanes","provideInlayHints","quickSuggestions","quickSuggestionsDelay","readOnly","renderControlCharacters","renderFinalNewline","renderIndentGuides","renderLineHighlight","renderWhitespace","revealHorizontalRightPadding","roundedSelection","rulers","scrollBeyondLastColumn","scrollBeyondLastLine","selectOnLineNumbers","selectionClipboard","selectionHighlight","showFoldingControls","smoothScrolling","suggestOnTriggerCharacters","wordBasedSuggestions","wordSeparators","wordWrap","wordWrapBreakAfterCharacters","wordWrapBreakBeforeCharacters","wordWrapBreakObtrusiveCharacters","wordWrapColumn","wordWrapMinified","wrappingIndent","screenshot","ai_editorValue","shouldCloseFileSystemConnection","res","loader","init","monacoThemes","monaco","createOvermind","createHook","anchorOrigin","vertical","horizontal","autoHideDuration","invalidOptions","themeModeIcon","IEditorOptions","defaultThemes","supportedLanguages","Device","userAgent","device","mobile","tablet","phone","preloader","position","left","top","Loading","elevation","square","CircularProgress","size","wrapperStyles","flexShrink","WaitingCompLoader","style","isLoading","Component","Suspense","fallback","str","trim","replace","getTheme","children","createTheme","components","MuiTab","styleOverrides","textTransform","font","letterSpacing","fontWeight","mode","main","background","second_paper","text","secondary","contrast","border","ThemeProvider","MyPaperComp","styled","MyPaper","themeBkgd","setThemeBkgd","useState","fontClr","setFontClr","useEffect","StyledTextField","TextField","borderBottomColor","CustomTextField"],"mappings":"8FAAA,WAGA,MAAMA,EAAW,CACfC,EAAGC,YAAM,yYASTC,EAAGD,YAAM,4RAOTE,EAAGF,YAAM,ycAeTG,EAAGH,YAAM,i4LAmNTI,EAAGJ,YAAM,0qDAwDTK,EAAGL,YAAM,gjBA8BTM,EAAGN,YAAM,itBAiCTO,EAAGP,YAAM,whBAyBTQ,EAAGR,YAAM,+HACTS,GAAIT,YAAM,yhCAoCVU,GAAIV,YAAM,+FAMVW,GAAIX,YAAM,6Q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A0B,CACzB,IACA,IAED,gBAAiB,CAChB,IACA,IAED,gBAAiB,CAChB,IACA,IAED,iBAAkB,CACjB,IACA,IAED,mBAAoB,CACnB,IACA,IAED,cAAe,CACd,IACA,IAED,sBAAuB,CACtB,IACA,IAED,iBAAkB,CACjB,IACA,IAED,qBAAsB,CACrB,IACA,IAED,gBAAiB,CAChB,IACA,IAED,wBAAyB,CACxB,IACA,IAED,qBAAsB,CACrB,IACA,IAED,sBAAuB,CACtB,IACA,IAED,gBAAiB,CAChB,IACA,IAED,cAAe,CACd,IACA,IAED,qBAAsB,CACrB,IACA,IAED,sBAAuB,CACtB,IACA,IAED,cAAe,CACd,IACA,IAED,yBAA0B,CACzB,IACA,IAED,wBAAyB,CACxB,IACA,IAED,mBAAoB,CACnB,IACA,IAED,wBAAyB,CACxB,IACA,IAED,iBAAkB,CACjB,IACA,IAED,mBAAoB,CACnB,IACA,IAED,cAAe,CACd,IACA,IAED,sBAAuB,CACtB,IACA,IAED,yBAA0B,CACzB,IACA,IAED,2BAA4B,CAC3B,IACA,IAED,wBAAyB,CACxB,IACA,IAED,yBAA0B,CACzB,IACA,IAED,oBAAqB,CACpB,IACA,IAED,kBAAmB,CAClB,IACA,IAED,gCAAiC,CAChC,IACA,IAED,6BAA8B,CAC7B,IACA,IAED,+BAAgC,CAC/B,IACA,IAED,iCAAkC,CACjC,IACA,IAED,wBAAyB,CACxB,IACA,IAED,kBAAmB,CAClB,IACA,IAED,kBAAmB,CAClB,IACA,IAED,2BAA4B,CAC3B,IACA,IAED,qBAAsB,CACrB,IACA,IAED,uBAAwB,CACvB,IACA,IAED,sBAAuB,CACtB,IACA,IAED,kBAAmB,CAClB,IACA,IAED,qBAAsB,CACrB,IACA,IAED,iBAAkB,CACjB,IACA,IAED,wBAAyB,CACxB,IACA,IAED,mBAAoB,CACnB,IAED,sBAAuB,CACtB,IACA,KAGF,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QA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J,EAAatV,IACd,CAACA,IAEJ0V,oBAAU,KACND,EAAWtV,IACZ,CAACA,IAEG0G,IAAAC,cAACoO,EAAWnO,OAAAC,OAAA,GAAKT,EAAK,CAAEgN,MAAO,CAAEoB,WAAYU,EAAWtV,MAAOyV,O,oBCrB1E,MAAMG,EAAkBR,YAAOS,IAAPT,CAAkBxY,IAAA,IAAC,MAAEuC,EAAK,UAAEiB,EAAS,gBAAEyE,GAAiBjI,EAAA,MAAM,CAClF,0BAA2B,CACvBiI,gBAAiBA,EACjB7E,MAAOI,GAEX,qCAAsC,CAClC0V,kBAAmB3W,EAAM6F,QAAQG,QAAQwP,MAE7C,oCAAqC,CACjCmB,kBAAmB,WAEvB,uDAAwD,CACpD9V,MAAO,SAEX,0BAA2B,CACvBA,MAAO,WAEX,wBAAyB,CACrBA,MAAOI,GAGX,oCAAqC,CACjCJ,MAAO,WAEX,sCAAuC,CACnC,wBAAyB,CACrBA,MAAO,eAKN+V,EAAmBvP,IAC5B,MAAQ1J,OAAO,gBAAEmD,EAAe,UAAEG,IAAgBuH,eAC3C2N,EAAWC,GAAgBC,mBAASvV,IACpCwV,EAASC,GAAcF,mBAASpV,GAUvC,OARAuV,oBAAU,KACNJ,EAAatV,IACd,CAACA,IAEJ0V,oBAAU,KACND,EAAWtV,IACZ,CAACA,IAGA0G,IAAAC,cAAC6O,EAAe5O,OAAAC,OAAA,GACRT,EAAK,CACTpG,UAAWqV,EACX5Q,gBAAiByQ,EACjBtX,QAAQ,aCtDpB,uG","file":"static/js/main.7fcf77ae.chunk.js","sourcesContent":["/* eslint-disable */\nimport { rTabs } from 'utils';\n\nconst examples = {\n 1: rTabs(`\n /* Using a single database query, find all the leads in\n the database that have the same email address as any\n of the leads being inserted or updated. */\n for (Lead lead : [SELECT Email FROM Lead WHERE Email IN :leadMap.KeySet()]) {\n Lead newLead = leadMap.get(lead.Email);\n newLead.Email.addError('A lead with this email address already exists.');\n }\n `),\n 2: rTabs(`\n # Create a resource group.\n az group create --name myResourceGroup --location westeurope\n\n # Create a new virtual machine, this creates SSH keys if not present.\n az vm create --resource-group myResourceGroup --name myVM --image UbuntuLTS --generate-ssh-keys\n `),\n 3: rTabs(`\n rem *******Begin Comment**************\n rem This program starts the superapp batch program on the network,\n rem directs the output to a file, and displays the file\n rem in Notepad.\n rem *******End Comment**************\n @echo off\n if exist C:\\output.txt goto EMPTYEXISTS\n setlocal\n path=g:\\programs\\superapp;%path%\n call superapp>C:\\output.txt\n endlocal\n :EMPTYEXISTS\n start notepad c:\\output.txt\n `),\n 4: rTabs(`\n /* guuid.c - UUID functions\n *\n * Copyright (C) 2013-2015, 2017 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of the\n * licence, or (at your option) any later version.\n *\n * This is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public\n * License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301\n * USA.\n *\n * Authors: Marc-André Lureau \n */\n\n #include \"config.h\"\n #include \n\n #include \"gi18n.h\"\n #include \"gstrfuncs.h\"\n #include \"grand.h\"\n #include \"gmessages.h\"\n #include \"gchecksum.h\"\n\n #include \"guuid.h\"\n\n typedef struct {\n guint8 bytes[16];\n } GUuid;\n\n /**\n * SECTION:uuid\n * @title: GUuid\n * @short_description: a universally unique identifier\n *\n * A UUID, or Universally unique identifier, is intended to uniquely\n * identify information in a distributed environment. For the\n * definition of UUID, see [RFC 4122](https://tools.ietf.org/html/rfc4122.html).\n *\n * The creation of UUIDs does not require a centralized authority.\n *\n * UUIDs are of relatively small size (128 bits, or 16 bytes). The\n * common string representation (ex:\n * 1d6c0810-2bd6-45f3-9890-0268422a6f14) needs 37 bytes.\n *\n * The UUID specification defines 5 versions, and calling\n * g_uuid_string_random() will generate a unique (or rather random)\n * UUID of the most common version, version 4.\n *\n * Since: 2.52\n */\n\n /*\n * g_uuid_to_string:\n * @uuid: a #GUuid\n *\n * Creates a string representation of @uuid, of the form\n * 06e023d5-86d8-420e-8103-383e4566087a (no braces nor urn:uuid:\n * prefix).\n *\n * Returns: (transfer full): A string that should be freed with g_free().\n * Since: STATIC\n */\n static gchar *\n g_uuid_to_string (const GUuid *uuid)\n {\n const guint8 *bytes;\n\n g_return_val_if_fail (uuid != NULL, NULL);\n\n bytes = uuid->bytes;\n\n return g_strdup_printf (\"%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x\"\n \"-%02x%02x%02x%02x%02x%02x\",\n bytes[0], bytes[1], bytes[2], bytes[3],\n bytes[4], bytes[5], bytes[6], bytes[7],\n bytes[8], bytes[9], bytes[10], bytes[11],\n bytes[12], bytes[13], bytes[14], bytes[15]);\n }\n\n static gboolean\n uuid_parse_string (const gchar *str,\n GUuid *uuid)\n {\n GUuid tmp;\n guint8 *bytes = tmp.bytes;\n gint i, j, hi, lo;\n guint expected_len = 36;\n\n if (strlen (str) != expected_len)\n return FALSE;\n\n for (i = 0, j = 0; i < 16;)\n {\n if (j == 8 || j == 13 || j == 18 || j == 23)\n {\n if (str[j++] != '-')\n return FALSE;\n\n continue;\n }\n\n hi = g_ascii_xdigit_value (str[j++]);\n lo = g_ascii_xdigit_value (str[j++]);\n\n if (hi == -1 || lo == -1)\n return FALSE;\n\n bytes[i++] = hi << 8 | lo;\n }\n\n if (uuid != NULL)\n *uuid = tmp;\n\n return TRUE;\n }\n\n /**\n * g_uuid_string_is_valid:\n * @str: a string representing a UUID\n *\n * Parses the string @str and verify if it is a UUID.\n *\n * The function accepts the following syntax:\n *\n * - simple forms (e.g. \\`f81d4fae-7dec-11d0-a765-00a0c91e6bf6\\`)\n *\n * Note that hyphens are required within the UUID string itself,\n * as per the aforementioned RFC.\n *\n * Returns: %TRUE if @str is a valid UUID, %FALSE otherwise.\n * Since: 2.52\n */\n gboolean\n g_uuid_string_is_valid (const gchar *str)\n {\n g_return_val_if_fail (str != NULL, FALSE);\n\n return uuid_parse_string (str, NULL);\n }\n\n static void\n uuid_set_version (GUuid *uuid, guint version)\n {\n guint8 *bytes = uuid->bytes;\n\n /*\n * Set the four most significant bits (bits 12 through 15) of the\n * time_hi_and_version field to the 4-bit version number from\n * Section 4.1.3.\n */\n bytes[6] &= 0x0f;\n bytes[6] |= version << 4;\n /*\n * Set the two most significant bits (bits 6 and 7) of the\n * clock_seq_hi_and_reserved to zero and one, respectively.\n */\n bytes[8] &= 0x3f;\n bytes[8] |= 0x80;\n }\n\n /*\n * g_uuid_generate_v4:\n * @uuid: a #GUuid\n *\n * Generates a random UUID (RFC 4122 version 4).\n * Since: STATIC\n */\n static void\n g_uuid_generate_v4 (GUuid *uuid)\n {\n int i;\n guint8 *bytes;\n guint32 *ints;\n\n g_return_if_fail (uuid != NULL);\n\n bytes = uuid->bytes;\n ints = (guint32 *) bytes;\n for (i = 0; i < 4; i++)\n ints[i] = g_random_int ();\n\n uuid_set_version (uuid, 4);\n }\n\n /**\n * g_uuid_string_random:\n *\n * Generates a random UUID (RFC 4122 version 4) as a string.\n *\n * Returns: (transfer full): A string that should be freed with g_free().\n * Since: 2.52\n */\n gchar *\n g_uuid_string_random (void)\n {\n GUuid uuid;\n\n g_uuid_generate_v4 (&uuid);\n\n return g_uuid_to_string (&uuid);\n }\n `),\n 5: rTabs(`\n (ns game-of-life\n \"Conway's Game of Life, based on the work of\n Christophe Grand (http://clj-me.cgrand.net/2011/08/19/conways-game-of-life)\n and Laurent Petit (https://gist.github.com/1200343).\")\n\n ;;; Core game of life's algorithm functions\n\n (defn neighbors\n \"Given a cell's coordinates \\`[x y]\\`, returns the coordinates of its\n neighbors.\"\n [[x y]]\n (for [dx [-1 0 1]\n dy (if (zero? dx)\n [-1 1]\n [-1 0 1])]\n [(+ dx x) (+ dy y)]))\n\n (defn step\n \"Given a set of living \\`cells\\`, computes the new set of living cells.\"\n [cells]\n (set (for [[cell n] (frequencies (mapcat neighbors cells))\n :when (or (= n 3)\n (and (= n 2)\n (cells cell)))]\n cell)))\n\n ;;; Utility methods for displaying game on a text terminal\n\n (defn print-grid\n \"Prints a \\`grid\\` of \\`w\\` columns and \\`h\\` rows, on *out*, representing a\n step in the game.\"\n [grid w h]\n (doseq [x (range (inc w))\n y (range (inc h))]\n (when (= y 0) (println))\n (print (if (grid [x y])\n \"[X]\"\n \" . \"))))\n\n (defn print-grids\n \"Prints a sequence of \\`grids\\` of \\`w\\` columns and \\`h\\` rows on *out*,\n representing several steps.\"\n [grids w h]\n (doseq [grid grids]\n (print-grid grid w h)\n (println)))\n\n ;;; Launches an example grid\n\n (def grid\n \"\\`grid\\` represents the initial set of living cells\"\n #{[2 1] [2 2] [2 3]})\n\n (print-grids (take 3 (iterate step grid)) 5 5)\n `),\n 6: rTabs(`\n \"\"\"\n A CoffeeScript sample.\n \"\"\"\n\n class Vehicle\n constructor: (@name) =>\n \n drive: () =>\n alert \"Conducting #{@name}\"\n\n class Car extends Vehicle\n drive: () =>\n alert \"Driving #{@name}\"\n\n c = new Car \"Brandie\"\n\n while notAtDestination()\n c.drive()\n\n raceVehicles = (new Car for i in [1..100])\n\n startRace = (vehicles) -> [vehicle.drive() for vehicle in vehicles]\n\n fancyRegExp = ///\n (\\d+) # numbers\n (\\w*) # letters\n $ # the end\n ///\n `),\n 7: rTabs(`\n #include \n #include \n\n std::vector find_prime_factors(int n)\n {\n std::vector result;\n for (int i = 2; i <= n; i++)\n {\n while (n % i == 0)\n {\n result.push_back(i);\n n = n/i;\n }\n }\n return result;\n }\n\n int main()\n {\n int n;\n std::cout << \"Enter number\\n\";\n std::cin >> n;\n std::vector prime_factors;\n prime_factors = find_prime_factors(n);\n std::cout << \"Prime Factors of \" << n << \":\\n\";\n for (int i = 0; i < prime_factors.size(); i++)\n {\n std::cout << prime_factors[i] << \" \";\n }\n std::cout << \"\\n\";\n }\n `),\n 8: rTabs(`\n using System;\n using System.Collections.Generic;\n using System.Diagnostics;\n using System.Linq;\n using System.Text;\n using System.Threading.Tasks;\n\n namespace VS\n {\n class Program\n {\n static void Main(string[] args)\n {\n ProcessStartInfo si = new ProcessStartInfo();\n float load= 3.2e02f;\n\n si.FileName = @\"tools\\\\node.exe\";\n si.Arguments = \"tools\\\\simpleserver.js\";\n\n Process.Start(si);\n }\n }\n }\n `),\n 9: rTabs(`Content-Security-Policy: default-src 'self'; img-src *; media-src media1.com media2.com; script-src userscripts.example.com`),\n 10: rTabs(`\n @keyframes flip {\n from {\n transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg);\n animation-timing-function: ease-out;\n }\n\n 40% {\n transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)\n rotate3d(0, 1, 0, -190deg);\n animation-timing-function: ease-out;\n }\n\n 50% {\n transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)\n rotate3d(0, 1, 0, -170deg);\n animation-timing-function: ease-in;\n }\n\n 80% {\n transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0)\n rotate3d(0, 1, 0, 0deg);\n animation-timing-function: ease-in;\n }\n\n to {\n transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg);\n animation-timing-function: ease-in;\n }\n }\n\n .animated.flip {\n backface-visibility: visible;\n animation-name: flip;\n }\n `),\n 11: rTabs(`\n FROM ubuntu:18.04\n COPY . /app\n RUN make /app\n CMD python /app/app.py\n `),\n 12: rTabs(`\n (* Sample F# application *)\n []\n let main argv = \n printfn \"%A\" argv\n System.Console.WriteLine(\"Hello from F#\")\n 0 // return an integer exit code\n\n //--------------------------------------------------------\n `),\n 13: rTabs(`\n package main\n\n import (\n \"fmt\"\n \"time\"\n )\n\n func readword(ch chan string) {\n fmt.Println(\"Type a word, then hit Enter.\")\n var word string\n fmt.Scanf(\"%s\", &word)\n ch <- word\n }\n\n func timeout(t chan bool) {\n time.Sleep(5 * time.Second)\n t <- false\n }\n\n func main() {\n t := make(chan bool)\n go timeout(t)\n\n ch := make(chan string)\n go readword(ch)\n\n select {\n case word := <-ch:\n fmt.Println(\"Received\", word)\n case <-t:\n fmt.Println(\"Timeout.\")\n }\n }\n `),\n 14: rTabs(`\n type Query {\n me: User!\n searchForLocation(byGPS: GPSInput, byAddress: AddressInput): LocationPagingConnection\n }\n\n type Mutation {\n addLocation(location: LocationInput): Location\n addReview(review: ReviewInput): Review\n addFavorite(locationId: ID!): Location\n }\n `),\n 15: rTabs(`\n
\n

{{title}}

\n {{#if author}}\n

{{author.firstName}} {{author.lastName}}

\n {{else}}\n

Unknown Author

\n {{/if}}\n {{contentBody}}\n
\n\n {{#unless license}}\n

WARNING: This entry does not have a license!

\n {{/unless}}\n\n
\n
    \n {{#each footnotes}}\n
  • {{this}}
  • \n {{/each}}\n
\n
\n\n

Comments

\n\n
\n {{#each comments}}\n

{{title}}

\n
{{body}}
\n {{/each}}\n
\n `),\n 16: rTabs(`\n \n \n HTML Sample\n \n \n \n \n \n

Heading No.1

\n \n \n \n `),\n 17: rTabs(`\n # Example of a .gitconfig file\n\n [core]\n repositoryformatversion = 0\n filemode = false\n bare = false\n logallrefupdates = true\n symlinks = false\n ignorecase = true\n hideDotFiles = dotGitOnly\n\n # Defines the master branch\n [branch \"master\"]\n remote = origin\n merge = refs/heads/master\n `),\n 18: rTabs(`\n import java.util.ArrayList;\n import org.junit.Test;\n\n public class Example {\n @Test \n public void method() {\n org.junit.Assert.assertTrue( \"isEmpty\", new ArrayList().isEmpty());\n }\n \n @Test(timeout=100) public void infinity() {\n while(true);\n }\n }\n `),\n 19: rTabs(`\n import React, { useState } from 'react';\n\nconst App = () => {\n const [count, setCount] = useState(0);\n\n return (\n
\n

Hello, World!

\n

Welcome to your React playground.

\n

You've clicked the button {count} times.

\n \n
\n );\n};\n\nexport default App;\n \n `),\n 20: rTabs(`\n {\n \"port\": 8080,\n \"exclude_from_auth\": [\n \"/login\",\n \"/check_token\",\n \"/battles:get\",\n \"/team\"\n ],\n \"db\": {\n \"default_data\": {\n \"battles\": [],\n \"active_battle_id\": null,\n \"admin\": {},\n \"secret\": \"\",\n \"active_tokens\": []\n },\n \"path\": \".db.json\"\n },\n \"default_salt_rounds\": 10,\n \"default_admin_password\": \"adminonaly\",\n \"uws_server\": {\n \"port\": 9000,\n \"action_types\": {\n \"BROADCAST\": \"BROADCAST\",\n \"CREATE_BATTLE\": \"CREATE_BATTLE\",\n \"SEND_CHALLENGE_ANSWER\": \"SEND_CHALLENGE_ANSWER\",\n \"CREATE_TEAM\": \"CREATE_TEAM\",\n \"DELETE_TEAM\": \"DELETE_TEAM\",\n \"START_BATTLE\": \"START_BATTLE\",\n \"FINISH_BATTLE\": \"FINISH_BATTLE\",\n \"DELETE_BATTLE\": \"DELETE_BATTLE\"\n },\n \"child_process_parameters\": []\n },\n \"http_error_messages\": {\n \"400\": \"Your request is bad, and you should feel bad.\",\n \"401\": \"I don't know who you are, but I'll find you and login you.\",\n \"403\": \"Here we store NASA top secret files, Forbidden.\",\n \"404\": \"Oops! You tried to get something that does not exist in this universe.\",\n \"406\": \"It's unacceptable!!! It's all over between us.\",\n \"408\": \"This request took a century to process and didn't even finished.\",\n \"500\": \"Our server is a little bit sad now, try again later.\",\n \"503\": \"Our server is too tired now, try again after a short break.\"\n },\n \"general_error_messages\": {\n \"no_active\": \"No active battle.\",\n \"not_started\": \"Battle hasn't started yet.\",\n \"started\": \"Battle has already started.\",\n \"finished\": \"Battle has already finished.\",\n \"invalid_data\": \"Invalid Data.\",\n \"no_data\": \"Data is not passed.\",\n \"not_admin\": \"Our admin has all possible, 4 incredible and 2 impossible rights, but you aren't our admin.\",\n \"challenge_not_started\": \"Can't submit unbegun battle challenges.\",\n \"admin_challenge\": \"Admin can't solve challenges.\",\n \"already_solved\": \"This challenge has already been solved by your team.\",\n \"better_solution\": \"The previous vesrion of your team is better.\",\n \"no_challenge\": \"There is no challenge mentioned by you!\",\n \"auth_fail\": \"Authentication failed.\",\n \"short_password\": \"Password should be at least 6 chars long.\"\n }\n }\n `),\n 21: rTabs(`\n class MutableStack(vararg items: E) { // 1\n\n private val elements = items.toMutableList()\n\n fun push(element: E) = elements.add(element) // 2\n\n fun peek(): E = elements.last() // 3\n\n fun pop(): E = elements.removeAt(elements.size - 1)\n\n fun isEmpty() = elements.isEmpty()\n\n fun size() = elements.size\n\n override fun toString() = \"MutableStack($\\{elements.joinToString()\\})\"\n }\n `),\n 22: rTabs(`\n @base: #f938ab;\n\n .box-shadow(@style, @c) when (iscolor(@c)) {\n border-radius: @style @c;\n }\n\n .box-shadow(@style, @alpha: 50%) when (isnumber(@alpha)) {\n .box-shadow(@style, rgba(0, 0, 0, @alpha));\n }\n\n .box { \n color: saturate(@base, 5%);\n border-color: lighten(@base, 30%);\n \n div {\n .box-shadow((0 0 5px), 30%);\n }\n }\n\n #header {\n h1 {\n font-size: 26px;\n font-weight: bold;\n }\n \n p { font-size: 12px;\n a { text-decoration: none;\n &:hover { border-width: 1px }\n }\n }\n }\n `),\n 23: rTabs(`\n -- defines a factorial function\n function fact (n)\n if n == 0 then\n return 1\n else\n return n * fact(n-1)\n end\n end\n \n print(\"enter a number:\")\n a = io.read(\"*number\") -- read a number\n print(fact(a))\n `),\n 24: rTabs(`\n ## Primes\n\n It's a playground for examining and playing with prime numbers. It also gives an opportunity to write custom formulas and visualize the results.\n\n ### Demo\n\n You can try it simply by opening this [link](https://primes.surenatoyan.com/)\n\n ### Development\n\n You also can set up it on your local machine for development (or other) purposes. For that you need:\n\n - [Nodejs](https://nodejs.org/en/)\n - npm (it comes with nodejs) - or [yarn](https://yarnpkg.com/en/)\n\n Run these commands to clone the repository, install dependencies and run the application.\n\n 1) \\`git clone https://github.com/SurenAt93/primes.git\\`\n 2) \\`cd primes\\`\n 3) \\`npm install\\` (or if you are using yarn, just \\`yarn\\`)\n 4) \\`npm run start\\` (or \\`yarn start\\` in case of yarn)\n\n That's it. After, open \\`localhost:3000\\` in your browser.\n Note that by these steps you run the application in development mode. So, you can open the source of it in your preferred text editor and do whatever you want.\n\n To make a production build after the third step run - \\`npm run build\\` (or \\`yarn build\\` in case of yarn). After a successful build, you will have a production ready app in the build folder.\n\n ## License\n\n [MIT](./LICENSE)\n `),\n 25: ` = CALCULATE(SUM(Sales[SalesAmount]), PREVIOUSQUARTER(Calendar[DateKey]))`,\n 26: rTabs(`\n CREATE TABLE shop (\n article INT(4) UNSIGNED ZEROFILL DEFAULT '0000' NOT NULL,\n dealer CHAR(20) DEFAULT '' NOT NULL,\n price DOUBLE(16,2) DEFAULT '0.00' NOT NULL,\n PRIMARY KEY(article, dealer));\n INSERT INTO shop VALUES\n (1,'A',3.45),(1,'B',3.99),(2,'A',10.99),(3,'B',1.45),\n (3,'C',1.69),(3,'D',1.25),(4,'D',19.95);\n `),\n 27: rTabs(`\n #import \n\n int foo() {\n int a = 3 // exists in this function only\n int b = 2 // exists in this function only\n return c + d;\n }\n\n int main (int argc, const char * argv[]) {\n NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];\n\n result = foo();\n NSLog(@\"a = %i\", b); // illegal code\n \n [pool drain];\n\n return 0;\n }\n `),\n 28: rTabs(`\n program factorial;\n\n function fact(n: integer): longint;\n begin\n if (n = 0) then\n fact := 1\n else\n fact := n * fact(n - 1);\n end;\n\n var\n n: integer;\n\n begin\n for n := 0 to 16 do\n writeln(n, '! = ', fact(n));\n end.\n `),\n 29: rTabs(`\n #!/usr/bin/perl\n use strict;\n use warnings;\n\n use Path::Tiny;\n\n my $dir = path('foo','bar'); # foo/bar\n\n # Iterate over the content of foo/bar\n my $iter = $dir->iterator;\n while (my $file = $iter->()) {\n\n # See if it is a directory and skip\n next if $file->is_dir();\n\n # Print out the file name and path\n print \"$file\\n\";\n }\n `),\n 30: rTabs(`\n BEGIN\n SELECT * INTO STRICT myrec FROM emp WHERE empname = myname;\n EXCEPTION\n WHEN NO_DATA_FOUND THEN\n RAISE EXCEPTION 'employee % not found', myname;\n WHEN TOO_MANY_ROWS THEN\n RAISE EXCEPTION 'employee % not unique', myname;\n END;\n `),\n 31: rTabs(`\n \n \n \n\n

PHP example

\n\n \n\n \n \n `),\n 32: rTabs(`\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec cursus aliquet sapien, sed rhoncus leo ullamcorper ornare. Interdum et malesuada fames ac ante ipsum primis in faucibus. Phasellus feugiat eleifend nisl, aliquet rhoncus quam scelerisque vel. Morbi eu pellentesque ex. Nam suscipit maximus leo blandit cursus. Aenean sollicitudin nisi luctus, ornare nibh viverra, laoreet ex. Donec eget nibh sit amet dolor ornare elementum. Morbi sollicitudin enim vitae risus pretium vestibulum. Ut pretium hendrerit libero, non vulputate ante volutpat et. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nullam malesuada turpis vitae est porttitor, id tincidunt neque dignissim. Integer rhoncus vestibulum justo in iaculis. Praesent nec augue ut dui scelerisque gravida vel id velit. Donec vehicula feugiat mollis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.\n\n Praesent diam lorem, luctus quis ullamcorper non, consequat quis orci. Ut vel massa vel nunc sagittis porttitor a vitae ante. Quisque euismod lobortis imperdiet. Vestibulum tincidunt vehicula posuere. Nulla facilisi. Donec sodales imperdiet risus id ullamcorper. Nulla luctus orci tortor, vitae tincidunt urna aliquet nec. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam consequat dapibus massa. Sed ac pharetra magna, in imperdiet neque. Nullam nunc nisi, consequat vel nunc et, sagittis aliquam arcu. Aliquam non orci magna. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Sed id sem ut sem pulvinar rhoncus. Aenean venenatis nunc eget mi ornare, vitae maximus lacus varius. Quisque quis vestibulum justo.\n\n Donec euismod luctus volutpat. Donec sed lacinia enim. Vivamus aliquam elit cursus, convallis diam at, volutpat turpis. Sed lacinia nisl in auctor dapibus. Nunc turpis mi, mattis ut rhoncus id, lacinia sed lectus. Donec sodales tellus quis libero gravida pretium et quis magna. Etiam ultricies mollis purus, eget consequat velit. Duis vitae nibh vitae arcu tincidunt congue. Maecenas ut velit in ipsum condimentum dictum quis eget urna. Sed mattis nulla arcu, vitae mattis ligula dictum at.\n `),\n 33: rTabs(`\n // http://www.ats-lang.org/\n (* Say Hello! once *)\n val () = print\"Hello!\\n\"\n //\n (* Say Hello! 3 times *)\n val () = 3*delay(print\"Hello!\")\n val () = print_newline((*void*))\n //\n\n //\n (* Build a list of 3 *)\n val xs = $list{int}(0, 1, 2)\n //\n val x0 = xs[0] // legal\n val x1 = xs[1] // legal\n val x2 = xs[2] // legal\n val x3 = xs[3] // illegal\n `),\n 34: rTabs(`\n let\n Source = Excel.CurrentWorkbook(){[Name=\"Table1\"]}[Content],\n SplitColumnDelimiter = Table.SplitColumn(Source,\"Input\",Splitter.SplitTextByDelimiter(\",\"),13),\n Unpivot = Table.Unpivot(SplitColumnDelimiter,{\"Input.1\", \"Input.2\", \"Input.3\", \"Input.4\",\n \"Input.5\", \"Input.6\", \"Input.7\", \"Input.8\", \"Input.9\", \"Input.10\", \"Input.11\", \"Input.12\"\n , \"Input.13\"},\"Attribute\",\"Value\"),\n RemovedColumns = Table.RemoveColumns(Unpivot,{\"Attribute\"}),\n DuplicatesRemoved = Table.Distinct(RemovedColumns),\n GroupedRows = Table.Group(DuplicatesRemoved, {\"RowID\"}, {{\"Count of Distinct Values\"\n , each Table.RowCount(_), type number}})\n in\n GroupedRows\n `),\n 35: rTabs(`\n # Convert any text file to ASCII\n \n param( [string] $infile = $(throw \"Please specify a filename.\") )\n \n $outfile = \"$infile.ascii\"\n \n get-content -path $infile | out-file $outfile -encoding ascii\n `),\n 36: rTabs(`\n doctype 5\n html(lang=\"en\")\n head\n title= pageTitle\n script(type='text/javascript')\n if (foo) {\n bar()\n }\n body\n // Disclaimer: You will need to turn insertSpaces to true in order for the\n syntax highlighting to kick in properly (especially for comments)\n Enjoy :)\n h1 Pug - node template engine\n #container\n if youAreUsingPug\n p You are amazing\n else\n p Get on it!\n `),\n 37: rTabs(`\nimport numpy as np\nimport matplotlib.pyplot as plt\nimport argparse\n\n# Define function for lognormal distribution\ndef lognormal_distribution(mu, sigma, size):\n return np.random.lognormal(mu, sigma, size)\n\n# Create the ArgumentParser object\nparser = argparse.ArgumentParser(description='Generate and save a lognormal distribution plot.')\n\n# Add the --plot-path argument\nparser.add_argument('--plot-path', type=str, help='Path to save the plot image.')\n\n# Parse the command-line arguments\nargs = parser.parse_args()\n\n# Generate sample data\nmu = 1\nsigma = 0.5\nsize = 1000\nsample = lognormal_distribution(mu, sigma, size)\n\n# Plot the data\nplt.hist(sample, bins=50, color='skyblue', edgecolor='black')\nplt.xlabel('Value')\nplt.ylabel('Frequency')\nplt.title('Lognormal Distribution Sample')\nplt.grid(axis='y', alpha=0.75)\n\n# Save the plot to the specified path\nif args.plot_path:\n plt.savefig(args.plot_path)\n #print(f\"Plot saved to {args.plot_path}\")\nelse:\n print(\"No plot path provided; plot will not be saved.\")\n\n# Close the figure to release resources\nplt.close()\n `),\n 38: rTabs(`\n # Program to convert decimal number into binary number using recursive function\n convert_to_binary <- function(n) {\n if(n > 1) {\n convert_to_binary(as.integer(n/2))\n }\n cat(n %% 2)\n }\n `),\n 39: rTabs(`\n @{\n var total = 0;\n var totalMessage = \"\";\n @* a multiline\n razor comment embedded in csharp *@\n if (IsPost) {\n // Retrieve the numbers that the user entered.\n var num1 = Request[\"text1\"];\n var num2 = Request[\"text2\"];\n\n // Convert the entered strings into integers numbers and add.\n total = num1.AsInt() + num2.AsInt();\n totalMessage = \"Total = \" + total;\n }\n }\n\n \n \n \n Add Numbers\n \n \n \n

Enter two whole numbers and then click Add.

\n
\n

\n \n

\n

\n \n

\n

\n
\n\n @* now we call the totalMessage method \n (a multi line razor comment outside code) *@\n\n

@totalMessage

\n \n

@(totalMessage+\"!\")

\n \n An email address (with escaped at character): name@@domain.com\n \n \n \n `),\n 40: rTabs(`\n EXISTS xkey\n APPEND xkey \"Hello\"\n APPEND xkey \" World\"\n GET xkey\n `),\n 41: rTabs(`\n create view tables_vw as\n select distinct(id) table_id\n ,trim(datname) db_name\n ,trim(nspname) schema_name\n ,trim(relname) table_name\n from stv_tbl_perm\n join pg_class on pg_class.oid = stv_tbl_perm.id\n join pg_namespace on pg_namespace.oid = relnamespace\n join pg_database on pg_database.oid = stv_tbl_perm.db_id;\n `),\n 42: rTabs(`\n def find_missing(sequence)\n consecutive = sequence.each_cons(2)\n differences = consecutive.map { |a,b| b - a }\n sequence = differences.max_by { |n| differences.count(n) }\n missing_between = consecutive.find { |a,b| (b - a) != sequence }\n missing_between.first + sequence\n end\n find_missing([2,4,6,10])\n # 8\n `),\n 43: rTabs(`\n struct Sheep { naked: bool, name: &'static str }\n\n trait Animal {\n // Static method signature; \\`Self\\` refers to the implementor type.\n fn new(name: &'static str) -> Self;\n\n // Instance method signatures; these will return a string.\n fn name(&self) -> &'static str;\n fn noise(&self) -> &'static str;\n\n // Traits can provide default method definitions.\n fn talk(&self) {\n println!(\"{} says {}\", self.name(), self.noise());\n }\n }\n\n impl Sheep {\n fn is_naked(&self) -> bool {\n self.naked\n }\n\n fn shear(&mut self) {\n if self.is_naked() {\n // Implementor methods can use the implementor's trait methods.\n println!(\"{} is already naked...\", self.name());\n } else {\n println!(\"{} gets a haircut!\", self.name);\n\n self.naked = true;\n }\n }\n }\n\n // Implement the \\`Animal\\` trait for \\`Sheep\\`.\n impl Animal for Sheep {\n // \\`Self\\` is the implementor type: \\`Sheep\\`.\n fn new(name: &'static str) -> Sheep {\n Sheep { name: name, naked: false }\n }\n\n fn name(&self) -> &'static str {\n self.name\n }\n\n fn noise(&self) -> &'static str {\n if self.is_naked() {\n \"baaaaah?\"\n } else {\n \"baaaaah!\"\n }\n }\n \n // Default trait methods can be overridden.\n fn talk(&self) {\n // For example, we can add some quiet contemplation.\n println!(\"{} pauses briefly... {}\", self.name, self.noise());\n }\n }\n\n fn main() {\n // Type annotation is necessary in this case.\n let mut dolly: Sheep = Animal::new(\"Dolly\");\n // TODO ^ Try removing the type annotations.\n\n dolly.talk();\n dolly.shear();\n dolly.talk();\n }\n `),\n 44: rTabs(`\n begin:\n TextWindow.Write(\"Enter a number: \")\n num = TextWindow.ReadNumber()\n remainder = Math.Remainder(num, 2)\n If (remainder = 0) Then\n TextWindow.WriteLine(\"The number is Even\")\n Else\n TextWindow.WriteLine(\"The number is Odd\")\n EndIf\n Goto begin\n `),\n 45: rTabs(`\n ;;; make-matrix creates a matrix (a vector of vectors).\n (define make-matrix\n (lambda (rows columns)\n (do ((m (make-vector rows))\n (i 0 (+ i 1)))\n ((= i rows) m)\n (vector-set! m i (make-vector columns)))))\n\n ;;; matrix? checks to see if its argument is a matrix.\n ;;; It isn't foolproof, but it's generally good enough.\n (define matrix?\n (lambda (x)\n (and (vector? x)\n (> (vector-length x) 0)\n (vector? (vector-ref x 0)))))\n\n ;; matrix-rows returns the number of rows in a matrix.\n (define matrix-rows\n (lambda (x)\n (vector-length x)))\n\n ;; matrix-columns returns the number of columns in a matrix.\n (define matrix-columns\n (lambda (x)\n (vector-length (vector-ref x 0))))\n\n ;;; matrix-ref returns the jth element of the ith row.\n (define matrix-ref\n (lambda (m i j)\n (vector-ref (vector-ref m i) j)))\n\n ;;; matrix-set! changes the jth element of the ith row.\n (define matrix-set!\n (lambda (m i j x)\n (vector-set! (vector-ref m i) j x)))\n\n ;;; mul is the generic matrix/scalar multiplication procedure\n (define mul\n (lambda (x y)\n ;; mat-sca-mul multiplies a matrix by a scalar.\n (define mat-sca-mul\n (lambda (m x)\n (let* ((nr (matrix-rows m))\n (nc (matrix-columns m))\n (r (make-matrix nr nc)))\n (do ((i 0 (+ i 1)))\n ((= i nr) r)\n (do ((j 0 (+ j 1)))\n ((= j nc))\n (matrix-set! r i j\n (* x (matrix-ref m i j))))))))\n\n ;; mat-mat-mul multiplies one matrix by another, after verifying\n ;; that the first matrix has as many columns as the second\n ;; matrix has rows.\n (define mat-mat-mul\n (lambda (m1 m2)\n (let* ((nr1 (matrix-rows m1))\n (nr2 (matrix-rows m2))\n (nc2 (matrix-columns m2))\n (r (make-matrix nr1 nc2)))\n (if (not (= (matrix-columns m1) nr2))\n (match-error m1 m2))\n (do ((i 0 (+ i 1)))\n ((= i nr1) r)\n (do ((j 0 (+ j 1)))\n ((= j nc2))\n (do ((k 0 (+ k 1))\n (a 0\n (+ a\n (* (matrix-ref m1 i k)\n (matrix-ref m2 k j)))))\n ((= k nr2)\n (matrix-set! r i j a))))))))\n\n ;; type-error is called to complain when mul receives an invalid\n ;; type of argument.\n (define type-error\n (lambda (what)\n (error 'mul\n \"~s is not a number or matrix\"\n what)))\n\n ;; match-error is called to complain when mul receives a pair of\n ;; incompatible arguments.\n (define match-error\n (lambda (what1 what2)\n (error 'mul\n \"~s and ~s are incompatible operands\"\n what1\n what2)))\n\n ;; body of mul; dispatch based on input types\n (cond\n ((number? x)\n (cond\n ((number? y) (* x y))\n ((matrix? y) (mat-sca-mul y x))\n (else (type-error y))))\n ((matrix? x)\n (cond\n ((number? y) (mat-sca-mul x y))\n ((matrix? y) (mat-mat-mul x y))\n (else (type-error y))))\n (else (type-error x)))))\n `),\n 46: rTabs(`\n $baseFontSizeInPixels: 14;\n\n @function px2em ($font_size, $base_font_size: $baseFontSizeInPixels) { \n @return ($font_size / $base_font_size) + em; \n }\n\n h1 {\n font-size: px2em(36, $baseFontSizeInPixels);\n }\n h2 {\n font-size: px2em(28, $baseFontSizeInPixels);\n }\n .class {\n font-size: px2em(14, $baseFontSizeInPixels);\n }\n\n nav {\n ul {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n li { display: inline-block; }\n\n a {\n display: block;\n padding: 6px 12px;\n text-decoration: none;\n }\n \n @each $animal in puma, sea-slug, egret, salamander {\n .#{$animal}-icon {\n background-image: url('/images/#{$animal}.png');\n }\n }\n }\n `),\n 47: rTabs(`\n #!/usr/bin/env bash\n #\n # Turn the single document bible into a book separated by chapters.\n\n main() {\n rm -rf manuscript\n mkdir -p manuscript\n\n # Split the README.md into chapters based on markers.\n while IFS=$'\\n' read -r line; do\n [[ \"$chap\" ]] && chapter[$i]+=\"$line\"$'\\n'\n [[ \"$line\" == \"\" ]] && chap=1\n [[ \"$line\" == \"\" ]] && { chap=; ((i++)); }\n done < README.md\n\n # Write the chapters to separate files.\n for i in \"$\\{!chapter[@]\\}\"; do\n : \"$\\{chapter[$i]/$'\\n'*\\}\"; : \"$\\{_/\\# \\}\"; : \"$\\{_,,\\}\"\n printf '%s\\n' \"$\\{chapter[$i]\\}\" > \"manuscript/chapter$\\{i\\}.txt\"\n printf '%s\\n' \"chapter$\\{i\\}.txt\" >> \"manuscript/Book.txt\"\n done\n }\n\n main\n `),\n 48: rTabs(`\n #ifndef EXAMPLES_ASSERT_HPP\n #define EXAMPLES_ASSERT_HPP\n\n # define m_assert(condition, message)\n do {\n if (! (condition)) {\n std::cerr << \"Assertion \\`\" #condition \"\\` failed in \" << __FILE__\n << \" line \" << __LINE__ << \": \" << message << std::endl;\n std::terminate();\n }\n } while (false)\n\n # define c_assert(condition)\n do {\n if (! (condition)) {\n std::cerr << \"Assertion \\`\" #condition \"\\` failed in \" << __FILE__\n << \" line \" << __LINE__ << std::endl;\n std::terminate();\n }\n } while (false)\n #else\n # define m_assert(condition, message) do { if (false) { (void)(condition); (void)sizeof(message); } } while (false)\n # define c_assert(condition) do { if (false) { (void)(condition); } } while (false)\n #endif\n\n #endif // EXAMPLES_ASSERT_HPP\n `),\n 49: rTabs(`\n CREATE VIEW Failing_Students AS\n SELECT S_NAME, Student_ID\n FROM STUDENT\n WHERE GPA > 40;\n `),\n 50: rTabs(`\n FUNCTION_BLOCK SubFB\n VAR_INPUT\n TimeIN : BOOL; (* Boolean input variable *)\n TimeQ : BOOL; (* Boolean input variable *)\n END_VAR\n VAR_IN_OUT\n Timer : TON; (* pointer to instance Time1 of TON – input/output variable *)\n END_VAR\n VAR_OUTPUT\n Time3 : TON; (* 3rd instance of TON *)\n END_VAR\n VAR\n Start : BOOL := TRUE; (* local Boolean variable *)\n END_VAR\n `),\n 51: rTabs(`\n if let bestPlayer = players.highestScoringPlayer() {\n recordHolder = \"\"\"\n The record holder is \\(bestPlayer.name),\\\n with a high score of \\(bestPlayer.highScore)!\n \"\"\"\n } else {\n recordHolder = \"No games have been played yet.\")\n }\n print(recordHolder)\n // The record holder is Erin, with a high score of 271!\n\n let highestScore = players.highestScoringPlayer()?.highScore ?? 0\n // highestScore == 271\n `),\n 52: rTabs(`\n #!/usr/bin/tclsh\n\n set variableA 10\n set {variable B} test\n puts $variableA\n puts $\\{variable B\\}\n `),\n 53: rTabs(`\n import * as React from 'react';\n import { StandardProps } from '..';\n import { TypographyProps } from '../Typography';\n\n export interface ListItemTextProps\n extends StandardProps, ListItemTextClassKey> {\n disableTypography?: boolean;\n inset?: boolean;\n primary?: React.ReactNode;\n primaryTypographyProps?: Partial;\n secondary?: React.ReactNode;\n secondaryTypographyProps?: Partial;\n }\n\n export type ListItemTextClassKey =\n | 'root'\n | 'multiline'\n | 'dense'\n | 'inset'\n | 'primary'\n | 'secondary';\n\n declare const ListItemText: React.ComponentType;\n\n export default ListItemText;\n `),\n 54: rTabs(`\n Imports System\n Imports System.Collections.Generic\n\n Module Module1\n\n Sub Main()\n Dim a As New M8Ball\n\n Do While True\n\n Dim q As String = \"\"\n Console.Write(\"ask me about the future... \")\n q = Console.ReadLine()\n\n If q.Trim <> \"\" Then\n Console.WriteLine(\"the answer is... {0}\", a.getAnswer(q))\n Else\n Exit Do\n End If\n Loop\n\n End Sub\n\n End Module\n `),\n 55: rTabs(`\n \n \n Tove \n Jani \n Reminder \n Don't forget me this weekend! \n \n `),\n 56: rTabs(`\n %TAG ! tag:clarkevans.com,2002:\n --- !shape\n # Use the ! handle for presenting\n # tag:clarkevans.com,2002:circle\n - !circle\n center: &ORIGIN {x: 73, y: 129}\n radius: 7\n - !line\n start: *ORIGIN\n finish: { x: 89, y: 102 }\n - !label\n start: *ORIGIN\n color: 0xFFEEBB\n text: Pretty vector drawing.\n `),\n};\n\nexport default examples;\n","const setIsSettingsVisible = ({ state }, value) => {\n state.isSettingsVisible = value;\n};\nconst setSelectedMenuItem = ({ state }, menuItem) => {\n state.selectedMenuItem = menuItem;\n};\n\nconst setThemeMode = ({ state }, themeMode) => {\n state.themeMode = themeMode;\n localStorage.setItem('themeMode', themeMode); // Current solution is temporary\n // TODO: Design proper solution\n // to sync state (or a field of state) with localStorage\n};\n\nconst setEditorMode = ({ state }, editorMode) => {\n state.editorMode = editorMode;\n};\n\nconst showNotification = ({ state }, { message, variant = 'info', opt = {} }) => {\n console.log(\"Showing notification:\", { message, variant, opt }); // Add this line\n state.notifications = {\n isActive: true,\n message,\n variant,\n opt,\n };\n};\n\nconst hideNotification = ({ state }) => {\n state.notifications.isActive = false;\n};\n\nconst setSelectedLanguageId = type => ({ state }, id) => {\n state[type].selectedLanguageId = id;\n};\n\nconst editor = {\n setSelectedLanguageId: setSelectedLanguageId('editor'),\n setOptions({ state }, options) {\n state.editor.options = options;\n },\n setMonacoTheme({ state }, theme) {\n state.monacoTheme = theme;\n },\n};\n\nconst diffEditor = {\n setSelectedLanguageId: setSelectedLanguageId('diffEditor'),\n};\n\nexport const defineAndSetThemeBackground = async ({ state, actions, effects }, theme) => {\n const themeData = await effects.defineTheme(theme);\n actions.setThemeBackground(themeData.colors['editor.background']);\n};\n\nconst setThemeBackground = ({ state }, color) => {\n state.themeBackground = color;\n};\n\nconst setFontColor = ({ state }, color) => {\n state.fontColor = color;\n};\n\nfunction executeCode (code) {\n // we are provided with code value\n const inputData = { message: { code: code, input_values: null } }; // Prepare the request payload\n\n fetch(\"http://localhost:8000/courses/api/message/\", {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify(inputData),\n })\n .then(response => response.json())\n .then(data => console.log(data.message)); // Log the response message from Django\n}\n\nconst setIsEditorReady = ({ state }, isReady) => {\n state.isEditorReady = isReady;\n};\n\n// ... (other actions remain the same)\n\nconst setEditorTab = ({ state }, tabIndex) => {\n console.log('setEditorTab action called with:', tabIndex);\n state.editorTab = tabIndex;\n};\n\nconst setOpenedFile = ({ state }, file) => {\n if (JSON.stringify(state.openedFile) !== JSON.stringify(file)) {\n state.openedFile = {\n ...state.openedFile,\n ...file\n };\n }\n};\n\nconst setLastOpenedFile = ({ state }, file) => {\n if (JSON.stringify(state.lastOpenedFile) !== JSON.stringify(file)) {\n state.lastOpenedFile = {\n ...state.lastOpenedFile,\n ...file\n };\n }\n};\n\nconst setRecentFile = ({ state }, file) => {\n if (JSON.stringify(state.recentFile) !== JSON.stringify(file)) {\n state.recentFile = {\n ...state.recentFile,\n ...file\n };\n }\n};\n\nconst setLastPlaygroundFile = ({ state }, file) => {\n if (JSON.stringify(state.lastPlaygroundFile) !== JSON.stringify(file)) {\n state.lastPlaygroundFile = {\n ...state.lastPlaygroundFile,\n ...file\n };\n }\n};\n\nconst updateOpenedFilePath = ({state}, path) => {\n if (state.openedFilePath) {\n state.openedFilePath = path;\n }\n};\n\nconst setFilesInDirectory = (files) => ({\n type: 'SET_FILES_IN_DIRECTORY',\n payload: files\n});\n\n// This action might be useful if you want to update the content of a file in your state\nconst updateFileContent = (fileId, content) => ({\n type: 'UPDATE_FILE_CONTENT',\n payload: { fileId, content }\n});\n\nconst setNewCode = ({state}, code) => {\n state.newCode = code;\n};\n\n\nconst setUiContext = ({state}, uiContext) => {\n state.uiContext = uiContext; // This should be uiContext, not newCode\n};\n\nconst setUser = ({ state }, user) => {\n state.user = user;\n};\n\nconst setHasOpenedFile = ({ state }, value) => {\n state.hasOpenedFile = value;\n};\n\nconst resetFileSystemState = ({ state }) => {\n state.fileSystem = null;\n state.openedFile = {\n name: 'test_component.js',\n path: 'Root/test_component.js',\n content: '',\n };\n state.filesInDirectory = [\n {\n name: 'test_component.js',\n path: 'Root/test_component.js',\n }\n ];\n state.selectedFile = null;\n state.currentFilePath = 'Root/test_component.js';\n state.currentFileName = 'test_component.js';\n state.editorContent = '';\n state.newCode = '';\n};\nconst setShowOverlay = ({ state }, value) => {\n state.showOverlay = value;\n};\n\n\n\nexport {\n setHasOpenedFile,\n setRecentFile,\n setLastPlaygroundFile,\n setLastOpenedFile,\n setShowOverlay,\n resetFileSystemState,\n updateOpenedFilePath,\n updateFileContent,\n executeCode,\n hideNotification,\n setNewCode,\n setUiContext,\n setThemeMode,\n setEditorMode,\n setIsEditorReady,\n showNotification,\n setIsSettingsVisible,\n setFontColor,\n setThemeBackground,\n editor,\n diffEditor,\n setUser,\n setEditorTab,\n setOpenedFile, // Add this new action to the exports\n setFilesInDirectory,\n setSelectedMenuItem,\n};","import { makeStyles } from '@material-ui/core/styles';\nimport green from '@material-ui/core/colors/green';\nimport amber from '@material-ui/core/colors/amber';\n\nconst useStyles = makeStyles(theme => ({\n success: {\n backgroundColor: green[600],\n },\n error: {\n backgroundColor: theme.palette.error.dark,\n },\n info: {\n backgroundColor: theme.palette.primary.dark,\n },\n warning: {\n backgroundColor: amber[700],\n },\n icon: {\n fontSize: 20,\n },\n iconVariant: {\n opacity: 0.9,\n marginRight: theme.spacing(1),\n },\n message: {\n display: 'flex',\n alignItems: 'center',\n color: theme.palette.common.white, // Add this line to ensure text is always visible\n },\n // You might want to add a style for the content wrapper itself\n content: {\n flexWrap: 'nowrap', // Prevents the message from wrapping\n },\n}));\n\nexport default useStyles;","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport CheckCircleIcon from '@material-ui/icons/CheckCircle';\nimport ErrorIcon from '@material-ui/icons/Error';\nimport InfoIcon from '@material-ui/icons/Info';\nimport CloseIcon from '@material-ui/icons/Close';\nimport IconButton from '@material-ui/core/IconButton';\nimport SnackbarContent from '@material-ui/core/SnackbarContent';\nimport WarningIcon from '@material-ui/icons/Warning';\nimport useStyles from './useStyles';\n\nconst variantIcon = {\n success: CheckCircleIcon,\n warning: WarningIcon,\n error: ErrorIcon,\n info: InfoIcon,\n};\n\nconst SnackbarContentWrapper = props => {\n const classes = useStyles();\n const { className, message, onClose, variant, ...other } = props;\n const Icon = variantIcon[variant];\n\n console.log(\"SnackbarContentWrapper props:\", props); // Add this line\n\n return (\n \n \n {message}\n \n }\n action={[\n \n \n ,\n ]}\n {...other}\n />\n );\n};\n\nSnackbarContentWrapper.propTypes = {\n className: PropTypes.string,\n message: PropTypes.node,\n onClose: PropTypes.func,\n variant: PropTypes.oneOf(['success', 'warning', 'error', 'info']).isRequired,\n};\n\nexport default SnackbarContentWrapper;","import SnackbarContent from './SnackbarContent';\n\nexport default SnackbarContent;\n","import React from 'react';\nimport { useStore } from 'store';\nimport Snackbar from '@material-ui/core/Snackbar';\nimport SnackbarContent from './SnackbarContent';\nimport config from 'config';\n\nconst Notifications = () => {\n const { state: { notifications }, actions: { hideNotification } } = useStore();\n\n console.log(\"Notifications state:\", notifications); // Add this line\n\n return (\n \n \n \n );\n};\n\nexport default Notifications;","var map = {\n\t\"./Active4D.json\": [\n\t\t233,\n\t\t8\n\t],\n\t\"./All Hallows Eve.json\": [\n\t\t234,\n\t\t9\n\t],\n\t\"./Amy.json\": [\n\t\t235,\n\t\t10\n\t],\n\t\"./Birds of Paradise.json\": [\n\t\t236,\n\t\t11\n\t],\n\t\"./Blackboard.json\": [\n\t\t237,\n\t\t12\n\t],\n\t\"./Brilliance Black.json\": [\n\t\t238,\n\t\t13\n\t],\n\t\"./Brilliance Dull.json\": [\n\t\t239,\n\t\t14\n\t],\n\t\"./Chrome DevTools.json\": [\n\t\t240,\n\t\t15\n\t],\n\t\"./Clouds Midnight.json\": [\n\t\t241,\n\t\t16\n\t],\n\t\"./Clouds.json\": [\n\t\t242,\n\t\t17\n\t],\n\t\"./Cobalt.json\": [\n\t\t243,\n\t\t18\n\t],\n\t\"./Cobalt2.json\": [\n\t\t244,\n\t\t19\n\t],\n\t\"./Cobaltnew.json\": [\n\t\t245,\n\t\t20\n\t],\n\t\"./Dawn.json\": [\n\t\t246,\n\t\t21\n\t],\n\t\"./Dominion Day.json\": [\n\t\t247,\n\t\t22\n\t],\n\t\"./Dracula.json\": [\n\t\t248,\n\t\t23\n\t],\n\t\"./Dreamweaver.json\": [\n\t\t249,\n\t\t24\n\t],\n\t\"./Eiffel.json\": [\n\t\t250,\n\t\t25\n\t],\n\t\"./Espresso Libre.json\": [\n\t\t251,\n\t\t26\n\t],\n\t\"./GitHub Dark.json\": [\n\t\t252,\n\t\t27\n\t],\n\t\"./GitHub Light.json\": [\n\t\t253,\n\t\t28\n\t],\n\t\"./GitHub.json\": [\n\t\t254,\n\t\t29\n\t],\n\t\"./IDLE.json\": [\n\t\t255,\n\t\t30\n\t],\n\t\"./Katzenmilch.json\": [\n\t\t256,\n\t\t31\n\t],\n\t\"./Kuroir Theme.json\": [\n\t\t257,\n\t\t32\n\t],\n\t\"./LAZY.json\": [\n\t\t258,\n\t\t33\n\t],\n\t\"./MagicWB (Amiga).json\": [\n\t\t259,\n\t\t34\n\t],\n\t\"./Merbivore Soft.json\": [\n\t\t260,\n\t\t35\n\t],\n\t\"./Merbivore.json\": [\n\t\t261,\n\t\t36\n\t],\n\t\"./Monokai Bright.json\": [\n\t\t262,\n\t\t37\n\t],\n\t\"./Monokai.json\": [\n\t\t263,\n\t\t38\n\t],\n\t\"./Night Owl.json\": [\n\t\t264,\n\t\t39\n\t],\n\t\"./Nord.json\": [\n\t\t265,\n\t\t40\n\t],\n\t\"./Oceanic Next.json\": [\n\t\t266,\n\t\t41\n\t],\n\t\"./Pastels on Dark.json\": [\n\t\t267,\n\t\t42\n\t],\n\t\"./Slush and Poppies.json\": [\n\t\t268,\n\t\t43\n\t],\n\t\"./Solarized-dark.json\": [\n\t\t269,\n\t\t44\n\t],\n\t\"./Solarized-light.json\": [\n\t\t270,\n\t\t45\n\t],\n\t\"./SpaceCadet.json\": [\n\t\t271,\n\t\t46\n\t],\n\t\"./Sunburst.json\": [\n\t\t272,\n\t\t47\n\t],\n\t\"./Textmate (Mac Classic).json\": [\n\t\t273,\n\t\t48\n\t],\n\t\"./Tomorrow-Night-Blue.json\": [\n\t\t274,\n\t\t49\n\t],\n\t\"./Tomorrow-Night-Bright.json\": [\n\t\t275,\n\t\t50\n\t],\n\t\"./Tomorrow-Night-Eighties.json\": [\n\t\t276,\n\t\t51\n\t],\n\t\"./Tomorrow-Night.json\": [\n\t\t277,\n\t\t52\n\t],\n\t\"./Tomorrow.json\": [\n\t\t278,\n\t\t53\n\t],\n\t\"./Twilight.json\": [\n\t\t279,\n\t\t54\n\t],\n\t\"./Upstream Sunburst.json\": [\n\t\t280,\n\t\t55\n\t],\n\t\"./Vibrant Ink.json\": [\n\t\t281,\n\t\t56\n\t],\n\t\"./Xcode_default.json\": [\n\t\t282,\n\t\t57\n\t],\n\t\"./Zenburnesque.json\": [\n\t\t283,\n\t\t58\n\t],\n\t\"./iPlastic.json\": [\n\t\t284,\n\t\t59\n\t],\n\t\"./idleFingers.json\": [\n\t\t285,\n\t\t60\n\t],\n\t\"./krTheme.json\": [\n\t\t286,\n\t\t61\n\t],\n\t\"./monoindustrial.json\": [\n\t\t287,\n\t\t62\n\t],\n\t\"./themelist.json\": [\n\t\t83\n\t],\n\t\"./vs-dark-plus.json\": [\n\t\t288,\n\t\t63\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__.t(id, 3);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 196;\nmodule.exports = webpackAsyncContext;","import { makeStyles } from '@material-ui/core/styles';\n\nconst useStyles = makeStyles(theme => ({\n wrapper: {\n height: '100%',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n },\n paper: {\n padding: 40,\n \n '& img': {\n width: 'auto',\n height: 25,\n },\n '& h6': {\n paddingLeft: 15,\n },\n },\n buttons: {\n marginTop: 30,\n },\n}));\n\nexport default useStyles;\n","import React from 'react';\n\nimport Paper from '@material-ui/core/Paper';\nimport Typography from '@material-ui/core/Typography';\nimport Button from '@material-ui/core/Button';\nimport ResetIcon from '@material-ui/icons/Refresh';\n\nimport { resetApp } from 'utils';\nimport config from 'config';\n\nimport useStyles from './useStyles';\n\nconst ErrorBoundaryFallback = _ => {\n const classes = useStyles();\n\n return (\n
\n \n \n {config.messages.errorBoundary.somethingWentWrong}\n \n
\n
\n \n
\n or\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default ErrorBoundaryFallback;\n","import ErrorBoundaryFallback from './ErrorBoundaryFallback';\n\nexport default ErrorBoundaryFallback;\n","import { lazy } from 'react';\n\nexport default lazy(_ => import('./Header'));\n","import { makeStyles } from '@material-ui/core/styles';\n\nconst useStyles = makeStyles(theme => ({\n root: {\n flexGrow: 1,\n marginBottom: theme.mixins.toolbar.minHeight + 4,\n },\n}));\n\nexport default useStyles;\n","import React from 'react';\n\nimport HeaderLoader from 'sections/Header';\nimport { asyncComponentLoader } from 'utils';\n\nimport useStyles from './useStyles';\n\nconst HeaderSection = asyncComponentLoader(HeaderLoader);\n\nconst Header = _ => {\n const classes = useStyles();\n\n return (\n
\n \n
\n );\n};\n\nexport default Header;\n","import React from 'react';\n\nimport Header from './Header';\n\n//import Structure from './Structure';\nimport { MuiThemeProvider } from 'theme';\n\nconst Layout = _ => \n
\n
\n\n
\n
;\n\nexport default Layout;\n","\nimport React from 'react';\nimport { MuiThemeProvider } from 'theme';\nimport ErrorBoundary from 'react-error-boundary';\nimport ErrorBoundaryFallback from 'components/ErrorBoundaryFallback';\nimport Notifications from 'notifications';\nimport Layout from 'layout';\n\nexport const App = () => (\n \n \n\n\n \n \n\n \n \n\n);\n\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister();\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\n\nimport App from './App';\nimport { Provider } from 'overmind-react';\nimport { MuiThemeProvider } from 'theme';\nimport { store } from 'store';\n\nimport * as serviceWorker from './serviceWorker';\n\nimport './index.css';\n\nReactDOM.render(\n \n \n \n \n , document.getElementById('root'));\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n","import config from 'config';\nimport examples from \"../../config/examples\";\n\nconst initalTheme = 'dark';\nconst DEFAULT_GUEST_FILE_CONTENT = examples[19] || '';\n\nconst initialState = {\n\n themeMode: initalTheme,\n isSettingsVisible: false,\n isSideBarVisible: true,\n isEditorReady: false,\n selectedMenuItem: 'playground', // New state to track selected menu item\n showOverlay: false,\n notifications: config.notifications.defaultState,\n\n editor: {\n selectedLanguageId: 19, // 19 is the id of javasctipt\n options: {\n inlayHintsOptions: true,\n acceptSuggestionOnCommitCharacter: true,\n acceptSuggestionOnEnter: 'on',\n accessibilitySupport: 'auto',\n autoIndent: false,\n automaticLayout: true,\n codeLens: true,\n colorDecorators: true,\n contextmenu: true,\n cursorBlinking: 'blink',\n cursorSmoothCaretAnimation: false,\n cursorStyle: 'line',\n disableLayerHinting: false,\n disableMonospaceOptimizations: false,\n dragAndDrop: false,\n fixedOverflowWidgets: false,\n folding: true,\n foldingStrategy: 'auto',\n fontSize: 14,\n fontFamily: 'JetBrains Mono',\n fontLigatures: false,\n formatOnPaste: false,\n formatOnType: false,\n hideCursorInOverviewRuler: false,\n highlightActiveIndentGuide: true,\n lineHeight: 24,\n links: true,\n minimap: {\n enabled: true,\n },\n scrollbar: {\n useShadows: false,\n horizontalSliderSize: 0,\n verticalSliderSize: 0,\n },\n stickyScroll: { enabled: false },\n mouseWheelZoom: true,\n multiCursorMergeOverlapping: true,\n multiCursorModifier: 'alt',\n overviewRulerBorder: true,\n overviewRulerLanes: 2,\n provideInlayHints: true,\n quickSuggestions: true,\n quickSuggestionsDelay: 200,\n readOnly: false,\n renderControlCharacters: false,\n renderFinalNewline: true,\n renderIndentGuides: false,\n renderLineHighlight: 'none',\n renderWhitespace: 'none',\n revealHorizontalRightPadding: 30,\n roundedSelection: true,\n rulers: [],\n scrollBeyondLastColumn: 5,\n scrollBeyondLastLine: false,\n selectOnLineNumbers: true,\n selectionClipboard: true,\n selectionHighlight: true,\n showFoldingControls: 'mouseover',\n smoothScrolling: false,\n suggestOnTriggerCharacters: true,\n wordBasedSuggestions: false,\n // eslint-disable-next-line\n wordSeparators: `~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?`,\n wordWrap: 'on',\n wordWrapBreakAfterCharacters: '\\t})]?|&,;',\n wordWrapBreakBeforeCharacters: '{([+',\n wordWrapBreakObtrusiveCharacters: '.',\n wordWrapColumn: 80,\n wordWrapMinified: true,\n wrappingIndent: 'none',\n },\n },\n openedFile: {\n id: '0',\n name: 'test_component.js',\n path: 'Root/test_component.js',\n },\n hasOpenedFile: false,\n lastOpenedFile: null,\n recentFile: null,\n lastPlaygroundFile: {\n id: \"0\",\n name: \"test_component.js\",\n path: \"Root/test_component.js\",\n content: DEFAULT_GUEST_FILE_CONTENT\n },\n openedFilePath: 'Root/test_component.js',\n\n filesInDirectory: [\n {\n name: 'test_component.js',\n path: 'Root/test_component.js',\n }\n ],\n\n currentFilePath: 'Root/test_component.js',\n currentFileName: 'test_component.js',\n editorMode: 'editor',\n editorTab: 0,\n themeBackground: '#1E1E1E',\n fontColor: '#EDECE4',\n newCode: '',\n uiContext: {\n screenshot: null\n },\n ai_editorValue: '',\n monacoTheme: initalTheme === 'dark' ? 'vs-dark' : initalTheme,\n\n user: null,\n shouldCloseFileSystemConnection: false,\n diffEditor: {\n selectedLanguageId: 24, // 24 is the id of markdown\n },\n};\n\n\nexport { initialState };\n","import { loader } from '@monaco-editor/react';\nimport { store } from '../../store';\n// Themes should be imported like shown below\nimport monacoThemes from './monaco-themes-master/themes/themelist';\n// But there is a build problem in server\n// It's a temprorary solution\n\n//const monacoThemes = {\"active4d\":\"Active4D\",\"all-hallows-eve\":\"All Hallows Eve\",\"amy\":\"Amy\",\"birds-of-paradise\":\"Birds of Paradise\",\"blackboard\":\"Blackboard\",\"brilliance-black\":\"Brilliance Black\",\"brilliance-dull\":\"Brilliance Dull\",\"chrome-devtools\":\"Chrome DevTools\",\"clouds-midnight\":\"Clouds Midnight\",\"clouds\":\"Clouds\",\"cobalt\":\"Cobalt\",\"dawn\":\"Dawn\",\"dreamweaver\":\"Dreamweaver\",\"eiffel\":\"Eiffel\",\"espresso-libre\":\"Espresso Libre\",\"github\":\"GitHub\",\"idle\":\"IDLE\",\"katzenmilch\":\"Katzenmilch\",\"kuroir-theme\":\"Kuroir Theme\",\"lazy\":\"LAZY\",\"magicwb--amiga-\":\"MagicWB (Amiga)\",\"merbivore-soft\":\"Merbivore Soft\",\"merbivore\":\"Merbivore\",\"monokai-bright\":\"Monokai Bright\",\"monokai\":\"Monokai\",\"night-owl\":\"Night Owl\",\"oceanic-next\":\"Oceanic Next\",\"pastels-on-dark\":\"Pastels on Dark\",\"slush-and-poppies\":\"Slush and Poppies\",\"solarized-dark\":\"Solarized-dark\",\"solarized-light\":\"Solarized-light\",\"spacecadet\":\"SpaceCadet\",\"sunburst\":\"Sunburst\",\"textmate--mac-classic-\":\"Textmate (Mac Classic)\",\"tomorrow-night-blue\":\"Tomorrow-Night-Blue\",\"tomorrow-night-bright\":\"Tomorrow-Night-Bright\",\"tomorrow-night-eighties\":\"Tomorrow-Night-Eighties\",\"tomorrow-night\":\"Tomorrow-Night\",\"tomorrow\":\"Tomorrow\",\"twilight\":\"Twilight\",\"upstream-sunburst\":\"Upstream Sunburst\",\"vibrant-ink\":\"Vibrant Ink\",\"xcode-default\":\"Xcode_default\",\"zenburnesque\":\"Zenburnesque\",\"iplastic\":\"iPlastic\",\"idlefingers\":\"idleFingers\",\"krtheme\":\"krTheme\",\"monoindustrial\":\"monoindustrial\"};\nconst defineTheme = theme => {\n return new Promise(res => {\n Promise.all(\n [\n loader.init(),\n import(`./monaco-themes-master/themes/${monacoThemes[theme]}.json`),\n ]\n ).then(\n ([monaco, themeData]) => {\n monaco.editor.defineTheme(theme, themeData);\n store.actions.setFontColor(themeData.colors['editor.foreground']);\n store.actions.setThemeBackground(themeData.colors['editor.background']);// Update the background color in state\n res();\n }\n );\n });\n};\n\nexport { defineTheme, monacoThemes};\n","import { createOvermind } from 'overmind';\nimport { createHook } from 'overmind-react';\n\nimport { initialState } from './state';\nimport * as actions from './actions';\nimport * as effects from './effects';\n\nexport const store = createOvermind({\n state: initialState,\n actions,\n effects,\n});\n\nexport const useStore = createHook();\n","const config = {\n links: {\n github: 'https://github.com/SurenAt93/monaco-react',\n },\n\n notifications: {\n props: {\n anchorOrigin: { vertical: 'top', horizontal: 'right' },\n autoHideDuration: 2500,\n },\n defaultState: {\n isActive: false,\n message: '',\n variant: 'info',\n opt: {},\n },\n },\n\n messages: {\n errorBoundary: {\n somethingWentWrong: 'Oooops... Sorry, I guess, something went wrong. You can:',\n resetApp: 'Press here to reset the application',\n openIssue: 'Press here to open issue about it on GitHub',\n },\n invalidOptions: 'Seems like options file is not a valid json, please double check it.'\n },\n\n urls: {\n octocatIcon: '/icons/octocat.png',\n themeModeIcon: '/icons/theme-mode.png',\n IEditorOptions: 'https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.IEditorOptions.html#acceptSuggestionOnCommitCharacter',\n },\n\n defaultThemes: ['vs-dark', 'light'],\n\n supportedLanguages: [{id:1,name:'apex'},{id:2,name:'azcli'},{id:3,name:'bat'},{id:4,name:'c'},{id:5,name:'clojure'},{id:6,name:'coffeescript'},{id:7,name:'cpp'},{id:8,name:'csharp'},{id:9,name:'csp'},{id:10,name:'css'},{id:11,name:'dockerfile'},{id:12,name:'fsharp'},{id:13,name:'go'},{id:14,name:'graphql'},{id:15,name:'handlebars'},{id:16,name:'html'},{id:17,name:'ini'},{id:18,name:'java'},{id:19,name:'javascript'},{id:20,name:'json'},{id:21,name:'kotlin'},{id:22,name:'less'},{id:23,name:'lua'},{id:24,name:'markdown'},{id:25,name:'msdax'},{id:26,name:'mysql'},{id:27,name:'objective-c'},{id:28,name:'pascal'},{id:29,name:'perl'},{id:30,name:'pgsql'},{id:31,name:'php'},{id:32,name:'plaintext'},{id:33,name:'postiats'},{id:34,name:'powerquery'},{id:35,name:'powershell'},{id:36,name:'pug'},{id:37,name:'python'},{id:38,name:'r'},{id:39,name:'razor'},{id:40,name:'redis'},{id:41,name:'redshift'},{id:42,name:'ruby'},{id:43,name:'rust'},{id:44,name:'sb'},{id:45,name:'scheme'},{id:46,name:'scss'},{id:47,name:'shell'},{id:48,name:'sol'},{id:49,name:'sql'},{id:50,name:'st'},{id:51,name:'swift'},{id:52,name:'tcl'},{id:53,name:'typescript'},{id:54,name:'vb'},{id:55,name:'xml'},{id:56,name:'yaml'}],\n};\n\nexport default config;\n","// Looks strange? Reset app by redirecting to \"/\"? 🤦\n// Fortunately or unfortunately our application has no backend side\n// and doesn't use cloud storages to keep or share states.\n// That's why for being able to share something between users we are\n// using the URL. When you are pressing the button \"Save\" or \"Share\"\n// we are adding the hashed state of your app into the URL. So, that means\n// by removing everything after \"/\" we appear in the default state of our app.\n\nconst resetApp = _ => (window.location.href = '/');\n\nexport default resetApp;\n","import Device from 'mobile-detect';\n\nexport default new Device(window.navigator.userAgent);\n","import device from './device';\n\nexport default device.mobile();\n","import device from './device';\n\nexport default !(device.mobile() || device.tablet() || device.phone());\n","import { makeStyles } from '@material-ui/core/styles';\n\nconst useStyles = makeStyles(theme => ({\n preloader: {\n position: 'absolute',\n width: '100%',\n height: '100%',\n left: 0,\n top: 0,\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n },\n}));\n\nexport default useStyles;\n","import React from 'react';\n\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport Paper from '@material-ui/core/Paper';\n\nimport useStyles from './useStyles';\n\nconst Loading = _ => {\n const classes = useStyles();\n\n return \n \n ;\n};\n\nLoading.propTypes = {\n // interesting times; there are components not using any prop...\n};\n\nexport default Loading;\n","import React, { Suspense } from 'react';\n\nimport Loading from 'components/Loading';\n\nconst wrapperStyles = {\n height: '100%',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexGrow: 1,\n minHeight: 50,\n flexShrink: 0,\n};\n\nconst WaitingCompLoader = _ =>
\n \n
;\n\nconst asyncComponentLoader = Component => props => }>\n \n;\n\nexport default asyncComponentLoader;\n","const rTabs = str => str.trim().replace(/^ {4}/gm, '');\n\nexport default rTabs;\n","import resetApp from './resetApp';\nimport device from './device';\nimport isDesktop from './isDesktop';\nimport isMobile from './isMobile';\nimport asyncComponentLoader from './asyncComponentLoader';\nimport rTabs from './rTabs';\nimport noop from './noop';\n\nexport {\n resetApp,\n device,\n isDesktop,\n isMobile,\n asyncComponentLoader,\n rTabs,\n noop,\n};\n","import { createMuiTheme } from '@material-ui/core/styles';\n\n// A custom theme for this app\nconst getTheme = themeMode => {\n\n const palette = {\n type: themeMode,\n };\n\n if (themeMode === 'dark') {\n palette.background = {\n paper: '#202124',\n };\n palette.background = {\n paper: '#1E1E23',\n }\n }\n\n return createMuiTheme({ palette });\n};\n\nexport default getTheme;\n","import React from 'react';\n\nimport { ThemeProvider, createTheme } from '@mui/material/styles';\nimport { useStore } from 'store';\n\nconst MuiThemeProvider = ({ children }) => {\n const { state: { themeMode } } = useStore();\n\n const theme = createTheme({\n components: {\n MuiTab: {\n styleOverrides: {\n root: {\n textTransform: \"none\",\n font: \"inherit\",\n fontSize: \"h5.fontSize\",\n minHeight: \"auto\",\n letterSpacing: \"-0.5px\", // Adjust this value to your liking\n \"&:hover\": {\n color: \"primary\",\n opacity: 1,\n },\n \"&$selected\": {\n color: \"primary\",\n fontWeight: \"theme.typography.fontWeightMedium\",\n },\n \"&:focus\": {},\n },\n },\n },\n },\n palette: {\n mode: themeMode,\n primary: themeMode === 'dark' ? {\n main: '#3C3C3C' // main color for dark mode\n } : {\n main: '#F4F4F4' // main color for light mode\n },\n background: themeMode === 'dark' ? {\n primary: '#3C3C3C',\n paper: '#1E1E1E',// main color for dark mode\n second_paper: '#474747',// second color for dark mode\n } : {\n primary: '#F4F4F4',\n paper: '#EDECE4', // main color for light mode\n second_paper: '#474747',// second color for light mode\n },\n text: {\n primary: themeMode === 'dark' ? '#EDECE4' : '#000000',\n secondary: themeMode === 'dark' ? '#919191' : '#000000',\n contrast: themeMode === 'dark' ? '#90CAF9' : '#64B5F6',\n },\n border: {\n primary: themeMode === 'dark' ? '#464749' : '#464749',\n }\n },\n });\n\n return (\n \n {children}\n \n );\n};\n\nexport default MuiThemeProvider;","import React, { useState, useEffect } from 'react';\nimport { styled } from '@mui/system';\nimport Paper from '@mui/material/Paper';\nimport { useStore } from 'store';\n\nconst MyPaperComp = styled(Paper)(({ theme }) => ({\n background: theme.palette.background.paper,\n border: `1px solid ${theme.palette.border.primary}`,\n color: theme.palette.text.primary,\n marginTop: 0,\n padding: 20,\n}));\n\nexport const MyPaper = ({ monacoTheme, ...props }) => {\n const { state: { themeBackground, fontColor } } = useStore();\n const [themeBkgd, setThemeBkgd] = useState(themeBackground);\n const [fontClr, setFontClr] = useState(fontColor);\n\n useEffect(() => {\n setThemeBkgd(themeBackground);\n }, [themeBackground]);\n\n useEffect(() => {\n setFontClr(fontColor);\n }, [fontColor]);\n\n return \n}","import React, { useEffect, useState } from 'react';\nimport { TextField } from \"@mui/material\";\nimport { styled } from '@mui/material/styles';\nimport { useStore } from \"../store\";\n\nconst StyledTextField = styled(TextField)(({ theme, fontColor, backgroundColor }) => ({\n '& .MuiFilledInput-input': {\n backgroundColor: backgroundColor,\n color: fontColor,\n },\n '& .MuiFilledInput-underline:before': {\n borderBottomColor: theme.palette.primary.main\n },\n '& .MuiFilledInput-underline:after': {\n borderBottomColor: '#90CAF9'\n },\n '& .MuiInputLabel-outlined:not(.MuiInputLabel-shrink)': {\n color: 'green',\n },\n '& .MuiInputLabel-shrink': {\n color: '#90CAF9',\n },\n '& .MuiInputLabel-root': {\n color: fontColor,\n },\n // New styles for focused state\n '& .MuiInputLabel-root.Mui-focused': {\n color: '#90CAF9', // Color when focused\n },\n '& .MuiFilledInput-root:focus-within': {\n '& .MuiInputLabel-root': {\n color: '#90CAF9', // Color when input is focused\n },\n },\n}));\n\nexport const CustomTextField = (props) => {\n const { state: { themeBackground, fontColor } } = useStore();\n const [themeBkgd, setThemeBkgd] = useState(themeBackground);\n const [fontClr, setFontClr] = useState(fontColor);\n\n useEffect(() => {\n setThemeBkgd(themeBackground);\n }, [themeBackground]);\n\n useEffect(() => {\n setFontClr(fontColor);\n }, [fontColor]);\n\n return (\n \n );\n};","import getTheme from './getTheme';\nimport MuiThemeProvider from './ThemeProvider';\nimport {MyPaper} from './myPaper';\nimport {CustomTextField} from './CustomTextField';\n\n\nexport { getTheme, MuiThemeProvider, MyPaper, CustomTextField };\n"],"sourceRoot":""}