{"version":3,"file":"ext-settings_menu-6e742735.js","sources":["../../node_modules/ace-builds/src-noconflict/ext-settings_menu.js"],"sourcesContent":["ace.define(\"ace/ext/menu_tools/settings_menu.css\",[\"require\",\"exports\",\"module\"], function(require, exports, module){module.exports = \"#ace_settingsmenu, #kbshortcutmenu {\\n background-color: #F7F7F7;\\n color: black;\\n box-shadow: -5px 4px 5px rgba(126, 126, 126, 0.55);\\n padding: 1em 0.5em 2em 1em;\\n overflow: auto;\\n position: absolute;\\n margin: 0;\\n bottom: 0;\\n right: 0;\\n top: 0;\\n z-index: 9991;\\n cursor: default;\\n}\\n\\n.ace_dark #ace_settingsmenu, .ace_dark #kbshortcutmenu {\\n box-shadow: -20px 10px 25px rgba(126, 126, 126, 0.25);\\n background-color: rgba(255, 255, 255, 0.6);\\n color: black;\\n}\\n\\n.ace_optionsMenuEntry:hover {\\n background-color: rgba(100, 100, 100, 0.1);\\n transition: all 0.3s\\n}\\n\\n.ace_closeButton {\\n background: rgba(245, 146, 146, 0.5);\\n border: 1px solid #F48A8A;\\n border-radius: 50%;\\n padding: 7px;\\n position: absolute;\\n right: -8px;\\n top: -8px;\\n z-index: 100000;\\n}\\n.ace_closeButton{\\n background: rgba(245, 146, 146, 0.9);\\n}\\n.ace_optionsMenuKey {\\n color: darkslateblue;\\n font-weight: bold;\\n}\\n.ace_optionsMenuCommand {\\n color: darkcyan;\\n font-weight: normal;\\n}\\n.ace_optionsMenuEntry input, .ace_optionsMenuEntry button {\\n vertical-align: middle;\\n}\\n\\n.ace_optionsMenuEntry button[ace_selected_button=true] {\\n background: #e7e7e7;\\n box-shadow: 1px 0px 2px 0px #adadad inset;\\n border-color: #adadad;\\n}\\n.ace_optionsMenuEntry button {\\n background: white;\\n border: 1px solid lightgray;\\n margin: 0px;\\n}\\n.ace_optionsMenuEntry button:hover{\\n background: #f0f0f0;\\n}\";\n\n});\n\nace.define(\"ace/ext/menu_tools/overlay_page\",[\"require\",\"exports\",\"module\",\"ace/lib/dom\",\"ace/ext/menu_tools/settings_menu.css\"], function(require, exports, module){/*jslint indent: 4, maxerr: 50, white: true, browser: true, vars: true*/\n'use strict';\nvar dom = require(\"../../lib/dom\");\nvar cssText = require(\"./settings_menu.css\");\ndom.importCssString(cssText, \"settings_menu.css\", false);\nmodule.exports.overlayPage = function overlayPage(editor, contentElement, callback) {\n var closer = document.createElement('div');\n var ignoreFocusOut = false;\n function documentEscListener(e) {\n if (e.keyCode === 27) {\n close();\n }\n }\n function close() {\n if (!closer)\n return;\n document.removeEventListener('keydown', documentEscListener);\n closer.parentNode.removeChild(closer);\n if (editor) {\n editor.focus();\n }\n closer = null;\n callback && callback();\n }\n function setIgnoreFocusOut(ignore) {\n ignoreFocusOut = ignore;\n if (ignore) {\n closer.style.pointerEvents = \"none\";\n contentElement.style.pointerEvents = \"auto\";\n }\n }\n closer.style.cssText = 'margin: 0; padding: 0; ' +\n 'position: fixed; top:0; bottom:0; left:0; right:0;' +\n 'z-index: 9990; ' +\n (editor ? 'background-color: rgba(0, 0, 0, 0.3);' : '');\n closer.addEventListener('click', function (e) {\n if (!ignoreFocusOut) {\n close();\n }\n });\n document.addEventListener('keydown', documentEscListener);\n contentElement.addEventListener('click', function (e) {\n e.stopPropagation();\n });\n closer.appendChild(contentElement);\n document.body.appendChild(closer);\n if (editor) {\n editor.blur();\n }\n return {\n close: close,\n setIgnoreFocusOut: setIgnoreFocusOut\n };\n};\n\n});\n\nace.define(\"ace/ext/modelist\",[\"require\",\"exports\",\"module\"], function(require, exports, module){\"use strict\";\nvar modes = [];\nfunction getModeForPath(path) {\n var mode = modesByName.text;\n var fileName = path.split(/[\\/\\\\]/).pop();\n for (var i = 0; i < modes.length; i++) {\n if (modes[i].supportsFile(fileName)) {\n mode = modes[i];\n break;\n }\n }\n return mode;\n}\nvar Mode = /** @class */ (function () {\n function Mode(name, caption, extensions) {\n this.name = name;\n this.caption = caption;\n this.mode = \"ace/mode/\" + name;\n this.extensions = extensions;\n var re;\n if (/\\^/.test(extensions)) {\n re = extensions.replace(/\\|(\\^)?/g, function (a, b) {\n return \"$|\" + (b ? \"^\" : \"^.*\\\\.\");\n }) + \"$\";\n }\n else {\n re = \"^.*\\\\.(\" + extensions + \")$\";\n }\n this.extRe = new RegExp(re, \"gi\");\n }\n Mode.prototype.supportsFile = function (filename) {\n return filename.match(this.extRe);\n };\n return Mode;\n}());\nvar supportedModes = {\n ABAP: [\"abap\"],\n ABC: [\"abc\"],\n ActionScript: [\"as\"],\n ADA: [\"ada|adb\"],\n Alda: [\"alda\"],\n Apache_Conf: [\"^htaccess|^htgroups|^htpasswd|^conf|htaccess|htgroups|htpasswd\"],\n Apex: [\"apex|cls|trigger|tgr\"],\n AQL: [\"aql\"],\n AsciiDoc: [\"asciidoc|adoc\"],\n ASL: [\"dsl|asl|asl.json\"],\n Assembly_x86: [\"asm|a\"],\n AutoHotKey: [\"ahk\"],\n BatchFile: [\"bat|cmd\"],\n BibTeX: [\"bib\"],\n C_Cpp: [\"cpp|c|cc|cxx|h|hh|hpp|ino\"],\n C9Search: [\"c9search_results\"],\n Cirru: [\"cirru|cr\"],\n Clojure: [\"clj|cljs\"],\n Cobol: [\"CBL|COB\"],\n coffee: [\"coffee|cf|cson|^Cakefile\"],\n ColdFusion: [\"cfm|cfc\"],\n Crystal: [\"cr\"],\n CSharp: [\"cs\"],\n Csound_Document: [\"csd\"],\n Csound_Orchestra: [\"orc\"],\n Csound_Score: [\"sco\"],\n CSS: [\"css\"],\n Curly: [\"curly\"],\n D: [\"d|di\"],\n Dart: [\"dart\"],\n Diff: [\"diff|patch\"],\n Dockerfile: [\"^Dockerfile\"],\n Dot: [\"dot\"],\n Drools: [\"drl\"],\n Edifact: [\"edi\"],\n Eiffel: [\"e|ge\"],\n EJS: [\"ejs\"],\n Elixir: [\"ex|exs\"],\n Elm: [\"elm\"],\n Erlang: [\"erl|hrl\"],\n Forth: [\"frt|fs|ldr|fth|4th\"],\n Fortran: [\"f|f90\"],\n FSharp: [\"fsi|fs|ml|mli|fsx|fsscript\"],\n FSL: [\"fsl\"],\n FTL: [\"ftl\"],\n Gcode: [\"gcode\"],\n Gherkin: [\"feature\"],\n Gitignore: [\"^.gitignore\"],\n Glsl: [\"glsl|frag|vert\"],\n Gobstones: [\"gbs\"],\n golang: [\"go\"],\n GraphQLSchema: [\"gql\"],\n Groovy: [\"groovy\"],\n HAML: [\"haml\"],\n Handlebars: [\"hbs|handlebars|tpl|mustache\"],\n Haskell: [\"hs\"],\n Haskell_Cabal: [\"cabal\"],\n haXe: [\"hx\"],\n Hjson: [\"hjson\"],\n HTML: [\"html|htm|xhtml|vue|we|wpy\"],\n HTML_Elixir: [\"eex|html.eex\"],\n HTML_Ruby: [\"erb|rhtml|html.erb\"],\n INI: [\"ini|conf|cfg|prefs\"],\n Io: [\"io\"],\n Ion: [\"ion\"],\n Jack: [\"jack\"],\n Jade: [\"jade|pug\"],\n Java: [\"java\"],\n JavaScript: [\"js|jsm|jsx|cjs|mjs\"],\n JEXL: [\"jexl\"],\n JSON: [\"json\"],\n JSON5: [\"json5\"],\n JSONiq: [\"jq\"],\n JSP: [\"jsp\"],\n JSSM: [\"jssm|jssm_state\"],\n JSX: [\"jsx\"],\n Julia: [\"jl\"],\n Kotlin: [\"kt|kts\"],\n LaTeX: [\"tex|latex|ltx|bib\"],\n Latte: [\"latte\"],\n LESS: [\"less\"],\n Liquid: [\"liquid\"],\n Lisp: [\"lisp\"],\n LiveScript: [\"ls\"],\n Log: [\"log\"],\n LogiQL: [\"logic|lql\"],\n Logtalk: [\"lgt\"],\n LSL: [\"lsl\"],\n Lua: [\"lua\"],\n LuaPage: [\"lp\"],\n Lucene: [\"lucene\"],\n Makefile: [\"^Makefile|^GNUmakefile|^makefile|^OCamlMakefile|make\"],\n Markdown: [\"md|markdown\"],\n Mask: [\"mask\"],\n MATLAB: [\"matlab\"],\n Maze: [\"mz\"],\n MediaWiki: [\"wiki|mediawiki\"],\n MEL: [\"mel\"],\n MIPS: [\"s|asm\"],\n MIXAL: [\"mixal\"],\n MUSHCode: [\"mc|mush\"],\n MySQL: [\"mysql\"],\n Nginx: [\"nginx|conf\"],\n Nim: [\"nim\"],\n Nix: [\"nix\"],\n NSIS: [\"nsi|nsh\"],\n Nunjucks: [\"nunjucks|nunjs|nj|njk\"],\n ObjectiveC: [\"m|mm\"],\n OCaml: [\"ml|mli\"],\n Odin: [\"odin\"],\n PartiQL: [\"partiql|pql\"],\n Pascal: [\"pas|p\"],\n Perl: [\"pl|pm\"],\n pgSQL: [\"pgsql\"],\n PHP: [\"php|inc|phtml|shtml|php3|php4|php5|phps|phpt|aw|ctp|module\"],\n PHP_Laravel_blade: [\"blade.php\"],\n Pig: [\"pig\"],\n PLSQL: [\"plsql\"],\n Powershell: [\"ps1\"],\n Praat: [\"praat|praatscript|psc|proc\"],\n Prisma: [\"prisma\"],\n Prolog: [\"plg|prolog\"],\n Properties: [\"properties\"],\n Protobuf: [\"proto\"],\n Puppet: [\"epp|pp\"],\n Python: [\"py\"],\n QML: [\"qml\"],\n R: [\"r\"],\n Raku: [\"raku|rakumod|rakutest|p6|pl6|pm6\"],\n Razor: [\"cshtml|asp\"],\n RDoc: [\"Rd\"],\n Red: [\"red|reds\"],\n RHTML: [\"Rhtml\"],\n Robot: [\"robot|resource\"],\n RST: [\"rst\"],\n Ruby: [\"rb|ru|gemspec|rake|^Guardfile|^Rakefile|^Gemfile\"],\n Rust: [\"rs\"],\n SaC: [\"sac\"],\n SASS: [\"sass\"],\n SCAD: [\"scad\"],\n Scala: [\"scala|sbt\"],\n Scheme: [\"scm|sm|rkt|oak|scheme\"],\n Scrypt: [\"scrypt\"],\n SCSS: [\"scss\"],\n SH: [\"sh|bash|^.bashrc\"],\n SJS: [\"sjs\"],\n Slim: [\"slim|skim\"],\n Smarty: [\"smarty|tpl\"],\n Smithy: [\"smithy\"],\n snippets: [\"snippets\"],\n Soy_Template: [\"soy\"],\n Space: [\"space\"],\n SPARQL: [\"rq\"],\n SQL: [\"sql\"],\n SQLServer: [\"sqlserver\"],\n Stylus: [\"styl|stylus\"],\n SVG: [\"svg\"],\n Swift: [\"swift\"],\n Tcl: [\"tcl\"],\n Terraform: [\"tf\", \"tfvars\", \"terragrunt\"],\n Tex: [\"tex\"],\n Text: [\"txt\"],\n Textile: [\"textile\"],\n Toml: [\"toml\"],\n TSX: [\"tsx\"],\n Turtle: [\"ttl\"],\n Twig: [\"twig|swig\"],\n Typescript: [\"ts|typescript|str\"],\n Vala: [\"vala\"],\n VBScript: [\"vbs|vb\"],\n Velocity: [\"vm\"],\n Verilog: [\"v|vh|sv|svh\"],\n VHDL: [\"vhd|vhdl\"],\n Visualforce: [\"vfp|component|page\"],\n Wollok: [\"wlk|wpgm|wtest\"],\n XML: [\"xml|rdf|rss|wsdl|xslt|atom|mathml|mml|xul|xbl|xaml\"],\n XQuery: [\"xq\"],\n YAML: [\"yaml|yml\"],\n Zeek: [\"zeek|bro\"],\n Django: [\"html\"]\n};\nvar nameOverrides = {\n ObjectiveC: \"Objective-C\",\n CSharp: \"C#\",\n golang: \"Go\",\n C_Cpp: \"C and C++\",\n Csound_Document: \"Csound Document\",\n Csound_Orchestra: \"Csound\",\n Csound_Score: \"Csound Score\",\n coffee: \"CoffeeScript\",\n HTML_Ruby: \"HTML (Ruby)\",\n HTML_Elixir: \"HTML (Elixir)\",\n FTL: \"FreeMarker\",\n PHP_Laravel_blade: \"PHP (Blade Template)\",\n Perl6: \"Perl 6\",\n AutoHotKey: \"AutoHotkey / AutoIt\"\n};\nvar modesByName = {};\nfor (var name in supportedModes) {\n var data = supportedModes[name];\n var displayName = (nameOverrides[name] || name).replace(/_/g, \" \");\n var filename = name.toLowerCase();\n var mode = new Mode(filename, displayName, data[0]);\n modesByName[filename] = mode;\n modes.push(mode);\n}\nmodule.exports = {\n getModeForPath: getModeForPath,\n modes: modes,\n modesByName: modesByName\n};\n\n});\n\nace.define(\"ace/ext/themelist\",[\"require\",\"exports\",\"module\"], function(require, exports, module){/**\n * Generates a list of themes available when ace was built.\n * @fileOverview Generates a list of themes available when ace was built.\n * @author \n * Matthew Christopher Kastor-Inare III
\n * ☭ Hial Atropa!! ☭\n */\n\"use strict\";\nvar themeData = [\n [\"Chrome\"],\n [\"Clouds\"],\n [\"Crimson Editor\"],\n [\"Dawn\"],\n [\"Dreamweaver\"],\n [\"Eclipse\"],\n [\"GitHub\"],\n [\"IPlastic\"],\n [\"Solarized Light\"],\n [\"TextMate\"],\n [\"Tomorrow\"],\n [\"XCode\"],\n [\"Kuroir\"],\n [\"KatzenMilch\"],\n [\"SQL Server\", \"sqlserver\", \"light\"],\n [\"Ambiance\", \"ambiance\", \"dark\"],\n [\"Chaos\", \"chaos\", \"dark\"],\n [\"Clouds Midnight\", \"clouds_midnight\", \"dark\"],\n [\"Dracula\", \"\", \"dark\"],\n [\"Cobalt\", \"cobalt\", \"dark\"],\n [\"Gruvbox\", \"gruvbox\", \"dark\"],\n [\"Green on Black\", \"gob\", \"dark\"],\n [\"idle Fingers\", \"idle_fingers\", \"dark\"],\n [\"krTheme\", \"kr_theme\", \"dark\"],\n [\"Merbivore\", \"merbivore\", \"dark\"],\n [\"Merbivore Soft\", \"merbivore_soft\", \"dark\"],\n [\"Mono Industrial\", \"mono_industrial\", \"dark\"],\n [\"Monokai\", \"monokai\", \"dark\"],\n [\"Nord Dark\", \"nord_dark\", \"dark\"],\n [\"One Dark\", \"one_dark\", \"dark\"],\n [\"Pastel on dark\", \"pastel_on_dark\", \"dark\"],\n [\"Solarized Dark\", \"solarized_dark\", \"dark\"],\n [\"Terminal\", \"terminal\", \"dark\"],\n [\"Tomorrow Night\", \"tomorrow_night\", \"dark\"],\n [\"Tomorrow Night Blue\", \"tomorrow_night_blue\", \"dark\"],\n [\"Tomorrow Night Bright\", \"tomorrow_night_bright\", \"dark\"],\n [\"Tomorrow Night 80s\", \"tomorrow_night_eighties\", \"dark\"],\n [\"Twilight\", \"twilight\", \"dark\"],\n [\"Vibrant Ink\", \"vibrant_ink\", \"dark\"],\n [\"GitHub Dark\", \"github_dark\", \"dark\"]\n];\nexports.themesByName = {};\nexports.themes = themeData.map(function (data) {\n var name = data[1] || data[0].replace(/ /g, \"_\").toLowerCase();\n var theme = {\n caption: data[0],\n theme: \"ace/theme/\" + name,\n isDark: data[2] == \"dark\",\n name: name\n };\n exports.themesByName[name] = theme;\n return theme;\n});\n\n});\n\nace.define(\"ace/ext/options\",[\"require\",\"exports\",\"module\",\"ace/ext/menu_tools/overlay_page\",\"ace/lib/dom\",\"ace/lib/oop\",\"ace/config\",\"ace/lib/event_emitter\",\"ace/ext/modelist\",\"ace/ext/themelist\"], function(require, exports, module){\"use strict\";\nrequire(\"./menu_tools/overlay_page\");\nvar dom = require(\"../lib/dom\");\nvar oop = require(\"../lib/oop\");\nvar config = require(\"../config\");\nvar EventEmitter = require(\"../lib/event_emitter\").EventEmitter;\nvar buildDom = dom.buildDom;\nvar modelist = require(\"./modelist\");\nvar themelist = require(\"./themelist\");\nvar themes = { Bright: [], Dark: [] };\nthemelist.themes.forEach(function (x) {\n themes[x.isDark ? \"Dark\" : \"Bright\"].push({ caption: x.caption, value: x.theme });\n});\nvar modes = modelist.modes.map(function (x) {\n return { caption: x.caption, value: x.mode };\n});\nvar optionGroups = {\n Main: {\n Mode: {\n path: \"mode\",\n type: \"select\",\n items: modes\n },\n Theme: {\n path: \"theme\",\n type: \"select\",\n items: themes\n },\n \"Keybinding\": {\n type: \"buttonBar\",\n path: \"keyboardHandler\",\n items: [\n { caption: \"Ace\", value: null },\n { caption: \"Vim\", value: \"ace/keyboard/vim\" },\n { caption: \"Emacs\", value: \"ace/keyboard/emacs\" },\n { caption: \"Sublime\", value: \"ace/keyboard/sublime\" },\n { caption: \"VSCode\", value: \"ace/keyboard/vscode\" }\n ]\n },\n \"Font Size\": {\n path: \"fontSize\",\n type: \"number\",\n defaultValue: 12,\n defaults: [\n { caption: \"12px\", value: 12 },\n { caption: \"24px\", value: 24 }\n ]\n },\n \"Soft Wrap\": {\n type: \"buttonBar\",\n path: \"wrap\",\n items: [\n { caption: \"Off\", value: \"off\" },\n { caption: \"View\", value: \"free\" },\n { caption: \"margin\", value: \"printMargin\" },\n { caption: \"40\", value: \"40\" }\n ]\n },\n \"Cursor Style\": {\n path: \"cursorStyle\",\n items: [\n { caption: \"Ace\", value: \"ace\" },\n { caption: \"Slim\", value: \"slim\" },\n { caption: \"Smooth\", value: \"smooth\" },\n { caption: \"Smooth And Slim\", value: \"smooth slim\" },\n { caption: \"Wide\", value: \"wide\" }\n ]\n },\n \"Folding\": {\n path: \"foldStyle\",\n items: [\n { caption: \"Manual\", value: \"manual\" },\n { caption: \"Mark begin\", value: \"markbegin\" },\n { caption: \"Mark begin and end\", value: \"markbeginend\" }\n ]\n },\n \"Soft Tabs\": [{\n path: \"useSoftTabs\"\n }, {\n ariaLabel: \"Tab Size\",\n path: \"tabSize\",\n type: \"number\",\n values: [2, 3, 4, 8, 16]\n }],\n \"Overscroll\": {\n type: \"buttonBar\",\n path: \"scrollPastEnd\",\n items: [\n { caption: \"None\", value: 0 },\n { caption: \"Half\", value: 0.5 },\n { caption: \"Full\", value: 1 }\n ]\n }\n },\n More: {\n \"Atomic soft tabs\": {\n path: \"navigateWithinSoftTabs\"\n },\n \"Enable Behaviours\": {\n path: \"behavioursEnabled\"\n },\n \"Wrap with quotes\": {\n path: \"wrapBehavioursEnabled\"\n },\n \"Enable Auto Indent\": {\n path: \"enableAutoIndent\"\n },\n \"Full Line Selection\": {\n type: \"checkbox\",\n values: \"text|line\",\n path: \"selectionStyle\"\n },\n \"Highlight Active Line\": {\n path: \"highlightActiveLine\"\n },\n \"Show Invisibles\": {\n path: \"showInvisibles\"\n },\n \"Show Indent Guides\": {\n path: \"displayIndentGuides\"\n },\n \"Highlight Indent Guides\": {\n path: \"highlightIndentGuides\"\n },\n \"Persistent HScrollbar\": {\n path: \"hScrollBarAlwaysVisible\"\n },\n \"Persistent VScrollbar\": {\n path: \"vScrollBarAlwaysVisible\"\n },\n \"Animate scrolling\": {\n path: \"animatedScroll\"\n },\n \"Show Gutter\": {\n path: \"showGutter\"\n },\n \"Show Line Numbers\": {\n path: \"showLineNumbers\"\n },\n \"Relative Line Numbers\": {\n path: \"relativeLineNumbers\"\n },\n \"Fixed Gutter Width\": {\n path: \"fixedWidthGutter\"\n },\n \"Show Print Margin\": [{\n path: \"showPrintMargin\"\n }, {\n ariaLabel: \"Print Margin\",\n type: \"number\",\n path: \"printMarginColumn\"\n }],\n \"Indented Soft Wrap\": {\n path: \"indentedSoftWrap\"\n },\n \"Highlight selected word\": {\n path: \"highlightSelectedWord\"\n },\n \"Fade Fold Widgets\": {\n path: \"fadeFoldWidgets\"\n },\n \"Use textarea for IME\": {\n path: \"useTextareaForIME\"\n },\n \"Merge Undo Deltas\": {\n path: \"mergeUndoDeltas\",\n items: [\n { caption: \"Always\", value: \"always\" },\n { caption: \"Never\", value: \"false\" },\n { caption: \"Timed\", value: \"true\" }\n ]\n },\n \"Elastic Tabstops\": {\n path: \"useElasticTabstops\"\n },\n \"Incremental Search\": {\n path: \"useIncrementalSearch\"\n },\n \"Read-only\": {\n path: \"readOnly\"\n },\n \"Copy without selection\": {\n path: \"copyWithEmptySelection\"\n },\n \"Live Autocompletion\": {\n path: \"enableLiveAutocompletion\"\n },\n \"Custom scrollbar\": {\n path: \"customScrollbar\"\n },\n \"Use SVG gutter icons\": {\n path: \"useSvgGutterIcons\"\n },\n \"Annotations for folded lines\": {\n path: \"showFoldedAnnotations\"\n },\n \"Keyboard Accessibility Mode\": {\n path: \"enableKeyboardAccessibility\"\n }\n }\n};\nvar OptionPanel = /** @class */ (function () {\n function OptionPanel(editor, element) {\n this.editor = editor;\n this.container = element || document.createElement(\"div\");\n this.groups = [];\n this.options = {};\n }\n OptionPanel.prototype.add = function (config) {\n if (config.Main)\n oop.mixin(optionGroups.Main, config.Main);\n if (config.More)\n oop.mixin(optionGroups.More, config.More);\n };\n OptionPanel.prototype.render = function () {\n this.container.innerHTML = \"\";\n buildDom([\"table\", { role: \"presentation\", id: \"controls\" },\n this.renderOptionGroup(optionGroups.Main),\n [\"tr\", null, [\"td\", { colspan: 2 },\n [\"table\", { role: \"presentation\", id: \"more-controls\" },\n this.renderOptionGroup(optionGroups.More)\n ]\n ]],\n [\"tr\", null, [\"td\", { colspan: 2 }, \"version \" + config.version]]\n ], this.container);\n };\n OptionPanel.prototype.renderOptionGroup = function (group) {\n return Object.keys(group).map(function (key, i) {\n var item = group[key];\n if (!item.position)\n item.position = i / 10000;\n if (!item.label)\n item.label = key;\n return item;\n }).sort(function (a, b) {\n return a.position - b.position;\n }).map(function (item) {\n return this.renderOption(item.label, item);\n }, this);\n };\n OptionPanel.prototype.renderOptionControl = function (key, option) {\n var self = this;\n if (Array.isArray(option)) {\n return option.map(function (x) {\n return self.renderOptionControl(key, x);\n });\n }\n var control;\n var value = self.getOption(option);\n if (option.values && option.type != \"checkbox\") {\n if (typeof option.values == \"string\")\n option.values = option.values.split(\"|\");\n option.items = option.values.map(function (v) {\n return { value: v, name: v };\n });\n }\n if (option.type == \"buttonBar\") {\n control = [\"div\", { role: \"group\", \"aria-labelledby\": option.path + \"-label\" }, option.items.map(function (item) {\n return [\"button\", {\n value: item.value,\n ace_selected_button: value == item.value,\n 'aria-pressed': value == item.value,\n onclick: function () {\n self.setOption(option, item.value);\n var nodes = this.parentNode.querySelectorAll(\"[ace_selected_button]\");\n for (var i = 0; i < nodes.length; i++) {\n nodes[i].removeAttribute(\"ace_selected_button\");\n nodes[i].setAttribute(\"aria-pressed\", false);\n }\n this.setAttribute(\"ace_selected_button\", true);\n this.setAttribute(\"aria-pressed\", true);\n }\n }, item.desc || item.caption || item.name];\n })];\n }\n else if (option.type == \"number\") {\n control = [\"input\", { type: \"number\", value: value || option.defaultValue, style: \"width:3em\", oninput: function () {\n self.setOption(option, parseInt(this.value));\n } }];\n if (option.ariaLabel) {\n control[1][\"aria-label\"] = option.ariaLabel;\n }\n else {\n control[1].id = key;\n }\n if (option.defaults) {\n control = [control, option.defaults.map(function (item) {\n return [\"button\", { onclick: function () {\n var input = this.parentNode.firstChild;\n input.value = item.value;\n input.oninput();\n } }, item.caption];\n })];\n }\n }\n else if (option.items) {\n var buildItems = function (items) {\n return items.map(function (item) {\n return [\"option\", { value: item.value || item.name }, item.desc || item.caption || item.name];\n });\n };\n var items = Array.isArray(option.items)\n ? buildItems(option.items)\n : Object.keys(option.items).map(function (key) {\n return [\"optgroup\", { \"label\": key }, buildItems(option.items[key])];\n });\n control = [\"select\", { id: key, value: value, onchange: function () {\n self.setOption(option, this.value);\n } }, items];\n }\n else {\n if (typeof option.values == \"string\")\n option.values = option.values.split(\"|\");\n if (option.values)\n value = value == option.values[1];\n control = [\"input\", { type: \"checkbox\", id: key, checked: value || null, onchange: function () {\n var value = this.checked;\n if (option.values)\n value = option.values[value ? 1 : 0];\n self.setOption(option, value);\n } }];\n if (option.type == \"checkedNumber\") {\n control = [control, []];\n }\n }\n return control;\n };\n OptionPanel.prototype.renderOption = function (key, option) {\n if (option.path && !option.onchange && !this.editor.$options[option.path])\n return;\n var path = Array.isArray(option) ? option[0].path : option.path;\n this.options[path] = option;\n var safeKey = \"-\" + path;\n var safeId = path + \"-label\";\n var control = this.renderOptionControl(safeKey, option);\n return [\"tr\", { class: \"ace_optionsMenuEntry\" }, [\"td\",\n [\"label\", { for: safeKey, id: safeId }, key]\n ], [\"td\", control]];\n };\n OptionPanel.prototype.setOption = function (option, value) {\n if (typeof option == \"string\")\n option = this.options[option];\n if (value == \"false\")\n value = false;\n if (value == \"true\")\n value = true;\n if (value == \"null\")\n value = null;\n if (value == \"undefined\")\n value = undefined;\n if (typeof value == \"string\" && parseFloat(value).toString() == value)\n value = parseFloat(value);\n if (option.onchange)\n option.onchange(value);\n else if (option.path)\n this.editor.setOption(option.path, value);\n this._signal(\"setOption\", { name: option.path, value: value });\n };\n OptionPanel.prototype.getOption = function (option) {\n if (option.getValue)\n return option.getValue();\n return this.editor.getOption(option.path);\n };\n return OptionPanel;\n}());\noop.implement(OptionPanel.prototype, EventEmitter);\nexports.OptionPanel = OptionPanel;\n\n});\n\nace.define(\"ace/ext/settings_menu\",[\"require\",\"exports\",\"module\",\"ace/ext/options\",\"ace/ext/menu_tools/overlay_page\",\"ace/editor\"], function(require, exports, module){/*jslint indent: 4, maxerr: 50, white: true, browser: true, vars: true*/\n\"use strict\";\nvar OptionPanel = require(\"./options\").OptionPanel;\nvar overlayPage = require('./menu_tools/overlay_page').overlayPage;\nfunction showSettingsMenu(editor) {\n if (!document.getElementById('ace_settingsmenu')) {\n var options = new OptionPanel(editor);\n options.render();\n options.container.id = \"ace_settingsmenu\";\n overlayPage(editor, options.container);\n options.container.querySelector(\"select,input,button,checkbox\").focus();\n }\n}\nmodule.exports.init = function () {\n var Editor = require(\"../editor\").Editor;\n Editor.prototype.showSettingsMenu = function () {\n showSettingsMenu(this);\n };\n};\n\n}); (function() {\n ace.require([\"ace/ext/settings_menu\"], function(m) {\n if (typeof module == \"object\" && typeof exports == \"object\" && module) {\n module.exports = m;\n }\n });\n })();\n "],"names":["require","exports","module","dom","cssText","editor","contentElement","callback","closer","ignoreFocusOut","documentEscListener","e","close","setIgnoreFocusOut","ignore","modes","getModeForPath","path","mode","modesByName","fileName","i","Mode","name","caption","extensions","re","a","b","filename","supportedModes","nameOverrides","data","displayName","themeData","theme","oop","config","EventEmitter","buildDom","modelist","themelist","themes","x","optionGroups","OptionPanel","element","group","key","item","option","self","control","value","v","nodes","input","buildItems","items","safeKey","safeId","overlayPage","showSettingsMenu","options","Editor","m"],"mappings":"gaAAA,IAAI,OAAO,uCAAuC,CAAC,UAAU,UAAU,QAAQ,EAAG,SAASA,EAASC,EAASC,EAAO,CAACA,EAAO,QAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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