{"version":3,"file":"js/application-8600f33cdf0c19232b38.js","mappings":"80xHAmBAA,OAAOC,UAAYA,EACnBD,OAAOE,EAAIA,EACXF,OAAOG,GAAKA,EACZH,OAAOI,OAASA,EAChBJ,OAAOK,mBAAqB,WACxB,MAAO,CACHD,EAAAA,IACAA,EAAAA,KACAA,EAAAA,IACAA,EAAAA,IACAA,EAAAA,IACAA,EAAAA,IACAA,EAAAA,IAER,EAgCA,MAAME,EAAaC,SAASC,gBAAgBC,KAE/BC,EAAO,IAAIC,EAAAA,GACxBD,EAAKE,MAAMC,GACXH,EAAKI,cAAgB,KACrBJ,EAAKK,gBAAiB,EACtBL,EAAKM,OAASV,EACdN,OAAOW,KAAOD,EAIdV,OAAOiB,OAASA,EAQhBC,IAAAA,OAAWC,IAAI,gBAAgB,GAC/BnB,OAAOkB,IAAMA,G","sources":["webpack://codeocean/./app/javascript/application.js"],"sourcesContent":["/* eslint no-console:0 */\n// This file is automatically compiled by Webpack, along with any other files\n// present in this directory. You're encouraged to place your actual application logic in\n// a relevant structure within app/javascript and only use these pack files to reference\n// that code so it'll be compiled.\n//\n// To reference this file, add <%= javascript_pack_tag 'application' %> to the appropriate\n// layout file, like app/views/layouts/application.html.slim\n\n// JS\nimport 'jquery';\nimport 'jquery-ujs'\nimport * as bootstrap from 'bootstrap/dist/js/bootstrap.bundle';\nimport 'chosen-js/chosen.jquery';\nimport 'jstree';\nimport * as _ from 'underscore';\nimport * as d3 from 'd3';\nimport * as Sentry from '@sentry/browser';\nimport 'sorttable';\nwindow.bootstrap = bootstrap; // Publish bootstrap in global namespace\nwindow._ = _; // Publish underscore's `_` in global namespace\nwindow.d3 = d3; // Publish d3 in global namespace\nwindow.Sentry = Sentry; // Publish sentry in global namespace\nwindow.SentryIntegrations = function() { // Publish sentry integration in global namespace\n return [\n Sentry.browserProfilingIntegration(),\n Sentry.browserTracingIntegration(),\n Sentry.extraErrorDataIntegration(),\n Sentry.httpClientIntegration(),\n Sentry.replayIntegration(),\n Sentry.reportingObserverIntegration(),\n Sentry.sessionTimingIntegration(),\n ]\n};\n\n// CSS\nimport 'chosen-js/chosen.css';\nimport 'chosen-dark.scss';\nimport 'jstree/dist/themes/default/style.min.css';\nimport 'jstree/dist/themes/default-dark/style.min.css';\n\n// custom jquery-ui library for minimal mouse interaction support\nimport 'jquery-ui/ui/widget'\nimport 'jquery-ui/ui/data'\nimport 'jquery-ui/ui/disable-selection'\nimport 'jquery-ui/ui/scroll-parent'\nimport 'jquery-ui/ui/widgets/draggable'\nimport 'jquery-ui/ui/widgets/droppable'\nimport 'jquery-ui/ui/widgets/resizable'\nimport 'jquery-ui/ui/widgets/selectable'\nimport 'jquery-ui/ui/widgets/sortable'\nimport 'jquery-ui/themes/base/draggable.css'\nimport 'jquery-ui/themes/base/core.css'\nimport 'jquery-ui/themes/base/resizable.css'\nimport 'jquery-ui/themes/base/selectable.css'\nimport 'jquery-ui/themes/base/sortable.css'\n\n\n// I18n locales\nimport { I18n } from \"i18n-js\";\nimport locales from \"../../tmp/locales.json\";\n\n// Fetch user locale from html#lang.\n// This value is being set on `app/views/layouts/application.html.slim` and\n// is inferred from `ACCEPT-LANGUAGE` header.\nconst userLocale = document.documentElement.lang;\n\nexport const i18n = new I18n();\ni18n.store(locales);\ni18n.defaultLocale = \"en\";\ni18n.enableFallback = true;\ni18n.locale = userLocale;\nwindow.I18n = i18n;\n\n// Routes\nimport * as Routes from 'routes.js.erb';\nwindow.Routes = Routes;\n\n// ACE editor\nimport ace from 'ace-builds';\nimport \"ace-builds/webpack-resolver\"; // Enable webpack resolver, requires `file-loader` to be installed\n// Enable ACE editor extensions. See https://github.com/ajaxorg/ace/wiki/Extensions\nimport \"ace-builds/src-noconflict/ext-language_tools\"; // Enable autocompletion\nimport \"ace-builds/src-noconflict/ext-modelist\"; // Enable language mode detection\nace.config.set(\"useStrictCSP\", true); // Enable strict CSP mode\nwindow.ace = ace; // Publish ace in global namespace\n"],"names":["window","bootstrap","_","d3","Sentry","SentryIntegrations","userLocale","document","documentElement","lang","i18n","I18n","store","locales","defaultLocale","enableFallback","locale","Routes","ace","set"],"sourceRoot":""}