All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.cfe1a9dd61dd943a574fc6c7157372f7.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
(()=>{var m=(n,s)=>()=>(s||n((s={exports:{}}).exports,s),s.exports);var x=m((y,f)=>{ace.define("ace/ext/menu_tools/settings_menu.css",["require","exports","module"],function(n,s,i){i.exports=`#ace_settingsmenu, #kbshortcutmenu {
    background-color: #F7F7F7;
    color: black;
    box-shadow: -5px 4px 5px rgba(126, 126, 126, 0.55);
    padding: 1em 0.5em 2em 1em;
    overflow: auto;
    position: absolute;
    margin: 0;
    bottom: 0;
    right: 0;
    top: 0;
    z-index: 9991;
    cursor: default;
}

.ace_dark #ace_settingsmenu, .ace_dark #kbshortcutmenu {
    box-shadow: -20px 10px 25px rgba(126, 126, 126, 0.25);
    background-color: rgba(255, 255, 255, 0.6);
    color: black;
}

.ace_optionsMenuEntry:hover {
    background-color: rgba(100, 100, 100, 0.1);
    transition: all 0.3s
}

.ace_closeButton {
    background: rgba(245, 146, 146, 0.5);
    border: 1px solid #F48A8A;
    border-radius: 50%;
    padding: 7px;
    position: absolute;
    right: -8px;
    top: -8px;
    z-index: 100000;
}
.ace_closeButton{
    background: rgba(245, 146, 146, 0.9);
}
.ace_optionsMenuKey {
    color: darkslateblue;
    font-weight: bold;
}
.ace_optionsMenuCommand {
    color: darkcyan;
    font-weight: normal;
}
.ace_optionsMenuEntry input, .ace_optionsMenuEntry button {
    vertical-align: middle;
}

.ace_optionsMenuEntry button[ace_selected_button=true] {
    background: #e7e7e7;
    box-shadow: 1px 0px 2px 0px #adadad inset;
    border-color: #adadad;
}
.ace_optionsMenuEntry button {
    background: white;
    border: 1px solid lightgray;
    margin: 0px;
}
.ace_optionsMenuEntry button:hover{
    background: #f0f0f0;
}`});ace.define("ace/ext/menu_tools/overlay_page",["require","exports","module","ace/lib/dom","ace/ext/menu_tools/settings_menu.css"],function(n,s,i){"use strict";var b=n("../../lib/dom"),g=n("./settings_menu.css");b.importCssString(g,"settings_menu.css",!1),i.exports.overlayPage=function(o,r,l){var e=document.createElement("div"),c=!1;function u(d){d.keyCode===27&&a()}function a(){e&&(document.removeEventListener("keydown",u),e.parentNode.removeChild(e),o&&o.focus(),e=null,l&&l())}function t(d){c=d,d&&(e.style.pointerEvents="none",r.style.pointerEvents="auto")}return e.style.cssText="margin: 0; padding: 0; position: fixed; top:0; bottom:0; left:0; right:0;z-index: 9990; "+(o?"background-color: rgba(0, 0, 0, 0.3);":""),e.addEventListener("click",function(d){c||a()}),document.addEventListener("keydown",u),r.addEventListener("click",function(d){d.stopPropagation()}),e.appendChild(r),document.body.appendChild(e),o&&o.blur(),{close:a,setIgnoreFocusOut:t}}});ace.define("ace/ext/menu_tools/get_editor_keyboard_shortcuts",["require","exports","module","ace/lib/keys"],function(n,s,i){"use strict";var b=n("../../lib/keys");i.exports.getEditorKeybordShortcuts=function(g){var p=b.KEY_MODS,o=[],r={};return g.keyBinding.$handlers.forEach(function(l){var e=l.commandKeyBinding;for(var c in e){var u=c.replace(/(^|-)\w/g,function(t){return t.toUpperCase()}),a=e[c];Array.isArray(a)||(a=[a]),a.forEach(function(t){typeof t!="string"&&(t=t.name),r[t]?r[t].key+="|"+u:(r[t]={key:u,command:t},o.push(r[t]))})}}),o}});ace.define("ace/ext/keybinding_menu",["require","exports","module","ace/editor","ace/ext/menu_tools/overlay_page","ace/ext/menu_tools/get_editor_keyboard_shortcuts"],function(n,s,i){"use strict";var b=n("../editor").Editor;function g(p){if(!document.getElementById("kbshortcutmenu")){var o=n("./menu_tools/overlay_page").overlayPage,r=n("./menu_tools/get_editor_keyboard_shortcuts").getEditorKeybordShortcuts,l=r(p),e=document.createElement("div"),c=l.reduce(function(u,a){return u+'
'+a.command+' : '+a.key+"
"},"");e.id="kbshortcutmenu",e.innerHTML="

Keyboard Shortcuts

"+c+"
",o(p,e)}}i.exports.init=function(p){b.prototype.showKeyboardShortcuts=function(){g(this)},p.commands.addCommands([{name:"showKeyboardShortcuts",bindKey:{win:"Ctrl-Alt-h",mac:"Command-Alt-h"},exec:function(o,r){o.showKeyboardShortcuts()}}])}});(function(){ace.require(["ace/ext/keybinding_menu"],function(n){typeof f=="object"&&typeof y=="object"&&f&&(f.exports=n)})})()});x();})(); //# sourceMappingURL=cfe1a9dd61dd943a574fc6c7157372f7.js.map



© 2015 - 2024 Weber Informatics LLC | Privacy Policy