Compare commits

..

5 Commits

Author SHA1 Message Date
Harry Bomrah 62fd91904c again test for update manager 2014-03-11 15:31:10 +08:00
Harry Bomrah 20922a983d update manager test commit 2014-03-11 12:19:59 +08:00
Saurabh Bhatia 5cfc5bfcc3 Reverted back 2014-03-10 18:33:25 +08:00
Saurabh Bhatia 25a16b944e Update Readme 2014-03-10 17:46:48 +08:00
Saurabh Bhatia d01f2fc125 updated with tags 2014-03-10 17:44:44 +08:00
354 changed files with 4273 additions and 4128 deletions

2
.gitignore vendored
View File

@ -7,7 +7,6 @@ Gemfile.lock
db/*.sqlite3
log/*.log
log/*.gz
public/assets
public/index.html
public/panel/**/*
@ -26,4 +25,3 @@ uploads/**/*
config/mongoid.yml
*.
sftp-config.json
.ruby-version

View File

@ -35,7 +35,7 @@ eval(File.read(File.dirname(__FILE__) + '/built_in_extensions.rb'))
eval(File.read(File.dirname(__FILE__) + '/downloaded_extensions.rb'))
#form helpers
gem 'dynamic_form'
gem 'dynamic_form', :git => 'git@gitlab.tp.rulingcom.com:saurabh/dynamic-form.git'
gem 'fb_graph'
gem 'rack-gridfs'
@ -43,7 +43,7 @@ gem 'radius'
gem 'rake'
# gem 'remotipart'
gem 'resque', :require => 'resque/server' # background jobs
gem 'resque-scheduler', '2.5.5' # job scheduling
gem 'resque-scheduler' # job scheduling
gem 'resque-restriction'
#gem 'rb-readline'
# gem 'ruby-debug19'
@ -102,14 +102,14 @@ group :test, :development do
gem "rspec", "~> 2.0"
gem "rspec-rails", "~> 2.0"
gem "factory_girl_rails"
# gem "shoulda-matchers"
gem "shoulda-matchers"
gem "simplecov"
gem "delorean"
gem "watchr"
gem "spork"
gem "capybara"
#gem 'rack-mini-profiler'
gem "better_errors", "1.1.0"
gem "better_errors"
# gem 'yard'
# gem "bluecloth"
end

View File

@ -1,3 +1,3 @@
# Ruling Orbit
RulingSite-s Version 4.0 Beta
RulingSite-s Version 4.2.2 Beta

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

View File

@ -19,8 +19,8 @@ $(function () {
'use strict';
// Initialize the jQuery File Upload widget:
$('#fileupload').fileupload({
maxFileSize: 50000000000,
acceptFileTypes: /(\.|\/)(gif|jpe?g|png|pdf|doc|docx|ppt|pptx|xls|xlsx|csv|txt|zip|rar|tar|gz|odt|tiff|key|page)$/i,
maxFileSize: 5000000,
acceptFileTypes: /(\.|\/)(gif|jpe?g|png|pdf|doc|docx|ppt|pptx|xls|xlsx)$/i,
dropZone: $('#dropzone'),
headers:{
'X-CSRF-Token': $('meta[name="csrf-token"]').attr("content")

View File

@ -1,32 +1,21 @@
/**
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license

/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* This file was added automatically by CKEditor builder.
* You may re-use it at any time to build CKEditor again.
*
* If you would like to build CKEditor online again
* (for example to upgrade), visit one the following links:
*
* (1) http://ckeditor.com/builder
* Visit online builder to build CKEditor from scratch.
*
* (2) http://ckeditor.com/builder/92360f6882b3ad9983742e54e809dc80
* Visit online builder to build CKEditor, starting with the same setup as before.
*
* (3) http://ckeditor.com/builder/download/92360f6882b3ad9983742e54e809dc80
* Straight download link to the latest version of CKEditor (Optimized) with the same setup as before.
*
* NOTE:
* You may re-use it at any time at http://ckeditor.com/builder to build CKEditor again.
*
* NOTE:
* This file is not used by CKEditor, you may remove it.
* Changing this file will not change your CKEditor configuration.
*/
var CKBUILDER_CONFIG = {
skin: 'moono',
preset: 'full',
preset: 'standard',
ignore: [
'dev',
'.gitignore',
@ -35,71 +24,77 @@ var CKBUILDER_CONFIG = {
'.mailmap'
],
plugins : {
'a11yhelp' : 1,
'about' : 1,
'a11yhelp' : 1,
'basicstyles' : 1,
'bidi' : 1,
'blockquote' : 1,
'clipboard' : 1,
'codemirror' : 1,
'colorbutton' : 1,
'colordialog' : 1,
'contextmenu' : 1,
'dialogadvtab' : 1,
'div' : 1,
'resize' : 1,
'toolbar' : 1,
'elementspath' : 1,
'enterkey' : 1,
'entities' : 1,
'filebrowser' : 1,
'find' : 1,
'flash' : 1,
'floatingspace' : 1,
'font' : 1,
'format' : 1,
'forms' : 1,
'horizontalrule' : 1,
'htmlwriter' : 1,
'iframe' : 1,
'horizontalrule' : 1,
'wysiwygarea' : 1,
'image' : 1,
'indentblock' : 1,
'indentlist' : 1,
'justify' : 1,
'language' : 1,
'indent' : 1,
'link' : 1,
'list' : 1,
'liststyle' : 1,
'magicline' : 1,
'maximize' : 1,
'newpage' : 1,
'pagebreak' : 1,
'pastefromword' : 1,
'pastetext' : 1,
'preview' : 1,
'print' : 1,
'pastefromword' : 1,
'removeformat' : 1,
'resize' : 1,
'save' : 1,
'scayt' : 1,
'selectall' : 1,
'showblocks' : 1,
'showborders' : 1,
'smiley' : 1,
'sourcearea' : 1,
'specialchar' : 1,
'scayt' : 1,
'stylescombo' : 1,
'tab' : 1,
'table' : 1,
'tabletools' : 1,
'templates' : 1,
'toolbar' : 1,
'undo' : 1,
'wsc' : 1,
'wysiwygarea' : 1,
'youtube' : 1
'dialog' : 1,
'dialogui' : 1,
'menu' : 1,
'floatpanel' : 1,
'panel' : 1,
'button' : 1,
'popup' : 1,
'richcombo' : 1,
'listblock' : 1,
'fakeobjects' : 1,
'menubutton' : 1,
'codemirror' : 1,
'panelbutton' : 1,
'colorbutton' : 1,
'colordialog' : 1,
'templates' : 1,
'find' : 1,
'font' : 1,
'justify' : 1,
'liststyle' : 1,
'selectall' : 1,
'showborders' : 1,
'showblocks' : 1,
'tableresize' : 1,
'stylesheetparser' : 1,
'youtube' : 1,
'preview' : 1
},
languages : {
'en' : 1,
'zh-cn' : 1,
'zh' : 1,
'zh-cn' : 1
'en' : 1,
'fr' : 1,
'ja' : 1,
'ko' : 1,
'ru' : 1,
'es' : 1,
}
};

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,25 @@
CKEDITOR.editorConfig = (config) ->
# config.language = "zh"
# config.uiColor = "#AADC6E"
config.extraPlugins = 'wordcount,filebrowser'
# config.customFilebrowserImageBrowseLinkUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
# config.filebrowserUploadUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
# config.filebrowserBrowseUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
# config.filebrowserUploadUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
config.filebrowserImageBrowseUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
# config.filebrowserFlashBrowseUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
# config.filebrowserImageUploadUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
# config.filebrowserFlashUploadUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
# config.filebrowserImageBrowseLinkUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>"
config.filebrowserWindowHeight = 480
config.filebrowserWindowWidth = 640
config.filebrowserWindowFeatures = 'resizable=no,scrollbars=no'
config.wordcount =
# Whether or not you want to show the Word Count
showWordCount: true
# Whether or not you want to show the Char Count
showCharCount: true
true

View File

@ -5,13 +5,47 @@
CKEDITOR.editorConfig = function( config ) {
config.uiColor = '#e6e6e6';
config.language = 'zh';
config.language = 'en';
config.height = 400;
config.resize_minHeight = 400;
config.toolbarCanCollapse = true;
// config.allowedContent = true;
config.keystrokes = [
[ CKEDITOR.CTRL + 90 /*Z*/, 'undo' ], //撤銷
[ CKEDITOR.CTRL + 89 /*Y*/, 'redo' ], //重做
[ CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 /*Z*/, 'redo' ], //
[ CKEDITOR.CTRL + 76 /*L*/, 'link' ], //鏈結
[ CKEDITOR.CTRL + 66 /*B*/, 'bold' ], //粗體
[ CKEDITOR.CTRL + 73 /*I*/, 'italic' ], //斜體
[ CKEDITOR.CTRL + 85 /*U*/, 'underline' ], //下劃線
[ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ]
];
config.autoGrow_onStartup = true;
config.forcePasteAsPlainText = false;
// config.filebrowserBrowseUrl = '/browser/browse.php';
// config.filebrowserImageBrowseUrl = '/browser/browse.php?type=Images';
// config.filebrowserUploadUrl = '/uploader/upload.php';
config.plugins = 'dialogui,dialog,about,a11yhelp,dialogadvtab,basicstyles,blockquote,clipboard,button,panelbutton,panel,floatpanel,colorbutton,colordialog,templates,menu,contextmenu,resize,toolbar,elementspath,enterkey,entities,popup,filebrowser,find,image,fakeobjects,floatingspace,listblock,richcombo,font,format,horizontalrule,htmlwriter,iframe,wysiwygarea,indent,indentblock,indentlist,justify,menubutton,link,list,liststyle,magicline,maximize,newpage,pastetext,pastefromword,removeformat,selectall,showblocks,showborders,sourcearea,specialchar,scayt,stylescombo,tab,table,tabletools,undo,wsc,youtube,codemirror';
config.filebrowserBrowseUrl = "<%= Rails.application.routes.url_helpers.admin_assets_path(:module_app_id=>ModuleApp.where(:key=>'asset').first.id) %>";
config.filebrowserImageBrowseUrl = "<%= Rails.application.routes.url_helpers.admin_assets_path(:type=>'image',:module_app_id=>ModuleApp.where(:key=>'asset').first.id) %>";
// config.filebrowserUploadUrl = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>";
// config.contentsCss = '/orbit_4.0.1/assets/javascripts/lib/ckeditor/plugins/stylesheetparser/samples/assets/sample.css';
// Load from a list of definitions.
// config.stylesSet = [
// { name: 'Strong Emphasis', element: 'strong' },
// { name: 'Emphasis', element: 'em' },
// ];
//Font Config
// config.fontSize_sizes = '12/12px;13/13px;14/14px;16/16px;18/18px;20/20px;24/24px;30/30px;36/36px;42/42px;48/48px;';
config.font_names = 'Arial;Comic Sans MS;Courier New;Georgia;Helvetica;Lucida Sans Unicode;Tahoma;Times New Roman;Trebuchet MS;Verdana;微軟正黑體';
// Define changes to default configuration here.
// For the complete reference:
// http://docs.ckeditor.com/#!/api/CKEDITOR.config
// The toolbar groups arrangement, optimized for two toolbar rows.
config.toolbarGroups = [
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
@ -22,25 +56,71 @@ CKEDITOR.editorConfig = function( config ) {
{ name: 'tools' },
{ name: 'others' },
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
{ name: 'styles' },
{ name: 'colors' },
{ name: 'about' }
];
config.allowedContent = true;
// Paste from Word Config
// config.pasteFromWordPromptCleanup = true;
// config.pasteFromWordCleanupFile = true;
config.pasteFromWordRemoveFontStyles = false;
config.pasteFromWordNumberedHeadingToList = true;
config.pasteFromWordRemoveStyles = false;
config.skin = 'moono';
// Codemirror Config
config.codemirror = {
// Whether or not you want to show line numbers
lineNumbers: true,
// Whether or not you want to use line wrapping
lineWrapping: true,
// Whether or not you want to highlight matching braces
matchBrackets: true,
// Whether or not you want tags to automatically close themselves
autoCloseTags: true,
// Whether or not you want Brackets to automatically close themselves
autoCloseBrackets: true,
// Whether or not to enable search tools, CTRL+F (Find), CTRL+SHIFT+F (Replace), CTRL+SHIFT+R (Replace All), CTRL+G (Find Next), CTRL+SHIFT+G (Find Previous)
enableSearchTools: true,
// Whether or not you wish to enable code folding (requires 'lineNumbers' to be set to 'true')
enableCodeFolding: true,
// Whether or not to enable code formatting
enableCodeFormatting: true,
// Whether or not to automatically format code should be done when the editor is loaded
autoFormatOnStart: true,
// Whether or not to automatically format code should be done every time the source view is opened
autoFormatOnModeChange: true,
// Whether or not to automatically format code which has just been uncommented
autoFormatOnUncomment: true,
// Whether or not to highlight the currently active line
highlightActiveLine: true,
// Whether or not to show the search Code button on the toolbar
showSearchButton: true,
// Whether or not to highlight all matches of current word/selection
highlightMatches: true,
// Whether or not to show the format button on the toolbar
showFormatButton: true,
// Whether or not to show the comment button on the toolbar
showCommentButton: true,
// Whether or not to show the uncomment button on the toolbar
showUncommentButton: true,
// Whether or not to show the showAutoCompleteButton button on the toolbar
showAutoCompleteButton: true
}
config.filebrowserBrowseUrl = "<%= Rails.application.routes.url_helpers.admin_assets_path(:module_app_id=>ModuleApp.where(:key=>'asset').first.id) %>";
config.filebrowserImageBrowseUrl = "<%= Rails.application.routes.url_helpers.admin_assets_path(:type=>'image',:module_app_id=>ModuleApp.where(:key=>'asset').first.id) %>";
// Magicline Config
config.magicline_color = '#0088CC';
//Font Config
config.font_names = 'Arial;Comic Sans MS;Courier New;Georgia;Helvetica;Lucida Sans Unicode;Tahoma;Times New Roman;Trebuchet MS;Verdana;微軟正黑體';
// Remove some buttons, provided by the standard plugins, which we don't
// need to have in the Standard(s) toolbar.
config.removeButtons = 'Cut,Copy,Paste';
config.enterMode = CKEDITOR.ENTER_BR;
config.shiftEnterMode = CKEDITOR.ENTER_BR;
config.pasteFromWordPromptCleanup = true;
// Se the most common block elements.
config.format_tags = 'p;h1;h2;h3;pre;div';
// Make dialogs simpler.
config.removeDialogTabs = 'image:advanced;link:advanced';
};
CKEDITOR.on('instanceReady',function(){

View File

@ -1,6 +1,6 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
body
@ -21,7 +21,7 @@ body
.cke_editable
{
font-size: 13px;
line-height: 1.6;
line-height: 1.6em;
}
blockquote
@ -64,7 +64,7 @@ ol,ul,dl
h1,h2,h3,h4,h5,h6
{
font-weight: normal;
line-height: 1.2;
line-height: 1.2em;
}
hr
@ -73,62 +73,31 @@ hr
border-top: 1px solid #ccc;
}
img.right
{
border: 1px solid #ccc;
float: right;
margin-left: 15px;
padding: 5px;
img.right {
border: 1px solid #ccc;
float: right;
margin-left: 15px;
padding: 5px;
}
img.left
{
border: 1px solid #ccc;
float: left;
margin-right: 15px;
padding: 5px;
img.left {
border: 1px solid #ccc;
float: left;
margin-right: 15px;
padding: 5px;
}
img:hover {
opacity: .9;
filter: alpha(opacity = 90);
}
pre
{
white-space: pre-wrap; /* CSS 2.1 */
word-wrap: break-word; /* IE7 */
-moz-tab-size: 4;
-o-tab-size: 4;
-webkit-tab-size: 4;
tab-size: 4;
}
.marker
{
background-color: Yellow;
}
span[lang]
{
font-style: italic;
}
figure
{
text-align: center;
border: solid 1px #ccc;
border-radius: 2px;
background: rgba(0,0,0,0.05);
padding: 10px;
margin: 10px 20px;
display: inline-block;
}
figure > figcaption
{
text-align: center;
display: block; /* For IE8 */
}
a > img {
padding: 1px;
margin: 1px;
border: none;
outline: 1px solid #0782C1;
.marker {
background-color: Yellow;
}

View File

@ -1,5 +1,5 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
(function(a){CKEDITOR.config.jqueryOverrideVal="undefined"==typeof CKEDITOR.config.jqueryOverrideVal?!0:CKEDITOR.config.jqueryOverrideVal;"undefined"!=typeof a&&(a.extend(a.fn,{ckeditorGet:function(){var a=this.eq(0).data("ckeditorInstance");if(!a)throw"CKEditor is not initialized yet, use ckeditor() with a callback.";return a},ckeditor:function(g,d){if(!CKEDITOR.env.isCompatible)throw Error("The environment is incompatible.");if(!a.isFunction(g))var k=d,d=g,g=k;var i=[],d=d||{};this.each(function(){var b=

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add("a11yHelp",function(j){var a=j.lang.a11yhelp,l=CKEDITOR.tools.getNextId(),e={8:a.backspace,9:a.tab,13:a.enter,16:a.shift,17:a.ctrl,18:a.alt,19:a.pause,20:a.capslock,27:a.escape,33:a.pageUp,34:a.pageDown,35:a.end,36:a.home,37:a.leftArrow,38:a.upArrow,39:a.rightArrow,40:a.downArrow,45:a.insert,46:a["delete"],91:a.leftWindowKey,92:a.rightWindowKey,93:a.selectKey,96:a.numpad0,97:a.numpad1,98:a.numpad2,99:a.numpad3,100:a.numpad4,101:a.numpad5,102:a.numpad6,103:a.numpad7,104:a.numpad8,
105:a.numpad9,106:a.multiply,107:a.add,109:a.subtract,110:a.decimalPoint,111:a.divide,112:a.f1,113:a.f2,114:a.f3,115:a.f4,116:a.f5,117:a.f6,118:a.f7,119:a.f8,120:a.f9,121:a.f10,122:a.f11,123:a.f12,144:a.numLock,145:a.scrollLock,186:a.semiColon,187:a.equalSign,188:a.comma,189:a.dash,190:a.period,191:a.forwardSlash,192:a.graveAccent,219:a.openBracket,220:a.backSlash,221:a.closeBracket,222:a.singleQuote};e[CKEDITOR.ALT]=a.alt;e[CKEDITOR.SHIFT]=a.shift;e[CKEDITOR.CTRL]=a.ctrl;var f=[CKEDITOR.ALT,CKEDITOR.SHIFT,
CKEDITOR.CTRL],m=/\$\{(.*?)\}/g,p=function(){var a=j.keystrokeHandler.keystrokes,g={},c;for(c in a)g[a[c]]=c;return function(a,c){var b;if(g[c]){b=g[c];for(var h,i,k=[],d=0;d<f.length;d++)i=f[d],h=b/f[d],1<h&&2>=h&&(b-=i,k.push(e[i]));k.push(e[b]||String.fromCharCode(b));b=k.join("+")}else b=a;return b}}();return{title:a.title,minWidth:600,minHeight:400,contents:[{id:"info",label:j.lang.common.generalTab,expand:!0,elements:[{type:"html",id:"legends",style:"white-space:normal;",focus:function(){this.getElement().focus()},
html:function(){for(var e='<div class="cke_accessibility_legend" role="document" aria-labelledby="'+l+'_arialbl" tabIndex="-1">%1</div><span id="'+l+'_arialbl" class="cke_voice_label">'+a.contents+" </span>",g=[],c=a.legend,j=c.length,f=0;f<j;f++){for(var b=c[f],h=[],i=b.items,k=i.length,d=0;d<k;d++){var n=i[d],o=n.legend.replace(m,p);o.match(m)||h.push("<dt>%1</dt><dd>%2</dd>".replace("%1",n.name).replace("%2",o))}g.push("<h1>%1</h1><dl>%2</dl>".replace("%1",b.name).replace("%2",h.join("")))}return e.replace("%1",
g.join(""))}()+'<style type="text/css">.cke_accessibility_legend{width:600px;height:400px;padding-right:5px;overflow-y:auto;overflow-x:hidden;}.cke_browser_quirks .cke_accessibility_legend,{height:390px}.cke_accessibility_legend *{white-space:normal;}.cke_accessibility_legend h1{font-size: 20px;border-bottom: 1px solid #AAA;margin: 5px 0px 15px;}.cke_accessibility_legend dl{margin-left: 5px;}.cke_accessibility_legend dt{font-size: 13px;font-weight: bold;}.cke_accessibility_legend dd{margin:10px}</style>'}]}],
CKEDITOR.dialog.add("a11yHelp",function(j){var l=j.lang.a11yhelp,m=CKEDITOR.tools.getNextId(),d={8:"BACKSPACE",9:"TAB",13:"ENTER",16:"SHIFT",17:"CTRL",18:"ALT",19:"PAUSE",20:"CAPSLOCK",27:"ESCAPE",33:"PAGE UP",34:"PAGE DOWN",35:"END",36:"HOME",37:"LEFT ARROW",38:"UP ARROW",39:"RIGHT ARROW",40:"DOWN ARROW",45:"INSERT",46:"DELETE",91:"LEFT WINDOW KEY",92:"RIGHT WINDOW KEY",93:"SELECT KEY",96:"NUMPAD 0",97:"NUMPAD 1",98:"NUMPAD 2",99:"NUMPAD 3",100:"NUMPAD 4",101:"NUMPAD 5",102:"NUMPAD 6",103:"NUMPAD 7",
104:"NUMPAD 8",105:"NUMPAD 9",106:"MULTIPLY",107:"ADD",109:"SUBTRACT",110:"DECIMAL POINT",111:"DIVIDE",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NUM LOCK",145:"SCROLL LOCK",186:"SEMI-COLON",187:"EQUAL SIGN",188:"COMMA",189:"DASH",190:"PERIOD",191:"FORWARD SLASH",192:"GRAVE ACCENT",219:"OPEN BRACKET",220:"BACK SLASH",221:"CLOSE BRAKET",222:"SINGLE QUOTE"};d[CKEDITOR.ALT]="ALT";d[CKEDITOR.SHIFT]="SHIFT";d[CKEDITOR.CTRL]="CTRL";
var e=[CKEDITOR.ALT,CKEDITOR.SHIFT,CKEDITOR.CTRL],n=/\$\{(.*?)\}/g,q=function(){var o=j.keystrokeHandler.keystrokes,f={},b;for(b in o)f[o[b]]=b;return function(b,g){var a;if(f[g]){a=f[g];for(var h,i,k=[],c=0;c<e.length;c++)i=e[c],h=a/e[c],1<h&&2>=h&&(a-=i,k.push(d[i]));k.push(d[a]||String.fromCharCode(a));a=k.join("+")}else a=b;return a}}();return{title:l.title,minWidth:600,minHeight:400,contents:[{id:"info",label:j.lang.common.generalTab,expand:!0,elements:[{type:"html",id:"legends",style:"white-space:normal;",
focus:function(){this.getElement().focus()},html:function(){for(var d='<div class="cke_accessibility_legend" role="document" aria-labelledby="'+m+'_arialbl" tabIndex="-1">%1</div><span id="'+m+'_arialbl" class="cke_voice_label">'+l.contents+" </span>",f=[],b=l.legend,j=b.length,g=0;g<j;g++){for(var a=b[g],h=[],i=a.items,k=i.length,c=0;c<k;c++){var e=i[c],p=e.legend.replace(n,q);p.match(n)||h.push("<dt>%1</dt><dd>%2</dd>".replace("%1",e.name).replace("%2",p))}f.push("<h1>%1</h1><dl>%2</dl>".replace("%1",
a.name).replace("%2",h.join("")))}return d.replace("%1",f.join(""))}()+'<style type="text/css">.cke_accessibility_legend{width:600px;height:400px;padding-right:5px;overflow-y:auto;overflow-x:hidden;}.cke_browser_quirks .cke_accessibility_legend,.cke_browser_ie6 .cke_accessibility_legend{height:390px}.cke_accessibility_legend *{white-space:normal;}.cke_accessibility_legend h1{font-size: 20px;border-bottom: 1px solid #AAA;margin: 5px 0px 15px;}.cke_accessibility_legend dl{margin-left: 5px;}.cke_accessibility_legend dt{font-size: 13px;font-weight: bold;}.cke_accessibility_legend dd{margin:10px}</style>'}]}],
buttons:[CKEDITOR.dialog.cancelButton]}});

View File

@ -1,5 +1,5 @@
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
cs.js Found: 30 Missing: 0
cy.js Found: 30 Missing: 0

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","ar",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"عام",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"إضافة",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"تقسيم",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"فاصلة",dash:"Dash",period:"نقطة",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","bg",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"Общо",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,13 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","ca",{title:"Instruccions d'Accessibilitat",contents:"Continguts de l'Ajuda. Per tancar aquest quadre de diàleg premi ESC.",legend:[{name:"General",items:[{name:"Editor de barra d'eines",legend:"Premi ${toolbarFocus} per desplaçar-se per la barra d'eines. Vagi en el següent i anterior grup de barra d'eines amb TAB i SHIFT-TAB. Vagi en el següent i anterior botó de la barra d'eines amb RIGHT ARROW i LEFT ARROW. Premi SPACE o ENTER per activar el botó de la barra d'eines."},
{name:"Editor de quadre de diàleg",legend:"Dins d'un quadre de diàleg, premi la tecla TAB per desplaçar-se al següent camp del quadre de diàleg, premi SHIFT + TAB per desplaçar-se a l'anterior camp, premi ENTER per acceptar el quadre de diàleg, premi ESC per cancel·lar el quadre de diàleg. Per els quadres de diàleg que tenen diverses pestanyes, premi ALT + F10 per anar a la llista de pestanyes. Després podrà desplaçar-se a la següent pestanya amb TAB o RIGHT ARROW. Anar a la pestanya anterior amb SHIFT + TAB o LEFT ARROW. Premi SPACE o ENTER per seleccionar la pestanya."},
{name:"Editor de menú contextual",legend:"Premi ${contextMenu} o APPLICATION KEY per obrir el menú contextual. Després desplacis a la següent opció del menú amb TAB o DOWN ARROW. Desplacis a l'anterior opció amb SHIFT+TAB o UP ARROW. Premi SPACE o ENTER per seleccionar l'opció del menú. Obri el submenú de l'actual opció utilitzant SPACE o ENTER o RIGHT ARROW. Pot tornar a l'opció del menú pare amb ESC o LEFT ARROW. Tanqui el menú contextual amb ESC."},{name:"Editor de caixa de llista",legend:"Dins d'un quadre de llista, desplacis al següent element de la llista amb TAB o DOWN ARROW. Desplacis a l'anterior element de la llista amb SHIFT + TAB o UP ARROW. Premi SPACE o ENTER per seleccionar l'opció de la llista. Premi ESC per tancar el quadre de llista."},
{name:"Editor de barra de ruta de l'element",legend:"Premi ${elementsPathFocus} per anar als elements de la barra de ruta. Desplacis al botó de l'element següent amb TAB o RIGHT ARROW. Desplacis a l'anterior botó amb SHIFT+TAB o LEFT ARROW. Premi SPACE o ENTER per seleccionar l'element a l'editor."}]},{name:"Ordres",items:[{name:"Desfer ordre",legend:"Premi ${undo}"},{name:"Refer ordre",legend:"Premi ${redo}"},{name:"Ordre negreta",legend:"Premi ${bold}"},{name:"Ordre cursiva",legend:"Premi ${italic}"},
{name:"Ordre subratllat",legend:"Premi ${underline}"},{name:"Ordre enllaç",legend:"Premi ${link}"},{name:"Ordre amagar barra d'eines",legend:"Premi ${toolbarCollapse}"},{name:"Ordre per accedir a l'anterior espai enfocat",legend:"Premi ${accessPreviousSpace} per accedir a l'enfocament d'espai més proper inabastable abans del símbol d'intercalació, per exemple: dos elements HR adjacents. Repetiu la combinació de tecles per arribar a enfocaments d'espais distants."},{name:"Ordre per accedir al següent espai enfocat",
legend:"Premi ${accessNextSpace} per accedir a l'enfocament d'espai més proper inabastable després del símbol d'intercalació, per exemple: dos elements HR adjacents. Repetiu la combinació de tecles per arribar a enfocaments d'espais distants."},{name:"Ajuda d'accessibilitat",legend:"Premi ${a11yHelp}"}]}],backspace:"Retrocés",tab:"Tabulació",enter:"Intro",shift:"Majúscules",ctrl:"Ctrl",alt:"Alt",pause:"Pausa",capslock:"Bloqueig de majúscules",escape:"Escape",pageUp:"Pàgina Amunt",pageDown:"Pàgina Avall",
end:"Fi",home:"Inici",leftArrow:"Fletxa Esquerra",upArrow:"Fletxa Amunt",rightArrow:"Fletxa Dreta",downArrow:"Fletxa Avall",insert:"Inserir","delete":"Eliminar",leftWindowKey:"Tecla Windows Esquerra",rightWindowKey:"Tecla Windows Dreta",selectKey:"Tecla Seleccionar",numpad0:"Teclat Numèric 0",numpad1:"Teclat Numèric 1",numpad2:"Teclat Numèric 2",numpad3:"Teclat Numèric 3",numpad4:"Teclat Numèric 4",numpad5:"Teclat Numèric 5",numpad6:"Teclat Numèric 6",numpad7:"Teclat Numèric 7",numpad8:"Teclat Numèric 8",
numpad9:"Teclat Numèric 9",multiply:"Multiplicació",add:"Suma",subtract:"Resta",decimalPoint:"Punt Decimal",divide:"Divisió",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Bloqueig Teclat Numèric",scrollLock:"Bloqueig de Desplaçament",semiColon:"Punt i Coma",equalSign:"Símbol Igual",comma:"Coma",dash:"Guió",period:"Punt",forwardSlash:"Barra Diagonal",graveAccent:"Accent Obert",openBracket:"Claudàtor Obert",backSlash:"Barra Invertida",
closeBracket:"Claudàtor Tancat",singleQuote:"Cometa Simple"});
legend:"Premi ${accessNextSpace} per accedir a l'enfocament d'espai més proper inabastable després del símbol d'intercalació, per exemple: dos elements HR adjacents. Repetiu la combinació de tecles per arribar a enfocaments d'espais distants."},{name:"Ajuda d'accessibilitat",legend:"Premi ${a11yHelp}"}]}]});

View File

@ -1,13 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","cs",{title:"Instrukce pro přístupnost",contents:"Obsah nápovědy. Pro uzavření tohoto dialogu stiskněte klávesu ESC.",legend:[{name:"Obecné",items:[{name:"Panel nástrojů editoru",legend:"Stiskněte${toolbarFocus} k procházení panelu nástrojů. Přejděte na další a předchozí skupiny pomocí TAB a SHIFT-TAB. Přechod na další a předchozí tlačítko panelu nástrojů je pomocí ŠIPKA VPRAVO nebo ŠIPKA VLEVO. Stisknutím mezerníku nebo klávesy ENTER tlačítko aktivujete."},{name:"Dialogové okno editoru",
legend:"Uvnitř dialogového okna stiskněte TAB pro přesunutí na další pole, stiskněte SHIFT + TAB pro přesun na předchozí pole, stiskněte ENTER pro odeslání dialogu, stiskněte ESC pro jeho zrušení. Pro dialogová okna, která mají mnoho karet stiskněte ALT + F10 pr oprocházení seznamu karet. Pak se přesuňte na další kartu pomocí TAB nebo ŠIPKA VPRAVO. Pro přesun na předchozí stiskněte SHIFT + TAB nebo ŠIPKA VLEVO. Stiskněte MEZERNÍK nebo ENTER pro vybrání stránky karet."},{name:"Kontextové menu editoru",
legend:"Stiskněte ${contextMenu} nebo klávesu APPLICATION k otevření kontextového menu. Pak se přesuňte na další možnost menu pomocí TAB nebo ŠIPKY DOLŮ. Přesuňte se na předchozí možnost pomocí SHIFT+TAB nebo ŠIPKY NAHORU. Stiskněte MEZERNÍK nebo ENTER pro zvolení možnosti menu. Podmenu současné možnosti otevřete pomocí MEZERNÍKU nebo ENTER či ŠIPKY DOLEVA. Kontextové menu uzavřete stiskem ESC."},{name:"Rámeček seznamu editoru",legend:"Uvnitř rámečku seznamu se přesunete na další položku menu pomocí TAB nebo ŠIPKA DOLŮ. Na předchozí položku se přesunete SHIFT + TAB nebo ŠIPKA NAHORU. Stiskněte MEZERNÍK nebo ENTER pro zvolení možnosti seznamu. Stiskněte ESC pro uzavření seznamu."},
{name:"Lišta cesty prvku v editoru",legend:"Stiskněte ${elementsPathFocus} pro procházení lišty cesty prvku. Na další tlačítko prvku se přesunete pomocí TAB nebo ŠIPKA VPRAVO. Na předchozí položku se přesunete pomocí SHIFT + TAB nebo ŠIPKA VLEVO. Stiskněte MEZERNÍK nebo ENTER pro vybrání prvku v editoru."}]},{name:"Příkazy",items:[{name:" Příkaz Zpět",legend:"Stiskněte ${undo}"},{name:" Příkaz Znovu",legend:"Stiskněte ${redo}"},{name:" Příkaz Tučné",legend:"Stiskněte ${bold}"},{name:" Příkaz Kurzíva",
legend:"Stiskněte ${italic}"},{name:" Příkaz Podtržení",legend:"Stiskněte ${underline}"},{name:" Příkaz Odkaz",legend:"Stiskněte ${link}"},{name:" Příkaz Skrýt panel nástrojů",legend:"Stiskněte ${toolbarCollapse}"},{name:"Příkaz pro přístup k předchozímu prostoru zaměření",legend:"Stiskněte ${accessPreviousSpace} pro přístup k nejbližšímu nedosažitelnému prostoru zaměření před stříškou, například: dva přilehlé prvky HR. Pro dosažení vzdálených prostorů zaměření tuto kombinaci kláves opakujte."},{name:"Příkaz pro přístup k dalšímu prostoru zaměření",
legend:"Stiskněte ${accessNextSpace} pro přístup k nejbližšímu nedosažitelnému prostoru zaměření po stříšce, například: dva přilehlé prvky HR. Pro dosažení vzdálených prostorů zaměření tuto kombinaci kláves opakujte."},{name:" Nápověda přístupnosti",legend:"Stiskněte ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tabulátor",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pauza",capslock:"Caps lock",escape:"Escape",pageUp:"Stránka nahoru",pageDown:"Stránka dolů",end:"Konec",home:"Domů",leftArrow:"Šipka vlevo",
upArrow:"Šipka nahoru",rightArrow:"Šipka vpravo",downArrow:"Šipka dolů",insert:"Vložit","delete":"Smazat",leftWindowKey:"Levá klávesa Windows",rightWindowKey:"Pravá klávesa Windows",selectKey:"Vyberte klávesu",numpad0:"Numerická klávesa 0",numpad1:"Numerická klávesa 1",numpad2:"Numerická klávesa 2",numpad3:"Numerická klávesa 3",numpad4:"Numerická klávesa 4",numpad5:"Numerická klávesa 5",numpad6:"Numerická klávesa 6",numpad7:"Numerická klávesa 7",numpad8:"Numerická klávesa 8",numpad9:"Numerická klávesa 9",
multiply:"Numerická klávesa násobení",add:"Přidat",subtract:"Numerická klávesa odečítání",decimalPoint:"Desetinná tečka",divide:"Numerická klávesa dělení",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num lock",scrollLock:"Scroll lock",semiColon:"Středník",equalSign:"Rovnítko",comma:"Čárka",dash:"Pomlčka",period:"Tečka",forwardSlash:"Lomítko",graveAccent:"Přízvuk",openBracket:"Otevřená hranatá závorka",backSlash:"Obrácené lomítko",closeBracket:"Uzavřená hranatá závorka",
singleQuote:"Jednoduchá uvozovka"});
legend:"Stiskněte ${accessNextSpace} pro přístup k nejbližšímu nedosažitelnému prostoru zaměření po stříšce, například: dva přilehlé prvky HR. Pro dosažení vzdálených prostorů zaměření tuto kombinaci kláves opakujte."},{name:" Nápověda přístupnosti",legend:"Stiskněte ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","cy",{title:"Canllawiau Hygyrchedd",contents:"Cynnwys Cymorth. I gau y deialog hwn, pwyswch ESC.",legend:[{name:"Cyffredinol",items:[{name:"Bar Offer y Golygydd",legend:"Pwyswch $ {toolbarFocus} i fynd at y bar offer. Symudwch i'r grŵp bar offer nesaf a blaenorol gyda TAB a SHIFT-TAB. Symudwch i'r botwm bar offer nesaf a blaenorol gyda SAETH DDE neu SAETH CHWITH. Pwyswch SPACE neu ENTER i wneud botwm y bar offer yn weithredol."},{name:"Deialog y Golygydd",legend:"Tu mewn i'r deialog, pwyswch TAB i fynd i'r maes nesaf ar y deialog, pwyswch SHIFT + TAB i symud i faes blaenorol, pwyswch ENTER i gyflwyno'r deialog, pwyswch ESC i ddiddymu'r deialog. Ar gyfer deialogau sydd â thudalennau aml-tab, pwyswch ALT + F10 i lywio'r tab-restr. Yna symudwch i'r tab nesaf gyda TAB neu SAETH DDE. Symudwch i dab blaenorol gyda SHIFT + TAB neu'r SAETH CHWITH. Pwyswch SPACE neu ENTER i ddewis y dudalen tab."},
{name:"Dewislen Cyd-destun y Golygydd",legend:"Pwyswch $ {contextMenu} neu'r ALLWEDD 'APPLICATION' i agor y ddewislen cyd-destun. Yna symudwch i'r opsiwn ddewislen nesaf gyda'r TAB neu'r SAETH I LAWR. Symudwch i'r opsiwn blaenorol gyda SHIFT + TAB neu'r SAETH I FYNY. Pwyswch SPACE neu ENTER i ddewis yr opsiwn ddewislen. Agorwch is-dewislen yr opsiwn cyfredol gyda SPACE neu ENTER neu SAETH DDE. Ewch yn ôl i'r eitem ar y ddewislen uwch gydag ESC neu SAETH CHWITH. Ceuwch y ddewislen cyd-destun gydag ESC."},
{name:"Blwch Rhestr y Golygydd",legend:"Tu mewn y blwch rhestr, ewch i'r eitem rhestr nesaf gyda TAB neu'r SAETH I LAWR. Symudwch i restr eitem flaenorol gyda SHIFT + TAB neu SAETH I FYNY. Pwyswch SPACE neu ENTER i ddewis yr opsiwn o'r rhestr. Pwyswch ESC i gau'r rhestr."},{name:"Bar Llwybr Elfen y Golygydd",legend:"Pwyswch ${elementsPathFocus} i fynd i'r bar llwybr elfennau. Symudwch i fotwm yr elfen nesaf gyda TAB neu SAETH DDE. Symudwch i fotwm blaenorol gyda SHIFT + TAB neu SAETH CHWITH. Pwyswch SPACE neu ENTER i ddewis yr elfen yn y golygydd."}]},
{name:"Gorchmynion",items:[{name:"Gorchymyn dadwneud",legend:"Pwyswch ${undo}"},{name:"Gorchymyn ailadrodd",legend:"Pwyswch ${redo}"},{name:"Gorchymyn Bras",legend:"Pwyswch ${bold}"},{name:"Gorchymyn italig",legend:"Pwyswch ${italig}"},{name:"Gorchymyn tanlinellu",legend:"Pwyso ${underline}"},{name:"Gorchymyn dolen",legend:"Pwyswch ${link}"},{name:"Gorchymyn Cwympo'r Dewislen",legend:"Pwyswch ${toolbarCollapse}"},{name:"Myned i orchymyn bwlch ffocws blaenorol",legend:"Pwyswch ${accessPreviousSpace} i fyned i'r \"blwch ffocws sydd methu ei gyrraedd\" cyn y caret, er enghraifft: dwy elfen HR drws nesaf i'w gilydd. AIladroddwch y cyfuniad allwedd i gyrraedd bylchau ffocws pell."},
{name:"Ewch i'r gorchymyn blwch ffocws nesaf",legend:"Pwyswch ${accessNextSpace} i fyned i'r blwch ffocws agosaf nad oes modd ei gyrraedd ar ôl y caret, er enghraifft: dwy elfen HR drws nesaf i'w gilydd. Ailadroddwch y cyfuniad allwedd i gyrraedd blychau ffocws pell."},{name:"Cymorth Hygyrchedd",legend:"Pwyswch ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",
end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",
divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"Blwch Rhestr y Golygydd",legend:"Tu mewn rhestr-bocs, ewch i'r eitem rhestr nesaf gyda TAB neu'r SAETH I LAWR. Symudwch i restr eitem flaenorol gyda SHIFT + TAB neu SAETH I FYNY. Pwyswch SPACE neu ENTER i ddewis yr opsiwn o'r rhestr. Pwyswch ESC i gau'r rhestr."},{name:"Bar Llwybr Elfen y Golygydd",legend:"Pwyswch $ {elementsPathFocus} i fynd i'r elfennau llwybr bar. Symudwch i fotwm yr elfen nesaf gyda TAB neu SAETH DDE. Symudwch i fotwm blaenorol gyda SHIFT + TAB neu SAETH CHWITH. Pwyswch SPACE neu ENTER i ddewis yr elfen yn y golygydd."}]},
{name:"Gorchmynion",items:[{name:"Gorchymyn dadwneud",legend:"Pwyswch ${undo}"},{name:"Gorchymyn ailadrodd",legend:"Pwyswch ${redo}"},{name:"Gorchymyn Bras",legend:"Pwyswch ${bold}"},{name:"Gorchymyn italig",legend:"Pwyswch ${italig}"},{name:"Gorchymyn tanlinellu",legend:"Pwyso ${underline}"},{name:"Gorchymyn dolen",legend:"Pwyswch ${link}"},{name:"Gorchymyn Cwympo'r Dewislen",legend:"Pwyswch ${toolbarCollapse}"},{name:"Myned i orchymyn bwlch ffocws blaenorol",legend:"Pwyswch ${accessPreviousSpace} i myned i'r \"blwch ffocws sydd methu ei gyrraedd\" cyn y caret, er enghraifft: dwy elfen HR drws nesaf i'w gilydd. AIladroddwch y cyfuniad allwedd i gyrraedd bylchau ffocws pell."},
{name:"Ewch i'r gorchymyn blwch ffocws nesaf",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces.ôl y lleolnod, er enghraifft: dwy elfen HR drws nesaf i'w gilydd. Ailadroddwch y cyfuniad allwedd i gyrraedd blychau ffocws pell."},{name:"Cymorth Hygyrchedd",legend:"Pwyswch ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","da",{title:"Tilgængelighedsinstrukser",contents:"Onlinehjælp. For at lukke dette vindue klik ESC",legend:[{name:"Generelt",items:[{name:"Editor værktøjslinje",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Kommandoer",items:[{name:"Fortryd kommando",legend:"Klik på ${undo}"},{name:"Gentag kommando",legend:"Klik ${redo}"},{name:" Bold command",legend:"Klik ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Klik ${underline}"},{name:" Link command",legend:"Klik ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Kilk ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:" Accessibility Help",legend:"Kilk ${a11yHelp}"}]}]});

View File

@ -1,12 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","de",{title:"Barrierefreiheitinformationen",contents:"Hilfeinhalt. Um den Dialog zu schliessen die Taste 'ESC' drücken.",legend:[{name:"Allgemein",items:[{name:"Editor Symbolleiste",legend:"Drücken Sie ${toolbarFocus} auf der Symbolleiste. Gehen Sie zur nächsten oder vorherigen Symbolleistengruppe mit TAB und SHIFT-TAB. Gehen Sie zur nächsten oder vorherigen Symbolleiste auf die Schaltfläche mit dem RECHTS- oder LINKS-Pfeil. Drücken Sie die Leertaste oder Eingabetaste, um die Schaltfläche in der Symbolleiste aktivieren."},
{name:"Editor Dialog",legend:"Innerhalb des Dialogs drücken Sie TAB um zum nächsten Dialogfeld zu gelangen, drücken Sie SHIFT-TAG um zum vorherigen Feld zu wechseln, drücken Sie ENTER um den Dialog abzusenden und ESC um den Dialog zu abzubrechen. Um zwischen den Reitern innerhalb eines Dialogs zu wechseln drücken sie ALT-F10. Um zum nächsten Reiter zu gelangen können Sie TAB oder die rechte Pfeiltaste. Zurück gelangt man mit SHIFT-TAB oder der linken Pfeiltaste. Mit der Leertaste oder Enter kann man den Reiter auswählen."},
{name:"Editor Kontextmenü",legend:"Dürcken Sie ${contextMenu} oder die Anwendungstaste um das Kontextmenü zu öffnen. Man kann die Pfeiltasten zum Wechsel benutzen. Mit der Leertaste oder der Enter-Taste kann man den Menüpunkt aufrufen. Schliessen Sie das Kontextmenü mit der ESC-Taste."},{name:"Editor Listen",legend:"Innerhalb einer Listenbox kann man mit der TAB-Taste oder den Pfeilrunter-Taste den nächsten Menüeintrag wählen. Mit der Shift-TAB Tastenkombination oder der Pfeilhoch-Taste gelangt man zum vorherigen Menüpunkt. Mit der Leertaste oder Enter kann man den Menüpunkt auswählen. Drücken Sie ESC zum Verlassen des Menüs."},
{name:"Editor Elementpfadleiste",legend:"Drücken Sie ${elementsPathFocus} um sich durch die Pfadleiste zu bewegen. Um zum nächsten Element zu gelangen drücken Sie TAB oder die Pfeilrechts-Taste. Zum vorherigen Element gelangen Sie mit der SHIFT-TAB oder der Pfeillinks-Taste. Drücken Sie die Leertaste oder Enter um das Element auszuwählen."}]},{name:"Befehle",items:[{name:"Wiederholen Befehl",legend:"Drücken Sie ${undo}"},{name:"Rückgängig Befehl",legend:"Drücken Sie ${redo}"},{name:"Fettschrift Befehl",
legend:"Drücken Sie ${bold}"},{name:"Italic Befehl",legend:"Drücken Sie ${italic}"},{name:"Unterstreichung Befehl",legend:"Drücken Sie ${underline}"},{name:"Link Befehl",legend:"Drücken Sie ${link}"},{name:"Symbolleiste zuammenklappen Befehl",legend:"Drücken Sie ${toolbarCollapse}"},{name:"Zugang bisheriger Fokussierung Raumbefehl ",legend:"Drücken Sie ${accessPreviousSpace} auf den am nächsten nicht erreichbar Fokus-Abstand vor die Einfügemarke zugreifen: zwei benachbarte HR-Elemente. Wiederholen Sie die Tastenkombination um entfernte Fokusräume zu erreichen. "},
{name:"Zugang nächster Schwerpunkt Raumbefehl ",legend:"Drücken Sie $ { accessNextSpace }, um den nächsten unerreichbar Fokus Leerzeichen nach dem Cursor zum Beispiel auf: zwei benachbarten HR Elemente. Wiederholen Sie die Tastenkombination zum fernen Fokus Bereiche zu erreichen. "},{name:"Eingabehilfen",legend:"Drücken Sie ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Umschalt",ctrl:"Strg",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",
end:"Ende",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Einfügen","delete":"Entfernen",leftWindowKey:"Linke Windowstaste",rightWindowKey:"Rechte Windowstaste",selectKey:"Taste auswählen",numpad0:"Ziffernblock 0",numpad1:"Ziffernblock 1",numpad2:"Ziffernblock 2",numpad3:"Ziffernblock 3",numpad4:"Ziffernblock 4",numpad5:"Ziffernblock 5",numpad6:"Ziffernblock 6",numpad7:"Ziffernblock 7",numpad8:"Ziffernblock 8",numpad9:"Ziffernblock 9",
multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semikolon",equalSign:"Gleichheitszeichen",comma:"Komma",dash:"Bindestrich",period:"Punkt",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"Zugang nächster Schwerpunkt Raumbefehl ",legend:"Drücken Sie $ { accessNextSpace }, um den nächsten unerreichbar Fokus Leerzeichen nach dem Cursor zum Beispiel auf: zwei benachbarten HR Elemente. Wiederholen Sie die Tastenkombination zum fernen Fokus Bereiche zu erreichen. "},{name:"Eingabehilfen",legend:"Drücken Sie ${a11yHelp}"}]}]});

View File

@ -1,13 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","el",{title:"Οδηγίες Προσβασιμότητας",contents:"Περιεχόμενα Βοήθειας. Πατήστε ESC για κλείσιμο.",legend:[{name:"Γενικά",items:[{name:"Εργαλειοθήκη Επεξεργαστή",legend:"Πατήστε ${toolbarFocus} για να περιηγηθείτε στην γραμμή εργαλείων. Μετακινηθείτε ανάμεσα στις ομάδες της γραμμής εργαλείων με TAB και SHIFT-TAB. Μετακινηθείτε ανάμεσα στα κουμπιά εργαλείων με το ΔΕΞΙ ή ΑΡΙΣΤΕΡΟ ΒΕΛΑΚΙ. Πατήστε ΔΙΑΣΤΗΜΑ ή ENTER για να ενεργοποιήσετε το ενεργό κουμπί εργαλείου."},{name:"Παράθυρο Διαλόγου Επεξεργαστή",
legend:"Μέσα σε ένα παράθυρο διαλόγου, πατήστε TAB για να μεταβείτε στο επόμενο πεδίο ή SHIFT + TAB για να μεταβείτε στο προηγούμενο. Πατήστε ENTER για να υποβάλετε την φόρμα. Πατήστε ESC για να ακυρώσετε την διαδικασία της φόρμας. Για παράθυρα διαλόγων που έχουν πολλές σελίδες σε καρτέλες πατήστε ALT + F10 για να μεταβείτε στην λίστα των καρτελών. Στην συνέχεια μπορείτε να μεταβείτε στην επόμενη καρτέλα πατώντας το TAB ή το ΔΕΞΙ ΒΕΛΑΚΙ. Μπορείτε να μεταβείτε στην προηγούμενη καρτέλα πατώντας SHIFT + TAB ή το ΑΡΙΣΤΕΡΟ ΒΕΛΑΚΙ. Πατήστε ΔΙΑΣΤΗΜΑ ή ENTER για να επιλέξτε την καρτέλα για προβολή."},
{name:"Αναδυόμενο Μενού Επεξεργαστή",legend:"Πατήστε ${contextMenu} ή APPLICATION KEY για να ανοίξετε το αναδυόμενο μενού. Μετά μετακινηθείτε στην επόμενη επιλογή του μενού με TAB ή ΚΑΤΩ ΒΕΛΑΚΙ. Μετακινηθείτε στην προηγούμενη επιλογή με SHIFT+TAB ή το ΠΑΝΩ ΒΕΛΑΚΙ. Πατήστε ΔΙΑΣΤΗΜΑ ή ENTER για να επιλέξτε το τρέχων στοιχείο. Ανοίξτε το αναδυόμενο μενού της τρέχουσας επιλογής με ΔΙΑΣΤΗΜΑ ή ENTER ή το ΔΕΞΙ ΒΕΛΑΚΙ. Μεταβείτε πίσω στο αρχικό στοιχείο μενού με το ESC ή το ΑΡΙΣΤΕΡΟ ΒΕΛΑΚΙ. Κλείστε το αναδυόμενο μενού με ESC."},
{name:"Κουτί Λίστας Επεξεργαστών",legend:"Μέσα σε ένα κουτί λίστας, μετακινηθείτε στο επόμενο στοιχείο με TAB ή ΚΑΤΩ ΒΕΛΑΚΙ. Μετακινηθείτε στο προηγούμενο στοιχείο με SHIFT + TAB ή το ΠΑΝΩ ΒΕΛΑΚΙ. Πατήστε ΔΙΑΣΤΗΜΑ ή ENTER για να επιλέξετε ένα στοιχείο. Πατήστε ESC για να κλείσετε το κουτί της λίστας."},{name:"Μπάρα Διαδρομών Στοιχείων Επεξεργαστή",legend:"Πατήστε ${elementsPathFocus} για να περιηγηθείτε στην μπάρα διαδρομών στοιχείων του επεξεργαστή. Μετακινηθείτε στο κουμπί του επόμενου στοιχείου με το TAB ή το ΔΕΞΙ ΒΕΛΑΚΙ. Μετακινηθείτε στο κουμπί του προηγούμενου στοιχείου με το SHIFT+TAB ή το ΑΡΙΣΤΕΡΟ ΒΕΛΑΚΙ. Πατήστε ΔΙΑΣΤΗΜΑ ή ENTER για να επιλέξετε το στοιχείο στον επεξεργαστή."}]},
{name:"Εντολές",items:[{name:"Εντολή αναίρεσης",legend:"Πατήστε ${undo}"},{name:"Εντολή επανάληψης",legend:"Πατήστε ${redo}"},{name:"Εντολή έντονης γραφής",legend:"Πατήστε ${bold}"},{name:"Εντολή πλάγιας γραφής",legend:"Πατήστε ${italic}"},{name:"Εντολή υπογράμμισης",legend:"Πατήστε ${underline}"},{name:"Εντολή συνδέσμου",legend:"Πατήστε ${link}"},{name:"Εντολή Σύμπτηξης Εργαλειοθήκης",legend:"Πατήστε ${toolbarCollapse}"},{name:"Πρόσβαση στην προηγούμενη εντολή του χώρου εστίασης ",legend:"Πατήστε ${accessPreviousSpace} για να έχετε πρόσβαση στον πιο κοντινό χώρο εστίασης πριν το δρομέα, για παράδειγμα: δύο παρακείμενα στοιχεία ΥΕ. Επαναλάβετε το συνδυασμό πλήκτρων για να φθάσετε στους χώρους μακρινής εστίασης. "},
{name:"Πρόσβαση στην επόμενη εντολή του χώρου εστίασης",legend:"Πατήστε ${accessNextSpace} για να έχετε πρόσβαση στον πιο κοντινό χώρο εστίασης μετά το δρομέα, για παράδειγμα: δύο παρακείμενα στοιχεία ΥΕ. Επαναλάβετε το συνδυασμό πλήκτρων για τους χώρους μακρινής εστίασης. "},{name:"Βοήθεια Προσβασιμότητας",legend:"Πατήστε ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",
end:"End",home:"Home",leftArrow:"Αριστερό Βέλος",upArrow:"Πάνω Βέλος",rightArrow:"Δεξί Βέλος",downArrow:"Κάτω Βέλος",insert:"Insert ","delete":"Delete",leftWindowKey:"Αριστερό Πλήκτρο Windows",rightWindowKey:"Δεξί Πλήκτρο Windows",selectKey:"Πλήκτρο Select",numpad0:"Αριθμητικό πληκτρολόγιο 0",numpad1:"Αριθμητικό Πληκτρολόγιο 1",numpad2:"Αριθμητικό πληκτρολόγιο 2",numpad3:"Αριθμητικό πληκτρολόγιο 3",numpad4:"Αριθμητικό πληκτρολόγιο 4",numpad5:"Αριθμητικό πληκτρολόγιο 5",numpad6:"Αριθμητικό πληκτρολόγιο 6",
numpad7:"Αριθμητικό πληκτρολόγιο 7",numpad8:"Αριθμητικό πληκτρολόγιο 8",numpad9:"Αριθμητικό πληκτρολόγιο 9",multiply:"Πολλαπλασιασμός",add:"Πρόσθεση",subtract:"Αφαίρεση",decimalPoint:"Υποδιαστολή",divide:"Διαίρεση",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"6",f7:"7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Ερωτηματικό",equalSign:"Σύμβολο Ισότητας",comma:"Κόμμα",dash:"Παύλα",period:"Τελεία",forwardSlash:"Κάθετος",graveAccent:"Βαρεία",openBracket:"Άνοιγμα Παρένθεσης",
backSlash:"Ανάστροφη Κάθετος",closeBracket:"Κλείσιμο Παρένθεσης",singleQuote:"Απόστροφος"});
CKEDITOR.plugins.setLang("a11yhelp","el",{title:"Οδηγίες Προσβασιμότητας",contents:"Περιεχόμενα Βοήθειας. Πατήστε ESC για κλείσιμο.",legend:[{name:"Γενικά",items:[{name:"Εργαλειοθήκη Επεξεργαστή",legend:"Πατήστε ${toolbarFocus} για να περιηγηθείτε στην γραμμή εργαλείων. Μετακινηθείτε ανάμεσα στις ομάδες της γραμμής εργαλείων με TAB και Shift-TAB. Μετακινηθείτε ανάμεσα στα κουμπία εργαλείων με ΔΕΞΙ και ΑΡΙΣΤΕΡΟ ΒΕΛΑΚΙ. Πατήστε ΚΕΝΟ ή ENTER για να ενεργοποιήσετε το ενεργό κουμπί εργαλείου."},{name:"Παράθυρο Διαλόγου Επεξεργαστή",
legend:"Μέσα σε ένα παράθυρο διαλόγου, πατήστε TAB για να μεταβείτε στο επόμενο πεδίο ή SHIFT + TAB για να μεταβείτε στο προηγούμενο. Πατήστε ENTER για να υποβάλετε την φόρμα. Πατήστε ESC για να ακυρώσετε την διαδικασία της φόρμας. Για παράθυρα διαλόγων που έχουν πολλές σελίδες σε καρτέλες πατήστε ALT + F10 για να μεταβείτε στην λίστα των καρτέλων. Στην συνέχεια μπορείτε να μεταβείτε στην επόμενη καρτέλα πατώντας TAB ή RIGHT ARROW. Μπορείτε να μεταβείτε στην προηγούμενη καρτέλα πατώντας SHIFT + TAB ή LEFT ARROW. Πατήστε SPACE ή ENTER για να επιλέξετε την καρτέλα για προβολή."},
{name:"Αναδυόμενο Μενού Επεξεργαστή",legend:"Πατήστε ${contextMenu} ή APPLICATION KEY για να ανοίξετε το αναδυόμενο μενού. Μετά μετακινηθείτε στην επόμενη επιλογή του μενού με TAB ή ΚΑΤΩ ΒΕΛΑΚΙ. Μετακινηθείτε στην προηγούμενη επιλογή με SHIFT+TAB ή ΠΑΝΩ ΒΕΛΑΚΙ. Πατήστε ΔΙΑΣΤΗΜΑ ή ENTER για να επιλέξετε το τρέχων στοιχείο. Ανοίξτε το αναδυόμενο μενού της τρέχουσας επιλογής με ΔΙΑΣΤΗΜΑ ή ENTER ή ΔΕΞΙ ΒΕΛΑΚΙ. Μεταβείτε πίσω στο αρχικό στοιχείο μενού με ESC ή ΑΡΙΣΤΕΡΟ ΒΕΛΑΚΙ. Κλείστε το αναδυόμενο μενού με ESC."},
{name:"Κουτί Λίστας Επεξεργαστών",legend:"Μέσα σε ένα κουτί λίστας, μετακινηθείτε στο επόμενο στοιχείο με TAB ή ΚΑΤΩ ΒΕΛΑΚΙ. Μετακινηθείτε στο προηγούμενο στοιχείο με SHIFT + TAB ή ΠΑΝΩ ΒΕΛΑΚΙ. Πατήστε ΔΙΑΣΤΗΜΑ ή ENTER για να επιλέξετε ένα στοιχείο. Πατήστε ESC για να κλείσετε το κουτί της λίστας."},{name:"Μπάρα Διαδρομών Στοιχείων Επεξεργαστή",legend:"Πατήστε ${elementsPathFocus} για να περιηγηθείτε στην μπάρα διαδρομών στοιχείων του επεξεργαστή. Μετακινηθείτε στο κουμπί του επόμενου στοιχείου με το TAB ή το ΔΕΞΙ ΒΕΛΑΚΙ. Μετακινηθείτε στο κουμπί του προηγούμενου στοιχείου με το SHIFT+TAB ή το ΑΡΙΣΤΕΡΟ ΒΕΛΑΚΙ. Πατήστε ΔΙΑΣΤΗΜΑ ή ENTER για να επιλέξετε το στοιχείο στον επεξεργαστή."}]},
{name:"Εντολές",items:[{name:" Εντολή αναίρεσης",legend:"Πατήστε ${undo}"},{name:" Εντολή επανάληψης",legend:"Πατήστε ${redo}"},{name:" Εντολή έντονης γραφής",legend:"Πατήστε ${bold}"},{name:" Εντολή πλάγιας γραφής",legend:"Πατήστε ${italic}"},{name:" Εντολή υπογράμμισης",legend:"Πατήστε ${underline}"},{name:" Εντολή συνδέσμου",legend:"Πατήστε ${link}"},{name:" Εντολή Σύμπτηξης Εργαλειοθήκης",legend:"Πατήστε ${toolbarCollapse}"},{name:"Πρόσβαση προηγούμενης εντολής χώρου εστίασης ",legend:"Πατήστε ${accessPreviousSpace} για να έχετε πρόσβαση στον πιο κοντινό χώρο εστίασης πριν το δρομέα, για παράδειγμα: δύο παρακείμενα στοιχεία ΥΕ. Επαναλάβετε το συνδυασμό πλήκτρων για να φθάσετε στους χώρους μακρινής εστίασης. "},
{name:"Πρόσβαση επόμενηw εντολήw χώροz εστίασης",legend:"Πατήστε ${accessNextSpace} για να έχete πρόσβαση στον πιο κοντινό χώρο εστίασης μετά το δρομέα, για παράδειγμα: δύο παρακείμενα στοιχεία ΥΕ. Επαναλάβετε το συνδυασμό πλήκτρων για τους χώρους μακρινής εστίασης. "},{name:" Βοήθεια Προσβασιμότητας",legend:"Πατήστε ${a11yHelp}"}]}]});

View File

@ -1,11 +0,0 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","en-gb",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"General",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","en",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"General",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,13 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","eo",{title:"Uzindikoj pri atingeblo",contents:"Helpilenhavo. Por fermi tiun dialogon, premu la ESKAPAN klavon.",legend:[{name:"Ĝeneralaĵoj",items:[{name:"Ilbreto de la redaktilo",legend:"Premu ${toolbarFocus} por atingi la ilbreton. Moviĝu al la sekva aŭ antaŭa grupoj de la ilbreto per la klavoj TABA kaj MAJUSKLIGA-TABA. Moviĝu al la sekva aŭ antaŭa butonoj de la ilbreto per la klavoj SAGO DEKSTREN kaj SAGO MALDEKSTREN. Premu la SPACETklavon aŭ la ENENklavon por aktivigi la ilbretbutonon."},
{name:"Redaktildialogo",legend:"En dialogo, premu la TABAN klavon por navigi al la sekva dialogkampo, premu la MAJUSKLIGAN + TABAN klavojn por reveni al la antaŭa kampo, premu la ENENklavon por sendi la dialogon, premu la ESKAPAN klavon por nuligi la dialogon. Por dialogoj kun pluraj retpaĝoj sub langetoj, premu ALT + F10 por navigi al la langetlisto. Poste moviĝu al la sekva langeto per la klavo TABA aŭ SAGO DEKSTREN. Moviĝu al la antaŭa langeto per la klavoj MAJUSKLIGA + TABA aŭ SAGO MALDEKSTREN. Premu la SPACETklavon aŭ la ENENklavon por selekti la langetretpaĝon."},
{name:"Kunteksta menuo de la redaktilo",legend:"Premu ${contextMenu} aŭ entajpu la KLAVKOMBINAĴON por malfermi la kuntekstan menuon. Poste moviĝu al la sekva opcio de la menuo per la klavoj TABA aŭ SAGO SUBEN. Moviĝu al la antaŭa opcio per la klavoj MAJUSKLGA + TABA aŭ SAGO SUPREN. Premu la SPACETklavon aŭ ENENklavon por selekti la menuopcion. Malfermu la submenuon de la kuranta opcio per la SPACETklavo aŭ la ENENklavo aŭ la SAGO DEKSTREN. Revenu al la elemento de la patra menuo per la klavoj ESKAPA aŭ SAGO MALDEKSTREN. Fermu la kuntekstan menuon per la ESKAPA klavo."},
{name:"Fallisto de la redaktilo",legend:"En fallisto, moviĝu al la sekva listelemento per la klavoj TABA aŭ SAGO SUBEN. Moviĝu al la antaŭa listelemento per la klavoj MAJUSKLIGA + TABA aŭ SAGO SUPREN. Premu la SPACETklavon aŭ ENENklavon por selekti la opcion en la listo. Premu la ESKAPAN klavon por fermi la falmenuon."},{name:"Breto indikanta la vojon al la redaktilelementoj",legend:"Premu ${elementsPathFocus} por navigi al la breto indikanta la vojon al la redaktilelementoj. Moviĝu al la butono de la sekva elemento per la klavoj TABA aŭ SAGO DEKSTREN. Moviĝu al la butono de la antaŭa elemento per la klavoj MAJUSKLIGA + TABA aŭ SAGO MALDEKSTREN. Premu la SPACETklavon aŭ ENENklavon por selekti la elementon en la redaktilo."}]},
{name:"Komandoj",items:[{name:"Komando malfari",legend:"Premu ${undo}"},{name:"Komando refari",legend:"Premu ${redo}"},{name:"Komando grasa",legend:"Premu ${bold}"},{name:"Komando kursiva",legend:"Premu ${italic}"},{name:"Komando substreki",legend:"Premu ${underline}"},{name:"Komando ligilo",legend:"Premu ${link}"},{name:"Komando faldi la ilbreton",legend:"Premu ${toolbarCollapse}"},{name:"Komando por atingi la antaŭan fokusan spacon",legend:"Press ${accessPreviousSpace} por atingi la plej proksiman neatingeblan fokusan spacon antaŭ la kursoro, ekzemple : du kuntuŝiĝajn HR elementojn. Ripetu la klavkombinaĵon por atingi malproksimajn fokusajn spacojn."},
{name:"Komando por atingi la sekvan fokusan spacon",legend:"Press ${accessNextSpace} por atingi la plej proksiman neatingeblan fokusan spacon post la kursoro, ekzemple : du kuntuŝiĝajn HR elementojn. Ripetu la klavkombinajôn por atingi malproksimajn fokusajn spacojn"},{name:"Helpilo pri atingeblo",legend:"Premu ${a11yHelp}"}]}],backspace:"Retropaŝo",tab:"Tabo",enter:"Enigi",shift:"Registrumo",ctrl:"Stirklavo",alt:"Alt-klavo",pause:"Paŭzo",capslock:"Majuskla baskulo",escape:"Eskapa klavo",pageUp:"Antaŭa Paĝo",
pageDown:"Sekva Paĝo",end:"Fino",home:"Hejmo",leftArrow:"Sago Maldekstren",upArrow:"Sago Supren",rightArrow:"Sago Dekstren",downArrow:"Sago Suben",insert:"Enmeti","delete":"Forigi",leftWindowKey:"Maldekstra Windows-klavo",rightWindowKey:"Dekstra Windows-klavo",selectKey:"Selektklavo",numpad0:"Nombra Klavaro 0",numpad1:"Nombra Klavaro 1",numpad2:"Nombra Klavaro 2",numpad3:"Nombra Klavaro 3",numpad4:"Nombra Klavaro 4",numpad5:"Nombra Klavaro 5",numpad6:"Nombra Klavaro 6",numpad7:"Nombra Klavaro 7",
numpad8:"Nombra Klavaro 8",numpad9:"Nombra Klavaro 9",multiply:"Obligi",add:"Almeti",subtract:"Subtrahi",decimalPoint:"Dekuma Punkto",divide:"Dividi",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Nombra Baskulo",scrollLock:"Ruluma Baskulo",semiColon:"Punktokomo",equalSign:"Egalsigno",comma:"Komo",dash:"Haltostreko",period:"Punkto",forwardSlash:"Oblikvo",graveAccent:"Malakuto",openBracket:"Malferma Krampo",backSlash:"Retroklino",closeBracket:"Ferma Krampo",
singleQuote:"Citilo"});
{name:"Komandoj",items:[{name:"Komando malfari",legend:"Premu ${undo}"},{name:"Komando refari",legend:"Premu ${redo}"},{name:"Komando grasa",legend:"Premu ${bold}"},{name:"Komando kursiva",legend:"Premu ${italic}"},{name:"Komando substreki",legend:"Premu ${underline}"},{name:"Komando ligilo",legend:"Premu ${link}"},{name:"Komando faldi la ilbreton",legend:"Premu ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:"Helpilo pri atingeblo",legend:"Premu ${a11yHelp}"}]}]});

View File

@ -1,12 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","es",{title:"Instrucciones de accesibilidad",contents:"Ayuda. Para cerrar presione ESC.",legend:[{name:"General",items:[{name:"Barra de herramientas del editor",legend:'Presiona ${toolbarFocus} para navegar por la barra de herramientas. Para moverse por los distintos grupos de herramientas usa las teclas TAB y MAY-TAB. Para moverse por las distintas herramientas usa FLECHA DERECHA o FECHA IZQUIERDA. Presiona "espacio" o "intro" para activar la herramienta.'},{name:"Editor de diálogo",
legend:"Dentro de un cuadro de diálogo, presione la tecla TAB para desplazarse al campo siguiente del cuadro de diálogo, pulse SHIFT + TAB para desplazarse al campo anterior, pulse ENTER para presentar cuadro de diálogo, pulse la tecla ESC para cancelar el diálogo. Para los diálogos que tienen varias páginas, presione ALT + F10 para navegar a la pestaña de la lista. Luego pasar a la siguiente pestaña con TAB o FLECHA DERECHA. Para ir a la ficha anterior con SHIFT + TAB o FLECHA IZQUIERDA. Presione ESPACIO o ENTRAR para seleccionar la página de ficha."},
{name:"Editor del menú contextual",legend:"Presiona ${contextMenu} o TECLA MENÚ para abrir el menú contextual. Entonces muévete a la siguiente opción del menú con TAB o FLECHA ABAJO. Muévete a la opción previa con SHIFT + TAB o FLECHA ARRIBA. Presiona ESPACIO o ENTER para seleccionar la opción del menú. Abre el submenú de la opción actual con ESPACIO o ENTER o FLECHA DERECHA. Regresa al elemento padre del menú con ESC o FLECHA IZQUIERDA. Cierra el menú contextual con ESC."},{name:"Lista del Editor",
legend:"Dentro de una lista, te mueves al siguiente elemento de la lista con TAB o FLECHA ABAJO. Te mueves al elemento previo de la lista con SHIFT + TAB o FLECHA ARRIBA. Presiona ESPACIO o ENTER para elegir la opción de la lista. Presiona ESC para cerrar la lista."},{name:"Barra de Ruta del Elemento en el Editor",legend:"Presiona ${elementsPathFocus} para navegar a los elementos de la barra de ruta. Te mueves al siguiente elemento botón con TAB o FLECHA DERECHA. Te mueves al botón previo con SHIFT + TAB o FLECHA IZQUIERDA. Presiona ESPACIO o ENTER para seleccionar el elemento en el editor."}]},
{name:"Comandos",items:[{name:"Comando deshacer",legend:"Presiona ${undo}"},{name:"Comando rehacer",legend:"Presiona ${redo}"},{name:"Comando negrita",legend:"Presiona ${bold}"},{name:"Comando itálica",legend:"Presiona ${italic}"},{name:"Comando subrayar",legend:"Presiona ${underline}"},{name:"Comando liga",legend:"Presiona ${liga}"},{name:"Comando colapsar barra de herramientas",legend:"Presiona ${toolbarCollapse}"},{name:"Comando accesar el anterior espacio de foco",legend:"Presiona ${accessPreviousSpace} para accesar el espacio de foco no disponible más cercano anterior al cursor, por ejemplo: dos elementos HR adyacentes. Repite la combinación de teclas para alcanzar espacios de foco distantes."},
{name:"Comando accesar el siguiente spacio de foco",legend:"Presiona ${accessNextSpace} para accesar el espacio de foco no disponible más cercano después del cursor, por ejemplo: dos elementos HR adyacentes. Repite la combinación de teclas para alcanzar espacios de foco distantes."},{name:"Ayuda de Accesibilidad",legend:"Presiona ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",
end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",
divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"Comando accesar el siguiente spacio de foco",legend:"Presiona ${accessNextSpace} para accesar el espacio de foco no disponible más cercano después del cursor, por ejemplo: dos elementos HR adyacentes. Repite la combinación de teclas para alcanzar espacios de foco distantes."},{name:"Ayuda de Accesibilidad",legend:"Presiona ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","et",{title:"Accessibility Instructions",contents:"Abi sisu. Selle dialoogi sulgemiseks vajuta ESC klahvi.",legend:[{name:"Üldine",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
CKEDITOR.plugins.setLang("a11yhelp","et",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"Üldine",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","fa",{title:"دستورالعملهای دسترسی",contents:"راهنمای فهرست مطالب. برای بستن این کادر محاورهای ESC را فشار دهید.",legend:[{name:"عمومی",items:[{name:"نوار ابزار ویرایشگر",legend:"${toolbarFocus} را برای باز کردن نوار ابزار بفشارید. با کلید Tab و Shif-Tab در مجموعه نوار ابزار بعدی و قبلی حرکت کنید. برای حرکت در کلید نوار ابزار قبلی و بعدی با کلید جهتنمای راست و چپ جابجا شوید. کلید Space یا Enter را برای فعال کردن کلید نوار ابزار بفشارید."},{name:"پنجره محاورهای ویرایشگر",
CKEDITOR.plugins.setLang("a11yhelp","fa",{title:"دستورالعملهای دسترسی",contents:"راهنمای فهرست مطالب. برای بستن این کادر محاورهای ESC را فشار دهید.",legend:[{name:"عمومی",items:[{name:"نوار ابزار ویرایشگر",legend:"${toolbarFocus} را برای باز کردن نوار ابزار بفشارید. با کلید Tab و Shif-Tab در مجموعه نوار ابزار بعدی و قبلی حرکت کنید. برای حرکت در کلید نوار ابزار قبلی و بعدی با کلید جهتنمای راست و چپ جابجا شوید. کلید Space یا Enter را برای فعال کردن کلید نوار ابزار بفشارید."},{name:"پنجره محاورهای ویرایشگر",
legend:"در داخل یک پنجره محاورهای، کلید Tab را بفشارید تا به پنجرهی بعدی بروید، Shift+Tab برای حرکت به فیلد قبلی، فشردن Enter برای ثبت اطلاعات پنجره، فشردن Esc برای لغو پنجره محاورهای و برای پنجرههایی که چندین برگه دارند، فشردن Alt+F10 جهت رفتن به Tab-List. در نهایت حرکت به برگه بعدی با Tab یا کلید جهتنمای راست. حرکت به برگه قبلی با Shift+Tab یا کلید جهتنمای چپ. فشردن Space یا Enter برای انتخاب یک برگه."},{name:"منوی متنی ویرایشگر",legend:"${contextMenu} یا کلید برنامههای کاربردی را برای باز کردن منوی متن را بفشارید. سپس میتوانید برای حرکت به گزینه بعدی منو با کلید Tab و یا کلید جهتنمای پایین جابجا شوید. حرکت به گزینه قبلی با Shift+Tab یا کلید جهتنمای بالا. فشردن Space یا Enter برای انتخاب یک گزینه از منو. باز کردن زیر شاخه گزینه منو جاری با کلید Space یا Enter و یا کلید جهتنمای راست و چپ. بازگشت به منوی والد با کلید Esc یا کلید جهتنمای چپ. بستن منوی متن با Esc."},
{name:"جعبه فهرست ویرایشگر",legend:"در داخل جعبه لیست، قلم دوم از اقلام لیست بعدی را با TAB و یا Arrow Down حرکت دهید. انتقال به قلم دوم از اقلام لیست قبلی را با SHIFT + TAB یا UP ARROW. کلید Space یا ENTER را برای انتخاب گزینه لیست بفشارید. کلید ESC را برای بستن جعبه لیست بفشارید."},{name:"ویرایشگر عنصر نوار راه",legend:"برای رفتن به مسیر عناصر ${elementsPathFocus} را بفشارید. حرکت به کلید عنصر بعدی با کلید Tab یا کلید جهت‌نمای راست. برگشت به کلید قبلی با Shift+Tab یا کلید جهت‌نمای چپ. فشردن Space یا Enter برای انتخاب یک عنصر در ویرایشگر."}]},
{name:"فرمان‌ها",items:[{name:"بازگشت به آخرین فرمان",legend:"فشردن ${undo}"},{name:"انجام مجدد فرمان",legend:"فشردن ${redo}"},{name:"فرمان درشت کردن متن",legend:"فشردن ${bold}"},{name:"فرمان کج کردن متن",legend:"فشردن ${italic}"},{name:"فرمان زیرخطدار کردن متن",legend:"فشردن ${underline}"},{name:"فرمان پیوند دادن",legend:"فشردن ${link}"},{name:"بستن نوار ابزار فرمان",legend:"فشردن ${toolbarCollapse}"},{name:"دسترسی به فرمان محل تمرکز قبلی",legend:"فشردن ${accessPreviousSpace} برای دسترسی به نزدیک‌ترین فضای قابل دسترسی تمرکز قبل از هشتک، برای مثال: دو عنصر مجاور HR -خط افقی-. تکرار کلید ترکیبی برای رسیدن به فضاهای تمرکز از راه دور."},
{name:"دسترسی به فضای دستور بعدی",legend:"برای دسترسی به نزدیک‌ترین فضای تمرکز غیر قابل دسترس، ${accessNextSpace} را پس از علامت هشتک بفشارید، برای مثال: دو عنصر مجاور HR -خط افقی-. کلید ترکیبی را برای رسیدن به فضای تمرکز تکرار کنید."},{name:"راهنمای دسترسی",legend:"فشردن ${a11yHelp}"}]}],backspace:"عقبگرد",tab:"برگه",enter:"ورود",shift:"تعویض",ctrl:"کنترل",alt:"دگرساز",pause:"توقف",capslock:"Caps Lock",escape:"گریز",pageUp:"صفحه به بالا",pageDown:"صفحه به پایین",end:"پایان",home:"خانه",leftArrow:"پیکان چپ",
upArrow:"پیکان بالا",rightArrow:"پیکان راست",downArrow:"پیکان پایین",insert:"ورود","delete":"حذف",leftWindowKey:"کلید چپ ویندوز",rightWindowKey:"کلید راست ویندوز",selectKey:"انتخاب کلید",numpad0:"کلید شماره 0",numpad1:"کلید شماره 1",numpad2:"کلید شماره 2",numpad3:"کلید شماره 3",numpad4:"کلید شماره 4",numpad5:"کلید شماره 5",numpad6:"کلید شماره 6",numpad7:"کلید شماره 7",numpad8:"کلید شماره 8",numpad9:"کلید شماره 9",multiply:"ضرب",add:"افزودن",subtract:"تفریق",decimalPoint:"نقطه‌ی اعشار",divide:"جدا کردن",
f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"علامت تساوی",comma:"کاما",dash:"خط تیره",period:"دوره",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"جعبه فهرست ویرایشگر",legend:"در داخل جعبه لیست، قلم دوم از اقلام لیست بعدی را با TAB و یا Arrow Down حرکت دهید. انتقال به قلم دوم از اقلام لیست قبلی را با SHIFT + TAB یا UP ARROW. کلید Space یا ENTER را برای انتخاب گزینه لیست بفشارید. کلید ESC را برای بستن جعبه لیست بفشارید."},{name:"ویرایشگر عنصر نوار راه",legend:"برای رفتن به مسیر عناصر ${elementsPathFocus} را بفشارید. حرکت به کلید عنصر بعدی با کلید Tab یا کلید جهتنمای راست. برگشت به کلید قبلی با Shift+Tab یا کلید جهتنمای چپ. فشردن Space یا Enter برای انتخاب یک عنصر در ویرایشگر."}]},
{name:"فرمانها",items:[{name:"بازگشت فرمان",legend:"فشردن ${undo}"},{name:"انجام مجدد فرمان",legend:"فشردن ${redo}"},{name:"فرمان متن درشت",legend:"فشردن ${bold}"},{name:"فرمان متن کج",legend:"فشردن ${italic}"},{name:"فرمان متن زیرخطدار",legend:"فشردن ${underline}"},{name:"فرمان پیوند",legend:"فشردن ${link}"},{name:"بستن نوار ابزار فرمان",legend:"فشردن ${toolbarCollapse}"},{name:"دسترسی به فرمان محل تمرکز قبلی",legend:"فشردن ${accessPreviousSpace} برای دسترسی به نزدیک ترین فضای قابل دسترسی تمرکز قبل از هشتک، برای مثال: دو عنصر مجاور HR. تکرار کلید ترکیبی برای رسیدن به فضاهای تمرکز از راه دور."},
{name:"دسترسی به فضای دستور بعدی",legend:"برای دسترسی به نزدیکترین فضای تمرکز غیر قابل دسترس، ${accessNextSpace} را پس از علامت هشتک بفشارید، برای مثال: دو عنصر مجاور HR. کلید ترکیبی را برای رسیدن به فضای تمرکز تکرار کنید."},{name:"راهنمای دسترسی",legend:"فشردن ${a11yHelp}"}]}]});

View File

@ -1,12 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","fi",{title:"Saavutettavuus ohjeet",contents:"Ohjeen sisällöt. Sulkeaksesi tämän dialogin paina ESC.",legend:[{name:"Yleinen",items:[{name:"Editorin työkalupalkki",legend:"Paina ${toolbarFocus} siirtyäksesi työkalupalkkiin. Siirry seuraavaan ja edelliseen työkalupalkin ryhmään TAB ja SHIFT-TAB näppäimillä. Siirry seuraavaan ja edelliseen työkalupainikkeeseen käyttämällä NUOLI OIKEALLE tai NUOLI VASEMMALLE näppäimillä. Paina VÄLILYÖNTI tai ENTER näppäintä aktivoidaksesi työkalupainikkeen."},
{name:"Editorin dialogi",legend:"Dialogin sisällä, painamalla TAB siirryt seuraavaan dialogin kenttään, painamalla SHIFT+TAB siirryt aiempaan kenttään, painamalla ENTER lähetät dialogin, painamalla ESC peruutat dialogin. Dialogeille joissa on useita välilehtiä, paina ALT+F10 siirtyäksesi välillehtilistaan. Siirtyäksesi seuraavaan välilehteen paina TAB tai NUOLI OIKEALLE. Siirry edelliseen välilehteen painamalla SHIFT+TAB tai nuoli vasemmalle. Paina VÄLILYÖNTI tai ENTER valitaksesi välilehden."},{name:"Editorin oheisvalikko",
legend:"Paina ${contextMenu} tai SOVELLUSPAINIKETTA avataksesi oheisvalikon. Liiku seuraavaan valikon vaihtoehtoon TAB tai NUOLI ALAS näppäimillä. Siirry edelliseen vaihtoehtoon SHIFT+TAB tai NUOLI YLÖS näppäimillä. Paina VÄLILYÖNTI tai ENTER valitaksesi valikon kohdan. Avataksesi nykyisen kohdan alivalikon paina VÄLILYÖNTI tai ENTER tai NUOLI OIKEALLE painiketta. Siirtyäksesi takaisin valikon ylemmälle tasolle paina ESC tai NUOLI vasemmalle. Oheisvalikko suljetaan ESC painikkeella."},{name:"Editorin listalaatikko",
legend:"Listalaatikon sisällä siirry seuraavaan listan kohtaan TAB tai NUOLI ALAS painikkeilla. Siirry edelliseen listan kohtaan SHIFT+TAB tai NUOLI YLÖS painikkeilla. Paina VÄLILYÖNTI tai ENTER valitaksesi listan vaihtoehdon. Paina ESC sulkeaksesi listalaatikon."},{name:"Editorin elementtipolun palkki",legend:"Paina ${elementsPathFocus} siirtyäksesi elementtipolun palkkiin. Siirry seuraavaan elementtipainikkeeseen TAB tai NUOLI OIKEALLE painikkeilla. Siirry aiempaan painikkeeseen SHIFT+TAB tai NUOLI VASEMMALLE painikkeilla. Paina VÄLILYÖNTI tai ENTER valitaksesi elementin editorissa."}]},
{name:"Komennot",items:[{name:"Peruuta komento",legend:"Paina ${undo}"},{name:"Tee uudelleen komento",legend:"Paina ${redo}"},{name:"Lihavoi komento",legend:"Paina ${bold}"},{name:"Kursivoi komento",legend:"Paina ${italic}"},{name:"Alleviivaa komento",legend:"Paina ${underline}"},{name:"Linkki komento",legend:"Paina ${link}"},{name:"Pienennä työkalupalkki komento",legend:"Paina ${toolbarCollapse}"},{name:"Siirry aiempaan fokustilaan komento",legend:"Paina ${accessPreviousSpace} siiryäksesi lähimpään kursorin edellä olevaan saavuttamattomaan fokustilaan, esimerkiksi: kaksi vierekkäistä HR elementtiä. Toista näppäinyhdistelmää päästäksesi kauempana oleviin fokustiloihin."},
{name:"Siirry seuraavaan fokustilaan komento",legend:"Paina ${accessPreviousSpace} siiryäksesi lähimpään kursorin jälkeen olevaan saavuttamattomaan fokustilaan, esimerkiksi: kaksi vierekkäistä HR elementtiä. Toista näppäinyhdistelmää päästäksesi kauempana oleviin fokustiloihin."},{name:"Saavutettavuus ohjeet",legend:"Paina ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",
end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",
divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"Komennot",items:[{name:"Peruuta komento",legend:"Paina ${undo}"},{name:"Tee uudelleen komento",legend:"Paina ${redo}"},{name:"Lihavoi komento",legend:"Paina ${bold}"},{name:"Kursivoi komento",legend:"Paina ${italic}"},{name:"Alleviivaa komento",legend:"Paina ${underline}"},{name:"Linkki komento",legend:"Paina ${link}"},{name:"Pienennä työkalupalkki komento",legend:"Paina ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:"Saavutettavuus ohjeet",legend:"Paina ${a11yHelp}"}]}]});

View File

@ -1,12 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","fr-ca",{title:"Instructions d'accessibilité",contents:"Contenu de l'aide. Pour fermer cette fenêtre, appuyez sur ESC.",legend:[{name:"Général",items:[{name:"Barre d'outil de l'éditeur",legend:"Appuyer sur ${toolbarFocus} pour accéder à la barre d'outils. Se déplacer vers les groupes suivant ou précédent de la barre d'outil avec les touches TAB et SHIFT-TAB. Se déplacer vers les boutons suivant ou précédent de la barre d'outils avec les touches FLECHE DROITE et FLECHE GAUCHE. Appuyer sur la barre d'espace ou la touche ENTRER pour activer le bouton de barre d'outils."},
{name:"Dialogue de l'éditeur",legend:"A l'intérieur d'un dialogue, appuyer sur la touche TAB pour naviguer jusqu'au champ de dalogue suivant, appuyez sur les touches SHIFT + TAB pour revenir au champ précédent, appuyez sur la touche ENTRER pour soumettre le dialogue, appuyer sur la touche ESC pour annuler le dialogue. Pour les dialogues avec plusieurs pages d'onglets, appuyer sur ALT + F10 pour naviguer jusqu'à la liste des onglets. Puis se déplacer vers l'onglet suivant avec la touche TAB ou FLECHE DROITE. Se déplacer vers l'onglet précédent avec les touches SHIFT + TAB ou FLECHE GAUCHE. Appuyer sur la barre d'espace ou la touche ENTRER pour sélectionner la page de l'onglet."},
{name:"Menu contextuel de l'éditeur",legend:"Appuyer sur ${contextMenu} ou entrer le RACCOURCI CLAVIER pour ouvrir le menu contextuel. Puis se déplacer vers l'option suivante du menu avec les touches TAB ou FLECHE BAS. Se déplacer vers l'option précédente avec les touches SHIFT+TAB ou FLECHE HAUT. appuyer sur la BARRE D'ESPACE ou la touche ENTREE pour sélectionner l'option du menu. Oovrir le sous-menu de l'option courante avec la BARRE D'ESPACE ou les touches ENTREE ou FLECHE DROITE. Revenir à l'élément de menu parent avec les touches ESC ou FLECHE GAUCHE. Fermer le menu contextuel avec ESC."},
{name:"Menu déroulant de l'éditeur",legend:"A l'intérieur d'une liste en menu déroulant, se déplacer vers l'élément suivant de la liste avec les touches TAB ou FLECHE BAS. Se déplacer vers l'élément précédent de la liste avec les touches SHIFT + TAB ou FLECHE HAUT. Appuyer sur la BARRE D'ESPACE ou sur ENTREE pour sélectionner l'option dans la liste. Appuyer sur ESC pour fermer le menu déroulant."},{name:"Barre d'emplacement des éléments de l'éditeur",legend:"Appuyer sur ${elementsPathFocus} pour naviguer vers la barre d'emplacement des éléments de léditeur. Se déplacer vers le bouton d'élément suivant avec les touches TAB ou FLECHE DROITE. Se déplacer vers le bouton d'élément précédent avec les touches SHIFT+TAB ou FLECHE GAUCHE. Appuyer sur la BARRE D'ESPACE ou sur ENTREE pour sélectionner l'élément dans l'éditeur."}]},
{name:"Commandes",items:[{name:"Annuler",legend:"Appuyer sur ${undo}"},{name:"Refaire",legend:"Appuyer sur ${redo}"},{name:"Gras",legend:"Appuyer sur ${bold}"},{name:"Italique",legend:"Appuyer sur ${italic}"},{name:"Souligné",legend:"Appuyer sur ${underline}"},{name:"Lien",legend:"Appuyer sur ${link}"},{name:"Enrouler la barre d'outils",legend:"Appuyer sur ${toolbarCollapse}"},{name:"Accéder à l'objet de focus précédent",legend:"Appuyer ${accessPreviousSpace} pour accéder au prochain espace disponible avant le curseur, par exemple: deux éléments HR adjacents. Répéter la combinaison pour joindre les éléments d'espaces distantes."},
{name:"Accéder au prochain objet de focus",legend:"Appuyer ${accessNextSpace} pour accéder au prochain espace disponible après le curseur, par exemple: deux éléments HR adjacents. Répéter la combinaison pour joindre les éléments d'espaces distantes."},{name:"Aide d'accessibilité",legend:"Appuyer sur ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",
leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",
f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"Accéder au prochain objet de focus",legend:"Appuyer ${accessNextSpace} pour accéder au prochain espace disponible après le curseur, par exemple: deux éléments HR adjacents. Répéter la combinaison pour joindre les éléments d'espaces distantes."},{name:"Aide d'accessibilité",legend:"Appuyer sur ${a11yHelp}"}]}]});

View File

@ -1,13 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","fr",{title:"Instructions d'accessibilité",contents:"Contenu de l'aide. Pour fermer ce dialogue, appuyez sur la touche Ech (Echappement).",legend:[{name:"Général",items:[{name:"Barre d'outils de l'éditeur",legend:"Appuyer sur ${toolbarFocus} pour accéder à la barre d'outils. Se déplacer vers les groupes suivant ou précédent de la barre d'outil avec les touches TAB et SHIFT-TAB. Se déplacer vers les boutons suivant ou précédent de la barre d'outils avec les touches FLECHE DROITE et FLECHE GAUCHE. Appuyer sur la barre d'espace ou la touche ENTRER pour activer le bouton de barre d'outils."},
{name:"Dialogue de l'éditeur",legend:"A l'intérieur d'un dialogue, appuyer sur la touche TAB pour naviguer jusqu'au champ de dalogue suivant, appuyez sur les touches SHIFT + TAB pour revenir au champ précédent, appuyez sur la touche ENTRER pour soumettre le dialogue, appuyer sur la touche ESC pour annuler le dialogue. Pour les dialogues avec plusieurs pages d'onglets, appuyer sur ALT + F10 pour naviguer jusqu'à la liste des onglets. Puis se déplacer vers l'onglet suivant avec la touche TAB ou FLECHE DROITE. Se déplacer vers l'onglet précédent avec les touches SHIFT + TAB ou FLECHE GAUCHE. Appuyer sur la barre d'espace ou la touche ENTRER pour sélectionner la page de l'onglet."},
{name:"Menu contextuel de l'éditeur",legend:"Appuyer sur ${contextMenu} ou entrer le RACCOURCI CLAVIER pour ouvrir le menu contextuel. Puis se déplacer vers l'option suivante du menu avec les touches TAB ou FLECHE BAS. Se déplacer vers l'option précédente avec les touches SHIFT+TAB ou FLECHE HAUT. appuyer sur la BARRE D'ESPACE ou la touche ENTREE pour sélectionner l'option du menu. Oovrir le sous-menu de l'option courante avec la BARRE D'ESPACE ou les touches ENTREE ou FLECHE DROITE. Revenir à l'élément de menu parent avec les touches Ech ou FLECHE GAUCHE. Fermer le menu contextuel avec Ech."},
{name:"Zone de liste de l'éditeur",legend:"Dans la liste en menu déroulant, se déplacer vers l'élément suivant de la liste avec les touches TAB ou FLECHE BAS. Se déplacer vers l'élément précédent de la liste avec les touches MAJ + TAB ou FLECHE HAUT. Appuyer sur la BARRE D'ESPACE ou sur ENTREE pour sélectionner l'option dans la liste. Appuyer sur ESC pour fermer le menu déroulant."},{name:"Barre d'emplacement des éléments de l'éditeur",legend:"Appuyer sur ${elementsPathFocus} pour naviguer vers la barre d'emplacement des éléments de l'éditeur. Se déplacer vers le bouton d'élément suivant avec les touches TAB ou FLECHE DROITE. Se déplacer vers le bouton d'élément précédent avec les touches MAJ+TAB ou FLECHE GAUCHE. Appuyer sur la BARRE D'ESPACE ou sur ENTREE pour sélectionner l'élément dans l'éditeur."}]},
{name:"Commandes",items:[{name:" Annuler la commande",legend:"Appuyer sur ${undo}"},{name:"Refaire la commande",legend:"Appuyer sur ${redo}"},{name:" Commande gras",legend:"Appuyer sur ${bold}"},{name:" Commande italique",legend:"Appuyer sur ${italic}"},{name:" Commande souligné",legend:"Appuyer sur ${underline}"},{name:" Commande lien",legend:"Appuyer sur ${link}"},{name:" Commande enrouler la barre d'outils",legend:"Appuyer sur ${toolbarCollapse}"},{name:"Accéder à la précédente commande d'espace de mise au point",
legend:"Appuyez sur ${accessPreviousSpace} pour accéder à l'espace hors d'atteinte le plus proche avant le caret, par exemple: deux éléments HR adjacents. Répétez la combinaison de touches pour atteindre les espaces de mise au point distants."},{name:"Accès à la prochaine commande de l'espace de mise au point",legend:"Appuyez sur ${accessNextSpace} pour accéder au plus proche espace de mise au point hors d'atteinte après le caret, par exemple: deux éléments HR adjacents. répétez la combinaison de touches pour atteindre les espace de mise au point distants."},
{name:" Aide Accessibilité",legend:"Appuyer sur ${a11yHelp}"}]}],backspace:"Retour arrière",tab:"Tabulation",enter:"Entrée",shift:"Majuscule",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Verr. Maj.",escape:"Echap",pageUp:"Page supérieure",pageDown:"Page inférieure",end:"Fin",home:"Retour",leftArrow:"Flèche gauche",upArrow:"Flèche haute",rightArrow:"Flèche droite",downArrow:"Flèche basse",insert:"Insertion","delete":"Supprimer",leftWindowKey:"Touche Windows gauche",rightWindowKey:"Touche Windows droite",
selectKey:"Touche menu",numpad0:"Pavé numérique 0",numpad1:"Pavé numérique 1",numpad2:"Pavé numérique 2",numpad3:"Pavé numérique 3",numpad4:"Pavé numérique 4",numpad5:"Pavé numérique 5",numpad6:"Pavé numérique 6",numpad7:"Pavé numérique 7",numpad8:"Pavé numérique 8",numpad9:"Pavé numérique 9",multiply:"Multiplier",add:"Addition",subtract:"Soustraire",decimalPoint:"Point décimal",divide:"Diviser",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",
numLock:"Verrouillage numérique",scrollLock:"Arrêt défilement",semiColon:"Point virgule",equalSign:"Signe égal",comma:"Virgule",dash:"Tiret",period:"Point",forwardSlash:"Barre oblique",graveAccent:"Accent grave",openBracket:"Parenthèse ouvrante",backSlash:"Barre oblique inverse",closeBracket:"Parenthèse fermante",singleQuote:"Apostrophe"});
CKEDITOR.plugins.setLang("a11yhelp","fr",{title:"Instructions pour l'accessibilité",contents:"Contenu de l'aide. Pour fermer ce dialogue, appuyez sur la touche ESC (Echappement).",legend:[{name:"Général",items:[{name:"Barre d'outils de l'éditeur",legend:"Appuyer sur ${toolbarFocus} pour accéder à la barre d'outils. Se déplacer vers les groupes suivant ou précédent de la barre d'outil avec les touches TAB et SHIFT-TAB. Se déplacer vers les boutons suivant ou précédent de la barre d'outils avec les touches FLECHE DROITE et FLECHE GAUCHE. Appuyer sur la barre d'espace ou la touche ENTRER pour activer le bouton de barre d'outils."},
{name:"Dialogue de léditeur",legend:"A l'intérieur d'un dialogue, appuyer sur la touche TAB pour naviguer jusqu'au champ de dalogue suivant, appuyez sur les touches SHIFT + TAB pour revenir au champ précédent, appuyez sur la touche ENTRER pour soumettre le dialogue, appuyer sur la touche ESC pour annuler le dialogue. Pour les dialogues avec plusieurs pages d'onglets, appuyer sur ALT + F10 pour naviguer jusqu'à la liste des onglets. Puis se déplacer vers l'onglet suivant avec la touche TAB ou FLECHE DROITE. Se déplacer vers l'onglet précédent avec les touches SHIFT + TAB ou FLECHE GAUCHE. Appuyer sur la barre d'espace ou la touche ENTRER pour sélectionner la page de l'onglet."},
{name:"Menu contextuel de l'éditeur",legend:"Appuyer sur ${contextMenu} ou entrer le RACCOURCI CLAVIER pour ouvrir le menu contextuel. Puis se déplacer vers l'option suivante du menu avec les touches TAB ou FLECHE BAS. Se déplacer vers l'option précédente avec les touches SHIFT+TAB ou FLECHE HAUT. appuyer sur la BARRE D'ESPACE ou la touche ENTREE pour sélectionner l'option du menu. Oovrir le sous-menu de l'option courante avec la BARRE D'ESPACE ou les touches ENTREE ou FLECHE DROITE. Revenir à l'élément de menu parent avec les touches ESC ou FLECHE GAUCHE. Fermer le menu contextuel avec ESC."},
{name:"Zone de liste en menu déroulant de l'éditeur",legend:"A l'intérieur d'une liste en menu déroulant, se déplacer vers l'élément suivant de la liste avec les touches TAB ou FLECHE BAS. Se déplacer vers l'élément précédent de la liste avec les touches SHIFT + TAB ou FLECHE HAUT. Appuyer sur la BARRE D'ESPACE ou sur ENTREE pour sélectionner l'option dans la liste. Appuyer sur ESC pour fermer le menu déroulant."},{name:"Barre d'emplacement des éléments de léditeur",legend:"Appuyer sur ${elementsPathFocus} pour naviguer vers la barre d'emplacement des éléments de léditeur. Se déplacer vers le bouton d'élément suivant avec les touches TAB ou FLECHE DROITE. Se déplacer vers le bouton d'élément précédent avec les touches SHIFT+TAB ou FLECHE GAUCHE. Appuyer sur la BARRE D'ESPACE ou sur ENTREE pour sélectionner l'élément dans l'éditeur."}]},
{name:"Commandes",items:[{name:" Commande défaire",legend:"Appuyer sur ${undo}"},{name:" Commande refaire",legend:"Appuyer sur ${redo}"},{name:" Commande gras",legend:"Appuyer sur ${bold}"},{name:" Commande italique",legend:"Appuyer sur ${italic}"},{name:" Commande souligné",legend:"Appuyer sur ${underline}"},{name:" Commande lien",legend:"Appuyer sur ${link}"},{name:" Commande enrouler la barre d'outils",legend:"Appuyer sur ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Aide Accessibilité",legend:"Appuyer sur ${a11yHelp}"}]}]});

View File

@ -1,12 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","gl",{title:"Instrucións de accesibilidade",contents:"Axuda. Para pechar este diálogo prema ESC.",legend:[{name:"Xeral",items:[{name:"Barra de ferramentas do editor",legend:"Prema ${toolbarFocus} para navegar pola barra de ferramentas. Para moverse polos distintos grupos de ferramentas use as teclas TAB e MAIÚS+TAB. Para moverse polas distintas ferramentas use FRECHA DEREITA ou FRECHA ESQUERDA. Prema ESPAZO ou INTRO para activar o botón da barra de ferramentas."},
{name:"Editor de diálogo",legend:"Dentro dun cadro de diálogo, prema a tecla TAB para desprazarse ao campo seguinte do cadro de diálogo, prema MAIÚS + TAB para desprazarse ao campo anterior, prema INTRO para presentar o cadro de diálogo, prema a tecla ESC para cancelar o diálogo. Para os diálogos que teñen varias páxinas, prema ALT + F10 para navegar á lapela da lista. Despois pasar á seguinte lapela con TAB ou FRECHA DEREITA. Para ir á lapela anterior con SHIFT + TAB ou FRECHA ESQUERDA. Prema ESPAZO ou INTRO para seleccionar a lapela da páxina."},
{name:"Editor do menú contextual",legend:"Prema ${contextMenu} ou a TECLA MENÚ para abrir o menú contextual. A seguir móvase á seguinte opción do menú con TAB ou FRECHA ABAIXO. Móvase á opción anterior con MAIÚS + TAB ou FRECHA ARRIBA. Prema ESPAZO ou INTRO para seleccionar a opción do menú. Abra o submenú da opción actual con ESPAZO ou INTRO ou FRECHA DEREITA. Regrese ao elemento principal do menú con ESC ou FRECHA ESQUERDA. Peche o menú contextual con ESC."},{name:"Lista do editor",legend:"Dentro dunha lista, móvase ao seguinte elemento da lista con TAB ou FRECHA ABAIXO. Móvase ao elemento anterior da lista con MAIÚS + TAB ou FRECHA ARRIBA. Prema ESPAZO ou INTRO para escoller a opción da lista. Prema ESC para pechar a lista."},
{name:"Barra da ruta ao elemento no editor",legend:"Prema ${elementsPathFocus} para navegar ata os elementos da barra de ruta. Móvase ao seguinte elemento botón con TAB ou FRECHA DEREITA. Móvase ao botón anterior con MAIÚS + TAB ou FRECHA ESQUERDA. Prema ESPAZO ou INTRO para seleccionar o elemento no editor."}]},{name:"Ordes",items:[{name:"Orde «desfacer»",legend:"Prema ${undo}"},{name:"Orde «refacer»",legend:"Prema ${redo}"},{name:"Orde «negra»",legend:"Prema ${bold}"},{name:"Orde «cursiva»",legend:"Prema ${italic}"},
{name:"Orde «subliñar»",legend:"Prema ${underline}"},{name:"Orde «ligazón»",legend:"Prema ${link}"},{name:"Orde «contraer a barra de ferramentas»",legend:"Prema ${toolbarCollapse}"},{name:"Orde «acceder ao anterior espazo en foco»",legend:"Prema ${accessPreviousSpace} para acceder ao espazo máis próximo de foco inalcanzábel anterior ao cursor, por exemplo: dous elementos HR adxacentes. Repita a combinación de teclas para chegar a espazos de foco distantes."},{name:"Orde «acceder ao seguinte espazo en foco»",
legend:"Prema ${accessNextSpace} para acceder ao espazo máis próximo de foco inalcanzábel posterior ao cursor, por exemplo: dous elementos HR adxacentes. Repita a combinación de teclas para chegar a espazos de foco distantes."},{name:"Axuda da accesibilidade",legend:"Prema ${a11yHelp}"}]}],backspace:"Ir atrás",tab:"Tabulador",enter:"Intro",shift:"Maiús",ctrl:"Ctrl",alt:"Alt",pause:"Pausa",capslock:"Bloq. Maiús",escape:"Escape",pageUp:"Páxina arriba",pageDown:"Páxina abaixo",end:"Fin",home:"Inicio",
leftArrow:"Frecha esquerda",upArrow:"Frecha arriba",rightArrow:"Frecha dereita",downArrow:"Frecha abaixo",insert:"Inserir","delete":"Supr",leftWindowKey:"Tecla Windows esquerda",rightWindowKey:"Tecla Windows dereita",selectKey:"Escolla a tecla",numpad0:"Tec. numérico 0",numpad1:"Tec. numérico 1",numpad2:"Tec. numérico 2",numpad3:"Tec. numérico 3",numpad4:"Tec. numérico 4",numpad5:"Tec. numérico 5",numpad6:"Tec. numérico 6",numpad7:"Tec. numérico 7",numpad8:"Tec. numérico 8",numpad9:"Tec. numérico 9",
multiply:"Multiplicar",add:"Sumar",subtract:"Restar",decimalPoint:"Punto decimal",divide:"Dividir",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Bloq. num.",scrollLock:"Bloq. despraz.",semiColon:"Punto e coma",equalSign:"Signo igual",comma:"Coma",dash:"Guión",period:"Punto",forwardSlash:"Barra inclinada",graveAccent:"Acento grave",openBracket:"Abrir corchete",backSlash:"Barra invertida",closeBracket:"Pechar corchete",singleQuote:"Comiña simple"});
legend:"Prema ${accessNextSpace} para acceder ao espazo máis próximo de foco inalcanzábel posterior ao cursor, por exemplo: dous elementos HR adxacentes. Repita a combinación de teclas para chegar a espazos de foco distantes."},{name:"Axuda da accesibilidade",legend:"Prema ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","gu",{title:"એક્ક્ષેબિલિટી ની વિગતો",contents:"હેલ્પ. આ બંધ કરવા ESC દબાવો.",legend:[{name:"જનરલ",items:[{name:"એડિટર ટૂલબાર",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"એડિટર ડાયલોગ",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"કમાંડસ",items:[{name:"અન્ડું કમાંડ",legend:"$ દબાવો {undo}"},{name:"ફરી કરો કમાંડ",legend:"$ દબાવો {redo}"},{name:"બોલ્દનો કમાંડ",legend:"$ દબાવો {bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","he",{title:"הוראות נגישות",contents:"הוראות נגישות. לסגירה לחץ אסקייפ (ESC).",legend:[{name:"כללי",items:[{name:"סרגל הכלים",legend:"לחץ על ${toolbarFocus} כדי לנווט לסרגל הכלים. עבור לכפתור הבא עם מקש הטאב (TAB) או חץ שמאלי. עבור לכפתור הקודם עם מקש השיפט (SHIFT) + טאב (TAB) או חץ ימני. לחץ רווח או אנטר (ENTER) כדי להפעיל את הכפתור הנבחר."},{name:"דיאלוגים (חלונות תשאול)",legend:"בתוך דיאלוג, לחץ טאב (TAB) כדי לנווט לשדה הבא, לחץ שיפט (SHIFT) + טאב (TAB) כדי לנווט לשדה הקודם, לחץ אנטר (ENTER) כדי לשלוח את הדיאלוג, לחץ אסקייפ (ESC) כדי לבטל. בתוך דיאלוגים בעלי מספר טאבים (לשוניות), לחץ אלט (ALT) + F10 כדי לנווט לשורת הטאבים. נווט לטאב הבא עם טאב (TAB) או חץ שמאלי. עבור לטאב הקודם עם שיפט (SHIFT) + טאב (TAB) או חץ שמאלי. לחץ רווח או אנטר (ENTER) כדי להיכנס לטאב."},
{name:"תפריט ההקשר (Context Menu)",legend:"לחץ ${contextMenu} או APPLICATION KEYכדי לפתוח את תפריט ההקשר. עבור לאפשרות הבאה עם טאב (TAB) או חץ למטה. עבור לאפשרות הקודמת עם שיפט (SHIFT) + טאב (TAB) או חץ למעלה. לחץ רווח או אנטר (ENTER) כדי לבחור את האפשרות. פתח את תת התפריט (Sub-menu) של האפשרות הנוכחית עם רווח או אנטר (ENTER) או חץ שמאלי. חזור לתפריט האב עם אסקייפ (ESC) או חץ שמאלי. סגור את תפריט ההקשר עם אסקייפ (ESC)."},{name:"תפריטים צפים (List boxes)",legend:"בתוך תפריט צף, עבור לפריט הבא עם טאב (TAB) או חץ למטה. עבור לתפריט הקודם עם שיפט (SHIFT) + טאב (TAB) or חץ עליון. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"עץ אלמנטים (Elements Path)",legend:"לחץ ${elementsPathFocus} כדי לנווט לעץ האלמנטים. עבור לפריט הבא עם טאב (TAB) או חץ ימני. עבור לפריט הקודם עם שיפט (SHIFT) + טאב (TAB) או חץ שמאלי. לחץ רווח או אנטר (ENTER) כדי לבחור את האלמנט בעורך."}]},{name:"פקודות",items:[{name:" ביטול צעד אחרון",legend:"לחץ ${undo}"},{name:" חזרה על צעד אחרון",legend:"לחץ ${redo}"},{name:" הדגשה",legend:"לחץ ${bold}"},{name:" הטייה",legend:"לחץ ${italic}"},{name:" הוספת קו תחתון",legend:"לחץ ${underline}"},{name:" הוספת לינק",
legend:"לחץ ${link}"},{name:" כיווץ סרגל הכלים",legend:"לחץ ${toolbarCollapse}"},{name:"גישה למיקום המיקוד הקודם",legend:"לחץ ${accessPreviousSpace} כדי לגשת למיקום המיקוד הלא-נגיש הקרוב לפני הסמן, למשל בין שני אלמנטים סמוכים מסוג HR. חזור על צירוף מקשים זה כדי להגיע למקומות מיקוד רחוקים יותר."},{name:"גישה למיקום המיקוד הבא",legend:"לחץ ${accessNextSpace} כדי לגשת למיקום המיקוד הלא-נגיש הקרוב אחרי הסמן, למשל בין שני אלמנטים סמוכים מסוג HR. חזור על צירוף מקשים זה כדי להגיע למקומות מיקוד רחוקים יותר."},
{name:" הוראות נגישות",legend:"לחץ ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"הכנס","delete":"מחק",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",
numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"הוסף",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",
openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
legend:"לחץ ${link}"},{name:" כיווץ סרגל הכלים",legend:"לחץ ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" הוראות נגישות",legend:"לחץ ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","hi",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"सामान्य",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","hr",{title:"Upute dostupnosti",contents:"Sadržaj pomoći. Za zatvaranje pritisnite ESC.",legend:[{name:"Općenito",items:[{name:"Alatna traka",legend:"Pritisni ${toolbarFocus} za navigaciju do alatne trake. Pomicanje do prethodne ili sljedeće alatne grupe vrši se pomoću SHIFT-TAB i TAB. Pomicanje do prethodnog ili sljedećeg gumba u alatnoj traci vrši se pomoću lijeve i desne strelice kursora. Pritisnite SPACE ili ENTER za aktivaciju alatne trake."},{name:"Dijalog",
legend:"Unutar dijaloga, pritisnite TAB za navigaciju do sljedećeg polja, pritisnite SHIFT + TAB za vraćanje na prethodno polje, pritisnite ENTER za slanje dijaloga ili ESC za zatvaranje dijaloga. Za dijaloge koji imaju višestruke kartice, pritisnite ALT + F10 za na navigaciju i zatim TAB ili lijeva strelica kursora ili SHIFT + TAB i desna strelica kursora. SPACE ili ENTER odabiru karticu."},{name:"Kontekstni izbornik",legend:"Pritisnite ${contextMenu} ili APPLICATION tipku za otvaranje kontekstnog izbornika. Pomicanje se vrši TAB ili strelicom kursora prema dolje ili SHIFT+TAB ili strelica kursora prema gore. SPACE ili ENTER odabiru opciju izbornika. Otvorite podizbornik trenutne opcije sa SPACE, ENTER ili desna strelica kursora. Povratak na prethodni izbornik vrši se sa ESC ili lijevom strelicom kursora. Zatvaranje se vrši pritiskom na tipku ESC."},
{name:"Lista",legend:"Unutar list-boxa, pomicanje na sljedeću stavku vrši se sa TAB ili strelica kursora prema dolje. Na prethodnu sa SHIFT + TAB ili strelica prema gore. Pritiskom na SPACE ili ENTER odabire se stavka ili ESC za zatvaranje."},{name:"Traka putanje elemenata",legend:"Pritisnite ${elementsPathFocus} za navigaciju po putanji elemenata. Pritisnite TAB ili desnu strelicu kursora za pomicanje na sljedeći element ili SHIFT + TAB ili lijeva strelica kursora za pomicanje na prethodni element. Pritiskom na SPACE ili ENTER vrši se odabir elementa."}]},
{name:"Naredbe",items:[{name:"Vrati naredbu",legend:"Pritisni ${undo}"},{name:"Ponovi naredbu",legend:"Pritisni ${redo}"},{name:"Bold naredba",legend:"Pritisni ${bold}"},{name:"Italic naredba",legend:"Pritisni ${italic}"},{name:"Underline naredba",legend:"Pritisni ${underline}"},{name:"Link naredba",legend:"Pritisni ${link}"},{name:"Smanji alatnu traku naredba",legend:"Pritisni ${toolbarCollapse}"},{name:"Access previous focus space naredba",legend:"Pritisni ${accessPreviousSpace} za pristup najbližem nedostupnom razmaku prije kursora, npr.: dva spojena HR elementa. Ponovnim pritiskom dohvatiti će se sljedeći nedostupni razmak."},
{name:"Access next focus space naredba",legend:"Pritisni ${accessNextSpace} za pristup najbližem nedostupnom razmaku nakon kursora, npr.: dva spojena HR elementa. Ponovnim pritiskom dohvatiti će se sljedeći nedostupni razmak."},{name:"Pomoć za dostupnost",legend:"Pritisni ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",
upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",
f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"Access next focus space naredba",legend:"Pritisni ${accessNextSpace} za pristup najbližem nedostupnom razmaku nakon kursora, npr.: dva spojena HR elementa. Ponovnim pritiskom dohvatiti će se sljedeći nedostupni razmak."},{name:"Pomoć za dostupnost",legend:"Pritisni ${a11yHelp}"}]}]});

View File

@ -1,13 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","hu",{title:"Kisegítő utasítások",contents:"Súgó tartalmak. A párbeszédablak bezárásához nyomjon ESC-et.",legend:[{name:"Általános",items:[{name:"Szerkesztő Eszköztár",legend:"Nyomjon ${toolbarFocus} hogy kijelölje az eszköztárat. A következő és előző eszköztár csoporthoz a TAB és SHIFT TAB-al juthat el. A következő és előző eszköztár gombhoz a BAL NYÍL vagy JOBB NYÍL gombbal juthat el. Nyomjon SPACE-t vagy ENTER-t hogy aktiválja az eszköztár gombot."},{name:"Szerkesző párbeszéd ablak",
legend:"Párbeszédablakban nyomjon TAB-ot a következő párbeszédmezőhöz ugráshoz, nyomjon SHIFT + TAB-ot az előző mezőhöz ugráshoz, nyomjon ENTER-t a párbeszédablak elfogadásához, nyomjon ESC-et a párbeszédablak elvetéséhez. Azokhoz a párbeszédablakokhoz, amik több fület tartalmaznak, nyomjon ALT + F10-et hogy a fülekre ugorjon. Ezután a TAB-al vagy a JOBB NYÍLLAL a következő fülre ugorhat. Az előző fülre ugráshoz használja a SHIFT + TAB-ot vagy a BAL NYILAT. Nyomjon SPACE-t vagy ENTER-t hogy kijelölje a fület."},
{name:"Szerkesztő helyi menü",legend:"Nyomjon ${contextMenu}-t vagy ALKALMAZÁS BILLENTYŰT a helyi menü megnyitásához. Ezután a következő menüpontra léphet a TAB vagy LEFELÉ NYÍLLAL. Az előző opciót a SHIFT+TAB vagy FELFELÉ NYÍLLAL érheti el. Nyomjon SPACE-t vagy ENTER-t a menüpont kiválasztásához. A jelenlegi menüpont almenüjének megnyitásához nyomjon SPACE-t vagy ENTER-t, vagy JOBB NYILAT. A főmenühöz való visszatéréshez nyomjon ESC-et vagy BAL NYILAT. A helyi menü bezárása az ESC billentyűvel lehetséges."},
{name:"Szerkesztő lista",legend:"A listán belül a következő elemre a TAB vagy LEFELÉ NYÍLLAL mozoghat. Az előző elem kiválasztásához nyomjon SHIFT+TAB-ot vagy FELFELÉ NYILAT. Nyomjon SPACE-t vagy ENTER-t az elem kiválasztásához. Az ESC billentyű megnyomásával bezárhatja a listát."},{name:"Szerkesztő elem utak sáv",legend:"Nyomj ${elementsPathFocus} hogy kijelöld a elemek út sávját. A következő elem gombhoz a TAB-al vagy a JOBB NYÍLLAL juthatsz el. Az előző gombhoz a SHIFT+TAB vagy BAL NYÍLLAL mehetsz. A SPACE vagy ENTER billentyűvel kiválaszthatod az elemet a szerkesztőben."}]},
{name:"Parancsok",items:[{name:"Parancs visszavonása",legend:"Nyomj ${undo}"},{name:"Parancs megismétlése",legend:"Nyomjon ${redo}"},{name:"Félkövér parancs",legend:"Nyomjon ${bold}"},{name:"Dőlt parancs",legend:"Nyomjon ${italic}"},{name:"Aláhúzott parancs",legend:"Nyomjon ${underline}"},{name:"Link parancs",legend:"Nyomjon ${link}"},{name:"Szerkesztősáv összecsukása parancs",legend:"Nyomjon ${toolbarCollapse}"},{name:"Hozzáférés az előző fókusz helyhez parancs",legend:"Nyomj ${accessNextSpace} hogy hozzáférj a legközelebbi elérhetetlen fókusz helyhez a hiányjel előtt, például: két szomszédos HR elemhez. Ismételd meg a billentyűkombinációt hogy megtaláld a távolabbi fókusz helyeket."},
{name:"Hozzáférés a következő fókusz helyhez parancs",legend:"Nyomj ${accessNextSpace} hogy hozzáférj a legközelebbi elérhetetlen fókusz helyhez a hiányjel után, például: két szomszédos HR elemhez. Ismételd meg a billentyűkombinációt hogy megtaláld a távolabbi fókusz helyeket."},{name:"Kisegítő súgó",legend:"Nyomjon ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",
end:"End",home:"Home",leftArrow:"balra nyíl",upArrow:"felfelé nyíl",rightArrow:"jobbra nyíl",downArrow:"lefelé nyíl",insert:"Insert","delete":"Delete",leftWindowKey:"bal Windows-billentyű",rightWindowKey:"jobb Windows-billentyű",selectKey:"Billentyű választása",numpad0:"Számbillentyűk 0",numpad1:"Számbillentyűk 1",numpad2:"Számbillentyűk 2",numpad3:"Számbillentyűk 3",numpad4:"Számbillentyűk 4",numpad5:"Számbillentyűk 5",numpad6:"Számbillentyűk 6",numpad7:"Számbillentyűk 7",numpad8:"Számbillentyűk 8",
numpad9:"Számbillentyűk 9",multiply:"Szorzás",add:"Hozzáadás",subtract:"Kivonás",decimalPoint:"Tizedespont",divide:"Osztás",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Pontosvessző",equalSign:"Egyenlőségjel",comma:"Vessző",dash:"Kötőjel",period:"Pont",forwardSlash:"Perjel",graveAccent:"Visszafelé dőlő ékezet",openBracket:"Nyitó szögletes zárójel",backSlash:"fordított perjel",closeBracket:"Záró szögletes zárójel",
singleQuote:"szimpla idézőjel"});
{name:"Hozzáférés a következő fókusz helyhez parancs",legend:"Nyomj ${accessNextSpace} hogy hozzáférj a legközelebbi elérhetetlen fókusz helyhez a hiányjel után, például: két szomszédos HR elemhez. Ismételd meg a billentyűkombinációt hogy megtaláld a távolabbi fókusz helyeket."},{name:"Kisegítő súgó",legend:"Nyomjon ${a11yHelp}"}]}]});

View File

@ -1,11 +0,0 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","id",{title:"Accessibility Instructions",contents:"Bantuan. Tekan ESC untuk menutup dialog ini.",legend:[{name:"Umum",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});

View File

@ -1,13 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","it",{title:"Istruzioni di Accessibilità",contents:"Contenuti di Aiuto. Per chiudere questa finestra premi ESC.",legend:[{name:"Generale",items:[{name:"Barra degli strumenti Editor",legend:"Premi ${toolbarFocus} per navigare fino alla barra degli strumenti. Muoviti tra i gruppi della barra degli strumenti con i tasti Tab e Maiusc-Tab. Spostati tra il successivo ed il precedente pulsante della barra degli strumenti usando le frecce direzionali Destra e Sinistra. Premi Spazio o Invio per attivare il pulsante della barra degli strumenti."},
{name:"Finestra Editor",legend:"All'interno di una finestra di dialogo, premi Tab per navigare fino al campo successivo della finestra di dialogo, premi Maiusc-Tab per tornare al campo precedente, premi Invio per inviare la finestra di dialogo, premi Esc per uscire. Per le finestre che hanno schede multiple, premi Alt+F10 per navigare nella lista delle schede. Quindi spostati alla scheda successiva con il tasto Tab oppure con la Freccia Destra. Torna alla scheda precedente con Maiusc+Tab oppure con la Freccia Sinistra. Premi Spazio o Invio per scegliere la scheda."},
{name:"Menù contestuale Editor",legend:"Premi ${contextMenu} o TASTO APPLICAZIONE per aprire il menu contestuale. Dunque muoviti all'opzione successiva del menu con il tasto TAB o con la Freccia Sotto. Muoviti all'opzione precedente con MAIUSC+TAB o con Freccia Sopra. Premi SPAZIO o INVIO per scegliere l'opzione di menu. Apri il sottomenu dell'opzione corrente con SPAZIO o INVIO oppure con la Freccia Destra. Torna indietro al menu superiore con ESC oppure Freccia Sinistra. Chiudi il menu contestuale con ESC."},
{name:"Box Lista Editor",legend:"Dentro un box-lista, muoviti al prossimo elemento della lista con TAB o con la Freccia direzionale giù. Spostati all'elemento precedente con MAIUSC+TAB oppure con Freccia direzionale sopra. Premi SPAZIO o INVIO per scegliere l'opzione della lista. Premi ESC per chiudere il box-lista."},{name:"Barra percorso elementi editor",legend:"Premi ${elementsPathFocus} per navigare tra gli elementi della barra percorso. Muoviti al prossimo pulsante di elemento con TAB o la Freccia direzionale destra. Muoviti al pulsante precedente con MAIUSC+TAB o la Freccia Direzionale Sinistra. Premi SPAZIO o INVIO per scegliere l'elemento nell'editor."}]},
{name:"Comandi",items:[{name:" Annulla comando",legend:"Premi ${undo}"},{name:" Ripeti comando",legend:"Premi ${redo}"},{name:" Comando Grassetto",legend:"Premi ${bold}"},{name:" Comando Corsivo",legend:"Premi ${italic}"},{name:" Comando Sottolineato",legend:"Premi ${underline}"},{name:" Comando Link",legend:"Premi ${link}"},{name:" Comando riduci barra degli strumenti",legend:"Premi ${toolbarCollapse}"},{name:"Comando di accesso al precedente spazio di focus",legend:"Premi ${accessPreviousSpace} per accedere il più vicino spazio di focus non raggiungibile prima del simbolo caret, per esempio due elementi HR adiacenti. Ripeti la combinazione di tasti per raggiungere spazi di focus distanti."},
{name:"Comando di accesso al prossimo spazio di focus",legend:"Premi ${accessNextSpace} per accedere il più vicino spazio di focus non raggiungibile dopo il simbolo caret, per esempio due elementi HR adiacenti. Ripeti la combinazione di tasti per raggiungere spazi di focus distanti."},{name:" Aiuto Accessibilità",legend:"Premi ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Invio",shift:"Maiusc",ctrl:"Ctrl",alt:"Alt",pause:"Pausa",capslock:"Bloc Maiusc",escape:"Esc",pageUp:"Pagina sù",pageDown:"Pagina giù",
end:"Fine",home:"Inizio",leftArrow:"Freccia sinistra",upArrow:"Freccia su",rightArrow:"Freccia destra",downArrow:"Freccia giù",insert:"Ins","delete":"Canc",leftWindowKey:"Tasto di Windows sinistro",rightWindowKey:"Tasto di Windows destro",selectKey:"Tasto di selezione",numpad0:"0 sul tastierino numerico",numpad1:"1 sul tastierino numerico",numpad2:"2 sul tastierino numerico",numpad3:"3 sul tastierino numerico",numpad4:"4 sul tastierino numerico",numpad5:"5 sul tastierino numerico",numpad6:"6 sul tastierino numerico",
numpad7:"7 sul tastierino numerico",numpad8:"8 sul tastierino numerico",numpad9:"9 sul tastierino numerico",multiply:"Moltiplicazione",add:"Più",subtract:"Sottrazione",decimalPoint:"Punto decimale",divide:"Divisione",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Bloc Num",scrollLock:"Bloc Scorr",semiColon:"Punto-e-virgola",equalSign:"Segno di uguale",comma:"Virgola",dash:"Trattino",period:"Punto",forwardSlash:"Barra",graveAccent:"Accento grave",
openBracket:"Parentesi quadra aperta",backSlash:"Barra rovesciata",closeBracket:"Parentesi quadra chiusa",singleQuote:"Apostrofo"});
{name:"Comando di accesso al prossimo spazio di focus",legend:"Premi ${accessNextSpace} per accedere il più vicino spazio di focus non raggiungibile dopo il simbolo caret, per esempio due elementi HR adiacenti. Ripeti la combinazione di tasti per raggiungere spazi di focus distanti."},{name:" Aiuto Accessibilità",legend:"Premi ${a11yHelp}"}]}]});

View File

@ -1,9 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","ja",{title:"ユーザー補助の説明",contents:"ヘルプ このダイアログを閉じるには ESCを押してください。",legend:[{name:"全般",items:[{name:"エディターツールバー",legend:"${toolbarFocus} を押すとツールバーのオン/オフ操作ができます。カーソルをツールバーのグループで移動させるにはTabかSHIFT+Tabを押します。グループ内でカーソルを移動させるには、右カーソルか左カーソルを押します。スペースキーやエンターを押すとボタンを有効/無効にすることができます。"},{name:"編集ダイアログ",legend:"ダイヤログ内では、ダイアログの次の選択肢に移動するにはTabを押します。前の選択肢に移動するには、SHIFT+Tabを押します。ダイアログを決定するには、ENTERを押します。ESCでダイアログをキャンセルできます。複数のタブがあるダイアログではタブリストを操作するにはALT+F10を押します。次のタブに移動するにはTabか右カーソル、前のタブに戻るにはSHIFT+Tabか左カーソルです。タブページを決定するにはスペースもしくは、ENTERキーを押してください。"},
{name:"エディターのメニュー",legend:"${contextMenu} キーかAPPLICATION KEYを押すとコンテキストメニューが開きます。Tabか下カーソルでメニューのオプション選択が下に移動します。戻るには、SHIFT+Tabか上カーソルです。スペースもしくはENTERキーでメニューオプションを決定できます。現在選んでいるオプションのサブメニューを開くには、スペース、もしくは右カーソルを押します。サブメニューから親メニューに戻るには、ESCか左カーソルを押してください。ESCでコンテキストメニュー自体をキャンセルできます。"},{name:"エディターリストボックス",legend:"リストボックス内で移動するには、Tabか下カーソルで次のアイテムへ移動します。SHIFT+Tabで前のアイテムに戻ります。リストのオプションを選択するには、スペースもしくは、ENTERを押してください。リストボックスを閉じるには、ESCを押してください。"},{name:"エディター要素パスバー",legend:"${elementsPathFocus} を押すとエレメントパスバーを操作出来ます。Tabか右カーソルで次のエレメントを選択できます。前のエレメントを選択するには、SHIFT+Tabか左カーソルです。スペースもしくは、ENTERでエディタ内の対象エレメントを選択出来ます。"}]},
{name:"コマンド",items:[{name:"元に戻す",legend:"${undo} をクリック"},{name:"やり直し",legend:"${redo} をクリック"},{name:"太字",legend:"${bold} をクリック"},{name:"斜体 ",legend:"${italic} をクリック"},{name:"下線",legend:"${underline} をクリック"},{name:"リンク",legend:"${link} をクリック"},{name:"ツールバーを縮める",legend:"${toolbarCollapse} をクリック"},{name:"前のカーソル移動のできないポイントへ",legend:"${accessPreviousSpace} を押すとカーソルより前にあるカーソルキーで入り込めないスペースへ移動できます。例えば、HRエレメントが2つ接している場合などです。離れた場所へは、複数回キーを押します。"},{name:"次のカーソル移動のできないポイントへ",legend:"${accessNextSpace} を押すとカーソルより後ろにあるカーソルキーで入り込めないスペースへ移動できます。例えば、HRエレメントが2つ接している場合などです。離れた場所へは、複数回キーを押します。"},
{name:"ユーザー補助ヘルプ",legend:"${a11yHelp} をクリック"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"左矢印",upArrow:"上矢印",rightArrow:"右矢印",downArrow:"下矢印",insert:"Insert","delete":"Delete",leftWindowKey:"左Windowキー",rightWindowKey:"右のWindowキー",selectKey:"Select",numpad0:"Num 0",numpad1:"Num 1",numpad2:"Num 2",numpad3:"Num 3",numpad4:"Num 4",numpad5:"Num 5",
numpad6:"Num 6",numpad7:"Num 7",numpad8:"Num 8",numpad9:"Num 9",multiply:"掛ける",add:"足す",subtract:"引く",decimalPoint:"小数点",divide:"割る",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"セミコロン",equalSign:"イコール記号",comma:"カンマ",dash:"ダッシュ",period:"ピリオド",forwardSlash:"フォワードスラッシュ",graveAccent:"グレイヴアクセント",openBracket:"開きカッコ",backSlash:"バックスラッシュ",closeBracket:"閉じカッコ",singleQuote:"シングルクォート"});
CKEDITOR.plugins.setLang("a11yhelp","ja",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"全般",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","km",{title:"Accessibility Instructions",contents:"មាតិកា​ជំនួយ។ ដើម្បី​បិទ​ផ្ទាំង​នេះ សូម​ចុច ESC ។",legend:[{name:"ទូទៅ",items:[{name:"របារ​ឧបករណ៍​កម្មវិធី​និពន្ធ",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"ផ្ទាំង​កម្មវិធីនិពន្ធ",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
CKEDITOR.plugins.setLang("a11yhelp","km",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"ទូទៅ",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"ពាក្យបញ្ជា",items:[{name:"ការ​បញ្ជា​មិនធ្វើវិញ",legend:"ចុច ${undo}"},{name:"ការបញ្ជា​ធ្វើវិញ",legend:"ចុច ${redo}"},{name:"ការបញ្ជា​អក្សរ​ដិត",legend:"ចុច ${bold}"},{name:"ការបញ្ជា​អក្សរ​ទ្រេត",legend:"ចុច ${italic}"},{name:"ពាក្យបញ្ជា​បន្ទាត់​ពីក្រោម",
legend:"ចុច ${underline}"},{name:"ពាក្យបញ្ជា​តំណ",legend:"ចុច ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:"ជំនួយ​ពី​ភាព​ងាយស្រួល",legend:"ជួយ ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"ទំព័រ​លើ",pageDown:"ទំព័រ​ក្រោម",end:"ចុង",home:"ផ្ទះ",leftArrow:"ព្រួញ​ឆ្វេង",upArrow:"ព្រួញ​លើ",rightArrow:"ព្រួញ​ស្ដាំ",downArrow:"ព្រួញ​ក្រោម",insert:"បញ្ចូល","delete":"លុប",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"ជ្រើស​គ្រាប់​ចុច",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"គុណ",add:"បន្ថែម",subtract:"ដក",decimalPoint:"Decimal Point",divide:"ចែក",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"បិទ​រំកិល",semiColon:"ចុច​ក្បៀស",equalSign:"សញ្ញា​អឺរ៉ូ",comma:"ក្បៀស",dash:"Dash",period:"ចុច",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",
openBracket:"តង្កៀប​បើក",backSlash:"Backslash",closeBracket:"តង្កៀប​បិទ",singleQuote:"បន្តក់​មួយ"});
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,10 +0,0 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","ko",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"일반",items:[{name:"편집기 툴바",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"편집기 다이얼로그",legend:"다이얼로그 내부에서 TAB"},{name:"편집기 환경 메뉴",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},
{name:"편집기 목록 박스",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},
{name:"명령",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",
upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",
f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});

View File

@ -1,12 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","ku",{title:"ڕێنمای لەبەردەستدابوون",contents:"پێکهاتەی یارمەتی. کلیك ESC بۆ داخستنی ئەم دیالۆگه.",legend:[{name:"گشتی",items:[{name:"تووڵامرازی دەستكاریكەر",legend:"کلیك ${toolbarFocus} بۆ ڕابەری تووڵامراز. بۆ گواستنەوەی پێشوو داهاتووی گرووپی تووڵامرازی داگرتنی کلیلی TAB لەگەڵ‌ SHIFT-TAB. بۆ گواستنەوەی پێشوو داهاتووی دووگمەی تووڵامرازی لەڕێی کلیلی تیری دەستی ڕاست یان کلیلی تیری دەستی چەپ. کلیکی کلیلی SPACE یان ENTER بۆ چالاککردنی دووگمەی تووڵامراز."},{name:"دیالۆگی دەستكاریكەر",
legend:"لەهەمانکاتدا کە تۆ لەدیالۆگی, کلیکی کلیلی TAB بۆ ڕابەری خانەی دیالۆگێکی تر, داگرتنی کلیلی SHIFT + TAB بۆ گواستنەوەی بۆ خانەی پێشووتر, کلیكی کلیلی ENTER بۆ ڕازیکردنی دیالۆگەکە, کلیكی کلیلی ESC بۆ هەڵوەشاندنەوەی دیالۆگەکە. بۆ دیالۆگی لەبازدەری (تابی) زیاتر, کلیكی کلیلی ALT + F10 بۆ ڕابەری لیستی بازدەرەکان. بۆ چوونە بازدەری تابی داهاتوو کلیكی کلیلی TAB یان کلیلی تیری دەستی ڕاست. بۆچوونە بازدەری تابی پێشوو داگرتنی کلیلی SHIFT + TAB یان کلیلی تیری دەستی چەپ. کلیی کلیلی SPACE یان ENTER بۆ هه‌ڵبژاردنی بازدەر (تاب)."},
{name:"پێڕستی سەرنووسەر",legend:"کلیك ${contextMenu} یان دوگمەی لیسته‌(Menu) بۆ کردنەوەی لیستەی دەق. بۆ چوونە هەڵبژاردەیەکی تر له‌ لیسته‌ کلیکی کلیلی TAB یان کلیلی تیری ڕوو لەخوارەوه‌ بۆ چوون بۆ هەڵبژاردەی پێشوو کلیکی کلیلی SHIFT+TAB یان کلیلی تیری ڕوو له‌ سەرەوە. داگرتنی کلیلی SPACE یان ENTER بۆ هەڵبژاردنی هەڵبژاردەی لیسته‌. بۆ کردنەوەی لقی ژێر لیسته‌ لەهەڵبژاردەی لیستە کلیکی کلیلی SPACE یان ENTER یان کلیلی تیری دەستی ڕاست. بۆ گەڕانەوه بۆ سەرەوەی لیسته‌ کلیکی کلیلی ESC یان کلیلی تیری دەستی چەپ. بۆ داخستنی لیستە کلیكی کلیلی ESC بکە."},
{name:"لیستی سنووقی سەرنووسەر",legend:"لەناو سنوقی لیست, چۆن بۆ هەڵنبژاردەی لیستێکی تر کلیکی کلیلی TAB یان کلیلی تیری ڕوو لەخوار. چوون بۆ هەڵبژاردەی لیستی پێشوو کلیکی کلیلی SHIFT + TAB یان کلیلی تیری ڕوو لەسەرەوه‌. کلیکی کلیلی SPACE یان ENTER بۆ دیاریکردنی ‌هەڵبژاردەی لیست. کلیکی کلیلی ESC بۆ داخستنی سنوقی لیست."},{name:"تووڵامرازی توخم",legend:"کلیك ${elementsPathFocus} بۆ ڕابەری تووڵامرازی توخمەکان. چوون بۆ دوگمەی توخمێکی تر کلیکی کلیلی TAB یان کلیلی تیری دەستی ڕاست. چوون بۆ دوگمەی توخمی پێشوو کلیلی SHIFT+TAB یان کلیکی کلیلی تیری دەستی چەپ. داگرتنی کلیلی SPACE یان ENTER بۆ دیاریکردنی توخمەکه‌ لەسەرنووسه."}]},
{name:"فەرمانەکان",items:[{name:"پووچکردنەوەی فەرمان",legend:"کلیك ${undo}"},{name:"هەڵگەڕانەوەی فەرمان",legend:"کلیك ${redo}"},{name:"فەرمانی دەقی قەڵەو",legend:"کلیك ${bold}"},{name:"فەرمانی دەقی لار",legend:"کلیك ${italic}"},{name:"فەرمانی ژێرهێڵ",legend:"کلیك ${underline}"},{name:"فەرمانی به‌ستەر",legend:"کلیك ${link}"},{name:"شاردەنەوەی تووڵامراز",legend:"کلیك ${toolbarCollapse}"},{name:"چوونەناو سەرنجدانی پێشوی فەرمانی بۆشایی",legend:"کلیک ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:"چوونەناو سەرنجدانی داهاتووی فەرمانی بۆشایی",legend:"کلیک ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:"دەستپێگەیشتنی یارمەتی",legend:"کلیك ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",
upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",
f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"چوونەناو سەرنجدانی داهاتووی فەرمانی بۆشایی",legend:"کلیک ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:"دەستپێگەیشتنی یارمەتی",legend:"کلیك ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","lt",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"Bendros savybės",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,6 +1,6 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","lv",{title:"Pieejamības instrukcija",contents:"Palīdzības saturs. Lai aizvērtu ciet šo dialogu nospiediet ESC.",legend:[{name:"Galvenais",items:[{name:"Redaktora rīkjosla",legend:"Nospiediet ${toolbarFocus} lai pārvietotos uz rīkjoslu. Lai pārvietotos uz nākošo vai iepriekšējo rīkjoslas grupu izmantojiet pogu TAB un SHIFT+TAB. Lai pārvietotos uz nākošo vai iepriekšējo rīkjoslas pogu izmantojiet Kreiso vai Labo bultiņu. Nospiediet Atstarpi vai ENTER lai aktivizētu rīkjosla pogu."},
{name:"Redaktora dialoga logs",legend:"Dialoga logā nospiediet pogu TAB lai pārvietotos uz nākošo dialoga loga lauku, nospiediet SHIFT+TAB lai atgrieztos iepriekšējā laukā, nospiediet ENTER lai apstiprinātu dialoga datus, nospiediet ESC lai aizvērtu šo dialogu. Dialogam kuram ir vairākas cilnes, nospiediet ALT+F10 lai pārvietotos uz nepieciešamo cilni. Lai pārvietotos uz nākošo cilni izmantojiet pogu TAB vai Labo bultiņu. Lai pārvietotos uz iepriekšējo cilni nospiediet SHIFT+TAB vai kreiso bultiņu. Nospiediet SPACE vai ENTER lai izvēlētos lapas cilni."},
@ -8,6 +8,4 @@ CKEDITOR.plugins.setLang("a11yhelp","lv",{title:"Pieejamības instrukcija",conte
{name:"Redaktora saraksta lauks",legend:"Saraksta laukā, lai pārvietotos uz nākošo saraksta elementu nospiediet TAB vai pogu Bultiņa uz leju. Lai pārvietotos uz iepriekšējo saraksta elementu nospiediet SHIFT+TAB vai pogu Bultiņa uz augšu. Nospiediet SPACE vai ENTER lai izvēlētos saraksta opcijas. Nospiediet ESC lai aizvērtu saraksta lauku. "},{name:"Redaktora elementa ceļa josla",legend:"Nospiediet ${elementsPathFocus} lai pārvietotos uz elementa ceļa joslu. Lai pārvietotos uz nākošo elementa pogu izmantojiet TAB vai Labo bultiņu. Lai pārvietotos uz iepriekšējo elementa pogu izmantojiet SHIFT + TAB vai Kreiso bultiņu. Nospiediet SPACE vai ENTER lai izvēlētos elementu redaktorā."}]},
{name:"Komandas",items:[{name:"Komanda atcelt darbību",legend:"Nospiediet ${undo}"},{name:"Komanda atkārtot darbību",legend:"Nospiediet ${redo}"},{name:"Treknraksta komanda",legend:"Nospiediet ${bold}"},{name:"Kursīva komanda",legend:"Nospiediet ${italic}"},{name:"Apakšsvītras komanda ",legend:"Nospiediet ${underline}"},{name:"Hipersaites komanda",legend:"Nospiediet ${link}"},{name:"Rīkjoslas aizvēršanas komanda",legend:"Nospiediet ${toolbarCollapse}"},{name:"Piekļūt iepriekšējai fokusa vietas komandai",
legend:"Nospiediet ${accessPreviousSpace} lai piekļūtu tuvākajai nepieejamajai fokusa vietai pirms kursora. Piemēram: diviem blakus esošiem līnijas HR elementiem. Atkārtojiet taustiņu kombināciju lai piekļūtu pie tālākām vietām."},{name:"Piekļūt nākošā fokusa apgabala komandai",legend:"Nospiediet ${accessNextSpace} lai piekļūtu tuvākajai nepieejamajai fokusa vietai pēc kursora. Piemēram: diviem blakus esošiem līnijas HR elementiem. Atkārtojiet taustiņu kombināciju lai piekļūtu pie tālākām vietām."},
{name:"Pieejamības palīdzība",legend:"Nospiediet ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"Pieejamības palīdzība",legend:"Nospiediet ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","mk",{title:"Инструкции за пристапност",contents:"Содржина на делот за помош. За да го затворите овој дијалот притиснете ESC.",legend:[{name:"Општо",items:[{name:"Мени за едиторот",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Дијалот за едиторот",
legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},
{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},
{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",
upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",
f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","mn",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"Ерөнхий",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,12 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","nb",{title:"Instruksjoner for tilgjengelighet",contents:"Innhold for hjelp. Trykk ESC for å lukke denne dialogen.",legend:[{name:"Generelt",items:[{name:"Verktøylinje for editor",legend:"Trykk ${toolbarFocus} for å navigere til verktøylinjen. Flytt til neste og forrige verktøylinjegruppe med TAB og SHIFT-TAB. Flytt til neste og forrige verktøylinjeknapp med HØYRE PILTAST og VENSTRE PILTAST. Trykk MELLOMROM eller ENTER for å aktivere verktøylinjeknappen."},{name:"Dialog for editor",
legend:"Mens du er i en dialog, trykk TAB for å navigere til neste dialogfelt, press SHIFT + TAB for å flytte til forrige felt, trykk ENTER for å akseptere dialogen, trykk ESC for å avbryte dialogen. For dialoger med flere faner, trykk ALT + F10 for å navigere til listen over faner. Gå til neste fane med TAB eller HØYRE PILTAST. Gå til forrige fane med SHIFT + TAB eller VENSTRE PILTAST. Trykk MELLOMROM eller ENTER for å velge fanen."},{name:"Kontekstmeny for editor",legend:"Trykk ${contextMenu} eller MENYKNAPP for å åpne kontekstmeny. Gå til neste alternativ i menyen med TAB eller PILTAST NED. Gå til forrige alternativ med SHIFT+TAB eller PILTAST OPP. Trykk MELLOMROM eller ENTER for å velge menyalternativet. Åpne undermenyen på valgt alternativ med MELLOMROM eller ENTER eller HØYRE PILTAST. Gå tilbake til overordnet menyelement med ESC eller VENSTRE PILTAST. Lukk kontekstmenyen med ESC."},
{name:"Listeboks for editor",legend:"I en listeboks, gå til neste alternativ i listen med TAB eller PILTAST NED. Gå til forrige alternativ i listen med SHIFT + TAB eller PILTAST OPP. Trykk MELLOMROM eller ENTER for å velge alternativet i listen. Trykk ESC for å lukke listeboksen."},{name:"Verktøylinje for elementsti",legend:"Trykk ${elementsPathFocus} for å navigere til verktøylinjen som viser elementsti. Gå til neste elementknapp med TAB eller HØYRE PILTAST. Gå til forrige elementknapp med SHIFT+TAB eller VENSTRE PILTAST. Trykk MELLOMROM eller ENTER for å velge elementet i editoren."}]},
{name:"Hurtigtaster",items:[{name:"Angre",legend:"Trykk ${undo}"},{name:"Gjør om",legend:"Trykk ${redo}"},{name:"Fet tekst",legend:"Trykk ${bold}"},{name:"Kursiv tekst",legend:"Trykk ${italic}"},{name:"Understreking",legend:"Trykk ${underline}"},{name:"Lenke",legend:"Trykk ${link}"},{name:"Skjul verktøylinje",legend:"Trykk ${toolbarCollapse}"},{name:"Gå til forrige fokusområde",legend:"Trykk ${accessPreviousSpace} for å komme til nærmeste fokusområde før skrivemarkøren som ikke kan nås på vanlig måte, for eksempel to tilstøtende HR-elementer. Gjenta tastekombinasjonen for å komme til fokusområder lenger unna i dokumentet."},
{name:"Gå til neste fokusområde",legend:"Trykk ${accessNextSpace} for å komme til nærmeste fokusområde etter skrivemarkøren som ikke kan nås på vanlig måte, for eksempel to tilstøtende HR-elementer. Gjenta tastekombinasjonen for å komme til fokusområder lenger unna i dokumentet."},{name:"Hjelp for tilgjengelighet",legend:"Trykk ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tabulator",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",
pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Venstre piltast",upArrow:"Opp-piltast",rightArrow:"Høyre piltast",downArrow:"Ned-piltast",insert:"Insert","delete":"Delete",leftWindowKey:"Venstre Windows-tast",rightWindowKey:"Høyre Windows-tast",selectKey:"Select key",numpad0:"Numerisk tastatur 0",numpad1:"Numerisk tastatur 1",numpad2:"Numerisk tastatur 2",numpad3:"Numerisk tastatur 3",numpad4:"Numerisk tastatur 4",numpad5:"Numerisk tastatur 5",numpad6:"Numerisk tastatur 6",numpad7:"Numerisk tastatur 7",
numpad8:"Numerisk tastatur 8",numpad9:"Numerisk tastatur 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semikolon",equalSign:"Likhetstegn",comma:"Komma",dash:"Bindestrek",period:"Punktum",forwardSlash:"Forover skråstrek",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Bakover skråstrek",
closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"Gå til neste fokusområde",legend:"Trykk ${accessNextSpace} for å komme til nærmeste fokusområde etter skrivemarkøren som ikke kan nås på vanlig måte, for eksempel to tilstøtende HR-elementer. Gjenta tastekombinasjonen for å komme til fokusområder lenger unna i dokumentet."},{name:"Hjelp for tilgjengelighet",legend:"Trykk ${a11yHelp}"}]}]});

View File

@ -1,12 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","nl",{title:"Toegankelijkheidsinstructies",contents:"Help-inhoud. Druk op ESC om dit dialoog te sluiten.",legend:[{name:"Algemeen",items:[{name:"Werkbalk tekstverwerker",legend:"Druk op ${toolbarFocus} om naar de werkbalk te navigeren. Om te schakelen naar de volgende en vorige werkbalkgroep, gebruik TAB en SHIFT+TAB. Om te schakelen naar de volgende en vorige werkbalkknop, gebruik de PIJL RECHTS en PIJL LINKS. Druk op SPATIE of ENTER om een werkbalkknop te activeren."},
CKEDITOR.plugins.setLang("a11yhelp","nl",{title:"Toegankelijkheidsinstructies",contents:"Help inhoud. Druk op ESC om dit dialoog te sluiten.",legend:[{name:"Algemeen",items:[{name:"Werkbalk tekstverwerker",legend:"Druk op ${toolbarFocus} om naar de werkbalk te navigeren. Om te schakelen naar de volgende en vorige werkbalkgroep, gebruik TAB en SHIFT+TAB. Om te schakelen naar de volgende en vorige werkbalkknop, gebruik de PIJL RECHTS en PIJL LINKS. Druk op SPATIE of ENTER om een werkbalkknop te activeren."},
{name:"Dialoog tekstverwerker",legend:"In een dialoogvenster, druk op TAB om te navigeren naar het volgende veld. Druk op SHIFT+TAB om naar het vorige veld te navigeren. Druk op ENTER om het dialoogvenster te verzenden. Druk op ESC om het dialoogvenster te sluiten. Voor dialoogvensters met meerdere tabbladen, druk op ALT+F10 om naar de tabset te navigeren. Schakel naar het volgende tabblad met TAB of PIJL RECHTS. Schakel naar het vorige tabblad met SHIFT+TAB of PIJL LINKS. Druk op SPATIE of ENTER om het tabblad te selecteren."},
{name:"Contextmenu tekstverwerker",legend:"Druk op ${contextMenu} of APPLICATION KEY om het contextmenu te openen. Schakel naar de volgende menuoptie met TAB of PIJL OMLAAG. Schakel naar de vorige menuoptie met SHIFT+TAB of PIJL OMHOOG. Druk op SPATIE of ENTER om een menuoptie te selecteren. Op een submenu van de huidige optie met SPATIE, ENTER of PIJL RECHTS. Ga terug naar de bovenliggende menuoptie met ESC of PIJL LINKS. Sluit het contextmenu met ESC."},{name:"Keuzelijst tekstverwerker",legend:"In een keuzelijst, schakel naar het volgende item met TAB of PIJL OMLAAG. Schakel naar het vorige item met SHIFT+TAB of PIJL OMHOOG. Druk op SPATIE of ENTER om het item te selecteren. Druk op ESC om de keuzelijst te sluiten."},
{name:"Elementenpad werkbalk tekstverwerker",legend:"Druk op ${elementsPathFocus} om naar het elementenpad te navigeren. Om te schakelen naar het volgende element, gebruik TAB of PIJL RECHTS. Om te schakelen naar het vorige element, gebruik SHIFT+TAB or PIJL LINKS. Druk op SPATIE of ENTER om een element te selecteren in de tekstverwerker."}]},{name:"Opdrachten",items:[{name:"Ongedaan maken opdracht",legend:"Druk op ${undo}"},{name:"Opnieuw uitvoeren opdracht",legend:"Druk op ${redo}"},{name:"Vetgedrukt opdracht",
legend:"Druk op ${bold}"},{name:"Cursief opdracht",legend:"Druk op ${italic}"},{name:"Onderstrepen opdracht",legend:"Druk op ${underline}"},{name:"Link opdracht",legend:"Druk op ${link}"},{name:"Werkbalk inklappen opdracht",legend:"Druk op ${toolbarCollapse}"},{name:"Ga naar vorige focus spatie commando",legend:"Druk ${accessPreviousSpace} om toegang te verkrijgen tot de dichtstbijzijnde onbereikbare focus spatie voor de caret, bijvoorbeeld: twee aangrenzende HR elementen. Herhaal de toetscombinatie om de verste focus spatie te bereiken."},
{name:"Ga naar volgende focus spatie commando",legend:"Druk ${accessNextSpace} om toegang te verkrijgen tot de dichtstbijzijnde onbereikbare focus spatie na de caret, bijvoorbeeld: twee aangrenzende HR elementen. Herhaal de toetscombinatie om de verste focus spatie te bereiken."},{name:"Toegankelijkheidshulp",legend:"Druk op ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",
end:"End",home:"Home",leftArrow:"Pijl naar links",upArrow:"Pijl omhoog",rightArrow:"Pijl naar rechts",downArrow:"Pijl naar beneden",insert:"Invoegen","delete":"Verwijderen",leftWindowKey:"Linker Windows-toets",rightWindowKey:"Rechter Windows-toets",selectKey:"Selecteer toets",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Vermenigvuldigen",add:"Toevoegen",
subtract:"Aftrekken",decimalPoint:"Decimaalteken",divide:"Delen",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Puntkomma",equalSign:"Is gelijk-teken",comma:"Komma",dash:"Koppelteken",period:"Punt",forwardSlash:"Slash",graveAccent:"Accent grave",openBracket:"Vierkant haakje openen",backSlash:"Backslash",closeBracket:"Vierkant haakje sluiten",singleQuote:"Apostrof"});
legend:"Druk up ${bold}"},{name:"Cursief opdracht",legend:"Druk op ${italic}"},{name:"Onderstrepen opdracht",legend:"Druk op ${underline}"},{name:"Link opdracht",legend:"Druk op ${link}"},{name:"Werkbalk inklappen opdracht",legend:"Druk op ${toolbarCollapse}"},{name:"Ga naar vorige focus spatie commando",legend:"Druk ${accessPreviousSpace} om toegang te verkrijgen tot de dichtsbijzijnde onbereikbare focus spatie voor de caret, bijvoorbeeld: twee aangrenzende HR elementen. Herhaal de toetscombinatie om de verste focus spatie te bereiken."},
{name:"Ga naar volgende focus spatie commando",legend:"Druk ${accessNextSpace} om toegang te verkrijgen tot de meest dichtbijzijnde onbereikbare focus spatie na de caret, bijvoorbeeld: twee aangrenzende HR elementen. Herhaal de toetscombinatie om de verste focus spatie te bereiken."},{name:"Toegankelijkheidshulp",legend:"Druk op ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","no",{title:"Instruksjoner for tilgjengelighet",contents:"Innhold for hjelp. Trykk ESC for å lukke denne dialogen.",legend:[{name:"Generelt",items:[{name:"Verktøylinje for editor",legend:"Trykk ${toolbarFocus} for å navigere til verktøylinjen. Flytt til neste og forrige verktøylinjegruppe med TAB og SHIFT-TAB. Flytt til neste og forrige verktøylinjeknapp med HØYRE PILTAST og VENSTRE PILTAST. Trykk MELLOMROM eller ENTER for å aktivere verktøylinjeknappen."},{name:"Dialog for editor",
legend:"Mens du er i en dialog, trykk TAB for å navigere til neste dialogfelt, press SHIFT + TAB for å flytte til forrige felt, trykk ENTER for å akseptere dialogen, trykk ESC for å avbryte dialogen. For dialoger med flere faner, trykk ALT + F10 for å navigere til listen over faner. Gå til neste fane med TAB eller HØYRE PILTAST. Gå til forrige fane med SHIFT + TAB eller VENSTRE PILTAST. Trykk MELLOMROM eller ENTER for å velge fanen."},{name:"Kontekstmeny for editor",legend:"Trykk ${contextMenu} eller MENYKNAPP for å åpne kontekstmeny. Gå til neste alternativ i menyen med TAB eller PILTAST NED. Gå til forrige alternativ med SHIFT+TAB eller PILTAST OPP. Trykk MELLOMROM eller ENTER for å velge menyalternativet. Åpne undermenyen på valgt alternativ med MELLOMROM eller ENTER eller HØYRE PILTAST. Gå tilbake til overordnet menyelement med ESC eller VENSTRE PILTAST. Lukk kontekstmenyen med ESC."},
{name:"Listeboks for editor",legend:"I en listeboks, gå til neste alternativ i listen med TAB eller PILTAST NED. Gå til forrige alternativ i listen med SHIFT + TAB eller PILTAST OPP. Trykk MELLOMROM eller ENTER for å velge alternativet i listen. Trykk ESC for å lukke listeboksen."},{name:"Verktøylinje for elementsti",legend:"Trykk ${elementsPathFocus} for å navigere til verktøylinjen som viser elementsti. Gå til neste elementknapp med TAB eller HØYRE PILTAST. Gå til forrige elementknapp med SHIFT+TAB eller VENSTRE PILTAST. Trykk MELLOMROM eller ENTER for å velge elementet i editoren."}]},
{name:"Kommandoer",items:[{name:"Angre",legend:"Trykk ${undo}"},{name:"Gjør om",legend:"Trykk ${redo}"},{name:"Fet tekst",legend:"Trykk ${bold}"},{name:"Kursiv tekst",legend:"Trykk ${italic}"},{name:"Understreking",legend:"Trykk ${underline}"},{name:"Link",legend:"Trykk ${link}"},{name:"Skjul verktøylinje",legend:"Trykk ${toolbarCollapse}"},{name:"Gå til forrige fokusområde",legend:"Trykk ${accessPreviousSpace} for å komme til nærmeste fokusområde før skrivemarkøren som ikke kan nås på vanlig måte, for eksempel to tilstøtende HR-elementer. Gjenta tastekombinasjonen for å komme til fokusområder lenger unna i dokumentet."},
{name:"Gå til neste fokusområde",legend:"Trykk ${accessNextSpace} for å komme til nærmeste fokusområde etter skrivemarkøren som ikke kan nås på vanlig måte, for eksempel to tilstøtende HR-elementer. Gjenta tastekombinasjonen for å komme til fokusområder lenger unna i dokumentet."},{name:"Hjelp for tilgjengelighet",legend:"Trykk ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",
end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",
divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"Gå til neste fokusområde",legend:"Trykk ${accessNextSpace} for å komme til nærmeste fokusområde etter skrivemarkøren som ikke kan nås på vanlig måte, for eksempel to tilstøtende HR-elementer. Gjenta tastekombinasjonen for å komme til fokusområder lenger unna i dokumentet."},{name:"Hjelp for tilgjengelighet",legend:"Trykk ${a11yHelp}"}]}]});

View File

@ -1,13 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","pl",{title:"Instrukcje dotyczące dostępności",contents:"Zawartość pomocy. Wciśnij ESC, aby zamknąć to okno.",legend:[{name:"Informacje ogólne",items:[{name:"Pasek narzędzi edytora",legend:"Wciśnij ${toolbarFocus} aby przejść do paska narzędzi. Przejdź do następnej i poprzedniej grupy narzędzi używając TAB oraz SHIFT-TAB. Przejdź do następnego i poprzedniego narzędzia używając STRZAŁKI W PRAWO lub STRZAŁKI W LEWO. Wciśnij SPACJĘ lub ENTER, aby aktywować zaznaczone narzędzie."},
{name:"Okno dialogowe edytora",legend:"Będąc w oknie dialogowym wciśnij TAB aby przejść do następnego pola dialogowego, wciśnij SHIFT + TAB aby przejść do poprzedniego pola, wciśnij ENTER aby wysłać dialog, wciśnij ESC aby anulować dialog. Dla okien dialogowych z wieloma zakładkami, wciśnij ALT + F10 aby przejść do listy zakładek. Gdy to zrobisz przejdź do następnej zakładki wciskając TAB lub STRZAŁKĘ W PRAWO. Przejdź do poprzedniej zakładki wciskając SHIFT + TAB lub STRZAŁKĘ W LEWO. Wciśnij SPACJĘ lub ENTER aby wybrać zakładkę."},
{name:"Menu kontekstowe edytora",legend:"Wciśnij ${contextMenu} lub PRZYCISK APLIKACJI aby otworzyć menu kontekstowe. Przejdź do następnej pozycji menu wciskając TAB lub STRZAŁKĘ W DÓŁ. Przejdź do poprzedniej pozycji menu wciskając SHIFT + TAB lub STRZAŁKĘ W GÓRĘ. Wciśnij SPACJĘ lub ENTER aby wygrać pozycję menu. Otwórz pod-menu obecnej pozycji wciskając SPACJĘ lub ENTER lub STRZAŁKĘ W PRAWO. Wróć do pozycji nadrzędnego menu wciskając ESC lub STRZAŁKĘ W LEWO. Zamknij menu wciskając ESC."},{name:"Lista w edytorze",
legend:"W polu listy możesz przechodzić do następnego elementu za pomocą klawisza TAB lub STRZAŁKI W DÓŁ. Poprzedni element osiągniesz za pomocą SHIFT+TAB lub STRZAŁKI W GÓRĘ. Za pomocą SPACJI lub ENTERA wybierzesz daną opcję z listy, a za pomocą klawisza ESC opuścisz listę."},{name:"Pasek ścieżki elementów edytora",legend:"Naciśnij ${elementsPathFocus} w celu przejścia do paska ścieżki elementów edytora. W celu przejścia do kolejnego elementu naciśnij klawisz Tab lub Strzałki w prawo. W celu przejścia do poprzedniego elementu naciśnij klawisze Shift+Tab lub Strzałki w lewo. By wybrać element w edytorze, użyj klawisza Spacji lub Enter."}]},
legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},{name:"Pasek ścieżki elementów edytora",legend:"Naciśnij ${elementsPathFocus} w celu przejścia do paska ścieżki elementów edytora. W celu przejścia do kolejnego elementu naciśnij klawisz Tab lub Strzałki w prawo. W celu przejścia do poprzedniego elementu naciśnij klawisze Shift+Tab lub Strzałki w lewo. By wybrać element w edytorze, użyj klawisza Spacji lub Enter."}]},
{name:"Polecenia",items:[{name:"Polecenie Cofnij",legend:"Naciśnij ${undo}"},{name:"Polecenie Ponów",legend:"Naciśnij ${redo}"},{name:"Polecenie Pogrubienie",legend:"Naciśnij ${bold}"},{name:"Polecenie Kursywa",legend:"Naciśnij ${italic}"},{name:"Polecenie Podkreślenie",legend:"Naciśnij ${underline}"},{name:"Polecenie Wstaw/ edytuj odnośnik",legend:"Naciśnij ${link}"},{name:"Polecenie schowaj pasek narzędzi",legend:"Naciśnij ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:"Pomoc dotycząca dostępności",legend:"Naciśnij ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Strzałka w lewo",
upArrow:"Strzałka w górę",rightArrow:"Strzałka w prawo",downArrow:"Strzałka w dół",insert:"Insert","delete":"Delete",leftWindowKey:"Lewy klawisz Windows",rightWindowKey:"Prawy klawisz Windows",selectKey:"Klawisz wyboru",numpad0:"Klawisz 0 na klawiaturze numerycznej",numpad1:"Klawisz 1 na klawiaturze numerycznej",numpad2:"Klawisz 2 na klawiaturze numerycznej",numpad3:"Klawisz 3 na klawiaturze numerycznej",numpad4:"Klawisz 4 na klawiaturze numerycznej",numpad5:"Klawisz 5 na klawiaturze numerycznej",
numpad6:"Klawisz 6 na klawiaturze numerycznej",numpad7:"Klawisz 7 na klawiaturze numerycznej",numpad8:"Klawisz 8 na klawiaturze numerycznej",numpad9:"Klawisz 9 na klawiaturze numerycznej",multiply:"Multiply",add:"Plus",subtract:"Minus",decimalPoint:"Separator dziesiętny",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Średnik",equalSign:"Equal Sign",comma:"Przecinek",dash:"Dash",
period:"Kropka",forwardSlash:"Ukośnik prawy",graveAccent:"Grave Accent",openBracket:"Nawias kwadratowy otwierający",backSlash:"Ukośnik lewy",closeBracket:"Nawias kwadratowy zamykający",singleQuote:"Apostrof"});
{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:"Pomoc dotycząca dostępności",legend:"Naciśnij ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","pt-br",{title:"Instruções de Acessibilidade",contents:"Conteúdo da Ajuda. Para fechar este diálogo pressione ESC.",legend:[{name:"Geral",items:[{name:"Barra de Ferramentas do Editor",legend:"Pressione ${toolbarFocus} para navegar para a barra de ferramentas. Mova para o anterior ou próximo grupo de ferramentas com TAB e SHIFT-TAB. Mova para o anterior ou próximo botão com SETA PARA DIREITA or SETA PARA ESQUERDA. Pressione ESPAÇO ou ENTER para ativar o botão da barra de ferramentas."},
{name:"Diálogo do Editor",legend:"Dentro de um diálogo, pressione TAB para navegar para o próximo campo, pressione SHIFT + TAB para mover para o campo anterior, pressione ENTER para enviar o diálogo, pressione ESC para cancelar o diálogo. Para diálogos que tem múltiplas abas, pressione ALT + F10 para navegar para a lista de abas, então mova para a próxima aba com SHIFT + TAB ou SETA PARA ESQUERDA. Pressione ESPAÇO ou ENTER para selecionar a aba."},{name:"Menu de Contexto do Editor",legend:"Pressione ${contextMenu} ou TECLA DE MENU para abrir o menu de contexto, então mova para a próxima opção com TAB ou SETA PARA BAIXO. Mova para a anterior com SHIFT+TAB ou SETA PARA CIMA. Pressione ESPAÇO ou ENTER para selecionar a opção do menu. Abra o submenu da opção atual com ESPAÇO ou ENTER ou SETA PARA DIREITA. Volte para o menu pai com ESC ou SETA PARA ESQUERDA. Feche o menu de contexto com ESC."},
{name:"Caixa de Lista do Editor",legend:"Dentro de uma caixa de lista, mova para o próximo item com TAB ou SETA PARA BAIXO. Mova para o item anterior com SHIFT + TAB ou SETA PARA CIMA. Pressione ESPAÇO ou ENTER para selecionar uma opção na lista. Pressione ESC para fechar a caixa de lista."},{name:"Barra de Caminho do Elementos do Editor",legend:"Pressione ${elementsPathFocus} para a barra de caminho dos elementos. Mova para o próximo botão de elemento com TAB ou SETA PARA DIREITA. Mova para o botão anterior com SHIFT+TAB ou SETA PARA ESQUERDA. Pressione ESPAÇO ou ENTER para selecionar o elemento no editor."}]},
{name:"Comandos",items:[{name:" Comando Desfazer",legend:"Pressione ${undo}"},{name:" Comando Refazer",legend:"Pressione ${redo}"},{name:" Comando Negrito",legend:"Pressione ${bold}"},{name:" Comando Itálico",legend:"Pressione ${italic}"},{name:" Comando Sublinhado",legend:"Pressione ${underline}"},{name:" Comando Link",legend:"Pressione ${link}"},{name:" Comando Fechar Barra de Ferramentas",legend:"Pressione ${toolbarCollapse}"},{name:"Acessar o comando anterior de spaço de foco",legend:"Pressione ${accessNextSpace} para acessar o espaço de foco não alcançável mais próximo antes do cursor, por exemplo: dois elementos HR adjacentes. Repita a combinação de teclas para alcançar espaços de foco distantes."},
{name:"Acessar próximo fomando de spaço de foco",legend:"Pressione ${accessNextSpace} para acessar o espaço de foco não alcançável mais próximo após o cursor, por exemplo: dois elementos HR adjacentes. Repita a combinação de teclas para alcançar espaços de foco distantes."},{name:" Ajuda de Acessibilidade",legend:"Pressione ${a11yHelp}"}]}],backspace:"Tecla Backspace",tab:"Tecla Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",
pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",
divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"Comandos",items:[{name:" Comando Desfazer",legend:"Pressione ${undo}"},{name:" Comando Refazer",legend:"Pressione ${redo}"},{name:" Comando Negrito",legend:"Pressione ${bold}"},{name:" Comando Itálico",legend:"Pressione ${italic}"},{name:" Comando Sublinhado",legend:"Pressione ${underline}"},{name:" Comando Link",legend:"Pressione ${link}"},{name:" Comando Fechar Barra de Ferramentas",legend:"Pressione ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:"Acessar próximo fomando de spaço de foco",legend:"Pressione ${accessNextSpace} para acessar o espaço de foco não alcançável mais próximo após o cursor, por exemplo: dois elementos HR adjacentes. Repita a combinação de teclas para alcançar espaços de foco distantes."},{name:" Ajuda de Acessibilidade",legend:"Pressione ${a11yHelp}"}]}]});

View File

@ -1,12 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","pt",{title:"Instruções de Acessibilidade",contents:"Conteúdos da Ajuda. Pressione em 'ESC' para fechar esta janela.",legend:[{name:"Geral",items:[{name:"Barra de Ferramentas do Editor",legend:"Clique em ${toolbarFocus} para navegar para a barra de ferramentas. Vá para o grupo da barra de ferramentas anterior e seguinte com TAB e SHIFT+TAB. Vá para o botão da barra de ferramentas anterior com a SETA DIREITA ou ESQUERDA. Pressione ESPAÇO ou ENTER para ativar o botão da barra de ferramentas."},
{name:"Janela do Editor",legend:"Dentro de uma janela, pressione TAB para navigar para o campo da janela seguinte, pressione SHIFT + TAB para mover para o campo anterior, pressione ENTER para submeter a janela, pressione ESC para cancelar a janela. Para as janelas que têm múltiplos páginas com separadores, pressione ALT + F10 para navegar para a lista do separador. Depois mova para o seguinte separador com TAB ou SETA DIREITA. Mover para o separador anterior com SHIFT + TAB ou SETA ESQUERDA. Pressione ESPAÇO ou ENTER para selecionar o separador da página."},
{name:"Menu de Contexto do Editor",legend:"Clique em ${contextMenu} ou TECLA APLICAÇÃO para abrir o menu de contexto. Depois vá para a opção do menu seguinte com TAB ou SETA PARA BAIXO. Vá para a opção anterior com SHIFT+TAB ou SETA PARA CIMA. Pressione ESPAÇO ou ENTER para selecionar a opção do menu. Abra o submenu da opção atual com ESPAÇO, ENTER ou SETA DIREITA. GVá para o item do menu parente com ESC ou SETA ESQUERDA. Feche o menu de contexto com ESC."},{name:"Caixa Lista Editor",legend:"Dentro da caixa da lista, vá para o itemda lista seguinte com TAB ou SETA PARA BAIXO. Move Vá parao item da lista anterior com SHIFT+TAB ou SETA PARA BAIXO. Pressione ESPAÇO ou ENTER para selecionar a opção da lista. Pressione ESC para fechar a caisa da lista."},
{name:"Caminho Barra Elemento Editor",legend:"Clique em ${elementsPathFocus} para navegar para a barra do caminho dos elementos. Vá para o botão do elemento seguinte com TAB ou SETA DIREITA. Vá para o botão anterior com SHIFT+TAB ou SETA ESQUERDA. Pressione ESPAÇO ou ENTER para selecionar o elemento no editor."}]},{name:"Comandos",items:[{name:"Comando de Anular",legend:"Pressione ${undo}"},{name:"Comando de Refazer",legend:"Pressione ${redo}"},{name:"Comando de Negrito",legend:"Pressione ${bold}"},
{name:"Comando de Itálico",legend:"Pressione ${italic}"},{name:"Comando de Sublinhado",legend:"Pressione ${underline}"},{name:"Comando de Hiperligação",legend:"Pressione ${link}"},{name:"Comando de Ocultar Barra de Ferramentas",legend:"Pressione ${toolbarCollapse}"},{name:"Acesso comando do espaço focus anterior",legend:"Clique em ${accessPreviousSpace} para aceder ao espaço do focos inalcançável mais perto antes do sinal de omissão, por exemplo: dois elementos HR adjacentes. Repetir a combinação da chave para alcançar os espaços dos focos distantes."},
{name:"Acesso comando do espaço focus seguinte",legend:"Pressione ${accessNextSpace} para aceder ao espaço do focos inalcançável mais perto depois do sinal de omissão, por exemplo: dois elementos HR adjacentes. Repetir a combinação da chave para alcançar os espaços dos focos distantes."},{name:"Ajuda de Acessibilidade",legend:"Pressione ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",
pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",
divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
CKEDITOR.plugins.setLang("a11yhelp","pt",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"Geral",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,12 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","ro",{title:"Instrucțiuni de accesibilitate",contents:"Cuprins. Pentru a închide acest dialog, apăsați tasta ESC.",legend:[{name:"General",items:[{name:"Editează bara instrumente.",legend:"Apasă ${toolbarFocus} pentru a naviga prin bara de instrumente. Pentru a te mișca prin grupurile de instrumente folosește tastele TAB și SHIFT-TAB. Pentru a te mișca intre diverse instrumente folosește tastele SĂGEATĂ DREAPTA sau SĂGEATĂ STÂNGA. Apasă butonul SPAȚIU sau ENTER pentru activarea instrumentului."},
{name:"Dialog editor",legend:"Într-un dialog, apasă TAB pentru a naviga spre câmpul următor de dialog, apasă SHIFT + TAB pentru a te duce la câmpul anterior, apasă ENTER pentru a trimite dialogul, apasă ESC pentru a anula dialogul. Pentru dialoguri care au mai multe subferestre, apasă ALT + F10 pentr a naviga în lista de subferestre. Treci la subferestrea următoare cu TAB sau SĂGEATĂ DREAPTA. Treci la subfereastra anterioară cu SHIFT + TAB sau SĂGEATĂ STÂNGA. Apasă SPAȚIU sau ENTER pentru a selecta subfereastra."},
{name:"Editor meniu contextual",legend:"Apasă ${contextMenu} sau TASTA MENIU pentru a deschide meniul contextual. Treci la următoarea opțiune din meniu cu TAB sau SĂGEATĂ JOS. Treci la opțiunea anterioară cu SHIFT+TAB sau SĂGEATĂ SUS. Apasă SPAȚIU sau ENTER pentru a selecta opțiunea din meniu. Deschide sub-meniul opțiunii curente cu SPAȚIU sau ENTER sau SĂGEATĂ DREAPTA. Revino la elementul din meniul părinte cu ESC sau SĂGEATĂ STÂNGA. Închide meniul de context cu ESC."},{name:"Editor Casetă Listă",
legend:"În interiorul unei liste, treci la următorull element cu TAB sau SĂGEATĂ JOS. Treci la elementul anterior din listă cu SHIFT + TAB sau SĂGEATĂ SUS. Apasă SPAȚIU sau ENTER pentru a selecta opțiunea din listă. Apasă ESC pentru a închide lista."},{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},
{name:"Comenzi",items:[{name:" Undo command",legend:"Apasă ${undo}"},{name:"Comanda precedentă",legend:"Apasă ${redo}"},{name:"Comanda Îngroșat",legend:"Apasă ${bold}"},{name:"Comanda Inclinat",legend:"Apasă ${italic}"},{name:"Comanda Subliniere",legend:"Apasă ${underline}"},{name:"Comanda Legatură",legend:"Apasă ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",
upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",
f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
CKEDITOR.plugins.setLang("a11yhelp","ro",{title:"Instrucțiuni de accesibilitate",contents:"Cuprins. Pentru a închide acest dialog, apăsați tasta ESC.",legend:[{name:"General",items:[{name:"Editează bara.",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Dialog editor",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor meniu contextual",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","ru",{title:"Горячие клавиши",contents:"Помощь. Для закрытия этого окна нажмите ESC.",legend:[{name:"Основное",items:[{name:"Панель инструментов",legend:"Нажмите ${toolbarFocus} для перехода к панели инструментов. Для перемещения между группами панели инструментов используйте TAB и SHIFT-TAB. Для перемещения между кнопками панели иструментов используйте кнопки ВПРАВО или ВЛЕВО. Нажмите ПРОБЕЛ или ENTER для запуска кнопки панели инструментов."},{name:"Диалоги",legend:"В диалоговом окне, нажмите клавишу TAB для перехода к следующему диалоговому полю, нажмите клавиши SHIFT + TAB, чтобы перейти к предыдущему полю, нажмите ENTER, чтобы отправить данные, нажмите клавишу ESC, для отмены. Для окон, которые имеют несколько вкладок, нажмите ALT + F10 для перехода к списку вкладок. Переход к следующей вкладке TAB ИЛИ ПРАВУЮ СТРЕЛКУ. Переход к предыдущей вкладке с помощью SHIFT + TAB или ЛЕВАЯ СТРЕЛКА. Нажмите ПРОБЕЛ или ENTER, чтобы выбрать вкладку."},
{name:"Контекстное меню",legend:'Нажмите ${contextMenu} или клавишу APPLICATION, чтобы открыть контекстное меню. Затем перейдите к следующему пункту меню с помощью TAB или стрелкой "ВНИЗ". Переход к предыдущей опции - SHIFT+TAB или стрелкой "ВВЕРХ". Нажмите SPACE, или ENTER, чтобы задействовать опцию меню. Открыть подменю текущей опции - SPACE или ENTER или стрелкой "ВПРАВО". Возврат к родительскому пункту меню - ESC или стрелкой "ВЛЕВО". Закрытие контекстного меню - ESC.'},{name:"Редактор списка",
legend:'Внутри окна списка, переход к следующему пункту списка - TAB или стрелкой "ВНИЗ". Переход к предыдущему пункту списка - SHIFT + TAB или стрелкой "ВВЕРХ". Нажмите SPACE, или ENTER, чтобы задействовать опцию списка. Нажмите ESC, чтобы закрыть окно списка.'},{name:"Путь к элементу",legend:'Нажмите ${elementsPathFocus}, чтобы перейти к панели пути элементов. Переход к следующей кнопке элемента - TAB или стрелкой "ВПРАВО". Переход к предыдущей кнопку - SHIFT+TAB или стрелкой "ВЛЕВО". Нажмите SPACE, или ENTER, чтобы выбрать элемент в редакторе.'}]},
{name:"Команды",items:[{name:"Отменить",legend:"Нажмите ${undo}"},{name:"Повторить",legend:"Нажмите ${redo}"},{name:"Полужирный",legend:"Нажмите ${bold}"},{name:"Курсив",legend:"Нажмите ${italic}"},{name:"Подчеркнутый",legend:"Нажмите ${underline}"},{name:"Гиперссылка",legend:"Нажмите ${link}"},{name:"Свернуть панель инструментов",legend:"Нажмите ${toolbarCollapse}"},{name:"Команды доступа к предыдущему фокусному пространству",legend:'Нажмите ${accessPreviousSpace}, чтобы обратиться к ближайшему недостижимому фокусному пространству перед символом "^", например: два смежных HR элемента. Повторите комбинацию клавиш, чтобы достичь отдаленных фокусных пространств.'},
{name:"Команды доступа к следующему фокусному пространству",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:"Справка по горячим клавишам",legend:"Нажмите ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",
home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",
f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"Контекстное меню",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Редактор списка",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Путь к элементу",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Команды",items:[{name:"Отменить",legend:"Нажмите ${undo}"},{name:"Повторить",legend:"Нажмите ${redo}"},{name:"Полужирный",legend:"Нажмите ${bold}"},{name:"Курсив",legend:"Нажмите ${italic}"},{name:"Подчеркнутый",legend:"Нажмите ${underline}"},
{name:"Гиперссылка",legend:"Нажмите ${link}"},{name:"Свернуть панель инструментов",legend:"Нажмите ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:"Справка по горячим клавишам",legend:"Нажмите ${a11yHelp}"}]}]});

View File

@ -1,10 +1,8 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","si",{title:"ළඟා වියහැකි ",contents:"උදව් සඳහා අන්තර්ගතය.නික්මයෙමට ESC බොත්තම ඔබන්න",legend:[{name:"පොදු කරුණු",items:[{name:"සංස්කරණ මෙවලම් ",legend:"ඔබන්න ${මෙවලම් තීරු අවධානය} මෙවලම් තීරුවේ එහා මෙහා යෑමට.ඉදිරියට යෑමට හා ආපසු යෑමට මෙවලම් තීරුකාණ්ඩය හා TAB හා SHIFT-TAB .ඉදිරියට යෑමට හා ආපසු යෑමට මෙවලම් තීරු බොත්තම සමග RIGHT ARROW හෝ LEFT ARROW.මෙවලම් තීරු බොත්තම සක්‍රිය කර ගැනීමට SPACE හෝ ENTER බොත්තම ඔබන්න."},{name:"සංස්කරණ ",legend:"දෙබසක් තුළ, ඊළඟ දෙබස් පෙදෙසට යෑමට TAB බොත්තම ඔබන්න, කලින් පෙදෙසට යෑමට SHIFT + TAB බොත්තම ද, දෙබස් ඉදිරිපත් කිරීමට ENTER බොත්තම ද, දෙබස් නැවතීමට ESCබොත්තම ද, දෙබස් සහිත ගොනු, පිටු වැඩි සංක්‍යයාවක් ලබා ගෙනිමට,ගොනු තුළ එහාමෙහා යෑමට ALT + F10 බොත්තම් ද, ඊළඟ ගොනුවට යෑමට TAB හෝ RIGTH ARROW බොත්තම ඔබන්න. පෙර ගොනුවට යෑමට SHIFT + TAB හෝ LEFT ARROW බොත්තම් ද ,ගොනු පිටු තේරීමට SPACE හෝ ENTER බොත්තම් ද ඔබන්න."},
{name:"සංස්කරණ අඩංගුවට ",legend:"ඔබන්න ${අන්තර්ගත මෙනුව} හෝ APPLICATION KEY අන්තර්ගත-මෙනුව විවුරතකිරීමට. ඊළඟ මෙනුව-ව්කල්පයන්ට යෑමට TAB හෝ DOWN ARROW බොත්තම ද, පෙර විකල්පයන්ටයෑමට SHIFT+TAB හෝ UP ARROW බොත්තම ද, මෙනුව-ව්කල්පයන් තේරීමට SPACE හෝ ENTER බොත්තම ද, දැනට විවුර්තව ඇති උප-මෙනුවක වීකල්ප තේරීමට SPACE හෝ ENTER හෝ RIGHT ARROW ද, නැවත පෙර ප්‍රධාන මෙනුවට යෑමට ESC හෝ LEFT ARROW බොත්තම ද. අන්තර්ගත-මෙනුව වැසීමට ESC බොත්තම ද ඔබන්න."},{name:"සංස්කරණ තේරුම් ",legend:"තේරුම් කොටුව තුළ , ඊළඟ අයිතමයට යෑමට TAB හෝ DOWN ARROW , පෙර අයිතමයට යෑමට SHIFT + TAB හෝ UP ARROW . අයිතම විකල්පයන් තේරීමට SPACE හෝ ENTER ,තේරුම් කොටුව වැසීමට ESC බොත්තම් ද ඔබන්න."},
{name:"සංස්කරණ අංග සහිත ",legend:"ඔබන්න ${මෙවලම් තීරු අවධානය} මෙවලම් තීරුවේ එහා මෙහා යෑමට.ඉදිරියට යෑමට හා ආපසු යෑමට මෙවලම් තීරුකාණ්ඩය හා TAB හා SHIFT-TAB .ඉදිරියට යෑමට හා ආපසු යෑමට මෙවලම් තීරු බොත්තම සමග RIGHT ARROW හෝ LEFT ARROW.මෙවලම් තීරු බොත්තම සක්‍රිය කර ගැනීමට SPACE හෝ ENTER බොත්තම ඔබන්න."}]},{name:"විධාන",items:[{name:"විධානය වෙනස් ",legend:"ඔබන්න ${වෙනස් කිරීම}"},{name:"විධාන නැවත් පෙර පරිදිම වෙනස්කර ගැනීම.",legend:"ඔබන්න ${නැවත් පෙර පරිදිම වෙනස්කර ගැනීම}"},{name:"තද අකුරින් විධාන",legend:"ඔබන්න ${තද }"},
{name:"බැධී අකුරු විධාන",legend:"ඔබන්න ${බැධී අකුරු }"},{name:"යටින් ඉරි ඇද ඇති විධාන.",legend:"ඔබන්න ${යටින් ඉරි ඇද ඇති}"},{name:"සම්බන්ධිත විධාන",legend:"ඔබන්න ${සම්බන්ධ }"},{name:"මෙවලම් තීරු හැකුලුම් විධාන",legend:"ඔබන්න ${මෙවලම් තීරු හැකුලුම් }"},{name:"යොමුවීමට පෙර වැදගත් විධාන",legend:"ඔබන්න ${යොමුවීමට ඊළඟ }"},{name:"යොමුවීමට ඊළග වැදගත් විධාන",legend:"ඔබන්න ${යොමුවීමට ඊළඟ }"},{name:"ප්‍රවේශ ",legend:"ඔබන්න ${a11y }"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",
alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",
numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"බැධී අකුරු විධාන",legend:"ඔබන්න ${බැධී අකුරු }"},{name:"යටින් ඉරි ඇද ඇති විධාන.",legend:"ඔබන්න ${යටින් ඉරි ඇද ඇති}"},{name:"සම්බන්ධිත විධාන",legend:"ඔබන්න ${සම්බන්ධ }"},{name:"මෙවලම් තීරු හැකුලුම් විධාන",legend:"ඔබන්න ${මෙවලම් තීරු හැකුලුම් }"},{name:"යොමුවීමට පෙර වැදගත් විධාන",legend:"ඔබන්න ${යොමුවීමට ඊළඟ }"},{name:"යොමුවීමට ඊළග වැදගත් විධාන",legend:"ඔබන්න ${යොමුවීමට ඊළඟ }"},{name:"ප්‍රවේශ ",legend:"ඔබන්න ${a11y }"}]}]});

View File

@ -1,12 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","sk",{title:"Inštrukcie prístupnosti",contents:"Pomocný obsah. Pre zatvorenie tohto okna, stlačte ESC.",legend:[{name:"Všeobecne",items:[{name:"Lišta nástrojov editora",legend:"Stlačte ${toolbarFocus} pre navigáciu na lištu nástrojov. Medzi ďalšou a predchádzajúcou lištou nástrojov sa pohybujete s TAB a SHIFT-TAB. Medzi ďalším a predchádzajúcim tlačidlom na lište nástrojov sa pohybujete s pravou šípkou a ľavou šípkou. Stlačte medzerník alebo ENTER pre aktiváciu tlačidla lišty nástrojov."},
{name:"Editorový dialóg",legend:"V dialogu, stlačte TAB pre navigáciu na ďalšie dialógové pole, stlačte STIFT + TAB pre presun na predchádzajúce pole, stlačte ENTER pre odoslanie dialógu, stlačte ESC pre zrušenie dialógu. Pre dialógy, ktoré majú viac záložiek, stlačte ALT + F10 pre navigácou do zoznamu záložiek. Potom sa posúvajte k ďalšej žáložke pomocou TAB alebo pravou šípkou. Pre presun k predchádzajúcej záložke, stlačte SHIFT + TAB alebo ľavú šípku. Stlačte medzerník alebo ENTER pre vybranie záložky."},
{name:"Editorové kontextové menu",legend:"Stlačte ${contextMenu} alebo APPLICATION KEY pre otvorenie kontextového menu. Potom sa presúvajte na ďalšie možnosti menu s TAB alebo dolnou šípkou. Presunte sa k predchádzajúcej možnosti s SHIFT + TAB alebo hornou šípkou. Stlačte medzerník alebo ENTER pre výber možnosti menu. Otvorte pod-menu danej možnosti s medzerníkom, alebo ENTER, alebo pravou šípkou. Vráťte sa späť do položky rodičovského menu s ESC alebo ľavou šípkou. Zatvorte kontextové menu s ESC."},
{name:"Editorov box zoznamu",legend:"V boxe zoznamu, presuňte sa na ďalšiu položku v zozname s TAB alebo dolnou šípkou. Presuňte sa k predchádzajúcej položke v zozname so SHIFT + TAB alebo hornou šípkou. Stlačte medzerník alebo ENTER pre výber možnosti zoznamu. Stlačte ESC pre zatvorenie boxu zoznamu."},{name:"Editorove pásmo cesty prvku",legend:"Stlačte ${elementsPathFocus} pre navigovanie na pásmo cesty elementu. Presuňte sa na tlačidlo ďalšieho prvku s TAB alebo pravou šípkou. Presuňte sa k predchádzajúcemu tlačidlu s SHIFT + TAB alebo ľavou šípkou. Stlačte medzerník alebo ENTER pre výber prvku v editore."}]},
{name:"Príkazy",items:[{name:"Vrátiť príkazy",legend:"Stlačte ${undo}"},{name:"Nanovo vrátiť príkaz",legend:"Stlačte ${redo}"},{name:"Príkaz na stučnenie",legend:"Stlačte ${bold}"},{name:"Príkaz na kurzívu",legend:"Stlačte ${italic}"},{name:"Príkaz na podčiarknutie",legend:"Stlačte ${underline}"},{name:"Príkaz na odkaz",legend:"Stlačte ${link}"},{name:"Príkaz na zbalenie lišty nástrojov",legend:"Stlačte ${toolbarCollapse}"},{name:"Prejsť na predchádzajúcu zamerateľnú medzeru príkazu",legend:"Stlačte ${accessPreviousSpace} pre prístup na najbližšie nedosiahnuteľné zamerateľné medzery pred vsuvkuo. Napríklad: dve za sebou idúce horizontálne čiary. Opakujte kombináciu klávesov pre dosiahnutie vzdialených zamerateľných medzier."},
{name:"Prejsť na ďalší ",legend:"Stlačte ${accessNextSpace} pre prístup na najbližšie nedosiahnuteľné zamerateľné medzery po vsuvke. Napríklad: dve za sebou idúce horizontálne čiary. Opakujte kombináciu klávesov pre dosiahnutie vzdialených zamerateľných medzier."},{name:"Pomoc prístupnosti",legend:"Stlačte ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",
home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",
f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"Prejsť na ďalší ",legend:"Stlačte ${accessNextSpace} pre prístup na najbližšie nedosiahnuteľné zamerateľné medzery po vsuvke. Napríklad: dve za sebou idúce horizontálne čiary. Opakujte kombináciu klávesov pre dosiahnutie vzdialených zamerateľných medzier."},{name:"Pomoc prístupnosti",legend:"Stlačte ${a11yHelp}"}]}]});

View File

@ -1,12 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","sl",{title:"Navodila Dostopnosti",contents:"Vsebina Pomoči. Če želite zapreti to pogovorno okno pritisnite ESC.",legend:[{name:"Splošno",items:[{name:"Urejevalna Orodna Vrstica",legend:"Pritisnite ${toolbarFocus} za pomik v orodno vrstico. Z TAB in SHIFT-TAB se pomikate na naslednjo in prejšnjo skupino orodne vrstice. Z DESNO PUŠČICO ali LEVO PUŠČICO se pomikate na naslednji in prejšnji gumb orodne vrstice. Pritisnite SPACE ali ENTER, da aktivirate gumb orodne vrstice."},
{name:"Urejevalno Pogovorno Okno",legend:"Znotraj pogovornega okna, pritisnite tipko TAB za pomik na naslednjo pogovorno polje, pritisnite SHIFT + TAB za pomik v prejšnje polje, pritisnite tipko ENTER za predložitev pogovornega okna, pritisnite tipko ESC, da prekličete okno. Za okna, ki imajo več zavihkov, pritisnite ALT + F10, da pojdete na seznam zavihkov. Na naslednji zavihek se premaknete s tipko TAB ali DESNO PUŠČICO. Z SHIFT + TAB ali LEVO PUŠČICO pa se premaknete na prejšnji zavihek. Pritisnite tipko SPACE ali ENTER za izbiro zavihka."},
{name:"Urejevalni Kontekstni Meni",legend:"Pritisnite ${contextMenu} ali APPLICATION KEY, da odprete kontekstni meni. Nato se premaknite na naslednjo možnost menija s tipko TAB ali PUŠČICA DOL. Premakniti se na prejšnjo možnost z SHIFT + TAB ali PUŠČICA GOR. Pritisnite SPACE ali ENTER za izbiro možnosti menija. Odprite podmeni trenutne možnosti menija s tipko SPACE ali ENTER ali DESNA PUŠČICA. Vrnite se na matični element menija s tipko ESC ali LEVA PUŠČICA. Zaprite kontekstni meni z ESC."},{name:"Urejevalno Seznamsko Polje",
legend:"Znotraj seznama, se premaknete na naslednji element seznama s tipko TAB ali PUŠČICO DOL. Z SHIFT + TAB ali PUŠČICO GOR se premaknete na prejšnji element seznama. Pritisnite tipko SPACE ali ENTER za izbiro elementa. Pritisnite tipko ESC, da zaprete seznam."},{name:"Urejevalna vrstica poti elementa",legend:"Pritisnite ${elementsPathFocus} za pomikanje po vrstici elementnih poti. S TAB ali DESNA PUŠČICA se premaknete na naslednji gumb elementa. Z SHIFT + TAB ali LEVO PUŠČICO se premaknete na prejšnji gumb elementa. Pritisnite SPACE ali ENTER za izbiro elementa v urejevalniku."}]},
{name:"Ukazi",items:[{name:"Razveljavi ukaz",legend:"Pritisnite ${undo}"},{name:"Ponovi ukaz",legend:"Pritisnite ${redo}"},{name:"Krepki ukaz",legend:"Pritisnite ${bold}"},{name:"Ležeči ukaz",legend:"Pritisnite ${italic}"},{name:"Poudarni ukaz",legend:"Pritisnite ${underline}"},{name:"Ukaz povezave",legend:"Pritisnite ${link}"},{name:"Skrči Orodno Vrstico Ukaz",legend:"Pritisnite ${toolbarCollapse}"},{name:"Dostop do prejšnjega ukaza ostrenja",legend:"Pritisnite ${accessPreviousSpace} za dostop do najbližjega nedosegljivega osredotočenega prostora pred strešico, npr.: dva sosednja HR elementa. Ponovite kombinacijo tipk, da dosežete oddaljene osredotočene prostore."},
{name:"Dostop do naslednjega ukaza ostrenja",legend:"Pritisnite ${accessNextSpace} za dostop do najbližjega nedosegljivega osredotočenega prostora po strešici, npr.: dva sosednja HR elementa. Ponovite kombinacijo tipk, da dosežete oddaljene osredotočene prostore."},{name:"Pomoč Dostopnosti",legend:"Pritisnite ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",
home:"Home",leftArrow:"Levo puščica",upArrow:"Gor puščica",rightArrow:"Desno puščica",downArrow:"Dol puščica",insert:"Insert","delete":"Delete",leftWindowKey:"Leva Windows tipka",rightWindowKey:"Desna Windows tipka",selectKey:"Select tipka",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Zmnoži",add:"Dodaj",subtract:"Odštej",decimalPoint:"Decimalna vejica",
divide:"Deli",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Podpičje",equalSign:"enačaj",comma:"Vejica",dash:"Vezaj",period:"Pika",forwardSlash:"Desna poševnica",graveAccent:"Krativec",openBracket:"Oklepaj",backSlash:"Leva poševnica",closeBracket:"Oklepaj",singleQuote:"Opuščaj"});
CKEDITOR.plugins.setLang("a11yhelp","sl",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"Splošno",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","sq",{title:"Udhëzimet e Qasjes",contents:"Përmbajtja ndihmëse. Për ta mbyllur dialogun shtyp ESC.",legend:[{name:"Të përgjithshme",items:[{name:"Shiriti i Redaktuesit",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Dialogu i Redaktuesit",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Komandat",items:[{name:"Rikthe komandën",legend:"Shtyp ${undo}"},{name:"Ribëj komandën",legend:"Shtyp ${redo}"},{name:"Komanda e trashjes së tekstit",legend:"Shtyp ${bold}"},{name:"Komanda kursive",legend:"Shtyp ${italic}"},
{name:"Komanda e nënvijëzimit",legend:"Shtyp ${underline}"},{name:"Komanda e Nyjes",legend:"Shtyp ${link}"},{name:" Toolbar Collapse command",legend:"Shtyp ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:"Ndihmë Qasjeje",legend:"Shtyp ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",
numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",
openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"Ndihmë Qasjeje",legend:"Shtyp ${a11yHelp}"}]}]});

View File

@ -1,11 +0,0 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","sr-latn",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"Opšte",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});

View File

@ -1,11 +0,0 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","sr",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"Опште",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});

View File

@ -1,12 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","sv",{title:"Hjälpmedelsinstruktioner",contents:"Hjälpinnehåll. För att stänga denna dialogruta trycker du på ESC.",legend:[{name:"Allmänt",items:[{name:"Editor verktygsfält",legend:"Tryck på ${toolbarFocus} för att navigera till verktygsfältet. Flytta till nästa och föregående verktygsfältsgrupp med TAB och SHIFT-TAB. Flytta till nästa och föregående knapp i verktygsfältet med HÖGERPIL eller VÄNSTERPIL. Tryck Space eller ENTER för att aktivera knappen i verktygsfältet."},
CKEDITOR.plugins.setLang("a11yhelp","sv",{title:"Hjälpmedelsinstruktioner",contents:"Hjälpinnehåll. För att stänga denna dialogruta trycker du på ESC.",legend:[{name:"Allmänt",items:[{name:"Editor verktygsfält",legend:"Tryck på $ {toolbarFocus} för att navigera till verktygsfältet. Flytta till nästa och föregående verktygsfältsgrupp med TAB och SHIFT-TAB. Flytta till nästa och föregående knapp i verktygsfältet med HÖGERPIL eller VÄNSTERPIL. Tryck Space eller ENTER för att aktivera knappen i verktygsfältet."},
{name:"Dialogeditor",legend:"Inuti en dialogruta, tryck TAB för att navigera till nästa fält i dialogrutan. Du trycker SKIFT + TAB för att flytta till föregående fält. Tryck ENTER för att skicka. Du avbryter och stänger dialogen med ESC. För dialogrutor som har flera flikar, tryck ALT + F10 navigera till fliklistan. Flytta sedan till nästa flik med HÖGERPIL. Flytta till föregående flik med SHIFT + TAB eller VÄNSTERPIL. Tryck Space eller ENTER för att välja fliken."},{name:"Editor för innehållsmeny",
legend:"Tryck på $ {contextMenu} eller PROGRAMTANGENTEN för att öppna snabbmenyn. Flytta sedan till nästa menyalternativ med TAB eller NEDPIL. Flytta till föregående alternativ med SHIFT + TABB eller UPPIL. Tryck Space eller ENTER för att välja menyalternativ. Öppna undermeny av nuvarande alternativ med SPACE eller ENTER eller HÖGERPIL. Gå tillbaka till överordnade menyalternativ med ESC eller VÄNSTERPIL. Stäng snabbmenyn med ESC."},{name:"Editor för List Box",legend:"Inuti en list-box, gå till nästa listobjekt med TAB eller NEDPIL. Flytta till föregående listobjekt med SHIFT + TAB eller UPPIL. Tryck Space eller ENTER för att välja listan alternativet. Tryck ESC för att stänga listan-boxen."},
{name:"Editor för elementens sökväg",legend:"Tryck på $ {elementsPathFocus} för att navigera till verktygsfältet för elementens sökvägar. Flytta till nästa elementknapp med TAB eller HÖGERPIL. Flytta till föregående knapp med SKIFT + TAB eller VÄNSTERPIL. Tryck Space eller ENTER för att välja element i redigeraren."}]},{name:"Kommandon",items:[{name:"Kommandot ångra",legend:"Tryck på ${undo}"},{name:"Kommandot gör om",legend:"Tryck på ${redo}"},{name:"Kommandot fet stil",legend:"Tryck på ${bold}"},
{name:"Kommandot kursiv",legend:"Tryck på ${italic}"},{name:"Kommandot understruken",legend:"Tryck på ${underline}"},{name:"Kommandot länk",legend:"Tryck på ${link}"},{name:"Verktygsfält Dölj kommandot",legend:"Tryck på ${toolbarCollapse}"},{name:"Gå till föregående fokus plats",legend:"Tryck på ${accessPreviousSpace} för att gå till närmast onåbara utrymme före markören, exempel: två intilliggande HR element. Repetera tangentkombinationen för att gå till nästa."},{name:"Tillgå nästa fokuskommandots utrymme",
legend:"Tryck ${accessNextSpace} på för att komma åt den närmaste onåbar fokus utrymme efter cirkumflex, till exempel: två intilliggande HR element. Upprepa tangentkombinationen för att nå avlägsna fokus utrymmen."},{name:"Hjälp om tillgänglighet",legend:"Tryck ${a11yHelp}"}]}],backspace:"Backsteg",tab:"Tab",enter:"Retur",shift:"Skift",ctrl:"Ctrl",alt:"Alt",pause:"Paus",capslock:"Caps lock",escape:"Escape",pageUp:"Sida Up",pageDown:"Sida Ned",end:"Slut",home:"Hem",leftArrow:"Vänsterpil",upArrow:"Uppil",
rightArrow:"Högerpil",downArrow:"Nedåtpil",insert:"Infoga","delete":"Radera",leftWindowKey:"Vänster Windowstangent",rightWindowKey:"Höger Windowstangent",selectKey:"Välj tangent",numpad0:"Nummer 0",numpad1:"Nummer 1",numpad2:"Nummer 2",numpad3:"Nummer 3",numpad4:"Nummer 4",numpad5:"Nummer 5",numpad6:"Nummer 6",numpad7:"Nummer 7",numpad8:"Nummer 8",numpad9:"Nummer 9",multiply:"Multiplicera",add:"Addera",subtract:"Minus",decimalPoint:"Decimalpunkt",divide:"Dividera",f1:"F1",f2:"F2",f3:"F3",f4:"F4",
f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semikolon",equalSign:"Lika med tecken",comma:"Komma",dash:"Minus",period:"Punkt",forwardSlash:"Snedstreck framåt",graveAccent:"Accent",openBracket:"Öppningsparentes",backSlash:"Snedstreck bakåt",closeBracket:"Slutparentes",singleQuote:"Enkelt Citattecken"});
{name:"Kommandot kursiv",legend:"Tryck på ${italic}"},{name:"Kommandot understruken",legend:"Tryck på ${underline}"},{name:"kommandot länk",legend:"Tryck på ${link}"},{name:"Verktygsfält Dölj kommandot",legend:"Tryck på ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:"Tillgå nästa fokuskommandots utrymme",
legend:"Tryck ${accessNextSpace} på för att komma åt den närmaste onåbar fokus utrymme efter cirkumflex, till exempel: två intilliggande HR element. Upprepa tangentkombinationen för att nå avlägsna fokus utrymmen."},{name:"Hjälp om tillgänglighet",legend:"Tryck ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","th",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"ทั่วไป",items:[{name:"แถบเครื่องมือสำหรับเครื่องมือช่วยพิมพ์",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"คำสั่ง",items:[{name:"เลิกทำคำสั่ง",legend:"วาง ${undo}"},{name:"คำสั่งสำหรับทำซ้ำ",legend:"วาง ${redo}"},{name:"คำสั่งสำหรับตัวหนา",legend:"วาง ${bold}"},{name:"คำสั่งสำหรับตัวเอียง",legend:"วาง ${italic}"},{name:"คำสั่งสำหรับขีดเส้นใต้",
legend:"วาง ${underline}"},{name:"คำสั่งสำหรับลิงก์",legend:"วาง ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,12 +1,10 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","tr",{title:"Erişilebilirlik Talimatları",contents:"Yardım içeriği. Bu pencereyi kapatmak için ESC tuşuna basın.",legend:[{name:"Genel",items:[{name:"Düzenleyici Araç Çubuğu",legend:"Araç çubuğunda gezinmek için ${toolbarFocus} basın. TAB ve SHIFT-TAB ile önceki ve sonraki araç çubuğu grubuna taşıyın. SAĞ OK veya SOL OK ile önceki ve sonraki bir araç çubuğu düğmesini hareket ettirin. SPACE tuşuna basın veya araç çubuğu düğmesini etkinleştirmek için ENTER tuşna basın."},
{name:"Diyalog Düzenleyici",legend:"Dialog penceresi içinde, sonraki iletişim alanına gitmek için SEKME tuşuna basın, önceki alana geçmek için SHIFT + TAB tuşuna basın, pencereyi göndermek için ENTER tuşuna basın, dialog penceresini iptal etmek için ESC tuşuna basın. Birden çok sekme sayfaları olan diyalogların, sekme listesine gitmek için ALT + F10 tuşlarına basın. Sonra TAB veya SAĞ OK sonraki sekmeye taşıyın. SHIFT + TAB veya SOL OK ile önceki sekmeye geçin. Sekme sayfayı seçmek için SPACE veya ENTER tuşuna basın."},
CKEDITOR.plugins.setLang("a11yhelp","tr",{title:"Erişilebilirlik Talimatları",contents:"Yardım içeriği. Bu pencereyi kapatmak için ESC tuşuna basın.",legend:[{name:"Genel",items:[{name:"Araç Çubuğu Editörü",legend:"Araç çubuğunda gezinmek için ${toolbarFocus} basın. TAB ve SHIFT-TAB ile önceki ve sonraki araç çubuğu grubuna taşıyın. SAĞ OK veya SOL OK ile önceki ve sonraki bir araç çubuğu düğmesini hareket ettirin. SPACE tuşuna basın veya araç çubuğu düğmesini etkinleştirmek için ENTER tuşna basın."},
{name:"Dialog Editörü",legend:"Dialog penceresi içinde, sonraki iletişim alanına gitmek için SEKME tuşuna basın, önceki alana geçmek için SHIFT + TAB tuşuna basın, pencereyi göndermek için ENTER tuşuna basın, dialog penceresini iptal etmek için ESC tuşuna basın. Birden çok sekme sayfaları olan diyalogların, sekme listesine gitmek için ALT + F10 tuşlarına basın. Sonra TAB veya SAĞ OK sonraki sekmeye taşıyın. SHIFT + TAB veya SOL OK ile önceki sekmeye geçin. Sekme sayfayı seçmek için SPACE veya ENTER tuşuna basın."},
{name:"İçerik Menü Editörü",legend:"İçerik menüsünü açmak için ${contextMenu} veya UYGULAMA TUŞU'na basın. Daha sonra SEKME veya AŞAĞI OK ile bir sonraki menü seçeneği taşıyın. SHIFT + TAB veya YUKARI OK ile önceki seçeneğe gider. Menü seçeneğini seçmek için SPACE veya ENTER tuşuna basın. Seçili seçeneğin alt menüsünü SPACE ya da ENTER veya SAĞ OK açın. Üst menü öğesini geçmek için ESC veya SOL OK ile geri dönün. ESC ile bağlam menüsünü kapatın."},{name:"Liste Kutusu Editörü",legend:"Liste kutusu içinde, bir sonraki liste öğesine SEKME VEYA AŞAĞI OK ile taşıyın. SHIFT + TAB veya YUKARI önceki liste öğesi taşıyın. Liste seçeneği seçmek için SPACE veya ENTER tuşuna basın. Liste kutusunu kapatmak için ESC tuşuna basın."},
{name:"Element Yol Çubuğu Editörü",legend:"Elementlerin yol çubuğunda gezinmek için ${ElementsPathFocus} basın. SEKME veya SAĞ OK ile sonraki element düğmesine taşıyın. SHIFT + TAB veya SOL OK önceki düğmeye hareket ettirin. Editör içindeki elementi seçmek için ENTER veya SPACE tuşuna basın."}]},{name:"Komutlar",items:[{name:"Komutu geri al",legend:"$(undo)'ya basın"},{name:"Komutu geri al",legend:"${redo} basın"},{name:" Kalın komut",legend:"${bold} basın"},{name:" İtalik komutu",legend:"${italic} basın"},
{name:" Alttan çizgi komutu",legend:"${underline} basın"},{name:" Bağlantı komutu",legend:"${link} basın"},{name:" Araç çubuğu Toplama komutu",legend:"${toolbarCollapse} basın"},{name:"Önceki komut alanına odaklan",legend:"Düzeltme imleçinden önce, en yakın uzaktaki alana erişmek için ${accessPreviousSpace} basın, örneğin: iki birleşik HR elementleri. Aynı tuş kombinasyonu tekrarıyla diğer alanlarada ulaşın."},{name:"Sonraki komut alanına odaklan",legend:"Düzeltme imleçinden sonra, en yakın uzaktaki alana erişmek için ${accessNextSpace} basın, örneğin: iki birleşik HR elementleri. Aynı tuş kombinasyonu tekrarıyla diğer alanlarada ulaşın."},
{name:"Erişilebilirlik Yardımı",legend:"${a11yHelp}'e basın"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",
graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"Element Yol Çubuğu Editörü",legend:"Elementlerin yol çubuğunda gezinmek için ${ElementsPathFocus} basın. SEKME veya SAĞ OK ile sonraki element düğmesine taşıyın. SHIFT + TAB veya SOL OK önceki düğmeye hareket ettirin. Editör içindeki elementi seçmek için ENTER veya SPACE tuşuna basın."}]},{name:"Komutlar",items:[{name:"Komutu geri al",legend:"${undo} basın"},{name:" Tekrar komutu uygula",legend:"${redo} basın"},{name:" Kalın komut",legend:"${bold} basın"},{name:" İtalik komutu",legend:"${italic} basın"},
{name:" Alttan çizgi komutu",legend:"${underline} basın"},{name:" Bağlantı komutu",legend:"${link} basın"},{name:" Araç çubuğu Toplama komutu",legend:"${toolbarCollapse} basın"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:"Erişilebilirlik Yardımı",legend:"${a11yHelp} basın"}]}]});

View File

@ -1,11 +0,0 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","tt",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"Гомуми",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Командалар",items:[{name:"Кайтару",legend:"${undo} басыгыз"},{name:"Кабатлау",legend:"${redo} басыгыз"},{name:"Калын",legend:"${bold} басыгыз"},{name:"Курсив",legend:"${italic} басыгыз"},{name:"Астына сызылган",legend:"${underline} басыгыз"},
{name:"Сылталама",legend:"${link} басыгыз"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"${a11yHelp} басыгыз"}]}],backspace:"Кайтару",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Тыныш",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Сул якка ук",upArrow:"Өскә таба ук",rightArrow:"Уң якка ук",downArrow:"Аска таба ук",insert:"Өстәү","delete":"Бетерү",leftWindowKey:"Сул Windows төймəсе",rightWindowKey:"Уң Windows төймəсе",selectKey:"Select төймəсе",numpad0:"Numpad 0",numpad1:"Numpad 1",
numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Тапкырлау",add:"Кушу",subtract:"Алу",decimalPoint:"Унарлы нокта",divide:"Бүлү",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Нокталы өтер",equalSign:"Тигезлек билгесе",comma:"Өтер",dash:"Сызык",period:"Дәрәҗә",forwardSlash:"Кыек сызык",
graveAccent:"Гравис",openBracket:"Җәя ачу",backSlash:"Кире кыек сызык",closeBracket:"Җәя ябу",singleQuote:"Бер иңле куштырнаклар"});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","ug",{title:"قوشۇمچە چۈشەندۈرۈش",contents:"ياردەم مەزمۇنى. بۇ سۆزلەشكۈنى ياپماقچى بولسىڭىز ESC نى بېسىڭ.",legend:[{name:"ئادەتتىكى",items:[{name:"قورال بالداق تەھرىر",legend:"${toolbarFocus} بېسىلسا قورال بالداققا يېتەكلەيدۇ، TAB ياكى SHIFT+TAB ئارقىلىق قورال بالداق گۇرۇپپىسى تاللىنىدۇ، ئوڭ سول يا ئوقتا توپچا تاللىنىدۇ، بوشلۇق ياكى Enter كۇنۇپكىسىدا تاللانغان توپچىنى قوللىنىدۇ."},{name:"تەھرىرلىگۈچ سۆزلەشكۈسى",legend:"سۆزلەشكۈدە TAB كۇنۇپكىسىدا كېيىنكى سۆز بۆلىكىگە يۆتكىلىدۇ، SHIFT + TAB بىرىكمە كۇنۇپكىسىدا ئالدىنقى سۆز بۆلىكىگە يۆتكىلىدۇ، ENTER كۇنۇپكىسىدا سۆزلەشكۈنى تاپشۇرىدۇ، ESC كۇنۇپكىسى سۆزلەشكۈدىن ۋاز كېچىدۇ. كۆپ بەتكۈچلۈك سۆزلەشكۈگە نىسبەتەن، ALT + F10 دا بەتكۈچ تىزىمىغا يۆتكەيدۇ. ئاندىن TAB كۇنۇپكىسى ياكى ئوڭ يا ئوق كۇنۇپكىسى كېيىنكى بەتكۈچكە يۆتكەيدۇ؛ SHIFT + TAB كۇنۇپكىسى ياكى سول يا ئوق كۇنۇپكىسى ئالدىنقى بەتكۈچكە يۆتكەيدۇ. بوشلۇق كۇنۇپكىسى ياكى ENTER كۇنۇپكىسى بەتكۈچنى تاللايدۇ."},
{name:"تەھرىرلىگۈچ تىل مۇھىت تىزىملىكى",legend:"${contextMenu} ياكى ئەپ كۇنۇپكىسىدا تىل مۇھىت تىزىملىكىنى ئاچىدۇ. ئاندىن TAB ياكى ئاستى يا ئوق كۇنۇپكىسىدا كېيىنكى تىزىملىك تۈرىگە يۆتكەيدۇ؛ SHIFT+TAB ياكى ئۈستى يا ئوق كۇنۇپكىسىدا ئالدىنقى تىزىملىك تۈرىگە يۆتكەيدۇ. بوشلۇق ياكى ENTER كۇنۇپكىسىدا تىزىملىك تۈرىنى تاللايدۇ. بوشلۇق، ENTER ياكى ئوڭ يا ئوق كۇنۇپكىسىدا تارماق تىزىملىكنى ئاچىدۇ. قايتىش تىزىملىكىگە ESC ياكى سول يا ئوق كۇنۇپكىسى ئىشلىتىلىدۇ. ESC كۇنۇپكىسىدا تىل مۇھىت تىزىملىكى تاقىلىدۇ."},{name:"تەھرىرلىگۈچ تىزىمى",
legend:"تىزىم قۇتىسىدا، كېيىنكى تىزىم تۈرىگە يۆتكەشتە TAB ياكى ئاستى يا ئوق كۇنۇپكىسى ئىشلىتىلىدۇ. ئالدىنقى تىزىم تۈرىگە يۆتكەشتە SHIFT + TAB ياكى ئۈستى يا ئوق كۇنۇپكىسى ئىشلىتىلىدۇ. بوشلۇق ياكى ENTER كۇنۇپكىسىدا تىزىم تۈرىنى تاللايدۇ.ESC كۇنۇپكىسىدا تىزىم قۇتىسىنى يىغىدۇ."},{name:"تەھرىرلىگۈچ ئېلېمېنت يول بالداق",legend:"${elementsPathFocus} بېسىلسا ئېلېمېنت يول بالداققا يېتەكلەيدۇ، TAB ياكى ئوڭ يا ئوقتا كېيىنكى ئېلېمېنت تاللىنىدۇ، SHIFT+TAB ياكى سول يا ئوقتا ئالدىنقى ئېلېمېنت تاللىنىدۇ، بوشلۇق ياكى Enter كۇنۇپكىسىدا تەھرىرلىگۈچتىكى ئېلېمېنت تاللىنىدۇ."}]},
{name:"بۇيرۇق",items:[{name:"بۇيرۇقتىن يېنىۋال",legend:"${undo} نى بېسىڭ"},{name:"قايتىلاش بۇيرۇقى",legend:"${redo} نى بېسىڭ"},{name:"توملىتىش بۇيرۇقى",legend:"${bold} نى بېسىڭ"},{name:"يانتۇ بۇيرۇقى",legend:"${italic} نى بېسىڭ"},{name:"ئاستى سىزىق بۇيرۇقى",legend:"${underline} نى بېسىڭ"},{name:"ئۇلانما بۇيرۇقى",legend:"${link} نى بېسىڭ"},{name:"قورال بالداق قاتلاش بۇيرۇقى",legend:"${toolbarCollapse} نى بېسىڭ"},{name:"ئالدىنقى فوكۇس نۇقتىسىنى زىيارەت قىلىدىغان بۇيرۇق",legend:"${accessPreviousSpace} بېسىپ ^ بەلگىسىگە ئەڭ يېقىن زىيارەت قىلغىلى بولمايدىغان فوكۇس نۇقتا رايونىنىڭ ئالدىنى زىيارەت قىلىدۇ، مەسىلەن: ئۆز ئارا قوشنا ئىككى HR ئېلېمېنت. بۇ بىرىكمە كۇنۇپكا تەكرارلانسا يىراقتىكى فوكۇس نۇقتا رايونىغا يەتكىلى بولىدۇ."},
{name:"كېيىنكى فوكۇس نۇقتىسىنى زىيارەت قىلىدىغان بۇيرۇق",legend:"${accessNextSpace} بېسىپ ^ بەلگىسىگە ئەڭ يېقىن زىيارەت قىلغىلى بولمايدىغان فوكۇس نۇقتا رايونىنىڭ كەينىنى زىيارەت قىلىدۇ، مەسىلەن: ئۆز ئارا قوشنا ئىككى HR ئېلېمېنت. بۇ بىرىكمە كۇنۇپكا تەكرارلانسا يىراقتىكى فوكۇس نۇقتا رايونىغا يەتكىلى بولىدۇ."},{name:"توسالغۇسىز لايىھە چۈشەندۈرۈشى",legend:"${a11yHelp} نى بېسىڭ"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",
pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",
decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
{name:"تەھرىرلىگۈچ تىل مۇھىت تىزىملىكى",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"تەھرىرلىگۈچ تىزىمى",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"تەھرىرلىگۈچ ئېلېمېنت يول بالداق",legend:"${elementsPathFocus} بېسىلسا ئېلېمېنت يول بالداققا يېتەكلەيدۇ، TAB ياكى ئوڭ يا ئوقتا كېيىنكى ئېلېمېنت تاللىنىدۇ، SHIFT+TAB ياكى سول يا ئوقتا ئالدىنقى ئېلېمېنت تاللىنىدۇ، بوشلۇق ياكى Enter كۇنۇپكىسىدا تەھرىرلىگۈچتىكى ئېلېمېنت تاللىنىدۇ."}]},{name:"بۇيرۇق",items:[{name:"بۇيرۇقتىن يېنىۋال",legend:"${undo} نى بېسىڭ"},{name:"قايتىلاش بۇيرۇقى",legend:"${redo} نى بېسىڭ"},{name:"توملىتىش بۇيرۇقى",legend:"${bold} نى بېسىڭ"},{name:"يانتۇ بۇيرۇقى",legend:"${italic} نى بېسىڭ"},
{name:"ئاستى سىزىق بۇيرۇقى",legend:"${underline} نى بېسىڭ"},{name:"ئۇلانما بۇيرۇقى",legend:"${link} نى بېسىڭ"},{name:"قورال بالداق قاتلاش بۇيرۇقى",legend:"${toolbarCollapse} نى بېسىڭ"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:"توسالغۇسىز لايىھە چۈشەندۈرۈشى",legend:"${a11yHelp} نى بېسىڭ"}]}]});

View File

@ -1,12 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","uk",{title:"Спеціальні Інструкції",contents:"Довідка. Натисніть ESC і вона зникне.",legend:[{name:"Основне",items:[{name:"Панель Редактора",legend:"Натисніть ${toolbarFocus} для переходу до панелі інструментів. Для переміщення між групами панелі інструментів використовуйте TAB і SHIFT-TAB. Для переміщення між кнопками панелі іструментів використовуйте кнопки СТРІЛКА ВПРАВО або ВЛІВО. Натисніть ПРОПУСК або ENTER для запуску кнопки панелі інструментів"},{name:"Діалог Редактора",
legend:"У діалозі натисніть клавішу TAB для переходу до наступного поля, натисніть SHIFT + TAB, щоб перейти до попереднього поля, натисніть ENTER, щоб відправити дані, натисніть ESC, щоб скасувати. Для вікон, які мають кілька вкладок, натисніть ALT + F10 для переходу до списку вкладок. Перехід до наступної вкладки TAB АБО СТРІЛКА ВПРАВО. Перехід до попередньої вкладки за допомогою SHIFT + TAB або СТРІЛКА ВЛІВО. Натисніть ПРОПУСК або ENTER, щоб вибрати вкладку."},{name:"Контекстне Меню Редактора",
legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Потім перейдіть до наступного пункту меню за допомогою TAB або СТРІЛКИ ВНИЗ. Натисніть ПРОПУСК або ENTER для вибору параметру меню. Відкрийте підменю поточного параметру, натиснувши ПРОПУСК або ENTER або СТРІЛКУ ВПРАВО. Перейдіть до батьківського елемента меню, натиснувши ESC або СТРІЛКУ ВЛІВО. Закрийте контекстне меню, натиснувши ESC."},{name:"Скринька Списків Редактора",legend:"Всередині списку переходимо до наступного пункту списку клавішею TAB або СТРІЛКА ВНИЗ. Перейти до попереднього елемента списку можна SHIFT + TAB або СТРІЛКА ВГОРУ. Натисніть ПРОПУСК або ENTER, щоб вибрати параметр списку. Натисніть клавішу ESC, щоб закрити список."},
{name:"Шлях до елемента редактора",legend:"Натисніть ${elementsPathFocus} для навігації між елементами панелі. Перейдіть до наступного елемента кнопкою TAB або СТРІЛКА ВПРАВО. Перейдіть до попереднього елемента кнопкою SHIFT+TAB або СТРІЛКА ВЛІВО. Натисніть ПРОПУСК або ENTER для вибору елемента в редакторі."}]},{name:"Команди",items:[{name:"Відмінити команду",legend:"Натисніть ${undo}"},{name:"Повторити",legend:"Натисніть ${redo}"},{name:"Жирний",legend:"Натисніть ${bold}"},{name:"Курсив",legend:"Натисніть ${italic}"},
{name:"Підкреслений",legend:"Натисніть ${underline}"},{name:"Посилання",legend:"Натисніть ${link}"},{name:"Згорнути панель інструментів",legend:"Натисніть ${toolbarCollapse}"},{name:"Доступ до попереднього місця фокусування",legend:"Натисніть ${accessNextSpace} для доступу до найближчої недосяжної області фокусування перед кареткою, наприклад: два сусідні елементи HR. Повторіть комбінацію клавіш для досягнення віддалених областей фокусування."},{name:"Доступ до наступного місця фокусування",legend:"Натисніть ${accessNextSpace} для доступу до найближчої недосяжної області фокусування після каретки, наприклад: два сусідні елементи HR. Повторіть комбінацію клавіш для досягнення віддалених областей фокусування."},
{name:"Допомога з доступності",legend:"Натисніть ${a11yHelp}"}]}],backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Esc",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Ліва стрілка",upArrow:"Стрілка вгору",rightArrow:"Права стрілка",downArrow:"Стрілка вниз",insert:"Вставити","delete":"Видалити",leftWindowKey:"Ліва клавіша Windows",rightWindowKey:"Права клавіша Windows",selectKey:"Виберіть клавішу",numpad0:"Numpad 0",
numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Множення",add:"Додати",subtract:"Віднімання",decimalPoint:"Десяткова кома",divide:"Ділення",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Крапка з комою",equalSign:"Знак рівності",comma:"Кома",dash:"Тире",period:"Період",
forwardSlash:"Коса риска",graveAccent:"Гравіс",openBracket:"Відкрити дужку",backSlash:"Зворотна коса риска",closeBracket:"Закрити дужку",singleQuote:"Одинарні лапки"});
CKEDITOR.plugins.setLang("a11yhelp","uk",{title:"Спеціальні Інструкції",contents:"Довідка. Натисніть ESC і вона зникне.",legend:[{name:"Основне",items:[{name:"Панель Редактора",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Діалог Редактора",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Контекстне Меню Редактора",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Скринька Списків Редактора",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Команди",items:[{name:"Відмінити команду",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]});

View File

@ -1,11 +1,9 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","vi",{title:"Hướng dẫn trợ năng",contents:"Nội dung Hỗ trợ. Nhấn ESC để đóng hộp thoại.",legend:[{name:"Chung",items:[{name:"Thanh công cụ soạn thảo",legend:"Nhấn ${toolbarFocus} để điều hướng đến thanh công cụ. Nhấn TAB và SHIFT-TAB để chuyển đến nhóm thanh công cụ khác. Nhấn MŨI TÊN PHẢI hoặc MŨI TÊN TRÁI để chuyển sang nút khác trên thanh công cụ. Nhấn PHÍM CÁCH hoặc ENTER để kích hoạt nút trên thanh công cụ."},{name:"Hộp thoại Biên t",legend:"Bên trong một hộp thoại, nhấn TAB để chuyển sang trường tiếp theo, nhấn SHIFT + TAB để quay lại trường phía trước, nhấn ENTER để chấp nhận, nhấn ESC để đóng hộp thoại. Đối với các hộp thoại có nhiều tab, nhấn ALT + F10 để chuyển đến danh sách các tab. Sau đó nhấn TAB hoặc MŨI TÊN SANG PHẢI để chuyển sang tab tiếp theo. Nhấn SHIFT + TAB hoặc MŨI TÊN SANG TRÁI để chuyển sang tab trước đó. Nhấn DẤU CÁCH hoặc ENTER để chọn tab."},
{name:"Trình đơn Ngữ cảnh cBộ soạn thảo",legend:"Nhấn ${contextMenu} hoặc PHÍM ỨNG DỤNG để mở thực đơn ngữ cảnh. Sau đó nhấn TAB hoặc MŨI TÊN XUỐNG để di chuyển đến tuỳ chọn tiếp theo của thực đơn. Nhấn SHIFT+TAB hoặc MŨI TÊN LÊN để quay lại tuỳ chọn trước. Nhấn DẤU CÁCH hoặc ENTER để chọn tuỳ chọn của thực đơn. Nhấn DẤU CÁCH hoặc ENTER hoặc MŨI TÊN SANG PHẢI để mở thực đơn con của tuỳ chọn hiện tại. Nhấn ESC hoặc MŨI TÊN SANG TRÁI để quay trở lại thực đơn gốc. Nhấn ESC để đóng thực đơn ngữ cảnh."},
{name:"Hộp danh sách trình biên tập",legend:"Trong một danh sách chọn, di chuyển đối tượng tiếp theo với phím Tab hoặc phím mũi tên hướng xuống. Di chuyển đến đối tượng trước đó bằng cách nhấn tổ hợp phím Shift+Tab hoặc mũi tên hướng lên. Phím khoảng cách hoặc phím Enter để chọn các tùy chọn trong danh sách. Nhấn phím Esc để đóng lại danh sách chọn."},{name:"Thanh đường dẫn các đối tượng",legend:"Nhấn ${elementsPathFocus} để điều hướng các đối tượng trong thanh đường dẫn. Di chuyển đến đối tượng tiếp theo bằng phím Tab hoặc phím mũi tên bên phải. Di chuyển đến đối tượng trước đó bằng tổ hợp phím Shift+Tab hoặc phím mũi tên bên trái. Nhấn phím khoảng cách hoặc Enter để chọn đối tượng trong trình soạn thảo."}]},
{name:"Lệnh",items:[{name:"Làm lại lện",legend:"Ấn ${undo}"},{name:"Làm lại lệnh",legend:"Ấn ${redo}"},{name:"Lệnh in đậm",legend:"Ấn ${bold}"},{name:"Lệnh in nghiêng",legend:"Ấn ${italic}"},{name:"Lệnh gạch dưới",legend:"Ấn ${underline}"},{name:"Lệnh liên kết",legend:"Nhấn ${link}"},{name:"Lệnh hiển thị thanh công cụ",legend:"Nhấn${toolbarCollapse}"},{name:"Truy cập đến lệnh tập trung vào khoảng cách trước đó",legend:"Ấn ${accessPreviousSpace} để truy cập đến phần tập trung khoảng cách sau phần còn sót lại của khoảng cách gần nhất vốn không tác động đến được , thí dụ: hai yếu tố điều chỉnh HR. Lặp lại các phím kết họep này để vươn đến phần khoảng cách."},
{name:"Truy cập phần đối tượng lệnh khoảng trống",legend:"Ấn ${accessNextSpace} để truy cập đến phần tập trung khoảng cách sau phần còn sót lại của khoảng cách gần nhất vốn không tác động đến được , thí dụ: hai yếu tố điều chỉnh HR. Lặp lại các phím kết họep này để vươn đến phần khoảng cách."},{name:"Trợ giúp liên quan",legend:"Nhấn ${a11yHelp}"}]}],backspace:"Phím Backspace",tab:"Phím Tab",enter:"Phím Tab",shift:"Phím Shift",ctrl:"Phím Ctrl",alt:"Phím Alt",pause:"Phím Pause",capslock:"Phím Caps Lock",
escape:"Phím Escape",pageUp:"Phím Page Up",pageDown:"Phím Page Down",end:"Phím End",home:"Phím Home",leftArrow:"Phím Left Arrow",upArrow:"Phím Up Arrow",rightArrow:"Phím Right Arrow",downArrow:"Phím Down Arrow",insert:"Chèn","delete":"Xóa",leftWindowKey:"Phím Left Windows",rightWindowKey:"Phím Right Windows ",selectKey:"Chọn phím",numpad0:"Phím 0",numpad1:"Phím 1",numpad2:"Phím 2",numpad3:"Phím 3",numpad4:"Phím 4",numpad5:"Phím 5",numpad6:"Phím 6",numpad7:"Phím 7",numpad8:"Phím 8",numpad9:"Phím 9",
multiply:"Nhân",add:"Thêm",subtract:"Trừ",decimalPoint:"Điểm số thập phân",divide:"Chia",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Dấu chấm phẩy",equalSign:"Đăng nhập bằng",comma:"Dấu phẩy",dash:"Dấu gạch ngang",period:"Phím .",forwardSlash:"Phím /",graveAccent:"Phím `",openBracket:"Open Bracket",backSlash:"Dấu gạch chéo ngược",closeBracket:"Gần giá đỡ",singleQuote:"Trích dẫn"});
CKEDITOR.plugins.setLang("a11yhelp","vi",{title:"Accessibility Instructions",contents:"Nội dung Hỗ trợ. Nhấn ESC để đóng hộp thoại.",legend:[{name:"Chung",items:[{name:"Thanh công cụ soạn th",legend:"Nhấn ${toolbarFocus} để điều hướng đến thanh công cụ. Nhấn TAB và SHIFT-TAB để chuyển đến nhóm thanh công cụ khác. Nhấn MŨI TÊN PHẢI hoặc MŨI TÊN TRÁI để chuyển sang nút khác trên thanh công cụ. Nhấn PHÍM CÁCH hoặc ENTER để kích hoạt nút trên thanh công c."},{name:"Hộp thoại Biên t",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."},
{name:"Trình đơn Ngữ cảnh cBộ soạn thảo",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."},
{name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command",
legend:"Press ${underline}"},{name:" Link command",legend:"Nhấn ${link}"},{name:" Toolbar Collapse command",legend:"Nhấn${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},
{name:" Accessibility Help",legend:"Nhấn ${a11yHelp}"}]}]});

View File

@ -1,9 +1,7 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","zh-cn",{title:"辅助功能说明",contents:"帮助内容。要关闭此对话框请按 ESC 键。",legend:[{name:"常规",items:[{name:"编辑器工具栏",legend:"按 ${toolbarFocus} 导航到工具栏,使用 TAB 键和 SHIFT+TAB 组合键移动到上一个和下一个工具栏组。使用左右箭头键移动到上一个和下一个工具栏按钮。按空格键或回车键以选中工具栏按钮。"},{name:"编辑器对话框",legend:"在对话框内TAB 键移动到下一个字段SHIFT + TAB 组合键移动到上一个字段ENTER 键提交对话框ESC 键取消对话框。对于有多选项卡的对话框用ALT + F10来移到选项卡列表。然后用 TAB 键或者向右箭头来移动到下一个选项卡SHIFT + TAB 组合键或者向左箭头移动到上一个选项卡。用 SPACE 键或者 ENTER 键选择选项卡。"},{name:"编辑器上下文菜单",legend:"用 ${contextMenu} 或者“应用程序键”打开上下文菜单。然后用 TAB 键或者下箭头键来移动到下一个菜单项SHIFT + TAB 组合键或者上箭头键移动到上一个菜单项。用 SPACE 键或者 ENTER 键选择菜单项。用 SPACE 键ENTER 键或者右箭头键打开子菜单。返回菜单用 ESC 键或者左箭头键。用 ESC 键关闭上下文菜单。"},
CKEDITOR.plugins.setLang("a11yhelp","zh-cn",{title:"访问功能说明",contents:"帮助内容。要关闭此对话框请按 ESC 键。",legend:[{name:"一般的",items:[{name:"编辑器工具栏",legend:"按 ${toolbarFocus} 导航到工具栏,使用 TAB 键和 SHIFT+TAB 组合键移动到上一个和下一个工具栏组。使用左右箭头键移动到上一个和下一个工具栏按钮。按空格键或回车键以选中工具栏按钮。"},{name:"编辑器对话框",legend:"在对话框内TAB 键移动到下一个字段SHIFT + TAB 组合键移动到上一个字段ENTER 键提交对话框ESC 键取消对话框。对于有多标签的对话框用ALT + F10来移到标签列表。然后用 TAB 键或者向右箭头来移动到下一个标签SHIFT + TAB 组合键或者向左箭头移动到上一个标签。用 SPACE 键或者 ENTER 键选择标签。"},{name:"编辑器上下文菜单",legend:"用 ${contextMenu}或者 应用程序键 打开上下文菜单。然后用 TAB 键或者下箭头键来移动到下一个菜单项SHIFT + TAB 组合键或者上箭头键移动到上一个菜单项。用 SPACE 键或者 ENTER 键选择菜单项。用 SPACE 键ENTER 键或者右箭头键打开子菜单。返回菜单用 ESC 键或者左箭头键。用 ESC 键关闭上下文菜单。"},
{name:"编辑器列表框",legend:"在列表框中,移到下一列表项用 TAB 键或者下箭头键。移到上一列表项用SHIFT + TAB 组合键或者上箭头键,用 SPACE 键或者 ENTER 键选择列表项。用 ESC 键收起列表框。"},{name:"编辑器元素路径栏",legend:"按 ${elementsPathFocus} 以导航到元素路径栏,使用 TAB 键或右箭头键选择下一个元素,使用 SHIFT+TAB 组合键或左箭头键选择上一个元素,按空格键或回车键以选定编辑器里的元素。"}]},{name:"命令",items:[{name:" 撤消命令",legend:"按 ${undo}"},{name:" 重做命令",legend:"按 ${redo}"},{name:" 加粗命令",legend:"按 ${bold}"},{name:" 倾斜命令",legend:"按 ${italic}"},{name:" 下划线命令",legend:"按 ${underline}"},{name:" 链接命令",legend:"按 ${link}"},{name:" 工具栏折叠命令",legend:"按 ${toolbarCollapse}"},
{name:"访问前一个焦点区域的命令",legend:"按 ${accessPreviousSpace} 访问^符号前最近的不可访问的焦点区域,例如:两个相邻的 HR 元素。重复此组合按键可以到达远处的焦点区域。"},{name:"访问下一个焦点区域命令",legend:"按 ${accessNextSpace} 以访问^符号后最近的不可访问的焦点区域。例如:两个相邻的 HR 元素。重复此组合按键可以到达远处的焦点区域。"},{name:"辅助功能帮助",legend:"按 ${a11yHelp}"}]}],backspace:"退格键",tab:"Tab 键",enter:"回车键",shift:"Shift 键",ctrl:"Ctrl 键",alt:"Alt 键",pause:"暂停键",capslock:"大写锁定键",escape:"Esc 键",pageUp:"上翻页键",pageDown:"下翻页键",end:"行尾键",home:"行首键",leftArrow:"向左箭头键",upArrow:"向上箭头键",rightArrow:"向右箭头键",downArrow:"向下箭头键",
insert:"插入键","delete":"删除键",leftWindowKey:"左 WIN 键",rightWindowKey:"右 WIN 键",selectKey:"选择键",numpad0:"小键盘 0 键",numpad1:"小键盘 1 键",numpad2:"小键盘 2 键",numpad3:"小键盘 3 键",numpad4:"小键盘 4 键",numpad5:"小键盘 5 键",numpad6:"小键盘 6 键",numpad7:"小键盘 7 键",numpad8:"小键盘 8 键",numpad9:"小键盘 9 键",multiply:"星号键",add:"加号键",subtract:"减号键",decimalPoint:"小数点键",divide:"除号键",f1:"F1 键",f2:"F2 键",f3:"F3 键",f4:"F4 键",f5:"F5 键",f6:"F6 键",f7:"F7 键",f8:"F8 键",f9:"F9 键",f10:"F10 键",f11:"F11 键",f12:"F12 键",numLock:"数字锁定键",scrollLock:"滚动锁定键",
semiColon:"分号键",equalSign:"等号键",comma:"逗号键",dash:"短划线键",period:"句号键",forwardSlash:"斜杠键",graveAccent:"重音符键",openBracket:"左中括号键",backSlash:"反斜杠键",closeBracket:"右中括号键",singleQuote:"单引号键"});
{name:"访问前一个焦点区域的命令",legend:"按${accessPreviousSpace} 访问^符号前最近的不可访问的焦点区域例如两个相邻的HR人力资源元素。重复此组合按键可以到达远处的焦点区域。"},{name:"访问下一个焦点区域命令",legend:"按${accessNextSpace} 访问^符号后最近的不可访问的焦点区域例如两个相邻的HR人力资源元素。重复此组合按键可以到达远处的焦点区域。"},{name:"访问功能帮助",legend:"按 ${a11yHelp}"}]}]});

View File

@ -1,10 +0,0 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","zh",{title:"輔助工具指南",contents:"說明內容。若要關閉此對話框請按「ESC」。",legend:[{name:"一般",items:[{name:"編輯器工具列",legend:"請按「${toolbarFocus}」以瀏覽工具列。\r\n利用「TAB」或「SHIFT+TAB」以便移動到下一個或前一個工具列群組。\r\n利用「→」或「←」以便移動到下一個或前一個工具列按鈕。\r\n請按下「空白鍵」或「ENTER」鍵啟動工具列按鈕。"},{name:"編輯器對話方塊",legend:"在對話框中,請按 TAB 鍵以便移動到下個欄位,請按 SHIFT + TAB 以便移動到前個欄位;請按 ENTER 以提交對話框資料,或按下 ESC 取消對話框。\r\n若是有多個頁框的對話框請按 ALT + F10 以移動到頁框列表,並以 TAB 或是 → 方向鍵移動到下個頁框。以 SHIFT + TAB 或是 ← 方向鍵移動到前個頁框。按下 空白鍵 或是 ENTER 以選取頁框。"},{name:"編輯器內容功能表",
legend:"請按下「${contextMenu}」或是「應用程式鍵」以開啟內容選單。以「TAB」或是「↓」鍵移動到下一個選單選項。以「SHIFT + TAB」或是「↑」鍵移動到上一個選單選項。按下「空白鍵」或是「ENTER」鍵以選取選單選項。以「空白鍵」或「ENTER」或「→」開啟目前選項之子選單。以「ESC」或「←」回到父選單。以「ESC」鍵關閉內容選單」。"},{name:"編輯器清單方塊",legend:"在列表中,請利用 TAB 或 ↓ 方向鍵以移動到下一個項目;或利用 SHIFT + TAB 或 ↑ 方向鍵移動到前一個項目。請按下 空白鍵 或是 ENTER 以選取項目。請按 ESC 關閉列表。"},{name:"編輯器元件路徑工具列",legend:"請按「${elementsPathFocus}」以瀏覽元素路徑工具列。\r\n利用「TAB」或「→」以便移動到下一個元素按鈕。\r\n利用「SHIFT+TAB」或「←」以便移動到前一個元素按鈕。\r\n請按下「空白鍵」或「ENTER」鍵選擇編輯器中的元素。"}]},{name:"命令",items:[{name:"復原命令",
legend:"請按下「${undo}」"},{name:"重複命令",legend:"請按下「 ${redo}」"},{name:"粗體命令",legend:"請按下「${bold}」"},{name:"斜體",legend:"請按下「${italic}」"},{name:"底線命令",legend:"請按下「${underline}」"},{name:"連結",legend:"請按下「${link}」"},{name:"隱藏工具列",legend:"請按下「${toolbarCollapse}」"},{name:"存取前一個焦點空間命令",legend:"請按下 ${accessPreviousSpace} 以存取最近但無法靠近之插字符號前的焦點空間。舉例:二個相鄰的 HR 元素。\r\n重複按鍵以存取較遠的焦點空間。"},{name:"存取下一個焦點空間命令",legend:"請按下 ${accessNextSpace} 以存取最近但無法靠近之插字符號後的焦點空間。舉例:二個相鄰的 HR 元素。\r\n重複按鍵以存取較遠的焦點空間。"},{name:"協助工具說明",legend:"請按下「${a11yHelp}」"}]}],
backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",ctrl:"Ctrl",alt:"Alt",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",end:"End",home:"Home",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert","delete":"Delete",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",
numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",
backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});

View File

@ -1,7 +1,6 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add("about",function(a){var a=a.lang.about,b=CKEDITOR.plugins.get("about").path+"dialogs/"+(CKEDITOR.env.hidpi?"hidpi/":"")+"logo_ckeditor.png";return{title:CKEDITOR.env.ie?a.dlgTitle:a.title,minWidth:390,minHeight:230,contents:[{id:"tab1",label:"",title:"",expand:!0,padding:0,elements:[{type:"html",html:'<style type="text/css">.cke_about_container{color:#000 !important;padding:10px 10px 0;margin-top:5px}.cke_about_container p{margin: 0 0 10px;}.cke_about_container .cke_about_logo{height:81px;background-color:#fff;background-image:url('+
b+");"+(CKEDITOR.env.hidpi?"background-size:163px 58px;":"")+'background-position:center; background-repeat:no-repeat;margin-bottom:10px;}.cke_about_container a{cursor:pointer !important;color:#00B2CE !important;text-decoration:underline !important;}</style><div class="cke_about_container"><div class="cke_about_logo"></div><p>CKEditor '+CKEDITOR.version+" (revision "+CKEDITOR.revision+')<br><a target="_blank" href="http://ckeditor.com/">http://ckeditor.com</a></p><p>'+a.help.replace("$1",'<a target="_blank" href="http://docs.ckeditor.com/user">'+
a.userGuide+"</a>")+"</p><p>"+a.moreInfo+'<br><a target="_blank" href="http://ckeditor.com/about/license">http://ckeditor.com/about/license</a></p><p>'+a.copy.replace("$1",'<a target="_blank" href="http://cksource.com/">CKSource</a> - Frederico Knabben')+"</p></div>"}]}],buttons:[CKEDITOR.dialog.cancelButton]}});
CKEDITOR.dialog.add("about",function(a){a=a.lang.about;return{title:CKEDITOR.env.ie?a.dlgTitle:a.title,minWidth:390,minHeight:230,contents:[{id:"tab1",label:"",title:"",expand:!0,padding:0,elements:[{type:"html",html:'<style type="text/css">.cke_about_container{color:#000 !important;padding:10px 10px 0;margin-top:5px}.cke_about_container p{margin: 0 0 10px;}.cke_about_container .cke_about_logo{height:81px;background-color:#fff;background-image:url('+CKEDITOR.plugins.get("about").path+'dialogs/logo_ckeditor.png);background-position:center; background-repeat:no-repeat;margin-bottom:10px;}.cke_about_container a{cursor:pointer !important;color:#00B2CE !important;text-decoration:underline !important;}</style><div class="cke_about_container"><div class="cke_about_logo"></div><p>CKEditor '+
CKEDITOR.version+" (revision "+CKEDITOR.revision+')<br><a href="http://ckeditor.com/">http://ckeditor.com</a></p><p>'+a.help.replace("$1",'<a href="http://docs.ckeditor.com/user">'+a.userGuide+"</a>")+"</p><p>"+a.moreInfo+'<br><a href="http://ckeditor.com/about/license">http://ckeditor.com/about/license</a></p><p>'+a.copy.replace("$1",'<a href="http://cksource.com/">CKSource</a> - Frederico Knabben')+"</p></div>"}]}],buttons:[CKEDITOR.dialog.cancelButton]}});

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -1,6 +1,6 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add("paste",function(c){function h(a){var b=new CKEDITOR.dom.document(a.document),f=b.getBody(),d=b.getById("cke_actscrpt");d&&d.remove();f.setAttribute("contenteditable",!0);if(CKEDITOR.env.ie&&8>CKEDITOR.env.version)b.getWindow().on("blur",function(){b.$.selection.empty()});b.on("keydown",function(a){var a=a.data,b;switch(a.getKeystroke()){case 27:this.hide();b=1;break;case 9:case CKEDITOR.SHIFT+9:this.changeFocus(1),b=1}b&&a.preventDefault()},this);c.fire("ariaWidget",new CKEDITOR.dom.element(a.frameElement));
b.getWindow().getFrame().removeCustomData("pendingFocus")&&f.focus()}var e=c.lang.clipboard;c.on("pasteDialogCommit",function(a){a.data&&c.fire("paste",{type:"auto",dataValue:a.data})},null,null,1E3);return{title:e.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?370:350,minHeight:CKEDITOR.env.quirks?250:245,onShow:function(){this.parts.dialog.$.offsetHeight;this.setupContent();this.parts.title.setHtml(this.customTitle||e.title);this.customTitle=null},onLoad:function(){(CKEDITOR.env.ie7Compat||

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 644 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -1,54 +1,44 @@
(function(){function p(h,c){return(new E(h,c)).beautify()}function E(h,c){var da,H,a,p,I,z,w,N,S,Z,$,y,O,P,x,t,A,o,F,f,J;function ia(b,e){var d=0;return b&&(d=b.indentation_level,!T()&&b.line_indent_level>d&&(d=b.line_indent_level)),{mode:e,parent:b,last_text:b?b.last_text:"",last_word:b?b.last_word:"",declaration_statement:!1,declaration_assignment:!1,in_html_comment:!1,multiline_frame:!1,if_block:!1,do_block:!1,do_while:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:d,line_indent_level:b?
b.line_indent_level:d,start_line_index:m.length,had_comment:!1,ternary_depth:0}}function B(b){if(b=void 0===b?!1:b,m.length)for(ja(m[m.length-1],b);b&&1<m.length&&0===m[m.length-1].text.length;)m.pop(),ja(m[m.length-1],b)}function ja(b){for(;b.text.length&&(" "===b.text[b.text.length-1]||b.text[b.text.length-1]===K||b.text[b.text.length-1]===U);)b.text.pop()}function ga(b){return b.replace(/^\s+|\s+$/g,"")}function T(){return 0===m[m.length-1].text.length}function Q(n){if(n=void 0===n?!1:n,da&&!n){var e=
m[m.length-1],d=0;0<e.text.length&&(d=e.text.join("").length+k.length+(j?1:0),d>=da&&(n=!0))}(H&&L||n)&&!T()&&(i(!1,!0),b.mode===x||aa(b.mode)||b.mode===t||(R=!0))}function i(d,e){if(R=!1,j=!1,!e&&";"!==b.last_text&&","!==b.last_text&&"="!==b.last_text&&"TK_OPERATOR"!==g)for(;b.mode===t&&!b.if_block&&!b.do_block;)M();1===m.length&&T()||(d||!T())&&(b.multiline_frame=!0,m.push({text:[]}))}function q(d){var d=d||k,e,o;if(T())if(e=m[m.length-1],a&&b.mode===x&&L){e.text.push("");for(o=0;o<V.length;o+=
1)e.text.push(V[o])}else{U&&e.text.push(U);e=b.indentation_level+(R?1:0);var F;if(1<m.length){o=m[m.length-1];b.line_indent_level=e;for(F=0;F<e;F+=1)o.text.push(K)}}R=!1;e=m[m.length-1];var f;j&&e.text.length&&(f=e.text[e.text.length-1]," "!==f&&f!==K&&e.text.push(" "));j=!1;m[m.length-1].text.push(d)}function ka(b){if(!b.multiline_frame)for(var b=b.start_line_index,e=0,d;b<m.length;)(d=m[b],b++,0!==d.text.length)&&(e=U&&d.text[0]===U?1:0,d.text[e]===K&&d.text.splice(e,1))}function u(d){b?(ea.push(b),
C=b):C=ia(null,d);b=ia(C,d)}function aa(b){return r(b,[A,o,F])}function M(){0<ea.length&&(C=b,b=ea.pop(),C.mode===t&&ka(C))}function E(){return b.mode===f&&":"===b.last_text&&0===b.ternary_depth}function fa(){var d;"TK_RESERVED"===g&&r(b.last_text,["var","let","const"])&&"TK_WORD"===s||"TK_RESERVED"===g&&"do"===b.last_text||"TK_RESERVED"===g&&"return"===b.last_text&&!L||"TK_RESERVED"===g&&"else"===b.last_text&&!("TK_RESERVED"===s&&"if"===k)||"TK_END_EXPR"===g&&(C.mode===o||C.mode===F)?(u(t),b.indentation_level+=
1,d=("TK_RESERVED"===g&&r(b.last_text,["var","let","const"])&&"TK_WORD"===s&&(b.declaration_statement=!0),Q("TK_RESERVED"===s&&r(k,["do","for","if","while"])),R=!1,!0)):d=!1;return d}function ba(b){return r(b,"case return do if throw else".split(" "))}function r(b,d){for(var o=0;o<d.length;o+=1)if(d[o]===b)return!0;return!1}function la(){var n,e,f,a,c;if(G=0,d>=v)return["","TK_EOF"];L=!1;V=[];e=l.charAt(d);for(d+=1;r(e,ha);){if("\n"===e?(G+=1,V=[]):G&&(e===K?V.push(K):"\r"!==e&&V.push(" ")),d>=v)return["",
"TK_EOF"];e=l.charAt(d);d+=1}if(ca.isIdentifierChar(l.charCodeAt(d-1))){if(d<v)for(;ca.isIdentifierChar(l.charCodeAt(d))&&!(e+=l.charAt(d),d+=1,d===v););return d!==v&&e.match(/^[0-9]+[Ee]$/)&&("-"===l.charAt(d)||"+"===l.charAt(d))?(f=l.charAt(d),d+=1,a=la(),e+=f+a[0],[e,"TK_WORD"]):!("TK_DOT"===g||"TK_RESERVED"===g&&r(b.last_text,["set","get"]))&&r(e,ma)?"in"===e?[e,"TK_OPERATOR"]:[e,"TK_RESERVED"]:[e,"TK_WORD"]}if("("===e||"["===e)return[e,"TK_START_EXPR"];if(")"===e||"]"===e)return[e,"TK_END_EXPR"];
if("{"===e)return[e,"TK_START_BLOCK"];if("}"===e)return[e,"TK_END_BLOCK"];if(";"===e)return[e,"TK_SEMICOLON"];if("/"===e){if(f="",a=!0,"*"===l.charAt(d)){if(d+=1,d<v)for(;d<v&&!("*"===l.charAt(d)&&l.charAt(d+1)&&"/"===l.charAt(d+1))&&!(e=l.charAt(d),f+=e,("\n"===e||"\r"===e)&&(a=!1),d+=1,d>=v););return d+=2,a&&0===G?["/*"+f+"*/","TK_INLINE_COMMENT"]:["/*"+f+"*/","TK_BLOCK_COMMENT"]}if("/"===l.charAt(d)){for(f=e;"\r"!==l.charAt(d)&&"\n"!==l.charAt(d)&&!(f+=l.charAt(d),d+=1,d>=v););return[f,"TK_COMMENT"]}}if("`"===
e||"'"===e||'"'===e||("/"===e||p&&"<"===e&&l.slice(d-1).match(/^<([-a-zA-Z:0-9_.]+|{[^{}]*}|!\[CDATA\[[\s\S]*?\]\])\s*([-a-zA-Z:0-9_.]+=('[^']*'|"[^"]*"|{[^{}]*})\s*)*\/?\s*>/))&&("TK_RESERVED"===g&&ba(b.last_text)||"TK_END_EXPR"===g&&r(C.mode,[F,o])||r(g,"TK_COMMENT TK_START_EXPR TK_START_BLOCK TK_END_BLOCK TK_OPERATOR TK_EQUALS TK_EOF TK_SEMICOLON TK_COMMA".split(" ")))){f=e;var i=a=!1;if(n=e,d<v)if("/"===f)for(c=!1;a||c||l.charAt(d)!==f;){if(n+=l.charAt(d),a?a=!1:(a="\\"===l.charAt(d),"["===l.charAt(d)?
c=!0:"]"===l.charAt(d)&&(c=!1)),d+=1,d>=v)return[n,"TK_STRING"]}else if(p&&"<"===f){e=/<(\/?)([-a-zA-Z:0-9_.]+|{[^{}]*}|!\[CDATA\[[\s\S]*?\]\])\s*([-a-zA-Z:0-9_.]+=('[^']*'|"[^"]*"|{[^{}]*})\s*)*(\/?)\s*>/g;a=l.slice(d-1);var j=e.exec(a);if(j&&0===j.index){f=j[2];for(n=0;j;){var i=!!j[1],k=j[2],J=!!j[j.length-1]||"![CDATA["===k.slice(0,8);if(k!==f||J||(i?--n:++n),0>=n)break;j=e.exec(a)}return c=j?j.index+j[0].length:a.length,d+=c-1,[a.slice(0,c),"TK_STRING"]}}else for(;a||l.charAt(d)!==f;)if(n+=l.charAt(d),
a?(("x"===l.charAt(d)||"u"===l.charAt(d))&&(i=!0),a=!1):a="\\"===l.charAt(d),d+=1,d>=v)return[n,"TK_STRING"];d+=1;n+=f;if(i&&I){a:{c=n;e=!1;a="";j=0;n="";for(i=0;e||j<c.length;)if(k=c.charAt(j),j++,e){if(e=!1,"x"===k)n=c.substr(j,2),j+=2;else if("u"===k)n=c.substr(j,4),j+=4;else{a+="\\"+k;continue}if(!n.match(/^[0123456789abcdefABCDEF]+$/))break a;if(i=parseInt(n,16),0<=i&&32>i)a+="x"===k?"\\x"+n:"\\u"+n;else if(34===i||39===i||92===i)a+="\\"+String.fromCharCode(i);else{if("x"===k&&126<i&&255>=i)break a;
a+=String.fromCharCode(i)}}else"\\"===k?e=!0:a+=k;c=a}n=c}if("/"===f)for(;d<v&&r(l.charAt(d),na);)n+=l.charAt(d),d+=1;return[n,"TK_STRING"]}if("#"===e){if(1===m.length&&0===m[0].text.length&&"!"===l.charAt(d)){for(n=e;d<v&&"\n"!==e;)e=l.charAt(d),n+=e,d+=1;return[ga(n)+"\n","TK_UNKNOWN"]}if(c="#",d<v&&r(l.charAt(d),oa)){do e=l.charAt(d),c+=e,d+=1;while(d<v&&"#"!==e&&"="!==e);return"#"===e||("["===l.charAt(d)&&"]"===l.charAt(d+1)?(c+="[]",d+=2):"{"===l.charAt(d)&&"}"===l.charAt(d+1)&&(c+="{}",d+=2)),
[c,"TK_WORD"]}}if("<"===e&&"<\!--"===l.substring(d-1,d+3)){d+=3;for(e="<\!--";"\n"!==l.charAt(d)&&d<v;)e+=l.charAt(d),d++;return b.in_html_comment=!0,[e,"TK_COMMENT"]}if("-"===e&&b.in_html_comment&&"--\>"===l.substring(d-1,d+2))return b.in_html_comment=!1,d+=2,["--\>","TK_COMMENT"];if("."===e)return[e,"TK_DOT"];if(r(e,W)){for(;d<v&&r(e+l.charAt(d),W)&&!(e+=l.charAt(d),d+=1,d>=v););return","===e?[e,"TK_COMMA"]:"="===e?[e,"TK_EQUALS"]:[e,"TK_OPERATOR"]}return[e,"TK_UNKNOWN"]}function pa(){if(fa()||
!L||aa(b.mode)||"TK_OPERATOR"===g&&"--"!==b.last_text&&"++"!==b.last_text||"TK_EQUALS"===g||!H&&"TK_RESERVED"===g&&r(b.last_text,["var","let","const","set","get"])||i(),b.do_block&&!b.do_while){if("TK_RESERVED"===s&&"while"===k){j=!0;q();j=!0;b.do_while=!0;return}i();b.do_block=!1}if(b.if_block&&!("TK_RESERVED"===s&&"else"===k)){for(;b.mode===t;)M();b.if_block=!1}if("TK_RESERVED"===s&&("case"===k||"default"===k&&b.in_case_statement)){i();if(b.case_body||z)0<b.indentation_level&&(!b.parent||b.indentation_level>
b.parent.indentation_level)&&(b.indentation_level-=1),b.case_body=!1;q();b.in_case=!0;b.in_case_statement=!0}else if("TK_RESERVED"===s&&"function"===k&&((r(b.last_text,["}",";"])||T()&&!r(b.last_text,["{",":","=",","]))&&((T()?1===m.length?!0:0===m[m.length-2].text.length:!1)||b.had_comment||(i(),i(!0))),"TK_RESERVED"===g||"TK_WORD"===g?"TK_RESERVED"===g&&r(b.last_text,["get","set","new","return"])?j=!0:i():"TK_OPERATOR"===g||"="===b.last_text?j=!0:aa(b.mode)||i()),("TK_COMMA"===g||"TK_START_EXPR"===
g||"TK_EQUALS"===g||"TK_OPERATOR"===g)&&(E()||Q()),"TK_RESERVED"===s&&"function"===k)q(),b.last_word=k;else{if(D="NONE","TK_END_BLOCK"===g?"TK_RESERVED"===s&&r(k,["else","catch","finally"])?"expand"===w||"end-expand"===w?D="NEWLINE":(D="SPACE",j=!0):D="NEWLINE":"TK_SEMICOLON"===g&&b.mode===J?D="NEWLINE":"TK_SEMICOLON"===g&&aa(b.mode)?D="SPACE":"TK_STRING"===g?D="NEWLINE":"TK_RESERVED"===g||"TK_WORD"===g?D="SPACE":"TK_START_BLOCK"===g?D="NEWLINE":"TK_END_EXPR"===g&&(j=!0,D="NEWLINE"),"TK_RESERVED"===
s&&r(k,X)&&")"!==b.last_text&&(D="else"===b.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===s&&r(k,["else","catch","finally"]))if("TK_END_BLOCK"!==g||"expand"===w||"end-expand"===w)i();else{B(!0);var d=m[m.length-1];"}"!==d.text[d.text.length-1]&&i();j=!0}else"NEWLINE"===D?"TK_RESERVED"===g&&ba(b.last_text)?j=!0:"TK_END_EXPR"!==g?"TK_START_EXPR"===g&&"TK_RESERVED"===s&&r(k,["var","let","const"])||":"===b.last_text||("TK_RESERVED"===s&&"if"===k&&"else"===b.last_word&&"{"!==b.last_text?j=!0:i()):"TK_RESERVED"===
s&&r(k,X)&&")"!==b.last_text&&i():b.mode===x&&","===b.last_text&&"}"===Y?i():"SPACE"===D&&(j=!0);q();b.last_word=k;"TK_RESERVED"===s&&"do"===k&&(b.do_block=!0);"TK_RESERVED"===s&&"if"===k&&(b.if_block=!0)}}var l,m,k,s,g,Y,K,b,C,ea,ha,na,W,d,X,ma,oa,D,L,R,j,v,G,V,qa,U="";ha=["\n","\r","\t"," "];na="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_$".split("");oa="0123456789".split("");W="+ - * / % & ++ -- = += -= *= /= %= == === != !== > < >= <= >> << >>> >>>= >>= <<= && &= | || ! , : ? ^ ^= |= :: =>";
W+=" <%= <% %> <?= <? ?>";W=W.split(" ");X="continue try throw return var let const if switch case default for while break function".split(" ");ma=X.concat("do in else get set new catch finally typeof".split(" "));J="BlockStatement";t="Statement";f="ObjectLiteral";x="ArrayLiteral";o="ForInitializer";F="Conditional";A="Expression";qa={TK_START_EXPR:function(){fa();var d=A;if("["===k){if("TK_WORD"===g||")"===b.last_text){"TK_RESERVED"===g&&r(b.last_text,X)&&(j=!0);u(d);q();b.indentation_level+=1;N&&
(j=!0);return}d=x;b.mode===x&&("["===b.last_text||","===b.last_text&&("]"===Y||"}"===Y))&&(a||i())}else"TK_RESERVED"===g&&"for"===b.last_text?d=o:"TK_RESERVED"===g&&r(b.last_text,["if","while"])&&(d=F);";"===b.last_text||"TK_START_BLOCK"===g?i():"TK_END_EXPR"===g||"TK_START_EXPR"===g||"TK_END_BLOCK"===g||"."===b.last_text?(Q(L),R=!1):"TK_RESERVED"===g&&"("===k||"TK_WORD"===g||"TK_OPERATOR"===g?"TK_RESERVED"===g&&("function"===b.last_word||"typeof"===b.last_word)?z&&(j=!0):"TK_RESERVED"===g&&(r(b.last_text,
X)||"catch"===b.last_text)&&S&&(j=!0):j=!0;"("===k&&("TK_EQUALS"===g||"TK_OPERATOR"===g)&&(E()||Q());u(d);q();N&&(j=!0);b.indentation_level+=1},TK_END_EXPR:function(){for(;b.mode===t;)M();b.multiline_frame&&(Q("]"===k&&b.mode===x&&!a),R=!1);N&&("TK_START_EXPR"!==g||Z?j=!0:(B(),j=!1));"]"===k&&a?(q(),M()):(M(),q());ka(C);b.do_while&&C.mode===F&&(C.mode=A,b.do_block=!1,b.do_while=!1)},TK_START_BLOCK:function(){u(J);var a;a:{a=d;for(var e=l.charAt(a);r(e,ha)&&"}"!==e;){if(a++,a>=v){a=!1;break a}e=l.charAt(a)}a=
"}"===e}a=a&&"function"===b.last_word&&"TK_END_EXPR"===g;"expand"===w?"TK_OPERATOR"!==g&&(a||"TK_EQUALS"===g||"TK_RESERVED"===g&&ba(b.last_text)&&"else"!==b.last_text)?j=!0:i(!1,!0):"TK_OPERATOR"!==g&&"TK_START_EXPR"!==g?"TK_START_BLOCK"===g?i():j=!0:C.mode===x&&","===b.last_text&&("}"===Y?j=!0:i());q();b.indentation_level+=1},TK_END_BLOCK:function(){for(;b.mode===t;)M();var d="TK_START_BLOCK"===g;"expand"===w?d||i():d||(b.mode===x&&a?(a=!1,i(),a=!0):i());M();q()},TK_WORD:pa,TK_RESERVED:pa,TK_SEMICOLON:function(){for(fa()&&
(j=!1);b.mode===t&&!b.if_block&&!b.do_block;)M();q();b.mode===f&&(b.mode=J)},TK_STRING:function(){fa()?j=!0:"TK_RESERVED"===g||"TK_WORD"===g?j=!0:"TK_COMMA"===g||"TK_START_EXPR"===g||"TK_EQUALS"===g||"TK_OPERATOR"===g?E()||Q():i();q()},TK_EQUALS:function(){b.declaration_statement&&(b.declaration_assignment=!0);j=!0;q();j=!0},TK_OPERATOR:function(){var d=!0,e=!0;"TK_RESERVED"===g&&ba(b.last_text)?(j=!0,q()):"*"===k&&"TK_DOT"===g&&!Y.match(/^\d+$/)?q():":"===k&&b.in_case?(b.case_body=!0,b.indentation_level+=
1,q(),i(),b.in_case=!1):"::"===k?q():(L&&("--"===k||"++"===k)&&i(),"TK_OPERATOR"===g&&Q(),r(k,["--","++","!"])||r(k,["-","+"])&&(r(g,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||r(b.last_text,X)||","===b.last_text)?(d=!1,e=!1,";"===b.last_text&&aa(b.mode)&&(d=!0),"TK_RESERVED"===g&&(d=!0),(b.mode===J||b.mode===t)&&("{"===b.last_text||";"===b.last_text)&&i()):":"===k?0===b.ternary_depth?(b.mode===J&&(b.mode=f),d=!1):b.ternary_depth-=1:"?"===k&&(b.ternary_depth+=1),j=j||d,q(),j=e)},
TK_COMMA:function(){b.declaration_statement?(aa(b.parent.mode)&&(b.declaration_assignment=!1),q(),b.declaration_assignment?(b.declaration_assignment=!1,i(!1,!0)):j=!0):"TK_END_BLOCK"===g&&b.mode!==A?(q(),b.mode===f&&"}"===b.last_text?i():j=!0):b.mode===f?(q(),i()):(q(),j=!0)},TK_BLOCK_COMMENT:function(){var b;b=k;b=b.replace(/\x0d/g,"");for(var d=[],a=b.indexOf("\n");-1!==a;)d.push(b.substring(0,a)),b=b.substring(a+1),a=b.indexOf("\n");b=(b.length&&d.push(b),d);var o,d=!1;i(!1,!0);if(1<b.length){a:{for(var a=
b.slice(1),f=0;f<a.length;f++)if(o=ga(a[f]),"*"!==o.charAt(0)){o=!1;break a}o=!0}o&&(d=!0)}q(b[0]);for(o=1;o<b.length;o++)i(!1,!0),d?q(" "+ga(b[o])):m[m.length-1].text.push(b[o]);i(!1,!0)},TK_INLINE_COMMENT:function(){j=!0;q();j=!0},TK_COMMENT:function(){L?i(!1,!0):B(!0);j=!0;q();i(!1,!0)},TK_DOT:function(){"TK_RESERVED"===g&&ba(b.last_text)?j=!0:Q(")"===b.last_text&&$);q()},TK_UNKNOWN:function(){q();"\n"===k[k.length-1]&&i()}};c=c?c:{};P=O=y=$=Z=S=N=w=z=I=p=a=H=da=void 0;void 0!==c.space_after_anon_function&&
void 0===c.jslint_happy&&(c.jslint_happy=c.space_after_anon_function);void 0!==c.braces_on_own_line&&(w=c.braces_on_own_line?"expand":"collapse");w=c.brace_style?c.brace_style:w?w:"collapse";"expand-strict"===w&&(w="expand");y=c.indent_size?parseInt(c.indent_size,10):4;O=c.indent_char?c.indent_char:" ";H=void 0===c.preserve_newlines?!0:c.preserve_newlines;$=void 0===c.break_chained_methods?!1:c.break_chained_methods;P=void 0===c.max_preserve_newlines?0:parseInt(c.max_preserve_newlines,10);N=void 0===
c.space_in_paren?!1:c.space_in_paren;Z=void 0===c.space_in_empty_paren?!1:c.space_in_empty_paren;z=void 0===c.jslint_happy?!1:c.jslint_happy;a=void 0===c.keep_array_indentation?!1:c.keep_array_indentation;S=void 0===c.space_before_conditional?!0:c.space_before_conditional;I=void 0===c.unescape_strings?!1:c.unescape_strings;da=void 0===c.wrap_line_length?0:parseInt(c.wrap_line_length,10);p=void 0===c.e4x?!1:c.e4x;c.indent_with_tabs&&(O="\t",y=1);for(K="";0<y;)K+=O,y-=1;for(;h&&(" "===h.charAt(0)||
"\t"===h.charAt(0));)U+=h.charAt(0),h=h.substring(1);l=h;v=h.length;g="TK_START_BLOCK";Y="";m=[{text:[]}];j=R=!1;V=[];ea=[];u(J);d=0;this.beautify=function(){for(var d,e,o;;){if(d=la(),k=d[0],s=d[1],"TK_EOF"===s){for(;b.mode===t;)M();break}if(o=a&&b.mode===x,L=0<G,o)for(e=0;e<G;e+=1)i(0<e);else if(P&&G>P&&(G=P),H&&1<G){i();for(e=1;e<G;e+=1)i(!0)}qa[s]();"TK_INLINE_COMMENT"!==s&&"TK_COMMENT"!==s&&"TK_BLOCK_COMMENT"!==s&&"TK_UNKNOWN"!==s&&(Y=b.last_text,g=s,b.last_text=k);b.had_comment="TK_INLINE_COMMENT"===
s||"TK_COMMENT"===s||"TK_BLOCK_COMMENT"===s}d=m[0].text.join("");for(e=1;e<m.length;e++)d+="\n"+m[e].text.join("");return d.replace(/[\r\n ]+$/,"")}}var ca={};(function(h){var c=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ--ℝℤΩℨK--ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA--zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),
p=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ--ℝℤΩℨK--ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA--zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍--_]");
h.isIdentifierStart=function(h){return 65>h?36===h:91>h?!0:97>h?95===h:123>h?!0:170<=h&&c.test(String.fromCharCode(h))};h.isIdentifierChar=function(c){return 48>c?36===c:58>c?!0:65>c?!1:91>c?!0:97>c?95===c:123>c?!0:170<=c&&p.test(String.fromCharCode(c))}})(ca);"function"==typeof define&&define.amd?define([],function(){return p}):"undefined"!=typeof exports?exports.js_beautify=p:"undefined"!=typeof window?window.js_beautify=p:"undefined"!=typeof global&&(global.js_beautify=p)})();
(function(){function p(h,c,p,H){var a,E,I,z,w,N,S,Z,$,y,O,P,x,t,A,c=c||{};(void 0===c.wrap_line_length||0===parseInt(c.wrap_line_length,10))&&void 0!==c.max_char&&0!==parseInt(c.max_char,10)&&(c.wrap_line_length=c.max_char);E=c.indent_inner_html||!1;I=parseInt(c.indent_size||4,10);z=c.indent_char||" ";N=c.brace_style||"collapse";w=0===parseInt(c.wrap_line_length,10)?32786:parseInt(c.wrap_line_length||250,10);S=c.unformatted||"a span bdo em strong dfn code samp kbd var cite abbr acronym q sub sup tt i b big small u s strike font ins del pre address dt h1 h2 h3 h4 h5 h6".split(" ");
$=(Z=c.preserve_newlines||!0,parseInt(c.max_preserve_newlines||32786,10));y=c.indent_handlebars||!1;a=new function(){return this.pos=0,this.token="",this.current_mode="CONTENT",this.tags={parent:"parent1",parentcount:1,parent1:""},this.tag_type="",this.token_text=this.last_token=this.last_text=this.token_type="",this.newlines=0,this.indent_content=E,this.Utils={whitespace:["\n","\r","\t"," "],single_token:"br input link meta !doctype basefont base area hr wbr param img isindex ?xml embed ?php ? ?=".split(" "),
extra_liners:["head","body","/html"],in_array:function(a,c){for(var f=0;f<c.length;f++)if(a===c[f])return!0;return!1}},this.traverse_whitespace=function(){var a="";if(a=this.input.charAt(this.pos),this.Utils.in_array(a,this.Utils.whitespace)){for(this.newlines=0;this.Utils.in_array(a,this.Utils.whitespace);)Z&&"\n"===a&&this.newlines<=$&&(this.newlines+=1),this.pos++,a=this.input.charAt(this.pos);return!0}return!1},this.get_content=function(){for(var a="",c=[],f=!1,h;"<"!==this.input.charAt(this.pos);){if(this.pos>=
this.input.length)return c.length?c.join(""):["","TK_EOF"];if(this.traverse_whitespace())c.length&&(f=!0);else{if(y)if(h=this.input.substr(this.pos,3),"{{#"===h||"{{/"===h)break;else if("{{"===this.input.substr(this.pos,2)&&"{{else}}"===this.get_tag(!0))break;a=this.input.charAt(this.pos);this.pos++;f&&(this.line_char_count>=this.wrap_line_length?(this.print_newline(!1,c),this.print_indentation(c)):(this.line_char_count++,c.push(" ")),f=!1);this.line_char_count++;c.push(a)}}return c.length?c.join(""):
""},this.get_contents_to=function(a){var c,f;if(this.pos===this.input.length)return["","TK_EOF"];a=RegExp("</"+a+"\\s*>","igm");return a.lastIndex=this.pos,c=a.exec(this.input),f=c?c.index:this.input.length,this.pos<f&&(this.input.substring(this.pos,f),this.pos=f),""},this.record_tag=function(a){this.tags[a+"count"]?(this.tags[a+"count"]++,this.tags[a+this.tags[a+"count"]]=this.indent_level):(this.tags[a+"count"]=1,this.tags[a+this.tags[a+"count"]]=this.indent_level);this.tags[a+this.tags[a+"count"]+
"parent"]=this.tags.parent;this.tags.parent=a+this.tags[a+"count"]},this.retrieve_tag=function(a){if(this.tags[a+"count"]){for(var c=this.tags.parent;c&&a+this.tags[a+"count"]!==c;)c=this.tags[c+"parent"];c&&(this.indent_level=this.tags[a+this.tags[a+"count"]],this.tags.parent=this.tags[c+"parent"]);delete this.tags[a+this.tags[a+"count"]+"parent"];delete this.tags[a+this.tags[a+"count"]];1===this.tags[a+"count"]?delete this.tags[a+"count"]:this.tags[a+"count"]--}},this.indent_to_tag=function(a){if(this.tags[a+
"count"]){for(var c=this.tags.parent;c&&a+this.tags[a+"count"]!==c;)c=this.tags[c+"parent"];c&&(this.indent_level=this.tags[a+this.tags[a+"count"]])}},this.get_tag=function(a){var c="",f=[],h="",p=!1,B,w,t,x=this.pos,z=this.line_char_count,i,q,A,u,a=void 0!==a?a:!1;do{if(this.pos>=this.input.length)return a&&(this.pos=x,this.line_char_count=z),f.length?f.join(""):["","TK_EOF"];if(c=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(c,this.Utils.whitespace))p=!0;else{if(("'"===c||'"'===c)&&
(c+=this.get_unformatted(c),p=!0),"="===c&&(p=!1),f.length&&"="!==f[f.length-1]&&">"!==c&&p&&(this.line_char_count>=this.wrap_line_length?(this.print_newline(!1,f),this.print_indentation(f)):(f.push(" "),this.line_char_count++),p=!1),y&&"<"===t&&"{{"===c+this.input.charAt(this.pos)&&(c+=this.get_unformatted("}}"),f.length&&" "!==f[f.length-1]&&"<"!==f[f.length-1]&&(c=" "+c),p=!0),"<"!==c||t||(B=this.pos-1,t="<"),y&&!t&&2<=f.length&&"{"===f[f.length-1]&&"{"==f[f.length-2]&&(B="#"===c||"/"===c?this.pos-
3:this.pos-2,t="{"),this.line_char_count++,f.push(c),f[1]&&"!"===f[1]){f=[this.get_comment(B)];break}if(y&&"{"===t&&2<f.length&&"}"===f[f.length-2]&&"}"===f[f.length-1])break}}while(">"!==c);return i=f.join(""),q=-1!==i.indexOf(" ")?i.indexOf(" "):"{"===i[0]?i.indexOf("}"):i.indexOf(">"),A="<"!==i[0]&&y?"#"===i[2]?3:2:1,u=i.substring(A,q).toLowerCase(),"/"===i.charAt(i.length-2)||this.Utils.in_array(u,this.Utils.single_token)?a||(this.tag_type="SINGLE"):y&&"{"===i[0]&&"else"===u?a||(this.indent_to_tag("if"),
this.tag_type="HANDLEBARS_ELSE",this.indent_content=!0,this.traverse_whitespace()):"script"===u?a||(this.record_tag(u),this.tag_type="SCRIPT"):"style"===u?a||(this.record_tag(u),this.tag_type="STYLE"):this.is_unformatted(u,S)?(h=this.get_unformatted("</"+u+">",i),f.push(h),0<B&&this.Utils.in_array(this.input.charAt(B-1),this.Utils.whitespace)&&f.splice(0,0,this.input.charAt(B-1)),w=this.pos-1,this.Utils.in_array(this.input.charAt(w+1),this.Utils.whitespace)&&f.push(this.input.charAt(w+1)),this.tag_type=
"SINGLE"):"!"===u.charAt(0)?a||(this.tag_type="SINGLE",this.traverse_whitespace()):a||("/"===u.charAt(0)?(this.retrieve_tag(u.substring(1)),this.tag_type="END",this.traverse_whitespace()):(this.record_tag(u),"html"!==u.toLowerCase()&&(this.indent_content=!0),this.tag_type="START",this.traverse_whitespace()),this.Utils.in_array(u,this.Utils.extra_liners)&&(this.print_newline(!1,this.output),this.output.length&&"\n"!==this.output[this.output.length-2]&&this.print_newline(!0,this.output))),a&&(this.pos=
x,this.line_char_count=z),f.join("")},this.get_comment=function(a){var c="",f=">",h=!1;this.pos=a;input_char=this.input.charAt(this.pos);for(this.pos++;this.pos<=this.input.length&&!(c+=input_char,c[c.length-1]===f[f.length-1]&&-1!==c.indexOf(f));)!h&&10>c.length&&(0===c.indexOf("<![if")?(f="<![endif]>",h=!0):0===c.indexOf("<![cdata[")?(f="]]\>",h=!0):0===c.indexOf("<![")?(f="]>",h=!0):0===c.indexOf("<\!--")&&(f="--\>",h=!0)),input_char=this.input.charAt(this.pos),this.pos++;return c},this.get_unformatted=
function(a,c){if(c&&-1!==c.toLowerCase().indexOf(a))return"";var f="",h="",p=0,B=!0;do{if(this.pos>=this.input.length)break;if(f=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(f,this.Utils.whitespace)){if(!B){this.line_char_count--;continue}if("\n"===f||"\r"===f){h+="\n";this.line_char_count=0;continue}}h+=f;this.line_char_count++;B=!0;y&&"{"===f&&h.length&&"{"===h[h.length-2]&&(h+=this.get_unformatted("}}"),p=h.length)}while(-1===h.toLowerCase().indexOf(a,p));return h},this.get_token=
function(){var a,c,f;return"TK_TAG_SCRIPT"===this.last_token||"TK_TAG_STYLE"===this.last_token?(c=this.last_token.substr(7),a=this.get_contents_to(c),"string"!=typeof a)?a:[a,"TK_"+c]:"CONTENT"===this.current_mode?(a=this.get_content(),"string"!=typeof a?a:[a,"TK_CONTENT"]):"TAG"===this.current_mode?(a=this.get_tag(),"string"!=typeof a?a:(f="TK_TAG_"+this.tag_type,[a,f])):void 0},this.get_full_indent=function(a){return(a=this.indent_level+a||0,1>a)?"":Array(a+1).join(this.indent_string)},this.is_unformatted=
function(a,c){if(!this.Utils.in_array(a,c))return!1;if("a"!==a.toLowerCase()||!this.Utils.in_array("a",c))return!0;var f=(this.get_tag(!0)||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!f||this.Utils.in_array(f,c)?!0:!1},this.printer=function(a,c,f,h,p){this.input=a||"";this.output=[];this.indent_character=c;this.indent_string="";this.indent_size=f;this.brace_style=p;this.indent_level=0;this.wrap_line_length=h;for(a=this.line_char_count=0;a<this.indent_size;a++)this.indent_string+=this.indent_character;
this.print_newline=function(a,c){(this.line_char_count=0,c&&c.length)&&(a||"\n"!==c[c.length-1])&&c.push("\n")};this.print_indentation=function(a){for(var c=0;c<this.indent_level;c++)a.push(this.indent_string),this.line_char_count+=this.indent_string.length};this.print_token=function(a){(a||""!==a)&&this.output.length&&"\n"===this.output[this.output.length-1]&&(this.print_indentation(this.output),a=a.replace(/^\s+/g,""));this.print_token_raw(a)};this.print_token_raw=function(a){a&&""!==a&&(1<a.length&&
"\n"===a[a.length-1]?(this.output.push(a.slice(0,-1)),this.print_newline(!1,this.output)):this.output.push(a));for(a=0;a<this.newlines;a++)this.print_newline(0<a,this.output);this.newlines=0};this.indent=function(){this.indent_level++};this.unindent=function(){0<this.indent_level&&this.indent_level--}},this};for(a.printer(h,z,I,w,N);!(O=a.get_token(),a.token_text=O[0],a.token_type=O[1],"TK_EOF"===a.token_type);){switch(a.token_type){case "TK_TAG_START":a.print_newline(!1,a.output);a.print_token(a.token_text);
a.indent_content&&(a.indent(),a.indent_content=!1);a.current_mode="CONTENT";break;case "TK_TAG_STYLE":case "TK_TAG_SCRIPT":a.print_newline(!1,a.output);a.print_token(a.token_text);a.current_mode="CONTENT";break;case "TK_TAG_END":"TK_CONTENT"===a.last_token&&""===a.last_text&&(P=a.token_text.match(/\w+/)[0],x=null,a.output.length&&(x=a.output[a.output.length-1].match(/(?:<|{{#)\s*(\w+)/)),(null===x||x[1]!==P)&&a.print_newline(!1,a.output));a.print_token(a.token_text);a.current_mode="CONTENT";break;
case "TK_TAG_SINGLE":(h=a.token_text.match(/^\s*<([a-z]+)/i))&&a.Utils.in_array(h[1],S)||a.print_newline(!1,a.output);a.print_token(a.token_text);a.current_mode="CONTENT";break;case "TK_TAG_HANDLEBARS_ELSE":a.print_token(a.token_text);a.indent_content&&(a.indent(),a.indent_content=!1);a.current_mode="CONTENT";break;case "TK_CONTENT":a.print_token(a.token_text);a.current_mode="TAG";break;case "TK_STYLE":case "TK_SCRIPT":""!==a.token_text&&((a.print_newline(!1,a.output),h=a.token_text,A=1,"TK_SCRIPT"===
a.token_type?t="function"==typeof p&&p:"TK_STYLE"===a.token_type&&(t="function"==typeof H&&H),"keep"===c.indent_scripts?A=0:"separate"===c.indent_scripts&&(A=-a.indent_level),I=a.get_full_indent(A),t)?h=t(h.replace(/^\s*/,I),c):(z=h.match(/^\s*/)[0].match(/[^\n\r]*$/)[0].split(a.indent_string).length-1,z=a.get_full_indent(A-z),h=h.replace(/^\s*/,I).replace(/\r\n|\r|\n/g,"\n"+z).replace(/\s+$/,"")),h&&(a.print_token_raw(I+h.replace(/^\s+|\s+$/g,"")),a.print_newline(!1,a.output))),a.current_mode="TAG"}a.last_token=
a.token_type;a.last_text=a.token_text}return a.output.join("")}if("function"==typeof define&&define.amd)define(["./beautify","./beautify-css"],function(h,c){return{html_beautify:function(E,H){return p(E,H,h,c)}}});else if("undefined"!=typeof exports){var E=require("./beautify.js").js_beautify,ca=require("./beautify-css.js").css_beautify;exports.html_beautify=function(h,c){return p(h,c,E,ca)}}else"undefined"!=typeof window?window.html_beautify=function(h,c){return p(h,c,window.js_beautify,window.css_beautify)}:
"undefined"!=typeof global&&(global.html_beautify=function(h,c){return p(h,c,global.js_beautify,global.css_beautify)})})();
(function(){function r(p,b){return(new z(p,b)).beautify()}function z(p,b){var m,V,t,e,ba,w,r,Q,u,H,C,I,A,v,c,o,W,R;function ea(a,f){return{mode:f,last_text:a?a.last_text:"",last_word:a?a.last_word:"",var_line:!1,var_line_tainted:!1,var_line_reindented:!1,in_html_comment:!1,multiline_array:!1,if_block:!1,do_block:!1,do_while:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:a?a.indentation_level+(a.var_line&&a.var_line_reindented?1:0):0,ternary_depth:0}}function fa(a){for(a=void 0===
a?!1:a;n.length&&(" "===n[n.length-1]||n[n.length-1]===D||n[n.length-1]===S||a&&("\n"===n[n.length-1]||"\r"===n[n.length-1]));)n.pop()}function J(a){return a.replace(/^\s\s*|\s\s*$/,"")}function E(){return n.length&&"\n"===n[n.length-1]}function X(a){if(a=void 0===a?!1:a,m&&!a){var f="",d=0,c;a:{c=n.length-1;0>c&&(c+=n.length);c>n.length-1&&(c=n.length-1);for(c++;0<c--;)if(c in n&&"\n"===n[c])break a;c=-1}c+=1;c<n.length&&(f=n.slice(c).join(""),d=f.length+k.length+(h?1:0),d>=m&&(a=!0))}(V&&F||a)&&
!E()&&(g(!1,!0),T=!0,F=!1)}function g(d,f){if(T=!1,h=!1,!f&&";"!==a.last_text)for(;a.mode===v&&!a.if_block;)K();(a.mode===c&&(a.multiline_array=!0),n.length)&&(d||!E())&&n.push("\n")}function ca(d){if(void 0===d?d=1:"number"!=typeof d&&(d=d?1:0),""!==a.last_text)for(var f=0;f<d;f+=1)n.push(D)}function i(d){d=d||k;E()&&(t&&a.mode===c&&L.length?n.push(L.join("")+""):(S&&n.push(S),ca(a.indentation_level),ca(a.var_line&&a.var_line_reindented),ca(T)));T=!1;if(h&&n.length){var f=n[n.length-1];E()||" "===
f||f===D||n.push(" ")}h=!1;n.push(d)}function G(d){a?($.push(a),B=a):B=ea(null,d);a=ea(B,d)}function Y(a){return q(a,[o,W,R])}function K(){0<$.length&&(B=a,a=$.pop())}function z(){var d;"do"===a.last_text||"else"===a.last_text&&"if"!==k||"TK_END_EXPR"===j&&(B.mode===W||B.mode===R)?(X(),G(v),a.indentation_level+=1,d=(T=!1,!0)):d=!1;return d}function U(a){return q(a,"case return do if throw else".split(" "))}function q(a,d){for(var c=0;c<d.length;c+=1)if(d[c]===a)return!0;return!1}function ga(a){for(var f=
d,c=l.charAt(f);q(c,da)&&c!==a;){if(f++,f>=s)return!1;c=l.charAt(f)}return c===a}function ha(){var c,f,b,o,g;if(y=0,d>=s)return["","TK_EOF"];F=!1;L=[];f=l.charAt(d);for(d+=1;q(f,da);){if("\n"===f?(y+=1,L=[]):y&&(f===D?L.push(D):"\r"!==f&&L.push(" ")),d>=s)return["","TK_EOF"];f=l.charAt(d);d+=1}if(q(f,aa)){if(d<s)for(;q(l.charAt(d),aa)&&!(f+=l.charAt(d),d+=1,d===s););return d!==s&&f.match(/^[0-9]+[Ee]$/)&&("-"===l.charAt(d)||"+"===l.charAt(d))?(b=l.charAt(d),d+=1,o=ha(),f+=b+o[0],[f,"TK_WORD"]):"in"===
f?[f,"TK_OPERATOR"]:[f,"TK_WORD"]}if("("===f||"["===f)return[f,"TK_START_EXPR"];if(")"===f||"]"===f)return[f,"TK_END_EXPR"];if("{"===f)return[f,"TK_START_BLOCK"];if("}"===f)return[f,"TK_END_BLOCK"];if(";"===f)return[f,"TK_SEMICOLON"];if("/"===f){if(b="",o=!0,"*"===l.charAt(d)){if(d+=1,d<s)for(;d<s&&!("*"===l.charAt(d)&&l.charAt(d+1)&&"/"===l.charAt(d+1))&&!(f=l.charAt(d),b+=f,("\n"===f||"\r"===f)&&(o=!1),d+=1,d>=s););return d+=2,o&&0===y?["/*"+b+"*/","TK_INLINE_COMMENT"]:["/*"+b+"*/","TK_BLOCK_COMMENT"]}if("/"===
l.charAt(d)){for(b=f;"\r"!==l.charAt(d)&&"\n"!==l.charAt(d)&&!(b+=l.charAt(d),d+=1,d>=s););return[b,"TK_COMMENT"]}}if("'"===f||'"'===f||("/"===f||e&&"<"===f&&l.slice(d-1).match(/^<[a-zA-Z:0-9]+\s*([a-zA-Z:0-9]+="[^"]*"\s*)*\/?\s*>/))&&("TK_WORD"===j&&U(a.last_text)||"TK_END_EXPR"===j&&q(B.mode,[R,W])||q(j,"TK_COMMENT TK_START_EXPR TK_START_BLOCK TK_END_BLOCK TK_OPERATOR TK_EQUALS TK_EOF TK_SEMICOLON TK_COMMA".split(" ")))){b=f;var i=o=!1;if(c=f,d<s)if("/"===b)for(g=!1;o||g||l.charAt(d)!==b;){if(c+=
l.charAt(d),o?o=!1:(o="\\"===l.charAt(d),"["===l.charAt(d)?g=!0:"]"===l.charAt(d)&&(g=!1)),d+=1,d>=s)return[c,"TK_STRING"]}else if(e&&"<"===b){f=/<(\/?)([a-zA-Z:0-9]+)\s*([a-zA-Z:0-9]+="[^"]*"\s*)*(\/?)\s*>/g;o=l.slice(d-1);var h=f.exec(o);if(h&&0===h.index){b=h[2];for(c=0;h;){var i=!!h[1],k=!!h[h.length-1];if(h[2]!==b||k||(i?--c:++c),0>=c)break;h=f.exec(o)}return g=h?h.index+h[0].length:o.length,d+=g-1,[o.slice(0,g),"TK_STRING"]}}else for(;o||l.charAt(d)!==b;)if(c+=l.charAt(d),o?(("x"===l.charAt(d)||
"u"===l.charAt(d))&&(i=!0),o=!1):o="\\"===l.charAt(d),d+=1,d>=s)return[c,"TK_STRING"];d+=1;c+=b;if(i&&ba){a:{g=c;f=!1;o="";h=0;c="";for(i=0;f||h<g.length;)if(k=g.charAt(h),h++,f){if(f=!1,"x"===k)c=g.substr(h,2),h+=2;else if("u"===k)c=g.substr(h,4),h+=4;else{o+="\\"+k;continue}if(!c.match(/^[0123456789abcdefABCDEF]+$/))break a;if(i=parseInt(c,16),0<=i&&32>i)o+="x"===k?"\\x"+c:"\\u"+c;else if(34===i||39===i||92===i)o+="\\"+String.fromCharCode(i);else{if("x"===k&&126<i&&255>=i)break a;o+=String.fromCharCode(i)}}else"\\"===
k?f=!0:o+=k;g=o}c=g}if("/"===b)for(;d<s&&q(l.charAt(d),aa);)c+=l.charAt(d),d+=1;return[c,"TK_STRING"]}if("#"===f){if(0===n.length&&"!"===l.charAt(d)){for(c=f;d<s&&"\n"!==f;)f=l.charAt(d),c+=f,d+=1;return[J(c)+"\n","TK_UNKNOWN"]}if(b="#",d<s&&q(l.charAt(d),ia)){do f=l.charAt(d),b+=f,d+=1;while(d<s&&"#"!==f&&"="!==f);return"#"===f||("["===l.charAt(d)&&"]"===l.charAt(d+1)?(b+="[]",d+=2):"{"===l.charAt(d)&&"}"===l.charAt(d+1)&&(b+="{}",d+=2)),[b,"TK_WORD"]}}if("<"===f&&"<\!--"===l.substring(d-1,d+3)){d+=
3;for(f="<\!--";"\n"!==l.charAt(d)&&d<s;)f+=l.charAt(d),d++;return a.in_html_comment=!0,[f,"TK_COMMENT"]}if("-"===f&&a.in_html_comment&&"--\>"===l.substring(d-1,d+2))return a.in_html_comment=!1,d+=2,["--\>","TK_COMMENT"];if("."===f)return[f,"TK_DOT"];if(q(f,M)){for(;d<s&&q(f+l.charAt(d),M)&&!(f+=l.charAt(d),d+=1,d>=s););return","===f?[f,"TK_COMMA"]:"="===f?[f,"TK_EQUALS"]:[f,"TK_OPERATOR"]}return[f,"TK_UNKNOWN"]}var l,n,k,N,j,O,D,a,B,$,da,aa,M,d,P,ia,x,Z,F,T,h,s,y,L,ja,S="";da=["\n","\r","\t"," "];
aa="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_$".split("");ia="0123456789".split("");M="+ - * / % & ++ -- = += -= *= /= %= == === != !== > < >= <= >> << >>> >>>= >>= <<= && &= | || ! !! , : ? ^ ^= |= ::";M+=" <%= <% %> <?= <? ?>";M=M.split(" ");P="continue try throw return var if switch case default for while break function".split(" ");v="Statement";c="ArrayLiteral";W="ForInitializer";R="Conditional";o="Expression";ja={TK_START_EXPR:function(){if(z(),"["===k){if("TK_WORD"===j||
")"===a.last_text){q(a.last_text,P)&&(h=!0);G(o);i();w&&(h=!0);return}a.mode===c&&("["===a.last_text||","===a.last_text&&("]"===O||"}"===O))&&(t||g())}else"for"===a.last_text?G(W):q(a.last_text,["if","while"])?G(R):G(o);";"===a.last_text||"TK_START_BLOCK"===j?g():"TK_END_EXPR"===j||"TK_START_EXPR"===j||"TK_END_BLOCK"===j||"."===a.last_text?F&&g():"TK_WORD"!==j&&"TK_OPERATOR"!==j?h=!0:"function"===a.last_word||"typeof"===a.last_word?r&&(h=!0):(q(a.last_text,P)||"catch"===a.last_text)&&Q&&(h=!0);"("===
k&&("TK_EQUALS"===j||"TK_OPERATOR"===j)&&"ObjectLiteral"!==a.mode&&X();i();w&&(h=!0);"["===k&&(G(c),a.indentation_level+=1);Z&&(Z=!1,a.indentation_level+=1)},TK_END_EXPR:function(){for(;a.mode===v;)K();"]"===k&&a.mode===c&&a.multiline_array&&!t&&g();K();w&&(h=!0);i();a.do_while&&B.mode===R&&(B.mode=o,a.do_block=!1,a.do_while=!1)},TK_START_BLOCK:function(){G("BlockStatement");var d=ga("}")&&"function"===a.last_word&&"TK_END_EXPR"===j;"expand"===u?"TK_OPERATOR"!==j&&(d||"TK_EQUALS"===j||U(a.last_text)&&
"else"!==a.last_text)?h=!0:g():"TK_OPERATOR"!==j&&"TK_START_EXPR"!==j?"TK_START_BLOCK"===j?g():h=!0:B.mode===c&&","===a.last_text&&("}"===O?h=!0:g());i();a.indentation_level+=1},TK_END_BLOCK:function(){for(;a.mode===v;)K();K();var d="TK_START_BLOCK"===j;"expand"===u?d||g():d||(a.mode===c&&t?(t=!1,g(),t=!0):g());i()},TK_WORD:function(){if(z()||F&&!Y(a.mode)&&("TK_OPERATOR"!==j||"--"===a.last_text||"++"===a.last_text)&&"TK_EQUALS"!==j&&(V||"var"!==a.last_text)&&g(),a.do_block&&!a.do_while){if("while"===
k){h=!0;i();h=!0;a.do_while=!0;return}g();a.do_block=!1}if(Z&&U(k)&&(Z=!1),a.if_block&&"else"!==k){for(;a.mode===v;)K();a.if_block=!1}"function"===k?(a.var_line&&"TK_EQUALS"!==j&&(a.var_line_reindented=!0),(E()||";"===a.last_text||"}"===a.last_text)&&"{"!==a.last_text&&a.mode!==c&&(E()||g(!0),E()&&0<n.length-1&&"\n"===n[n.length-2]||g(!0)),"TK_WORD"===j?"get"===a.last_text||"set"===a.last_text||"new"===a.last_text||"return"===a.last_text?h=!0:g():"TK_OPERATOR"===j||"="===a.last_text?h=!0:Y(a.mode)||
g(),i(),a.last_word=k):"case"===k||"default"===k&&a.in_case_statement?(g(),(a.case_body||r)&&(a.indentation_level--,a.case_body=!1),i(),a.in_case=!0,a.in_case_statement=!0):(x="NONE","TK_END_BLOCK"===j?q(k,["else","catch","finally"])?"expand"===u||"end-expand"===u?x="NEWLINE":(x="SPACE",h=!0):x="NEWLINE":"TK_SEMICOLON"===j&&"BlockStatement"===a.mode?x="NEWLINE":"TK_SEMICOLON"===j&&Y(a.mode)?x="SPACE":"TK_STRING"===j?x="NEWLINE":"TK_WORD"===j?x="SPACE":"TK_START_BLOCK"===j?x="NEWLINE":"TK_END_EXPR"===
j&&(h=!0,x="NEWLINE"),q(k,P)&&")"!==a.last_text&&(x="else"===a.last_text?"SPACE":"NEWLINE"),("TK_COMMA"===j||"TK_START_EXPR"===j||"TK_EQUALS"===j||"TK_OPERATOR"===j)&&"ObjectLiteral"!==a.mode&&X(),q(k,["else","catch","finally"])?"TK_END_BLOCK"!==j||"expand"===u||"end-expand"===u?g():(fa(!0),"}"!==n[n.length-1]&&g(),h=!0):"NEWLINE"===x?U(a.last_text)?h=!0:"TK_END_EXPR"!==j?("TK_START_EXPR"!==j||"var"!==k)&&":"!==a.last_text&&("if"===k&&"else"===a.last_word&&"{"!==a.last_text?h=!0:(a.var_line=!1,a.var_line_reindented=
!1,g())):q(k,P)&&")"!==a.last_text&&(a.var_line=!1,a.var_line_reindented=!1,g()):a.mode===c&&","===a.last_text&&"}"===O?g():"SPACE"===x&&(h=!0),i(),a.last_word=k,"var"===k&&(a.var_line=!0,a.var_line_reindented=!1,a.var_line_tainted=!1),"do"===k&&(a.do_block=!0),"if"===k&&(a.if_block=!0))},TK_SEMICOLON:function(){for(;a.mode===v&&!a.if_block;)K();i();a.var_line=!1;a.var_line_reindented=!1;"ObjectLiteral"===a.mode&&(a.mode="BlockStatement")},TK_STRING:function(){z()?h=!0:"TK_WORD"===j?h=!0:"TK_COMMA"===
j||"TK_START_EXPR"===j||"TK_EQUALS"===j||"TK_OPERATOR"===j?"ObjectLiteral"!==a.mode&&X():g();i()},TK_EQUALS:function(){a.var_line&&(a.var_line_tainted=!0);h=!0;i();h=!0},TK_OPERATOR:function(){var c=!0,d=!0;U(a.last_text)?(h=!0,i()):"*"===k&&"TK_DOT"===j&&!O.match(/^\d+$/)?i():":"===k&&a.in_case?(a.case_body=!0,a.indentation_level+=1,i(),g(),a.in_case=!1):"::"===k?i():(F&&("--"===k||"++"===k)&&g(),q(k,["--","++","!"])||q(k,["-","+"])&&(q(j,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||
q(a.last_text,P)||","===a.last_text)?(c=!1,d=!1,";"===a.last_text&&Y(a.mode)&&(c=!0),"TK_WORD"===j&&q(a.last_text,P)&&(c=!0),("BlockStatement"===a.mode||a.mode===v)&&("{"===a.last_text||";"===a.last_text)&&g()):":"===k?0===a.ternary_depth?("BlockStatement"===a.mode&&(a.mode="ObjectLiteral"),c=!1):a.ternary_depth-=1:"?"===k&&(a.ternary_depth+=1),h=h||c,i(),h=d)},TK_COMMA:function(){a.var_line?((Y(a.mode)||"TK_END_BLOCK"===j)&&(a.var_line_tainted=!1),a.var_line&&(a.var_line_reindented=!0),i(),a.var_line_tainted?
(a.var_line_tainted=!1,g()):h=!0):"TK_END_BLOCK"===j&&a.mode!==o?(i(),"ObjectLiteral"===a.mode&&"}"===a.last_text?g():h=!0):"ObjectLiteral"===a.mode?(i(),g()):(i(),h=!0)},TK_BLOCK_COMMENT:function(){var a;a=k;a=a.replace(/\x0d/g,"");for(var c=[],d=a.indexOf("\n");-1!==d;)c.push(a.substring(0,d)),a=a.substring(d+1),d=a.indexOf("\n");a=(a.length&&c.push(a),c);var b;a:{c=a.slice(1);for(d=0;d<c.length;d++)if(b=J(c[d]),"*"!==b.charAt(0)){b=!1;break a}b=!0}if(b){g(!1,!0);i(a[0]);for(b=1;b<a.length;b++)g(!1,
!0),i(" "+J(a[b]))}else{1<a.length?g(!1,!0):"TK_END_BLOCK"===j?g(!1,!0):h=!0;i(a[0]);n.push("\n");for(b=1;b<a.length;b++)n.push(a[b]),n.push("\n")}ga("\n")||g(!1,!0)},TK_INLINE_COMMENT:function(){h=!0;i();h=!0},TK_COMMENT:function(){F?g(!1,!0):fa(!0);h=!0;i();g(!1,!0)},TK_DOT:function(){U(a.last_text)?h=!0:X(")"===a.last_text&&H);E()&&(Z=!0);i()},TK_UNKNOWN:function(){i();"\n"===k[k.length-1]&&g()}};b=b?b:{};A=I=C=H=u=Q=r=w=ba=e=t=V=m=void 0;void 0!==b.space_after_anon_function&&void 0===b.jslint_happy&&
(b.jslint_happy=b.space_after_anon_function);void 0!==b.braces_on_own_line&&(u=b.braces_on_own_line?"expand":"collapse");u=b.brace_style?b.brace_style:u?u:"collapse";"expand-strict"===u&&(u="expand");C=b.indent_size?parseInt(b.indent_size,10):4;I=b.indent_char?b.indent_char:" ";V=void 0===b.preserve_newlines?!0:b.preserve_newlines;H=void 0===b.break_chained_methods?!1:b.break_chained_methods;A=void 0===b.max_preserve_newlines?0:parseInt(b.max_preserve_newlines,10);w=void 0===b.space_in_paren?!1:b.space_in_paren;
r=void 0===b.jslint_happy?!1:b.jslint_happy;t=void 0===b.keep_array_indentation?!1:b.keep_array_indentation;Q=void 0===b.space_before_conditional?!0:b.space_before_conditional;ba=void 0===b.unescape_strings?!1:b.unescape_strings;m=void 0===b.wrap_line_length?0:parseInt(b.wrap_line_length,10);e=void 0===b.e4x?!1:b.e4x;for(D="";0<C;)D+=I,C-=1;for(;p&&(" "===p.charAt(0)||"\t"===p.charAt(0));)S+=p.charAt(0),p=p.substring(1);l=p;s=p.length;j="TK_START_BLOCK";O="";n=[];h=T=!1;L=[];$=[];G("BlockStatement");
d=0;this.beautify=function(){for(var d,f,b;!(d=ha(),k=d[0],N=d[1],"TK_EOF"===N);){if(b=t&&a.mode===c,b)for(f=0;f<y;f+=1)g(!0);else if(F=0<y,A&&y>A&&(y=A),V&&1<y){g();for(f=1;f<y;f+=1)g(!0)}ja[N]();"TK_INLINE_COMMENT"!==N&&"TK_COMMENT"!==N&&"TK_UNKNOWN"!==N&&(O=a.last_text,j=N,a.last_text=k)}return S+n.join("").replace(/[\r\n ]+$/,"")}}"function"==typeof define?define(function(p,b){b.js_beautify=r}):"undefined"!=typeof exports?exports.js_beautify=r:"undefined"!=typeof window?window.js_beautify=r:"undefined"!=
typeof global&&(global.js_beautify=r)})();
(function(){function r(b,m,r,t){var e,p,w,z,Q,u,H,C,I,A,v,m=m||{};p=m.indent_size||4;w=m.indent_char||" ";Q=m.brace_style||"collapse";z=0===m.max_char?Infinity:m.max_char||250;u=m.unformatted||"a span bdo em strong dfn code samp kbd var cite abbr acronym q sub sup tt i b big small u s strike font ins del pre address dt h1 h2 h3 h4 h5 h6".split(" ");e=new function(){return this.pos=0,this.token="",this.current_mode="CONTENT",this.tags={parent:"parent1",parentcount:1,parent1:""},this.tag_type="",this.token_text=
this.last_token=this.last_text=this.token_type="",this.Utils={whitespace:["\n","\r","\t"," "],single_token:"br input link meta !doctype basefont base area hr wbr param img isindex ?xml embed ?php ? ?=".split(" "),extra_liners:["head","body","/html"],in_array:function(c,b){for(var e=0;e<b.length;e++)if(c===b[e])return!0;return!1}},this.get_content=function(){for(var c="",b=[],e=!1;"<"!==this.input.charAt(this.pos);){if(this.pos>=this.input.length)return b.length?b.join(""):["","TK_EOF"];if(c=this.input.charAt(this.pos),
this.pos++,this.line_char_count++,this.Utils.in_array(c,this.Utils.whitespace))b.length&&(e=!0),this.line_char_count--;else{if(e){if(this.line_char_count>=this.max_char){b.push("\n");for(e=0;e<this.indent_level;e++)b.push(this.indent_string);this.line_char_count=0}else b.push(" "),this.line_char_count++;e=!1}b.push(c)}}return b.length?b.join(""):""},this.get_contents_to=function(c){var b,e;if(this.pos===this.input.length)return["","TK_EOF"];c=RegExp("</"+c+"\\s*>","igm");return c.lastIndex=this.pos,
b=c.exec(this.input),e=b?b.index:this.input.length,this.pos<e&&(this.input.substring(this.pos,e),this.pos=e),""},this.record_tag=function(c){this.tags[c+"count"]?(this.tags[c+"count"]++,this.tags[c+this.tags[c+"count"]]=this.indent_level):(this.tags[c+"count"]=1,this.tags[c+this.tags[c+"count"]]=this.indent_level);this.tags[c+this.tags[c+"count"]+"parent"]=this.tags.parent;this.tags.parent=c+this.tags[c+"count"]},this.retrieve_tag=function(c){if(this.tags[c+"count"]){for(var b=this.tags.parent;b&&
c+this.tags[c+"count"]!==b;)b=this.tags[b+"parent"];b&&(this.indent_level=this.tags[c+this.tags[c+"count"]],this.tags.parent=this.tags[b+"parent"]);delete this.tags[c+this.tags[c+"count"]+"parent"];delete this.tags[c+this.tags[c+"count"]];1===this.tags[c+"count"]?delete this.tags[c+"count"]:this.tags[c+"count"]--}},this.get_tag=function(c){var b="",e=[],m="",p=!1,r,J,t=this.pos,v=this.line_char_count,g,w,i,c=void 0!==c?c:!1;do{if(this.pos>=this.input.length)return c&&(this.pos=t,this.line_char_count=
v),e.length?e.join(""):["","TK_EOF"];(b=this.input.charAt(this.pos),this.pos++,this.line_char_count++,this.Utils.in_array(b,this.Utils.whitespace))?(p=!0,this.line_char_count--):(("'"===b||'"'===b)&&(e[1]&&"!"===e[1]||(b+=this.get_unformatted(b),p=!0)),"="===b&&(p=!1),e.length&&"="!==e[e.length-1]&&">"!==b&&p&&(this.line_char_count>=this.max_char?(this.print_newline(!1,e),this.line_char_count=0):(e.push(" "),this.line_char_count++),p=!1),"<"===b&&(r=this.pos-1),e.push(b))}while(">"!==b);return g=
e.join(""),w=-1!==g.indexOf(" ")?g.indexOf(" "):g.indexOf(">"),i=g.substring(1,w).toLowerCase(),"/"===g.charAt(g.length-2)||this.Utils.in_array(i,this.Utils.single_token)?c||(this.tag_type="SINGLE"):"script"===i?c||(this.record_tag(i),this.tag_type="SCRIPT"):"style"===i?c||(this.record_tag(i),this.tag_type="STYLE"):this.is_unformatted(i,u)?(m=this.get_unformatted("</"+i+">",g),e.push(m),0<r&&this.Utils.in_array(this.input.charAt(r-1),this.Utils.whitespace)&&e.splice(0,0,this.input.charAt(r-1)),J=
this.pos-1,this.Utils.in_array(this.input.charAt(J+1),this.Utils.whitespace)&&e.push(this.input.charAt(J+1)),this.tag_type="SINGLE"):"!"===i.charAt(0)?-1!==i.indexOf("[if")?(-1!==g.indexOf("!IE")&&(m=this.get_unformatted("--\>",g),e.push(m)),c||(this.tag_type="START")):-1!==i.indexOf("[endif")?(this.tag_type="END",this.unindent()):-1!==i.indexOf("[cdata[")?(m=this.get_unformatted("]]\>",g),e.push(m),c||(this.tag_type="SINGLE")):(m=this.get_unformatted("--\>",g),e.push(m),this.tag_type="SINGLE"):c||
("/"===i.charAt(0)?(this.retrieve_tag(i.substring(1)),this.tag_type="END"):(this.record_tag(i),this.tag_type="START"),this.Utils.in_array(i,this.Utils.extra_liners)&&this.print_newline(!0,this.output)),c&&(this.pos=t,this.line_char_count=v),e.join("")},this.get_unformatted=function(c,b){if(b&&-1!==b.toLowerCase().indexOf(c))return"";var e="",m="",p=!0;do{if(this.pos>=this.input.length)break;if(e=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(e,this.Utils.whitespace)){if(!p){this.line_char_count--;
continue}if("\n"===e||"\r"===e){m+="\n";this.line_char_count=0;continue}}m+=e;this.line_char_count++;p=!0}while(-1===m.toLowerCase().indexOf(c));return m},this.get_token=function(){var c,b,e;return"TK_TAG_SCRIPT"===this.last_token||"TK_TAG_STYLE"===this.last_token?(b=this.last_token.substr(7),c=this.get_contents_to(b),"string"!=typeof c)?c:[c,"TK_"+b]:"CONTENT"===this.current_mode?(c=this.get_content(),"string"!=typeof c?c:[c,"TK_CONTENT"]):"TAG"===this.current_mode?(c=this.get_tag(),"string"!=typeof c?
c:(e="TK_TAG_"+this.tag_type,[c,e])):void 0},this.get_full_indent=function(c){return(c=this.indent_level+c||0,1>c)?"":Array(c+1).join(this.indent_string)},this.is_unformatted=function(c,b){if(!this.Utils.in_array(c,b))return!1;if("a"!==c.toLowerCase()||!this.Utils.in_array("a",b))return!0;var e=(this.get_tag(!0)||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!e||this.Utils.in_array(e,b)?!0:!1},this.printer=function(c,b,e,m,p){this.input=c||"";this.output=[];this.indent_character=b;this.indent_string=
"";this.indent_size=e;this.brace_style=p;this.indent_level=0;this.max_char=m;for(c=this.line_char_count=0;c<this.indent_size;c++)this.indent_string+=this.indent_character;this.print_newline=function(c,b){if(this.line_char_count=0,b&&b.length){if(!c)for(;this.Utils.in_array(b[b.length-1],this.Utils.whitespace);)b.pop();b.push("\n");for(var e=0;e<this.indent_level;e++)b.push(this.indent_string)}};this.print_token=function(b){this.output.push(b)};this.indent=function(){this.indent_level++};this.unindent=
function(){0<this.indent_level&&this.indent_level--}},this};for(e.printer(b,w,p,z,Q);!(H=e.get_token(),e.token_text=H[0],e.token_type=H[1],"TK_EOF"===e.token_type);){switch(e.token_type){case "TK_TAG_START":e.print_newline(!1,e.output);e.print_token(e.token_text);e.indent();e.current_mode="CONTENT";break;case "TK_TAG_STYLE":case "TK_TAG_SCRIPT":e.print_newline(!1,e.output);e.print_token(e.token_text);e.current_mode="CONTENT";break;case "TK_TAG_END":"TK_CONTENT"===e.last_token&&""===e.last_text&&(C=
e.token_text.match(/\w+/)[0],I=e.output[e.output.length-1].match(/<\s*(\w+)/),(null===I||I[1]!==C)&&e.print_newline(!0,e.output));e.print_token(e.token_text);e.current_mode="CONTENT";break;case "TK_TAG_SINGLE":(b=e.token_text.match(/^\s*<([a-z]+)/i))&&e.Utils.in_array(b[1],u)||e.print_newline(!1,e.output);e.print_token(e.token_text);e.current_mode="CONTENT";break;case "TK_CONTENT":""!==e.token_text&&e.print_token(e.token_text);e.current_mode="TAG";break;case "TK_STYLE":case "TK_SCRIPT":""!==e.token_text&&
((e.output.push("\n"),b=e.token_text,v=1,"TK_SCRIPT"===e.token_type?A="function"==typeof r&&r:"TK_STYLE"===e.token_type&&(A="function"==typeof t&&t),"keep"===m.indent_scripts?v=0:"separate"===m.indent_scripts&&(v=-e.indent_level),p=e.get_full_indent(v),A)?b=A(b.replace(/^\s*/,p),m):(w=b.match(/^\s*/)[0].match(/[^\n\r]*$/)[0].split(e.indent_string).length-1,w=e.get_full_indent(v-w),b=b.replace(/^\s*/,p).replace(/\r\n|\r|\n/g,"\n"+w).replace(/\s*$/,"")),b&&(e.print_token(b),e.print_newline(!0,e.output))),
e.current_mode="TAG"}e.last_token=e.token_type;e.last_text=e.token_text}return e.output.join("")}if("function"==typeof define)define(function(b,m){var p=b("./beautify.js").js_beautify,t=b("./beautify-css.js").css_beautify;m.html_beautify=function(b,m){return r(b,m,p,t)}});else if("undefined"!=typeof exports){var z=require("./beautify.js").js_beautify,p=require("./beautify-css.js").css_beautify;exports.html_beautify=function(b,m){return r(b,m,z,p)}}else"undefined"!=typeof window?window.html_beautify=
function(b,m){return r(b,m,window.js_beautify,window.css_beautify)}:"undefined"!=typeof global&&(global.html_beautify=function(b,m){return r(b,m,global.js_beautify,global.css_beautify)})})();

View File

@ -1,54 +1,32 @@
(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],b):b(CodeMirror)})(function(b){function k(c,f){var e=c.getRange(a(f.line,f.ch-1),a(f.line,f.ch+1));return 2==e.length?e:null}function h(c){for(var f={name:"autoCloseBrackets",Backspace:function(f){var e,j,i;if(f.getOption("disableInput"))return b.Pass;e=f.listSelections();for(i=0;i<e.length;i++)if(!e[i].empty()||(j=k(f,e[i].head),!j||
0!=c.indexOf(j)%2))return b.Pass;for(i=e.length-1;0<=i;i--)j=e[i].head,f.replaceRange("",a(j.line,j.ch-1),a(j.line,j.ch+1))}},e="",i=0;i<c.length;i+=2)(function(c,i){c!=i&&(e=e+i);f["'"+c+"'"]=function(j){var f,p,m,h,n,g;if(j.getOption("disableInput"))return b.Pass;f=j.listSelections();for(m=0;m<f.length;m++){if(h=f[m],n=h.head,c=="'"&&j.getTokenTypeAt(n)=="comment")return b.Pass;if(g=j.getRange(n,a(n.line,n.ch+1)),h.empty())if(c==i&&g==i)g=j.getRange(n,a(n.line,n.ch+3))==c+c+c?"skipThree":"skip";
else if(c==i&&n.ch>1&&j.getRange(a(n.line,n.ch-2),n)==c+c&&(n.ch<=2||j.getRange(a(n.line,n.ch-3),a(n.line,n.ch-2))!=c))g="addFour";else if(!(c==i&&b.isWordChar(g))&&(j.getLine(n.line).length==n.ch||e.indexOf(g)>=0||d.test(g)))g="both";else return b.Pass;else g="surround";if(p){if(p!=g)return b.Pass}else p=g}j.operation(function(){var a,f;if(p=="skip")j.execCommand("goCharRight");else if(p=="skipThree")for(f=0;f<3;f++)j.execCommand("goCharRight");else if(p=="surround"){a=j.getSelections();for(f=0;f<
a.length;f++)a[f]=c+a[f]+i;j.replaceSelections(a,"around")}else p=="both"?(j.replaceSelection(c+i,null),j.execCommand("goCharLeft")):p=="addFour"&&(j.replaceSelection(c+c+c+c,"before"),j.execCommand("goCharRight"))})};c!=i&&(f["'"+i+"'"]=function(c){for(var f=c.listSelections(),e,d=0;d<f.length;d++)if(e=f[d],!e.empty()||c.getRange(e.head,a(e.head.line,e.head.ch+1))!=i)return b.Pass;c.execCommand("goCharRight")})})(c.charAt(i),c.charAt(i+1));return f}function g(c){return function(a){var e,i,d;if(a.getOption("disableInput"))return b.Pass;
e=a.listSelections();for(i=0;i<e.length;i++)if(!e[i].empty()||(d=k(a,e[i].head),!d||0!=c.indexOf(d)%2))return b.Pass;a.operation(function(){var c,j;a.replaceSelection("\n\n",null);a.execCommand("goCharLeft");e=a.listSelections();for(c=0;c<e.length;c++)j=e[c].head.line,a.indentLine(j,null,!0),a.indentLine(j+1,null,!0)})}}var d=/\s/,a=b.Pos;b.defineOption("autoCloseBrackets",!1,function(c,a,e){var i,d,l;(e!=b.Init&&e&&c.removeKeyMap("autoCloseBrackets"),a)&&(i="()[]{}''\"\"",d="[]{}",typeof a=="string"?
i=a:typeof a=="object"&&(a.pairs!=null&&(i=a.pairs),a.explode!=null&&(d=a.explode)),l=h(i),d&&(l.Enter=g(d)),c.addKeyMap(l))})});
(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror"),require("../fold/xml-fold")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../fold/xml-fold"],b):b(CodeMirror)})(function(b){function k(c){var f,e,i,o,l,j;if(c.getOption("disableInput"))return b.Pass;f=c.listSelections();e=[];for(l=0;l<f.length;l++){if(!f[l].empty())return b.Pass;j=f[l].head;o=c.getTokenAt(j);var q=b.innerMode(c.getMode(),o.state),p=q.state;if("xml"!=q.mode.name||
!p.tagName)return b.Pass;var m=c.getOption("autoCloseTags"),k="html"==q.mode.configuration,q="object"==typeof m&&m.dontCloseTags||k&&d,k="object"==typeof m&&m.indentTags||k&&a,m=p.tagName;if(o.end>j.ch&&(m=m.slice(0,m.length-o.end+j.ch)),i=m.toLowerCase(),!m||"string"==o.type&&(o.end!=j.ch||!/[\"\']/.test(o.string.charAt(o.string.length-1))||1==o.string.length)||"tag"==o.type&&"closeTag"==p.type||o.string.indexOf("/")==o.string.length-1||q&&-1<h(q,i)||g(c,m,j,p,!0))return b.Pass;o=k&&-1<h(k,i);e[l]=
{indent:o,text:">"+(o?"\n\n":"")+"</"+m+">",newPos:o?b.Pos(j.line+1,0):b.Pos(j.line,j.ch+1)}}for(l=f.length-1;0<=l;l--)i=e[l],c.replaceRange(i.text,f[l].head,f[l].anchor,"+insert"),j=c.listSelections().slice(0),j[l]={head:i.newPos,anchor:i.newPos},c.setSelections(j),i.indent&&(c.indentLine(i.newPos.line,null,!0),c.indentLine(i.newPos.line+1,null,!0))}function h(a,f){if(a.indexOf)return a.indexOf(f);for(var e=0,i=a.length;e<i;++e)if(a[e]==f)return e;return-1}function g(a,f,e,i,d){var l,j,q;if(!b.scanForClosingTag||
(l=Math.min(a.lastLine()+1,e.line+500),j=b.scanForClosingTag(a,e,null,l),!j||j.tag!=f))return!1;e=i.context;for(d=d?1:0;e&&e.tagName==f;e=e.prev)++d;e=j.to;for(j=1;j<d;j++){if(q=b.scanForClosingTag(a,e,null,l),!q||q.tag!=f)return!1;e=q.to}return!0}b.defineOption("autoCloseTags",!1,function(a,f,e){if(e!=b.Init&&e&&a.removeKeyMap("autoCloseTags"),f){e={name:"autoCloseTags"};(typeof f!="object"||f.whenClosing)&&(e["'/'"]=function(a){var c;a:{var e,j,f;if(a.getOption("disableInput"))c=b.Pass;else{e=a.listSelections();
j=[];for(f=0;f<e.length;f++){if(!e[f].empty()){c=b.Pass;break a}var d=e[f].head,m=a.getTokenAt(d),h=b.innerMode(a.getMode(),m.state),n=h.state;if(m.type=="string"||m.string.charAt(0)!="<"||m.start!=d.ch-1||h.mode.name!="xml"||!n.context||!n.context.tagName||g(a,n.context.tagName,d,n)){c=b.Pass;break a}j[f]="/"+n.context.tagName+">"}a.replaceSelections(j)}}return c});(typeof f!="object"||f.whenOpening)&&(e["'>'"]=function(a){return k(a)});a.addKeyMap(e)}});var d="area base br col command embed hr img input keygen link meta param source track wbr".split(" "),
a="applet blockquote body button div dl fieldset form frameset h1 h2 h3 h4 h5 h6 head html iframe layer legend object ol p select table ul".split(" ")});
(function(){function b(b){var d=b.getCursor(),a=b.getTokenAt(d),c=CodeMirror.innerMode(b.getMode(),a.state).mode,f,e,i,h;if("comment"==a.type&&c.blockCommentStart&&(e=a.string.indexOf(c.blockCommentEnd),i=b.getRange(CodeMirror.Pos(d.line,0),CodeMirror.Pos(d.line,a.end)),-1==e||e!=a.string.length-c.blockCommentEnd.length))if(0==a.string.indexOf(c.blockCommentStart)){if(f=i.slice(0,a.start),!/^\s*$/.test(f)){f="";for(d=0;d<a.start;++d)f+=" "}}else-1!=(h=i.indexOf(c.blockCommentContinue))&&h+c.blockCommentContinue.length>
a.start&&/^\s*$/.test(i.slice(0,h))&&(f=i.slice(0,h));if(null!=f)b.replaceSelection("\n"+f+c.blockCommentContinue,"end");else return CodeMirror.Pass}for(var k=["clike","css","javascript"],h=0;h<k.length;++h)CodeMirror.extendMode(k[h],{blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * "});CodeMirror.defineOption("continueComments",null,function(h,d,a){a&&a!=CodeMirror.Init&&h.removeKeyMap("continueComment");a={name:"continueComment"};a["string"==typeof d?d:"Enter"]=b;h.addKeyMap(a)})})();
(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],b):b(CodeMirror)})(function(b){function k(a,e,d,j){var b=a.getLineHandle(e.line),g=e.ch-1,b=0<=g&&f[b.text.charAt(g)]||f[b.text.charAt(++g)],m,k,n;return b?(m=">"==b.charAt(1)?1:-1,d&&0<m!=(g==e.ch))?null:(k=a.getTokenTypeAt(c(e.line,g+1)),n=h(a,c(e.line,g+(0<m?1:0)),m,k||null,j),null==n)?null:{from:c(e.line,g),to:n&&n.pos,match:n&&
n.ch==b.charAt(0),forward:0<m}:null}function h(a,e,b,j,d){for(var h=d&&d.maxScanLineLength||1E4,m=d&&d.maxScanLines||1E3,g=[],d=d&&d.bracketRegex?d.bracketRegex:/[(){}[\]]/,m=0<b?Math.min(e.line+m,a.lastLine()+1):Math.max(a.firstLine()-1,e.line-m),n,k,t,v,w,u=e.line;u!=m;u+=b)if((n=a.getLine(u),n)&&(k=0<b?0:n.length-1,t=0<b?n.length:-1,!(n.length>h)))for(u==e.line&&(k=e.ch-(0>b?1:0));k!=t;k+=b)if(v=n.charAt(k),d.test(v)&&(void 0===j||a.getTokenTypeAt(c(u,k+1))==j))if(w=f[v],">"==w.charAt(1)==0<b)g.push(v);
else if(g.length)g.pop();else return{pos:c(u,k),ch:v};return u-b==(0<b?a.lastLine():a.firstLine())?!1:null}function g(e,f,b){for(var j=e.state.matchBrackets.maxHighlightLineLength||1E3,d=[],h=e.listSelections(),m,g,n=0;n<h.length;n++)(m=h[n].empty()&&k(e,h[n].head,!1,b))&&e.getLine(m.from.line).length<=j&&(g=m.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket",d.push(e.markText(m.from,c(m.from.line,m.from.ch+1),{className:g})),m.to&&e.getLine(m.to.line).length<=j&&d.push(e.markText(m.to,
c(m.to.line,m.to.ch+1),{className:g})));if(d.length)if(a&&e.state.focused&&e.display.input.focus(),b=function(){e.operation(function(){for(var a=0;a<d.length;a++)d[a].clear()})},f)setTimeout(b,800);else return b}function d(a){a.operation(function(){e&&(e(),e=null);e=g(a,!1,a.state.matchBrackets)})}var a=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||8>document.documentMode),c=b.Pos,f={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"},e=null;b.defineOption("matchBrackets",
!1,function(a,e,c){if(c&&c!=b.Init&&a.off("cursorActivity",d),e){a.state.matchBrackets=typeof e=="object"?e:{};a.on("cursorActivity",d)}});b.defineExtension("matchBrackets",function(){g(this,!0)});b.defineExtension("findMatchingBracket",function(a,e,c){return k(this,a,e,c)});b.defineExtension("scanForBracket",function(a,e,c,j){return h(this,a,e,c,j)})});
(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror"),require("../fold/xml-fold")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../fold/xml-fold"],b):b(CodeMirror)})(function(b){function k(b){b.state.tagHit&&b.state.tagHit.clear();b.state.tagOther&&b.state.tagOther.clear();b.state.tagHit=b.state.tagOther=null}function h(d){d.state.failedTagMatch=!1;d.operation(function(){var a,c,f,e,i;(k(d),d.somethingSelected())||(a=d.getCursor(),
c=d.getViewport(),c.from=Math.min(c.from,a.line),c.to=Math.max(a.line+1,c.to),f=b.findMatchingTag(d,a,c),f)&&(d.state.matchBothTags&&(e="open"==f.at?f.open:f.close,e&&(d.state.tagHit=d.markText(e.from,e.to,{className:"CodeMirror-matchingtag"}))),i="close"==f.at?f.open:f.close,i?d.state.tagOther=d.markText(i.from,i.to,{className:"CodeMirror-matchingtag"}):d.state.failedTagMatch=!0)})}function g(b){b.state.failedTagMatch&&h(b)}b.defineOption("matchTags",!1,function(d,a,c){if(c&&c!=b.Init&&(d.off("cursorActivity",
h),d.off("viewportChange",g),k(d)),a){d.state.matchBothTags=typeof a=="object"&&a.bothTags;d.on("cursorActivity",h);d.on("viewportChange",g);h(d)}});b.commands.toMatchingTag=function(d){var a=b.findMatchingTag(d,d.getCursor()),c;a&&(c="close"==a.at?a.open:a.close,c&&d.extendSelection(c.to,c.from))}});
(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],b):b(CodeMirror)})(function(b){b.defineOption("showTrailingSpace",!1,function(k,h,g){g==b.Init&&(g=false);g&&!h?k.removeOverlay("trailingspace"):!g&&h&&k.addOverlay({token:function(b){for(var a=b.string.length,c=a;c&&/\s/.test(b.string.charAt(c-1));--c);return c>b.pos?(b.pos=c,null):(b.pos=a,"trailingspace")},name:"trailingspace"})})});
(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],b):b(CodeMirror)})(function(b){function k(a,c,f,e){function d(b){var j=k(a,c),f,i;if(!j||j.to.line-j.from.line<l)return null;f=a.findMarksAt(j.from);for(i=0;i<f.length;++i)if(f[i].__isFold&&"fold"!==e){if(!b)return null;j.cleared=!0;f[i].clear()}return j}var k,l,j,q;if(f&&f.call?(k=f,f=null):k=g(a,f,"rangeFinder"),"number"==typeof c&&
(c=b.Pos(c,0)),l=g(a,f,"minFoldSize"),j=d(!0),g(a,f,"scanUp"))for(;!j&&c.line>a.firstLine();)c=b.Pos(c.line-1,0),j=d(!1);j&&(!j.cleared&&"unfold"!==e)&&(f=h(a,f),b.on(f,"mousedown",function(a){q.clear();b.e_preventDefault(a)}),q=a.markText(j.from,j.to,{replacedWith:f,clearOnEnter:!0,__isFold:!0}),q.on("clear",function(e,c){b.signal(a,"unfold",a,e,c)}),b.signal(a,"fold",a,j.from,j.to))}function h(a,c){var b=g(a,c,"widget"),e;return"string"==typeof b&&(e=document.createTextNode(b),b=document.createElement("span"),
b.appendChild(e),b.className="CodeMirror-foldmarker"),b}function g(a,c,b){return c&&void 0!==c[b]?c[b]:(a=a.options.foldOptions)&&void 0!==a[b]?a[b]:d[b]}b.newFoldFunction=function(a,b){return function(f,e){k(f,e,{rangeFinder:a,widget:b})}};b.defineExtension("foldCode",function(a,b,f){k(this,a,b,f)});b.defineExtension("isFolded",function(a){for(var a=this.findMarksAt(a),b=0;b<a.length;++b)if(a[b].__isFold)return!0});b.commands.toggleFold=function(a){a.foldCode(a.getCursor())};b.commands.fold=function(a){a.foldCode(a.getCursor(),
null,"fold")};b.commands.unfold=function(a){a.foldCode(a.getCursor(),null,"unfold")};b.commands.foldAll=function(a){a.operation(function(){for(var c=a.firstLine(),f=a.lastLine();c<=f;c++)a.foldCode(b.Pos(c,0),null,"fold")})};b.commands.unfoldAll=function(a){a.operation(function(){for(var c=a.firstLine(),f=a.lastLine();c<=f;c++)a.foldCode(b.Pos(c,0),null,"unfold")})};b.registerHelper("fold","combine",function(){var a=Array.prototype.slice.call(arguments,0);return function(b,f){for(var e,d=0;d<a.length;++d)if(e=
a[d](b,f),e)return e}});b.registerHelper("fold","auto",function(a,b){for(var d=a.getHelpers(b,"fold"),e,i=0;i<d.length;i++)if(e=d[i](a,b),e)return e});var d={rangeFinder:b.fold.auto,widget:"↔",minFoldSize:0,scanUp:!1};b.defineOption("foldOptions",null)});
(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],b):b(CodeMirror)})(function(b){b.registerHelper("fold","brace",function(k,h){function g(e){for(var j,f=h.ch,i=0;;)if(j=0>=f?-1:a.lastIndexOf(e,f-1),-1==j){if(1==i)break;i=1;f=a.length}else{if(1==i&&j<h.ch)break;if(c=k.getTokenTypeAt(b.Pos(d,j+1)),!/^(comment|string)/.test(c))return j+1;f=j-1}}var d=h.line,a=k.getLine(d),c,f="{",e="}",
i=g("{"),o,l,j,q,p,m,r,n,s;if(null==i&&(f="[",e="]",i=g("[")),null!=i){o=1;l=k.lastLine();p=d;a:for(;p<=l;++p){m=k.getLine(p);for(r=p==d?i:0;!(n=m.indexOf(f,r),s=m.indexOf(e,r),0>n&&(n=m.length),0>s&&(s=m.length),r=Math.min(n,s),r==m.length);){if(k.getTokenTypeAt(b.Pos(p,r+1))==c)if(r==n)++o;else if(!--o){j=p;q=r;break a}++r}}if(null!=j&&(d!=j||q!=i))return{from:b.Pos(d,i),to:b.Pos(j,q)}}});b.registerHelper("fold","import",function(k,h){function g(a){var e,c,d,h;if(a<k.firstLine()||a>k.lastLine()||
(e=k.getTokenAt(b.Pos(a,1)),/\S/.test(e.string)||(e=k.getTokenAt(b.Pos(a,e.end+1))),"keyword"!=e.type||"import"!=e.string))return null;c=a;for(a=Math.min(k.lastLine(),a+10);c<=a;++c)if(d=k.getLine(c),h=d.indexOf(";"),-1!=h)return{startCh:e.end,end:b.Pos(c,h)}}var h=h.line,d=g(h),a,c;if(!d||g(h-1)||(a=g(h-2))&&a.end.line==h-1)return null;for(a=d.end;!(c=g(a.line+1),null==c);)a=c.end;return{from:k.clipPos(b.Pos(h,d.startCh+1)),to:a}});b.registerHelper("fold","include",function(k,h){function g(a){if(a<
k.firstLine()||a>k.lastLine())return null;var e=k.getTokenAt(b.Pos(a,1));return/\S/.test(e.string)||(e=k.getTokenAt(b.Pos(a,e.end+1))),"meta"==e.type&&"#include"==e.string.slice(0,8)?e.start+8:void 0}var h=h.line,d=g(h),a,c;if(null==d||null!=g(h-1))return null;for(a=h;!(c=g(a+1),null==c);)++a;return{from:b.Pos(h,d+1),to:k.clipPos(b.Pos(a))}})});
(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],b):b(CodeMirror)})(function(b){function k(a,b,e,c){this.line=b;this.ch=e;this.cm=a;this.text=a.getLine(b);this.min=c?c.from:a.firstLine();this.max=c?c.to-1:a.lastLine()}function h(a,b){var e=a.cm.getTokenTypeAt(o(a.line,b));return e&&/\btag\b/.test(e)}function g(a){if(!(a.line>=a.max))return a.ch=0,a.text=a.cm.getLine(++a.line),!0}
function d(a){if(!(a.line<=a.min))return a.text=a.cm.getLine(--a.line),a.ch=a.text.length,!0}function a(a){for(var b,e,c;;){if(b=a.text.indexOf(">",a.ch),-1==b)if(g(a))continue;else break;if(h(a,b+1))return e=a.text.lastIndexOf("/",b),c=-1<e&&!/\S/.test(a.text.slice(e+1,b)),a.ch=b+1,c?"selfClose":"regular";a.ch=b+1}}function c(a){for(var b,e;;){if(b=a.ch?a.text.lastIndexOf("<",a.ch-1):-1,-1==b)if(d(a))continue;else break;if(h(a,b+1)){if(l.lastIndex=b,a.ch=b,e=l.exec(a.text),e&&e.index==b)return e}else a.ch=
b}}function f(a){for(;;){l.lastIndex=a.ch;var b=l.exec(a.text);if(!b)if(g(a))continue;else break;if(h(a,b.index+1))return a.ch=b.index+b[0].length,b;a.ch=b.index+1}}function e(b,e){for(var c=[],d;;){var i=f(b),h,g=b.line,k=b.ch-(i?i[0].length:0);if(!i||!(h=a(b)))break;if("selfClose"!=h)if(i[1]){for(d=c.length-1;0<=d;--d)if(c[d]==i[2]){c.length=d;break}if(0>d&&(!e||e==i[2]))return{tag:i[2],from:o(g,k),to:o(b.line,b.ch)}}else c.push(i[2])}}function i(a,b){for(var e=[],f,i;;){var g;a:{g=a;for(var k=
void 0,l=i=void 0;;){if(k=g.ch?g.text.lastIndexOf(">",g.ch-1):-1,-1==k)if(d(g))continue;else{g=void 0;break a}if(h(g,k+1)){g=(i=g.text.lastIndexOf("/",k),l=-1<i&&!/\S/.test(g.text.slice(i+1,k)),g.ch=k+1,l?"selfClose":"regular");break a}else g.ch=k}g=void 0}if(f=g,!f)break;if("selfClose"==f)c(a);else{l=a.line;g=a.ch;k=c(a);if(!k)break;if(k[1])e.push(k[2]);else{for(i=e.length-1;0<=i;--i)if(e[i]==k[2]){e.length=i;break}if(0>i&&(!b||b==k[2]))return{tag:k[2],from:o(a.line,a.ch),to:o(l,g)}}}}}var o=b.Pos,
l=RegExp("<(/?)([A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*)","g");b.registerHelper("fold","xml",function(b,c){for(var d=new k(b,c.line,0),i,g,h;!(i=f(d),
!i||d.line!=c.line||!(g=a(d)));)if(!i[1]&&"selfClose"!=g)return c=o(d.line,d.ch),h=e(d,i[2]),h&&{from:c,to:h.from}});b.findMatchingTag=function(b,d,f){var g=new k(b,d.line,d.ch,f),h;if(-1!=g.text.indexOf(">")||-1!=g.text.indexOf("<")){var l=a(g),s=l&&o(g.line,g.ch),t=l&&c(g);if(l&&"selfClose"!=l&&t&&!(0<(g.line-d.line||g.ch-d.ch)))return h={from:o(g.line,g.ch),to:s,tag:t[2]},t[1]?{open:i(g,t[2]),close:h,at:"close"}:(g=new k(b,s.line,s.ch,f),{open:h,close:e(g,t[2]),at:"open"})}};b.findEnclosingTag=
function(a,b,c){for(var d=new k(a,b.line,b.ch,c),f,g,h;!(f=i(d),!f);)if(g=new k(a,b.line,b.ch,c),h=e(g,f.tag),h)return{open:f,close:h}};b.scanForClosingTag=function(a,b,c,d){a=new k(a,b.line,b.ch,d?{from:0,to:d}:null);return e(a,c)}});
(function(){CodeMirror.defineExtension("autoFormatAll",function(b,k){for(var h=this,g=h.getMode(),d=h.getRange(b,k).split("\n"),a=CodeMirror.copyState(g,h.getTokenAt(b).state),c=h.getOption("tabSize"),f="",e=0,i=0==b.ch,o,l=0;l<d.length;++l){for(o=new CodeMirror.StringStream(d[l],c);!o.eol();){var j=CodeMirror.innerMode(g,a),q=g.token(o,a),p=o.current();o.start=o.pos;(!i||/\S/.test(p))&&(f+=p,i=!1);if(!i&&j.mode.newlineAfterToken&&j.mode.newlineAfterToken(q,p,o.string.slice(o.pos)||d[l+1]||"",j.state))f+=
"\n",i=!0,++e}!o.pos&&g.blankLine&&g.blankLine(a);!i&&l<d.length-1&&(f+="\n",i=!0,++e)}h.operation(function(){h.replaceRange(f,b,k);for(var a=b.line+1,c=b.line+e;a<=c;++a)h.indentLine(a,"smart");h.setCursor({line:0,ch:0})})})})();
(function(){function b(b){for(var h=[/for\s*?\((.*?)\)/g,/&#?[a-z0-9]+;[\s\S]/g,/\"(.*?)((\")|$)/g,/\/\*(.*?)(\*\/|$)/g,/^\/\/.*/g],g=[],d,a,c=0;c<h.length;c++)for(d=0;d<b.length;)if(a=b.substr(d).match(h[c]),null!=a)g.push({start:d+a.index,end:d+a.index+a[0].length}),d+=a.index+Math.max(1,a[0].length);else break;return g.sort(function(a,b){return a.start-b.start}),g}CodeMirror.extendMode("css",{commentStart:"/*",commentEnd:"*/",newlineAfterToken:function(b,h){return/^[;{}]$/.test(h)}});CodeMirror.extendMode("javascript",
{commentStart:"/*",commentEnd:"*/",wordWrapChars:[";","\\{","\\}"],autoFormatLineBreaks:function(k){var h=0,g=this.jsonMode?function(a){return a.replace(/([,{])/g,"$1\n").replace(/}/g,"\n}")}:function(a){return a.replace(/(;|\{|\})([^\r\n;])/g,"$1\n$2")},d=b(k),a="",c;if(null!=d){for(c=0;c<d.length;c++)d[c].start>h&&(a+=g(k.substring(h,d[c].start)),h=d[c].start),d[c].start<=h&&d[c].end>=h&&(a+=k.substring(h,d[c].end),h=d[c].end);h<k.length&&(a+=g(k.substr(h)))}else a=g(k);return a.replace(/^\n*|\n*$/,
"")}});CodeMirror.extendMode("xml",{commentStart:"<\!--",commentEnd:"--\>",noBreak:!1,noBreakEmpty:null,tagType:"",tagName:"",isXML:!1,newlineAfterToken:function(b,h,g){var d=!1,a=null,c="",f;if(this.isXML="xml"==this.configuration?!0:!1,"comment"==b||/<\!--/.test(g))return!1;if("tag"==b){if(0==h.indexOf("<")&&0==!h.indexOf("</")&&(this.tagType="open",a=h.match(/^<\s*?([\w]+?)$/i),this.tagName=null!=a?a[1]:"",c=this.tagName.toLowerCase(),-1!="|label|li|option|textarea|title|a|b|bdi|bdo|big|center|cite|del|em|font|i|img|ins|s|small|span|strike|strong|sub|sup|u|".indexOf("|"+
c+"|")&&(this.noBreak=!0)),0==h.indexOf(">")&&"open"==this.tagType)return(this.tagType="",f=this.isXML?"[^<]*?":"",RegExp("^"+f+"</s*?"+this.tagName+"s*?>","i").test(g))?(this.noBreak=!1,this.isXML||(this.tagName=""),!1):(d=this.noBreak,this.noBreak=!1,d?!1:!0);if(0==h.indexOf("</")&&(this.tagType="close",a=h.match(/^<\/\s*?([\w]+?)$/i),null!=a&&(c=a[1].toLowerCase()),-1!="|a|b|bdi|bdo|big|center|cite|del|em|font|i|img|ins|s|small|span|strike|strong|sub|sup|u|".indexOf("|"+c+"|")&&(this.noBreak=!0)),
0==h.indexOf(">")&&"close"==this.tagType)return(this.tagType="",0==g.indexOf("<")&&(a=g.match(/^<\/?\s*?([\w]+?)(\s|>)/i),c=null!=a?a[1].toLowerCase():"",-1=="|label|li|option|textarea|title|a|b|bdi|bdo|big|center|cite|del|em|font|i|img|ins|s|small|span|strike|strong|sub|sup|u|".indexOf("|"+c+"|")))?(this.noBreak=!1,!0):(d=this.noBreak,this.noBreak=!1,d?!1:!0)}return 0==g.indexOf("<")?(this.noBreak=!1,this.isXML&&""!=this.tagName)?(this.tagName="",!1):(a=g.match(/^<\/?\s*?([\w]+?)(\s|>)/i),c=null!=
a?a[1].toLowerCase():"",-1!="|label|li|option|textarea|title|a|b|bdi|bdo|big|center|cite|del|em|font|i|img|ins|s|small|span|strike|strong|sub|sup|u|".indexOf("|"+c+"|")?!1:!0):!1}});CodeMirror.defineExtension("commentRange",function(b,h,g){var d=this,a=CodeMirror.innerMode(d.getMode(),d.getTokenAt(h).state).mode;d.operation(function(){if(b)d.replaceRange(a.commentEnd,g),d.replaceRange(a.commentStart,h),h.line==g.line&&h.ch==g.ch&&d.setCursor(h.line,h.ch+a.commentStart.length);else{var c=d.getRange(h,
g),f=c.indexOf(a.commentStart),e=c.lastIndexOf(a.commentEnd);-1<f&&-1<e&&e>f&&(c=c.substr(0,f)+c.substring(f+a.commentStart.length,e)+c.substr(e+a.commentEnd.length));d.replaceRange(c,h,g)}})});CodeMirror.defineExtension("autoIndentRange",function(b,h){var g=this;this.operation(function(){for(var d=b.line;d<=h.line;d++)g.indentLine(d,"smart")})});CodeMirror.defineExtension("autoFormatRange",function(b,h){for(var g=this,d=g.getMode(),a=g.getRange(b,h).split("\n"),c=CodeMirror.copyState(d,g.getTokenAt(b).state),
f=g.getOption("tabSize"),e="",i=0,o=0==b.ch,l,j=0;j<a.length;++j){for(l=new CodeMirror.StringStream(a[j],f);!l.eol();){var q=CodeMirror.innerMode(d,c),p=d.token(l,c),m=l.current();l.start=l.pos;(!o||/\S/.test(m))&&(e+=m,o=!1);if(!o&&q.mode.newlineAfterToken&&q.mode.newlineAfterToken(p,m,l.string.slice(l.pos)||a[j+1]||"",q.state))e+="\n",o=!0,++i}!l.pos&&d.blankLine&&d.blankLine(c);!o&&j<a.length-1&&(e+="\n",o=!0,++i)}g.operation(function(){g.replaceRange(e,b,h);for(var a=b.line+1,c=b.line+i;a<=c;++a)g.indentLine(a,
"smart");g.setSelection(b,g.getCursor(!1))})})})();
(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],b):b(CodeMirror)})(function(b){function k(b){"object"==typeof b&&(this.minChars=b.minChars,this.style=b.style,this.showToken=b.showToken,this.delay=b.delay);null==this.style&&(this.style=c);null==this.minChars&&(this.minChars=a);null==this.delay&&(this.delay=f);this.overlay=this.timeout=null}function h(a){var b=a.state.matchHighlighter;
clearTimeout(b.timeout);b.timeout=setTimeout(function(){g(a)},b.delay)}function g(a){a.operation(function(){var b=a.state.matchHighlighter,c,f,g;if(b.overlay&&(a.removeOverlay(b.overlay),b.overlay=null),!a.somethingSelected()&&b.showToken){c=!0===b.showToken?/[\w$]/:b.showToken;g=a.getCursor();f=a.getLine(g.line);for(var h=g=g.ch;g&&c.test(f.charAt(g-1));)--g;for(;h<f.length&&c.test(f.charAt(h));)++h;g<h&&a.addOverlay(b.overlay=d(f.slice(g,h),c,b.style))}else(c=a.getCursor("from"),f=a.getCursor("to"),
c.line==f.line)&&(g=a.getRange(c,f).replace(/^\s+|\s+$/g,""),g.length>=b.minChars&&a.addOverlay(b.overlay=d(g,!1,b.style)))})}function d(a,b,c){return{token:function(d){if(d.match(a)&&(!b||(!d.start||!b.test(d.string.charAt(d.start-1)))&&(d.pos==d.string.length||!b.test(d.string.charAt(d.pos)))))return c;d.next();d.skipTo(a.charAt(0))||d.skipToEnd()}}}var a=2,c="matchhighlight",f=100;b.defineOption("highlightSelectionMatches",!1,function(a,c,d){if(d&&d!=b.Init){(d=a.state.matchHighlighter.overlay)&&
a.removeOverlay(d);clearTimeout(a.state.matchHighlighter.timeout);a.state.matchHighlighter=null;a.off("cursorActivity",h)}if(c){a.state.matchHighlighter=new k(c);g(a);a.on("cursorActivity",h)}})});
(function(){function k(c){for(var e={name:"autoCloseBrackets",Backspace:function(a){if(a.somethingSelected())return CodeMirror.Pass;var f=a.getCursor(),b=a.getLine(f.line);if(f.ch&&f.ch<b.length&&0==c.indexOf(b.slice(f.ch-1,f.ch+1))%2)a.replaceRange("",CodeMirror.Pos(f.line,f.ch-1),CodeMirror.Pos(f.line,f.ch+1));else return CodeMirror.Pass}},b="",a=0;a<c.length;a+=2)(function(a,f){function c(a){var b=a.getCursor();if(a.getRange(b,CodeMirror.Pos(b.line,b.ch+1))!=f||a.somethingSelected())return CodeMirror.Pass;
a.execCommand("goCharRight")}a!=f&&(b=b+f);e["'"+a+"'"]=function(e){if(a=="'"&&e.getTokenAt(e.getCursor()).type=="comment")return CodeMirror.Pass;if(e.somethingSelected()){var l=e.getSelection();e.replaceSelection(a+l+f)}else if(a!=f||c(e)==CodeMirror.Pass){var l=e.getCursor(),h=CodeMirror.Pos(l.line,l.ch+1),m=e.getLine(l.line),n=m.charAt(l.ch);if(m.length==l.ch||b.indexOf(n)>=0||g.test(n))e.replaceSelection(a+f,{head:h,anchor:h});else return CodeMirror.Pass}};a!=f&&(e["'"+f+"'"]=c)})(c.charAt(a),
c.charAt(a+1));return e}var g=/\s/;CodeMirror.defineOption("autoCloseBrackets",!1,function(c,e,b){b=b&&b!=CodeMirror.Init;e&&!b?c.addKeyMap(k(typeof e=="string"?e:"()[]{}''\"\"")):!e&&b&&c.removeKeyMap("autoCloseBrackets")})})();
(function(){function k(b,a){var d=b.getCursor(),f=b.getTokenAt(d),j=CodeMirror.innerMode(b.getMode(),f.state),i=j.state,l,h;if("xml"!=j.mode.name)return CodeMirror.Pass;var m=b.getOption("autoCloseTags"),n="html"==j.mode.configuration,j="object"==typeof m&&m.dontCloseTags||n&&c,m="object"==typeof m&&m.indentTags||n&&e;if(">"==a&&i.tagName){if(h=i.tagName,f.end>d.ch&&(h=h.slice(0,h.length-f.end+d.ch)),l=h.toLowerCase(),"tag"==f.type&&"closeTag"==i.type||f.string.indexOf("/")==f.string.length-1||j&&
-1<g(j,l))return CodeMirror.Pass;i=(f=m&&-1<g(m,l))?CodeMirror.Pos(d.line+1,0):CodeMirror.Pos(d.line,d.ch+1);b.replaceSelection(">"+(f?"\n\n":"")+"</"+h+">",{head:i,anchor:i});f&&(b.indentLine(d.line+1),b.indentLine(d.line+2))}else if("/"==a&&"<"==f.string)(h=i.context&&i.context.tagName)&&b.replaceSelection("/"+h+">","end");else return CodeMirror.Pass}function g(b,a){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;++d)if(b[d]==a)return d;return-1}CodeMirror.defineOption("autoCloseTags",
!1,function(b,a,d){if(a&&(d==CodeMirror.Init||!d)){d={name:"autoCloseTags"};(typeof a!="object"||a.whenClosing)&&(d["'/'"]=function(a){return k(a,"/")});(typeof a!="object"||a.whenOpening)&&(d["'>'"]=function(a){return k(a,">")});b.addKeyMap(d)}else!a&&d!=CodeMirror.Init&&d&&b.removeKeyMap("autoCloseTags")});var c="area base br col command embed hr img input keygen link meta param source track wbr".split(" "),e="applet blockquote body button div dl fieldset form frameset h1 h2 h3 h4 h5 h6 head html iframe layer legend object ol p select table ul".split(" ")})();
(function(){function k(e){var b=e.getCursor(),a=e.getTokenAt(b),d=CodeMirror.innerMode(e.getMode(),a.state).mode,f,c,i,l;if("comment"==a.type&&d.blockCommentStart&&(c=a.string.indexOf(d.blockCommentEnd),i=e.getRange(CodeMirror.Pos(b.line,0),CodeMirror.Pos(b.line,a.end)),-1==c||c!=a.string.length-d.blockCommentEnd.length))if(0==a.string.indexOf(d.blockCommentStart)){if(f=i.slice(0,a.start),!/^\s*$/.test(f)){f="";for(b=0;b<a.start;++b)f+=" "}}else-1!=(l=i.indexOf(d.blockCommentContinue))&&l+d.blockCommentContinue.length>
a.start&&/^\s*$/.test(i.slice(0,l))&&(f=i.slice(0,l));if(null!=f)e.replaceSelection("\n"+f+d.blockCommentContinue,"end");else return CodeMirror.Pass}for(var g=["clike","css","javascript"],c=0;c<g.length;++c)CodeMirror.extendMode(g[c],{blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * "});CodeMirror.defineOption("continueComments",null,function(e,b,a){a&&a!=CodeMirror.Init&&e.removeKeyMap("continueComment");a={name:"continueComment"};a["string"==typeof b?b:"Enter"]=k;e.addKeyMap(a)})})();
(function(){function k(f){function d(c,g,l){var j,h,m,k,n;if(c.text){if(j=q?0:c.text.length-1,h=q?c.text.length:-1,c.text.length>e)return null;m=1E3>c.text.length;for(null!=l&&(j=l+r);j!=h;j+=r)if(k=c.text.charAt(j),t.test(k)&&(!m||f.getTokenAt(b(g,j+1)).type==u))if(n=a[k],">"==n.charAt(1)==q)s.push(k);else{if(s.pop()!=n.charAt(0))return{pos:j,match:!1};if(!s.length)return{pos:j,match:!0}}}}var e=f.state._matchBrackets.maxScanLineLength||1E4,c=f.getCursor(),g=f.getLineHandle(c.line),m=c.ch-1,n=0<=
m&&a[g.text.charAt(m)]||a[g.text.charAt(++m)],k,p;if(!n)return null;var q=">"==n.charAt(1),r=q?1:-1,u=f.getTokenAt(b(c.line,m+1)).type,s=[g.text.charAt(m)],t=/[(){}[\]]/,n=c.line;for(p=q?Math.min(n+100,f.lineCount()):Math.max(-1,n-100);n!=p&&!(k=n==c.line?d(g,n,m):d(f.getLineHandle(n),n),k);n+=r);return{from:b(c.line,m),to:k&&b(n,k.pos),match:k&&k.match}}function g(a,d){var c=a.state._matchBrackets.maxHighlightLineLength||1E3,g=k(a);if(g&&!(a.getLine(g.from.line).length>c)&&(!g.to||!(a.getLine(g.to.line).length>
c))){var c=g.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket",h=a.markText(g.from,b(g.from.line,g.from.ch+1),{className:c}),m=g.to&&a.markText(g.to,b(g.to.line,g.to.ch+1),{className:c});if(e&&a.state.focused&&a.display.input.focus(),g=function(){a.operation(function(){h.clear();m&&m.clear()})},d)setTimeout(g,800);else return g}}function c(a){a.operation(function(){d&&(d(),d=null);a.somethingSelected()||(d=g(a,!1))})}var e=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||
8>document.documentMode),b=CodeMirror.Pos,a={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"},d=null;CodeMirror.defineOption("matchBrackets",!1,function(a,b,d){if(d&&d!=CodeMirror.Init&&a.off("cursorActivity",c),b){a.state._matchBrackets=typeof b=="object"?b:{};a.on("cursorActivity",c)}});CodeMirror.defineExtension("matchBrackets",function(){g(this,!0)});CodeMirror.defineExtension("findMatchingBracket",function(){return k(this)})})();
CodeMirror.newFoldFunction=function(k,g){if(null==g&&(g="↔"),"string"==typeof g){var c=document.createTextNode(g),g=document.createElement("span");g.appendChild(c);g.className="CodeMirror-foldmarker"}return function(c,b){var a,d,f,j,i;if("number"==typeof b&&(b=CodeMirror.Pos(b,0)),a=k(c,b),a){d=c.findMarksAt(a.from);for(j=f=0;j<d.length;++j)d[j].__isFold&&(++f,d[j].clear());f||(d=g.cloneNode(!0),CodeMirror.on(d,"mousedown",function(){i.clear()}),i=c.markText(a.from,a.to,{replacedWith:d,clearOnEnter:!0,
__isFold:!0}))}}};
CodeMirror.braceRangeFinder=function(k,g){for(var c=g.line,e=k.getLine(c),b=e.length,a,d,f,j,i,l,h,m,n;0<b;){i=e.lastIndexOf("{",b);var o="{",p="}";if(i<g.ch){if(i=e.lastIndexOf("[",b),i<g.ch)break;o="[";p="]"}if(d=k.getTokenAt(CodeMirror.Pos(c,i+1)).type,!/^(comment|string)/.test(d)){a=i;break}b=i-1}if(null!=a&&!(e.lastIndexOf(o)>a)){e=1;b=k.lineCount();i=c+1;a:for(;i<b;++i){l=k.getLine(i);for(h=0;!(m=l.indexOf(o,h),n=l.indexOf(p,h),0>m&&(m=l.length),0>n&&(n=l.length),h=Math.min(m,n),h==l.length);){if(k.getTokenAt(CodeMirror.Pos(i,
h+1)).type==d)if(h==m)++e;else if(!--e){f=i;j=h;break a}++h}}if(null!=f&&f!=c+1)return{from:CodeMirror.Pos(c,a+1),to:CodeMirror.Pos(f,j)}}};
CodeMirror.tagRangeFinder=function(){var k=RegExp("<(/?)([A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*)","g");return function(g,c){function e(){if(!(d>=g.lastLine()))return f=
0,j=g.getLine(++d),!0}function b(){for(var a,b,d;;){if(a=j.indexOf(">",f),-1==a)if(e())continue;else break;return b=j.lastIndexOf("/",a),d=-1<b&&/^\s*$/.test(j.slice(b+1,a)),f=a+1,d?"selfClose":"regular"}}function a(){for(;;){k.lastIndex=f;var a=k.exec(j);if(!a)if(e())continue;else break;return f=a.index+a[0].length,a}}for(var d=c.line,f=c.ch,j=g.getLine(d),i=[],l,h,m;;){if(h=a(),!h||d!=c.line||!(m=b()))return;if(!h[1]&&"selfClose"!=m){i.push(h[2]);l=f;break}}for(;;){var n=a(),o=d,p=f-(n?n[0].length:
0);if(!n||!(m=b()))break;if("selfClose"!=m)if(n[1]){for(h=i.length-1;0<=h;--h)if(i[h]==n[2]){i.length=h;break}if(!i.length)return{from:CodeMirror.Pos(c.line,l),to:CodeMirror.Pos(o,p)}}else i.push(n[2])}}}();
(function(){CodeMirror.defineExtension("autoFormatAll",function(k,g){for(var c=this,e=c.getMode(),b=c.getRange(k,g).split("\n"),a=CodeMirror.copyState(e,c.getTokenAt(k).state),d=c.getOption("tabSize"),f="",j=0,i=0==k.ch,l,h=0;h<b.length;++h){for(l=new CodeMirror.StringStream(b[h],d);!l.eol();){var m=CodeMirror.innerMode(e,a),n=e.token(l,a),o=l.current();l.start=l.pos;(!i||/\S/.test(o))&&(f+=o,i=!1);if(!i&&m.mode.newlineAfterToken&&m.mode.newlineAfterToken(n,o,l.string.slice(l.pos)||b[h+1]||"",m.state))f+=
"\n",i=!0,++j}!l.pos&&e.blankLine&&e.blankLine(a);!i&&h<b.length-1&&(f+="\n",i=!0,++j)}c.operation(function(){c.replaceRange(f,k,g);for(var a=k.line+1,b=k.line+j;a<=b;++a)c.indentLine(a,"smart");c.setCursor({line:0,ch:0})})})})();
(function(){function k(g){for(var c=[/for\s*?\((.*?)\)/g,/&#?[a-z0-9]+;[\s\S]/g,/\"(.*?)((\")|$)/g,/\/\*(.*?)(\*\/|$)/g,/^\/\/.*/g],e=[],b,a,d=0;d<c.length;d++)for(b=0;b<g.length;)if(a=g.substr(b).match(c[d]),null!=a)e.push({start:b+a.index,end:b+a.index+a[0].length}),b+=a.index+Math.max(1,a[0].length);else break;return e.sort(function(a,b){return a.start-b.start}),e}CodeMirror.extendMode("css",{commentStart:"/*",commentEnd:"*/",newlineAfterToken:function(g,c){return/^[;{}]$/.test(c)}});CodeMirror.extendMode("javascript",
{commentStart:"/*",commentEnd:"*/",wordWrapChars:[";","\\{","\\}"],autoFormatLineBreaks:function(g){var c=0,e=this.jsonMode?function(a){return a.replace(/([,{])/g,"$1\n").replace(/}/g,"\n}")}:function(a){return a.replace(/(;|\{|\})([^\r\n;])/g,"$1\n$2")},b=k(g),a="",d;if(null!=b){for(d=0;d<b.length;d++)b[d].start>c&&(a+=e(g.substring(c,b[d].start)),c=b[d].start),b[d].start<=c&&b[d].end>=c&&(a+=g.substring(c,b[d].end),c=b[d].end);c<g.length&&(a+=e(g.substr(c)))}else a=e(g);return a.replace(/^\n*|\n*$/,
"")}});CodeMirror.extendMode("xml",{commentStart:"<\!--",commentEnd:"--\>",noBreak:!1,noBreakEmpty:null,tagType:"",tagName:"",isXML:!1,newlineAfterToken:function(g,c,e){var b=!1,a=null,d="",f;if(this.isXML="xml"==this.configuration?!0:!1,"comment"==g||/<\!--/.test(e))return!1;if("tag"==g){if(0==c.indexOf("<")&&0==!c.indexOf("</")&&(this.tagType="open",a=c.match(/^<\s*?([\w]+?)$/i),this.tagName=null!=a?a[1]:"",d=this.tagName.toLowerCase(),-1!="|label|li|option|textarea|title|a|b|bdi|bdo|big|center|cite|del|em|font|i|img|ins|s|small|span|strike|strong|sub|sup|u|".indexOf("|"+
d+"|")&&(this.noBreak=!0)),0==c.indexOf(">")&&"open"==this.tagType)return(this.tagType="",f=this.isXML?"[^<]*?":"",RegExp("^"+f+"</s*?"+this.tagName+"s*?>","i").test(e))?(this.noBreak=!1,this.isXML||(this.tagName=""),!1):(b=this.noBreak,this.noBreak=!1,b?!1:!0);if(0==c.indexOf("</")&&(this.tagType="close",a=c.match(/^<\/\s*?([\w]+?)$/i),null!=a&&(d=a[1].toLowerCase()),-1!="|a|b|bdi|bdo|big|center|cite|del|em|font|i|img|ins|s|small|span|strike|strong|sub|sup|u|".indexOf("|"+d+"|")&&(this.noBreak=!0)),
0==c.indexOf(">")&&"close"==this.tagType)return(this.tagType="",0==e.indexOf("<")&&(a=e.match(/^<\/?\s*?([\w]+?)(\s|>)/i),d=null!=a?a[1].toLowerCase():"",-1=="|label|li|option|textarea|title|a|b|bdi|bdo|big|center|cite|del|em|font|i|img|ins|s|small|span|strike|strong|sub|sup|u|".indexOf("|"+d+"|")))?(this.noBreak=!1,!0):(b=this.noBreak,this.noBreak=!1,b?!1:!0)}return 0==e.indexOf("<")?(this.noBreak=!1,this.isXML&&""!=this.tagName)?(this.tagName="",!1):(a=e.match(/^<\/?\s*?([\w]+?)(\s|>)/i),d=null!=
a?a[1].toLowerCase():"",-1!="|label|li|option|textarea|title|a|b|bdi|bdo|big|center|cite|del|em|font|i|img|ins|s|small|span|strike|strong|sub|sup|u|".indexOf("|"+d+"|")?!1:!0):!1}});CodeMirror.defineExtension("commentRange",function(g,c,e){var b=this,a=CodeMirror.innerMode(b.getMode(),b.getTokenAt(c).state).mode;b.operation(function(){if(g)b.replaceRange(a.commentEnd,e),b.replaceRange(a.commentStart,c),c.line==e.line&&c.ch==e.ch&&b.setCursor(c.line,c.ch+a.commentStart.length);else{var d=b.getRange(c,
e),f=d.indexOf(a.commentStart),j=d.lastIndexOf(a.commentEnd);-1<f&&-1<j&&j>f&&(d=d.substr(0,f)+d.substring(f+a.commentStart.length,j)+d.substr(j+a.commentEnd.length));b.replaceRange(d,c,e)}})});CodeMirror.defineExtension("autoIndentRange",function(g,c){var e=this;this.operation(function(){for(var b=g.line;b<=c.line;b++)e.indentLine(b,"smart")})});CodeMirror.defineExtension("autoFormatRange",function(g,c){for(var e=this,b=e.getMode(),a=e.getRange(g,c).split("\n"),d=CodeMirror.copyState(b,e.getTokenAt(g).state),
f=e.getOption("tabSize"),j="",i=0,l=0==g.ch,h,m=0;m<a.length;++m){for(h=new CodeMirror.StringStream(a[m],f);!h.eol();){var k=CodeMirror.innerMode(b,d),o=b.token(h,d),p=h.current();h.start=h.pos;(!l||/\S/.test(p))&&(j+=p,l=!1);if(!l&&k.mode.newlineAfterToken&&k.mode.newlineAfterToken(o,p,h.string.slice(h.pos)||a[m+1]||"",k.state))j+="\n",l=!0,++i}!h.pos&&b.blankLine&&b.blankLine(d);!l&&m<a.length-1&&(j+="\n",l=!0,++i)}e.operation(function(){e.replaceRange(j,g,c);for(var a=g.line+1,b=g.line+i;a<=b;++a)e.indentLine(a,
"smart");e.setSelection(g,e.getCursor(!1))})})})();
(function(){function k(a){this.minChars="object"==typeof a&&a.minChars||e;this.style="object"==typeof a&&a.style||b;this.overlay=null}function g(a){a.operation(function(){var b=a.state.matchHighlighter,f;(b.overlay&&(a.removeOverlay(b.overlay),b.overlay=null),a.somethingSelected())&&((f=a.getSelection().replace(/^\s+|\s+$/g,""),f.length<b.minChars)||a.addOverlay(b.overlay=c(f,b.style)))})}function c(a,b){return{token:function(c){if(c.match(a))return b;c.next();c.skipTo(a.charAt(0))||c.skipToEnd()}}}
var e=2,b="matchhighlight";CodeMirror.defineOption("highlightSelectionMatches",!1,function(a,b,c){var c=c&&c!=CodeMirror.Init,e;if(b&&!c){a.state.matchHighlighter=new k(b);a.on("cursorActivity",g)}else!b&&c&&(e=a.state.matchHighlighter.overlay,e&&a.removeOverlay(e),a.state.matchHighlighter=null,a.off("cursorActivity",g))})})();

View File

@ -1,17 +0,0 @@
(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],b):b(CodeMirror)})(function(b){function l(b,c,a){var e;return e=b.getWrapperElement().appendChild(document.createElement("div")),e.className=a?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof c?e.innerHTML=c:e.appendChild(c),e}function o(b,c){b.state.currentNotificationClose&&b.state.currentNotificationClose();
b.state.currentNotificationClose=c}b.defineExtension("openDialog",function(g,c,a){function e(){h||(h=!0,i.parentNode.removeChild(i))}var d;o(this,null);var i=l(this,g,a&&a.bottom),h=!1,k=this;if(d=i.getElementsByTagName("input")[0],d){a&&a.value&&(d.value=a.value);b.on(d,"keydown",function(g){a&&a.onKeyDown&&a.onKeyDown(g,d.value,e)||(13==g.keyCode||27==g.keyCode)&&(d.blur(),b.e_stop(g),e(),k.focus(),13==g.keyCode&&c(d.value))});if(a&&a.onKeyUp)b.on(d,"keyup",function(c){a.onKeyUp(c,d.value,e)});
a&&a.value&&(d.value=a.value);d.focus();b.on(d,"blur",e)}else if(g=i.getElementsByTagName("button")[0])b.on(g,"click",function(){e();k.focus()}),g.focus(),b.on(g,"blur",e);return e});b.defineExtension("openConfirm",function(g,c,a){function e(){h||(h=!0,i.parentNode.removeChild(i),k.focus())}var d;o(this,null);var i=l(this,g,a&&a.bottom),a=i.getElementsByTagName("button"),h=!1,k=this,m=1;a[0].focus();for(g=0;g<a.length;++g)d=a[g],function(a){b.on(d,"click",function(c){b.e_preventDefault(c);e();a&&
a(k)})}(c[g]),b.on(d,"blur",function(){--m;setTimeout(function(){0>=m&&e()},200)}),b.on(d,"focus",function(){++m})});b.defineExtension("openNotification",function(g,c){function a(){i||(i=!0,clearTimeout(h),e.parentNode.removeChild(e))}o(this,a);var e=l(this,g,c&&c.bottom),d=c&&(void 0===c.duration?5E3:c.duration),i=!1,h;b.on(e,"click",function(c){b.e_preventDefault(c);a()});d&&(h=setTimeout(a,c.duration))})});
(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror"),require("./searchcursor"),require("../dialog/dialog")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./searchcursor","../dialog/dialog"],b):b(CodeMirror)})(function(b){function l(f,a){return"string"==typeof f?f=RegExp(f.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),a?"gi":"g"):f.global||(f=RegExp(f.source,f.ignoreCase?"gi":"g")),{token:function(a){f.lastIndex=a.pos;var c=
f.exec(a.string);if(c&&c.index==a.pos)return a.pos+=c[0].length,"searching";c?a.pos=c.index:a.skipToEnd()}}}function o(){this.overlay=this.posFrom=this.posTo=this.query=null}function g(f){return f.state.search||(f.state.search=new o)}function c(f){return"string"==typeof f&&f==f.toLowerCase()}function a(f,a,b){return f.getSearchCursor(a,b,c(a))}function e(f,a,c,b,e){f.openDialog?f.openDialog(a,e,{value:b}):e(prompt(c,b))}function d(f,a,c,b){f.openConfirm?f.openConfirm(a,b):confirm(c)&&b[0]()}function i(f){var a=
f.match(/^\/(.*)\/([a-z]*)$/);return a?(f=RegExp(a[1],-1==a[2].indexOf("i")?"":"i"),f.test("")&&(f=/x^/)):""==f&&(f=/x^/),f}function h(a,b){var d=g(a);if(d.query)return k(a,b);e(a,n,"Search for:",a.getSelection(),function(e){a.operation(function(){e&&!d.query&&(d.query=i(e),a.removeOverlay(d.overlay,c(d.query)),d.overlay=l(d.query,c(d.query)),a.addOverlay(d.overlay),d.posFrom=d.posTo=a.getCursor(),k(a,b))})})}function k(f,c){f.operation(function(){var d=g(f),e=a(f,d.query,c?d.posFrom:d.posTo);(e.find(c)||
(e=a(f,d.query,c?b.Pos(f.lastLine()):b.Pos(f.firstLine(),0)),e.find(c)))&&(f.setSelection(e.from(),e.to()),f.scrollIntoView({from:e.from(),to:e.to()}),d.posFrom=e.from(),d.posTo=e.to())})}function m(a){a.operation(function(){var c=g(a);c.query&&(c.query=null,a.removeOverlay(c.overlay))})}function q(c,b){e(c,r,"Replace:",c.getSelection(),function(g){g&&(g=i(g),e(c,p,"Replace with:","",function(e){if(b)c.operation(function(){for(var d,b=a(c,g);b.findNext();)"string"!=typeof g?(d=c.getRange(b.from(),
b.to()).match(g),b.replace(e.replace(/\$(\d)/g,function(a,c){return d[c]}))):b.replace(e)});else{m(c);var n=a(c,g,c.getCursor()),h=function(){var b=n.from(),e;((e=n.findNext())||(n=a(c,g),(e=n.findNext())&&(!b||n.from().line!=b.line||n.from().ch!=b.ch)))&&(c.setSelection(n.from(),n.to()),c.scrollIntoView({from:n.from(),to:n.to()}),d(c,j,"Replace?",[function(){p(e)},h]))},p=function(a){n.replace("string"==typeof g?e:e.replace(/\$(\d)/g,function(c,b){return a[b]}));h()};h()}}))})}var n='Search: <input type="text" style="width: 10em"/> <span style="color: #888">(Use /re/ syntax for regexp search)</span>',
r='Replace: <input type="text" style="width: 10em"/> <span style="color: #888">(Use /re/ syntax for regexp search)</span>',p='With: <input type="text" style="width: 10em"/>',j="Replace? <button>Yes</button> <button>No</button> <button>Stop</button>";b.commands.find=function(a){m(a);h(a)};b.commands.findNext=h;b.commands.findPrev=function(a){h(a,!0)};b.commands.clearSearch=m;b.commands.replace=q;b.commands.replaceAll=function(a){q(a,!0)}});
(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],b):b(CodeMirror)})(function(b){function l(c,a,b,d){var i,h,k,m;this.atOccurrence=!1;this.doc=c;null==d&&"string"==typeof a&&(d=!1);b=b?c.clipPos(b):g(0,0);this.pos={from:b,to:b};"string"!=typeof a?(a.global||(a=RegExp(a.source,a.ignoreCase?"ig":"g")),this.matches=function(b,d){var e,h,j,f,i;if(b){a.lastIndex=0;e=c.getLine(d.line).slice(0,
d.ch);for(h=0;!(a.lastIndex=h,i=a.exec(e),!i)&&!(j=i,f=j.index,h=j.index+(j[0].length||1),h==e.length););(h=j&&j[0].length||0)||(0==f&&0==e.length?j=void 0:f!=c.getLine(d.line).length&&h++)}else a.lastIndex=d.ch,e=c.getLine(d.line),h=(j=a.exec(e))&&j[0].length||0,f=j&&j.index,f+h==e.length||h||(h=1);if(j&&h)return{from:g(d.line,f),to:g(d.line,f+h),match:j}}):(i=a,d&&(a=a.toLowerCase()),h=d?function(a){return a.toLowerCase()}:function(a){return a},k=a.split("\n"),1==k.length?this.matches=a.length?
function(b,d){if(b){var e=c.getLine(d.line).slice(0,d.ch),k=h(e),j=k.lastIndexOf(a);if(-1<j)return j=o(e,k,j),{from:g(d.line,j),to:g(d.line,j+i.length)}}else if(e=c.getLine(d.line).slice(d.ch),k=h(e),j=k.indexOf(a),-1<j)return j=o(e,k,j)+d.ch,{from:g(d.line,j),to:g(d.line,j+i.length)}}:function(){}:(m=i.split("\n"),this.matches=function(a,b){var d=k.length-1,e,j,f,i,l;if(a){if(b.line-(k.length-1)<c.firstLine()||h(c.getLine(b.line).slice(0,m[d].length))!=k[k.length-1])return;e=g(b.line,m[d].length);
i=b.line-1;for(l=d-1;1<=l;--l,--i)if(k[l]!=h(c.getLine(i)))return;return(j=c.getLine(i),f=j.length-m[0].length,h(j.slice(f))!=k[0])?void 0:{from:g(i,f),to:e}}if(!(b.line+(k.length-1)>c.lastLine())&&(j=c.getLine(b.line),f=j.length-m[0].length,h(j.slice(f))==k[0])){e=g(b.line,f);i=b.line+1;for(l=1;l<d;++l,++i)if(k[l]!=h(c.getLine(i)))return;if(c.getLine(i).slice(0,m[d].length)==k[d])return{from:e,to:g(i,m[d].length)}}}))}function o(c,a,b){var d;if(c.length==a.length)return b;for(a=Math.min(b,c.length);;)if(d=
c.slice(0,a).toLowerCase().length,d<b)++a;else if(d>b)--a;else return a}var g=b.Pos;l.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(c){function a(a){a=g(a,0);return b.pos={from:a,to:a},b.atOccurrence=!1,!1}for(var b=this,d=this.doc.clipPos(c?this.pos.from:this.pos.to),i;;){if(this.pos=this.matches(c,d))return this.atOccurrence=!0,this.pos.match||!0;if(c){if(!d.line)return a(0);d=g(d.line-1,this.doc.getLine(d.line-1).length)}else{if(i=
this.doc.lineCount(),d.line==i-1)return a(i);d=g(d.line+1,0)}}},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(c){this.atOccurrence&&(c=b.splitLines(c),this.doc.replaceRange(c,this.pos.from,this.pos.to),this.pos.to=g(this.pos.from.line+c.length-1,c[c.length-1].length+(1==c.length?this.pos.from.ch:0)))}};b.defineExtension("getSearchCursor",function(b,a,e){return new l(this.doc,b,a,e)});b.defineDocExtension("getSearchCursor",
function(b,a,e){return new l(this,b,a,e)});b.defineExtension("selectMatches",function(c,a){for(var e=[],d=this.getSearchCursor(c,this.getCursor("from"),a);d.findNext()&&!(0<b.cmpPos(d.to(),this.getCursor("to")));)e.push({anchor:d.from(),head:d.to()});e.length&&this.setSelections(e,0)})});

View File

@ -1,247 +1,197 @@
(function(m){if("object"==typeof exports&&"object"==typeof module)module.exports=m();else{if("function"==typeof define&&define.amd)return define([],m);this.CodeMirror=m()}})(function(){function m(a,b){if(!(this instanceof m))return new m(a,b);this.options=b=b||{};Ra(Ne,b,!1);jc(b);var c=b.value;"string"==typeof c&&(c=new L(c,b.mode));this.doc=c;var d=this.display=new Oe(a,c);d.wrapper.CodeMirror=this;id(this);jd(this);b.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap");b.autofocus&&
!kc&&M(this);this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,draggingText:!1,highlight:new lc};aa&&setTimeout(T(U,this,!0),20);Pe(this);kd||(Qe(),kd=!0);var e=this;ba(this,function(){e.curOp.forceUpdate=true;ld(e,c);b.autofocus&&!kc||ja()==d.input?setTimeout(T(mc,e),20):vb(e);for(var a in Fa)if(Fa.hasOwnProperty(a))Fa[a](e,b[a],md);for(a=0;a<nc.length;++a)nc[a](e)})}function Oe(a,b){var c=this.input=q("textarea",null,null,"position: absolute; padding: 0; width: 1px; height: 1em; outline: none");
J?c.style.width="1000px":c.setAttribute("wrap","off");Sa&&(c.style.border="1px solid black");c.setAttribute("autocorrect","off");c.setAttribute("autocapitalize","off");c.setAttribute("spellcheck","false");this.inputDiv=q("div",[c],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");this.scrollbarH=q("div",[q("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");this.scrollbarV=q("div",[q("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar");this.scrollbarFiller=
q("div",null,"CodeMirror-scrollbar-filler");this.gutterFiller=q("div",null,"CodeMirror-gutter-filler");this.lineDiv=q("div",null,"CodeMirror-code");this.selectionDiv=q("div",null,null,"position: relative; z-index: 1");this.cursorDiv=q("div",null,"CodeMirror-cursors");this.measure=q("div",null,"CodeMirror-measure");this.lineMeasure=q("div",null,"CodeMirror-measure");this.lineSpace=q("div",[this.measure,this.lineMeasure,this.selectionDiv,this.cursorDiv,this.lineDiv],null,"position: relative; outline: none");
this.mover=q("div",[q("div",[this.lineSpace],"CodeMirror-lines")],null,"position: relative");this.sizer=q("div",[this.mover],"CodeMirror-sizer");this.heightForcer=q("div",null,null,"position: absolute; height: "+ca+"px; width: 1px;");this.gutters=q("div",null,"CodeMirror-gutters");this.lineGutter=null;this.scroller=q("div",[this.sizer,this.heightForcer,this.gutters],"CodeMirror-scroll");this.scroller.setAttribute("tabIndex","-1");this.wrapper=q("div",[this.inputDiv,this.scrollbarH,this.scrollbarV,
this.scrollbarFiller,this.gutterFiller,this.scroller],"CodeMirror");Ta&&(this.gutters.style.zIndex=-1,this.scroller.style.paddingRight=0);Sa&&(c.style.width="0px");J||(this.scroller.draggable=!0);oc&&(this.inputDiv.style.height="1px",this.inputDiv.style.position="absolute");Ta&&(this.scrollbarH.style.minHeight=this.scrollbarV.style.minWidth="18px");a.appendChild?a.appendChild(this.wrapper):a(this.wrapper);this.viewFrom=this.viewTo=b.first;this.view=[];this.externalMeasured=null;this.lastSizeC=this.viewOffset=
0;this.lineNumWidth=this.lineNumInnerWidth=this.lineNumChars=this.updateLineNumbers=null;this.prevInput="";this.pollingFast=this.alignWidgets=!1;this.poll=new lc;this.cachedCharWidth=this.cachedTextHeight=this.cachedPaddingH=null;this.inaccurateSelection=!1;this.maxLine=null;this.maxLineLength=0;this.maxLineChanged=!1;this.wheelDX=this.wheelDY=this.wheelStartX=this.wheelStartY=null;this.shift=!1;this.selForContextMenu=null}function pc(a){a.doc.mode=m.getMode(a.options,a.doc.modeOption);Ua(a)}function Ua(a){a.doc.iter(function(a){a.stateAfter&&
(a.stateAfter=null);a.styles&&(a.styles=null)});a.doc.frontier=a.doc.first;Va(a,100);a.state.modeGen++;a.curOp&&O(a)}function nd(a){var b=qa(a.display),c=a.options.lineWrapping,d=c&&Math.max(5,a.display.scroller.clientWidth/Wa(a.display)-3);return function(e){if(ra(a.doc,e))return 0;var f=0;if(e.widgets)for(var g=0;g<e.widgets.length;g++)e.widgets[g].height&&(f+=e.widgets[g].height);return c?f+(Math.ceil(e.text.length/d)||1)*b:f+b}}function qc(a){var b=a.doc,c=nd(a);b.iter(function(a){var b=c(a);
b!=a.height&&V(a,b)})}function od(a){var b=da[a.options.keyMap].style;a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-keymap-\S+/g,"")+(b?" cm-keymap-"+b:"")}function jd(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-");Xa(a)}function Ya(a){id(a);O(a);setTimeout(function(){rc(a)},20)}function id(a){var b=a.display.gutters,c=a.options.gutters;sa(b);for(var d=0;d<c.length;++d){var e=c[d],f=b.appendChild(q("div",
null,"CodeMirror-gutter "+e));"CodeMirror-linenumbers"==e&&(a.display.lineGutter=f,f.style.width=(a.display.lineNumWidth||1)+"px")}b.style.display=d?"":"none";sc(a)}function sc(a){var b=a.display.gutters.offsetWidth;a.display.sizer.style.marginLeft=b+"px";a.display.scrollbarH.style.left=a.options.fixedGutter?b+"px":0}function wb(a){if(0==a.height)return 0;for(var b=a.text.length,c,d=a;c=ta(d,!0);)c=c.find(0,!0),d=c.from.line,b+=c.from.ch-c.to.ch;for(d=a;c=ta(d,!1);)c=c.find(0,!0),b-=d.text.length-
c.from.ch,d=c.to.line,b+=d.text.length-c.to.ch;return b}function tc(a){var b=a.display,a=a.doc;b.maxLine=r(a,a.first);b.maxLineLength=wb(b.maxLine);b.maxLineChanged=!0;a.iter(function(a){var d=wb(a);d>b.maxLineLength&&(b.maxLineLength=d,b.maxLine=a)})}function jc(a){var b=F(a.gutters,"CodeMirror-linenumbers");-1==b&&a.lineNumbers?a.gutters=a.gutters.concat(["CodeMirror-linenumbers"]):-1<b&&!a.lineNumbers&&(a.gutters=a.gutters.slice(0),a.gutters.splice(b,1))}function pd(a){var b=a.display.scroller;
return{clientHeight:b.clientHeight,barHeight:a.display.scrollbarV.clientHeight,scrollWidth:b.scrollWidth,clientWidth:b.clientWidth,barWidth:a.display.scrollbarH.clientWidth,docHeight:Math.round(a.doc.height+(a.display.mover.offsetHeight-a.display.lineSpace.offsetHeight))}}function xb(a,b){b||(b=pd(a));var c=a.display,d=b.docHeight+ca,e=b.scrollWidth>b.clientWidth,f=d>b.clientHeight;f?(c.scrollbarV.style.display="block",c.scrollbarV.style.bottom=e?Za(c.measure)+"px":"0",c.scrollbarV.firstChild.style.height=
Math.max(0,d-b.clientHeight+(b.barHeight||c.scrollbarV.clientHeight))+"px"):(c.scrollbarV.style.display="",c.scrollbarV.firstChild.style.height="0");e?(c.scrollbarH.style.display="block",c.scrollbarH.style.right=f?Za(c.measure)+"px":"0",c.scrollbarH.firstChild.style.width=b.scrollWidth-b.clientWidth+(b.barWidth||c.scrollbarH.clientWidth)+"px"):(c.scrollbarH.style.display="",c.scrollbarH.firstChild.style.width="0");e&&f?(c.scrollbarFiller.style.display="block",c.scrollbarFiller.style.height=c.scrollbarFiller.style.width=
Za(c.measure)+"px"):c.scrollbarFiller.style.display="";e&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(c.gutterFiller.style.display="block",c.gutterFiller.style.height=Za(c.measure)+"px",c.gutterFiller.style.width=c.gutters.offsetWidth+"px"):c.gutterFiller.style.display="";!a.state.checkedOverlayScrollbar&&0<b.clientHeight&&(0===Za(c.measure)&&(c.scrollbarV.style.minWidth=c.scrollbarH.style.minHeight=ea&&!Re?"12px":"18px",d=function(b){(b.target||b.srcElement)!=c.scrollbarV&&(b.target||
b.srcElement)!=c.scrollbarH&&B(a,qd)(b)},t(c.scrollbarV,"mousedown",d),t(c.scrollbarH,"mousedown",d)),a.state.checkedOverlayScrollbar=!0)}function uc(a,b,c){var d=c&&null!=c.top?Math.max(0,c.top):a.scroller.scrollTop,d=Math.floor(d-a.lineSpace.offsetTop),e=c&&null!=c.bottom?c.bottom:d+a.wrapper.clientHeight,d=ua(b,d),e=ua(b,e);if(c&&c.ensure){var f=c.ensure.from.line,c=c.ensure.to.line;if(f<d)return{from:f,to:ua(b,fa(r(b,f))+a.wrapper.clientHeight)};if(Math.min(c,b.lastLine())>=e)return{from:ua(b,
fa(r(b,c))-a.wrapper.clientHeight),to:c}}return{from:d,to:Math.max(e,d+1)}}function rc(a){var b=a.display,c=b.view;if(b.alignWidgets||b.gutters.firstChild&&a.options.fixedGutter){for(var d=vc(b)-b.scroller.scrollLeft+a.doc.scrollLeft,e=b.gutters.offsetWidth,f=d+"px",g=0;g<c.length;g++)if(!c[g].hidden){a.options.fixedGutter&&c[g].gutter&&(c[g].gutter.style.left=f);var h=c[g].alignable;if(h)for(var i=0;i<h.length;i++)h[i].style.left=f}a.options.fixedGutter&&(b.gutters.style.left=d+e+"px")}}function vc(a){return a.scroller.getBoundingClientRect().left-
a.sizer.getBoundingClientRect().left}function yb(a,b,c){for(var d=a.display.viewFrom,e=a.display.viewTo,f,g=uc(a.display,a.doc,b),h=!0;;h=!1){var i=a.display.scroller.clientWidth,j;j=a;var k=g,n=c,c=j.display,l=j.doc;if(c.wrapper.offsetWidth)if(!n&&k.from>=c.viewFrom&&k.to<=c.viewTo&&0==rd(j))j=void 0;else{var o;o=j;if(o.options.lineNumbers){var w=o.doc,w=""+o.options.lineNumberFormatter(w.first+w.size-1+o.options.firstLineNumber),C=o.display;if(w.length!=C.lineNumChars){var m=C.measure.appendChild(q("div",
[q("div",w)],"CodeMirror-linenumber CodeMirror-gutter-elt")),p=m.firstChild.offsetWidth,m=m.offsetWidth-p;C.lineGutter.style.width="";C.lineNumInnerWidth=Math.max(p,C.lineGutter.offsetWidth-m);C.lineNumWidth=C.lineNumInnerWidth+m;C.lineNumChars=C.lineNumInnerWidth?w.length:-1;C.lineGutter.style.width=C.lineNumWidth+"px";sc(o);o=!0}else o=!1}else o=!1;o&&ka(j);o=sd(j);p=l.first+l.size;w=Math.max(k.from-j.options.viewportMargin,l.first);C=Math.min(p,k.to+j.options.viewportMargin);c.viewFrom<w&&20>w-
c.viewFrom&&(w=Math.max(l.first,c.viewFrom));c.viewTo>C&&20>c.viewTo-C&&(C=Math.min(p,c.viewTo));la&&(w=wc(j.doc,w),C=td(j.doc,C));k=w!=c.viewFrom||C!=c.viewTo||c.lastSizeC!=c.wrapper.clientHeight;l=j;p=l.display;0==p.view.length||w>=p.viewTo||C<=p.viewFrom?(p.view=zb(l,w,C),p.viewFrom=w):(p.viewFrom>w?p.view=zb(l,w,p.viewFrom).concat(p.view):p.viewFrom<w&&(p.view=p.view.slice($a(l,w))),p.viewFrom=w,p.viewTo<C)?p.view=p.view.concat(zb(l,p.viewTo,C)):p.viewTo>C&&(p.view=p.view.slice(0,$a(l,C)));p.viewTo=
C;c.viewOffset=fa(r(j.doc,c.viewFrom));j.display.mover.style.top=c.viewOffset+"px";l=rd(j);if(!k&&0==l&&!n)j=void 0;else{n=ja();4<l&&(c.lineDiv.style.display="none");Se(j,c.updateLineNumbers,o);4<l&&(c.lineDiv.style.display="");n&&(ja()!=n&&n.offsetHeight)&&n.focus();sa(c.cursorDiv);sa(c.selectionDiv);k&&(c.lastSizeC=c.wrapper.clientHeight,Va(j,400));j=j.display;c=j.lineDiv.offsetTop;for(n=0;n<j.view.length;n++)if(k=j.view[n],!k.hidden&&(Ta?(o=k.node.offsetTop+k.node.offsetHeight,l=o-c,c=o):(l=k.node.getBoundingClientRect(),
l=l.bottom-l.top),o=k.line.height-l,2>l&&(l=qa(j)),0.001<o||-0.001>o))if(V(k.line,l),ud(k.line),k.rest)for(l=0;l<k.rest.length;l++)ud(k.rest[l]);j=!0}}else ka(j),j=void 0;if(!j)break;f=!0;a.display.maxLineChanged&&!a.options.lineWrapping&&(j=a,c=j.display,n=xc(j,Ab(j,c.maxLine),c.maxLine.text.length,void 0).left,c.maxLineChanged=!1,n=Math.max(0,n+3),k=Math.max(0,c.sizer.offsetLeft+n+ca-c.scroller.clientWidth),c.sizer.style.minWidth=n+"px",k<j.doc.scrollLeft&&Ga(j,Math.min(c.scroller.scrollLeft,k),
!0));j=pd(a);yc(a);c=a;n=j;c.display.sizer.style.minHeight=c.display.heightForcer.style.top=n.docHeight+"px";c.display.gutters.style.height=Math.max(n.docHeight,n.clientHeight-ca)+"px";xb(a,j);J&&a.options.lineWrapping&&(c=a,n=j,c.display.sizer.offsetWidth+c.display.gutters.offsetWidth<c.display.scroller.clientWidth-1&&(c.display.sizer.style.minHeight=c.display.heightForcer.style.top="0px",c.display.gutters.style.height=n.docHeight+"px"));if(h&&a.options.lineWrapping&&i!=a.display.scroller.clientWidth)c=
!0;else if(c=!1,b&&null!=b.top&&(b={top:Math.min(j.docHeight-ca-j.clientHeight,b.top)}),g=uc(a.display,a.doc,b),g.from>=a.display.viewFrom&&g.to<=a.display.viewTo)break}a.display.updateLineNumbers=null;f&&(D(a,"update",a),(a.display.viewFrom!=d||a.display.viewTo!=e)&&D(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo));return f}function ud(a){if(a.widgets)for(var b=0;b<a.widgets.length;++b)a.widgets[b].height=a.widgets[b].node.offsetHeight}function sd(a){for(var b=a.display,c={},d={},e=b.gutters.firstChild,
f=0;e;e=e.nextSibling,++f)c[a.options.gutters[f]]=e.offsetLeft,d[a.options.gutters[f]]=e.offsetWidth;return{fixedPos:vc(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:c,gutterWidth:d,wrapperWidth:b.wrapper.clientWidth}}function Se(a,b,c){function d(b){var c=b.nextSibling;J&&ea&&a.display.currentWheelTarget==b?b.style.display="none":b.parentNode.removeChild(b);return c}for(var e=a.display,f=a.options.lineNumbers,g=e.lineDiv,h=g.firstChild,i=e.view,e=e.viewFrom,j=0;j<i.length;j++){var k=i[j];
if(!k.hidden)if(k.node){for(;h!=k.node;)h=d(h);h=f&&null!=b&&b<=e&&k.lineNumber;k.changes&&(-1<F(k.changes,"gutter")&&(h=!1),vd(a,k,e,c));h&&(sa(k.lineNumber),k.lineNumber.appendChild(document.createTextNode(""+a.options.lineNumberFormatter(e+a.options.firstLineNumber))));h=k.node.nextSibling}else{var n=Te(a,k,e,c);g.insertBefore(n,h)}e+=k.size}for(;h;)h=d(h)}function vd(a,b,c,d){for(var e=0;e<b.changes.length;e++){var f=b.changes[e];if("text"==f){var f=b,g=f.text.className,h=wd(a,f);f.text==f.node&&
(f.node=h.pre);f.text.parentNode.replaceChild(h.pre,f.text);f.text=h.pre;h.bgClass!=f.bgClass||h.textClass!=f.textClass?(f.bgClass=h.bgClass,f.textClass=h.textClass,zc(f)):g&&(f.text.className=g)}else if("gutter"==f)xd(a,b,c,d);else if("class"==f)zc(b);else if("widget"==f){f=b;g=d;f.alignable&&(f.alignable=null);for(var h=f.node.firstChild,i=void 0;h;h=i)i=h.nextSibling,"CodeMirror-linewidget"==h.className&&f.node.removeChild(h);yd(f,g)}}b.changes=null}function Bb(a){a.node==a.text&&(a.node=q("div",
null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),Ta&&(a.node.style.zIndex=2));return a.node}function wd(a,b){var c=a.display.externalMeasured;return c&&c.line==b.line?(a.display.externalMeasured=null,b.measure=c.measure,c.built):zd(a,b)}function zc(a){var b=a.bgClass?a.bgClass+" "+(a.line.bgClass||""):a.line.bgClass;b&&(b+=" CodeMirror-linebackground");if(a.background)b?a.background.className=b:(a.background.parentNode.removeChild(a.background),
a.background=null);else if(b){var c=Bb(a);a.background=c.insertBefore(q("div",null,b),c.firstChild)}a.line.wrapClass?Bb(a).className=a.line.wrapClass:a.node!=a.text&&(a.node.className="");a.text.className=(a.textClass?a.textClass+" "+(a.line.textClass||""):a.line.textClass)||""}function xd(a,b,c,d){b.gutter&&(b.node.removeChild(b.gutter),b.gutter=null);var e=b.line.gutterMarkers;if(a.options.lineNumbers||e){var f=Bb(b),f=b.gutter=f.insertBefore(q("div",null,"CodeMirror-gutter-wrapper","position: absolute; left: "+
(a.options.fixedGutter?d.fixedPos:-d.gutterTotalWidth)+"px"),b.text);if(a.options.lineNumbers&&(!e||!e["CodeMirror-linenumbers"]))b.lineNumber=f.appendChild(q("div",""+a.options.lineNumberFormatter(c+a.options.firstLineNumber),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+d.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"));if(e)for(b=0;b<a.options.gutters.length;++b){var c=a.options.gutters[b],g=e.hasOwnProperty(c)&&e[c];g&&f.appendChild(q("div",[g],"CodeMirror-gutter-elt",
"left: "+d.gutterLeft[c]+"px; width: "+d.gutterWidth[c]+"px"))}}}function Te(a,b,c,d){var e=wd(a,b);b.text=b.node=e.pre;e.bgClass&&(b.bgClass=e.bgClass);e.textClass&&(b.textClass=e.textClass);zc(b);xd(a,b,c,d);yd(b,d);return b.node}function yd(a,b){Ad(a.line,a,b,!0);if(a.rest)for(var c=0;c<a.rest.length;c++)Ad(a.rest[c],a,b,!1)}function Ad(a,b,c,d){if(a.widgets)for(var e=Bb(b),f=0,a=a.widgets;f<a.length;++f){var g=a[f],h=q("div",[g.node],"CodeMirror-linewidget");g.handleMouseEvents||(h.ignoreEvents=
!0);var i=g,j=h,k=c;if(i.noHScroll){(b.alignable||(b.alignable=[])).push(j);var n=k.wrapperWidth;j.style.left=k.fixedPos+"px";i.coverGutter||(n-=k.gutterTotalWidth,j.style.paddingLeft=k.gutterTotalWidth+"px");j.style.width=n+"px"}i.coverGutter&&(j.style.zIndex=5,j.style.position="relative",i.noHScroll||(j.style.marginLeft=-k.gutterTotalWidth+"px"));d&&g.above?e.insertBefore(h,b.gutter||b.text):e.appendChild(h);D(g,"redraw")}}function Ac(a,b){return 0>v(a,b)?b:a}function Bc(a,b){return 0>v(a,b)?a:
b}function ga(a,b){this.ranges=a;this.primIndex=b}function z(a,b){this.anchor=a;this.head=b}function W(a,b){var c=a[b];a.sort(function(a,b){return v(a.from(),b.from())});b=F(a,c);for(c=1;c<a.length;c++){var d=a[c],e=a[c-1];if(0<=v(e.to(),d.from())){var f=Bc(e.from(),d.from()),g=Ac(e.to(),d.to()),d=e.empty()?d.from()==d.head:e.from()==e.head;c<=b&&--b;a.splice(--c,2,new z(d?g:f,d?f:g))}}return new ga(a,b)}function ma(a,b){return new ga([new z(a,b||a)],0)}function s(a,b){if(b.line<a.first)return p(a.first,
0);var c=a.first+a.size-1;if(b.line>c)return p(c,r(a,c).text.length);var c=r(a,b.line).text.length,d=b.ch,c=null==d||d>c?p(b.line,c):0>d?p(b.line,0):b;return c}function ab(a,b){return b>=a.first&&b<a.first+a.size}function bb(a,b,c,d){return a.cm&&a.cm.display.shift||a.extend?(a=b.anchor,d&&(b=0>v(c,a),b!=0>v(d,a)?(a=c,c=d):b!=0>v(c,d)&&(c=d)),new z(a,c)):new z(d||c,c)}function Cb(a,b,c,d){G(a,new ga([bb(a,a.sel.primary(),b,c)],0),d)}function Bd(a,b,c){for(var d=[],e=0;e<a.sel.ranges.length;e++)d[e]=
bb(a,a.sel.ranges[e],b[e],null);b=W(d,a.sel.primIndex);G(a,b,c)}function Cd(a,b,c,d){var e=a.sel.ranges.slice(0);e[b]=c;G(a,W(e,a.sel.primIndex),d)}function Ue(a,b){var c={ranges:b.ranges,update:function(b){this.ranges=[];for(var c=0;c<b.length;c++)this.ranges[c]=new z(s(a,b[c].anchor),s(a,b[c].head))}};E(a,"beforeSelectionChange",a,c);a.cm&&E(a.cm,"beforeSelectionChange",a.cm,c);return c.ranges!=b.ranges?W(c.ranges,c.ranges.length-1):b}function Dd(a,b,c){var d=a.history.done,e=x(d);e&&e.ranges?(d[d.length-
1]=b,Db(a,b,c)):G(a,b,c)}function G(a,b,c){Db(a,b,c);var b=a.sel,d=a.cm?a.cm.curOp.id:NaN,e=a.history,f=c&&c.origin,g;if(!(g=d==e.lastOp))if(g=f)if(g=e.lastSelOrigin==f)if(!(g=e.lastModTime==e.lastSelTime&&e.lastOrigin==f)){g=x(e.done);var h=f.charAt(0);g="*"==h||"+"==h&&g.ranges.length==b.ranges.length&&g.somethingSelected()==b.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}g?e.done[e.done.length-1]=b:Eb(b,e.done);e.lastSelTime=+new Date;e.lastSelOrigin=
f;e.lastOp=d;c&&!1!==c.clearRedo&&Ed(e.undone)}function Db(a,b,c){if(P(a,"beforeSelectionChange")||a.cm&&P(a.cm,"beforeSelectionChange"))b=Ue(a,b);var d=c&&c.bias||(0>v(b.primary().head,a.sel.primary().head)?-1:1);Fd(a,Gd(a,b,d,!0));!(c&&!1===c.scroll)&&a.cm&&Ha(a.cm)}function Fd(a,b){b.equals(a.sel)||(a.sel=b,a.cm&&(a.cm.curOp.updateInput=a.cm.curOp.selectionChanged=!0,Hd(a.cm)),D(a,"cursorActivity",a))}function Id(a){Fd(a,Gd(a,a.sel,null,!1),va)}function Gd(a,b,c,d){for(var e,f=0;f<b.ranges.length;f++){var g=
b.ranges[f],h=Fb(a,g.anchor,c,d),i=Fb(a,g.head,c,d);if(e||h!=g.anchor||i!=g.head)e||(e=b.ranges.slice(0,f)),e[f]=new z(h,i)}return e?W(e,b.primIndex):b}function Fb(a,b,c,d){var e=!1,f=b,g=c||1;a.cantEdit=!1;a:for(;;){var h=r(a,f.line);if(h.markedSpans)for(var i=0;i<h.markedSpans.length;++i){var j=h.markedSpans[i],k=j.marker;if((null==j.from||(k.inclusiveLeft?j.from<=f.ch:j.from<f.ch))&&(null==j.to||(k.inclusiveRight?j.to>=f.ch:j.to>f.ch))){if(d&&(E(k,"beforeCursorEnter"),k.explicitlyCleared))if(h.markedSpans){--i;
continue}else break;if(k.atomic){i=k.find(0>g?-1:1);if(0==v(i,f)&&(i.ch+=g,0>i.ch?i=i.line>a.first?s(a,p(i.line-1)):null:i.ch>h.text.length&&(i=i.line<a.first+a.size-1?p(i.line+1,0):null),!i)){if(e){if(!d)return Fb(a,b,c,!0);a.cantEdit=!0;return p(a.first,0)}e=!0;i=b;g=-g}f=i;continue a}}}return f}}function yc(a){for(var b=a.display,c=a.doc,d=document.createDocumentFragment(),e=document.createDocumentFragment(),f=0;f<c.sel.ranges.length;f++){var g=c.sel.ranges[f],h=g.empty();if(h||a.options.showCursorWhenSelecting){var i=
a,j=d,k=ha(i,g.head,"div"),n=j.appendChild(q("div"," ","CodeMirror-cursor"));n.style.left=k.left+"px";n.style.top=k.top+"px";n.style.height=Math.max(0,k.bottom-k.top)*i.options.cursorHeight+"px";k.other&&(i=j.appendChild(q("div"," ","CodeMirror-cursor CodeMirror-secondarycursor")),i.style.display="",i.style.left=k.other.left+"px",i.style.top=k.other.top+"px",i.style.height=0.85*(k.other.bottom-k.other.top)+"px")}h||Ve(a,g,e)}a.options.moveInputWithCursor&&(c=ha(a,c.sel.primary().head,"div"),f=b.wrapper.getBoundingClientRect(),
g=b.lineDiv.getBoundingClientRect(),a=Math.max(0,Math.min(b.wrapper.clientHeight-10,c.top+g.top-f.top)),c=Math.max(0,Math.min(b.wrapper.clientWidth-10,c.left+g.left-f.left)),b.inputDiv.style.top=a+"px",b.inputDiv.style.left=c+"px");X(b.cursorDiv,d);X(b.selectionDiv,e)}function Ve(a,b,c){function d(a,b,c,d){0>b&&(b=0);b=Math.round(b);d=Math.round(d);h.appendChild(q("div",null,"CodeMirror-selected","position: absolute; left: "+a+"px; top: "+b+"px; width: "+(null==c?k-a:c)+"px; height: "+(d-b)+"px"))}
function e(b,c,e){var f=r(g,b),h=f.text.length,i,n;We(Y(f),c||0,null==e?h:e,function(g,m,q){var r=Gb(a,p(b,g),"div",f,"left"),s,t;g==m?(s=r,q=t=r.left):(s=Gb(a,p(b,m-1),"div",f,"right"),"rtl"==q&&(q=r,r=s,s=q),q=r.left,t=s.right);null==c&&0==g&&(q=j);3<s.top-r.top&&(d(q,r.top,null,r.bottom),q=j,r.bottom<s.top&&d(q,r.bottom,null,s.top));null==e&&m==h&&(t=k);if(!i||r.top<i.top||r.top==i.top&&r.left<i.left)i=r;if(!n||s.bottom>n.bottom||s.bottom==n.bottom&&s.right>n.right)n=s;q<j+1&&(q=j);d(q,s.top,t-
q,s.bottom)});return{start:i,end:n}}var f=a.display,g=a.doc,h=document.createDocumentFragment(),i=Jd(a.display),j=i.left,k=f.lineSpace.offsetWidth-i.right,f=b.from(),b=b.to();if(f.line==b.line)e(f.line,f.ch,b.ch);else{var n=r(g,f.line),i=r(g,b.line),i=Z(n)==Z(i),f=e(f.line,f.ch,i?n.text.length+1:null).end,b=e(b.line,i?0:null,b.ch).start;i&&(f.top<b.top-2?(d(f.right,f.top,null,f.bottom),d(j,b.top,b.left,b.bottom)):d(f.right,f.top,b.left-f.right,f.bottom));f.bottom<b.top&&d(j,f.bottom,null,b.top)}c.appendChild(h)}
function Hb(a){if(a.state.focused){var b=a.display;clearInterval(b.blinker);var c=!0;b.cursorDiv.style.visibility="";0<a.options.cursorBlinkRate&&(b.blinker=setInterval(function(){b.cursorDiv.style.visibility=(c=!c)?"":"hidden"},a.options.cursorBlinkRate))}}function Va(a,b){a.doc.mode.startState&&a.doc.frontier<a.display.viewTo&&a.state.highlight.set(b,T(Xe,a))}function Xe(a){var b=a.doc;b.frontier<b.first&&(b.frontier=b.first);if(!(b.frontier>=a.display.viewTo)){var c=+new Date+a.options.workTime,
d=cb(b.mode,db(a,b.frontier));ba(a,function(){b.iter(b.frontier,Math.min(b.first+b.size,a.display.viewTo+500),function(e){if(b.frontier>=a.display.viewFrom){var f=e.styles,g=Kd(a,e,d,true);e.styles=g.styles;if(g.classes)e.styleClasses=g.classes;else if(e.styleClasses)e.styleClasses=null;for(var g=!f||f.length!=e.styles.length,h=0;!g&&h<f.length;++h)g=f[h]!=e.styles[h];g&&na(a,b.frontier,"text");e.stateAfter=cb(b.mode,d)}else{Cc(a,e.text,d);e.stateAfter=b.frontier%5==0?cb(b.mode,d):null}++b.frontier;
if(+new Date>c){Va(a,a.options.workDelay);return true}})})}}function Ye(a,b,c){for(var d,e,f=a.doc,g=c?-1:b-(a.doc.mode.innerMode?1E3:100);b>g;--b){if(b<=f.first)return f.first;var h=r(f,b-1);if(h.stateAfter&&(!c||b<=f.frontier))return b;h=Q(h.text,null,a.options.tabSize);if(null==e||d>h)e=b-1,d=h}return e}function db(a,b,c){var d=a.doc,e=a.display;if(!d.mode.startState)return!0;var f=Ye(a,b,c),g=f>d.first&&r(d,f-1).stateAfter,g=g?cb(d.mode,g):Ze(d.mode);d.iter(f,b,function(c){Cc(a,c.text,g);c.stateAfter=
f==b-1||0==f%5||f>=e.viewFrom&&f<e.viewTo?cb(d.mode,g):null;++f});c&&(d.frontier=f);return g}function Jd(a){if(a.cachedPaddingH)return a.cachedPaddingH;var b=X(a.measure,q("pre","x")),b=window.getComputedStyle?window.getComputedStyle(b):b.currentStyle,b={left:parseInt(b.paddingLeft),right:parseInt(b.paddingRight)};!isNaN(b.left)&&!isNaN(b.right)&&(a.cachedPaddingH=b);return b}function Ld(a,b){if(b>=a.display.viewFrom&&b<a.display.viewTo)return a.display.view[$a(a,b)];var c=a.display.externalMeasured;
if(c&&b>=c.lineN&&b<c.lineN+c.size)return c}function Ab(a,b){var c=A(b),d=Ld(a,c);d&&!d.text?d=null:d&&d.changes&&vd(a,d,c,sd(a));if(!d){var e;e=Z(b);d=A(e);e=a.display.externalMeasured=new Md(a.doc,e,d);e.lineN=d;d=e.built=zd(a,e);e.text=d.pre;X(a.display.lineMeasure,d.pre);d=e}a:if(e=d,e.line==b)c={map:e.measure.map,cache:e.measure.cache};else{for(var f=0;f<e.rest.length;f++)if(e.rest[f]==b){c={map:e.measure.maps[f],cache:e.measure.caches[f]};break a}for(f=0;f<e.rest.length;f++)if(A(e.rest[f])>
c){c={map:e.measure.maps[f],cache:e.measure.caches[f],before:!0};break a}c=void 0}return{line:b,view:d,rect:null,map:c.map,cache:c.cache,before:c.before,hasHeights:!1}}function xc(a,b,c,d){b.before&&(c=-1);var e=c+(d||""),f;if(b.cache.hasOwnProperty(e))f=b.cache[e];else{b.rect||(b.rect=b.view.text.getBoundingClientRect());if(!b.hasHeights){var g=b.view,h=b.rect,i=a.options.lineWrapping,j=i&&a.display.scroller.clientWidth;if(!g.measure.heights||i&&g.measure.width!=j){var k=g.measure.heights=[];if(i){g.measure.width=
j;g=g.text.firstChild.getClientRects();for(i=0;i<g.length-1;i++){var j=g[i],n=g[i+1];2<Math.abs(j.bottom-n.bottom)&&k.push((j.bottom+n.top)/2-h.top)}}k.push(h.bottom-h.top)}b.hasHeights=!0}for(var h=d,k=b.map,l,o,w,d=0;d<k.length;d+=3){var p=k[d],m=k[d+1];if(c<p)o=0,w=1,f="left";else if(c<m)o=c-p,w=o+1;else if(d==k.length-3||c==m&&k[d+3]>c)w=m-p,o=w-1,c>=m&&(f="right");if(null!=o){l=k[d+2];if(p==m&&h==(l.insertLeft?"left":"right"))f=h;if("left"==h&&0==o)for(;d&&k[d-2]==k[d-3]&&k[d-1].insertLeft;)l=
k[(d-=3)+2],f="left";if("right"==h&&o==m-p)for(;d<k.length-3&&k[d+3]==k[d+4]&&!k[d+5].insertLeft;)l=k[(d+=3)+2],f="right";break}}if(3==l.nodeType){for(;o&&eb(b.line.text.charAt(p+o));)--o;for(;p+w<m&&eb(b.line.text.charAt(p+w));)++w;if(H&&0==o&&w==m-p)c=l.parentNode.getBoundingClientRect();else if(I&&a.options.lineWrapping)var q=fb(l,o,w).getClientRects(),c=q.length?q["right"==h?q.length-1:0]:Dc;else c=fb(l,o,w).getBoundingClientRect()||Dc}else 0<o&&(f=h="right"),c=a.options.lineWrapping&&1<(q=l.getClientRects()).length?
q["right"==h?q.length-1:0]:l.getBoundingClientRect();if(H&&!o&&(!c||!c.left&&!c.right))c=(l=l.parentNode.getClientRects()[0])?{left:l.left,right:l.left+Wa(a.display),top:l.top,bottom:l.bottom}:Dc;l=(c.bottom+c.top)/2-b.rect.top;o=b.view.measure.heights;for(d=0;d<o.length-1&&!(l<o[d]);d++);a=d?o[d-1]:0;l=o[d];f={left:("right"==f?c.right:c.left)-b.rect.left,right:("left"==f?c.left:c.right)-b.rect.left,top:a,bottom:l};!c.left&&!c.right&&(f.bogus=!0);f.bogus||(b.cache[e]=f)}return{left:f.left,right:f.right,
top:f.top,bottom:f.bottom}}function Nd(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var b=0;b<a.rest.length;b++)a.measure.caches[b]={}}function Od(a){a.display.externalMeasure=null;sa(a.display.lineMeasure);for(var b=0;b<a.display.view.length;b++)Nd(a.display.view[b])}function Xa(a){Od(a);a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null;a.options.lineWrapping||(a.display.maxLineChanged=!0);a.display.lineNumChars=null}function Ec(a,b,c,d){if(b.widgets)for(var e=
0;e<b.widgets.length;++e)if(b.widgets[e].above){var f=gb(b.widgets[e]);c.top+=f;c.bottom+=f}if("line"==d)return c;d||(d="local");b=fa(b);b="local"==d?b+a.display.lineSpace.offsetTop:b-a.display.viewOffset;if("page"==d||"window"==d)a=a.display.lineSpace.getBoundingClientRect(),b+=a.top+("window"==d?0:window.pageYOffset||(document.documentElement||document.body).scrollTop),d=a.left+("window"==d?0:window.pageXOffset||(document.documentElement||document.body).scrollLeft),c.left+=d,c.right+=d;c.top+=b;
c.bottom+=b;return c}function Pd(a,b,c){if("div"==c)return b;var d=b.left,b=b.top;if("page"==c)d-=window.pageXOffset||(document.documentElement||document.body).scrollLeft,b-=window.pageYOffset||(document.documentElement||document.body).scrollTop;else if("local"==c||!c)c=a.display.sizer.getBoundingClientRect(),d+=c.left,b+=c.top;a=a.display.lineSpace.getBoundingClientRect();return{left:d-a.left,top:b-a.top}}function Gb(a,b,c,d,e){d||(d=r(a.doc,b.line));return Ec(a,d,xc(a,Ab(a,d),b.ch,e),c)}function ha(a,
b,c,d,e){function f(b,f){var g=xc(a,e,b,f?"right":"left");f?g.left=g.right:g.right=g.left;return Ec(a,d,g,c)}function g(a,b){var c=h[b],d=c.level%2;a==(c.level%2?c.to:c.from)&&b&&c.level<h[b-1].level?(c=h[--b],a=Fc(c)-(c.level%2?0:1),d=!0):a==Fc(c)&&(b<h.length-1&&c.level<h[b+1].level)&&(c=h[++b],a=(c.level%2?c.to:c.from)-c.level%2,d=!1);return d&&a==c.to&&a>c.from?f(a-1):f(a,d)}d=d||r(a.doc,b.line);e||(e=Ab(a,d));var h=Y(d),b=b.ch;if(!h)return f(b);var i=Gc(h,b),i=g(b,i);null!=hb&&(i.other=g(b,hb));
return i}function Qd(a,b){var c=0,b=s(a.doc,b);a.options.lineWrapping||(c=Wa(a.display)*b.ch);var d=r(a.doc,b.line),e=fa(d)+a.display.lineSpace.offsetTop;return{left:c,right:c,top:e,bottom:e+d.height}}function Ib(a,b,c,d){a=p(a,b);a.xRel=d;c&&(a.outside=!0);return a}function Hc(a,b,c){var d=a.doc,c=c+a.display.viewOffset;if(0>c)return Ib(d.first,0,!0,-1);var e=ua(d,c),f=d.first+d.size-1;if(e>f)return Ib(d.first+d.size-1,r(d,f).text.length,!0,1);0>b&&(b=0);for(d=r(d,e);;)if(e=$e(a,d,e,b,c),f=(d=ta(d,
!1))&&d.find(0,!0),d&&(e.ch>f.from.ch||e.ch==f.from.ch&&0<e.xRel))e=A(d=f.to.line);else return e}function $e(a,b,c,d,e){function f(d){d=ha(a,p(c,d),"line",b,j);h=!0;if(g>d.bottom)return d.left-i;if(g<d.top)return d.left+i;h=!1;return d.left}var g=e-fa(b),h=!1,i=2*a.display.wrapper.clientWidth,j=Ab(a,b),k=Y(b),n=b.text.length,e=Jb(b),l=Kb(b),o=f(e),w=h,m=f(l),q=h;if(d>m)return Ib(c,l,q,1);for(;;){if(k?l==e||l==Ic(b,e,1):1>=l-e){k=d<o||d-o<=m-d?e:l;for(d-=k==e?o:m;eb(b.text.charAt(k));)++k;return Ib(c,
k,k==e?w:q,-1>d?-1:1<d?1:0)}var r=Math.ceil(n/2),s=e+r;if(k)for(var s=e,t=0;t<r;++t)s=Ic(b,s,1);t=f(s);if(t>d){l=s;m=t;if(q=h)m+=1E3;n=r}else e=s,o=t,w=h,n-=r}}function qa(a){if(null!=a.cachedTextHeight)return a.cachedTextHeight;if(null==wa){wa=q("pre");for(var b=0;49>b;++b)wa.appendChild(document.createTextNode("x")),wa.appendChild(q("br"));wa.appendChild(document.createTextNode("x"))}X(a.measure,wa);b=wa.offsetHeight/50;3<b&&(a.cachedTextHeight=b);sa(a.measure);return b||1}function Wa(a){if(null!=
a.cachedCharWidth)return a.cachedCharWidth;var b=q("span","xxxxxxxxxx"),c=q("pre",[b]);X(a.measure,c);b=b.getBoundingClientRect();b=(b.right-b.left)/10;2<b&&(a.cachedCharWidth=b);return b||10}function Ia(a){a.curOp={viewChanged:!1,startHeight:a.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,id:++af};Lb++||(oa=[])}function Ja(a){var b=a.curOp,c=a.doc,d=a.display;a.curOp=
null;b.updateMaxLine&&tc(a);if(b.viewChanged||b.forceUpdate||null!=b.scrollTop||b.scrollToPos&&(b.scrollToPos.from.line<d.viewFrom||b.scrollToPos.to.line>=d.viewTo)||d.maxLineChanged&&a.options.lineWrapping){var e=yb(a,{top:b.scrollTop,ensure:b.scrollToPos},b.forceUpdate);a.display.scroller.offsetHeight&&(a.doc.scrollTop=a.display.scroller.scrollTop)}!e&&b.selectionChanged&&yc(a);!e&&b.startHeight!=a.doc.height&&xb(a);if(null!=d.wheelStartX&&(null!=b.scrollTop||null!=b.scrollLeft||b.scrollToPos))d.wheelStartX=
d.wheelStartY=null;null!=b.scrollTop&&d.scroller.scrollTop!=b.scrollTop&&(e=Math.max(0,Math.min(d.scroller.scrollHeight-d.scroller.clientHeight,b.scrollTop)),d.scroller.scrollTop=d.scrollbarV.scrollTop=c.scrollTop=e);null!=b.scrollLeft&&d.scroller.scrollLeft!=b.scrollLeft&&(e=Math.max(0,Math.min(d.scroller.scrollWidth-d.scroller.clientWidth,b.scrollLeft)),d.scroller.scrollLeft=d.scrollbarH.scrollLeft=c.scrollLeft=e,rc(a));if(b.scrollToPos){a:{c=s(a.doc,b.scrollToPos.from);d=s(a.doc,b.scrollToPos.to);
e=b.scrollToPos.margin;for(null==e&&(e=0);;){var f=!1,g=ha(a,c),h=!d||d==c?g:ha(a,d),h=Mb(a,Math.min(g.left,h.left),Math.min(g.top,h.top)-e,Math.max(g.left,h.left),Math.max(g.bottom,h.bottom)+e),i=a.doc.scrollTop,j=a.doc.scrollLeft;null!=h.scrollTop&&(ib(a,h.scrollTop),1<Math.abs(a.doc.scrollTop-i)&&(f=!0));null!=h.scrollLeft&&(Ga(a,h.scrollLeft),1<Math.abs(a.doc.scrollLeft-j)&&(f=!0));if(!f){c=g;break a}}c=void 0}if(b.scrollToPos.isCursor&&a.state.focused){d=c;e=a.display;f=e.sizer.getBoundingClientRect();
c=null;if(0>d.top+f.top)c=!0;else if(d.bottom+f.top>(window.innerHeight||document.documentElement.clientHeight))c=!1;null!=c&&!bf&&(d=q("div","",null,"position: absolute; top: "+(d.top-e.viewOffset-a.display.lineSpace.offsetTop)+"px; height: "+(d.bottom-d.top+ca)+"px; left: "+d.left+"px; width: 2px;"),a.display.lineSpace.appendChild(d),d.scrollIntoView(c),a.display.lineSpace.removeChild(d))}}b.selectionChanged&&Hb(a);a.state.focused&&b.updateInput&&U(a,b.typing);c=b.maybeHiddenMarkers;d=b.maybeUnhiddenMarkers;
if(c)for(e=0;e<c.length;++e)c[e].lines.length||E(c[e],"hide");if(d)for(e=0;e<d.length;++e)d[e].lines.length&&E(d[e],"unhide");var k;--Lb||(k=oa,oa=null);b.changeObjs&&E(a,"changes",a,b.changeObjs);if(k)for(e=0;e<k.length;++e)k[e]();if(b.cursorActivityHandlers)for(e=0;e<b.cursorActivityHandlers.length;e++)b.cursorActivityHandlers[e](a)}function ba(a,b){if(a.curOp)return b();Ia(a);try{return b()}finally{Ja(a)}}function B(a,b){return function(){if(a.curOp)return b.apply(a,arguments);Ia(a);try{return b.apply(a,
arguments)}finally{Ja(a)}}}function y(a){return function(){if(this.curOp)return a.apply(this,arguments);Ia(this);try{return a.apply(this,arguments)}finally{Ja(this)}}}function N(a){return function(){var b=this.cm;if(!b||b.curOp)return a.apply(this,arguments);Ia(b);try{return a.apply(this,arguments)}finally{Ja(b)}}}function Md(a,b,c){for(var d=this.line=b,e;d=ta(d,!1);)d=d.find(1,!0).line,(e||(e=[])).push(d);this.size=(this.rest=e)?A(x(this.rest))-c+1:1;this.node=this.text=null;this.hidden=ra(a,b)}
function zb(a,b,c){var d=[],e;for(e=b;e<c;)b=new Md(a.doc,r(a.doc,e),e),e+=b.size,d.push(b);return d}function O(a,b,c,d){null==b&&(b=a.doc.first);null==c&&(c=a.doc.first+a.doc.size);d||(d=0);var e=a.display;if(d&&c<e.viewTo&&(null==e.updateLineNumbers||e.updateLineNumbers>b))e.updateLineNumbers=b;a.curOp.viewChanged=!0;if(b>=e.viewTo)la&&wc(a.doc,b)<e.viewTo&&ka(a);else if(c<=e.viewFrom)la&&td(a.doc,c+d)>e.viewFrom?ka(a):(e.viewFrom+=d,e.viewTo+=d);else if(b<=e.viewFrom&&c>=e.viewTo)ka(a);else if(b<=
e.viewFrom){var f=Nb(a,c,c+d,1);f?(e.view=e.view.slice(f.index),e.viewFrom=f.lineN,e.viewTo+=d):ka(a)}else if(c>=e.viewTo)(f=Nb(a,b,b,-1))?(e.view=e.view.slice(0,f.index),e.viewTo=f.lineN):ka(a);else{var f=Nb(a,b,b,-1),g=Nb(a,c,c+d,1);f&&g?(e.view=e.view.slice(0,f.index).concat(zb(a,f.lineN,g.lineN)).concat(e.view.slice(g.index)),e.viewTo+=d):ka(a)}if(a=e.externalMeasured)c<a.lineN?a.lineN+=d:b<a.lineN+a.size&&(e.externalMeasured=null)}function na(a,b,c){a.curOp.viewChanged=!0;var d=a.display,e=a.display.externalMeasured;
e&&(b>=e.lineN&&b<e.lineN+e.size)&&(d.externalMeasured=null);b<d.viewFrom||b>=d.viewTo||(a=d.view[$a(a,b)],null!=a.node&&(a=a.changes||(a.changes=[]),-1==F(a,c)&&a.push(c)))}function ka(a){a.display.viewFrom=a.display.viewTo=a.doc.first;a.display.view=[];a.display.viewOffset=0}function $a(a,b){if(b>=a.display.viewTo)return null;b-=a.display.viewFrom;if(0>b)return null;for(var c=a.display.view,d=0;d<c.length;d++)if(b-=c[d].size,0>b)return d}function Nb(a,b,c,d){var e=$a(a,b),f=a.display.view;if(!la||
c==a.doc.first+a.doc.size)return{index:e,lineN:c};for(var g=0,h=a.display.viewFrom;g<e;g++)h+=f[g].size;if(h!=b){if(0<d){if(e==f.length-1)return null;b=h+f[e].size-b;e++}else b=h-b;c+=b}for(;wc(a.doc,c)!=c;){if(e==(0>d?0:f.length-1))return null;c+=d*f[e-(0>d?1:0)].size;e+=d}return{index:e,lineN:c}}function rd(a){for(var a=a.display.view,b=0,c=0;c<a.length;c++){var d=a[c];!d.hidden&&(!d.node||d.changes)&&++b}return b}function Ob(a){a.display.pollingFast||a.display.poll.set(a.options.pollInterval,function(){Jc(a);
a.state.focused&&Ob(a)})}function jb(a){function b(){!Jc(a)&&!c?(c=!0,a.display.poll.set(60,b)):(a.display.pollingFast=!1,Ob(a))}var c=!1;a.display.pollingFast=!0;a.display.poll.set(20,b)}function Jc(a){var b=a.display.input,c=a.display.prevInput,d=a.doc;if(!a.state.focused||cf(b)&&!c||Pb(a)||a.options.disableInput)return!1;a.state.pasteIncoming&&a.state.fakedLastChar&&(b.value=b.value.substring(0,b.value.length-1),a.state.fakedLastChar=!1);var e=b.value;if(e==c&&!a.somethingSelected())return!1;if(I&&
!H&&a.display.inputHasSelection===e)return U(a),!1;var f=!a.curOp;f&&Ia(a);a.display.shift=!1;8203==e.charCodeAt(0)&&(d.sel==a.display.selForContextMenu&&!c)&&(c="");for(var g=0,h=Math.min(c.length,e.length);g<h&&c.charCodeAt(g)==e.charCodeAt(g);)++g;for(var h=e.slice(g),i=Ka(h),j=a.state.pasteIncoming&&1<i.length&&d.sel.ranges.length==i.length,k=d.sel.ranges.length-1;0<=k;k--){var n=d.sel.ranges[k],l=n.from(),o=n.to();g<c.length?l=p(l.line,l.ch-(c.length-g)):a.state.overwrite&&(n.empty()&&!a.state.pasteIncoming)&&
(o=p(o.line,Math.min(r(d,o.line).text.length,o.ch+x(i).length)));var w=a.curOp.updateInput,o={from:l,to:o,text:j?[i[k]]:i,origin:a.state.pasteIncoming?"paste":a.state.cutIncoming?"cut":"+input"};La(a.doc,o);D(a,"inputRead",a,o);if(h&&!a.state.pasteIncoming&&a.options.electricChars&&a.options.smartIndent&&100>n.head.ch&&(!k||d.sel.ranges[k-1].head.line!=n.head.line))if(l=a.getModeAt(n.head),l.electricChars)for(o=0;o<l.electricChars.length;o++){if(-1<h.indexOf(l.electricChars.charAt(o))){kb(a,n.head.line,
"smart");break}}else l.electricInput&&(o=xa(o),l.electricInput.test(r(d,o.line).text.slice(0,o.ch))&&kb(a,n.head.line,"smart"))}Ha(a);a.curOp.updateInput=w;a.curOp.typing=!0;1E3<e.length||-1<e.indexOf("\n")?b.value=a.display.prevInput="":a.display.prevInput=e;f&&Ja(a);a.state.pasteIncoming=a.state.cutIncoming=!1;return!0}function U(a,b){var c,d,e=a.doc;a.somethingSelected()?(a.display.prevInput="",c=e.sel.primary(),d=(c=Rd&&(100<c.to().line-c.from().line||1E3<(d=a.getSelection()).length))?"-":d||
a.getSelection(),a.display.input.value=d,a.state.focused&&lb(a.display.input),I&&!H&&(a.display.inputHasSelection=d)):b||(a.display.prevInput=a.display.input.value="",I&&!H&&(a.display.inputHasSelection=null));a.display.inaccurateSelection=c}function M(a){"nocursor"!=a.options.readOnly&&(!kc||ja()!=a.display.input)&&a.display.input.focus()}function Kc(a){a.state.focused||(M(a),mc(a))}function Pb(a){return a.options.readOnly||a.doc.cantEdit}function Pe(a){function b(){a.state.focused&&setTimeout(T(M,
a),0)}function c(b){$(a,b)||Lc(b)}function d(b){if(a.somethingSelected())e.inaccurateSelection&&(e.prevInput="",e.inaccurateSelection=!1,e.input.value=a.getSelection(),lb(e.input));else{for(var c="",d=[],i=0;i<a.doc.sel.ranges.length;i++){var j=a.doc.sel.ranges[i].head.line,j={anchor:p(j,0),head:p(j+1,0)};d.push(j);c+=a.getRange(j.anchor,j.head)}"cut"==b.type?a.setSelections(d,null,va):(e.prevInput="",e.input.value=c,lb(e.input))}"cut"==b.type&&(a.state.cutIncoming=!0)}var e=a.display;t(e.scroller,
"mousedown",B(a,qd));aa?t(e.scroller,"dblclick",B(a,function(b){if(!$(a,b)){var c=Ma(a,b);c&&(!Mc(a,b,"gutterClick",!0,D)&&!ya(a.display,b))&&(K(b),b=Nc(a,c),Cb(a.doc,b.anchor,b.head))}})):t(e.scroller,"dblclick",function(b){$(a,b)||K(b)});t(e.lineSpace,"selectstart",function(a){ya(e,a)||K(a)});Oc||t(e.scroller,"contextmenu",function(b){Sd(a,b)});t(e.scroller,"scroll",function(){e.scroller.clientHeight&&(ib(a,e.scroller.scrollTop),Ga(a,e.scroller.scrollLeft,!0),E(a,"scroll",a))});t(e.scrollbarV,"scroll",
function(){e.scroller.clientHeight&&ib(a,e.scrollbarV.scrollTop)});t(e.scrollbarH,"scroll",function(){e.scroller.clientHeight&&Ga(a,e.scrollbarH.scrollLeft)});t(e.scroller,"mousewheel",function(b){Td(a,b)});t(e.scroller,"DOMMouseScroll",function(b){Td(a,b)});t(e.scrollbarH,"mousedown",b);t(e.scrollbarV,"mousedown",b);t(e.wrapper,"scroll",function(){e.wrapper.scrollTop=e.wrapper.scrollLeft=0});t(e.input,"keyup",B(a,Ud));t(e.input,"input",function(){I&&(!H&&a.display.inputHasSelection)&&(a.display.inputHasSelection=
null);jb(a)});t(e.input,"keydown",B(a,Vd));t(e.input,"keypress",B(a,Wd));t(e.input,"focus",T(mc,a));t(e.input,"blur",T(vb,a));a.options.dragDrop&&(t(e.scroller,"dragstart",function(b){var c=a;if(I&&(!c.state.draggingText||100>+new Date-Xd))Lc(b);else if(!$(c,b)&&!ya(c.display,b)&&(b.dataTransfer.setData("Text",c.getSelection()),b.dataTransfer.setDragImage&&!Yd)){var d=q("img",null,null,"position: fixed; left: 0; top: 0;");d.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";
R&&(d.width=d.height=1,c.display.wrapper.appendChild(d),d._top=d.offsetTop);b.dataTransfer.setDragImage(d,0,0);R&&d.parentNode.removeChild(d)}}),t(e.scroller,"dragenter",c),t(e.scroller,"dragover",c),t(e.scroller,"drop",B(a,df)));t(e.scroller,"paste",function(b){if(!ya(e,b)){a.state.pasteIncoming=true;M(a);jb(a)}});t(e.input,"paste",function(){if(J&&!a.state.fakedLastChar&&!(new Date-a.state.lastMiddleDown<200)){var b=e.input.selectionStart,c=e.input.selectionEnd;e.input.value=e.input.value+"$";e.input.selectionStart=
b;e.input.selectionEnd=c;a.state.fakedLastChar=true}a.state.pasteIncoming=true;jb(a)});t(e.input,"cut",d);t(e.input,"copy",d);oc&&t(e.sizer,"mouseup",function(){ja()==e.input&&e.input.blur();M(a)})}function ef(a){var b=a.display;b.cachedCharWidth=b.cachedTextHeight=b.cachedPaddingH=null;a.setSize()}function ya(a,b){for(var c=b.target||b.srcElement;c!=a.wrapper;c=c.parentNode)if(!c||c.ignoreEvents||c.parentNode==a.sizer&&c!=a.mover)return!0}function Ma(a,b,c,d){var e=a.display;if(!c&&(c=b.target||
b.srcElement,c==e.scrollbarH||c==e.scrollbarV||c==e.scrollbarFiller||c==e.gutterFiller))return null;var f,g,e=e.lineSpace.getBoundingClientRect();try{f=b.clientX-e.left,g=b.clientY-e.top}catch(h){return null}var b=Hc(a,f,g),i;if(d&&1==b.xRel&&(i=r(a.doc,b.line).text).length==b.ch)d=Q(i,i.length,a.options.tabSize)-i.length,b=p(b.line,Math.max(0,Math.round((f-Jd(a.display).left)/Wa(a.display))-d));return b}function qd(a){if(!$(this,a)){var b=this.display;b.shift=a.shiftKey;if(ya(b,a))J||(b.scroller.draggable=
!1,setTimeout(function(){b.scroller.draggable=!0},100));else if(!Mc(this,a,"gutterClick",!0,D)){var c=Ma(this,a);window.focus();switch(Zd(a)){case 1:c?ff(this,a,c):(a.target||a.srcElement)==b.scroller&&K(a);break;case 2:J&&(this.state.lastMiddleDown=+new Date);c&&Cb(this.doc,c);setTimeout(T(M,this),20);K(a);break;case 3:Oc&&Sd(this,a)}}}}function ff(a,b,c){setTimeout(T(Kc,a),0);var d=+new Date,e;Qb&&Qb.time>d-400&&0==v(Qb.pos,c)?e="triple":Rb&&Rb.time>d-400&&0==v(Rb.pos,c)?(e="double",Qb={time:d,
pos:c}):(e="single",Rb={time:d,pos:c});var d=a.doc.sel,f=ea?b.metaKey:b.ctrlKey;a.options.dragDrop&&gf&&!Pb(a)&&"single"==e&&-1<d.contains(c)&&d.somethingSelected()?hf(a,b,c,f):jf(a,b,c,e,f)}function hf(a,b,c,d){var e=a.display,f=B(a,function(g){J&&(e.scroller.draggable=!1);a.state.draggingText=!1;ia(document,"mouseup",f);ia(e.scroller,"drop",f);10>Math.abs(b.clientX-g.clientX)+Math.abs(b.clientY-g.clientY)&&(K(g),d||Cb(a.doc,c),M(a),aa&&!H&&setTimeout(function(){document.body.focus();M(a)},20))});
J&&(e.scroller.draggable=!0);a.state.draggingText=f;e.scroller.dragDrop&&e.scroller.dragDrop();t(document,"mouseup",f);t(e.scroller,"drop",f)}function jf(a,b,c,d,e){function f(b){if(0!=v(o,b))if(o=b,"rect"==d){for(var e=[],f=a.options.tabSize,g=Q(r(j,c.line).text,c.ch,f),h=Q(r(j,b.line).text,b.ch,f),i=Math.min(g,h),g=Math.max(g,h),h=Math.min(c.line,b.line),w=Math.min(a.lastLine(),Math.max(c.line,b.line));h<=w;h++){var m=r(j,h).text,q=$d(m,i,f);i==g?e.push(new z(p(h,q),p(h,q))):m.length>q&&e.push(new z(p(h,
q),p(h,$d(m,g,f))))}e.length||e.push(new z(c,c));G(j,W(l.ranges.slice(0,n).concat(e),n),{origin:"*mouse",scroll:!1});a.scrollIntoView(b)}else e=k,f=e.anchor,i=b,"single"!=d&&(b="double"==d?Nc(a,b):new z(p(b.line,0),s(j,p(b.line+1,0))),0<v(b.anchor,f)?(i=b.head,f=Bc(e.from(),b.anchor)):(i=b.anchor,f=Ac(e.to(),b.head))),e=l.ranges.slice(0),e[n]=new z(s(j,f),i),G(j,W(e,n),Pc)}function g(b){var c=++m,e=Ma(a,b,!0,"rect"==d);if(e)if(0!=v(e,o)){Kc(a);f(e);var h=uc(i,j);(e.line>=h.to||e.line<h.from)&&setTimeout(B(a,
function(){m==c&&g(b)}),150)}else{var k=b.clientY<w.top?-20:b.clientY>w.bottom?20:0;k&&setTimeout(B(a,function(){m==c&&(i.scroller.scrollTop+=k,g(b))}),50)}}function h(b){m=Infinity;K(b);M(a);ia(document,"mousemove",q);ia(document,"mouseup",u);j.history.lastSelOrigin=null}var i=a.display,j=a.doc;K(b);var k,n,l=j.sel;e&&!b.shiftKey?(n=j.sel.contains(c),k=-1<n?j.sel.ranges[n]:new z(c,c)):k=j.sel.primary();b.altKey?(d="rect",e||(k=new z(c,c)),c=Ma(a,b,!0,!0),n=-1):"double"==d?(b=Nc(a,c),k=a.display.shift||
j.extend?bb(j,k,b.anchor,b.head):b):"triple"==d?(b=new z(p(c.line,0),s(j,p(c.line+1,0))),k=a.display.shift||j.extend?bb(j,k,b.anchor,b.head):b):k=bb(j,k,c);e?-1<n?Cd(j,n,k,Pc):(n=j.sel.ranges.length,G(j,W(j.sel.ranges.concat([k]),n),{scroll:!1,origin:"*mouse"})):(n=0,G(j,new ga([k],0),Pc),l=j.sel);var o=c,w=i.wrapper.getBoundingClientRect(),m=0,q=B(a,function(a){(I&&!kf?!a.buttons:!Zd(a))?h(a):g(a)}),u=B(a,h);t(document,"mousemove",q);t(document,"mouseup",u)}function Mc(a,b,c,d,e){try{var f=b.clientX,
g=b.clientY}catch(h){return!1}if(f>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;d&&K(b);var d=a.display,i=d.lineDiv.getBoundingClientRect();if(g>i.bottom||!P(a,c))return Qc(b);g-=i.top-d.viewOffset;for(i=0;i<a.options.gutters.length;++i){var j=d.gutters.childNodes[i];if(j&&j.getBoundingClientRect().right>=f)return f=ua(a.doc,g),e(a,c,a,f,a.options.gutters[i],b),Qc(b)}}function df(a){var b=this;if(!$(b,a)&&!ya(b.display,a)){K(a);I&&(Xd=+new Date);var c=Ma(b,a,!0),d=a.dataTransfer.files;
if(c&&!Pb(b))if(d&&d.length&&window.FileReader&&window.File)for(var e=d.length,f=Array(e),g=0,a=function(a,d){var h=new FileReader;h.onload=B(b,function(){f[d]=h.result;if(++g==e){c=s(b.doc,c);var a={from:c,to:c,text:Ka(f.join("\n")),origin:"paste"};La(b.doc,a);Dd(b.doc,ma(c,xa(a)))}});h.readAsText(a)},h=0;h<e;++h)a(d[h],h);else if(b.state.draggingText&&-1<b.doc.sel.contains(c))b.state.draggingText(a),setTimeout(T(M,b),20);else try{if(f=a.dataTransfer.getData("Text")){if(b.state.draggingText&&!(ea?
a.metaKey:a.ctrlKey))var i=b.listSelections();Db(b.doc,ma(c,c));if(i)for(h=0;h<i.length;++h)Sb(b.doc,"",i[h].anchor,i[h].head,"drag");b.replaceSelection(f,"around","paste");M(b)}}catch(j){}}}function ib(a,b){2>Math.abs(a.doc.scrollTop-b)||(a.doc.scrollTop=b,mb||yb(a,{top:b}),a.display.scroller.scrollTop!=b&&(a.display.scroller.scrollTop=b),a.display.scrollbarV.scrollTop!=b&&(a.display.scrollbarV.scrollTop=b),mb&&yb(a),Va(a,100))}function Ga(a,b,c){if(!(c?b==a.doc.scrollLeft:2>Math.abs(a.doc.scrollLeft-
b)))if(b=Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth),a.doc.scrollLeft=b,rc(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbarH.scrollLeft!=b)a.display.scrollbarH.scrollLeft=b}function Td(a,b){var c=b.wheelDeltaX,d=b.wheelDeltaY;null==c&&(b.detail&&b.axis==b.HORIZONTAL_AXIS)&&(c=b.detail);null==d&&b.detail&&b.axis==b.VERTICAL_AXIS?d=b.detail:null==d&&(d=b.wheelDelta);var e=a.display,f=e.scroller;if(c&&f.scrollWidth>f.clientWidth||
d&&f.scrollHeight>f.clientHeight){if(d&&ea&&J){var g=b.target,h=e.view;a:for(;g!=f;g=g.parentNode)for(var i=0;i<h.length;i++)if(h[i].node==g){a.display.currentWheelTarget=g;break a}}if(c&&!mb&&!R&&null!=S)d&&ib(a,Math.max(0,Math.min(f.scrollTop+d*S,f.scrollHeight-f.clientHeight))),Ga(a,Math.max(0,Math.min(f.scrollLeft+c*S,f.scrollWidth-f.clientWidth))),K(b),e.wheelStartX=null;else if(d&&null!=S&&(g=d*S,h=a.doc.scrollTop,i=h+e.wrapper.clientHeight,0>g?h=Math.max(0,h+g-50):i=Math.min(a.doc.height,i+
g+50),yb(a,{top:h,bottom:i})),20>Tb)null==e.wheelStartX?(e.wheelStartX=f.scrollLeft,e.wheelStartY=f.scrollTop,e.wheelDX=c,e.wheelDY=d,setTimeout(function(){if(e.wheelStartX!=null){var a=f.scrollLeft-e.wheelStartX,b=f.scrollTop-e.wheelStartY,a=b&&e.wheelDY&&b/e.wheelDY||a&&e.wheelDX&&a/e.wheelDX;e.wheelStartX=e.wheelStartY=null;if(a){S=(S*Tb+a)/(Tb+1);++Tb}}},200)):(e.wheelDX+=c,e.wheelDY+=d)}}function Ub(a,b,c){if("string"==typeof b&&(b=Vb[b],!b))return!1;a.display.pollingFast&&Jc(a)&&(a.display.pollingFast=
!1);var d=a.display.shift,e=!1;try{Pb(a)&&(a.state.suppressEdits=!0),c&&(a.display.shift=!1),e=b(a)!=ae}finally{a.display.shift=d,a.state.suppressEdits=!1}return e}function be(a){var b=a.state.keyMaps.slice(0);a.options.extraKeys&&b.push(a.options.extraKeys);b.push(a.options.keyMap);return b}function ce(a,b){var c=Rc(a.options.keyMap),d=c.auto;clearTimeout(de);d&&!lf(b)&&(de=setTimeout(function(){Rc(a.options.keyMap)==c&&(a.options.keyMap=d.call?d.call(null,a):d,od(a))},50));var e=mf(b,!0),f=!1;if(!e)return!1;
f=be(a);if(f=b.shiftKey?Wb("Shift-"+e,f,function(b){return Ub(a,b,!0)})||Wb(e,f,function(b){if("string"==typeof b?/^go[A-Z]/.test(b):b.motion)return Ub(a,b)}):Wb(e,f,function(b){return Ub(a,b)}))K(b),Hb(a),D(a,"keyHandled",a,e,b);return f}function nf(a,b,c){var d=Wb("'"+c+"'",be(a),function(b){return Ub(a,b,!0)});d&&(K(b),Hb(a),D(a,"keyHandled",a,"'"+c+"'",b));return d}function Vd(a){Kc(this);if(!$(this,a)){aa&&27==a.keyCode&&(a.returnValue=!1);var b=a.keyCode;this.display.shift=16==b||a.shiftKey;
var c=ce(this,a);R&&(Sc=c?b:null,!c&&(88==b&&!Rd&&(ea?a.metaKey:a.ctrlKey))&&this.replaceSelection("",null,"cut"));18==b&&!/\bCodeMirror-crosshair\b/.test(this.display.lineDiv.className)&&of(this)}}function of(a){function b(a){if(18==a.keyCode||!a.altKey)Xb(c,"CodeMirror-crosshair"),ia(document,"keyup",b),ia(document,"mouseover",b)}var c=a.display.lineDiv;Yb(c,"CodeMirror-crosshair");t(document,"keyup",b);t(document,"mouseover",b)}function Ud(a){!$(this,a)&&16==a.keyCode&&(this.doc.sel.shift=!1)}
function Wd(a){if(!$(this,a)){var b=a.keyCode,c=a.charCode;if(R&&b==Sc)Sc=null,K(a);else if(!(R&&(!a.which||10>a.which)||oc)||!ce(this,a))b=String.fromCharCode(null==c?b:c),nf(this,a,b)||(I&&!H&&(this.display.inputHasSelection=null),jb(this))}}function mc(a){"nocursor"!=a.options.readOnly&&(a.state.focused||(E(a,"focus",a),a.state.focused=!0,Yb(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(U(a),J&&setTimeout(T(U,a,!0),0))),Ob(a),Hb(a))}function vb(a){a.state.focused&&
(E(a,"blur",a),a.state.focused=!1,Xb(a.display.wrapper,"CodeMirror-focused"));clearInterval(a.display.blinker);setTimeout(function(){if(!a.state.focused)a.display.shift=false},150)}function Sd(a,b){function c(){if(null!=e.input.selectionStart){var b=a.somethingSelected(),c=e.input.value=""+(b?e.input.value:"");e.prevInput=b?"":"";e.input.selectionStart=1;e.input.selectionEnd=c.length;e.selForContextMenu=a.doc.sel}}function d(){e.inputDiv.style.position="relative";e.input.style.cssText=h;H&&(e.scrollbarV.scrollTop=
e.scroller.scrollTop=g);Ob(a);if(null!=e.input.selectionStart){(!I||H)&&c();var b=0,d=function(){e.selForContextMenu==a.doc.sel&&e.input.selectionStart==0?B(a,Vb.selectAll)(a):b++<10?e.detectingSelectAll=setTimeout(d,500):U(a)};e.detectingSelectAll=setTimeout(d,200)}}if(!$(a,b,"contextmenu")){var e=a.display;if(!ya(e,b)&&!(!P(a,"gutterContextMenu")?0:Mc(a,b,"gutterContextMenu",!1,E))){var f=Ma(a,b),g=e.scroller.scrollTop;if(f&&!R){a.options.resetSelectionOnContextMenu&&-1==a.doc.sel.contains(f)&&
B(a,G)(a.doc,ma(f),va);var h=e.input.style.cssText;e.inputDiv.style.position="absolute";e.input.style.cssText="position: fixed; width: 30px; height: 30px; top: "+(b.clientY-5)+"px; left: "+(b.clientX-5)+"px; z-index: 1000; background: "+(I?"rgba(255, 255, 255, .05)":"transparent")+"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";M(a);U(a);a.somethingSelected()||(e.input.value=e.prevInput=" ");e.selForContextMenu=a.doc.sel;clearTimeout(e.detectingSelectAll);
I&&!H&&c();if(Oc){Lc(b);var i=function(){ia(window,"mouseup",i);setTimeout(d,20)};t(window,"mouseup",i)}else setTimeout(d,50)}}}}function ee(a,b){if(0>v(a,b.from))return a;if(0>=v(a,b.to))return xa(b);var c=a.line+b.text.length-(b.to.line-b.from.line)-1,d=a.ch;a.line==b.to.line&&(d+=xa(b).ch-b.to.ch);return p(c,d)}function Tc(a,b){for(var c=[],d=0;d<a.sel.ranges.length;d++){var e=a.sel.ranges[d];c.push(new z(ee(e.anchor,b),ee(e.head,b)))}return W(c,a.sel.primIndex)}function fe(a,b,c){return a.line==
b.line?p(c.line,a.ch-b.ch+c.ch):p(c.line+(a.line-b.line),a.ch)}function ge(a,b,c){b={canceled:!1,from:b.from,to:b.to,text:b.text,origin:b.origin,cancel:function(){this.canceled=!0}};c&&(b.update=function(b,c,f,g){b&&(this.from=s(a,b));c&&(this.to=s(a,c));f&&(this.text=f);void 0!==g&&(this.origin=g)});E(a,"beforeChange",a,b);a.cm&&E(a.cm,"beforeChange",a.cm,b);return b.canceled?null:{from:b.from,to:b.to,text:b.text,origin:b.origin}}function La(a,b,c){if(a.cm){if(!a.cm.curOp)return B(a.cm,La)(a,b,c);
if(a.cm.state.suppressEdits)return}if(P(a,"beforeChange")||a.cm&&P(a.cm,"beforeChange"))if(b=ge(a,b,!0),!b)return;if(c=he&&!c&&pf(a,b.from,b.to))for(var d=c.length-1;0<=d;--d)ie(a,{from:c[d].from,to:c[d].to,text:d?[""]:b.text});else ie(a,b)}function ie(a,b){if(!(1==b.text.length&&""==b.text[0]&&0==v(b.from,b.to))){var c=Tc(a,b);je(a,b,c,a.cm?a.cm.curOp.id:NaN);nb(a,b,c,Uc(a,b));var d=[];za(a,function(a,c){!c&&-1==F(d,a.history)&&(ke(a.history,b),d.push(a.history));nb(a,b,null,Uc(a,b))})}}function Zb(a,
b,c){if(!a.cm||!a.cm.state.suppressEdits){for(var d=a.history,e,f=a.sel,g="undo"==b?d.done:d.undone,h="undo"==b?d.undone:d.done,i=0;i<g.length&&!(e=g[i],c?e.ranges&&!e.equals(a.sel):!e.ranges);i++);if(i!=g.length){for(d.lastOrigin=d.lastSelOrigin=null;;)if(e=g.pop(),e.ranges){Eb(e,h);if(c&&!e.equals(a.sel)){G(a,e,{clearRedo:!1});return}f=e}else break;c=[];Eb(f,h);h.push({changes:c,generation:d.generation});d.generation=e.generation||++d.maxGeneration;d=P(a,"beforeChange")||a.cm&&P(a.cm,"beforeChange");
for(i=e.changes.length-1;0<=i;--i){var j=e.changes[i];j.origin=b;if(d&&!ge(a,j,!1)){g.length=0;break}c.push(Vc(a,j));f=i?Tc(a,j,null):x(g);nb(a,j,f,le(a,j));!i&&a.cm&&a.cm.scrollIntoView(j);var k=[];za(a,function(a,b){!b&&-1==F(k,a.history)&&(ke(a.history,j),k.push(a.history));nb(a,j,null,le(a,j))})}}}}function me(a,b){if(0!=b&&(a.first+=b,a.sel=new ga(Wc(a.sel.ranges,function(a){return new z(p(a.anchor.line+b,a.anchor.ch),p(a.head.line+b,a.head.ch))}),a.sel.primIndex),a.cm)){O(a.cm,a.first,a.first-
b,b);for(var c=a.cm.display,d=c.viewFrom;d<c.viewTo;d++)na(a.cm,d,"gutter")}}function nb(a,b,c,d){if(a.cm&&!a.cm.curOp)return B(a.cm,nb)(a,b,c,d);if(b.to.line<a.first)me(a,b.text.length-1-(b.to.line-b.from.line));else if(!(b.from.line>a.lastLine())){if(b.from.line<a.first){var e=b.text.length-1-(a.first-b.from.line);me(a,e);b={from:p(a.first,0),to:p(b.to.line+e,b.to.ch),text:[x(b.text)],origin:b.origin}}e=a.lastLine();b.to.line>e&&(b={from:b.from,to:p(e,r(a,e).text.length),text:[b.text[0]],origin:b.origin});
b.removed=ob(a,b.from,b.to);c||(c=Tc(a,b,null));a.cm?qf(a.cm,b,d):Xc(a,b,d);Db(a,c,va)}}function qf(a,b,c){var d=a.doc,e=a.display,f=b.from,g=b.to,h=!1,i=f.line;a.options.lineWrapping||(i=A(Z(r(d,f.line))),d.iter(i,g.line+1,function(a){if(a==e.maxLine)return h=!0}));-1<d.sel.contains(b.from,b.to)&&Hd(a);Xc(d,b,c,nd(a));a.options.lineWrapping||(d.iter(i,f.line+b.text.length,function(a){var b=wb(a);if(b>e.maxLineLength){e.maxLine=a;e.maxLineLength=b;e.maxLineChanged=true;h=false}}),h&&(a.curOp.updateMaxLine=
!0));d.frontier=Math.min(d.frontier,f.line);Va(a,400);c=b.text.length-(g.line-f.line)-1;f.line==g.line&&1==b.text.length&&!ne(a.doc,b)?na(a,f.line,"text"):O(a,f.line,g.line+1,c);c=P(a,"changes");if((d=P(a,"change"))||c)b={from:f,to:g,text:b.text,removed:b.removed,origin:b.origin},d&&D(a,"change",a,b),c&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(b);a.display.selForContextMenu=null}function Sb(a,b,c,d,e){d||(d=c);if(0>v(d,c))var f=d,d=c,c=f;"string"==typeof b&&(b=Ka(b));La(a,{from:c,to:d,text:b,
origin:e})}function Mb(a,b,c,d,e){var f=a.display,g=qa(a.display);0>c&&(c=0);var h=a.curOp&&null!=a.curOp.scrollTop?a.curOp.scrollTop:f.scroller.scrollTop,i=f.scroller.clientHeight-ca,j={},k=a.doc.height+(f.mover.offsetHeight-f.lineSpace.offsetHeight),n=c<g,g=e>k-g;c<h?j.scrollTop=n?0:c:e>h+i&&(c=Math.min(c,(g?k:e)-i),c!=h&&(j.scrollTop=c));a=a.curOp&&null!=a.curOp.scrollLeft?a.curOp.scrollLeft:f.scroller.scrollLeft;h=f.scroller.clientWidth-ca;b+=f.gutters.offsetWidth;d+=f.gutters.offsetWidth;f=f.gutters.offsetWidth;
c=b<f+10;b<a+f||c?(c&&(b=0),j.scrollLeft=Math.max(0,b-10-f)):d>h+a-3&&(j.scrollLeft=d+10-h);return j}function Yc(a,b,c){(null!=b||null!=c)&&$b(a);null!=b&&(a.curOp.scrollLeft=(null==a.curOp.scrollLeft?a.doc.scrollLeft:a.curOp.scrollLeft)+b);null!=c&&(a.curOp.scrollTop=(null==a.curOp.scrollTop?a.doc.scrollTop:a.curOp.scrollTop)+c)}function Ha(a){$b(a);var b=a.getCursor(),c=b,d=b;a.options.lineWrapping||(c=b.ch?p(b.line,b.ch-1):b,d=p(b.line,b.ch+1));a.curOp.scrollToPos={from:c,to:d,margin:a.options.cursorScrollMargin,
isCursor:!0}}function $b(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var c=Qd(a,b.from),d=Qd(a,b.to),b=Mb(a,Math.min(c.left,d.left),Math.min(c.top,d.top)-b.margin,Math.max(c.right,d.right),Math.max(c.bottom,d.bottom)+b.margin);a.scrollTo(b.scrollLeft,b.scrollTop)}}function kb(a,b,c,d){var e=a.doc,f;null==c&&(c="add");"smart"==c&&(a.doc.mode.indent?f=db(a,b):c="prev");var g=a.options.tabSize,h=r(e,b),i=Q(h.text,null,g);h.stateAfter&&(h.stateAfter=null);var j=h.text.match(/^\s*/)[0],
k;if(!d&&!/\S/.test(h.text))k=0,c="not";else if("smart"==c&&(k=a.doc.mode.indent(f,h.text.slice(j.length),h.text),k==ae)){if(!d)return;c="prev"}"prev"==c?k=b>e.first?Q(r(e,b-1).text,null,g):0:"add"==c?k=i+a.options.indentUnit:"subtract"==c?k=i-a.options.indentUnit:"number"==typeof c&&(k=i+c);k=Math.max(0,k);d="";f=0;if(a.options.indentWithTabs)for(c=Math.floor(k/g);c;--c)f+=g,d+="\t";f<k&&(d+=oe(k-f));if(d!=j)Sb(a.doc,d,p(b,0),p(b,j.length),"+input");else for(c=0;c<e.sel.ranges.length;c++)if(a=e.sel.ranges[c],
a.head.line==b&&a.head.ch<j.length){f=p(b,j.length);Cd(e,c,new z(f,f));break}h.stateAfter=null}function ac(a,b,c,d){var e=b,f=b,g=a.doc;"number"==typeof b?f=r(g,Math.max(g.first,Math.min(b,g.first+g.size-1))):e=A(b);if(null==e)return null;d(f,e)&&na(a,e,c);return f}function bc(a,b){for(var c=a.doc.sel.ranges,d=[],e=0;e<c.length;e++){for(var f=b(c[e]);d.length&&0>=v(f.from,x(d).to);){var g=d.pop();if(0>v(g.from,f.from)){f.from=g.from;break}}d.push(f)}ba(a,function(){for(var b=d.length-1;0<=b;b--)Sb(a.doc,
"",d[b].from,d[b].to,"+delete");Ha(a)})}function Zc(a,b,c,d,e){function f(b){var d=(e?Ic:pe)(j,h,c,!0);if(null==d){if(b=!b)b=g+c,b<a.first||b>=a.first+a.size?b=k=!1:(g=b,b=j=r(a,b));if(b)h=e?(0>c?Kb:Jb)(j):0>c?j.text.length:0;else return k=!1}else h=d;return!0}var g=b.line,h=b.ch,i=c,j=r(a,g),k=!0;if("char"==d)f();else if("column"==d)f(!0);else if("word"==d||"group"==d)for(var n=null,d="group"==d,b=a.cm&&a.cm.getHelper(b,"wordChars"),l=!0;!(0>c)||f(!l);l=!1){var o=j.text.charAt(h)||"\n",o=cc(o,b)?
"w":d&&"\n"==o?"n":!d||/\s/.test(o)?null:"p";d&&(!l&&!o)&&(o="s");if(n&&n!=o){0>c&&(c=1,f());break}o&&(n=o);if(0<c&&!f(!l))break}i=Fb(a,p(g,h),i,!0);k||(i.hitSide=!0);return i}function qe(a,b,c,d){var e=a.doc,f=b.left,g;"page"==d?(d=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),g=b.top+c*(d-(0>c?1.5:0.5)*qa(a.display))):"line"==d&&(g=0<c?b.bottom+3:b.top-3);for(;;){var h=Hc(a,f,g);if(!h.outside)break;if(0>c?0>=g:g>=e.height){h.hitSide=!0;break}g+=
5*c}return h}function Nc(a,b){var c=r(a.doc,b.line).text,d=b.ch,e=b.ch;if(c){var f=a.getHelper(b,"wordChars");(0>b.xRel||e==c.length)&&d?--d:++e;for(var g=c.charAt(d),g=cc(g,f)?function(a){return cc(a,f)}:/\s/.test(g)?function(a){return/\s/.test(a)}:function(a){return!/\s/.test(a)&&!cc(a)};0<d&&g(c.charAt(d-1));)--d;for(;e<c.length&&g(c.charAt(e));)++e}return new z(p(b.line,d),p(b.line,e))}function u(a,b,c,d){m.defaults[a]=b;c&&(Fa[a]=d?function(a,b,d){d!=md&&c(a,b,d)}:c)}function Rc(a){return"string"==
typeof a?da[a]:a}function Na(a,b,c,d,e){if(d&&d.shared)return rf(a,b,c,d,e);if(a.cm&&!a.cm.curOp)return B(a.cm,Na)(a,b,c,d,e);var f=new Aa(a,e),e=v(b,c);d&&Ra(d,f,!1);if(0<e||0==e&&!1!==f.clearWhenEmpty)return f;if(f.replacedWith&&(f.collapsed=!0,f.widgetNode=q("span",[f.replacedWith],"CodeMirror-widget"),d.handleMouseEvents||(f.widgetNode.ignoreEvents=!0),d.insertLeft))f.widgetNode.insertLeft=!0;if(f.collapsed){if(re(a,b.line,b,c,f)||b.line!=c.line&&re(a,c.line,b,c,f))throw Error("Inserting collapsed marker partially overlapping an existing one");
la=!0}f.addToHistory&&je(a,{from:b,to:c,origin:"markText"},a.sel,NaN);var g=b.line,h=a.cm,i;a.iter(g,c.line+1,function(a){h&&(f.collapsed&&!h.options.lineWrapping&&Z(a)==h.display.maxLine)&&(i=!0);f.collapsed&&g!=b.line&&V(a,0);var d=new dc(f,g==b.line?b.ch:null,g==c.line?c.ch:null);a.markedSpans=a.markedSpans?a.markedSpans.concat([d]):[d];d.marker.attachLine(a);++g});f.collapsed&&a.iter(b.line,c.line+1,function(b){ra(a,b)&&V(b,0)});f.clearOnEnter&&t(f,"beforeCursorEnter",function(){f.clear()});f.readOnly&&
(he=!0,(a.history.done.length||a.history.undone.length)&&a.clearHistory());f.collapsed&&(f.id=++sf,f.atomic=!0);if(h){i&&(h.curOp.updateMaxLine=!0);if(f.collapsed)O(h,b.line,c.line+1);else if(f.className||f.title||f.startStyle||f.endStyle)for(d=b.line;d<=c.line;d++)na(h,d,"text");f.atomic&&Id(h.doc);D(h,"markerAdded",h,f)}return f}function rf(a,b,c,d,e){d=Ra(d);d.shared=!1;var f=[Na(a,b,c,d,e)],g=f[0],h=d.widgetNode;za(a,function(a){h&&(d.widgetNode=h.cloneNode(!0));f.push(Na(a,s(a,b),s(a,c),d,e));
for(var j=0;j<a.linked.length;++j)if(a.linked[j].isParent)return;g=x(f)});return new ec(f,g)}function se(a){return a.findMarks(p(a.first,0),a.clipPos(p(a.lastLine())),function(a){return a.parent})}function tf(a){for(var b=0;b<a.length;b++){var c=a[b],d=[c.primary.doc];za(c.primary.doc,function(a){d.push(a)});for(var e=0;e<c.markers.length;e++){var f=c.markers[e];-1==F(d,f.doc)&&(f.parent=null,c.markers.splice(e--,1))}}}function dc(a,b,c){this.marker=a;this.from=b;this.to=c}function pb(a,b){if(a)for(var c=
0;c<a.length;++c){var d=a[c];if(d.marker==b)return d}}function Uc(a,b){var c=ab(a,b.from.line)&&r(a,b.from.line).markedSpans,d=ab(a,b.to.line)&&r(a,b.to.line).markedSpans;if(!c&&!d)return null;var e=b.from.ch,f=b.to.ch,g=0==v(b.from,b.to);if(c)for(var h=0,i;h<c.length;++h){var j=c[h],k=j.marker;if(null==j.from||(k.inclusiveLeft?j.from<=e:j.from<e)||j.from==e&&"bookmark"==k.type&&(!g||!j.marker.insertLeft)){var n=null==j.to||(k.inclusiveRight?j.to>=e:j.to>e);(i||(i=[])).push(new dc(k,j.from,n?null:
j.to))}}c=i;if(d)for(var h=0,l;h<d.length;++h)if(i=d[h],j=i.marker,null==i.to||(j.inclusiveRight?i.to>=f:i.to>f)||i.from==f&&"bookmark"==j.type&&(!g||i.marker.insertLeft))k=null==i.from||(j.inclusiveLeft?i.from<=f:i.from<f),(l||(l=[])).push(new dc(j,k?null:i.from-f,null==i.to?null:i.to-f));d=l;g=1==b.text.length;l=x(b.text).length+(g?e:0);if(c)for(f=0;f<c.length;++f)h=c[f],null==h.to&&((i=pb(d,h.marker))?g&&(h.to=null==i.to?null:i.to+l):h.to=e);if(d)for(f=0;f<d.length;++f)(h=d[f],null!=h.to&&(h.to+=
l),null==h.from)?(i=pb(c,h.marker),i||(h.from=l,g&&(c||(c=[])).push(h))):(h.from+=l,g&&(c||(c=[])).push(h));c&&(c=te(c));d&&d!=c&&(d=te(d));e=[c];if(!g){var g=b.text.length-2,o;if(0<g&&c)for(f=0;f<c.length;++f)null==c[f].to&&(o||(o=[])).push(new dc(c[f].marker,null,null));for(f=0;f<g;++f)e.push(o);e.push(d)}return e}function te(a){for(var b=0;b<a.length;++b){var c=a[b];null!=c.from&&(c.from==c.to&&!1!==c.marker.clearWhenEmpty)&&a.splice(b--,1)}return!a.length?null:a}function le(a,b){var c;if(c=b["spans_"+
a.id]){for(var d=0,e=[];d<b.text.length;++d)e.push(uf(c[d]));c=e}else c=null;d=Uc(a,b);if(!c)return d;if(!d)return c;for(e=0;e<c.length;++e){var f=c[e],g=d[e];if(f&&g){var h=0;a:for(;h<g.length;++h){for(var i=g[h],j=0;j<f.length;++j)if(f[j].marker==i.marker)continue a;f.push(i)}}else g&&(c[e]=g)}return c}function pf(a,b,c){var d=null;a.iter(b.line,c.line+1,function(a){if(a.markedSpans)for(var b=0;b<a.markedSpans.length;++b){var c=a.markedSpans[b].marker;if(c.readOnly&&(!d||-1==F(d,c)))(d||(d=[])).push(c)}});
if(!d)return null;a=[{from:b,to:c}];for(b=0;b<d.length;++b)for(var c=d[b],e=c.find(0),f=0;f<a.length;++f){var g=a[f];if(!(0>v(g.to,e.from)||0<v(g.from,e.to))){var h=[f,1],i=v(g.from,e.from),j=v(g.to,e.to);(0>i||!c.inclusiveLeft&&!i)&&h.push({from:g.from,to:e.from});(0<j||!c.inclusiveRight&&!j)&&h.push({from:e.to,to:g.to});a.splice.apply(a,h);f+=h.length-1}}return a}function ue(a){var b=a.markedSpans;if(b){for(var c=0;c<b.length;++c)b[c].marker.detachLine(a);a.markedSpans=null}}function ve(a,b){if(b){for(var c=
0;c<b.length;++c)b[c].marker.attachLine(a);a.markedSpans=b}}function we(a,b){var c=a.lines.length-b.lines.length;if(0!=c)return c;var c=a.find(),d=b.find(),e=v(c.from,d.from)||(a.inclusiveLeft?-1:0)-(b.inclusiveLeft?-1:0);return e?-e:(c=v(c.to,d.to)||(a.inclusiveRight?1:0)-(b.inclusiveRight?1:0))?c:b.id-a.id}function ta(a,b){var c=la&&a.markedSpans,d;if(c)for(var e,f=0;f<c.length;++f)if(e=c[f],e.marker.collapsed&&null==(b?e.from:e.to)&&(!d||0>we(d,e.marker)))d=e.marker;return d}function re(a,b,c,
d,e){a=r(a,b);if(a=la&&a.markedSpans)for(b=0;b<a.length;++b){var f=a[b];if(f.marker.collapsed){var g=f.marker.find(0),h=v(g.from,c)||(f.marker.inclusiveLeft?-1:0)-(e.inclusiveLeft?-1:0),i=v(g.to,d)||(f.marker.inclusiveRight?1:0)-(e.inclusiveRight?1:0);if(!(0<=h&&0>=i||0>=h&&0<=i))if(0>=h&&0<(v(g.to,c)||(f.marker.inclusiveRight?1:0)-(e.inclusiveLeft?-1:0))||0<=h&&0>(v(g.from,d)||(f.marker.inclusiveLeft?-1:0)-(e.inclusiveRight?1:0)))return!0}}}function Z(a){for(var b;b=ta(a,!0);)a=b.find(-1,!0).line;
return a}function wc(a,b){var c=r(a,b),d=Z(c);return c==d?b:A(d)}function td(a,b){if(b>a.lastLine())return b;var c=r(a,b),d;if(!ra(a,c))return b;for(;d=ta(c,!1);)c=d.find(1,!0).line;return A(c)+1}function ra(a,b){var c=la&&b.markedSpans;if(c)for(var d,e=0;e<c.length;++e)if(d=c[e],d.marker.collapsed&&(null==d.from||!d.marker.widgetNode&&0==d.from&&d.marker.inclusiveLeft&&$c(a,b,d)))return!0}function $c(a,b,c){if(null==c.to)return b=c.marker.find(1,!0),$c(a,b.line,pb(b.line.markedSpans,c.marker));if(c.marker.inclusiveRight&&
c.to==b.text.length)return!0;for(var d,e=0;e<b.markedSpans.length;++e)if(d=b.markedSpans[e],d.marker.collapsed&&!d.marker.widgetNode&&d.from==c.to&&(null==d.to||d.to!=c.from)&&(d.marker.inclusiveLeft||c.marker.inclusiveRight)&&$c(a,b,d))return!0}function xe(a,b,c){fa(b)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&Yc(a,null,c)}function gb(a){if(null!=a.height)return a.height;var b;a:{var c=document.body,d=a.node;if(c.contains)b=c.contains(d);else for(;d=d.parentNode;)if(d==c){b=!0;break a}}b||X(a.cm.display.measure,
q("div",[a.node],null,"position: relative"));return a.height=a.node.offsetHeight}function vf(a,b,c,d){var e=new fc(a,c,d);e.noHScroll&&(a.display.alignWidgets=!0);ac(a,b,"widget",function(b){var c=b.widgets||(b.widgets=[]);e.insertAt==null?c.push(e):c.splice(Math.min(c.length-1,Math.max(0,e.insertAt)),0,e);e.line=b;if(!ra(a.doc,b)){c=fa(b)<a.doc.scrollTop;V(b,b.height+gb(e));c&&Yc(a,null,e.height);a.curOp.forceUpdate=true}return true});return e}function ye(a,b){if(a)for(;;){var c=a.match(/(?:^|\s+)line-(background-)?(\S+)/);
if(!c)break;var a=a.slice(0,c.index)+a.slice(c.index+c[0].length),d=c[1]?"bgClass":"textClass";null==b[d]?b[d]=c[2]:RegExp("(?:^|s)"+c[2]+"(?:$|s)").test(b[d])||(b[d]+=" "+c[2])}return a}function ze(a,b){if(a.blankLine)return a.blankLine(b);if(a.innerMode){var c=m.innerMode(a,b);if(c.mode.blankLine)return c.mode.blankLine(c.state)}}function ad(a,b,c){for(var d=0;10>d;d++){var e=a.token(b,c);if(b.pos>b.start)return e}throw Error("Mode "+a.name+" failed to advance stream.");}function Ae(a,b,c,d,e,f,
g){var h=c.flattenSpans;null==h&&(h=a.options.flattenSpans);var i=0,j=null,k=new gc(b,a.options.tabSize),n;for(""==b&&ye(ze(c,d),f);!k.eol();){k.pos>a.options.maxHighlightLength?(h=!1,g&&Cc(a,b,d,k.pos),k.pos=b.length,n=null):n=ye(ad(c,k,d),f);if(a.options.addModeClass){var l=m.innerMode(c,d).mode.name;l&&(n="m-"+(n?l+" "+n:l))}if(!h||j!=n)i<k.start&&e(k.start,j),i=k.start,j=n;k.start=k.pos}for(;i<k.pos;)a=Math.min(k.pos,i+5E4),e(a,j),i=a}function Kd(a,b,c,d){var e=[a.state.modeGen],f={};Ae(a,b.text,
a.doc.mode,c,function(a,b){e.push(a,b)},f,d);for(c=0;c<a.state.overlays.length;++c){var g=a.state.overlays[c],h=1,i=0;Ae(a,b.text,g.mode,!0,function(a,b){for(var c=h;i<a;){var d=e[h];d>a&&e.splice(h,1,a,e[h+1],d);h=h+2;i=Math.min(a,d)}if(b)if(g.opaque){e.splice(c,h-c,a,"cm-overlay "+b);h=c+2}else for(;c<h;c=c+2){d=e[c+1];e[c+1]=(d?d+" ":"")+"cm-overlay "+b}},f)}return{styles:e,classes:f.bgClass||f.textClass?f:null}}function Be(a,b){if(!b.styles||b.styles[0]!=a.state.modeGen){var c=Kd(a,b,b.stateAfter=
db(a,A(b)));b.styles=c.styles;c.classes?b.styleClasses=c.classes:b.styleClasses&&(b.styleClasses=null)}return b.styles}function Cc(a,b,c,d){var e=a.doc.mode,f=new gc(b,a.options.tabSize);f.start=f.pos=d||0;for(""==b&&ze(e,c);!f.eol()&&f.pos<=a.options.maxHighlightLength;)ad(e,f,c),f.start=f.pos}function Ce(a,b){if(!a||/^\s*$/.test(a))return null;var c=b.addModeClass?wf:xf;return c[a]||(c[a]=a.replace(/\S+/g,"cm-$&"))}function zd(a,b){var c=q("span",null,null,J?"padding-right: .1px":null),c={pre:q("pre",
[c]),content:c,col:0,pos:0,cm:a};b.measure={};for(var d=0;d<=(b.rest?b.rest.length:0);d++){var e=d?b.rest[d-1]:b.line,f;c.pos=0;c.addToken=yf;if((I||J)&&a.getOption("lineWrapping"))c.addToken=zf(c.addToken);var g;if(null!=bd)g=bd;else{g=X(a.display.measure,document.createTextNode("AخA"));var h=fb(g,0,1).getBoundingClientRect();g=h.left==h.right?!1:bd=3>fb(g,1,2).getBoundingClientRect().right-h.right}if(g&&(f=Y(e)))c.addToken=Af(c.addToken,f);c.map=[];a:{g=c;var h=Be(a,e),i=e.markedSpans,j=e.text,
k=0;if(i)for(var n=j.length,l=0,o=1,m="",p=void 0,r=0,s=void 0,t=void 0,u=void 0,v=void 0,x=void 0;;){if(r==l){for(var s=t=u=v="",x=null,r=Infinity,z=[],A=0;A<i.length;++A){var y=i[A],B=y.marker;if(y.from<=l&&(null==y.to||y.to>l)){if(null!=y.to&&r>y.to&&(r=y.to,t=""),B.className&&(s+=" "+B.className),B.startStyle&&y.from==l&&(u+=" "+B.startStyle),B.endStyle&&y.to==r&&(t+=" "+B.endStyle),B.title&&!v&&(v=B.title),B.collapsed&&(!x||0>we(x.marker,B)))x=y}else y.from>l&&r>y.from&&(r=y.from);"bookmark"==
B.type&&(y.from==l&&B.widgetNode)&&z.push(B)}if(x&&(x.from||0)==l)if(De(g,(null==x.to?n+1:x.to)-l,x.marker,null==x.from),null==x.to)break a;if(!x&&z.length)for(A=0;A<z.length;++A)De(g,0,z[A])}if(l>=n)break;for(z=Math.min(n,r);;){if(m){A=l+m.length;x||(y=A>z?m.slice(0,z-l):m,g.addToken(g,y,p?p+s:s,u,l+y.length==r?t:"",v));if(A>=z){m=m.slice(z-l);l=z;break}l=A;u=""}m=j.slice(k,k=h[o++]);p=Ce(h[o++],g.cm.options)}}else for(var o=1;o<h.length;o+=2)g.addToken(g,j.slice(k,k=h[o]),Ce(h[o+1],g.cm.options))}if(e.styleClasses&&
(e.styleClasses.bgClass&&(c.bgClass=cd(e.styleClasses.bgClass,c.bgClass||"")),e.styleClasses.textClass))c.textClass=cd(e.styleClasses.textClass,c.textClass||"");0==c.map.length&&c.map.push(0,0,c.content.appendChild(Bf(a.display.measure)));0==d?(b.measure.map=c.map,b.measure.cache={}):((b.measure.maps||(b.measure.maps=[])).push(c.map),(b.measure.caches||(b.measure.caches=[])).push({}))}E(a,"renderLine",a,b.line,c.pre);c.pre.className&&(c.textClass=cd(c.pre.className,c.textClass||""));return c}function yf(a,
b,c,d,e,f){if(b){var g=a.cm.options.specialChars,h=!1;if(g.test(b))for(var i=document.createDocumentFragment(),j=0;;){g.lastIndex=j;var k=g.exec(b),n=k?k.index-j:b.length-j;if(n){var l=document.createTextNode(b.slice(j,j+n));H?i.appendChild(q("span",[l])):i.appendChild(l);a.map.push(a.pos,a.pos+n,l);a.col+=n;a.pos+=n}if(!k)break;j+=n+1;"\t"==k[0]?(l=a.cm.options.tabSize,k=l-a.col%l,l=i.appendChild(q("span",oe(k),"cm-tab")),a.col+=k):(l=a.cm.options.specialCharPlaceholder(k[0]),H?i.appendChild(q("span",
[l])):i.appendChild(l),a.col+=1);a.map.push(a.pos,a.pos+1,l);a.pos++}else{a.col+=b.length;var i=document.createTextNode(b);a.map.push(a.pos,a.pos+b.length,i);H&&(h=!0);a.pos+=b.length}if(c||d||e||h)return b=c||"",d&&(b+=d),e&&(b+=e),d=q("span",[i],b),f&&(d.title=f),a.content.appendChild(d);a.content.appendChild(i)}}function zf(a){function b(a){for(var b=" ",e=0;e<a.length-2;++e)b+=e%2?" ":" ";return b+" "}return function(c,d,e,f,g,h){a(c,d.replace(/ {3,}/g,b),e,f,g,h)}}function Af(a,b){return function(c,
d,e,f,g,h){for(var e=e?e+" cm-force-border":"cm-force-border",i=c.pos,j=i+d.length;;){for(var k=0;k<b.length;k++){var n=b[k];if(n.to>i&&n.from<=i)break}if(n.to>=j)return a(c,d,e,f,g,h);a(c,d.slice(0,n.to-i),e,f,null,h);f=null;d=d.slice(n.to-i);i=n.to}}}function De(a,b,c,d){if(c=!d&&c.widgetNode)a.map.push(a.pos,a.pos+b,c),a.content.appendChild(c);a.pos+=b}function ne(a,b){return 0==b.from.ch&&0==b.to.ch&&""==x(b.text)&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Xc(a,b,c,d){function e(a){return c?
c[a]:null}function f(a,c,e){var f=d;a.text=c;a.stateAfter&&(a.stateAfter=null);a.styles&&(a.styles=null);null!=a.order&&(a.order=null);ue(a);ve(a,e);c=f?f(a):1;c!=a.height&&V(a,c);D(a,"change",a,b)}var g=b.from,h=b.to,i=b.text,j=r(a,g.line),k=r(a,h.line),n=x(i),l=e(i.length-1),o=h.line-g.line;if(ne(a,b)){for(var m=0,p=[];m<i.length-1;++m)p.push(new Ba(i[m],e(m),d));f(k,k.text,l);o&&a.remove(g.line,o);p.length&&a.insert(g.line,p)}else if(j==k)if(1==i.length)f(j,j.text.slice(0,g.ch)+n+j.text.slice(h.ch),
l);else{p=[];for(m=1;m<i.length-1;++m)p.push(new Ba(i[m],e(m),d));p.push(new Ba(n+j.text.slice(h.ch),l,d));f(j,j.text.slice(0,g.ch)+i[0],e(0));a.insert(g.line+1,p)}else if(1==i.length)f(j,j.text.slice(0,g.ch)+i[0]+k.text.slice(h.ch),e(0)),a.remove(g.line+1,o);else{f(j,j.text.slice(0,g.ch)+i[0],e(0));f(k,n+k.text.slice(h.ch),l);m=1;for(p=[];m<i.length-1;++m)p.push(new Ba(i[m],e(m),d));1<o&&a.remove(g.line+1,o-1);a.insert(g.line+1,p)}D(a,"change",a,b)}function qb(a){this.lines=a;this.parent=null;for(var b=
0,c=0;b<a.length;++b)a[b].parent=this,c+=a[b].height;this.height=c}function rb(a){this.children=a;for(var b=0,c=0,d=0;d<a.length;++d){var e=a[d],b=b+e.chunkSize(),c=c+e.height;e.parent=this}this.size=b;this.height=c;this.parent=null}function za(a,b,c){function d(a,f,g){if(a.linked)for(var h=0;h<a.linked.length;++h){var i=a.linked[h];if(i.doc!=f){var j=g&&i.sharedHist;if(!c||j)b(i.doc,j),d(i.doc,a,j)}}}d(a,null,!0)}function ld(a,b){if(b.cm)throw Error("This document is already in use.");a.doc=b;b.cm=
a;qc(a);pc(a);a.options.lineWrapping||tc(a);a.options.mode=b.modeOption;O(a)}function r(a,b){b-=a.first;if(0>b||b>=a.size)throw Error("There is no line "+(b+a.first)+" in the document.");for(var c=a;!c.lines;)for(var d=0;;++d){var e=c.children[d],f=e.chunkSize();if(b<f){c=e;break}b-=f}return c.lines[b]}function ob(a,b,c){var d=[],e=b.line;a.iter(b.line,c.line+1,function(a){a=a.text;e==c.line&&(a=a.slice(0,c.ch));e==b.line&&(a=a.slice(b.ch));d.push(a);++e});return d}function dd(a,b,c){var d=[];a.iter(b,
c,function(a){d.push(a.text)});return d}function V(a,b){var c=b-a.height;if(c)for(var d=a;d;d=d.parent)d.height+=c}function A(a){if(null==a.parent)return null;for(var b=a.parent,a=F(b.lines,a),c=b.parent;c;b=c,c=c.parent)for(var d=0;c.children[d]!=b;++d)a+=c.children[d].chunkSize();return a+b.first}function ua(a,b){var c=a.first;a:do{for(var d=0;d<a.children.length;++d){var e=a.children[d],f=e.height;if(b<f){a=e;continue a}b-=f;c+=e.chunkSize()}return c}while(!a.lines);for(d=0;d<a.lines.length;++d){e=
a.lines[d].height;if(b<e)break;b-=e}return c+d}function fa(a){for(var a=Z(a),b=0,c=a.parent,d=0;d<c.lines.length;++d){var e=c.lines[d];if(e==a)break;else b+=e.height}for(a=c.parent;a;c=a,a=c.parent)for(d=0;d<a.children.length&&!(e=a.children[d],e==c);++d)b+=e.height;return b}function Y(a){var b=a.order;null==b&&(b=a.order=Cf(a.text));return b}function hc(a){this.done=[];this.undone=[];this.undoDepth=Infinity;this.lastModTime=this.lastSelTime=0;this.lastOrigin=this.lastSelOrigin=this.lastOp=null;this.generation=
this.maxGeneration=a||1}function Vc(a,b){var c={from:p(b.from.line,b.from.ch),to:xa(b),text:ob(a,b.from,b.to)};Ee(a,c,b.from.line,b.to.line+1);za(a,function(a){Ee(a,c,b.from.line,b.to.line+1)},!0);return c}function Ed(a){for(;a.length;)if(x(a).ranges)a.pop();else break}function je(a,b,c,d){var e=a.history;e.undone.length=0;var f=+new Date,g,h;if(h=e.lastOp==d||e.lastOrigin==b.origin&&b.origin&&("+"==b.origin.charAt(0)&&a.cm&&e.lastModTime>f-a.cm.options.historyEventDelay||"*"==b.origin.charAt(0))){var i;
e.lastOp==d?(Ed(e.done),i=x(e.done)):e.done.length&&!x(e.done).ranges?i=x(e.done):1<e.done.length&&!e.done[e.done.length-2].ranges&&(e.done.pop(),i=x(e.done));h=g=i}if(h){var j=x(g.changes);0==v(b.from,b.to)&&0==v(b.from,j.to)?j.to=xa(b):g.changes.push(Vc(a,b))}else{g=x(e.done);(!g||!g.ranges)&&Eb(a.sel,e.done);g={changes:[Vc(a,b)],generation:e.generation};for(e.done.push(g);e.done.length>e.undoDepth;)e.done.shift(),e.done[0].ranges||e.done.shift()}e.done.push(c);e.generation=++e.maxGeneration;e.lastModTime=
e.lastSelTime=f;e.lastOp=d;e.lastOrigin=e.lastSelOrigin=b.origin;j||E(a,"historyAdded")}function Eb(a,b){var c=x(b);(!c||!c.ranges||!c.equals(a))&&b.push(a)}function Ee(a,b,c,d){var e=b["spans_"+a.id],f=0;a.iter(Math.max(a.first,c),Math.min(a.first+a.size,d),function(c){c.markedSpans&&((e||(e=b["spans_"+a.id]={}))[f]=c.markedSpans);++f})}function uf(a){if(!a)return null;for(var b=0,c;b<a.length;++b)a[b].marker.explicitlyCleared?c||(c=a.slice(0,b)):c&&c.push(a[b]);return!c?a:c.length?c:null}function Oa(a,
b,c){for(var d=0,e=[];d<a.length;++d){var f=a[d];if(f.ranges)e.push(c?ga.prototype.deepCopy.call(f):f);else{var f=f.changes,g=[];e.push({changes:g});for(var h=0;h<f.length;++h){var i=f[h],j;g.push({from:i.from,to:i.to,text:i.text});if(b)for(var k in i)if((j=k.match(/^spans_(\d+)$/))&&-1<F(b,Number(j[1])))x(g)[k]=i[k],delete i[k]}}}return e}function Fe(a,b,c,d){c<a.line?a.line+=d:b<a.line&&(a.line=b,a.ch=0)}function Ge(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e],g=!0;if(f.ranges){f.copied||(f=
a[e]=f.deepCopy(),f.copied=!0);for(var h=0;h<f.ranges.length;h++)Fe(f.ranges[h].anchor,b,c,d),Fe(f.ranges[h].head,b,c,d)}else{for(h=0;h<f.changes.length;++h){var i=f.changes[h];if(c<i.from.line)i.from=p(i.from.line+d,i.from.ch),i.to=p(i.to.line+d,i.to.ch);else if(b<=i.to.line){g=!1;break}}g||(a.splice(0,e+1),e=0)}}}function ke(a,b){var c=b.from.line,d=b.to.line,e=b.text.length-(d-c)-1;Ge(a.done,c,d,e);Ge(a.undone,c,d,e)}function Qc(a){return null!=a.defaultPrevented?a.defaultPrevented:!1==a.returnValue}
function Zd(a){var b=a.which;null==b&&(a.button&1?b=1:a.button&2?b=3:a.button&4&&(b=2));ea&&(a.ctrlKey&&1==b)&&(b=3);return b}function D(a,b){function c(a){return function(){a.apply(null,e)}}var d=a._handlers&&a._handlers[b];if(d){var e=Array.prototype.slice.call(arguments,2);oa||(++Lb,oa=[],setTimeout(Df,0));for(var f=0;f<d.length;++f)oa.push(c(d[f]))}}function Df(){--Lb;var a=oa;oa=null;for(var b=0;b<a.length;++b)a[b]()}function $(a,b,c){E(a,c||b.type,a,b);return Qc(b)||b.codemirrorIgnore}function Hd(a){var b=
a._handlers&&a._handlers.cursorActivity;if(b)for(var a=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),c=0;c<b.length;++c)-1==F(a,b[c])&&a.push(b[c])}function P(a,b){var c=a._handlers&&a._handlers[b];return c&&0<c.length}function Pa(a){a.prototype.on=function(a,c){t(this,a,c)};a.prototype.off=function(a,c){ia(this,a,c)}}function lc(){this.id=null}function $d(a,b,c){for(var d=0,e=0;;){var f=a.indexOf("\t",d);-1==f&&(f=a.length);var g=f-d;if(f==a.length||e+g>=b)return d+Math.min(g,
b-e);e+=f-d;e+=c-e%c;d=f+1;if(e>=b)return d}}function oe(a){for(;ic.length<=a;)ic.push(x(ic)+" ");return ic[a]}function x(a){return a[a.length-1]}function F(a,b){for(var c=0;c<a.length;++c)if(a[c]==b)return c;return-1}function Wc(a,b){for(var c=[],d=0;d<a.length;d++)c[d]=b(a[d],d);return c}function He(a,b){var c;Object.create?c=Object.create(a):(c=function(){},c.prototype=a,c=new c);b&&Ra(b,c);return c}function Ra(a,b,c){b||(b={});for(var d in a)if(a.hasOwnProperty(d)&&(!1!==c||!b.hasOwnProperty(d)))b[d]=
a[d];return b}function T(a){var b=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,b)}}function cc(a,b){return!b?Ie(a):-1<b.source.indexOf("\\w")&&Ie(a)?!0:b.test(a)}function Je(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}function eb(a){return 768<=a.charCodeAt(0)&&Ef.test(a)}function q(a,b,c,d){a=document.createElement(a);c&&(a.className=c);d&&(a.style.cssText=d);if("string"==typeof b)a.appendChild(document.createTextNode(b));else if(b)for(c=0;c<
b.length;++c)a.appendChild(b[c]);return a}function sa(a){for(var b=a.childNodes.length;0<b;--b)a.removeChild(a.firstChild);return a}function X(a,b){return sa(a).appendChild(b)}function ja(){return document.activeElement}function ed(a){return RegExp("\\b"+a+"\\b\\s*")}function Xb(a,b){var c=ed(b);c.test(a.className)&&(a.className=a.className.replace(c,""))}function Yb(a,b){ed(b).test(a.className)||(a.className+=" "+b)}function cd(a,b){for(var c=a.split(" "),d=0;d<c.length;d++)c[d]&&!ed(c[d]).test(b)&&
(b+=" "+c[d]);return b}function Ke(a){if(document.body.getElementsByClassName)for(var b=document.body.getElementsByClassName("CodeMirror"),c=0;c<b.length;c++){var d=b[c].CodeMirror;d&&a(d)}}function Qe(){var a;t(window,"resize",function(){null==a&&(a=setTimeout(function(){sb=a=null;Ke(ef)},100))});t(window,"blur",function(){Ke(vb)})}function Za(a){if(null!=sb)return sb;var b=q("div",null,null,"width: 50px; height: 50px; overflow-x: scroll");X(a,b);b.offsetWidth&&(sb=b.offsetHeight-b.clientHeight);
return sb||0}function Bf(a){if(null==fd){var b=q("span","");X(a,q("span",[b,document.createTextNode("x")]));0!=a.firstChild.offsetHeight&&(fd=1>=b.offsetWidth&&2<b.offsetHeight&&!Ta)}return fd?q("span",""):q("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px")}function We(a,b,c,d){if(!a)return d(b,c,"ltr");for(var e=!1,f=0;f<a.length;++f){var g=a[f];if(g.from<c&&g.to>b||b==c&&g.to==b)d(Math.max(g.from,b),Math.min(g.to,c),1==g.level?"rtl":"ltr"),e=!0}e||d(b,c,"ltr")}function Fc(a){return a.level%
2?a.from:a.to}function Jb(a){return(a=Y(a))?a[0].level%2?a[0].to:a[0].from:0}function Kb(a){var b=Y(a);return!b?a.text.length:Fc(x(b))}function Le(a,b){var c=r(a.doc,b),d=Z(c);d!=c&&(b=A(d));c=Y(d);d=!c?0:c[0].level%2?Kb(d):Jb(d);return p(b,d)}function Gc(a,b){hb=null;for(var c=0,d;c<a.length;++c){var e=a[c];if(e.from<b&&e.to>b)return c;if(e.from==b||e.to==b)if(null==d)d=c;else{var f;f=e.level;var g=a[d].level,h=a[0].level;f=f==h?!0:g==h?!1:f<g;if(f)return e.from!=e.to&&(hb=d),c;e.from!=e.to&&(hb=
c);break}}return d}function gd(a,b,c,d){if(!d)return b+c;do b+=c;while(0<b&&eb(a.text.charAt(b)));return b}function Ic(a,b,c,d){var e=Y(a);if(!e)return pe(a,b,c,d);for(var f=Gc(e,b),g=e[f],b=gd(a,b,g.level%2?-c:c,d);;){if(b>g.from&&b<g.to)return b;if(b==g.from||b==g.to){if(Gc(e,b)==f)return b;g=e[f+c];return 0<c==g.level%2?g.to:g.from}g=e[f+=c];if(!g)return null;b=0<c==g.level%2?gd(a,g.to,-1,d):gd(a,g.from,1,d)}}function pe(a,b,c,d){b+=c;if(d)for(;0<b&&eb(a.text.charAt(b));)b+=c;return 0>b||b>a.text.length?
null:b}var mb=/gecko\/\d/i.test(navigator.userAgent),aa=/MSIE \d/.test(navigator.userAgent),Ta=aa&&(null==document.documentMode||8>document.documentMode),H=aa&&(null==document.documentMode||9>document.documentMode),kf=aa&&(null==document.documentMode||10>document.documentMode),Ff=/Trident\/([7-9]|\d{2,})\./.test(navigator.userAgent),I=aa||Ff,J=/WebKit\//.test(navigator.userAgent),Gf=J&&/Qt\/\d+\.\d+/.test(navigator.userAgent),Hf=/Chrome\//.test(navigator.userAgent),R=/Opera\//.test(navigator.userAgent),
Yd=/Apple Computer/.test(navigator.vendor),oc=/KHTML\//.test(navigator.userAgent),Re=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(navigator.userAgent),bf=/PhantomJS/.test(navigator.userAgent),Sa=/AppleWebKit/.test(navigator.userAgent)&&/Mobile\/\w+/.test(navigator.userAgent),kc=Sa||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent),ea=Sa||/Mac/.test(navigator.platform),If=/win/i.test(navigator.platform),Ca=R&&navigator.userAgent.match(/Version\/(\d*\.\d*)/);Ca&&(Ca=Number(Ca[1]));
Ca&&15<=Ca&&(R=!1,J=!0);var Me=ea&&(Gf||R&&(null==Ca||12.11>Ca)),Oc=mb||I&&!H,he=!1,la=!1,p=m.Pos=function(a,b){if(!(this instanceof p))return new p(a,b);this.line=a;this.ch=b},v=m.cmpPos=function(a,b){return a.line-b.line||a.ch-b.ch};ga.prototype={primary:function(){return this.ranges[this.primIndex]},equals:function(a){if(a==this)return true;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return false;for(var b=0;b<this.ranges.length;b++){var c=this.ranges[b],d=a.ranges[b];if(v(c.anchor,
d.anchor)!=0||v(c.head,d.head)!=0)return false}return true},deepCopy:function(){for(var a=[],b=0;b<this.ranges.length;b++)a[b]=new z(p(this.ranges[b].anchor.line,this.ranges[b].anchor.ch),p(this.ranges[b].head.line,this.ranges[b].head.ch));return new ga(a,this.primIndex)},somethingSelected:function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return true;return false},contains:function(a,b){b||(b=a);for(var c=0;c<this.ranges.length;c++){var d=this.ranges[c];if(v(b,d.from())>=
0&&v(a,d.to())<=0)return c}return-1}};z.prototype={from:function(){return Bc(this.anchor,this.head)},to:function(){return Ac(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}};var Dc={left:0,right:0,top:0,bottom:0},wa,af=0,Rb,Qb,Xd=0,Tb=0,S=null;I?S=-0.53:mb?S=15:Hf?S=-0.7:Yd&&(S=-1/3);var de,Sc=null,xa=m.changeEnd=function(a){return!a.text?a.to:p(a.from.line+a.text.length-1,x(a.text).length+(a.text.length==1?a.from.ch:0))};m.prototype=
{constructor:m,focus:function(){window.focus();M(this);jb(this)},setOption:function(a,b){var c=this.options,d=c[a];if(!(c[a]==b&&a!="mode")){c[a]=b;Fa.hasOwnProperty(a)&&B(this,Fa[a])(this,b,d)}},getOption:function(a){return this.options[a]},getDoc:function(){return this.doc},addKeyMap:function(a,b){this.state.keyMaps[b?"push":"unshift"](a)},removeKeyMap:function(a){for(var b=this.state.keyMaps,c=0;c<b.length;++c)if(b[c]==a||typeof b[c]!="string"&&b[c].name==a){b.splice(c,1);return true}},addOverlay:y(function(a,
b){var c=a.token?a:m.getMode(this.options,a);if(c.startState)throw Error("Overlays may not be stateful.");this.state.overlays.push({mode:c,modeSpec:a,opaque:b&&b.opaque});this.state.modeGen++;O(this)}),removeOverlay:y(function(a){for(var b=this.state.overlays,c=0;c<b.length;++c){var d=b[c].modeSpec;if(d==a||typeof a=="string"&&d.name==a){b.splice(c,1);this.state.modeGen++;O(this);break}}}),indentLine:y(function(a,b,c){typeof b!="string"&&typeof b!="number"&&(b=b==null?this.options.smartIndent?"smart":
"prev":b?"add":"subtract");ab(this.doc,a)&&kb(this,a,b,c)}),indentSelection:y(function(a){for(var b=this.doc.sel.ranges,c=-1,d=0;d<b.length;d++){var e=b[d];if(e.empty()){if(e.head.line>c){kb(this,e.head.line,a,true);c=e.head.line;d==this.doc.sel.primIndex&&Ha(this)}}else for(var f=Math.max(c,e.from().line),c=e.to(),c=Math.min(this.lastLine(),c.line-(c.ch?0:1))+1;f<c;++f)kb(this,f,a)}}),getTokenAt:function(a,b){for(var c=this.doc,a=s(c,a),d=db(this,a.line,b),e=this.doc.mode,c=r(c,a.line),c=new gc(c.text,
this.options.tabSize);c.pos<a.ch&&!c.eol();){c.start=c.pos;var f=ad(e,c,d)}return{start:c.start,end:c.pos,string:c.current(),type:f||null,state:d}},getTokenTypeAt:function(a){var a=s(this.doc,a),b=Be(this,r(this.doc,a.line)),c=0,d=(b.length-1)/2,a=a.ch,e;if(a==0)e=b[2];else for(;;){var f=c+d>>1;if((f?b[f*2-1]:0)>=a)d=f;else if(b[f*2+1]<a)c=f+1;else{e=b[f*2+2];break}}b=e?e.indexOf("cm-overlay "):-1;return b<0?e:b==0?null:e.slice(0,b-1)},getModeAt:function(a){var b=this.doc.mode;return!b.innerMode?
b:m.innerMode(b,this.getTokenAt(a).state).mode},getHelper:function(a,b){return this.getHelpers(a,b)[0]},getHelpers:function(a,b){var c=[];if(!Da.hasOwnProperty(b))return Da;var d=Da[b],e=this.getModeAt(a);if(typeof e[b]=="string")d[e[b]]&&c.push(d[e[b]]);else if(e[b])for(var f=0;f<e[b].length;f++){var g=d[e[b][f]];g&&c.push(g)}else e.helperType&&d[e.helperType]?c.push(d[e.helperType]):d[e.name]&&c.push(d[e.name]);for(f=0;f<d._global.length;f++){g=d._global[f];g.pred(e,this)&&F(c,g.val)==-1&&c.push(g.val)}return c},
getStateAfter:function(a,b){var c=this.doc,a=Math.max(c.first,Math.min(a==null?c.first+c.size-1:a,c.first+c.size-1));return db(this,a+1,b)},cursorCoords:function(a,b){var c;c=this.doc.sel.primary();c=a==null?c.head:typeof a=="object"?s(this.doc,a):a?c.from():c.to();return ha(this,c,b||"page")},charCoords:function(a,b){return Gb(this,s(this.doc,a),b||"page")},coordsChar:function(a,b){a=Pd(this,a,b||"page");return Hc(this,a.left,a.top)},lineAtHeight:function(a,b){a=Pd(this,{top:a,left:0},b||"page").top;
return ua(this.doc,a+this.display.viewOffset)},heightAtLine:function(a,b){var c=false,d=this.doc.first+this.doc.size-1;if(a<this.doc.first)a=this.doc.first;else if(a>d){a=d;c=true}d=r(this.doc,a);return Ec(this,d,{top:0,left:0},b||"page").top+(c?this.doc.height-fa(d):0)},defaultTextHeight:function(){return qa(this.display)},defaultCharWidth:function(){return Wa(this.display)},setGutterMarker:y(function(a,b,c){return ac(this,a,"gutter",function(a){var e=a.gutterMarkers||(a.gutterMarkers={});e[b]=c;
if(!c&&Je(e))a.gutterMarkers=null;return true})}),clearGutter:y(function(a){var b=this,c=b.doc,d=c.first;c.iter(function(c){if(c.gutterMarkers&&c.gutterMarkers[a]){c.gutterMarkers[a]=null;na(b,d,"gutter");if(Je(c.gutterMarkers))c.gutterMarkers=null}++d})}),addLineClass:y(function(a,b,c){return ac(this,a,"class",function(a){var e=b=="text"?"textClass":b=="background"?"bgClass":"wrapClass";if(a[e]){if(RegExp("(?:^|\\s)"+c+"(?:$|\\s)").test(a[e]))return false;a[e]=a[e]+(" "+c)}else a[e]=c;return true})}),
removeLineClass:y(function(a,b,c){return ac(this,a,"class",function(a){var e=b=="text"?"textClass":b=="background"?"bgClass":"wrapClass",f=a[e];if(f)if(c==null)a[e]=null;else{var g=f.match(RegExp("(?:^|\\s+)"+c+"(?:$|\\s+)"));if(!g)return false;var h=g.index+g[0].length;a[e]=f.slice(0,g.index)+(!g.index||h==f.length?"":" ")+f.slice(h)||null}else return false;return true})}),addLineWidget:y(function(a,b,c){return vf(this,a,b,c)}),removeLineWidget:function(a){a.clear()},lineInfo:function(a){if(typeof a==
"number"){if(!ab(this.doc,a))return null;var b=a,a=r(this.doc,a);if(!a)return null}else{b=A(a);if(b==null)return null}return{line:b,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(a,b,c,d,e){var f=this.display,a=ha(this,s(this.doc,a)),g=a.bottom,h=a.left;b.style.position="absolute";f.sizer.appendChild(b);if(d=="over")g=
a.top;else if(d=="above"||d=="near"){var i=Math.max(f.wrapper.clientHeight,this.doc.height),j=Math.max(f.sizer.clientWidth,f.lineSpace.clientWidth);if((d=="above"||a.bottom+b.offsetHeight>i)&&a.top>b.offsetHeight)g=a.top-b.offsetHeight;else if(a.bottom+b.offsetHeight<=i)g=a.bottom;h+b.offsetWidth>j&&(h=j-b.offsetWidth)}b.style.top=g+"px";b.style.left=b.style.right="";if(e=="right"){h=f.sizer.clientWidth-b.offsetWidth;b.style.right="0px"}else{e=="left"?h=0:e=="middle"&&(h=(f.sizer.clientWidth-b.offsetWidth)/
2);b.style.left=h+"px"}if(c){a=Mb(this,h,g,h+b.offsetWidth,g+b.offsetHeight);a.scrollTop!=null&&ib(this,a.scrollTop);a.scrollLeft!=null&&Ga(this,a.scrollLeft)}},triggerOnKeyDown:y(Vd),triggerOnKeyPress:y(Wd),triggerOnKeyUp:y(Ud),execCommand:function(a){if(Vb.hasOwnProperty(a))return Vb[a](this)},findPosH:function(a,b,c,d){var e=1;if(b<0){e=-1;b=-b}for(var f=0,a=s(this.doc,a);f<b;++f){a=Zc(this.doc,a,e,c,d);if(a.hitSide)break}return a},moveH:y(function(a,b){var c=this;c.extendSelectionsBy(function(d){return c.display.shift||
c.doc.extend||d.empty()?Zc(c.doc,d.head,a,b,c.options.rtlMoveVisually):a<0?d.from():d.to()},Ea)}),deleteH:y(function(a,b){var c=this.doc;this.doc.sel.somethingSelected()?c.replaceSelection("",null,"+delete"):bc(this,function(d){var e=Zc(c,d.head,a,b,false);return a<0?{from:e,to:d.head}:{from:d.head,to:e}})}),findPosV:function(a,b,c,d){var e=1;if(b<0){e=-1;b=-b}for(var f=0,a=s(this.doc,a);f<b;++f){a=ha(this,a,"div");d==null?d=a.left:a.left=d;a=qe(this,a,e,c);if(a.hitSide)break}return a},moveV:y(function(a,
b){var c=this,d=this.doc,e=[],f=!c.display.shift&&!d.extend&&d.sel.somethingSelected();d.extendSelectionsBy(function(g){if(f)return a<0?g.from():g.to();var i=ha(c,g.head,"div");if(g.goalColumn!=null)i.left=g.goalColumn;e.push(i.left);var j=qe(c,i,a,b);b=="page"&&g==d.sel.primary()&&Yc(c,null,Gb(c,j,"div").top-i.top);return j},Ea);if(e.length)for(var g=0;g<d.sel.ranges.length;g++)d.sel.ranges[g].goalColumn=e[g]}),toggleOverwrite:function(a){if(!(a!=null&&a==this.state.overwrite)){(this.state.overwrite=
!this.state.overwrite)?Yb(this.display.cursorDiv,"CodeMirror-overwrite"):Xb(this.display.cursorDiv,"CodeMirror-overwrite");E(this,"overwriteToggle",this,this.state.overwrite)}},hasFocus:function(){return ja()==this.display.input},scrollTo:y(function(a,b){(a!=null||b!=null)&&$b(this);if(a!=null)this.curOp.scrollLeft=a;if(b!=null)this.curOp.scrollTop=b}),getScrollInfo:function(){var a=this.display.scroller,b=ca;return{left:a.scrollLeft,top:a.scrollTop,height:a.scrollHeight-b,width:a.scrollWidth-b,clientHeight:a.clientHeight-
b,clientWidth:a.clientWidth-b}},scrollIntoView:y(function(a,b){if(a==null){a={from:this.doc.sel.primary().head,to:null};if(b==null)b=this.options.cursorScrollMargin}else typeof a=="number"?a={from:p(a,0),to:null}:a.from==null&&(a={from:a,to:null});if(!a.to)a.to=a.from;a.margin=b||0;if(a.from.line!=null){$b(this);this.curOp.scrollToPos=a}else{var c=Mb(this,Math.min(a.from.left,a.to.left),Math.min(a.from.top,a.to.top)-a.margin,Math.max(a.from.right,a.to.right),Math.max(a.from.bottom,a.to.bottom)+a.margin);
this.scrollTo(c.scrollLeft,c.scrollTop)}}),setSize:y(function(a,b){function c(a){return typeof a=="number"||/^\d+$/.test(""+a)?a+"px":a}if(a!=null)this.display.wrapper.style.width=c(a);if(b!=null)this.display.wrapper.style.height=c(b);this.options.lineWrapping&&Od(this);this.curOp.forceUpdate=true;E(this,"refresh",this)}),operation:function(a){return ba(this,a)},refresh:y(function(){var a=this.display.cachedTextHeight;O(this);this.curOp.forceUpdate=true;Xa(this);this.scrollTo(this.doc.scrollLeft,
this.doc.scrollTop);sc(this);(a==null||Math.abs(a-qa(this.display))>0.5)&&qc(this);E(this,"refresh",this)}),swapDoc:y(function(a){var b=this.doc;b.cm=null;ld(this,a);Xa(this);U(this);this.scrollTo(a.scrollLeft,a.scrollTop);D(this,"swapDoc",this,b);return b}),getInputField:function(){return this.display.input},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}};Pa(m);var Ne=m.defaults=
{},Fa=m.optionHandlers={},md=m.Init={toString:function(){return"CodeMirror.Init"}};u("value","",function(a,b){a.setValue(b)},!0);u("mode",null,function(a,b){a.doc.modeOption=b;pc(a)},!0);u("indentUnit",2,pc,!0);u("indentWithTabs",!1);u("smartIndent",!0);u("tabSize",4,function(a){Ua(a);Xa(a);O(a)},!0);u("specialChars",/[\t\u0000-\u0019\u00ad\u200b\u2028\u2029\ufeff]/g,function(a,b){a.options.specialChars=RegExp(b.source+(b.test("\t")?"":"|\t"),"g");a.refresh()},!0);u("specialCharPlaceholder",function(a){var b=
q("span","•","cm-invalidchar");b.title="\\u"+a.charCodeAt(0).toString(16);return b},function(a){a.refresh()},!0);u("electricChars",!0);u("rtlMoveVisually",!If);u("wholeLineUpdateBefore",!0);u("theme","default",function(a){jd(a);Ya(a)},!0);u("keyMap","default",od);u("extraKeys",null);u("lineWrapping",!1,function(a){if(a.options.lineWrapping){Yb(a.display.wrapper,"CodeMirror-wrap");a.display.sizer.style.minWidth=""}else{Xb(a.display.wrapper,"CodeMirror-wrap");tc(a)}qc(a);O(a);Xa(a);setTimeout(function(){xb(a)},
100)},!0);u("gutters",[],function(a){jc(a.options);Ya(a)},!0);u("fixedGutter",!0,function(a,b){a.display.gutters.style.left=b?vc(a.display)+"px":"0";a.refresh()},!0);u("coverGutterNextToScrollbar",!1,xb,!0);u("lineNumbers",!1,function(a){jc(a.options);Ya(a)},!0);u("firstLineNumber",1,Ya,!0);u("lineNumberFormatter",function(a){return a},Ya,!0);u("showCursorWhenSelecting",!1,yc,!0);u("resetSelectionOnContextMenu",!0);u("readOnly",!1,function(a,b){if(b=="nocursor"){vb(a);a.display.input.blur();a.display.disabled=
true}else{a.display.disabled=false;b||U(a)}});u("disableInput",!1,function(a,b){b||U(a)},!0);u("dragDrop",!0);u("cursorBlinkRate",530);u("cursorScrollMargin",0);u("cursorHeight",1);u("workTime",100);u("workDelay",100);u("flattenSpans",!0,Ua,!0);u("addModeClass",!1,Ua,!0);u("pollInterval",100);u("undoDepth",200,function(a,b){a.doc.history.undoDepth=b});u("historyEventDelay",1250);u("viewportMargin",10,function(a){a.refresh()},!0);u("maxHighlightLength",1E4,Ua,!0);u("moveInputWithCursor",!0,function(a,
b){if(!b)a.display.inputDiv.style.top=a.display.inputDiv.style.left=0});u("tabindex",null,function(a,b){a.display.input.tabIndex=b||""});u("autofocus",null);var hd=m.modes={},Qa=m.mimeModes={},hd=m.modes={},Qa=m.mimeModes={};m.defineMode=function(a,b){if(!m.defaults.mode&&a!="null")m.defaults.mode=a;if(arguments.length>2){b.dependencies=[];for(var c=2;c<arguments.length;++c)b.dependencies.push(arguments[c])}hd[a]=b};m.defineMIME=function(a,b){Qa[a]=b};m.resolveMode=function(a){if(typeof a=="string"&&
Qa.hasOwnProperty(a))a=Qa[a];else if(a&&typeof a.name=="string"&&Qa.hasOwnProperty(a.name)){var b=Qa[a.name];typeof b=="string"&&(b={name:b});a=He(b,a);a.name=b.name}else if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return m.resolveMode("application/xml");return typeof a=="string"?{name:a}:a||{name:"null"}};m.getMode=function(a,b){var b=m.resolveMode(b),c=hd[b.name];if(!c)return m.getMode(a,"text/plain");c=c(a,b);if(tb.hasOwnProperty(b.name)){var d=tb[b.name],e;for(e in d)if(d.hasOwnProperty(e)){c.hasOwnProperty(e)&&
(c["_"+e]=c[e]);c[e]=d[e]}}c.name=b.name;if(b.helperType)c.helperType=b.helperType;if(b.modeProps)for(e in b.modeProps)c[e]=b.modeProps[e];return c};m.defineMode("null",function(){return{token:function(a){a.skipToEnd()}}});m.defineMIME("text/plain","null");var tb=m.modeExtensions={};m.extendMode=function(a,b){var c=tb.hasOwnProperty(a)?tb[a]:tb[a]={};Ra(b,c)};m.defineExtension=function(a,b){m.prototype[a]=b};m.defineDocExtension=function(a,b){L.prototype[a]=b};m.defineOption=u;var nc=[];m.defineInitHook=
function(a){nc.push(a)};var Da=m.helpers={};m.registerHelper=function(a,b,c){Da.hasOwnProperty(a)||(Da[a]=m[a]={_global:[]});Da[a][b]=c};m.registerGlobalHelper=function(a,b,c,d){m.registerHelper(a,b,d);Da[a]._global.push({pred:c,val:d})};var cb=m.copyState=function(a,b){if(b===true)return b;if(a.copyState)return a.copyState(b);var c={},d;for(d in b){var e=b[d];e instanceof Array&&(e=e.concat([]));c[d]=e}return c},Ze=m.startState=function(a,b,c){return a.startState?a.startState(b,c):true};m.innerMode=
function(a,b){for(;a.innerMode;){var c=a.innerMode(b);if(!c||c.mode==a)break;b=c.state;a=c.mode}return c||{mode:a,state:b}};var Vb=m.commands={selectAll:function(a){a.setSelection(p(a.firstLine(),0),p(a.lastLine()),va)},singleSelection:function(a){a.setSelection(a.getCursor("anchor"),a.getCursor("head"),va)},killLine:function(a){bc(a,function(b){if(b.empty()){var c=r(a.doc,b.head.line).text.length;return b.head.ch==c&&b.head.line<a.lastLine()?{from:b.head,to:p(b.head.line+1,0)}:{from:b.head,to:p(b.head.line,
c)}}return{from:b.from(),to:b.to()}})},deleteLine:function(a){bc(a,function(b){return{from:p(b.from().line,0),to:s(a.doc,p(b.to().line+1,0))}})},delLineLeft:function(a){bc(a,function(a){return{from:p(a.from().line,0),to:a.from()}})},undo:function(a){a.undo()},redo:function(a){a.redo()},undoSelection:function(a){a.undoSelection()},redoSelection:function(a){a.redoSelection()},goDocStart:function(a){a.extendSelection(p(a.firstLine(),0))},goDocEnd:function(a){a.extendSelection(p(a.lastLine()))},goLineStart:function(a){a.extendSelectionsBy(function(b){return Le(a,
b.head.line)},Ea)},goLineStartSmart:function(a){a.extendSelectionsBy(function(b){var c=Le(a,b.head.line),d=a.getLineHandle(c.line),e=Y(d);if(!e||e[0].level==0){d=Math.max(0,d.text.search(/\S/));return p(c.line,b.head.line==c.line&&b.head.ch<=d&&b.head.ch?0:d)}return c},Ea)},goLineEnd:function(a){a.extendSelectionsBy(function(b){for(var b=b.head.line,c,d=r(a.doc,b);c=ta(d,false);){d=c.find(1,true).line;b=null}c=Y(d);c=!c?d.text.length:c[0].level%2?Jb(d):Kb(d);return p(b==null?A(d):b,c)},Ea)},goLineRight:function(a){a.extendSelectionsBy(function(b){b=
a.charCoords(b.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:b},"div")},Ea)},goLineLeft:function(a){a.extendSelectionsBy(function(b){b=a.charCoords(b.head,"div").top+5;return a.coordsChar({left:0,top:b},"div")},Ea)},goLineUp:function(a){a.moveV(-1,"line")},goLineDown:function(a){a.moveV(1,"line")},goPageUp:function(a){a.moveV(-1,"page")},goPageDown:function(a){a.moveV(1,"page")},goCharLeft:function(a){a.moveH(-1,"char")},goCharRight:function(a){a.moveH(1,"char")},
goColumnLeft:function(a){a.moveH(-1,"column")},goColumnRight:function(a){a.moveH(1,"column")},goWordLeft:function(a){a.moveH(-1,"word")},goGroupRight:function(a){a.moveH(1,"group")},goGroupLeft:function(a){a.moveH(-1,"group")},goWordRight:function(a){a.moveH(1,"word")},delCharBefore:function(a){a.deleteH(-1,"char")},delCharAfter:function(a){a.deleteH(1,"char")},delWordBefore:function(a){a.deleteH(-1,"word")},delWordAfter:function(a){a.deleteH(1,"word")},delGroupBefore:function(a){a.deleteH(-1,"group")},
delGroupAfter:function(a){a.deleteH(1,"group")},indentAuto:function(a){a.indentSelection("smart")},indentMore:function(a){a.indentSelection("add")},indentLess:function(a){a.indentSelection("subtract")},insertTab:function(a){a.replaceSelection("\t")},insertSoftTab:function(a){for(var b=[],c=a.listSelections(),d=a.options.tabSize,e=0;e<c.length;e++){var f=c[e].from(),f=Q(a.getLine(f.line),f.ch,d);b.push(Array(d-f%d+1).join(" "))}a.replaceSelections(b)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):
a.execCommand("insertTab")},transposeChars:function(a){ba(a,function(){for(var b=a.listSelections(),c=[],d=0;d<b.length;d++){var e=b[d].head,f=r(a.doc,e.line).text;if(f){e.ch==f.length&&(e=new p(e.line,e.ch-1));if(e.ch>0){e=new p(e.line,e.ch+1);a.replaceRange(f.charAt(e.ch-1)+f.charAt(e.ch-2),p(e.line,e.ch-2),e,"+transpose")}else if(e.line>a.doc.first){var g=r(a.doc,e.line-1).text;g&&a.replaceRange(f.charAt(0)+"\n"+g.charAt(g.length-1),p(e.line-1,g.length-1),p(e.line,1),"+transpose")}}c.push(new z(e,
e))}a.setSelections(c)})},newlineAndIndent:function(a){ba(a,function(){for(var b=a.listSelections().length,c=0;c<b;c++){var d=a.listSelections()[c];a.replaceRange("\n",d.anchor,d.head,"+input");a.indentLine(d.from().line+1,null,true);Ha(a)}})},toggleOverwrite:function(a){a.toggleOverwrite()}},da=m.keyMap={};da.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore",
"Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"};da.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-Up":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Down":"goDocEnd","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter",
"Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"};da.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineStart",
"Cmd-Right":"goLineEnd","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delLineLeft","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection",fallthrough:["basic","emacsy"]};da.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown",
"Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars"};da["default"]=ea?da.macDefault:da.pcDefault;var Wb=m.lookupKey=function(a,b,c){function d(b){var b=Rc(b),e=b[a];if(e===false)return"stop";if(e!=null&&c(e))return true;if(b.nofallthrough)return"stop";b=b.fallthrough;
if(b==null)return false;if(Object.prototype.toString.call(b)!="[object Array]")return d(b);for(e=0;e<b.length;++e){var f=d(b[e]);if(f)return f}return false}for(var e=0;e<b.length;++e){var f=d(b[e]);if(f)return f!="stop"}},lf=m.isModifierKey=function(a){a=pa[a.keyCode];return a=="Ctrl"||a=="Alt"||a=="Shift"||a=="Mod"},mf=m.keyName=function(a,b){if(R&&a.keyCode==34&&a["char"])return false;var c=pa[a.keyCode];if(c==null||a.altGraphKey)return false;a.altKey&&(c="Alt-"+c);if(Me?a.metaKey:a.ctrlKey)c="Ctrl-"+
c;if(Me?a.ctrlKey:a.metaKey)c="Cmd-"+c;!b&&a.shiftKey&&(c="Shift-"+c);return c};m.fromTextArea=function(a,b){function c(){a.value=i.getValue()}b||(b={});b.value=a.value;if(!b.tabindex&&a.tabindex)b.tabindex=a.tabindex;if(!b.placeholder&&a.placeholder)b.placeholder=a.placeholder;if(b.autofocus==null){var d=ja();b.autofocus=d==a||a.getAttribute("autofocus")!=null&&d==document.body}if(a.form){t(a.form,"submit",c);if(!b.leaveSubmitMethodAlone){var e=a.form,f=e.submit;try{var g=e.submit=function(){c();
e.submit=f;e.submit();e.submit=g}}catch(h){}}}a.style.display="none";var i=m(function(b){a.parentNode.insertBefore(b,a.nextSibling)},b);i.save=c;i.getTextArea=function(){return a};i.toTextArea=function(){c();a.parentNode.removeChild(i.getWrapperElement());a.style.display="";if(a.form){ia(a.form,"submit",c);if(typeof a.form.submit=="function")a.form.submit=f}};return i};var gc=m.StringStream=function(a,b){this.pos=this.start=0;this.string=a;this.tabSize=b||8;this.lineStart=this.lastColumnPos=this.lastColumnValue=
0};gc.prototype={eol:function(){return this.pos>=this.string.length},sol:function(){return this.pos==this.lineStart},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},eat:function(a){var b=this.string.charAt(this.pos);if(typeof a=="string"?b==a:b&&(a.test?a.test(b):a(b))){++this.pos;return b}},eatWhile:function(a){for(var b=this.pos;this.eat(a););return this.pos>b},eatSpace:function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;
return this.pos>a},skipToEnd:function(){this.pos=this.string.length},skipTo:function(a){a=this.string.indexOf(a,this.pos);if(a>-1){this.pos=a;return true}},backUp:function(a){this.pos=this.pos-a},column:function(){if(this.lastColumnPos<this.start){this.lastColumnValue=Q(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue);this.lastColumnPos=this.start}return this.lastColumnValue-(this.lineStart?Q(this.string,this.lineStart,this.tabSize):0)},indentation:function(){return Q(this.string,
null,this.tabSize)-(this.lineStart?Q(this.string,this.lineStart,this.tabSize):0)},match:function(a,b,c){if(typeof a=="string"){var d=this.string.substr(this.pos,a.length);if((c?d.toLowerCase():d)==(c?a.toLowerCase():a)){if(b!==false)this.pos=this.pos+a.length;return true}}else{if((a=this.string.slice(this.pos).match(a))&&a.index>0)return null;if(a&&b!==false)this.pos=this.pos+a[0].length;return a}},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(a,b){this.lineStart=
this.lineStart+a;try{return b()}finally{this.lineStart=this.lineStart-a}}};var Aa=m.TextMarker=function(a,b){this.lines=[];this.type=b;this.doc=a};Pa(Aa);Aa.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,b=a&&!a.curOp;b&&Ia(a);if(P(this,"clear")){var c=this.find();c&&D(this,"clear",c.from,c.to)}for(var d=c=null,e=0;e<this.lines.length;++e){var f=this.lines[e],g=pb(f.markedSpans,this);if(a&&!this.collapsed)na(a,A(f),"text");else if(a){g.to!=null&&(d=A(f));g.from!=null&&(c=
A(f))}for(var h=f,i=f.markedSpans,j=g,k=void 0,n=0;n<i.length;++n)i[n]!=j&&(k||(k=[])).push(i[n]);h.markedSpans=k;g.from==null&&(this.collapsed&&!ra(this.doc,f)&&a)&&V(f,qa(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(e=0;e<this.lines.length;++e){f=Z(this.lines[e]);g=wb(f);if(g>a.display.maxLineLength){a.display.maxLine=f;a.display.maxLineLength=g;a.display.maxLineChanged=true}}c!=null&&(a&&this.collapsed)&&O(a,c,d+1);this.lines.length=0;this.explicitlyCleared=true;if(this.atomic&&
this.doc.cantEdit){this.doc.cantEdit=false;a&&Id(a.doc)}a&&D(a,"markerCleared",a,this);b&&Ja(a);this.parent&&this.parent.clear()}};Aa.prototype.find=function(a,b){a==null&&this.type=="bookmark"&&(a=1);for(var c,d,e=0;e<this.lines.length;++e){var f=this.lines[e],g=pb(f.markedSpans,this);if(g.from!=null){c=p(b?f:A(f),g.from);if(a==-1)return c}if(g.to!=null){d=p(b?f:A(f),g.to);if(a==1)return d}}return c&&{from:c,to:d}};Aa.prototype.changed=function(){var a=this.find(-1,true),b=this,c=this.doc.cm;a&&
c&&ba(c,function(){var d=a.line,e=A(a.line);if(e=Ld(c,e)){Nd(e);c.curOp.selectionChanged=c.curOp.forceUpdate=true}c.curOp.updateMaxLine=true;if(!ra(b.doc,d)&&b.height!=null){e=b.height;b.height=null;(e=gb(b)-e)&&V(d,d.height+e)}})};Aa.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;if(!b.maybeHiddenMarkers||F(b.maybeHiddenMarkers,this)==-1)(b.maybeUnhiddenMarkers||(b.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)};Aa.prototype.detachLine=function(a){this.lines.splice(F(this.lines,
a),1);if(!this.lines.length&&this.doc.cm){a=this.doc.cm.curOp;(a.maybeHiddenMarkers||(a.maybeHiddenMarkers=[])).push(this)}};var sf=0,ec=m.SharedTextMarker=function(a,b){this.markers=a;this.primary=b;for(var c=0;c<a.length;++c)a[c].parent=this};Pa(ec);ec.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=true;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();D(this,"clear")}};ec.prototype.find=function(a,b){return this.primary.find(a,b)};var fc=m.LineWidget=
function(a,b,c){if(c)for(var d in c)c.hasOwnProperty(d)&&(this[d]=c[d]);this.cm=a;this.node=b};Pa(fc);fc.prototype.clear=function(){var a=this.cm,b=this.line.widgets,c=this.line,d=A(c);if(d!=null&&b){for(var e=0;e<b.length;++e)b[e]==this&&b.splice(e--,1);if(!b.length)c.widgets=null;var f=gb(this);ba(a,function(){xe(a,c,-f);na(a,d,"widget");V(c,Math.max(0,c.height-f))})}};fc.prototype.changed=function(){var a=this.height,b=this.cm,c=this.line;this.height=null;var d=gb(this)-a;d&&ba(b,function(){b.curOp.forceUpdate=
true;xe(b,c,d);V(c,c.height+d)})};var Ba=m.Line=function(a,b,c){this.text=a;ve(this,b);this.height=c?c(this):1};Pa(Ba);Ba.prototype.lineNo=function(){return A(this)};var xf={},wf={};qb.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,b){for(var c=a,d=a+b;c<d;++c){var e=this.lines[c];this.height=this.height-e.height;var f=e;f.parent=null;ue(f);D(e,"delete")}this.lines.splice(a,b)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,b,c){this.height=
this.height+c;this.lines=this.lines.slice(0,a).concat(b).concat(this.lines.slice(a));for(a=0;a<b.length;++a)b[a].parent=this},iterN:function(a,b,c){for(b=a+b;a<b;++a)if(c(this.lines[a]))return true}};rb.prototype={chunkSize:function(){return this.size},removeInner:function(a,b){this.size=this.size-b;for(var c=0;c<this.children.length;++c){var d=this.children[c],e=d.chunkSize();if(a<e){var f=Math.min(b,e-a),g=d.height;d.removeInner(a,f);this.height=this.height-(g-d.height);if(e==f){this.children.splice(c--,
1);d.parent=null}if((b=b-f)==0)break;a=0}else a=a-e}if(this.size-b<25&&(this.children.length>1||!(this.children[0]instanceof qb))){c=[];this.collapse(c);this.children=[new qb(c)];this.children[0].parent=this}},collapse:function(a){for(var b=0;b<this.children.length;++b)this.children[b].collapse(a)},insertInner:function(a,b,c){this.size=this.size+b.length;this.height=this.height+c;for(var d=0;d<this.children.length;++d){var e=this.children[d],f=e.chunkSize();if(a<=f){e.insertInner(a,b,c);if(e.lines&&
e.lines.length>50){for(;e.lines.length>50;){a=e.lines.splice(e.lines.length-25,25);a=new qb(a);e.height=e.height-a.height;this.children.splice(d+1,0,a);a.parent=this}this.maybeSpill()}break}a=a-f}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var b=a.children.splice(a.children.length-5,5),b=new rb(b);if(a.parent){a.size=a.size-b.size;a.height=a.height-b.height;var c=F(a.parent.children,a);a.parent.children.splice(c+1,0,b)}else{c=new rb(a.children);c.parent=a;a.children=[c,b];
a=c}b.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,b,c){for(var d=0;d<this.children.length;++d){var e=this.children[d],f=e.chunkSize();if(a<f){f=Math.min(b,f-a);if(e.iterN(a,f,c))return true;if((b=b-f)==0)break;a=0}else a=a-f}}};var Jf=0,L=m.Doc=function(a,b,c){if(!(this instanceof L))return new L(a,b,c);c==null&&(c=0);rb.call(this,[new qb([new Ba("",null)])]);this.first=c;this.scrollTop=this.scrollLeft=0;this.cantEdit=false;this.cleanGeneration=1;this.frontier=
c;c=p(c,0);this.sel=ma(c);this.history=new hc(null);this.id=++Jf;this.modeOption=b;typeof a=="string"&&(a=Ka(a));Xc(this,{from:c,to:c,text:a});G(this,ma(c),va)};L.prototype=He(rb.prototype,{constructor:L,iter:function(a,b,c){c?this.iterN(a-this.first,b-a,c):this.iterN(this.first,this.first+this.size,a)},insert:function(a,b){for(var c=0,d=0;d<b.length;++d)c=c+b[d].height;this.insertInner(a-this.first,b,c)},remove:function(a,b){this.removeInner(a-this.first,b)},getValue:function(a){var b=dd(this,this.first,
this.first+this.size);return a===false?b:b.join(a||"\n")},setValue:N(function(a){var b=p(this.first,0),c=this.first+this.size-1;La(this,{from:b,to:p(c,r(this,c).text.length),text:Ka(a),origin:"setValue"},true);G(this,ma(b))}),replaceRange:function(a,b,c,d){b=s(this,b);c=c?s(this,c):b;Sb(this,a,b,c,d)},getRange:function(a,b,c){a=ob(this,s(this,a),s(this,b));return c===false?a:a.join(c||"\n")},getLine:function(a){return(a=this.getLineHandle(a))&&a.text},getLineHandle:function(a){if(ab(this,a))return r(this,
a)},getLineNumber:function(a){return A(a)},getLineHandleVisualStart:function(a){typeof a=="number"&&(a=r(this,a));return Z(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return s(this,a)},getCursor:function(a){var b=this.sel.primary();return a==null||a=="head"?b.head:a=="anchor"?b.anchor:a=="end"||a=="to"||a===false?b.to():b.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},
setCursor:N(function(a,b,c){a=s(this,typeof a=="number"?p(a,b||0):a);G(this,ma(a,null),c)}),setSelection:N(function(a,b,c){var d=s(this,a),a=s(this,b||a);G(this,ma(d,a),c)}),extendSelection:N(function(a,b,c){Cb(this,s(this,a),b&&s(this,b),c)}),extendSelections:N(function(a){for(var b=[],c=0;c<a.length;c++)b[c]=s(this,a[c]);Bd(this,b)}),extendSelectionsBy:N(function(a,b){Bd(this,Wc(this.sel.ranges,a),b)}),setSelections:N(function(a,b,c){if(a.length){for(var d=0,e=[];d<a.length;d++)e[d]=new z(s(this,
a[d].anchor),s(this,a[d].head));b==null&&(b=Math.min(a.length-1,this.sel.primIndex));G(this,W(e,b),c)}}),addSelection:N(function(a,b,c){var d=this.sel.ranges.slice(0);d.push(new z(s(this,a),s(this,b||a)));G(this,W(d,d.length-1),c)}),getSelection:function(a){for(var b=this.sel.ranges,c,d=0;d<b.length;d++){var e=ob(this,b[d].from(),b[d].to());c=c?c.concat(e):e}return a===false?c:c.join(a||"\n")},getSelections:function(a){for(var b=[],c=this.sel.ranges,d=0;d<c.length;d++){var e=ob(this,c[d].from(),c[d].to());
a!==false&&(e=e.join(a||"\n"));b[d]=e}return b},replaceSelection:function(a,b,c){for(var d=[],e=0;e<this.sel.ranges.length;e++)d[e]=a;this.replaceSelections(d,b,c||"+input")},replaceSelections:N(function(a,b,c){for(var d=[],e=this.sel,f=0;f<e.ranges.length;f++){var g=e.ranges[f];d[f]={from:g.from(),to:g.to(),text:Ka(a[f]),origin:c}}if(f=b)if(f=b!="end"){f=[];c=a=p(this.first,0);for(e=0;e<d.length;e++){var h=d[e],g=fe(h.from,a,c),i=fe(xa(h),a,c),a=h.to,c=i;if(b=="around"){h=this.sel.ranges[e];h=v(h.head,
h.anchor)<0;f[e]=new z(h?i:g,h?g:i)}else f[e]=new z(g,g)}f=new ga(f,this.sel.primIndex)}b=f;for(f=d.length-1;f>=0;f--)La(this,d[f]);b?Dd(this,b):this.cm&&Ha(this.cm)}),undo:N(function(){Zb(this,"undo")}),redo:N(function(){Zb(this,"redo")}),undoSelection:N(function(){Zb(this,"undo",true)}),redoSelection:N(function(){Zb(this,"redo",true)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,b=0,c=0,d=0;d<a.done.length;d++)a.done[d].ranges||
++b;for(d=0;d<a.undone.length;d++)a.undone[d].ranges||++c;return{undo:b,redo:c}},clearHistory:function(){this.history=new hc(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(true)},changeGeneration:function(a){if(a)this.history.lastOp=this.history.lastOrigin=null;return this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:Oa(this.history.done),undone:Oa(this.history.undone)}},
setHistory:function(a){var b=this.history=new hc(this.history.maxGeneration);b.done=Oa(a.done.slice(0),null,true);b.undone=Oa(a.undone.slice(0),null,true)},markText:function(a,b,c){return Na(this,s(this,a),s(this,b),c,"range")},setBookmark:function(a,b){var c={replacedWith:b&&(b.nodeType==null?b.widget:b),insertLeft:b&&b.insertLeft,clearWhenEmpty:false,shared:b&&b.shared},a=s(this,a);return Na(this,a,a,c,"bookmark")},findMarksAt:function(a){var a=s(this,a),b=[],c=r(this,a.line).markedSpans;if(c)for(var d=
0;d<c.length;++d){var e=c[d];if((e.from==null||e.from<=a.ch)&&(e.to==null||e.to>=a.ch))b.push(e.marker.parent||e.marker)}return b},findMarks:function(a,b,c){var a=s(this,a),b=s(this,b),d=[],e=a.line;this.iter(a.line,b.line+1,function(f){if(f=f.markedSpans)for(var g=0;g<f.length;g++){var h=f[g];if(!(e==a.line&&a.ch>h.to||h.from==null&&e!=a.line||e==b.line&&h.from>b.ch)&&(!c||c(h.marker)))d.push(h.marker.parent||h.marker)}++e});return d},getAllMarks:function(){var a=[];this.iter(function(b){if(b=b.markedSpans)for(var c=
0;c<b.length;++c)b[c].from!=null&&a.push(b[c].marker)});return a},posFromIndex:function(a){var b,c=this.first;this.iter(function(d){d=d.text.length+1;if(d>a){b=a;return true}a=a-d;++c});return s(this,p(c,b))},indexFromPos:function(a){var a=s(this,a),b=a.ch;if(a.line<this.first||a.ch<0)return 0;this.iter(this.first,a.line,function(a){b=b+(a.text.length+1)});return b},copy:function(a){var b=new L(dd(this,this.first,this.first+this.size),this.modeOption,this.first);b.scrollTop=this.scrollTop;b.scrollLeft=
this.scrollLeft;b.sel=this.sel;b.extend=false;if(a){b.history.undoDepth=this.history.undoDepth;b.setHistory(this.getHistory())}return b},linkedDoc:function(a){a||(a={});var b=this.first,c=this.first+this.size;if(a.from!=null&&a.from>b)b=a.from;if(a.to!=null&&a.to<c)c=a.to;b=new L(dd(this,b,c),a.mode||this.modeOption,b);if(a.sharedHist)b.history=this.history;(this.linked||(this.linked=[])).push({doc:b,sharedHist:a.sharedHist});b.linked=[{doc:this,isParent:true,sharedHist:a.sharedHist}];a=se(this);
for(c=0;c<a.length;c++){var d=a[c],e=d.find(),f=b.clipPos(e.from),e=b.clipPos(e.to);if(v(f,e)){f=Na(b,f,e,d.primary,d.primary.type);d.markers.push(f);f.parent=d}}return b},unlinkDoc:function(a){if(a instanceof m)a=a.doc;if(this.linked)for(var b=0;b<this.linked.length;++b)if(this.linked[b].doc==a){this.linked.splice(b,1);a.unlinkDoc(this);tf(se(this));break}if(a.history==this.history){var c=[a.id];za(a,function(a){c.push(a.id)},true);a.history=new hc(null);a.history.done=Oa(this.history.done,c);a.history.undone=
Oa(this.history.undone,c)}},iterLinkedDocs:function(a){za(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm}});L.prototype.eachLine=L.prototype.iter;var Kf=["iter","insert","remove","copy","getEditor"],ub;for(ub in L.prototype)L.prototype.hasOwnProperty(ub)&&0>F(Kf,ub)&&(m.prototype[ub]=function(a){return function(){return a.apply(this.doc,arguments)}}(L.prototype[ub]));Pa(L);var K=m.e_preventDefault=function(a){a.preventDefault?a.preventDefault():a.returnValue=false},
Lf=m.e_stopPropagation=function(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=true},Lc=m.e_stop=function(a){K(a);Lf(a)},t=m.on=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,false);else if(a.attachEvent)a.attachEvent("on"+b,c);else{a=a._handlers||(a._handlers={});(a[b]||(a[b]=[])).push(c)}},ia=m.off=function(a,b,c){if(a.removeEventListener)a.removeEventListener(b,c,false);else if(a.detachEvent)a.detachEvent("on"+b,c);else if(a=a._handlers&&a._handlers[b])for(b=0;b<a.length;++b)if(a[b]==
c){a.splice(b,1);break}},E=m.signal=function(a,b){var c=a._handlers&&a._handlers[b];if(c)for(var d=Array.prototype.slice.call(arguments,2),e=0;e<c.length;++e)c[e].apply(null,d)},oa,Lb=0,ca=30,ae=m.Pass={toString:function(){return"CodeMirror.Pass"}},va={scroll:!1},Pc={origin:"*mouse"},Ea={origin:"+move"};lc.prototype.set=function(a,b){clearTimeout(this.id);this.id=setTimeout(b,a)};var Q=m.countColumn=function(a,b,c,d,e){if(b==null){b=a.search(/[^\s\u00a0]/);if(b==-1)b=a.length}d=d||0;for(e=e||0;;){var f=
a.indexOf("\t",d);if(f<0||f>=b)return e+(b-d);e=e+(f-d);e=e+(c-e%c);d=f+1}},ic=[""],lb=function(a){a.select()};Sa?lb=function(a){a.selectionStart=0;a.selectionEnd=a.value.length}:I&&(lb=function(a){try{a.select()}catch(b){}});[].indexOf&&(F=function(a,b){return a.indexOf(b)});[].map&&(Wc=function(a,b){return a.map(b)});var Mf=/[\u00df\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Ie=m.isWordChar=function(a){return/\w/.test(a)||a>"€"&&(a.toUpperCase()!=a.toLowerCase()||Mf.test(a))},
Ef=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/,
fb;fb=document.createRange?function(a,b,c){var d=document.createRange();d.setEnd(a,c);d.setStart(a,b);return d}:function(a,b,c){var d=document.body.createTextRange();d.moveToElementText(a.parentNode);d.collapse(true);d.moveEnd("character",c);d.moveStart("character",b);return d};aa&&(ja=function(){try{return document.activeElement}catch(a){return document.body}});var kd=!1,gf=function(){if(H)return false;var a=q("div");return"draggable"in a||"dragDrop"in a}(),sb,fd,bd,Ka=m.splitLines=3!="\n\nb".split(/\n/).length?
function(a){for(var b=0,c=[],d=a.length;b<=d;){var e=a.indexOf("\n",b);if(e==-1)e=a.length;var f=a.slice(b,a.charAt(e-1)=="\r"?e-1:e),g=f.indexOf("\r");if(g!=-1){c.push(f.slice(0,g));b=b+(g+1)}else{c.push(f);b=e+1}}return c}:function(a){return a.split(/\r\n?|\n/)},cf=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return false}}:function(a){try{var b=a.ownerDocument.selection.createRange()}catch(c){}return!b||b.parentElement()!=a?false:b.compareEndPoints("StartToEnd",
b)!=0},Rd=function(){var a=q("div");if("oncopy"in a)return true;a.setAttribute("oncopy","return;");return typeof a.oncopy=="function"}(),pa={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",107:"=",109:"-",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",
192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"};m.keyNames=pa;(function(){for(var a=0;a<10;a++)pa[a+48]=pa[a+96]=""+a;for(a=65;a<=90;a++)pa[a]=String.fromCharCode(a);for(a=1;a<=12;a++)pa[a+111]=pa[a+63235]="F"+a})();var hb,Cf=function(){function a(a){return a<=247?c.charAt(a):1424<=a&&a<=1524?"R":1536<=a&&a<=1773?d.charAt(a-1536):1774<=a&&a<=2220?"r":8192<=a&&a<=8203?
"w":a==8204?"b":"L"}function b(a,b,c){this.level=a;this.from=b;this.to=c}var c="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",d="rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm",
e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,f=/[stwN]/,g=/[LRr]/,h=/[Lb1n]/,i=/[1n]/;return function(c){if(!e.test(c))return false;for(var d=c.length,n=[],l=0,o;l<d;++l)n.push(a(c.charCodeAt(l)));for(var l=0,m="L";l<d;++l){o=n[l];o=="m"?n[l]=m:m=o}l=0;for(m="L";l<d;++l){o=n[l];if(o=="1"&&m=="r")n[l]="n";else if(g.test(o)){m=o;o=="r"&&(n[l]="R")}}l=1;for(m=n[0];l<d-1;++l){o=n[l];if(o=="+"&&m=="1"&&n[l+1]=="1")n[l]="1";else if(o==","&&m==n[l+1]&&(m=="1"||m=="n"))n[l]=m;m=o}for(l=0;l<d;++l){o=n[l];
if(o==",")n[l]="N";else if(o=="%"){for(m=l+1;m<d&&n[m]=="%";++m);var p=l&&n[l-1]=="!"||m<d&&n[m]=="1"?"1":"N";for(o=l;o<m;++o)n[o]=p;l=m-1}}l=0;for(m="L";l<d;++l){o=n[l];m=="L"&&o=="1"?n[l]="L":g.test(o)&&(m=o)}for(l=0;l<d;++l)if(f.test(n[l])){for(m=l+1;m<d&&f.test(n[m]);++m);o=(m<d?n[m]:"L")=="L";p=(l?n[l-1]:"L")=="L"||o?"L":"R";for(o=l;o<m;++o)n[o]=p;l=m-1}for(var m=[],q,l=0;l<d;)if(h.test(n[l])){o=l;for(++l;l<d&&h.test(n[l]);++l);m.push(new b(0,o,l))}else{var r=l,p=m.length;for(++l;l<d&&n[l]!=
"L";++l);for(o=r;o<l;)if(i.test(n[o])){r<o&&m.splice(p,0,new b(1,r,o));r=o;for(++o;o<l&&i.test(n[o]);++o);m.splice(p,0,new b(2,r,o));r=o}else++o;r<l&&m.splice(p,0,new b(1,r,l))}if(m[0].level==1&&(q=c.match(/^\s+/))){m[0].from=q[0].length;m.unshift(new b(0,0,q[0].length))}if(x(m).level==1&&(q=c.match(/\s+$/))){x(m).to-=q[0].length;m.push(new b(0,d-q[0].length,d))}m[0].level!=x(m).level&&m.push(new b(m[0].level,d,d));return m}}();m.version="4.2.0";return m});
window.CodeMirror=function(){function l(a,b){if(!(this instanceof l))return new l(a,b);this.options=b=b||{};for(var c in Hb)!b.hasOwnProperty(c)&&Hb.hasOwnProperty(c)&&(b[c]=Hb[c]);Ib(b);c=this.display=Fd(a,"string"==typeof b.value?0:b.value.first);c.wrapper.CodeMirror=this;Ac(this);b.autofocus&&!Jb&&G(this);this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,draggingText:!1,highlight:new Kb};Bc(this);b.lineWrapping&&(this.display.wrapper.className+=
" CodeMirror-wrap");var d=b.value;"string"==typeof d&&(d=new F(b.value,b.mode));p(this,Cc)(this,d);B&&setTimeout(K(W,this,!0),20);Gd(this);var e;try{e=document.activeElement==c.input}catch(f){}e||b.autofocus&&!Jb?setTimeout(K($,this),20):Lb(this);p(this,function(){for(var a in ia)if(ia.propertyIsEnumerable(a))ia[a](this,b[a],Dc);for(a=0;a<Mb.length;++a)Mb[a](this)})()}function Fd(a,b){var c={},d=c.input=n("textarea",null,null,"position: absolute; padding: 0; width: 1px; height: 1em; outline: none; font-size: 4px;");
L?d.style.width="1000px":d.setAttribute("wrap","off");Ba&&(d.style.border="1px solid black");d.setAttribute("autocorrect","off");d.setAttribute("autocapitalize","off");d.setAttribute("spellcheck","false");c.inputDiv=n("div",[d],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");c.scrollbarH=n("div",[n("div",null,null,"height: 1px")],"CodeMirror-hscrollbar");c.scrollbarV=n("div",[n("div",null,null,"width: 1px")],"CodeMirror-vscrollbar");c.scrollbarFiller=n("div",null,"CodeMirror-scrollbar-filler");
c.gutterFiller=n("div",null,"CodeMirror-gutter-filler");c.lineDiv=n("div",null,"CodeMirror-code");c.selectionDiv=n("div",null,null,"position: relative; z-index: 1");c.cursor=n("div"," ","CodeMirror-cursor");c.otherCursor=n("div"," ","CodeMirror-cursor CodeMirror-secondarycursor");c.measure=n("div",null,"CodeMirror-measure");c.lineSpace=n("div",[c.measure,c.selectionDiv,c.lineDiv,c.cursor,c.otherCursor],null,"position: relative; outline: none");c.mover=n("div",[n("div",[c.lineSpace],"CodeMirror-lines")],
null,"position: relative");c.sizer=n("div",[c.mover],"CodeMirror-sizer");c.heightForcer=n("div",null,null,"position: absolute; height: "+ja+"px; width: 1px;");c.gutters=n("div",null,"CodeMirror-gutters");c.lineGutter=null;c.scroller=n("div",[c.sizer,c.heightForcer,c.gutters],"CodeMirror-scroll");c.scroller.setAttribute("tabIndex","-1");c.wrapper=n("div",[c.inputDiv,c.scrollbarH,c.scrollbarV,c.scrollbarFiller,c.gutterFiller,c.scroller],"CodeMirror");ka&&(c.gutters.style.zIndex=-1,c.scroller.style.paddingRight=
0);a.appendChild?a.appendChild(c.wrapper):a(c.wrapper);Ba&&(d.style.width="0px");L||(c.scroller.draggable=!0);Nb?(c.inputDiv.style.height="1px",c.inputDiv.style.position="absolute"):ka&&(c.scrollbarH.style.minWidth=c.scrollbarV.style.minWidth="18px");c.viewOffset=c.lastSizeC=0;c.showingFrom=c.showingTo=b;c.lineNumWidth=c.lineNumInnerWidth=c.lineNumChars=null;c.prevInput="";c.alignWidgets=!1;c.pollingFast=!1;c.poll=new Kb;c.cachedCharWidth=c.cachedTextHeight=null;c.measureLineCache=[];c.measureLineCachePos=
0;c.inaccurateSelection=!1;c.maxLine=null;c.maxLineLength=0;c.maxLineChanged=!1;c.wheelDX=c.wheelDY=c.wheelStartX=c.wheelStartY=null;return c}function Ca(a){a.doc.mode=l.getMode(a.options,a.doc.modeOption);a.doc.iter(function(a){a.stateAfter&&(a.stateAfter=null);a.styles&&(a.styles=null)});a.doc.frontier=a.doc.first;$a(a,100);a.state.modeGen++;a.curOp&&u(a)}function Ec(a){var b=Da(a.display),c=a.options.lineWrapping,d=c&&Math.max(5,a.display.scroller.clientWidth/Fc(a.display)-3);return function(e){return aa(a.doc,
e)?0:c?(Math.ceil(e.text.length/d)||1)*b:b}}function Gc(a){var b=a.doc,c=Ec(a);b.iter(function(a){var b=c(a);b!=a.height&&M(a,b)})}function Bc(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-");la(a)}function Ea(a){Ac(a);u(a);setTimeout(function(){Ob(a)},20)}function Ac(a){var b=a.display.gutters,c=a.options.gutters;ab(b);for(var d=0;d<c.length;++d){var e=c[d],f=b.appendChild(n("div",null,"CodeMirror-gutter "+e));"CodeMirror-linenumbers"==
e&&(a.display.lineGutter=f,f.style.width=(a.display.lineNumWidth||1)+"px")}b.style.display=d?"":"none"}function bb(a,b){if(0==b.height)return 0;for(var c=b.text.length,d,e=b;d=ba(e,-1);)d=d.find(),e=q(a,d.from.line),c+=d.from.ch-d.to.ch;for(e=b;d=Fa(e);)d=d.find(),c-=e.text.length-d.from.ch,e=q(a,d.to.line),c+=e.text.length-d.to.ch;return c}function Pb(a){var b=a.display,c=a.doc;b.maxLine=q(c,c.first);b.maxLineLength=bb(c,b.maxLine);b.maxLineChanged=!0;c.iter(function(a){var e=bb(c,a);e>b.maxLineLength&&
(b.maxLineLength=e,b.maxLine=a)})}function Ib(a){for(var b=!1,c=0;c<a.gutters.length;++c)"CodeMirror-linenumbers"==a.gutters[c]&&(a.lineNumbers?b=!0:a.gutters.splice(c--,1));!b&&a.lineNumbers&&a.gutters.push("CodeMirror-linenumbers")}function Qb(a){var b=a.display,c=a.doc.height+(b.mover.offsetHeight-b.lineSpace.offsetHeight);b.sizer.style.minHeight=b.heightForcer.style.top=c+"px";b.gutters.style.height=Math.max(c,b.scroller.clientHeight-ja)+"px";var c=Math.max(c,b.scroller.scrollHeight),d=b.scroller.scrollWidth>
b.scroller.clientWidth,e=c>b.scroller.clientHeight;e?(b.scrollbarV.style.display="block",b.scrollbarV.style.bottom=d?Ga(b.measure)+"px":"0",b.scrollbarV.firstChild.style.height=c-b.scroller.clientHeight+b.scrollbarV.clientHeight+"px"):b.scrollbarV.style.display="";d?(b.scrollbarH.style.display="block",b.scrollbarH.style.right=e?Ga(b.measure)+"px":"0",b.scrollbarH.firstChild.style.width=b.scroller.scrollWidth-b.scroller.clientWidth+b.scrollbarH.clientWidth+"px"):b.scrollbarH.style.display="";d&&e?
(b.scrollbarFiller.style.display="block",b.scrollbarFiller.style.height=b.scrollbarFiller.style.width=Ga(b.measure)+"px"):b.scrollbarFiller.style.display="";d&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(b.gutterFiller.style.display="block",b.gutterFiller.style.height=Ga(b.measure)+"px",b.gutterFiller.style.width=b.gutters.offsetWidth+"px"):b.gutterFiller.style.display="";Hd&&0===Ga(b.measure)&&(b.scrollbarV.style.minWidth=b.scrollbarH.style.minHeight=Id?"18px":"12px")}function Rb(a,
b,c){var d=a.scroller.scrollTop,e=a.wrapper.clientHeight;"number"==typeof c?d=c:c&&(d=c.top,e=c.bottom-c.top);d=Math.floor(d-a.lineSpace.offsetTop);a=Math.ceil(d+e);return{from:cb(b,d),to:cb(b,a)}}function Ob(a){var b=a.display;if(b.alignWidgets||b.gutters.firstChild&&a.options.fixedGutter){for(var c=Sb(b)-b.scroller.scrollLeft+a.doc.scrollLeft,d=b.gutters.offsetWidth,e=c+"px",f=b.lineDiv.firstChild;f;f=f.nextSibling)if(f.alignable)for(var g=0,h=f.alignable;g<h.length;++g)h[g].style.left=e;a.options.fixedGutter&&
(b.gutters.style.left=c+d+"px")}}function Jd(a){if(!a.options.lineNumbers)return!1;var b=a.doc,b=""+a.options.lineNumberFormatter(b.first+b.size-1+a.options.firstLineNumber),a=a.display;if(b.length!=a.lineNumChars){var c=a.measure.appendChild(n("div",[n("div",b)],"CodeMirror-linenumber CodeMirror-gutter-elt")),d=c.firstChild.offsetWidth,c=c.offsetWidth-d;a.lineGutter.style.width="";a.lineNumInnerWidth=Math.max(d,a.lineGutter.offsetWidth-c);a.lineNumWidth=a.lineNumInnerWidth+c;a.lineNumChars=a.lineNumInnerWidth?
b.length:-1;a.lineGutter.style.width=a.lineNumWidth+"px";return!0}return!1}function Sb(a){return y(a.scroller).left-y(a.sizer).left}function db(a,b,c){for(var d=a.display.showingFrom,e=a.display.showingTo,f,g=Rb(a.display,a.doc,c);Kd(a,b,g);){f=!0;Tb(a);Qb(a);c&&(c=Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,"number"==typeof c?c:c.top));g=Rb(a.display,a.doc,c);if(g.from>=a.display.showingFrom&&g.to<=a.display.showingTo)break;b=[]}f&&(O(a,"update",a),(a.display.showingFrom!=
d||a.display.showingTo!=e)&&O(a,"viewportChange",a,a.display.showingFrom,a.display.showingTo));return f}function Kd(a,b,c){var d=a.display,e=a.doc;if(d.wrapper.clientWidth){if(!(0==b.length&&c.from>d.showingFrom&&c.to<d.showingTo)){Jd(a)&&(b=[{from:e.first,to:e.first+e.size}]);var f=d.sizer.style.marginLeft=d.gutters.offsetWidth+"px";d.scrollbarH.style.left=a.options.fixedGutter?f:"0";var g=Infinity;if(a.options.lineNumbers)for(f=0;f<b.length;++f)if(b[f].diff){g=b[f].from;break}var f=e.first+e.size,
h=Math.max(c.from-a.options.viewportMargin,e.first),c=Math.min(f,c.to+a.options.viewportMargin);d.showingFrom<h&&20>h-d.showingFrom&&(h=Math.max(e.first,d.showingFrom));d.showingTo>c&&20>d.showingTo-c&&(c=Math.min(f,d.showingTo));if(Ha)for(h=H(ma(e,q(e,h)));c<f&&aa(e,q(e,c));)++c;var i=[{from:Math.max(d.showingFrom,e.first),to:Math.min(d.showingTo,f)}],i=i[0].from>=i[0].to?[]:Ld(i,b);if(Ha)for(f=0;f<i.length;++f)for(var b=i[f],j;j=Fa(q(e,b.to-1));)if(j=j.find().from.line,j>b.from)b.to=j;else{i.splice(f--,
1);break}for(f=e=0;f<i.length;++f)b=i[f],b.from<h&&(b.from=h),b.to>c&&(b.to=c),b.from>=b.to?i.splice(f--,1):e+=b.to-b.from;if(e==c-h&&h==d.showingFrom&&c==d.showingTo)Hc(a);else{i.sort(function(a,b){return a.from-b.from});try{var k=document.activeElement}catch(m){}e<0.7*(c-h)&&(d.lineDiv.style.display="none");Md(a,h,c,i,g);d.lineDiv.style.display="";k&&(document.activeElement!=k&&k.offsetHeight)&&k.focus();if(h!=d.showingFrom||c!=d.showingTo||d.lastSizeC!=d.wrapper.clientHeight)d.lastSizeC=d.wrapper.clientHeight;
d.showingFrom=h;d.showingTo=c;$a(a,100);k=d.lineDiv.offsetTop;for(e=d.lineDiv.firstChild;e;e=e.nextSibling)if(e.lineObj&&(ka?(g=e.offsetTop+e.offsetHeight,f=g-k,k=g):(f=y(e),f=f.bottom-f.top),g=e.lineObj.height-f,2>f&&(f=Da(d)),0.001<g||-0.001>g))if(M(e.lineObj,f),g=e.lineObj.widgets)for(f=0;f<g.length;++f)g[f].height=g[f].node.offsetHeight;Hc(a);return!0}}}else d.showingFrom=d.showingTo=e.first,d.viewOffset=0}function Hc(a){var b=a.display.viewOffset=na(a,q(a.doc,a.display.showingFrom));a.display.mover.style.top=
b+"px"}function Ld(a,b){for(var c=0,d=b.length||0;c<d;++c){for(var e=b[c],f=[],g=e.diff||0,h=0,i=a.length;h<i;++h){var j=a[h];e.to<=j.from&&e.diff?f.push({from:j.from+g,to:j.to+g}):e.to<=j.from||e.from>=j.to?f.push(j):(e.from>j.from&&f.push({from:j.from,to:e.from}),e.to<j.to&&f.push({from:e.to+g,to:j.to+g}))}a=f}return a}function Nd(a){for(var b=a.display,c={},d={},e=b.gutters.firstChild,f=0;e;e=e.nextSibling,++f)c[a.options.gutters[f]]=e.offsetLeft,d[a.options.gutters[f]]=e.offsetWidth;return{fixedPos:Sb(b),
gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:c,gutterWidth:d,wrapperWidth:b.wrapper.clientWidth}}function Md(a,b,c,d,e){function f(b){var c=b.nextSibling;L&&oa&&a.display.currentWheelTarget==b?(b.style.display="none",b.lineObj=null):b.parentNode.removeChild(b);return c}var g=Nd(a),h=a.display,i=a.options.lineNumbers;!d.length&&(!L||!a.display.currentWheelTarget)&&ab(h.lineDiv);var j=h.lineDiv,k=j.firstChild,m=d.shift(),s=b;for(a.doc.iter(b,c,function(b){m&&m.to==s&&(m=d.shift());if(aa(a.doc,
b)){if(0!=b.height&&M(b,0),b.widgets&&k.previousSibling)for(var c=0;c<b.widgets.length;++c)if(b.widgets[c].showIfHidden){var h=k.previousSibling;if(/pre/i.test(h.nodeName)){var l=n("div",null,null,"position: relative");h.parentNode.replaceChild(l,h);l.appendChild(h);h=l}l=h.appendChild(n("div",[b.widgets[c].node],"CodeMirror-linewidget"));Ub(b.widgets[c],l,h,g)}}else if(m&&m.from<=s&&m.to>s){for(;k.lineObj!=b;)k=f(k);i&&(e<=s&&k.lineNumber)&&Ic(k.lineNumber,""+a.options.lineNumberFormatter(s+a.options.firstLineNumber));
k=k.nextSibling}else{if(b.widgets)for(var o=0,q=k;q&&20>o;++o,q=q.nextSibling)if(q.lineObj==b&&/div/i.test(q.nodeName)){c=q;break}var o=a,r=s,I=c,q=Vb(o,b),p=b.gutterMarkers,Od=o.display;if(!o.options.lineNumbers&&!p&&!b.bgClass&&!b.wrapClass&&!b.widgets)h=q;else{if(I){I.alignable=null;for(var t=!0,v=0,w=I.firstChild,x;w;w=x)if(x=w.nextSibling,/\bCodeMirror-linewidget\b/.test(w.className)){for(var y=0,B=!0;y<b.widgets.length;++y){var u=b.widgets[y],z=!1;u.above||(z=B,B=!1);if(u.node==w.firstChild){Ub(u,
w,I,g);++v;z&&I.insertBefore(q,w);break}}if(y==b.widgets.length){t=!1;break}}else I.removeChild(w);t&&v==b.widgets.length&&(h=I,I.className=b.wrapClass||"")}h||(h=n("div",null,b.wrapClass,"position: relative"),h.appendChild(q));b.bgClass&&h.insertBefore(n("div",null,b.bgClass+" CodeMirror-linebackground"),h.firstChild);if(o.options.lineNumbers||p){l=h.insertBefore(n("div",null,null,"position: absolute; left: "+(o.options.fixedGutter?g.fixedPos:-g.gutterTotalWidth)+"px"),h.firstChild);o.options.fixedGutter&&
(h.alignable||(h.alignable=[])).push(l);if(o.options.lineNumbers&&(!p||!p["CodeMirror-linenumbers"]))h.lineNumber=l.appendChild(n("div",""+o.options.lineNumberFormatter(r+o.options.firstLineNumber),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+g.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+Od.lineNumInnerWidth+"px"));if(p)for(y=0;y<o.options.gutters.length;++y)u=o.options.gutters[y],(r=p.hasOwnProperty(u)&&p[u])&&l.appendChild(n("div",[r],"CodeMirror-gutter-elt","left: "+g.gutterLeft[u]+
"px; width: "+g.gutterWidth[u]+"px"))}ka&&(h.style.zIndex=2);if(b.widgets&&h!=I){y=0;for(I=b.widgets;y<I.length;++y)u=I[y],p=n("div",[u.node],"CodeMirror-linewidget"),Ub(u,p,h,g),u.above?h.insertBefore(p,o.options.lineNumbers&&0!=b.height?l:q):h.appendChild(p),O(u,"redraw")}}if(h!=c)j.insertBefore(h,k);else{for(;k!=c;)k=f(k);k=k.nextSibling}h.lineObj=b}++s});k;)k=f(k)}function Ub(a,b,c,d){a.noHScroll&&((c.alignable||(c.alignable=[])).push(b),c=d.wrapperWidth,b.style.left=d.fixedPos+"px",a.coverGutter||
(c-=d.gutterTotalWidth,b.style.paddingLeft=d.gutterTotalWidth+"px"),b.style.width=c+"px");a.coverGutter&&(b.style.zIndex=5,b.style.position="relative",a.noHScroll||(b.style.marginLeft=-d.gutterTotalWidth+"px"))}function Tb(a){var b=a.display,c=w(a.doc.sel.from,a.doc.sel.to);if(c||a.options.showCursorWhenSelecting){var d=a.display,e=P(a,a.doc.sel.head,"div");d.cursor.style.left=e.left+"px";d.cursor.style.top=e.top+"px";d.cursor.style.height=Math.max(0,e.bottom-e.top)*a.options.cursorHeight+"px";d.cursor.style.display=
"";e.other?(d.otherCursor.style.display="",d.otherCursor.style.left=e.other.left+"px",d.otherCursor.style.top=e.other.top+"px",d.otherCursor.style.height=0.85*(e.other.bottom-e.other.top)+"px"):d.otherCursor.style.display="none"}else b.cursor.style.display=b.otherCursor.style.display="none";c?b.selectionDiv.style.display="none":Pd(a);a.options.moveInputWithCursor&&(a=P(a,a.doc.sel.head,"div"),c=y(b.wrapper),d=y(b.lineDiv),b.inputDiv.style.top=Math.max(0,Math.min(b.wrapper.clientHeight-10,a.top+d.top-
c.top))+"px",b.inputDiv.style.left=Math.max(0,Math.min(b.wrapper.clientWidth-10,a.left+d.left-c.left))+"px")}function Pd(a){function b(a,b,c,d){0>b&&(b=0);g.appendChild(n("div",null,"CodeMirror-selected","position: absolute; left: "+a+"px; top: "+b+"px; width: "+(null==c?h-a:c)+"px; height: "+(d-b)+"px"))}function c(c,d,f,g){var j=q(e,c),k=j.text.length,m=g?Infinity:-Infinity;Qd(Q(j),d||0,null==f?k:f,function(e,s,l){var q=eb(a,o(c,e),"div",j),n,p;e==s?(n=q,l=p=q.left):(n=eb(a,o(c,s-1),"div",j),"rtl"==
l&&(l=q,q=n,n=l),l=q.left,p=n.right);3<n.top-q.top&&(b(l,q.top,null,q.bottom),l=i,q.bottom<n.top&&b(l,q.bottom,null,n.top));null==f&&s==k&&(p=h);null==d&&0==e&&(l=i);m=g?Math.min(n.top,m):Math.max(n.bottom,m);l<i+1&&(l=i);b(l,n.top,p-l,n.bottom)});return m}var d=a.display,e=a.doc,f=a.doc.sel,g=document.createDocumentFragment(),h=d.lineSpace.offsetWidth,i=R(a.display.measure,n("pre",null,null,"text-align: left")).appendChild(n("span","x")).offsetLeft;if(f.from.line==f.to.line)c(f.from.line,f.from.ch,
f.to.ch);else{for(var j=q(e,f.from.line),k=j,m=[f.from.line,f.from.ch],s;k=Fa(k);){k=k.find();m.push(k.from.ch,k.to.line,k.to.ch);if(k.to.line==f.to.line){m.push(f.to.ch);s=!0;break}k=q(e,k.to.line)}if(s)for(f=0;f<m.length;f+=3)c(m[f],m[f+1],m[f+2]);else m=q(e,f.to.line),j=f.from.ch?c(f.from.line,f.from.ch,null,!1):na(a,j)-d.viewOffset,f=f.to.ch?c(f.to.line,ba(m,-1)?null:0,f.to.ch,!0):na(a,m)-d.viewOffset,j<f&&b(i,j,null,f)}R(d.selectionDiv,g);d.selectionDiv.style.display=""}function fb(a){if(a.state.focused){var b=
a.display;clearInterval(b.blinker);var c=!0;b.cursor.style.visibility=b.otherCursor.style.visibility="";b.blinker=setInterval(function(){b.cursor.style.visibility=b.otherCursor.style.visibility=(c=!c)?"":"hidden"},a.options.cursorBlinkRate)}}function $a(a,b){a.doc.mode.startState&&a.doc.frontier<a.display.showingTo&&a.state.highlight.set(b,K(Rd,a))}function Rd(a){var b=a.doc;b.frontier<b.first&&(b.frontier=b.first);if(!(b.frontier>=a.display.showingTo)){var c=+new Date+a.options.workTime,d=pa(b.mode,
Ia(a,b.frontier)),e=[],f;b.iter(b.frontier,Math.min(b.first+b.size,a.display.showingTo+500),function(g){if(b.frontier>=a.display.showingFrom){var h=g.styles;g.styles=Lc(a,g,d);for(var i=!h||h.length!=g.styles.length,j=0;!i&&j<h.length;++j)i=h[j]!=g.styles[j];i&&(f&&f.end==b.frontier?f.end++:e.push(f={start:b.frontier,end:b.frontier+1}));g.stateAfter=pa(b.mode,d)}else{Mc(a,g,d);g.stateAfter=b.frontier%5==0?pa(b.mode,d):null}++b.frontier;if(+new Date>c){$a(a,a.options.workDelay);return true}});e.length&&
p(a,function(){for(var a=0;a<e.length;++a)u(this,e[a].start,e[a].end)})()}}function Sd(a,b){for(var c,d,e=a.doc,f=b,g=b-100;f>g;--f){if(f<=e.first)return e.first;var h=q(e,f-1);if(h.stateAfter)return f;h=qa(h.text,null,a.options.tabSize);if(null==d||c>h)d=f-1,c=h}return d}function Ia(a,b){var c=a.doc,d=a.display;if(!c.mode.startState)return!0;var e=Sd(a,b),f=e>c.first&&q(c,e-1).stateAfter,f=f?pa(c.mode,f):Nc(c.mode);c.iter(e,b,function(g){Mc(a,g,f);g.stateAfter=e==b-1||0==e%5||e>=d.showingFrom&&e<
d.showingTo?pa(c.mode,f):null;++e});return f}function Wb(a,b,c,d){for(var e=-1,d=d||Xb(a,b),a=c;;a+=e){var f=d[a];if(f)break;0>e&&0==a&&(e=1)}return{left:a<c?f.right:f.left,right:a>c?f.left:f.right,top:f.top,bottom:f.bottom}}function Yb(a,b){for(var c=a.display.measureLineCache,d=0;d<c.length;++d){var e=c[d];if(e.text==b.text&&e.markedSpans==b.markedSpans&&a.display.scroller.clientWidth==e.width&&e.classes==b.textClass+"|"+b.bgClass+"|"+b.wrapClass)return e}}function Td(a,b){var c=Yb(a,b);c&&(c.text=
c.measure=c.markedSpans=null)}function Xb(a,b){var c=Yb(a,b);if(c)return c.measure;var d=a.display,e=Oc(b.text.length),f=Vb(a,b,e);if(B&&!ka&&!a.options.lineWrapping&&100<f.childNodes.length){for(var g=document.createDocumentFragment(),h=f.childNodes.length,c=0,i=Math.ceil(h/10);c<i;++c){for(var j=n("div",null,null,"display: inline-block"),k=0;10>k&&h;++k)j.appendChild(f.firstChild),--h;g.appendChild(j)}f.appendChild(g)}R(d.measure,f);i=y(d.lineDiv);h=[];g=Oc(b.text.length);j=f.offsetHeight;J&&d.measure.first!=
f&&R(d.measure,f);for(c=0;c<e.length;++c)if(d=e[c]){for(var f=y(d),m=Math.max(0,f.top-i.top),s=Math.min(f.bottom-i.top,j),k=0;k<h.length;k+=2){var C=h[k],l=h[k+1];if(!(C>s||l<m))if(C<=m&&l>=s||m<=C&&s>=l||Math.min(s,l)-Math.max(m,C)>=s-m>>1){h[k]=Math.min(m,C);h[k+1]=Math.max(s,l);break}}k==h.length&&h.push(m,s);m=f.right;d.measureRight&&(m=y(d.measureRight).left);g[c]={left:f.left-i.left,right:m-i.left,top:k}}for(c=0;c<g.length;++c)if(d=g[c])e=d.top,d.top=h[e],d.bottom=h[e+1];c=a.display.measureLineCache;
e={text:b.text,width:a.display.scroller.clientWidth,markedSpans:b.markedSpans,measure:g,classes:b.textClass+"|"+b.bgClass+"|"+b.wrapClass};16==c.length?c[++a.display.measureLineCachePos%16]=e:c.push(e);return g}function la(a){a.display.measureLineCache.length=a.display.measureLineCachePos=0;a.display.cachedCharWidth=a.display.cachedTextHeight=null;a.options.lineWrapping||(a.display.maxLineChanged=!0);a.display.lineNumChars=null}function Pc(a,b,c,d){if(b.widgets)for(var e=0;e<b.widgets.length;++e)if(b.widgets[e].above){var f=
gb(b.widgets[e]);c.top+=f;c.bottom+=f}if("line"==d)return c;d||(d="local");b=na(a,b);"local"!=d&&(b-=a.display.viewOffset);"page"==d&&(a=y(a.display.lineSpace),b+=a.top+(window.pageYOffset||(document.documentElement||document.body).scrollTop),a=a.left+(window.pageXOffset||(document.documentElement||document.body).scrollLeft),c.left+=a,c.right+=a);c.top+=b;c.bottom+=b;return c}function eb(a,b,c,d){d||(d=q(a.doc,b.line));return Pc(a,d,Wb(a,d,b.ch),c)}function P(a,b,c,d,e){function f(b,f){var g=Wb(a,
d,b,e);f?g.left=g.right:g.right=g.left;return Pc(a,d,g,c)}function g(a,b){var c=h[b],d=c.level%2;a==(c.level%2?c.to:c.from)&&b&&c.level<h[b-1].level?(c=h[--b],a=Zb(c)-(c.level%2?0:1),d=!0):a==Zb(c)&&(b<h.length-1&&c.level<h[b+1].level)&&(c=h[++b],a=(c.level%2?c.to:c.from)-c.level%2,d=!1);return d&&a==c.to&&a>c.from?f(a-1):f(a,d)}d=d||q(a.doc,b.line);e||(e=Xb(a,d));var h=Q(d),b=b.ch;if(!h)return f(b);var i=$b(h,b),i=g(b,i);null!=ra&&(i.other=g(b,ra));return i}function hb(a,b,c){a=new o(a,b);c&&(a.outside=
!0);return a}function ac(a,b,c){var d=a.doc,c=c+a.display.viewOffset;if(0>c)return hb(d.first,0,!0);var e=cb(d,c),f=d.first+d.size-1;if(e>f)return hb(d.first+d.size-1,q(d,f).text.length,!0);for(0>b&&(b=0);;){var f=q(d,e),e=Ud(a,f,e,b,c),g=(f=Fa(f))&&f.find();if(f&&e.ch>=g.from.ch)e=g.to.line;else return e}}function Ud(a,b,c,d,e){function f(d){d=P(a,o(c,d),"line",b,j);h=!0;if(g>d.bottom)return d.left-i;if(g<d.top)return d.left+i;h=!1;return d.left}var g=e-na(a,b),h=!1,i=2*a.display.wrapper.clientWidth,
j=Xb(a,b),k=Q(b),m=b.text.length,s=ib(b),C=jb(b),l=f(s),e=h,q=f(C),n=h;if(d>q)return hb(c,C,n);for(;;){if(k?C==s||C==bc(b,s,1):1>=C-s){for(s=(d=d-l<q-d)?s:C;cc.test(b.text.charAt(s));)++s;e=hb(c,s,d?e:n);e.after=d;return e}var p=Math.ceil(m/2),r=s+p;if(k)for(var r=s,t=0;t<p;++t)r=bc(b,r,1);t=f(r);if(t>d){C=r;q=t;if(n=h)q+=1E3;m=p}else s=r,l=t,e=h,m-=p}}function Da(a){if(null!=a.cachedTextHeight)return a.cachedTextHeight;if(null==ca){ca=n("pre");for(var b=0;49>b;++b)ca.appendChild(document.createTextNode("x")),
ca.appendChild(n("br"));ca.appendChild(document.createTextNode("x"))}R(a.measure,ca);b=ca.offsetHeight/50;3<b&&(a.cachedTextHeight=b);ab(a.measure);return b||1}function Fc(a){if(null!=a.cachedCharWidth)return a.cachedCharWidth;var b=n("span","x"),c=n("pre",[b]);R(a.measure,c);b=b.offsetWidth;2<b&&(a.cachedCharWidth=b);return b||10}function sa(a){a.curOp={changes:[],updateInput:null,userSelChange:null,textChanged:null,selectionChanged:!1,cursorActivity:!1,updateMaxLine:!1,updateScrollPos:!1,id:++Vd};
kb++||(X=[])}function ta(a){var b=a.curOp,c=a.doc,d=a.display;a.curOp=null;b.updateMaxLine&&Pb(a);if(d.maxLineChanged&&!a.options.lineWrapping&&d.maxLine){var e;e=d.maxLine;var f=!1;if(e.markedSpans)for(var g=0;g<e.markedSpans;++g){var h=e.markedSpans[g];if(h.collapsed&&(null==h.to||h.to==e.text.length))f=!0}(f=!f&&Yb(a,e))?e=Wb(a,e,e.text.length,f.measure).right:(e=Vb(a,e),f=e.appendChild(lb(a.display.measure)),R(a.display.measure,e),e=y(f).right-y(a.display.lineDiv).left);d.sizer.style.minWidth=
Math.max(0,e+3+ja)+"px";d.maxLineChanged=!1;e=Math.max(0,d.sizer.offsetLeft+d.sizer.offsetWidth-d.scroller.clientWidth);e<c.scrollLeft&&!b.updateScrollPos&&ua(a,Math.min(d.scroller.scrollLeft,e),!0)}var i,j;b.updateScrollPos?i=b.updateScrollPos:b.selectionChanged&&d.scroller.clientHeight&&(i=P(a,c.sel.head),i=mb(a,i.left,i.top,i.left,i.bottom));if(b.changes.length||i&&null!=i.scrollTop)j=db(a,b.changes,i&&i.scrollTop),a.display.scroller.offsetHeight&&(a.doc.scrollTop=a.display.scroller.scrollTop);
!j&&b.selectionChanged&&Tb(a);if(b.updateScrollPos)d.scroller.scrollTop=d.scrollbarV.scrollTop=c.scrollTop=i.scrollTop,d.scroller.scrollLeft=d.scrollbarH.scrollLeft=c.scrollLeft=i.scrollLeft,Ob(a),b.scrollToPos&&Qc(a,r(a.doc,b.scrollToPos),b.scrollToPosMargin);else if(i&&(c=Qc(a,a.doc.sel.head,a.options.cursorScrollMargin),a.state.focused)){d=a.display;i=y(d.sizer);j=null;e=a.display.lineSpace.offsetTop;if(0>c.top+e+i.top)j=!0;else if(c.bottom+e+i.top>(window.innerHeight||document.documentElement.clientHeight))j=
!1;if(null!=j&&!Wd){if(i="none"==d.cursor.style.display)d.cursor.style.display="",d.cursor.style.left=c.left+"px",d.cursor.style.top=c.top-d.viewOffset+"px";d.cursor.scrollIntoView(j);i&&(d.cursor.style.display="none")}}b.selectionChanged&&fb(a);a.state.focused&&b.updateInput&&W(a,b.userSelChange);c=b.maybeHiddenMarkers;d=b.maybeUnhiddenMarkers;if(c)for(j=0;j<c.length;++j)c[j].lines.length||D(c[j],"hide");if(d)for(j=0;j<d.length;++j)d[j].lines.length&&D(d[j],"unhide");var k;--kb||(k=X,X=null);b.textChanged&&
D(a,"change",a,b.textChanged);b.cursorActivity&&D(a,"cursorActivity",a);if(k)for(j=0;j<k.length;++j)k[j]()}function p(a,b){return function(){var c=a||this,d=!c.curOp;d&&sa(c);try{var e=b.apply(c,arguments)}finally{d&&ta(c)}return e}}function Ja(a){return function(){var b=this.cm&&!this.cm.curOp,c;b&&sa(this.cm);try{c=a.apply(this,arguments)}finally{b&&ta(this.cm)}return c}}function dc(a,b){var c=!a.curOp,d;c&&sa(a);try{d=b()}finally{c&&ta(a)}return d}function u(a,b,c,d){null==b&&(b=a.doc.first);null==
c&&(c=a.doc.first+a.doc.size);a.curOp.changes.push({from:b,to:c,diff:d})}function nb(a){a.display.pollingFast||a.display.poll.set(a.options.pollInterval,function(){ec(a);a.state.focused&&nb(a)})}function Ka(a){function b(){!ec(a)&&!c?(c=!0,a.display.poll.set(60,b)):(a.display.pollingFast=!1,nb(a))}var c=!1;a.display.pollingFast=!0;a.display.poll.set(20,b)}function ec(a){var b=a.display.input,c=a.display.prevInput,d=a.doc,e=d.sel;if(!a.state.focused||Xd(b)||La(a))return!1;var f=b.value;if(f==c&&w(e.from,
e.to))return!1;if(B&&!J&&a.display.inputHasSelection===f)return W(a,!0),!1;var g=!a.curOp;g&&sa(a);e.shift=!1;for(var h=0,i=Math.min(c.length,f.length);h<i&&c.charCodeAt(h)==f.charCodeAt(h);)++h;i=e.from;e=e.to;h<c.length?i=o(i.line,i.ch-(c.length-h)):a.state.overwrite&&(w(i,e)&&!a.state.pasteIncoming)&&(e=o(e.line,Math.min(q(d,e.line).text.length,e.ch+(f.length-h))));c=a.curOp.updateInput;va(a.doc,{from:i,to:e,text:da(f.slice(h)),origin:a.state.pasteIncoming?"paste":"+input"},"end");a.curOp.updateInput=
c;1E3<f.length||-1<f.indexOf("\n")?b.value=a.display.prevInput="":a.display.prevInput=f;g&&ta(a);a.state.pasteIncoming=!1;return!0}function W(a,b){var c,d,e=a.doc;w(e.sel.from,e.sel.to)?b&&(a.display.prevInput=a.display.input.value="",B&&!J&&(a.display.inputHasSelection=null)):(a.display.prevInput="",d=(c=Rc&&(100<e.sel.to.line-e.sel.from.line||1E3<(d=a.getSelection()).length))?"-":d||a.getSelection(),a.display.input.value=d,a.state.focused&&Sc(a.display.input),B&&!J&&(a.display.inputHasSelection=
d));a.display.inaccurateSelection=c}function G(a){"nocursor"!=a.options.readOnly&&(!Jb||document.activeElement!=a.display.input)&&a.display.input.focus()}function La(a){return a.options.readOnly||a.doc.cantEdit}function Gd(a){function b(){a.state.focused&&setTimeout(K(G,a),0)}function c(){g.cachedCharWidth=g.cachedTextHeight=null;la(a);dc(a,K(u,a))}function d(){for(var a=g.wrapper.parentNode;a&&a!=document.body;a=a.parentNode);a?setTimeout(d,5E3):T(window,"resize",c)}function e(b){(!a.options.onDragEvent||
!a.options.onDragEvent(a,Ma(b)))&&Na(b)}function f(){g.inaccurateSelection&&(g.prevInput="",g.inaccurateSelection=!1,g.input.value=a.getSelection(),Sc(g.input))}var g=a.display;t(g.scroller,"mousedown",p(a,Yd));B?t(g.scroller,"dblclick",p(a,function(b){var c=wa(a,b);c&&(!Tc(a,b)&&!ea(a.display,b))&&(z(b),b=fc(q(a.doc,c.line).text,c),A(a.doc,b.from,b.to))})):t(g.scroller,"dblclick",z);t(g.lineSpace,"selectstart",function(a){ea(g,a)||z(a)});gc||t(g.scroller,"contextmenu",function(b){Uc(a,b)});t(g.scroller,
"scroll",function(){g.scroller.clientHeight&&(Oa(a,g.scroller.scrollTop),ua(a,g.scroller.scrollLeft,!0),D(a,"scroll",a))});t(g.scrollbarV,"scroll",function(){g.scroller.clientHeight&&Oa(a,g.scrollbarV.scrollTop)});t(g.scrollbarH,"scroll",function(){g.scroller.clientHeight&&ua(a,g.scrollbarH.scrollLeft)});t(g.scroller,"mousewheel",function(b){Vc(a,b)});t(g.scroller,"DOMMouseScroll",function(b){Vc(a,b)});t(g.scrollbarH,"mousedown",b);t(g.scrollbarV,"mousedown",b);t(g.wrapper,"scroll",function(){g.wrapper.scrollTop=
g.wrapper.scrollLeft=0});t(window,"resize",c);setTimeout(d,5E3);t(g.input,"keyup",p(a,function(b){if((!a.options.onKeyEvent||!a.options.onKeyEvent(a,Ma(b)))&&16==b.keyCode)a.doc.sel.shift=!1}));t(g.input,"input",K(Ka,a));t(g.input,"keydown",p(a,Wc));t(g.input,"keypress",p(a,Zd));t(g.input,"focus",K($,a));t(g.input,"blur",K(Lb,a));a.options.dragDrop&&(t(g.scroller,"dragstart",function(b){var c=a;if(B&&!c.state.draggingText)Na(b);else if(!ea(c.display,b)){var d=c.getSelection();b.dataTransfer.setData("Text",
d);b.dataTransfer.setDragImage&&(d=n("img",null,null,"position: fixed; left: 0; top: 0;"),S&&(d.width=d.height=1,c.display.wrapper.appendChild(d),d._top=d.offsetTop),hc&&(c.display.dragImg?d=c.display.dragImg:(c.display.dragImg=d,d.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",c.display.wrapper.appendChild(d))),b.dataTransfer.setDragImage(d,0,0),S&&d.parentNode.removeChild(d))}}),t(g.scroller,"dragenter",e),t(g.scroller,"dragover",e),t(g.scroller,"drop",p(a,$d)));
t(g.scroller,"paste",function(b){if(!ea(g,b)){G(a);Ka(a)}});t(g.input,"paste",function(){a.state.pasteIncoming=true;Ka(a)});t(g.input,"cut",f);t(g.input,"copy",f);Nb&&t(g.sizer,"mouseup",function(){document.activeElement==g.input&&g.input.blur();G(a)})}function ea(a,b){for(var c=b.target||b.srcElement;c!=a.wrapper;c=c.parentNode)if(!c||/\bCodeMirror-(?:line)?widget\b/.test(c.className)||c.parentNode==a.sizer&&c!=a.mover)return!0}function wa(a,b,c){var d=a.display;if(!c&&(c=b.target||b.srcElement,
c==d.scrollbarH||c==d.scrollbarH.firstChild||c==d.scrollbarV||c==d.scrollbarV.firstChild||c==d.scrollbarFiller||c==d.gutterFiller))return null;var e,f,d=y(d.lineSpace);try{e=b.clientX,f=b.clientY}catch(g){return null}return ac(a,e-d.left,f-d.top)}function Yd(a){function b(a){if(!w(n,a))if(n=a,"single"==k)A(e.doc,r(g,i),a);else if(C=r(g,C),l=r(g,l),"double"==k){var b=fc(q(g,a.line).text,a);x(a,C)?A(e.doc,b.from,l):A(e.doc,C,b.to)}else"triple"==k&&(x(a,C)?A(e.doc,l,r(g,o(a.line,0))):A(e.doc,C,r(g,o(a.line+
1,0))))}function c(a){var d=++u,h=wa(e,a,!0);if(h)if(w(h,m)){var i=a.clientY<v.top?-20:a.clientY>v.bottom?20:0;i&&setTimeout(p(e,function(){u==d&&(f.scroller.scrollTop+=i,c(a))}),50)}else{e.state.focused||$(e);m=h;b(h);var j=Rb(f,g);(h.line>=j.to||h.line<j.from)&&setTimeout(p(e,function(){u==d&&c(a)}),150)}}function d(a){u=Infinity;var c=wa(e,a);c&&b(c);z(a);G(e);T(document,"mousemove",Jc);T(document,"mouseup",Kc)}var e=this,f=e.display,g=e.doc,h=g.sel;h.shift=a.shiftKey;if(ea(f,a))L||(f.scroller.draggable=
!1,setTimeout(function(){f.scroller.draggable=!0},100));else if(!Tc(e,a)){var i=wa(e,a);switch(Xc(a)){case 3:gc&&Uc.call(e,e,a);return;case 2:i&&A(e.doc,i);setTimeout(K(G,e),20);z(a);return}if(i){e.state.focused||$(e);var j=+new Date,k="single";ob&&ob.time>j-400&&w(ob.pos,i)?(k="triple",z(a),setTimeout(K(G,e),20),ae(e,i.line)):pb&&pb.time>j-400&&w(pb.pos,i)?(k="double",ob={time:j,pos:i},z(a),j=fc(q(g,i.line).text,i),A(e.doc,j.from,j.to)):pb={time:j,pos:i};var m=i;if(e.options.dragDrop&&be&&!La(e)&&
!w(h.from,h.to)&&!x(i,h.from)&&!x(h.to,i)&&"single"==k){var s=p(e,function(b){if(L)f.scroller.draggable=false;e.state.draggingText=false;T(document,"mouseup",s);T(f.scroller,"drop",s);if(Math.abs(a.clientX-b.clientX)+Math.abs(a.clientY-b.clientY)<10){z(b);A(e.doc,i);G(e)}});L&&(f.scroller.draggable=!0);e.state.draggingText=s;f.scroller.dragDrop&&f.scroller.dragDrop();t(document,"mouseup",s);t(f.scroller,"drop",s)}else{z(a);"single"==k&&A(e.doc,r(g,i));var C=h.from,l=h.to,n=i,v=y(f.wrapper),u=0,Jc=
p(e,function(a){!B&&!Xc(a)?d(a):c(a)}),Kc=p(e,d);t(document,"mousemove",Jc);t(document,"mouseup",Kc)}}else(a.target||a.srcElement)==f.scroller&&z(a)}}function $d(a){var b=this;if(!(ea(b.display,a)||b.options.onDragEvent&&b.options.onDragEvent(b,Ma(a)))){z(a);var c=wa(b,a,!0),d=a.dataTransfer.files;if(c&&!La(b))if(d&&d.length&&window.FileReader&&window.File)for(var e=d.length,f=Array(e),g=0,a=function(a,d){var h=new FileReader;h.onload=function(){f[d]=h.result;++g==e&&(c=r(b.doc,c),va(b.doc,{from:c,
to:c,text:da(f.join("\n")),origin:"paste"},"around"))};h.readAsText(a)},h=0;h<e;++h)a(d[h],h);else if(b.state.draggingText&&!x(c,b.doc.sel.from)&&!x(b.doc.sel.to,c))b.state.draggingText(a),setTimeout(K(G,b),20);else try{if(f=a.dataTransfer.getData("Text")){var h=b.doc.sel.from,i=b.doc.sel.to;Y(b.doc,c,c);b.state.draggingText&&Z(b.doc,"",h,i,"paste");b.replaceSelection(f,null,"paste");G(b);$(b)}}catch(j){}}}function Tc(a,b){var c=a.display;try{var d=b.clientX,e=b.clientY}catch(f){return!1}if(d>=Math.floor(y(c.gutters).right))return!1;
z(b);if(!xa(a,"gutterClick"))return!0;var g=y(c.lineDiv);if(e>g.bottom)return!0;e-=g.top-c.viewOffset;for(g=0;g<a.options.gutters.length;++g){var h=c.gutters.childNodes[g];if(h&&y(h).right>=d){c=cb(a.doc,e);O(a,"gutterClick",a,c,a.options.gutters[g],b);break}}return!0}function Oa(a,b){2>Math.abs(a.doc.scrollTop-b)||(a.doc.scrollTop=b,ya||db(a,[],b),a.display.scroller.scrollTop!=b&&(a.display.scroller.scrollTop=b),a.display.scrollbarV.scrollTop!=b&&(a.display.scrollbarV.scrollTop=b),ya&&db(a,[]))}
function ua(a,b,c){if(!(c?b==a.doc.scrollLeft:2>Math.abs(a.doc.scrollLeft-b)))if(b=Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth),a.doc.scrollLeft=b,Ob(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbarH.scrollLeft!=b)a.display.scrollbarH.scrollLeft=b}function Vc(a,b){var c=b.wheelDeltaX,d=b.wheelDeltaY;null==c&&(b.detail&&b.axis==b.HORIZONTAL_AXIS)&&(c=b.detail);null==d&&b.detail&&b.axis==b.VERTICAL_AXIS?d=b.detail:null==d&&(d=b.wheelDelta);
var e=a.display,f=e.scroller;if(c&&f.scrollWidth>f.clientWidth||d&&f.scrollHeight>f.clientHeight){if(d&&oa&&L)for(var g=b.target;g!=f;g=g.parentNode)if(g.lineObj){a.display.currentWheelTarget=g;break}if(c&&!ya&&!S&&null!=N)d&&Oa(a,Math.max(0,Math.min(f.scrollTop+d*N,f.scrollHeight-f.clientHeight))),ua(a,Math.max(0,Math.min(f.scrollLeft+c*N,f.scrollWidth-f.clientWidth))),z(b),e.wheelStartX=null;else{if(d&&null!=N){var g=d*N,h=a.doc.scrollTop,i=h+e.wrapper.clientHeight;0>g?h=Math.max(0,h+g-50):i=Math.min(a.doc.height,
i+g+50);db(a,[],{top:h,bottom:i})}20>qb&&(null==e.wheelStartX?(e.wheelStartX=f.scrollLeft,e.wheelStartY=f.scrollTop,e.wheelDX=c,e.wheelDY=d,setTimeout(function(){if(e.wheelStartX!=null){var a=f.scrollLeft-e.wheelStartX,b=f.scrollTop-e.wheelStartY,a=b&&e.wheelDY&&b/e.wheelDY||a&&e.wheelDX&&a/e.wheelDX;e.wheelStartX=e.wheelStartY=null;if(a){N=(N*qb+a)/(qb+1);++qb}}},200)):(e.wheelDX+=c,e.wheelDY+=d))}}}function rb(a,b,c){if("string"==typeof b&&(b=ic[b],!b))return!1;a.display.pollingFast&&ec(a)&&(a.display.pollingFast=
!1);var d=a.doc,e=d.sel.shift,f=!1;try{La(a)&&(a.state.suppressEdits=!0),c&&(d.sel.shift=!1),f=b(a)!=Yc}finally{d.sel.shift=e,a.state.suppressEdits=!1}return f}function Zc(a){var b=a.state.keyMaps.slice(0);a.options.extraKeys&&b.push(a.options.extraKeys);b.push(a.options.keyMap);return b}function $c(a,b){var c=jc(a.options.keyMap),d=c.auto;clearTimeout(ad);d&&!bd(b)&&(ad=setTimeout(function(){jc(a.options.keyMap)==c&&(a.options.keyMap=d.call?d.call(null,a):d)},50));var e=cd(b,!0),f=!1;if(!e)return!1;
f=Zc(a);f=b.shiftKey?Pa("Shift-"+e,f,function(b){return rb(a,b,!0)})||Pa(e,f,function(b){if("string"==typeof b&&/^go[A-Z]/.test(b))return rb(a,b)}):Pa(e,f,function(b){return rb(a,b)});"stop"==f&&(f=!1);f&&(z(b),fb(a),J&&(b.oldKeyCode=b.keyCode,b.keyCode=0));return f}function ce(a,b,c){if(c=Pa("'"+c+"'",Zc(a),function(b){return rb(a,b,!0)}))z(b),fb(a);return c}function Wc(a){this.state.focused||$(this);B&&27==a.keyCode&&(a.returnValue=!1);if(!this.options.onKeyEvent||!this.options.onKeyEvent(this,
Ma(a))){var b=a.keyCode;this.doc.sel.shift=16==b||a.shiftKey;var c=$c(this,a);S&&(kc=c?b:null,!c&&(88==b&&!Rc&&(oa?a.metaKey:a.ctrlKey))&&this.replaceSelection(""))}}function Zd(a){var b=this;if(!b.options.onKeyEvent||!b.options.onKeyEvent(b,Ma(a))){var c=a.keyCode,d=a.charCode;if(S&&c==kc)kc=null,z(a);else if(!(S&&(!a.which||10>a.which)||Nb)||!$c(b,a))c=String.fromCharCode(null==d?c:d),this.options.electricChars&&(this.doc.mode.electricChars&&this.options.smartIndent&&!La(this)&&-1<this.doc.mode.electricChars.indexOf(c))&&
setTimeout(p(b,function(){sb(b,b.doc.sel.to.line,"smart")}),75),ce(b,a,c)||(B&&!J&&(b.display.inputHasSelection=null),Ka(b))}}function $(a){"nocursor"!=a.options.readOnly&&(a.state.focused||(D(a,"focus",a),a.state.focused=!0,-1==a.display.wrapper.className.search(/\bCodeMirror-focused\b/)&&(a.display.wrapper.className+=" CodeMirror-focused"),W(a,!0)),nb(a),fb(a))}function Lb(a){a.state.focused&&(D(a,"blur",a),a.state.focused=!1,a.display.wrapper.className=a.display.wrapper.className.replace(" CodeMirror-focused",
""));clearInterval(a.display.blinker);setTimeout(function(){if(!a.state.focused)a.doc.sel.shift=false},150)}function Uc(a,b){function c(){if(null!=e.input.selectionStart){var a=e.input.value=" "+(w(f.from,f.to)?"":e.input.value);e.prevInput=" ";e.input.selectionStart=1;e.input.selectionEnd=a.length}}function d(){e.inputDiv.style.position="relative";e.input.style.cssText=i;J&&(e.scrollbarV.scrollTop=e.scroller.scrollTop=h);nb(a);if(null!=e.input.selectionStart){(!B||J)&&c();clearTimeout(lc);var b=
0,d=function(){e.prevInput==" "&&e.input.selectionStart==0?p(a,ic.selectAll)(a):b++<10?lc=setTimeout(d,500):W(a)};lc=setTimeout(d,200)}}var e=a.display,f=a.doc.sel;if(!ea(e,b)){var g=wa(a,b),h=e.scroller.scrollTop;if(g&&!S){(w(f.from,f.to)||x(g,f.from)||!x(g,f.to))&&p(a,Y)(a.doc,g,g);var i=e.input.style.cssText;e.inputDiv.style.position="absolute";e.input.style.cssText="position: fixed; width: 30px; height: 30px; top: "+(b.clientY-5)+"px; left: "+(b.clientX-5)+"px; z-index: 1000; background: white; outline: none;border-width: 0; outline: none; overflow: hidden; opacity: .05; -ms-opacity: .05; filter: alpha(opacity=5);";
G(a);W(a,!0);w(f.from,f.to)&&(e.input.value=e.prevInput=" ");B&&!J&&c();if(gc){Na(b);var j=function(){T(window,"mouseup",j);setTimeout(d,20)};t(window,"mouseup",j)}else setTimeout(d,50)}}}function mc(a){return!a.text?a.to:o(a.from.line+a.text.length-1,E(a.text).length+(1==a.text.length?a.from.ch:0))}function dd(a,b,c){if(!x(b.from,c))return r(a,c);var d=b.text.length-1-(b.to.line-b.from.line);if(c.line>b.to.line+d)return b=c.line-d,d=a.first+a.size-1,b>d?o(d,q(a,d).text.length):tb(c,q(a,b).text.length);
if(c.line==b.to.line+d)return tb(c,E(b.text).length+(1==b.text.length?b.from.ch:0)+q(a,b.to.line).text.length-b.to.ch);a=c.line-b.from.line;return tb(c,b.text[a].length+(a?0:b.from.ch))}function nc(a,b,c){if(c&&"object"==typeof c)return{anchor:dd(a,b,c.anchor),head:dd(a,b,c.head)};if("start"==c)return{anchor:b.from,head:b.from};var d=mc(b);if("around"==c)return{anchor:b.from,head:d};if("end"==c)return{anchor:d,head:d};c=function(a){if(x(a,b.from))return a;if(!x(b.to,a))return d;var c=a.line+b.text.length-
(b.to.line-b.from.line)-1,g=a.ch;a.line==b.to.line&&(g+=d.ch-b.to.ch);return o(c,g)};return{anchor:c(a.sel.anchor),head:c(a.sel.head)}}function de(a,b){var c={canceled:!1,from:b.from,to:b.to,text:b.text,origin:b.origin,update:function(b,c,f,g){b&&(this.from=r(a,b));c&&(this.to=r(a,c));f&&(this.text=f);void 0!==g&&(this.origin=g)},cancel:function(){this.canceled=!0}};D(a,"beforeChange",a,c);a.cm&&D(a.cm,"beforeChange",a.cm,c);return c.canceled?null:{from:c.from,to:c.to,text:c.text,origin:c.origin}}
function va(a,b,c,d){if(a.cm){if(!a.cm.curOp)return p(a.cm,va)(a,b,c,d);if(a.cm.state.suppressEdits)return}if(xa(a,"beforeChange")||a.cm&&xa(a.cm,"beforeChange"))if(b=de(a,b),!b)return;if(d=ed&&!d&&ee(a,b.from,b.to)){for(var e=d.length-1;1<=e;--e)oc(a,{from:d[e].from,to:d[e].to,text:[""]});d.length&&oc(a,{from:d[0].from,to:d[0].to,text:b.text},c)}else oc(a,b,c)}function oc(a,b,c){c=nc(a,b,c);fd(a,b,c,a.cm?a.cm.curOp.id:NaN);Qa(a,b,c,pc(a,b));var d=[];za(a,function(a,c){!c&&-1==U(d,a.history)&&(gd(a.history,
b),d.push(a.history));Qa(a,b,null,pc(a,b))})}function hd(a,b){if(!a.cm||!a.cm.state.suppressEdits){var c=a.history,d=("undo"==b?c.done:c.undone).pop();if(d){c.dirtyCounter+="undo"==b?-1:1;var e={changes:[],anchorBefore:d.anchorAfter,headBefore:d.headAfter,anchorAfter:d.anchorBefore,headAfter:d.headBefore};("undo"==b?c.undone:c.done).push(e);for(c=d.changes.length-1;0<=c;--c){var f=d.changes[c];f.origin=b;e.changes.push(qc(a,f));var g=c?nc(a,f,null):{anchor:d.anchorBefore,head:d.headBefore};Qa(a,f,
g,id(a,f));var h=[];za(a,function(a,b){!b&&-1==U(h,a.history)&&(gd(a.history,f),h.push(a.history));Qa(a,f,null,id(a,f))})}}}}function jd(a,b){function c(a){return o(a.line+b,a.ch)}a.first+=b;a.cm&&u(a.cm,a.first,a.first,b);a.sel.head=c(a.sel.head);a.sel.anchor=c(a.sel.anchor);a.sel.from=c(a.sel.from);a.sel.to=c(a.sel.to)}function Qa(a,b,c,d){if(a.cm&&!a.cm.curOp)return p(a.cm,Qa)(a,b,c,d);if(b.to.line<a.first)jd(a,b.text.length-1-(b.to.line-b.from.line));else if(!(b.from.line>a.lastLine())){if(b.from.line<
a.first){var e=b.text.length-1-(a.first-b.from.line);jd(a,e);b={from:o(a.first,0),to:o(b.to.line+e,b.to.ch),text:[E(b.text)],origin:b.origin}}e=a.lastLine();b.to.line>e&&(b={from:b.from,to:o(e,q(a,e).text.length),text:[b.text[0]],origin:b.origin});b.removed=rc(a,b.from,b.to);c||(c=nc(a,b,null));a.cm?fe(a.cm,b,d,c):sc(a,b,d,c)}}function fe(a,b,c,d){var e=a.doc,f=a.display,g=b.from,h=b.to,i=!1,j=g.line;a.options.lineWrapping||(j=H(ma(e,q(e,g.line))),e.iter(j,h.line+1,function(a){if(a==f.maxLine)return i=
!0}));!x(e.sel.head,b.from)&&!x(b.to,e.sel.head)&&(a.curOp.cursorActivity=!0);sc(e,b,c,d,Ec(a));a.options.lineWrapping||(e.iter(j,g.line+b.text.length,function(a){var b=bb(e,a);if(b>f.maxLineLength){f.maxLine=a;f.maxLineLength=b;f.maxLineChanged=true;i=false}}),i&&(a.curOp.updateMaxLine=!0));e.frontier=Math.min(e.frontier,g.line);$a(a,400);u(a,g.line,h.line+1,b.text.length-(h.line-g.line)-1);if(xa(a,"change"))if(b={from:g,to:h,text:b.text,removed:b.removed,origin:b.origin},a.curOp.textChanged){for(a=
a.curOp.textChanged;a.next;a=a.next);a.next=b}else a.curOp.textChanged=b}function Z(a,b,c,d,e){d||(d=c);if(x(d,c))var f=d,d=c,c=f;"string"==typeof b&&(b=da(b));va(a,{from:c,to:d,text:b,origin:e},null)}function o(a,b){if(!(this instanceof o))return new o(a,b);this.line=a;this.ch=b}function w(a,b){return a.line==b.line&&a.ch==b.ch}function x(a,b){return a.line<b.line||a.line==b.line&&a.ch<b.ch}function fa(a){return o(a.line,a.ch)}function r(a,b){if(b.line<a.first)return o(a.first,0);var c=a.first+a.size-
1;return b.line>c?o(c,q(a,c).text.length):tb(b,q(a,b.line).text.length)}function tb(a,b){var c=a.ch;return null==c||c>b?o(a.line,b):0>c?o(a.line,0):a}function Aa(a,b){return b>=a.first&&b<a.first+a.size}function A(a,b,c,d){if(a.sel.shift||a.sel.extend){var e=a.sel.anchor;if(c){var f=x(b,e);f!=x(c,e)?(e=b,b=c):f!=x(b,c)&&(b=c)}Y(a,e,b,d)}else Y(a,b,c||b,d);a.cm&&(a.cm.curOp.userSelChange=!0)}function Y(a,b,c,d,e){if(!e&&xa(a,"beforeSelectionChange")||a.cm&&xa(a.cm,"beforeSelectionChange"))b={anchor:b,
head:c},D(a,"beforeSelectionChange",a,b),a.cm&&D(a.cm,"beforeSelectionChange",a.cm,b),b.anchor=r(a,b.anchor),b.head=r(a,b.head),c=b.head,b=b.anchor;var f=a.sel;f.goalColumn=null;if(e||!w(b,f.anchor))b=ub(a,b,d,"push"!=e);if(e||!w(c,f.head))c=ub(a,c,d,"push"!=e);if(!w(f.anchor,b)||!w(f.head,c))f.anchor=b,f.head=c,d=x(c,b),f.from=d?c:b,f.to=d?b:c,a.cm&&(a.cm.curOp.updateInput=a.cm.curOp.selectionChanged=a.cm.curOp.cursorActivity=!0),O(a,"cursorActivity",a)}function kd(a){Y(a.doc,a.doc.sel.from,a.doc.sel.to,
null,"push")}function ub(a,b,c,d){var e=!1,f=b,g=c||1;a.cantEdit=!1;a:for(;;){var h=q(a,f.line);if(h.markedSpans)for(var i=0;i<h.markedSpans.length;++i){var j=h.markedSpans[i],k=j.marker;if((null==j.from||(k.inclusiveLeft?j.from<=f.ch:j.from<f.ch))&&(null==j.to||(k.inclusiveRight?j.to>=f.ch:j.to>f.ch))){if(d&&(D(k,"beforeCursorEnter"),k.explicitlyCleared))if(h.markedSpans){--i;continue}else break;if(k.atomic){i=k.find()[0>g?"from":"to"];if(w(i,f)&&(i.ch+=g,0>i.ch?i=i.line>a.first?r(a,o(i.line-1)):
null:i.ch>h.text.length&&(i=i.line<a.first+a.size-1?o(i.line+1,0):null),!i)){if(e){if(!d)return ub(a,b,c,!0);a.cantEdit=!0;return o(a.first,0)}e=!0;i=b;g=-g}f=i;continue a}}}return f}}function Qc(a,b,c){for(null==c&&(c=0);;){var d=!1,e=P(a,b),f=mb(a,e.left,e.top-c,e.left,e.bottom+c),g=a.doc.scrollTop,h=a.doc.scrollLeft;null!=f.scrollTop&&(Oa(a,f.scrollTop),1<Math.abs(a.doc.scrollTop-g)&&(d=!0));null!=f.scrollLeft&&(ua(a,f.scrollLeft),1<Math.abs(a.doc.scrollLeft-h)&&(d=!0));if(!d)return e}}function mb(a,
b,c,d,e){var f=a.display,g=f.lineSpace.offsetTop,c=c+g,e=e+g;0>c&&(c=0);var h=f.scroller.clientHeight-ja,i=f.scroller.scrollTop,j={},a=a.doc.height+(f.mover.offsetHeight-f.lineSpace.offsetHeight),k=c<g+10,g=e+g>a-10;c<i?j.scrollTop=k?0:c:e>i+h&&(c=Math.min(c,(g?a:e)-h),c!=i&&(j.scrollTop=c));i=f.scroller.clientWidth-ja;c=f.scroller.scrollLeft;b+=f.gutters.offsetWidth;d+=f.gutters.offsetWidth;f=f.gutters.offsetWidth;e=b<f+10;b<c+f||e?(e&&(b=0),j.scrollLeft=Math.max(0,b-10-f)):d>i+c-3&&(j.scrollLeft=
d+10-i);return j}function vb(a,b,c){a.curOp.updateScrollPos={scrollLeft:null==b?a.doc.scrollLeft:b,scrollTop:null==c?a.doc.scrollTop:c}}function ld(a,b,c){var d=a.curOp.updateScrollPos||(a.curOp.updateScrollPos={scrollLeft:a.doc.scrollLeft,scrollTop:a.doc.scrollTop}),a=a.display.scroller;d.scrollTop=Math.max(0,Math.min(a.scrollHeight-a.clientHeight,d.scrollTop+c));d.scrollLeft=Math.max(0,Math.min(a.scrollWidth-a.clientWidth,d.scrollLeft+b))}function sb(a,b,c,d){var e=a.doc;c||(c="add");if("smart"==
c)if(a.doc.mode.indent)var f=Ia(a,b);else c="prev";var g=a.options.tabSize,h=q(e,b),i=qa(h.text,null,g),j=h.text.match(/^\s*/)[0],k;if("smart"==c&&(k=a.doc.mode.indent(f,h.text.slice(j.length),h.text),k==Yc)){if(!d)return;c="prev"}"prev"==c?k=b>e.first?qa(q(e,b-1).text,null,g):0:"add"==c?k=i+a.options.indentUnit:"subtract"==c&&(k=i-a.options.indentUnit);k=Math.max(0,k);c="";d=0;if(a.options.indentWithTabs)for(e=Math.floor(k/g);e;--e)d+=g,c+="\t";d<k&&(c+=md(k-d));c!=j&&Z(a.doc,c,o(b,0),o(b,j.length),
"+input");h.stateAfter=null}function wb(a,b,c){var d=b,e=b,f=a.doc;"number"==typeof b?e=q(f,Math.max(f.first,Math.min(b,f.first+f.size-1))):d=H(b);if(null!=d&&c(e,d))u(a,d,d+1);else return null;return e}function tc(a,b,c,d,e){function f(b){var d=(e?bc:nd)(i,h,c,!0);if(null==d){if(b=!b)b=g+c,b<a.first||b>=a.first+a.size?b=j=!1:(g=b,b=i=q(a,b));if(b)h=e?(0>c?jb:ib)(i):0>c?i.text.length:0;else return j=!1}else h=d;return!0}var g=b.line,h=b.ch,b=c,i=q(a,g),j=!0;if("char"==d)f();else if("column"==d)f(!0);
else if("word"==d||"group"==d)for(var k=null,d="group"==d,m=!0;!(0>c)||f(!m);m=!1){var s=i.text.charAt(h)||"\n",s=xb(s)?"w":!d?null:/\s/.test(s)?null:"p";if(k&&k!=s){0>c&&(c=1,f());break}s&&(k=s);if(0<c&&!f(!m))break}b=ub(a,o(g,h),b,!0);j||(b.hitSide=!0);return b}function od(a,b,c,d){var e=a.doc,f=b.left,g;"page"==d?(d=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),g=b.top+c*(d-(0>c?1.5:0.5)*Da(a.display))):"line"==d&&(g=0<c?b.bottom+3:b.top-3);
for(;;){var h=ac(a,f,g);if(!h.outside)break;if(0>c?0>=g:g>=e.height){h.hitSide=!0;break}g+=5*c}return h}function fc(a,b){var c=b.ch,d=b.ch;if(a){!1===b.after||d==a.length?--c:++d;for(var e=a.charAt(c),e=xb(e)?xb:/\s/.test(e)?function(a){return/\s/.test(a)}:function(a){return!/\s/.test(a)&&!xb(a)};0<c&&e(a.charAt(c-1));)--c;for(;d<a.length&&e(a.charAt(d));)++d}return{from:o(b.line,c),to:o(b.line,d)}}function ae(a,b){A(a.doc,o(b,0),r(a.doc,o(b+1,0)))}function v(a,b,c,d){l.defaults[a]=b;c&&(ia[a]=d?
function(a,b,d){d!=Dc&&c(a,b,d)}:c)}function pa(a,b){if(!0===b)return b;if(a.copyState)return a.copyState(b);var c={},d;for(d in b){var e=b[d];e instanceof Array&&(e=e.concat([]));c[d]=e}return c}function Nc(a,b,c){return a.startState?a.startState(b,c):!0}function jc(a){return"string"==typeof a?V[a]:a}function Pa(a,b,c){function d(b){var b=jc(b),e=b[a];if(!1===e)return"stop";if(null!=e&&c(e))return!0;if(b.nofallthrough)return"stop";b=b.fallthrough;if(null==b)return!1;if("[object Array]"!=Object.prototype.toString.call(b))return d(b);
for(var e=0,f=b.length;e<f;++e){var j=d(b[e]);if(j)return j}return!1}for(var e=0;e<b.length;++e){var f=d(b[e]);if(f)return f}}function bd(a){a=ga[a.keyCode];return"Ctrl"==a||"Alt"==a||"Shift"==a||"Mod"==a}function cd(a,b){if(S&&34==a.keyCode&&a["char"])return!1;var c=ga[a.keyCode];if(null==c||a.altGraphKey)return!1;a.altKey&&(c="Alt-"+c);if(pd?a.metaKey:a.ctrlKey)c="Ctrl-"+c;if(pd?a.ctrlKey:a.metaKey)c="Cmd-"+c;!b&&a.shiftKey&&(c="Shift-"+c);return c}function Ra(a,b){this.pos=this.start=0;this.string=
a;this.tabSize=b||8;this.lastColumnPos=this.lastColumnValue=0}function ha(a,b){this.lines=[];this.type=b;this.doc=a}function Sa(a,b,c,d,e){if(d&&d.shared)return ge(a,b,c,d,e);if(a.cm&&!a.cm.curOp)return p(a.cm,Sa)(a,b,c,d,e);var f=new ha(a,e);if("range"==e&&!x(b,c))return f;d&&yb(d,f);f.replacedWith&&(f.collapsed=!0,f.replacedWith=n("span",[f.replacedWith],"CodeMirror-widget"));f.collapsed&&(Ha=!0);f.addToHistory&&fd(a,{from:b,to:c,origin:"markText"},{head:a.sel.head,anchor:a.sel.anchor},NaN);var g=
b.line,h=0,i,j,k=a.cm,m;a.iter(g,c.line+1,function(d){k&&(f.collapsed&&!k.options.lineWrapping&&ma(a,d)==k.display.maxLine)&&(m=true);var e={from:null,to:null,marker:f};h=h+d.text.length;if(g==b.line){e.from=b.ch;h=h-b.ch}if(g==c.line){e.to=c.ch;h=h-(d.text.length-c.ch)}if(f.collapsed){g==c.line&&(j=ba(d,c.ch));g==b.line?i=ba(d,b.ch):M(d,0)}d.markedSpans=d.markedSpans?d.markedSpans.concat([e]):[e];e.marker.attachLine(d);++g});f.collapsed&&a.iter(b.line,c.line+1,function(b){aa(a,b)&&M(b,0)});f.clearOnEnter&&
t(f,"beforeCursorEnter",function(){f.clear()});f.readOnly&&(ed=!0,(a.history.done.length||a.history.undone.length)&&a.clearHistory());if(f.collapsed){if(i!=j)throw Error("Inserting collapsed marker overlapping an existing one");f.size=h;f.atomic=!0}k&&(m&&(k.curOp.updateMaxLine=!0),(f.className||f.startStyle||f.endStyle||f.collapsed)&&u(k,b.line,c.line+1),f.atomic&&kd(k));return f}function zb(a,b){this.markers=a;this.primary=b;for(var c=0,d=this;c<a.length;++c)a[c].parent=this,t(a[c],"clear",function(){d.clear()})}
function ge(a,b,c,d,e){d=yb(d);d.shared=!1;var f=[Sa(a,b,c,d,e)],g=f[0],h=d.replacedWith;za(a,function(a){h&&(d.replacedWith=h.cloneNode(!0));f.push(Sa(a,r(a,b),r(a,c),d,e));for(var j=0;j<a.linked.length;++j)if(a.linked[j].isParent)return;g=E(f)});return new zb(f,g)}function Ta(a,b){if(a)for(var c=0;c<a.length;++c){var d=a[c];if(d.marker==b)return d}}function pc(a,b){var c=Aa(a,b.from.line)&&q(a,b.from.line).markedSpans,d=Aa(a,b.to.line)&&q(a,b.to.line).markedSpans;if(!c&&!d)return null;var e=b.from.ch,
f=b.to.ch,g=w(b.from,b.to);if(c)for(var h=0,i;h<c.length;++h){var j=c[h],k=j.marker;if(null==j.from||(k.inclusiveLeft?j.from<=e:j.from<e)||"bookmark"==k.type&&j.from==e&&(!g||!j.marker.insertLeft)){var m=null==j.to||(k.inclusiveRight?j.to>=e:j.to>e);(i||(i=[])).push({from:j.from,to:m?null:j.to,marker:k})}}c=i;if(d)for(var h=0,s;h<d.length;++h)if(i=d[h],j=i.marker,null==i.to||(j.inclusiveRight?i.to>=f:i.to>f)||"bookmark"==j.type&&i.from==f&&(!g||i.marker.insertLeft))k=null==i.from||(j.inclusiveLeft?
i.from<=f:i.from<f),(s||(s=[])).push({from:k?null:i.from-f,to:null==i.to?null:i.to-f,marker:j});d=s;g=1==b.text.length;s=E(b.text).length+(g?e:0);if(c)for(f=0;f<c.length;++f)h=c[f],null==h.to&&((i=Ta(d,h.marker))?g&&(h.to=null==i.to?null:i.to+s):h.to=e);if(d)for(f=0;f<d.length;++f)(h=d[f],null!=h.to&&(h.to+=s),null==h.from)?(i=Ta(c,h.marker),i||(h.from=s,g&&(c||(c=[])).push(h))):(h.from+=s,g&&(c||(c=[])).push(h));e=[c];if(!g){var g=b.text.length-2,l;if(0<g&&c)for(f=0;f<c.length;++f)null==c[f].to&&
(l||(l=[])).push({from:null,to:null,marker:c[f].marker});for(f=0;f<g;++f)e.push(l);e.push(d)}return e}function id(a,b){var c;if(c=b["spans_"+a.id]){for(var d=0,e=[];d<b.text.length;++d)e.push(he(c[d]));c=e}else c=null;d=pc(a,b);if(!c)return d;if(!d)return c;for(e=0;e<c.length;++e){var f=c[e],g=d[e];if(f&&g){var h=0;a:for(;h<g.length;++h){for(var i=g[h],j=0;j<f.length;++j)if(f[j].marker==i.marker)continue a;f.push(i)}}else g&&(c[e]=g)}return c}function ee(a,b,c){var d=null;a.iter(b.line,c.line+1,function(a){if(a.markedSpans)for(var b=
0;b<a.markedSpans.length;++b){var c=a.markedSpans[b].marker;if(c.readOnly&&(!d||-1==U(d,c)))(d||(d=[])).push(c)}});if(!d)return null;a=[{from:b,to:c}];for(b=0;b<d.length;++b)for(var c=d[b],e=c.find(),f=0;f<a.length;++f){var g=a[f];if(!x(g.to,e.from)&&!x(e.to,g.from)){var h=[f,1];(x(g.from,e.from)||!c.inclusiveLeft&&w(g.from,e.from))&&h.push({from:g.from,to:e.from});(x(e.to,g.to)||!c.inclusiveRight&&w(g.to,e.to))&&h.push({from:e.to,to:g.to});a.splice.apply(a,h);f+=h.length-1}}return a}function ba(a,
b){var c=Ha&&a.markedSpans,d;if(c)for(var e,f=0;f<c.length;++f)if(e=c[f],e.marker.collapsed&&(null==e.from||e.from<b)&&(null==e.to||e.to>b)&&(!d||d.width<e.marker.width))d=e.marker;return d}function Fa(a){return ba(a,a.text.length+1)}function ma(a,b){for(var c;c=ba(b,-1);)b=q(a,c.find().from.line);return b}function aa(a,b){var c=Ha&&b.markedSpans;if(c)for(var d,e=0;e<c.length;++e)if(d=c[e],d.marker.collapsed&&(null==d.from||0==d.from&&d.marker.inclusiveLeft&&uc(a,b,d)))return!0}function uc(a,b,c){if(null==
c.to)return b=c.marker.find().to,b=q(a,b.line),uc(a,b,Ta(b.markedSpans,c.marker));if(c.marker.inclusiveRight&&c.to==b.text.length)return!0;for(var d,e=0;e<b.markedSpans.length;++e)if(d=b.markedSpans[e],d.marker.collapsed&&d.from==c.to&&(d.marker.inclusiveLeft||c.marker.inclusiveRight)&&uc(a,b,d))return!0}function qd(a){var b=a.markedSpans;if(b){for(var c=0;c<b.length;++c)b[c].marker.detachLine(a);a.markedSpans=null}}function rd(a,b){if(b){for(var c=0;c<b.length;++c)b[c].marker.attachLine(a);a.markedSpans=
b}}function sd(a){return function(){var b=!this.cm.curOp;b&&sa(this.cm);try{var c=a.apply(this,arguments)}finally{b&&ta(this.cm)}return c}}function gb(a){if(null!=a.height)return a.height;(!a.node.parentNode||1!=a.node.parentNode.nodeType)&&R(a.cm.display.measure,n("div",[a.node],null,"position: relative"));return a.height=a.node.offsetHeight}function ie(a,b,c,d){var e=new vc(a,c,d);e.noHScroll&&(a.display.alignWidgets=!0);wb(a,b,function(b){(b.widgets||(b.widgets=[])).push(e);e.line=b;if(!aa(a.doc,
b)||e.showIfHidden){var c=na(a,b)<a.display.scroller.scrollTop;M(b,b.height+gb(e));c&&ld(a,0,e.height)}return true});return e}function Ua(a,b,c){a={text:a};rd(a,b);a.height=c?c(a):1;return a}function td(a,b,c,d,e){var f=c.flattenSpans;null==f&&(f=a.options.flattenSpans);var g="",h=null,i=new Ra(b,a.options.tabSize),j;for(""==b&&c.blankLine&&c.blankLine(d);!i.eol();){i.pos>a.options.maxHighlightLength?(f=!1,i.pos=Math.min(b.length,i.start+5E4),j=null):j=c.token(i,d);var k=i.current();i.start=i.pos;
!f||h!=j?(g&&e(g,h),g=k,h=j):g+=k}g&&e(g,h)}function Lc(a,b,c){var d=[a.state.modeGen];td(a,b.text,a.doc.mode,c,function(a,b){d.push(a,b)});for(c=0;c<a.state.overlays.length;++c){var e=a.state.overlays[c],f=1;td(a,b.text,e.mode,!0,function(a,b){for(var c=f,j=a.length;j;){var k=d[f],m=k.length;if(m<=j)j=j-m;else{d.splice(f,1,k.slice(0,j),d[f+1],k.slice(j));j=0}f=f+2}if(b)if(e.opaque){d.splice(c,f-c,a,b);f=c+2}else for(;c<f;c=c+2){k=d[c+1];d[c+1]=k?k+" "+b:b}})}return d}function Mc(a,b,c){var d=a.doc.mode,
e=new Ra(b.text,a.options.tabSize);for(""==b.text&&d.blankLine&&d.blankLine(c);!e.eol()&&e.pos<=a.options.maxHighlightLength;)d.token(e,c),e.start=e.pos}function ud(a){return!a?null:vd[a]||(vd[a]="cm-"+a.replace(/ +/g," cm-"))}function Vb(a,b,c){for(var d,e=b,f,g,h=!0;d=ba(e,-1);)h=!1,e=q(a.doc,d.find().from.line),f||(f=e);d={pre:n("pre"),col:0,pos:0,display:!c,measure:null,addedOne:!1,cm:a};e.textClass&&(d.pre.className=e.textClass);do{d.measure=e==b&&c;d.pos=0;d.addToken=d.measure?je:wd;if((B||
L)&&a.getOption("lineWrapping"))d.addToken=ke(d.addToken);c&&(g&&e!=b&&!d.addedOne)&&(c[0]=d.pre.appendChild(lb(a.display.measure)),d.addedOne=!0);var i=e;g=d;var j=e;if(!j.styles||j.styles[0]!=a.state.modeGen)j.styles=Lc(a,j,j.stateAfter=Ia(a,H(j)));a:{var k=i,j=j.styles;if(i=k.markedSpans)for(var k=k.text.length,m=0,s=1,l="",o=void 0,p=0,r=void 0,t=void 0,v=void 0,u=void 0;;){if(p==m){for(var r=t=v="",u=null,p=Infinity,w=null,y=0;y<i.length;++y){var x=i[y],z=x.marker;if(x.from<=m&&(null==x.to||
x.to>m)){if(null!=x.to&&p>x.to&&(p=x.to,t=""),z.className&&(r+=" "+z.className),z.startStyle&&x.from==m&&(v+=" "+z.startStyle),z.endStyle&&x.to==p&&(t+=" "+z.endStyle),z.collapsed&&(!u||u.marker.width<z.width))u=x}else x.from>m&&p>x.from&&(p=x.from);"bookmark"==z.type&&(x.from==m&&z.replacedWith)&&(w=z.replacedWith)}if(u&&(u.from||0)==m)if(xd(g,(null==u.to?k:u.to)-m,null!=u.from&&u.marker.replacedWith),null==u.to){j=u.marker.find();break a}w&&!u&&xd(g,0,w)}if(m>=k)break;for(w=Math.min(k,p);;){if(l){y=
m+l.length;u||(x=y>w?l.slice(0,w-m):l,g.addToken(g,x,o?o+r:r,v,m+x.length==p?t:""));if(y>=w){l=l.slice(w-m);m=w;break}m=y;v=""}l=j[s++];o=ud(j[s++])}}else for(var s=1;s<j.length;s+=2)g.addToken(g,j[s],ud(j[s+1]));j=void 0}g=e==f;j&&(e=q(a.doc,j.to.line),h=!1)}while(j);c&&!d.addedOne&&(c[0]=d.pre.appendChild(h?n("span"," "):lb(a.display.measure)));!d.pre.firstChild&&!aa(a.doc,b)&&d.pre.appendChild(document.createTextNode(" "));var A;if(c&&B&&(A=Q(e)))if(f=A.length-1,A[f].from==A[f].to&&--f,e=A[f],
A=A[f-1],e.from+1==e.to&&(A&&e.level<A.level)&&(c=c[d.pos-1]))c.parentNode.insertBefore(c.measureRight=lb(a.display.measure),c.nextSibling);D(a,"renderLine",a,b,d.pre);return d.pre}function wd(a,b,c,d,e){if(b){if(wc.test(b))for(var f=document.createDocumentFragment(),g=0;;){wc.lastIndex=g;var h=wc.exec(b),i=h?h.index-g:b.length-g;i&&(f.appendChild(document.createTextNode(b.slice(g,g+i))),a.col+=i);if(!h)break;g+=i+1;"\t"==h[0]?(h=a.cm.options.tabSize,h-=a.col%h,f.appendChild(n("span",md(h),"cm-tab")),
a.col+=h):(i=n("span","•","cm-invalidchar"),i.title="\\u"+h[0].charCodeAt(0).toString(16),f.appendChild(i),a.col+=1)}else{a.col+=b.length;var f=document.createTextNode(b)}if(c||d||e||a.measure)return b=c||"",d&&(b+=d),e&&(b+=e),a.pre.appendChild(n("span",[f],b));a.pre.appendChild(f)}}function je(a,b,c,d,e){for(var f=a.cm.options.lineWrapping,g=0;g<b.length;++g){var h=b.charAt(g),i=0==g;"\ud800"<=h&&"\udbff">h&&g<b.length-1?(h=b.slice(g,g+2),++g):g&&(f&&Ab(b,g))&&a.pre.appendChild(n("wbr"));i=a.measure[a.pos]=
wd(a,h,c,i&&d,g==b.length-1&&e);B&&(f&&" "==h&&g&&!/\s/.test(b.charAt(g-1))&&g<b.length-1&&!/\s/.test(b.charAt(g+1)))&&(i.style.whiteSpace="normal");a.pos+=h.length}b.length&&(a.addedOne=!0)}function ke(a){function b(a){for(var b=" ",e=0;e<a.length-2;++e)b+=e%2?" ":" ";return b+" "}return function(c,d,e,f,g){return a(c,d.replace(/ {3,}/,b),e,f,g)}}function xd(a,b,c){c&&(a.display||(c=c.cloneNode(!0)),a.pre.appendChild(c),a.measure&&b&&(a.measure[a.pos]=c,a.addedOne=!0));a.pos+=b}function sc(a,b,c,
d,e){function f(a){return c?c[a]:null}function g(a,c,d){var f=e;a.text=c;a.stateAfter&&(a.stateAfter=null);a.styles&&(a.styles=null);null!=a.order&&(a.order=null);qd(a);rd(a,d);c=f?f(a):1;c!=a.height&&M(a,c);O(a,"change",a,b)}var h=b.from,i=b.to,j=b.text,k=q(a,h.line),m=q(a,i.line),s=E(j),l=f(j.length-1),o=i.line-h.line;if(0==h.ch&&0==i.ch&&""==s){for(var n=0,p=j.length-1,r=[];n<p;++n)r.push(Ua(j[n],f(n),e));g(m,m.text,l);o&&a.remove(h.line,o);r.length&&a.insert(h.line,r)}else if(k==m)if(1==j.length)g(k,
k.text.slice(0,h.ch)+s+k.text.slice(i.ch),l);else{r=[];n=1;for(p=j.length-1;n<p;++n)r.push(Ua(j[n],f(n),e));r.push(Ua(s+k.text.slice(i.ch),l,e));g(k,k.text.slice(0,h.ch)+j[0],f(0));a.insert(h.line+1,r)}else if(1==j.length)g(k,k.text.slice(0,h.ch)+j[0]+m.text.slice(i.ch),f(0)),a.remove(h.line+1,o);else{g(k,k.text.slice(0,h.ch)+j[0],f(0));g(m,s+m.text.slice(i.ch),l);n=1;p=j.length-1;for(r=[];n<p;++n)r.push(Ua(j[n],f(n),e));1<o&&a.remove(h.line+1,o-1);a.insert(h.line+1,r)}O(a,"change",a,b);Y(a,d.anchor,
d.head,null,!0)}function Bb(a){this.lines=a;this.parent=null;for(var b=0,c=a.length,d=0;b<c;++b)a[b].parent=this,d+=a[b].height;this.height=d}function Va(a){this.children=a;for(var b=0,c=0,d=0,e=a.length;d<e;++d){var f=a[d],b=b+f.chunkSize(),c=c+f.height;f.parent=this}this.size=b;this.height=c;this.parent=null}function za(a,b,c){function d(a,f,g){if(a.linked)for(var h=0;h<a.linked.length;++h){var i=a.linked[h];if(i.doc!=f){var j=g&&i.sharedHist;if(!c||j)b(i.doc,j),d(i.doc,a,j)}}}d(a,null,!0)}function Cc(a,
b){if(b.cm)throw Error("This document is already in use.");a.doc=b;b.cm=a;Gc(a);Ca(a);a.options.lineWrapping||Pb(a);a.options.mode=b.modeOption;u(a)}function q(a,b){for(b-=a.first;!a.lines;)for(var c=0;;++c){var d=a.children[c],e=d.chunkSize();if(b<e){a=d;break}b-=e}return a.lines[b]}function rc(a,b,c){var d=[],e=b.line;a.iter(b.line,c.line+1,function(a){a=a.text;e==c.line&&(a=a.slice(0,c.ch));e==b.line&&(a=a.slice(b.ch));d.push(a);++e});return d}function xc(a,b,c){var d=[];a.iter(b,c,function(a){d.push(a.text)});
return d}function M(a,b){for(var c=b-a.height,d=a;d;d=d.parent)d.height+=c}function H(a){if(null==a.parent)return null;for(var b=a.parent,a=U(b.lines,a),c=b.parent;c;b=c,c=c.parent)for(var d=0;c.children[d]!=b;++d)a+=c.children[d].chunkSize();return a+b.first}function cb(a,b){var c=a.first;a:do{for(var d=0,e=a.children.length;d<e;++d){var f=a.children[d],g=f.height;if(b<g){a=f;continue a}b-=g;c+=f.chunkSize()}return c}while(!a.lines);d=0;for(e=a.lines.length;d<e;++d){f=a.lines[d].height;if(b<f)break;
b-=f}return c+d}function na(a,b){for(var b=ma(a.doc,b),c=0,d=b.parent,e=0;e<d.lines.length;++e){var f=d.lines[e];if(f==b)break;else c+=f.height}for(f=d.parent;f;d=f,f=d.parent)for(e=0;e<f.children.length;++e){var g=f.children[e];if(g==d)break;else c+=g.height}return c}function Q(a){var b=a.order;null==b&&(b=a.order=le(a.text));return b}function Cb(){return{done:[],undone:[],undoDepth:Infinity,lastTime:0,lastOp:null,lastOrigin:null,dirtyCounter:0}}function yd(a,b,c,d){var e=b["spans_"+a.id],f=0;a.iter(Math.max(a.first,
c),Math.min(a.first+a.size,d),function(c){c.markedSpans&&((e||(e=b["spans_"+a.id]={}))[f]=c.markedSpans);++f})}function qc(a,b){var c={from:b.from,to:mc(b),text:rc(a,b.from,b.to)};yd(a,c,b.from.line,b.to.line+1);za(a,function(a){yd(a,c,b.from.line,b.to.line+1)},!0);return c}function fd(a,b,c,d){var e=a.history;e.undone.length=0;var f=+new Date,g=E(e.done);if(g&&(e.lastOp==d||e.lastOrigin==b.origin&&b.origin&&("+"==b.origin.charAt(0)&&a.cm&&e.lastTime>f-a.cm.options.historyEventDelay||"*"==b.origin.charAt(0)))){var h=
E(g.changes);w(b.from,b.to)&&w(b.from,h.to)?h.to=mc(b):g.changes.push(qc(a,b));g.anchorAfter=c.anchor;g.headAfter=c.head}else{g={changes:[qc(a,b)],anchorBefore:a.sel.anchor,headBefore:a.sel.head,anchorAfter:c.anchor,headAfter:c.head};for(e.done.push(g);e.done.length>e.undoDepth;)e.done.shift();0>e.dirtyCounter?e.dirtyCounter=NaN:e.dirtyCounter++}e.lastTime=f;e.lastOp=d;e.lastOrigin=b.origin}function he(a){if(!a)return null;for(var b=0,c;b<a.length;++b)a[b].marker.explicitlyCleared?c||(c=a.slice(0,
b)):c&&c.push(a[b]);return!c?a:c.length?c:null}function Db(a,b){for(var c=0,d=[];c<a.length;++c){var e=a[c],f=e.changes,g=[];d.push({changes:g,anchorBefore:e.anchorBefore,headBefore:e.headBefore,anchorAfter:e.anchorAfter,headAfter:e.headAfter});for(e=0;e<f.length;++e){var h=f[e],i;g.push({from:h.from,to:h.to,text:h.text});if(b)for(var j in h)if((i=j.match(/^spans_(\d+)$/))&&-1<U(b,Number(i[1])))E(g)[j]=h[j],delete h[j]}}return d}function Eb(a,b,c,d){c<a.line?a.line+=d:b<a.line&&(a.line=b,a.ch=0)}
function zd(a,b,c,d){for(var e=0;e<a.length;++e){for(var f=a[e],g=!0,h=0;h<f.changes.length;++h){var i=f.changes[h];f.copied||(i.from=fa(i.from),i.to=fa(i.to));if(c<i.from.line)i.from.line+=d,i.to.line+=d;else if(b<=i.to.line){g=!1;break}}f.copied||(f.anchorBefore=fa(f.anchorBefore),f.headBefore=fa(f.headBefore),f.anchorAfter=fa(f.anchorAfter),f.readAfter=fa(f.headAfter),f.copied=!0);g?(Eb(f.anchorBefore),Eb(f.headBefore),Eb(f.anchorAfter),Eb(f.headAfter)):(a.splice(0,e+1),e=0)}}function gd(a,b){var c=
b.from.line,d=b.to.line,e=b.text.length-(d-c)-1;zd(a.done,c,d,e);zd(a.undone,c,d,e)}function me(){Na(this)}function Ma(a){a.stop||(a.stop=me);return a}function z(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Ad(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Na(a){z(a);Ad(a)}function Xc(a){var b=a.which;null==b&&(a.button&1?b=1:a.button&2?b=3:a.button&4&&(b=2));oa&&(a.ctrlKey&&1==b)&&(b=3);return b}function t(a,b,c){a.addEventListener?a.addEventListener(b,c,
!1):a.attachEvent?a.attachEvent("on"+b,c):(a=a._handlers||(a._handlers={}),(a[b]||(a[b]=[])).push(c))}function T(a,b,c){if(a.removeEventListener)a.removeEventListener(b,c,!1);else if(a.detachEvent)a.detachEvent("on"+b,c);else if(a=a._handlers&&a._handlers[b])for(b=0;b<a.length;++b)if(a[b]==c){a.splice(b,1);break}}function D(a,b){var c=a._handlers&&a._handlers[b];if(c)for(var d=Array.prototype.slice.call(arguments,2),e=0;e<c.length;++e)c[e].apply(null,d)}function O(a,b){function c(a){return function(){a.apply(null,
e)}}var d=a._handlers&&a._handlers[b];if(d){var e=Array.prototype.slice.call(arguments,2);X||(++kb,X=[],setTimeout(ne,0));for(var f=0;f<d.length;++f)X.push(c(d[f]))}}function ne(){--kb;var a=X;X=null;for(var b=0;b<a.length;++b)a[b]()}function xa(a,b){var c=a._handlers&&a._handlers[b];return c&&0<c.length}function Kb(){this.id=null}function qa(a,b,c,d,e){null==b&&(b=a.search(/[^\s\u00a0]/),-1==b&&(b=a.length));d=d||0;for(e=e||0;d<b;++d)"\t"==a.charAt(d)?e+=c-e%c:++e;return e}function md(a){for(;Fb.length<=
a;)Fb.push(E(Fb)+" ");return Fb[a]}function E(a){return a[a.length-1]}function Sc(a){Ba?(a.selectionStart=0,a.selectionEnd=a.value.length):a.select()}function U(a,b){if(a.indexOf)return a.indexOf(b);for(var c=0,d=a.length;c<d;++c)if(a[c]==b)return c;return-1}function Bd(a,b){function c(){}c.prototype=a;var d=new c;b&&yb(b,d);return d}function yb(a,b){b||(b={});for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b}function Oc(a){for(var b=[],c=0;c<a;++c)b.push(void 0);return b}function K(a){var b=
Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,b)}}function xb(a){return/\w/.test(a)||"€"<a&&(a.toUpperCase()!=a.toLowerCase()||oe.test(a))}function Cd(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}function n(a,b,c,d){a=document.createElement(a);c&&(a.className=c);d&&(a.style.cssText=d);if("string"==typeof b)Ic(a,b);else if(b)for(c=0;c<b.length;++c)a.appendChild(b[c]);return a}function ab(a){for(var b=a.childNodes.length;0<b;--b)a.removeChild(a.firstChild);
return a}function R(a,b){return ab(a).appendChild(b)}function Ic(a,b){J?(a.innerHTML="",a.appendChild(document.createTextNode(b))):a.textContent=b}function y(a){return a.getBoundingClientRect()}function Ab(){return!1}function Ga(a){if(null!=Gb)return Gb;var b=n("div",null,null,"width: 50px; height: 50px; overflow-x: scroll");R(a,b);b.offsetWidth&&(Gb=b.offsetHeight-b.clientHeight);return Gb||0}function lb(a){if(null==yc){var b=n("span","");R(a,n("span",[b,document.createTextNode("x")]));0!=a.firstChild.offsetHeight&&
(yc=1>=b.offsetWidth&&2<b.offsetHeight&&!ka)}return yc?n("span",""):n("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px")}function Qd(a,b,c,d){if(!a)return d(b,c,"ltr");for(var e=0;e<a.length;++e){var f=a[e];if(f.from<c&&f.to>b||b==c&&f.to==b)d(Math.max(f.from,b),Math.min(f.to,c),1==f.level?"rtl":"ltr")}}function Zb(a){return a.level%2?a.from:a.to}function ib(a){return(a=Q(a))?a[0].level%2?a[0].to:a[0].from:0}function jb(a){var b=Q(a);return!b?a.text.length:Zb(E(b))}function Dd(a,
b){var c=q(a.doc,b),d=ma(a.doc,c);d!=c&&(b=H(d));c=Q(d);d=!c?0:c[0].level%2?jb(d):ib(d);return o(b,d)}function pe(a,b){for(var c,d;c=Fa(d=q(a.doc,b));)b=c.find().to.line;c=Q(d);d=!c?d.text.length:c[0].level%2?ib(d):jb(d);return o(b,d)}function $b(a,b){for(var c=0,d;c<a.length;++c){var e=a[c];if(e.from<b&&e.to>b)return ra=null,c;if(e.from==b||e.to==b)if(null==d)d=c;else{var e=e.level,f=a[d].level,g=a[0].level,e=e==g?!0:f==g?!1:e<f;if(e)return ra=d,c;ra=c;return d}}ra=null;return d}function zc(a,b,
c,d){if(!d)return b+c;do b+=c;while(0<b&&cc.test(a.text.charAt(b)));return b}function bc(a,b,c,d){var e=Q(a);if(!e)return nd(a,b,c,d);for(var f=$b(e,b),g=e[f],b=zc(a,b,g.level%2?-c:c,d);;){if(b>g.from&&b<g.to)return b;if(b==g.from||b==g.to){if($b(e,b)==f)return b;g=e[f+c];return 0<c==g.level%2?g.to:g.from}g=e[f+=c];if(!g)return null;b=0<c==g.level%2?zc(a,g.to,-1,d):zc(a,g.from,1,d)}}function nd(a,b,c,d){b+=c;if(d)for(;0<b&&cc.test(a.text.charAt(b));)b+=c;return 0>b||b>a.text.length?null:b}var ya=
/gecko\/\d/i.test(navigator.userAgent),B=/MSIE \d/.test(navigator.userAgent),ka=B&&(null==document.documentMode||8>document.documentMode),J=B&&(null==document.documentMode||9>document.documentMode),L=/WebKit\//.test(navigator.userAgent),qe=L&&/Qt\/\d+\.\d+/.test(navigator.userAgent),re=/Chrome\//.test(navigator.userAgent),S=/Opera\//.test(navigator.userAgent),hc=/Apple Computer/.test(navigator.vendor),Nb=/KHTML\//.test(navigator.userAgent),Hd=/Mac OS X 1\d\D([7-9]|\d\d)\D/.test(navigator.userAgent),
Id=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(navigator.userAgent),Wd=/PhantomJS/.test(navigator.userAgent),Ba=/AppleWebKit/.test(navigator.userAgent)&&/Mobile\/\w+/.test(navigator.userAgent),Jb=Ba||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent),oa=Ba||/Mac/.test(navigator.platform),se=/windows/i.test(navigator.platform),Wa=S&&navigator.userAgent.match(/Version\/(\d*\.\d*)/);Wa&&(Wa=Number(Wa[1]));var pd=oa&&(qe||S&&(null==Wa||12.11>Wa)),gc=ya||B&&!J,ed=!1,Ha=!1,ca,
Vd=0,pb,ob,qb=0,N=null;B?N=-0.53:ya?N=15:re?N=-0.7:hc&&(N=-1/3);var ad,kc=null,lc;l.Pos=o;l.prototype={constructor:l,focus:function(){window.focus();G(this);$(this);Ka(this)},setOption:function(a,b){var c=this.options,d=c[a];c[a]==b&&"mode"!=a||(c[a]=b,ia.hasOwnProperty(a)&&p(this,ia[a])(this,b,d))},getOption:function(a){return this.options[a]},getDoc:function(){return this.doc},addKeyMap:function(a,b){this.state.keyMaps[b?"push":"unshift"](a)},removeKeyMap:function(a){for(var b=this.state.keyMaps,
c=0;c<b.length;++c)if(("string"==typeof a?b[c].name:b[c])==a)return b.splice(c,1),!0},addOverlay:p(null,function(a,b){var c=a.token?a:l.getMode(this.options,a);if(c.startState)throw Error("Overlays may not be stateful.");this.state.overlays.push({mode:c,modeSpec:a,opaque:b&&b.opaque});this.state.modeGen++;u(this)}),removeOverlay:p(null,function(a){for(var b=this.state.overlays,c=0;c<b.length;++c)if(b[c].modeSpec==a){b.splice(c,1);this.state.modeGen++;u(this);break}}),indentLine:p(null,function(a,
b,c){"string"!=typeof b&&(b=null==b?this.options.smartIndent?"smart":"prev":b?"add":"subtract");Aa(this.doc,a)&&sb(this,a,b,c)}),indentSelection:p(null,function(a){var b=this.doc.sel;if(w(b.from,b.to))return sb(this,b.from.line,a);for(var c=b.to.line-(b.to.ch?0:1),b=b.from.line;b<=c;++b)sb(this,b,a)}),getTokenAt:function(a){for(var b=this.doc,a=r(b,a),c=Ia(this,a.line),d=this.doc.mode,b=q(b,a.line),b=new Ra(b.text,this.options.tabSize);b.pos<a.ch&&!b.eol();){b.start=b.pos;var e=d.token(b,c)}return{start:b.start,
end:b.pos,string:b.current(),className:e||null,type:e||null,state:c}},getStateAfter:function(a){var b=this.doc,a=Math.max(b.first,Math.min(null==a?b.first+b.size-1:a,b.first+b.size-1));return Ia(this,a+1)},cursorCoords:function(a,b){var c;c=this.doc.sel;c=null==a?c.head:"object"==typeof a?r(this.doc,a):a?c.from:c.to;return P(this,c,b||"page")},charCoords:function(a,b){return eb(this,r(this.doc,a),b||"page")},coordsChar:function(a,b){var c=b||"page";if("div"!=c){var d=a.left,e=a.top;"page"==c&&(d-=
window.pageXOffset||(document.documentElement||document.body).scrollLeft,e-=window.pageYOffset||(document.documentElement||document.body).scrollTop);var f=y(this.display.lineSpace),d=d-f.left,e=e-f.top;if("local"==c||!c)c=y(this.display.wrapper),d+=c.left,e+=c.top;a={left:d,top:e}}return ac(this,a.left,a.top)},defaultTextHeight:function(){return Da(this.display)},defaultCharWidth:function(){return Fc(this.display)},setGutterMarker:p(null,function(a,b,c){return wb(this,a,function(a){var e=a.gutterMarkers||
(a.gutterMarkers={});e[b]=c;!c&&Cd(e)&&(a.gutterMarkers=null);return!0})}),clearGutter:p(null,function(a){var b=this,c=b.doc,d=c.first;c.iter(function(c){c.gutterMarkers&&c.gutterMarkers[a]&&(c.gutterMarkers[a]=null,u(b,d,d+1),Cd(c.gutterMarkers)&&(c.gutterMarkers=null));++d})}),addLineClass:p(null,function(a,b,c){return wb(this,a,function(a){var e="text"==b?"textClass":"background"==b?"bgClass":"wrapClass";if(a[e]){if(RegExp("\\b"+c+"\\b").test(a[e]))return!1;a[e]+=" "+c}else a[e]=c;return!0})}),
removeLineClass:p(null,function(a,b,c){return wb(this,a,function(a){var e="text"==b?"textClass":"background"==b?"bgClass":"wrapClass",f=a[e];if(f)if(null==c)a[e]=null;else{var g=f.replace(RegExp("^"+c+"\\b\\s*|\\s*\\b"+c+"\\b"),"");if(g==f)return!1;a[e]=g||null}else return!1;return!0})}),addLineWidget:p(null,function(a,b,c){return ie(this,a,b,c)}),removeLineWidget:function(a){a.clear()},lineInfo:function(a){if("number"==typeof a){if(!Aa(this.doc,a))return null;var b=a,a=q(this.doc,a);if(!a)return null}else if(b=
H(a),null==b)return null;return{line:b,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},getViewport:function(){return{from:this.display.showingFrom,to:this.display.showingTo}},addWidget:function(a,b,c,d,e){var f=this.display,a=P(this,r(this.doc,a)),g=a.bottom,h=a.left;b.style.position="absolute";f.sizer.appendChild(b);if("over"==d)g=a.top;else if("above"==d||"near"==d){var i=Math.max(f.wrapper.clientHeight,this.doc.height),
j=Math.max(f.sizer.clientWidth,f.lineSpace.clientWidth);("above"==d||a.bottom+b.offsetHeight>i)&&a.top>b.offsetHeight?g=a.top-b.offsetHeight:a.bottom+b.offsetHeight<=i&&(g=a.bottom);h+b.offsetWidth>j&&(h=j-b.offsetWidth)}b.style.top=g+f.lineSpace.offsetTop+"px";b.style.left=b.style.right="";"right"==e?(h=f.sizer.clientWidth-b.offsetWidth,b.style.right="0px"):("left"==e?h=0:"middle"==e&&(h=(f.sizer.clientWidth-b.offsetWidth)/2),b.style.left=h+"px");c&&(a=mb(this,h,g,h+b.offsetWidth,g+b.offsetHeight),
null!=a.scrollTop&&Oa(this,a.scrollTop),null!=a.scrollLeft&&ua(this,a.scrollLeft))},triggerOnKeyDown:p(null,Wc),execCommand:function(a){return ic[a](this)},findPosH:function(a,b,c,d){var e=1;0>b&&(e=-1,b=-b);for(var f=0,a=r(this.doc,a);f<b&&!(a=tc(this.doc,a,e,c,d),a.hitSide);++f);return a},moveH:p(null,function(a,b){var c=this.doc.sel,c=c.shift||c.extend||w(c.from,c.to)?tc(this.doc,c.head,a,b,this.options.rtlMoveVisually):0>a?c.from:c.to;A(this.doc,c,c,a)}),deleteH:p(null,function(a,b){var c=this.doc.sel;
w(c.from,c.to)?Z(this.doc,"",c.from,tc(this.doc,c.head,a,b,!1),"+delete"):Z(this.doc,"",c.from,c.to,"+delete");this.curOp.userSelChange=!0}),findPosV:function(a,b,c,d){var e=1;0>b&&(e=-1,b=-b);for(var f=0,a=r(this.doc,a);f<b&&!(a=P(this,a,"div"),null==d?d=a.left:a.left=d,a=od(this,a,e,c),a.hitSide);++f);return a},moveV:p(null,function(a,b){var c=this.doc.sel,d=P(this,c.head,"div");null!=c.goalColumn&&(d.left=c.goalColumn);var e=od(this,d,a,b);"page"==b&&ld(this,0,eb(this,e,"div").top-d.top);A(this.doc,
e,e,a);c.goalColumn=d.left}),toggleOverwrite:function(a){null!=a&&a==this.state.overwrite||(this.display.cursor.className=(this.state.overwrite=!this.state.overwrite)?this.display.cursor.className+" CodeMirror-overwrite":this.display.cursor.className.replace(" CodeMirror-overwrite",""))},hasFocus:function(){return this.state.focused},scrollTo:p(null,function(a,b){vb(this,a,b)}),getScrollInfo:function(){var a=this.display.scroller,b=ja;return{left:a.scrollLeft,top:a.scrollTop,height:a.scrollHeight-
b,width:a.scrollWidth-b,clientHeight:a.clientHeight-b,clientWidth:a.clientWidth-b}},scrollIntoView:p(null,function(a,b){"number"==typeof a&&(a=o(a,0));b||(b=0);var c=a;if(!a||null!=a.line)this.curOp.scrollToPos=a?r(this.doc,a):this.doc.sel.head,this.curOp.scrollToPosMargin=b,c=P(this,this.curOp.scrollToPos);c=mb(this,c.left,c.top-b,c.right,c.bottom+b);vb(this,c.scrollLeft,c.scrollTop)}),setSize:function(a,b){function c(a){return"number"==typeof a||/^\d+$/.test(""+a)?a+"px":a}null!=a&&(this.display.wrapper.style.width=
c(a));null!=b&&(this.display.wrapper.style.height=c(b));this.refresh()},on:function(a,b){t(this,a,b)},off:function(a,b){T(this,a,b)},operation:function(a){return dc(this,a)},refresh:p(null,function(){la(this);vb(this,this.doc.scrollLeft,this.doc.scrollTop);u(this)}),swapDoc:p(null,function(a){var b=this.doc;b.cm=null;Cc(this,a);la(this);W(this,!0);vb(this,a.scrollLeft,a.scrollTop);return b}),getInputField:function(){return this.display.input},getWrapperElement:function(){return this.display.wrapper},
getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}};var ia=l.optionHandlers={},Hb=l.defaults={},Dc=l.Init={toString:function(){return"CodeMirror.Init"}};v("value","",function(a,b){a.setValue(b)},!0);v("mode",null,function(a,b){a.doc.modeOption=b;Ca(a)},!0);v("indentUnit",2,Ca,!0);v("indentWithTabs",!1);v("smartIndent",!0);v("tabSize",4,function(a){Ca(a);la(a);u(a)},!0);v("electricChars",!0);v("rtlMoveVisually",!se);v("theme","default",
function(a){Bc(a);Ea(a)},!0);v("keyMap","default",function(a){var b=V[a.options.keyMap].style;a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-keymap-\S+/g,"")+(b?" cm-keymap-"+b:"")});v("extraKeys",null);v("onKeyEvent",null);v("onDragEvent",null);v("lineWrapping",!1,function(a){if(a.options.lineWrapping){a.display.wrapper.className=a.display.wrapper.className+" CodeMirror-wrap";a.display.sizer.style.minWidth=""}else{a.display.wrapper.className=a.display.wrapper.className.replace(" CodeMirror-wrap",
"");Pb(a)}Gc(a);u(a);la(a);setTimeout(function(){Qb(a)},100)},!0);v("gutters",[],function(a){Ib(a.options);Ea(a)},!0);v("fixedGutter",!0,function(a,b){a.display.gutters.style.left=b?Sb(a.display)+"px":"0";a.refresh()},!0);v("coverGutterNextToScrollbar",!1,Qb,!0);v("lineNumbers",!1,function(a){Ib(a.options);Ea(a)},!0);v("firstLineNumber",1,Ea,!0);v("lineNumberFormatter",function(a){return a},Ea,!0);v("showCursorWhenSelecting",!1,Tb,!0);v("readOnly",!1,function(a,b){if(b=="nocursor"){Lb(a);a.display.input.blur()}else b||
W(a,true)});v("dragDrop",!0);v("cursorBlinkRate",530);v("cursorScrollMargin",0);v("cursorHeight",1);v("workTime",100);v("workDelay",100);v("flattenSpans",!0);v("pollInterval",100);v("undoDepth",40,function(a,b){a.doc.history.undoDepth=b});v("historyEventDelay",500);v("viewportMargin",10,function(a){a.refresh()},!0);v("maxHighlightLength",1E4,function(a){Ca(a);a.refresh()},!0);v("moveInputWithCursor",!0,function(a,b){if(!b)a.display.inputDiv.style.top=a.display.inputDiv.style.left=0});v("tabindex",
null,function(a,b){a.display.input.tabIndex=b||""});v("autofocus",null);var Ed=l.modes={},Xa=l.mimeModes={};l.defineMode=function(a,b){!l.defaults.mode&&"null"!=a&&(l.defaults.mode=a);if(2<arguments.length){b.dependencies=[];for(var c=2;c<arguments.length;++c)b.dependencies.push(arguments[c])}Ed[a]=b};l.defineMIME=function(a,b){Xa[a]=b};l.resolveMode=function(a){if("string"==typeof a&&Xa.hasOwnProperty(a))a=Xa[a];else if(a&&"string"==typeof a.name&&Xa.hasOwnProperty(a.name)){var b=Xa[a.name],a=Bd(b,
a);a.name=b.name}else if("string"==typeof a&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return l.resolveMode("application/xml");return"string"==typeof a?{name:a}:a||{name:"null"}};l.getMode=function(a,b){var b=l.resolveMode(b),c=Ed[b.name];if(!c)return l.getMode(a,"text/plain");c=c(a,b);if(Ya.hasOwnProperty(b.name)){var d=Ya[b.name],e;for(e in d)d.hasOwnProperty(e)&&(c.hasOwnProperty(e)&&(c["_"+e]=c[e]),c[e]=d[e])}c.name=b.name;return c};l.defineMode("null",function(){return{token:function(a){a.skipToEnd()}}});
l.defineMIME("text/plain","null");var Ya=l.modeExtensions={};l.extendMode=function(a,b){var c=Ya.hasOwnProperty(a)?Ya[a]:Ya[a]={};yb(b,c)};l.defineExtension=function(a,b){l.prototype[a]=b};l.defineDocExtension=function(a,b){F.prototype[a]=b};l.defineOption=v;var Mb=[];l.defineInitHook=function(a){Mb.push(a)};l.copyState=pa;l.startState=Nc;l.innerMode=function(a,b){for(;a.innerMode;)var c=a.innerMode(b),b=c.state,a=c.mode;return c||{mode:a,state:b}};var ic=l.commands={selectAll:function(a){a.setSelection(o(a.firstLine(),
0),o(a.lastLine()))},killLine:function(a){var b=a.getCursor(!0),c=a.getCursor(!1),d=!w(b,c);!d&&a.getLine(b.line).length==b.ch?a.replaceRange("",b,o(b.line+1,0),"+delete"):a.replaceRange("",b,d?c:o(b.line),"+delete")},deleteLine:function(a){var b=a.getCursor().line;a.replaceRange("",o(b,0),o(b),"+delete")},undo:function(a){a.undo()},redo:function(a){a.redo()},goDocStart:function(a){a.extendSelection(o(a.firstLine(),0))},goDocEnd:function(a){a.extendSelection(o(a.lastLine()))},goLineStart:function(a){a.extendSelection(Dd(a,
a.getCursor().line))},goLineStartSmart:function(a){var b=a.getCursor(),c=Dd(a,b.line),d=a.getLineHandle(c.line),e=Q(d);!e||0==e[0].level?(d=Math.max(0,d.text.search(/\S/)),a.extendSelection(o(c.line,b.line==c.line&&b.ch<=d&&b.ch?0:d))):a.extendSelection(c)},goLineEnd:function(a){a.extendSelection(pe(a,a.getCursor().line))},goLineRight:function(a){var b=a.charCoords(a.getCursor(),"div").top+5;a.extendSelection(a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:b},"div"))},goLineLeft:function(a){var b=
a.charCoords(a.getCursor(),"div").top+5;a.extendSelection(a.coordsChar({left:0,top:b},"div"))},goLineUp:function(a){a.moveV(-1,"line")},goLineDown:function(a){a.moveV(1,"line")},goPageUp:function(a){a.moveV(-1,"page")},goPageDown:function(a){a.moveV(1,"page")},goCharLeft:function(a){a.moveH(-1,"char")},goCharRight:function(a){a.moveH(1,"char")},goColumnLeft:function(a){a.moveH(-1,"column")},goColumnRight:function(a){a.moveH(1,"column")},goWordLeft:function(a){a.moveH(-1,"word")},goGroupRight:function(a){a.moveH(1,
"group")},goGroupLeft:function(a){a.moveH(-1,"group")},goWordRight:function(a){a.moveH(1,"word")},delCharBefore:function(a){a.deleteH(-1,"char")},delCharAfter:function(a){a.deleteH(1,"char")},delWordBefore:function(a){a.deleteH(-1,"word")},delWordAfter:function(a){a.deleteH(1,"word")},delGroupBefore:function(a){a.deleteH(-1,"group")},delGroupAfter:function(a){a.deleteH(1,"group")},indentAuto:function(a){a.indentSelection("smart")},indentMore:function(a){a.indentSelection("add")},indentLess:function(a){a.indentSelection("subtract")},
insertTab:function(a){a.replaceSelection("\t","end","+input")},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.replaceSelection("\t","end","+input")},transposeChars:function(a){var b=a.getCursor(),c=a.getLine(b.line);0<b.ch&&b.ch<c.length-1&&a.replaceRange(c.charAt(b.ch)+c.charAt(b.ch-1),o(b.line,b.ch-1),o(b.line,b.ch+1))},newlineAndIndent:function(a){p(a,function(){a.replaceSelection("\n","end","+input");a.indentLine(a.getCursor().line,null,!0)})()},toggleOverwrite:function(a){a.toggleOverwrite()}},
V=l.keyMap={};V.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite"};V.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Alt-Up":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Down":"goDocEnd",
"Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore",fallthrough:"basic"};V.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd",
"Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineStart","Cmd-Right":"goLineEnd","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore",fallthrough:["basic","emacsy"]};V["default"]=oa?V.macDefault:V.pcDefault;V.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft",
"Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars"};l.lookupKey=Pa;l.isModifierKey=bd;l.keyName=cd;l.fromTextArea=function(a,b){function c(){a.value=j.getValue()}b||(b={});b.value=a.value;!b.tabindex&&a.tabindex&&(b.tabindex=
a.tabindex);!b.placeholder&&a.placeholder&&(b.placeholder=a.placeholder);if(null==b.autofocus){var d=document.body;try{d=document.activeElement}catch(e){}b.autofocus=d==a||null!=a.getAttribute("autofocus")&&d==document.body}if(a.form&&(t(a.form,"submit",c),!b.leaveSubmitMethodAlone)){var f=a.form,g=f.submit;try{var h=f.submit=function(){c();f.submit=g;f.submit();f.submit=h}}catch(i){}}a.style.display="none";var j=l(function(b){a.parentNode.insertBefore(b,a.nextSibling)},b);j.save=c;j.getTextArea=
function(){return a};j.toTextArea=function(){c();a.parentNode.removeChild(j.getWrapperElement());a.style.display="";if(a.form){T(a.form,"submit",c);if(typeof a.form.submit=="function")a.form.submit=g}};return j};Ra.prototype={eol:function(){return this.pos>=this.string.length},sol:function(){return 0==this.pos},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},eat:function(a){var b=this.string.charAt(this.pos);
if("string"==typeof a?b==a:b&&(a.test?a.test(b):a(b)))return++this.pos,b},eatWhile:function(a){for(var b=this.pos;this.eat(a););return this.pos>b},eatSpace:function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},skipToEnd:function(){this.pos=this.string.length},skipTo:function(a){a=this.string.indexOf(a,this.pos);if(-1<a)return this.pos=a,!0},backUp:function(a){this.pos-=a},column:function(){this.lastColumnPos<this.start&&(this.lastColumnValue=
qa(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start);return this.lastColumnValue},indentation:function(){return qa(this.string,null,this.tabSize)},match:function(a,b,c){if("string"==typeof a){var d=this.string.substr(this.pos,a.length);if((c?d.toLowerCase():d)==(c?a.toLowerCase():a))return!1!==b&&(this.pos+=a.length),!0}else{if((a=this.string.slice(this.pos).match(a))&&0<a.index)return null;a&&!1!==b&&(this.pos+=a[0].length);return a}},current:function(){return this.string.slice(this.start,
this.pos)}};l.StringStream=Ra;l.TextMarker=ha;ha.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,b=a&&!a.curOp;b&&sa(a);for(var c=null,d=null,e=0;e<this.lines.length;++e){var f=this.lines[e],g=Ta(f.markedSpans,this);null!=g.to&&(d=H(f));for(var h=f,i=f.markedSpans,j=g,k=void 0,m=0;m<i.length;++m)i[m]!=j&&(k||(k=[])).push(i[m]);h.markedSpans=k;null!=g.from?c=H(f):this.collapsed&&(!aa(this.doc,f)&&a)&&M(f,Da(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(e=0;e<
this.lines.length;++e)f=ma(a.doc,this.lines[e]),g=bb(a.doc,f),g>a.display.maxLineLength&&(a.display.maxLine=f,a.display.maxLineLength=g,a.display.maxLineChanged=!0);null!=c&&a&&u(a,c,d+1);this.lines.length=0;this.explicitlyCleared=!0;this.collapsed&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&kd(a));b&&ta(a);O(this,"clear")}};ha.prototype.find=function(){for(var a,b,c=0;c<this.lines.length;++c){var d=this.lines[c],e=Ta(d.markedSpans,this);if(null!=e.from||null!=e.to)d=H(d),null!=e.from&&(a=o(d,e.from)),
null!=e.to&&(b=o(d,e.to))}return"bookmark"==this.type?a:a&&{from:a,to:b}};ha.prototype.changed=function(){var a=this.find(),b=this.doc.cm;if(a&&b){var c=q(this.doc,a.from.line);Td(b,c);if(a.from.line>=b.display.showingFrom&&a.from.line<b.display.showingTo){for(a=b.display.lineDiv.firstChild;a;a=a.nextSibling)if(a.lineObj==c){a.offsetHeight!=c.height&&M(c,a.offsetHeight);break}dc(b,function(){b.curOp.selectionChanged=!0})}}};ha.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var b=
this.doc.cm.curOp;if(!b.maybeHiddenMarkers||-1==U(b.maybeHiddenMarkers,this))(b.maybeUnhiddenMarkers||(b.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)};ha.prototype.detachLine=function(a){this.lines.splice(U(this.lines,a),1);!this.lines.length&&this.doc.cm&&(a=this.doc.cm.curOp,(a.maybeHiddenMarkers||(a.maybeHiddenMarkers=[])).push(this))};l.SharedTextMarker=zb;zb.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();
O(this,"clear")}};zb.prototype.find=function(){return this.primary.find()};var vc=l.LineWidget=function(a,b,c){for(var d in c)c.hasOwnProperty(d)&&(this[d]=c[d]);this.cm=a;this.node=b};vc.prototype.clear=sd(function(){var a=this.line.widgets,b=H(this.line);if(null!=b&&a){for(var c=0;c<a.length;++c)a[c]==this&&a.splice(c--,1);a.length||(this.line.widgets=null);M(this.line,Math.max(0,this.line.height-gb(this)));u(this.cm,b,b+1)}});vc.prototype.changed=sd(function(){var a=this.height;this.height=null;
if(a=gb(this)-a)M(this.line,this.line.height+a),a=H(this.line),u(this.cm,a,a+1)});var vd={},wc=/[\t\u0000-\u0019\u00ad\u200b\u2028\u2029\uFEFF]/g;Bb.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,b){for(var c=a,d=a+b;c<d;++c){var e=this.lines[c];this.height-=e.height;var f=e;f.parent=null;qd(f);O(e,"delete")}this.lines.splice(a,b)},collapse:function(a){a.splice.apply(a,[a.length,0].concat(this.lines))},insertInner:function(a,b,c){this.height+=c;this.lines=this.lines.slice(0,
a).concat(b).concat(this.lines.slice(a));a=0;for(c=b.length;a<c;++a)b[a].parent=this},iterN:function(a,b,c){for(b=a+b;a<b;++a)if(c(this.lines[a]))return!0}};Va.prototype={chunkSize:function(){return this.size},removeInner:function(a,b){this.size-=b;for(var c=0;c<this.children.length;++c){var d=this.children[c],e=d.chunkSize();if(a<e){var f=Math.min(b,e-a),g=d.height;d.removeInner(a,f);this.height-=g-d.height;e==f&&(this.children.splice(c--,1),d.parent=null);if(0==(b-=f))break;a=0}else a-=e}25>this.size-
b&&(c=[],this.collapse(c),this.children=[new Bb(c)],this.children[0].parent=this)},collapse:function(a){for(var b=0,c=this.children.length;b<c;++b)this.children[b].collapse(a)},insertInner:function(a,b,c){this.size+=b.length;this.height+=c;for(var d=0,e=this.children.length;d<e;++d){var f=this.children[d],g=f.chunkSize();if(a<=g){f.insertInner(a,b,c);if(f.lines&&50<f.lines.length){for(;50<f.lines.length;)a=f.lines.splice(f.lines.length-25,25),a=new Bb(a),f.height-=a.height,this.children.splice(d+
1,0,a),a.parent=this;this.maybeSpill()}break}a-=g}},maybeSpill:function(){if(!(10>=this.children.length)){var a=this;do{var b=a.children.splice(a.children.length-5,5),b=new Va(b);if(a.parent){a.size-=b.size;a.height-=b.height;var c=U(a.parent.children,a);a.parent.children.splice(c+1,0,b)}else c=new Va(a.children),c.parent=a,a.children=[c,b],a=c;b.parent=a.parent}while(10<a.children.length);a.parent.maybeSpill()}},iterN:function(a,b,c){for(var d=0,e=this.children.length;d<e;++d){var f=this.children[d],
g=f.chunkSize();if(a<g){g=Math.min(b,g-a);if(f.iterN(a,g,c))return!0;if(0==(b-=g))break;a=0}else a-=g}}};var te=0,F=l.Doc=function(a,b,c){if(!(this instanceof F))return new F(a,b,c);null==c&&(c=0);Va.call(this,[new Bb([Ua("",null)])]);this.first=c;this.scrollTop=this.scrollLeft=0;this.cantEdit=!1;this.history=Cb();this.frontier=c;c=o(c,0);this.sel={from:c,to:c,head:c,anchor:c,shift:!1,extend:!1,goalColumn:null};this.id=++te;this.modeOption=b;"string"==typeof a&&(a=da(a));sc(this,{from:c,to:c,text:a},
null,{head:c,anchor:c})};F.prototype=Bd(Va.prototype,{constructor:F,iter:function(a,b,c){c?this.iterN(a-this.first,b-a,c):this.iterN(this.first,this.first+this.size,a)},insert:function(a,b){for(var c=0,d=0,e=b.length;d<e;++d)c+=b[d].height;this.insertInner(a-this.first,b,c)},remove:function(a,b){this.removeInner(a-this.first,b)},getValue:function(a){var b=xc(this,this.first,this.first+this.size);return!1===a?b:b.join(a||"\n")},setValue:function(a){var b=o(this.first,0),c=this.first+this.size-1;va(this,
{from:b,to:o(c,q(this,c).text.length),text:da(a),origin:"setValue"},{head:b,anchor:b},!0)},replaceRange:function(a,b,c,d){b=r(this,b);c=c?r(this,c):b;Z(this,a,b,c,d)},getRange:function(a,b,c){a=rc(this,r(this,a),r(this,b));return!1===c?a:a.join(c||"\n")},getLine:function(a){return(a=this.getLineHandle(a))&&a.text},setLine:function(a,b){Aa(this,a)&&Z(this,b,o(a,0),r(this,o(a)))},removeLine:function(a){a?Z(this,"",r(this,o(a-1)),r(this,o(a))):Z(this,"",o(0,0),r(this,o(1,0)))},getLineHandle:function(a){if(Aa(this,
a))return q(this,a)},getLineNumber:function(a){return H(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return r(this,a)},getCursor:function(a){var b=this.sel;return fa(null==a||"head"==a?b.head:"anchor"==a?b.anchor:"end"==a||!1===a?b.to:b.from)},somethingSelected:function(){return!w(this.sel.head,this.sel.anchor)},setCursor:Ja(function(a,b,c){a=r(this,"number"==typeof a?o(a,b||0):a);c?A(this,
a):Y(this,a,a)}),setSelection:Ja(function(a,b){Y(this,r(this,a),r(this,b||a))}),extendSelection:Ja(function(a,b){A(this,r(this,a),b&&r(this,b))}),getSelection:function(a){return this.getRange(this.sel.from,this.sel.to,a)},replaceSelection:function(a,b,c){va(this,{from:this.sel.from,to:this.sel.to,text:da(a),origin:c},b||"around")},undo:Ja(function(){hd(this,"undo")}),redo:Ja(function(){hd(this,"redo")}),setExtending:function(a){this.sel.extend=a},historySize:function(){var a=this.history;return{undo:a.done.length,
redo:a.undone.length}},clearHistory:function(){this.history=Cb()},markClean:function(){this.history.dirtyCounter=0;this.history.lastOp=this.history.lastOrigin=null},isClean:function(){return 0==this.history.dirtyCounter},getHistory:function(){return{done:Db(this.history.done),undone:Db(this.history.undone)}},setHistory:function(a){var b=this.history=Cb();b.done=a.done.slice(0);b.undone=a.undone.slice(0)},markText:function(a,b,c){return Sa(this,r(this,a),r(this,b),c,"range")},setBookmark:function(a,
b){var c={replacedWith:b&&(null==b.nodeType?b.widget:b),insertLeft:b&&b.insertLeft},a=r(this,a);return Sa(this,a,a,c,"bookmark")},findMarksAt:function(a){var a=r(this,a),b=[],c=q(this,a.line).markedSpans;if(c)for(var d=0;d<c.length;++d){var e=c[d];if((null==e.from||e.from<=a.ch)&&(null==e.to||e.to>=a.ch))b.push(e.marker.parent||e.marker)}return b},getAllMarks:function(){var a=[];this.iter(function(b){if(b=b.markedSpans)for(var c=0;c<b.length;++c)null!=b[c].from&&a.push(b[c].marker)});return a},posFromIndex:function(a){var b,
c=this.first;this.iter(function(d){d=d.text.length+1;if(d>a)return b=a,!0;a-=d;++c});return r(this,o(c,b))},indexFromPos:function(a){var a=r(this,a),b=a.ch;if(a.line<this.first||0>a.ch)return 0;this.iter(this.first,a.line,function(a){b+=a.text.length+1});return b},copy:function(a){var b=new F(xc(this,this.first,this.first+this.size),this.modeOption,this.first);b.scrollTop=this.scrollTop;b.scrollLeft=this.scrollLeft;b.sel={from:this.sel.from,to:this.sel.to,head:this.sel.head,anchor:this.sel.anchor,
shift:this.sel.shift,extend:!1,goalColumn:this.sel.goalColumn};a&&(b.history.undoDepth=this.history.undoDepth,b.setHistory(this.getHistory()));return b},linkedDoc:function(a){a||(a={});var b=this.first,c=this.first+this.size;null!=a.from&&a.from>b&&(b=a.from);null!=a.to&&a.to<c&&(c=a.to);b=new F(xc(this,b,c),a.mode||this.modeOption,b);a.sharedHist&&(b.history=this.history);(this.linked||(this.linked=[])).push({doc:b,sharedHist:a.sharedHist});b.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}];
return b},unlinkDoc:function(a){a instanceof l&&(a=a.doc);if(this.linked)for(var b=0;b<this.linked.length;++b)if(this.linked[b].doc==a){this.linked.splice(b,1);a.unlinkDoc(this);break}if(a.history==this.history){var c=[a.id];za(a,function(a){c.push(a.id)},!0);a.history=Cb();a.history.done=Db(this.history.done,c);a.history.undone=Db(this.history.undone,c)}},iterLinkedDocs:function(a){za(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm}});F.prototype.eachLine=F.prototype.iter;
var ue=["iter","insert","remove","copy","getEditor"],Za;for(Za in F.prototype)F.prototype.hasOwnProperty(Za)&&0>U(ue,Za)&&(l.prototype[Za]=function(a){return function(){return a.apply(this.doc,arguments)}}(F.prototype[Za]));l.e_stop=Na;l.e_preventDefault=z;l.e_stopPropagation=Ad;var X,kb=0;l.on=t;l.off=T;l.signal=D;var ja=30,Yc=l.Pass={toString:function(){return"CodeMirror.Pass"}};Kb.prototype={set:function(a,b){clearTimeout(this.id);this.id=setTimeout(b,a)}};l.countColumn=qa;var Fb=[""],oe=/[\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,
cc=/[\u0300-\u036F\u0483-\u0487\u0488-\u0489\u0591-\u05BD\u05BF\u05C1-\u05C2\u05C4-\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7-\u06E8\u06EA-\u06ED\uA66F\uA670-\uA672\uA674-\uA67D\uA69F\udc00-\udfff]/;l.replaceGetRect=function(a){y=a};var be=function(){if(J)return!1;var a=n("div");return"draggable"in a||"dragDrop"in a}();ya?Ab=function(a,b){return 36==a.charCodeAt(b-1)&&39==a.charCodeAt(b)}:hc&&!/Version\/([6-9]|\d\d)\b/.test(navigator.userAgent)?Ab=function(a,b){return/\-[^ \-?]|\?[^ !\'\"\),.\-\/:;\?\]\}]/.test(a.slice(b-
1,b+1))}:L&&(Ab=function(a,b){return 1<b&&45==a.charCodeAt(b-1)&&/\w/.test(a.charAt(b-2))&&/[^\-?\.]/.test(a.charAt(b))?!0:/[~!#%&*)=+}\]|\"\.>,:;][({[<]|\?[\w~`@#$%\^&*(_=+{[|><]/.test(a.slice(b-1,b+1))});var Gb,yc,da=3!="\n\nb".split(/\n/).length?function(a){for(var b=0,c=[],d=a.length;b<=d;){var e=a.indexOf("\n",b);-1==e&&(e=a.length);var f=a.slice(b,"\r"==a.charAt(e-1)?e-1:e),g=f.indexOf("\r");-1!=g?(c.push(f.slice(0,g)),b+=g+1):(c.push(f),b=e+1)}return c}:function(a){return a.split(/\r\n?|\n/)};
l.splitLines=da;var Xd=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return!1}}:function(a){try{var b=a.ownerDocument.selection.createRange()}catch(c){}return!b||b.parentElement()!=a?!1:0!=b.compareEndPoints("StartToEnd",b)},Rc=function(){var a=n("div");if("oncopy"in a)return!0;a.setAttribute("oncopy","return;");return"function"==typeof a.oncopy}(),ga={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",
32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",91:"Mod",92:"Mod",93:"Mod",109:"-",107:"=",127:"Delete",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63276:"PageUp",63277:"PageDown",63275:"End",63273:"Home",63234:"Left",63232:"Up",63235:"Right",63233:"Down",63302:"Insert",63272:"Delete"};l.keyNames=ga;(function(){for(var a=0;10>a;a++)ga[a+48]=""+a;for(a=65;90>=a;a++)ga[a]=
String.fromCharCode(a);for(a=1;12>=a;a++)ga[a+111]=ga[a+63235]="F"+a})();var ra,le=function(){function a(a){return 255>=a?b.charAt(a):1424<=a&&1524>=a?"R":1536<=a&&1791>=a?c.charAt(a-1536):1792<=a&&2220>=a?"r":"L"}var b="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLL",c="rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmmrrrrrrrrrrrrrrrrrr",
d=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,e=/[stwN]/,f=/[LRr]/,g=/[Lb1n]/,h=/[1n]/;return function(b){if(!d.test(b))return!1;for(var c=b.length,k=[],m=0,l;m<c;++m)k.push(a(b.charCodeAt(m)));for(var m=0,n="L";m<c;++m)l=k[m],"m"==l?k[m]=n:n=l;m=0;for(n="L";m<c;++m)l=k[m],"1"==l&&"r"==n?k[m]="n":f.test(l)&&(n=l,"r"==l&&(k[m]="R"));m=1;for(n=k[0];m<c-1;++m){l=k[m];if("+"==l&&"1"==n&&"1"==k[m+1])k[m]="1";else if(","==l&&n==k[m+1]&&("1"==n||"n"==n))k[m]=n;n=l}for(m=0;m<c;++m)if(l=k[m],","==l)k[m]="N";
else if("%"==l){for(n=m+1;n<c&&"%"==k[n];++n);var o=m&&"!"==k[m-1]||n<c-1&&"1"==k[n]?"1":"N";for(l=m;l<n;++l)k[l]=o;m=n-1}m=0;for(n="L";m<c;++m)l=k[m],"L"==n&&"1"==l?k[m]="L":f.test(l)&&(n=l);for(m=0;m<c;++m)if(e.test(k[m])){for(n=m+1;n<c&&e.test(k[n]);++n);l="L"==(n<c-1?k[n]:"L");o="L"==(m?k[m-1]:"L")||l?"L":"R";for(l=m;l<n;++l)k[l]=o;m=n-1}for(var n=[],q,m=0;m<c;)if(g.test(k[m])){l=m;for(++m;m<c&&g.test(k[m]);++m);n.push({from:l,to:m,level:0})}else{var p=m,o=n.length;for(++m;m<c&&"L"!=k[m];++m);
for(l=p;l<m;)if(h.test(k[l])){p<l&&n.splice(o,0,{from:p,to:l,level:1});p=l;for(++l;l<m&&h.test(k[l]);++l);n.splice(o,0,{from:p,to:l,level:2});p=l}else++l;p<m&&n.splice(o,0,{from:p,to:m,level:1})}if(1==n[0].level&&(q=b.match(/^\s+/)))n[0].from=q[0].length,n.unshift({from:0,to:q[0].length,level:0});if(1==E(n).level&&(q=b.match(/\s+$/)))E(n).to-=q[0].length,n.push({from:c-q[0].length,to:c,level:0});n[0].level!=E(n).level&&n.push({from:c,to:c,level:n[0].level});return n}}();l.version="3.13";return l}();

View File

@ -1,4 +0,0 @@
CodeMirror.defineMode("bbcode",function(h){var i,j,k;i="b i u s img quote code list table tr td size color url";j="* :-) hr cut";h.hasOwnProperty("bbCodeTags")&&(i=h.bbCodeTags);h.hasOwnProperty("bbCodeUnaryTags")&&(j=h.bbCodeUnaryTags);var c={cont:function(a,b){k=b;return a},escapeRegEx:function(a){return a.replace(/([\:\-\)\(\*\+\?\[\]])/g,"\\$1")}},l=/[a-zA-Z0-9_]/,m=/['"]/,n=RegExp("(?:"+c.escapeRegEx(i).split(" ").join("|")+")"),o=RegExp("(?:"+c.escapeRegEx(j).split(" ").join("|")+")"),f={tokenizer:function(a,
b){if(a.eatSpace())return null;if(a.match("[",true)){b.tokenize=f.bbcode;return c.cont("tag","startTag")}a.next();return null},inAttribute:function(a){return function(b,c){for(var d=null,g=null;!b.eol();){g=b.peek();if(b.next()==a&&d!=="\\"){c.tokenize=f.bbcode;break}d=g}return"string"}},bbcode:function(a,b){if(a.match("]",true)){b.tokenize=f.tokenizer;return c.cont("tag",null)}if(a.match("[",true))return c.cont("tag","startTag");var e=a.next();if(m.test(e)){b.tokenize=f.inAttribute(e);return c.cont("string",
"string")}if(/\d/.test(e)){a.eatWhile(/\d/);return c.cont("number","number")}if(b.last=="whitespace"){a.eatWhile(l);return c.cont("attribute","modifier")}if(b.last=="property"){a.eatWhile(l);return c.cont("property",null)}if(/\s/.test(e)){k="whitespace";return null}var d="";e!="/"&&(d=d+e);for(var g=null;g=a.eat(l);)d=d+g;return o.test(d)?c.cont("atom","atom"):n.test(d)?c.cont("keyword","keyword"):/\s/.test(e)?null:c.cont("tag","tag")}};return{startState:function(){return{tokenize:f.tokenizer,mode:"bbcode",
last:null}},token:function(a,b){var c=b.tokenize(a,b);b.last=k;return c},electricChars:""}});CodeMirror.defineMIME("text/x-bbcode","bbcode");

View File

@ -1,4 +0,0 @@
CodeMirror.defineMode("bbcode",function(h){var i,j,k;i="b i u s img quote code list table tr td size color url";j="* :-) hr cut";h.hasOwnProperty("bbCodeTags")&&(i=h.bbCodeTags);h.hasOwnProperty("bbCodeUnaryTags")&&(j=h.bbCodeUnaryTags);var c={cont:function(a,b){k=b;return a},escapeRegEx:function(a){return a.replace(/([\:\-\)\(\*\+\?\[\]])/g,"\\$1")}},l=/[a-zA-Z0-9_]/,m=/['"]/,n=RegExp("(?:"+c.escapeRegEx(i).split(" ").join("|")+")"),o=RegExp("(?:"+c.escapeRegEx(j).split(" ").join("|")+")"),f={tokenizer:function(a,
b){if(a.eatSpace())return null;if(a.match("[",true)){b.tokenize=f.bbcode;return c.cont("tag","startTag")}a.next();return null},inAttribute:function(a){return function(b,c){for(var d=null,g=null;!b.eol();){g=b.peek();if(b.next()==a&&d!=="\\"){c.tokenize=f.bbcode;break}d=g}return"string"}},bbcode:function(a,b){if(a.match("]",true)){b.tokenize=f.tokenizer;return c.cont("tag",null)}if(a.match("[",true))return c.cont("tag","startTag");var e=a.next();if(m.test(e)){b.tokenize=f.inAttribute(e);return c.cont("string",
"string")}if(/\d/.test(e)){a.eatWhile(/\d/);return c.cont("number","number")}if(b.last=="whitespace"){a.eatWhile(l);return c.cont("attribute","modifier")}if(b.last=="property"){a.eatWhile(l);return c.cont("property",null)}if(/\s/.test(e)){k="whitespace";return null}var d="";e!="/"&&(d=d+e);for(var g=null;g=a.eat(l);)d=d+g;return o.test(d)?c.cont("atom","atom"):n.test(d)?c.cont("keyword","keyword"):/\s/.test(e)?null:c.cont("tag","tag")}};return{startState:function(){return{tokenize:f.tokenizer,mode:"bbcode",
last:null}},token:function(a,b){var c=b.tokenize(a,b);b.last=k;return c},electricChars:""}});CodeMirror.defineMIME("text/x-bbcode","bbcode");

File diff suppressed because one or more lines are too long

View File

@ -1,22 +0,0 @@
(function(n){"object"==typeof exports&&"object"==typeof module?n(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)})(function(n){n.defineMode("javascript",function(ka,p){var D,k,l,r;function m(a,c,e){B=a;E=e;return c}function s(a,c){var e=a.next();if('"'==e||"'"==e)return c.tokenize=la(e),c.tokenize(a,c);if("."==e&&a.match(/^\d+(?:[eE][+\-]?\d+)?/))return m("number","number");if("."==e&&a.match(".."))return m("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(e))return m(e);
if("="==e&&a.eat(">"))return m("=>","operator");if("0"==e&&a.eat(/x/i))return a.eatWhile(/[\da-f]/i),m("number","number");if(/\d/.test(e))return a.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),m("number","number");if("/"==e){if(a.eat("*"))return c.tokenize=F,F(a,c);if(a.eat("/"))return a.skipToEnd(),m("comment","comment");if("operator"==c.lastType||"keyword c"==c.lastType||"sof"==c.lastType||/^[\[{}\(,;:]$/.test(c.lastType)){a:for(var e=!1,d,b=!1;null!=(d=a.next());){if(!e){if("/"==d&&!b)break a;"["==
d?b=!0:b&&"]"==d&&(b=!1)}e=!e&&"\\"==d}a.eatWhile(/[gimy]/);return m("regexp","string-2")}a.eatWhile(L);return m("operator","operator",a.current())}if("`"==e)return c.tokenize=M,M(a,c);if("#"==e)return a.skipToEnd(),m("error","error");if(L.test(e))return a.eatWhile(L),m("operator","operator",a.current());a.eatWhile(/[\w\$_]/);e=a.current();return(d=X.propertyIsEnumerable(e)&&X[e])&&"."!=c.lastType?m(d.type,d.style,e):m("variable","variable",e)}function la(a){return function(c,e){var d=!1,b;if(G&&
"@"==c.peek()&&c.match(ma))return e.tokenize=s,m("jsonld-keyword","meta");for(;null!=(b=c.next())&&(b!=a||d);)d=!d&&"\\"==b;d||(e.tokenize=s);return m("string","string")}}function F(a,c){for(var e=!1,d;d=a.next();){if("/"==d&&e){c.tokenize=s;break}e="*"==d}return m("comment","comment")}function M(a,c){for(var e=!1,d;null!=(d=a.next());){if(!e&&("`"==d||"$"==d&&a.eat("{"))){c.tokenize=s;break}e=!e&&"\\"==d}return m("quasi","string-2",a.current())}function N(a,c){c.fatArrowAt&&(c.fatArrowAt=null);var e=
a.string.indexOf("=>",a.start);if(!(0>e)){for(var d=0,b=!1,e=e-1;0<=e;--e){var f=a.string.charAt(e),g=na.indexOf(f);if(0<=g&&3>g){if(!d){++e;break}if(0==--d)break}else if(3<=g&&6>g)++d;else if(/[$\w]/.test(f))b=!0;else if(b&&!d){++e;break}}b&&!d&&(c.fatArrowAt=e)}}function Y(a,c,e,d,b,f){this.indented=a;this.column=c;this.type=e;this.prev=b;this.info=f;null!=d&&(this.align=d)}function f(){for(var a=arguments.length-1;0<=a;a--)D.push(arguments[a])}function b(){f.apply(null,arguments);return!0}function t(a){function c(c){for(;c;c=
c.next)if(c.name==a)return!0;return!1}var b=k;b.context?(l="def",c(b.localVars)||(b.localVars={name:a,next:b.localVars})):!c(b.globalVars)&&p.globalVars&&(b.globalVars={name:a,next:b.globalVars})}function u(){k.context={prev:k.context,vars:k.localVars};k.localVars=oa}function v(){k.localVars=k.context.vars;k.context=k.context.prev}function h(a,c){var b=function(){var b=k,e=b.indented;"stat"==b.lexical.type&&(e=b.lexical.indented);b.lexical=new Y(e,r.column(),a,null,b.lexical,c)};b.lex=!0;return b}
function g(){var a=k;a.lexical.prev&&(")"==a.lexical.type&&(a.indented=a.lexical.indented),a.lexical=a.lexical.prev)}function i(a){function c(e){return e==a?b():";"==a?f():b(c)}return c}function o(a,c){return"var"==a?b(h("vardef",c.length),O,i(";"),g):"keyword a"==a?b(h("form"),j,o,g):"keyword b"==a?b(h("form"),o,g):"{"==a?b(h("}"),P,g):";"==a?b():"if"==a?("else"==k.lexical.info&&k.cc[k.cc.length-1]==g&&k.cc.pop()(),b(h("form"),j,o,g,Z)):"function"==a?b(w):"for"==a?b(h("form"),$,o,g):"variable"==
a?b(h("stat"),pa):"switch"==a?b(h("form"),j,h("}","switch"),i("{"),P,g,g):"case"==a?b(j,i(":")):"default"==a?b(i(":")):"catch"==a?b(h("form"),u,i("("),Q,i(")"),o,g,v):"module"==a?b(h("form"),u,qa,v,g):"class"==a?b(h("form"),ra,sa,g):"export"==a?b(h("form"),ta,g):"import"==a?b(h("form"),ua,g):f(h("stat"),j,i(";"),g)}function j(a){return aa(a,!1)}function q(a){return aa(a,!0)}function aa(a,c){if(k.fatArrowAt==r.start){var e=c?ba:ca;if("("==a)return b(u,h(")"),C(x,")"),g,i("=>"),e,v);if("variable"==
a)return f(u,x,i("=>"),e,v)}e=c?R:H;return da.hasOwnProperty(a)?b(e):"function"==a?b(w,e):"keyword c"==a?b(c?va:S):"("==a?b(h(")"),S,I,i(")"),g,e):"operator"==a||"spread"==a?b(c?q:j):"["==a?b(h("]"),wa,g,e):"{"==a?y(ea,"}",null,e):"quasi"==a?f(J,e):b()}function S(a){return a.match(/[;\}\)\],]/)?f():f(j)}function va(a){return a.match(/[;\}\)\],]/)?f():f(q)}function H(a,c){return","==a?b(j):R(a,c,!1)}function R(a,c,e){var d=!1==e?H:R,W=!1==e?j:q;if("=>"==c)return b(u,e?ba:ca,v);if("operator"==a)return/\+\+|--/.test(c)?
b(d):"?"==c?b(j,i(":"),W):b(W);if("quasi"==a)return f(J,d);if(";"!=a){if("("==a)return y(q,")","call",d);if("."==a)return b(xa,d);if("["==a)return b(h("]"),S,i("]"),g,d)}}function J(a,c){return"quasi"!=a?f():"${"!=c.slice(c.length-2)?b(J):b(j,ya)}function ya(a){if("}"==a)return l="string-2",k.tokenize=M,b(J)}function ca(a){N(r,k);return"{"==a?f(o):f(j)}function ba(a){N(r,k);return"{"==a?f(o):f(q)}function pa(a){return":"==a?b(g,o):f(H,i(";"),g)}function xa(a){if("variable"==a)return l="property",
b()}function ea(a,c){if("variable"==a){if(l="property","get"==c||"set"==c)return b(za)}else if("number"==a||"string"==a)l=G?"property":a+" property";else if("["==a)return b(j,i("]"),T);if(da.hasOwnProperty(a))return b(T)}function za(a){if("variable"!=a)return f(T);l="property";return b(w)}function T(a){if(":"==a)return b(q);if("("==a)return f(w)}function C(a,c){function e(d){return","==d?(d=k.lexical,"call"==d.info&&(d.pos=(d.pos||0)+1),b(a,e)):d==c?b():b(i(c))}return function(d){return d==c?b():
f(a,e)}}function y(a,c,e){for(var d=3;d<arguments.length;d++)D.push(arguments[d]);return b(h(c,e),C(a,c),g)}function P(a){return"}"==a?b():f(o,P)}function fa(a){if(ga&&":"==a)return b(Aa)}function Aa(a){if("variable"==a)return l="variable-3",b()}function O(){return f(x,fa,U,Ba)}function x(a,c){if("variable"==a)return t(c),b();if("["==a)return y(x,"]");if("{"==a)return y(Ca,"}")}function Ca(a,c){if("variable"==a&&!r.match(/^\s*:/,!1))return t(c),b(U);"variable"==a&&(l="property");return b(i(":"),x,
U)}function U(a,c){if("="==c)return b(q)}function Ba(a){if(","==a)return b(O)}function Z(a,c){if("keyword b"==a&&"else"==c)return b(h("form","else"),o,g)}function $(a){if("("==a)return b(h(")"),Da,i(")"),g)}function Da(a){return"var"==a?b(O,i(";"),K):";"==a?b(K):"variable"==a?b(Ea):f(j,i(";"),K)}function Ea(a,c){return"in"==c||"of"==c?(l="keyword",b(j)):b(H,K)}function K(a,c){return";"==a?b(ha):"in"==c||"of"==c?(l="keyword",b(j)):f(j,i(";"),ha)}function ha(a){")"!=a&&b(j)}function w(a,c){if("*"==
c)return l="keyword",b(w);if("variable"==a)return t(c),b(w);if("("==a)return b(u,h(")"),C(Q,")"),g,o,v)}function Q(a){return"spread"==a?b(Q):f(x,fa)}function ra(a,c){if("variable"==a)return t(c),b(Fa)}function Fa(a,c){if("extends"==c)return b(j)}function sa(a){if("{"==a)return y(ea,"}")}function qa(a,c){if("string"==a)return b(o);if("variable"==a)return t(c),b(V)}function ta(a,c){return"*"==c?(l="keyword",b(V,i(";"))):"default"==c?(l="keyword",b(j,i(";"))):f(o)}function ua(a){return"string"==a?b():
f(ia,V)}function ia(a,c){if("{"==a)return y(ia,"}");"variable"==a&&t(c);return b()}function V(a,c){if("from"==c)return l="keyword",b(j)}function wa(a){return"]"==a?b():f(q,Ga)}function Ga(a){return"for"==a?f(I,i("]")):","==a?b(C(q,"]")):f(C(q,"]"))}function I(a){if("for"==a)return b($,I);if("if"==a)return b(j,I)}var z=ka.indentUnit,ja=p.statementIndent,G=p.jsonld,A=p.json||G,ga=p.typescript,X=function(){function a(a){return{type:a,style:"keyword"}}var c=a("keyword a"),b=a("keyword b"),d=a("keyword c"),
f=a("operator"),g={type:"atom",style:"atom"},c={"if":a("if"),"while":c,"with":c,"else":b,"do":b,"try":b,"finally":b,"return":d,"break":d,"continue":d,"new":d,"delete":d,"throw":d,"debugger":d,"var":a("var"),"const":a("var"),let:a("var"),"function":a("function"),"catch":a("catch"),"for":a("for"),"switch":a("switch"),"case":a("case"),"default":a("default"),"in":f,"typeof":f,"instanceof":f,"true":g,"false":g,"null":g,undefined:g,NaN:g,Infinity:g,"this":a("this"),module:a("module"),"class":a("class"),
"super":a("atom"),yield:d,"export":a("export"),"import":a("import"),"extends":d};if(ga){var b={type:"variable",style:"variable-3"},b={"interface":a("interface"),"extends":a("extends"),constructor:a("constructor"),"public":a("public"),"private":a("private"),"protected":a("protected"),"static":a("static"),string:b,number:b,bool:b,any:b},h;for(h in b)c[h]=b[h]}return c}(),L=/[+\-*&%=<>!?|~^]/,ma=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,B,E,na="([{}])",da=
{atom:!0,number:!0,variable:!0,string:!0,regexp:!0,"this":!0,"jsonld-keyword":!0};D=l=k=null;r=void 0;var oa={name:"this",next:{name:"arguments"}};g.lex=!0;return{startState:function(a){a={tokenize:s,lastType:"sof",cc:[],lexical:new Y((a||0)-z,0,"block",!1),localVars:p.localVars,context:p.localVars&&{vars:p.localVars},indented:0};p.globalVars&&"object"==typeof p.globalVars&&(a.globalVars=p.globalVars);return a},token:function(a,b){a.sol()&&(b.lexical.hasOwnProperty("align")||(b.lexical.align=!1),
b.indented=a.indentation(),N(a,b));if(b.tokenize!=F&&a.eatSpace())return null;var e=b.tokenize(a,b);if("comment"==B)return e;b.lastType="operator"==B&&("++"==E||"--"==E)?"incdec":B;var d;a:{var g=B,f=E,h=b.cc;k=b;r=a;l=null;D=h;b.lexical.hasOwnProperty("align")||(b.lexical.align=!0);for(;;)if((h.length?h.pop():A?j:o)(g,f)){for(;h.length&&h[h.length-1].lex;)h.pop()();if(l){d=l;break a}if(d="variable"==g)b:{for(d=b.localVars;d;d=d.next)if(d.name==f){d=!0;break b}for(g=b.context;g;g=g.prev)for(d=g.vars;d;d=
d.next)if(d.name==f){d=!0;break b}d=void 0}if(d){d="variable-2";break a}d=e;break a}}return d},indent:function(a,b){if(a.tokenize==F)return n.Pass;if(a.tokenize!=s)return 0;var e=b&&b.charAt(0),d=a.lexical;if(!/^\s*else\b/.test(b))for(var f=a.cc.length-1;0<=f;--f){var h=a.cc[f];if(h==g)d=d.prev;else if(h!=Z)break}"stat"==d.type&&"}"==e&&(d=d.prev);ja&&(")"==d.type&&"stat"==d.prev.type)&&(d=d.prev);f=d.type;h=e==f;return"vardef"==f?d.indented+("operator"==a.lastType||","==a.lastType?d.info+1:0):"form"==
f&&"{"==e?d.indented:"form"==f?d.indented+z:"stat"==f?d.indented+("operator"==a.lastType||","==a.lastType?ja||z:0):"switch"==d.info&&!h&&!1!=p.doubleIndentSwitch?d.indented+(/^(?:case|default)\b/.test(b)?z:2*z):d.align?d.column+(h?0:1):d.indented+(h?0:z)},electricChars:":{}",blockCommentStart:A?null:"/*",blockCommentEnd:A?null:"*/",lineComment:A?null:"//",fold:"brace",helperType:A?"json":"javascript",jsonldMode:G,jsonMode:A}});n.registerHelper("wordChars","javascript",/[\\w$]/);n.defineMIME("text/javascript",
"javascript");n.defineMIME("text/ecmascript","javascript");n.defineMIME("application/javascript","javascript");n.defineMIME("application/ecmascript","javascript");n.defineMIME("application/json",{name:"javascript",json:!0});n.defineMIME("application/x-json",{name:"javascript",json:!0});n.defineMIME("application/ld+json",{name:"javascript",jsonld:!0});n.defineMIME("text/typescript",{name:"javascript",typescript:!0});n.defineMIME("application/typescript",{name:"javascript",typescript:!0})});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,28 @@
CodeMirror.defineMode("xml",function(l,e){function j(k,a){function b(d){return a.tokenize=d,d(k,a)}var d=k.next(),c;if("<"==d){if(k.eat("!"))return k.eat("[")?k.match("CDATA[")?b(r("atom","]]\>")):null:k.match("--")?b(r("comment","--\>")):k.match("DOCTYPE",!0,!0)?(k.eatWhile(/[\w\._\-]/),b(n(1))):null;if(k.eat("?"))return k.eatWhile(/[\w\._\-]/),a.tokenize=r("meta","?>"),"meta";d=k.eat("/");for(u="";c=k.eat(/[^\s\u00a0=<>\"\'\/?]/);)u+=c;return u?(w=d?"closeTag":"openTag",a.tokenize=o,"tag"):"error"}return"&"==
d?(c=k.eat("#")?k.eat("x")?k.eatWhile(/[a-fA-F\d]/)&&k.eat(";"):k.eatWhile(/[\d]/)&&k.eat(";"):k.eatWhile(/[\w\.\-:]/)&&k.eat(";"),c?"atom":"error"):(k.eatWhile(/[^&<]/),null)}function o(k,a){var b=k.next();return">"==b||"/"==b&&k.eat(">")?(a.tokenize=j,w=">"==b?"endTag":"selfcloseTag","tag"):"="==b?(w="equals",null):/[\'\"]/.test(b)?(a.tokenize=v(b),a.tokenize(k,a)):(k.eatWhile(/[^\s\u00a0=<>\"\']/),"word")}function v(a){return function(b,d){for(;!b.eol();)if(b.next()==a){d.tokenize=o;break}return"string"}}
function r(a,b){return function(d,c){for(;!d.eol();){if(d.match(b)){c.tokenize=j;break}d.next()}return a}}function n(a){return function(b,d){for(var c;null!=(c=b.next());){if("<"==c)return d.tokenize=n(a+1),d.tokenize(b,d);if(">"==c)if(1==a){d.tokenize=j;break}else return d.tokenize=n(a-1),d.tokenize(b,d)}return"meta"}}function i(){for(var a=arguments.length-1;0<=a;a--)m.cc.push(arguments[a])}function f(){return i.apply(null,arguments),!0}function p(){m.context&&(m.context=m.context.prev)}function s(a){return"openTag"==
a?(m.tagName=u,m.tagStart=y.column(),f(d,t(m.startOfLine))):"closeTag"==a?(a=!1,m.context?m.context.tagName!=u&&(x.implicitlyClosed.hasOwnProperty(m.context.tagName.toLowerCase())&&p(),a=!m.context||m.context.tagName!=u):a=!0,a&&(q="error"),f(c(a))):f()}function t(b){return function(d){var c=m.tagName;(m.tagName=m.tagStart=null,"selfcloseTag"==d||"endTag"==d&&x.autoSelfClosers.hasOwnProperty(c.toLowerCase()))?c=(a(c.toLowerCase()),f()):("endTag"==d&&(a(c.toLowerCase()),d=x.doNotIndent.hasOwnProperty(c)||
m.context&&m.context.noIndent,m.context={prev:m.context,tagName:c,indent:m.indented,startOfLine:b,noIndent:d}),c=f());return c}}function c(a){return function(b){return(a&&(q="error"),"endTag"==b)?(p(),f()):(q="error",f(arguments.callee))}}function a(a){for(var b;m.context&&!(b=m.context.tagName.toLowerCase(),!x.contextGrabbers.hasOwnProperty(b)||!x.contextGrabbers[b].hasOwnProperty(a));)p()}function d(a){return"word"==a?(q="attribute",f(h,d)):"endTag"==a||"selfcloseTag"==a?i():(q="error",f(d))}function h(a){return"equals"==
a?f(b,d):(x.allowMissing?"word"==a&&(q="attribute"):q="error","endTag"==a||"selfcloseTag"==a?i():f())}function b(a){return"string"==a?f(g):"word"==a&&x.allowUnquoted?(q="string",f()):(q="error","endTag"==a||"selfCloseTag"==a?i():f())}function g(a){return"string"==a?f(g):i()}var z=l.indentUnit,A=e.multilineTagIndentFactor||1,x=e.htmlMode?{autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},implicitlyClosed:{dd:!0,
li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},
th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0}:{autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1},B=e.alignCDATA,u,w,m,y,q;return{startState:function(){return{tokenize:j,cc:[],indented:0,startOfLine:!0,tagName:null,tagStart:null,context:null}},token:function(a,b){var d,c;if(!b.tagName&&a.sol()&&(b.startOfLine=!0,b.indented=a.indentation()),a.eatSpace())return null;if(q=w=u=null,
d=b.tokenize(a,b),b.type=w,(d||w)&&"comment"!=d){m=b;for(y=a;!(c=b.cc.pop()||s,c(w||d)););}return b.startOfLine=!1,q||d},indent:function(a,b,d){var c=a.context;if(a.tokenize!=o&&a.tokenize!=j||c&&c.noIndent)return d?d.match(/^(\s*)/)[0].length:0;if(a.tagName)return a.tagStart+z*A;if(B&&/<!\[CDATA\[/.test(b))return 0;for(c&&/^<\//.test(b)&&(c=c.prev);c&&!c.startOfLine;)c=c.prev;return c?c.indent+z:0},electricChars:"/",blockCommentStart:"<\!--",blockCommentEnd:"--\>",configuration:e.htmlMode?"html":
"xml"}});CodeMirror.defineMIME("text/xml","xml");CodeMirror.defineMIME("application/xml","xml");CodeMirror.mimeModes.hasOwnProperty("text/html")||CodeMirror.defineMIME("text/html",{name:"xml",htmlMode:!0});CodeMirror.defineMode("css",function(l){return CodeMirror.getMode(l,"text/css")});
CodeMirror.defineMode("css-base",function(l,e){function j(d,c){var b=d.next(),g;if(n[b]&&(g=n[b](d,c),!1!==g))return g;if("@"==b)return d.eatWhile(/[\w\\\-]/),a=d.current(),"def";if("="==b)a="compare";else{if(("~"==b||"|"==b)&&d.eat("="))return a="compare",null;if('"'==b||"'"==b)return c.tokenize=o(b),c.tokenize(d,c);if("#"==b)return d.eatWhile(/[\w\\\-]/),a="hash","atom";if("!"==b)return d.match(/^\s*\w*/),a="important","keyword";if(/\d/.test(b))return d.eatWhile(/[\w.%]/),a="unit","number";if("-"===
b){if(/\d/.test(d.peek()))return d.eatWhile(/[\w.%]/),a="unit","number";if(d.match(/^[^-]+-/))return a="meta","meta"}else return/[,+>*\/]/.test(b)?(a="select-op",null):"."==b&&d.match(/^-?[_a-z][_a-z0-9-]*/i)?(a="qualifier","qualifier"):":"==b?(a=b,"operator"):/[;{}\[\]\(\)]/.test(b)?(a=b,null):"u"==b&&d.match("rl(")?(d.backUp(1),c.tokenize=v,a="variable","property"):(d.eatWhile(/[\w\\\-]/),a="variable","property")}}function o(c,h){return function(b,g){for(var f=!1,i;null!=(i=b.next())&&(i!=c||f);)f=
!f&&"\\"==i;return f||(h&&b.backUp(1),g.tokenize=j),a="string","string"}}function v(c,h){return c.next(),h.tokenize=c.match(/\s*[\"\']/,!1)?j:o(")",!0),a="(",null}var r=l.indentUnit,n=e.hooks||{},i=e.atMediaTypes||{},f=e.atMediaFeatures||{},p=e.propertyKeywords||{},s=e.colorKeywords||{},t=e.valueKeywords||{},c=!!e.allowNested,a=null;return{startState:function(a){return{tokenize:j,baseIndent:a||0,stack:[]}},token:function(d,h){var b,g,e,l,n;return(h.tokenize=h.tokenize||j,h.tokenize==j&&d.eatSpace())?
null:(b=h.tokenize(d,h),b&&"string"!=typeof b&&(b=(a=b[1],b[0])),g=h.stack[h.stack.length-1],"variable"==b)?("variable-definition"==a&&h.stack.push("propertyValue"),"variable-2"):("property"==b?(e=d.current().toLowerCase(),"propertyValue"==g?b=t.hasOwnProperty(e)?"string-2":s.hasOwnProperty(e)?"keyword":"variable-2":"rule"==g?p.hasOwnProperty(e)||(b+=" error"):"block"==g?b=p.hasOwnProperty(e)?"property":s.hasOwnProperty(e)?"keyword":t.hasOwnProperty(e)?"string-2":"tag":g&&"@media{"!=g?"@media"==g?
b=i[d.current()]?"attribute":/^(only|not)$/.test(e)?"keyword":"and"==e?"error":f.hasOwnProperty(e)?"error":"attribute error":"@mediaType"==g?b=i.hasOwnProperty(e)?"attribute":"and"==e?"operator":(/^(only|not)$/.test(e),"error"):"@mediaType("==g?p.hasOwnProperty(e)||(i.hasOwnProperty(e)?b="error":"and"==e?b="operator":/^(only|not)$/.test(e)?b="error":b+=" error"):b="@import"==g?"tag":"error":b="tag"):"atom"==b?g&&"@media{"!=g&&"block"!=g?"propertyValue"==g?/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(d.current())||
(b+=" error"):b="error":b="builtin":"@media"==g&&"{"==a&&(b="error"),"{"==a?"@media"==g||"@mediaType"==g?(h.stack.pop(),h.stack[h.stack.length-1]="@media{"):(l=c?"block":"rule",h.stack.push(l)):"}"==a?(n=h.stack[h.stack.length-1],"interpolation"==n&&(b="operator"),h.stack.pop(),"propertyValue"==g&&h.stack.pop()):"interpolation"==a?h.stack.push("interpolation"):"@media"==a?h.stack.push("@media"):"@import"==a?h.stack.push("@import"):"@media"==g&&/\b(keyword|attribute)\b/.test(b)?h.stack.push("@mediaType"):
"@mediaType"==g&&","==d.current()?h.stack.pop():"@mediaType"==g&&"("==a?h.stack.push("@mediaType("):"@mediaType("==g&&")"==a?h.stack.pop():("rule"==g||"block"==g)&&":"==a?h.stack.push("propertyValue"):"propertyValue"==g&&";"==a?h.stack.pop():"@import"==g&&";"==a&&h.stack.pop(),b)},indent:function(a,c){var b=a.stack.length;return/^\}/.test(c)&&(b-="propertyValue"==a.stack[a.stack.length-1]?2:1),a.baseIndent+b*r},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/"}});
(function(){function l(i){for(var f={},e=0;e<i.length;++e)f[i[e]]=!0;return f}function e(e,f){for(var l=!1,j;null!=(j=e.next());){if(l&&"/"==j){f.tokenize=null;break}l="*"==j}return["comment","comment"]}var j=l("all aural braille handheld print projection screen tty tv embossed".split(" ")),o=l("width min-width max-width height min-height max-height device-width min-device-width max-device-width device-height min-device-height max-device-height aspect-ratio min-aspect-ratio max-aspect-ratio device-aspect-ratio min-device-aspect-ratio max-device-aspect-ratio color min-color max-color color-index min-color-index max-color-index monochrome min-monochrome max-monochrome resolution min-resolution max-resolution scan grid".split(" ")),
v=l("align-content align-items align-self alignment-adjust alignment-baseline anchor-point animation animation-delay animation-direction animation-duration animation-iteration-count animation-name animation-play-state animation-timing-function appearance azimuth backface-visibility background background-attachment background-clip background-color background-image background-origin background-position background-repeat background-size baseline-shift binding bleed bookmark-label bookmark-level bookmark-state bookmark-target border border-bottom border-bottom-color border-bottom-left-radius border-bottom-right-radius border-bottom-style border-bottom-width border-collapse border-color border-image border-image-outset border-image-repeat border-image-slice border-image-source border-image-width border-left border-left-color border-left-style border-left-width border-radius border-right border-right-color border-right-style border-right-width border-spacing border-style border-top border-top-color border-top-left-radius border-top-right-radius border-top-style border-top-width border-width bottom box-decoration-break box-shadow box-sizing break-after break-before break-inside caption-side clear clip color color-profile column-count column-fill column-gap column-rule column-rule-color column-rule-style column-rule-width column-span column-width columns content counter-increment counter-reset crop cue cue-after cue-before cursor direction display dominant-baseline drop-initial-after-adjust drop-initial-after-align drop-initial-before-adjust drop-initial-before-align drop-initial-size drop-initial-value elevation empty-cells fit fit-position flex flex-basis flex-direction flex-flow flex-grow flex-shrink flex-wrap float float-offset font font-feature-settings font-family font-kerning font-language-override font-size font-size-adjust font-stretch font-style font-synthesis font-variant font-variant-alternates font-variant-caps font-variant-east-asian font-variant-ligatures font-variant-numeric font-variant-position font-weight grid-cell grid-column grid-column-align grid-column-sizing grid-column-span grid-columns grid-flow grid-row grid-row-align grid-row-sizing grid-row-span grid-rows grid-template hanging-punctuation height hyphens icon image-orientation image-rendering image-resolution inline-box-align justify-content left letter-spacing line-break line-height line-stacking line-stacking-ruby line-stacking-shift line-stacking-strategy list-style list-style-image list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top marker-offset marks marquee-direction marquee-loop marquee-play-count marquee-speed marquee-style max-height max-width min-height min-width move-to nav-down nav-index nav-left nav-right nav-up opacity order orphans outline outline-color outline-offset outline-style outline-width overflow overflow-style overflow-wrap overflow-x overflow-y padding padding-bottom padding-left padding-right padding-top page page-break-after page-break-before page-break-inside page-policy pause pause-after pause-before perspective perspective-origin pitch pitch-range play-during position presentation-level punctuation-trim quotes rendering-intent resize rest rest-after rest-before richness right rotation rotation-point ruby-align ruby-overhang ruby-position ruby-span size speak speak-as speak-header speak-numeral speak-punctuation speech-rate stress string-set tab-size table-layout target target-name target-new target-position text-align text-align-last text-decoration text-decoration-color text-decoration-line text-decoration-skip text-decoration-style text-emphasis text-emphasis-color text-emphasis-position text-emphasis-style text-height text-indent text-justify text-outline text-shadow text-space-collapse text-transform text-underline-position text-wrap top transform transform-origin transform-style transition transition-delay transition-duration transition-property transition-timing-function unicode-bidi vertical-align visibility voice-balance voice-duration voice-family voice-pitch voice-range voice-rate voice-stress voice-volume volume white-space widows width word-break word-spacing word-wrap z-index clip-path clip-rule mask enable-background filter flood-color flood-opacity lighting-color stop-color stop-opacity pointer-events color-interpolation color-interpolation-filters color-profile color-rendering fill fill-opacity fill-rule image-rendering marker marker-end marker-mid marker-start shape-rendering stroke stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-rendering baseline-shift dominant-baseline glyph-orientation-horizontal glyph-orientation-vertical kerning text-anchor writing-mode".split(" ")),
r=l("aliceblue antiquewhite aqua aquamarine azure beige bisque black blanchedalmond blue blueviolet brown burlywood cadetblue chartreuse chocolate coral cornflowerblue cornsilk crimson cyan darkblue darkcyan darkgoldenrod darkgray darkgreen darkkhaki darkmagenta darkolivegreen darkorange darkorchid darkred darksalmon darkseagreen darkslateblue darkslategray darkturquoise darkviolet deeppink deepskyblue dimgray dodgerblue firebrick floralwhite forestgreen fuchsia gainsboro ghostwhite gold goldenrod gray green greenyellow honeydew hotpink indianred indigo ivory khaki lavender lavenderblush lawngreen lemonchiffon lightblue lightcoral lightcyan lightgoldenrodyellow lightgray lightgreen lightpink lightsalmon lightseagreen lightskyblue lightslategray lightsteelblue lightyellow lime limegreen linen magenta maroon mediumaquamarine mediumblue mediumorchid mediumpurple mediumseagreen mediumslateblue mediumspringgreen mediumturquoise mediumvioletred midnightblue mintcream mistyrose moccasin navajowhite navy oldlace olive olivedrab orange orangered orchid palegoldenrod palegreen paleturquoise palevioletred papayawhip peachpuff peru pink plum powderblue purple red rosybrown royalblue saddlebrown salmon sandybrown seagreen seashell sienna silver skyblue slateblue slategray snow springgreen steelblue tan teal thistle tomato turquoise violet wheat white whitesmoke yellow yellowgreen".split(" ")),
n=l("above absolute activeborder activecaption afar after-white-space ahead alias all all-scroll alternate always amharic amharic-abegede antialiased appworkspace arabic-indic armenian asterisks auto avoid background backwards baseline below bidi-override binary bengali blink block block-axis bold bolder border border-box both bottom break-all break-word button button-bevel buttonface buttonhighlight buttonshadow buttontext cambodian capitalize caps-lock-indicator caption captiontext caret cell center checkbox circle cjk-earthly-branch cjk-heavenly-stem cjk-ideographic clear clip close-quote col-resize collapse compact condensed contain content content-box context-menu continuous copy cover crop cross crosshair currentcolor cursive dashed decimal decimal-leading-zero default default-button destination-atop destination-in destination-out destination-over devanagari disc discard document dot-dash dot-dot-dash dotted double down e-resize ease ease-in ease-in-out ease-out element ellipsis embed end ethiopic ethiopic-abegede ethiopic-abegede-am-et ethiopic-abegede-gez ethiopic-abegede-ti-er ethiopic-abegede-ti-et ethiopic-halehame-aa-er ethiopic-halehame-aa-et ethiopic-halehame-am-et ethiopic-halehame-gez ethiopic-halehame-om-et ethiopic-halehame-sid-et ethiopic-halehame-so-et ethiopic-halehame-ti-er ethiopic-halehame-ti-et ethiopic-halehame-tig ew-resize expanded extra-condensed extra-expanded fantasy fast fill fixed flat footnotes forwards from geometricPrecision georgian graytext groove gujarati gurmukhi hand hangul hangul-consonant hebrew help hidden hide higher highlight highlighttext hiragana hiragana-iroha horizontal hsl hsla icon ignore inactiveborder inactivecaption inactivecaptiontext infinite infobackground infotext inherit initial inline inline-axis inline-block inline-table inset inside intrinsic invert italic justify kannada katakana katakana-iroha khmer landscape lao large larger left level lighter line-through linear lines list-item listbox listitem local logical loud lower lower-alpha lower-armenian lower-greek lower-hexadecimal lower-latin lower-norwegian lower-roman lowercase ltr malayalam match media-controls-background media-current-time-display media-fullscreen-button media-mute-button media-play-button media-return-to-realtime-button media-rewind-button media-seek-back-button media-seek-forward-button media-slider media-sliderthumb media-time-remaining-display media-volume-slider media-volume-slider-container media-volume-sliderthumb medium menu menulist menulist-button menulist-text menulist-textfield menutext message-box middle min-intrinsic mix mongolian monospace move multiple myanmar n-resize narrower ne-resize nesw-resize no-close-quote no-drop no-open-quote no-repeat none normal not-allowed nowrap ns-resize nw-resize nwse-resize oblique octal open-quote optimizeLegibility optimizeSpeed oriya oromo outset outside overlay overline padding padding-box painted paused persian plus-darker plus-lighter pointer portrait pre pre-line pre-wrap preserve-3d progress push-button radio read-only read-write read-write-plaintext-only relative repeat repeat-x repeat-y reset reverse rgb rgba ridge right round row-resize rtl run-in running s-resize sans-serif scroll scrollbar se-resize searchfield searchfield-cancel-button searchfield-decoration searchfield-results-button searchfield-results-decoration semi-condensed semi-expanded separate serif show sidama single skip-white-space slide slider-horizontal slider-vertical sliderthumb-horizontal sliderthumb-vertical slow small small-caps small-caption smaller solid somali source-atop source-in source-out source-over space square square-button start static status-bar stretch stroke sub subpixel-antialiased super sw-resize table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group telugu text text-bottom text-top textarea textfield thai thick thin threeddarkshadow threedface threedhighlight threedlightshadow threedshadow tibetan tigre tigrinya-er tigrinya-er-abegede tigrinya-et tigrinya-et-abegede to top transparent ultra-condensed ultra-expanded underline up upper-alpha upper-armenian upper-greek upper-hexadecimal upper-latin upper-norwegian upper-roman uppercase urdu url vertical vertical-text visible visibleFill visiblePainted visibleStroke visual w-resize wait wave wider window windowframe windowtext x-large x-small xor xx-large xx-small".split(" "));
CodeMirror.defineMIME("text/css",{atMediaTypes:j,atMediaFeatures:o,propertyKeywords:v,colorKeywords:r,valueKeywords:n,hooks:{"<":function(e,f){function j(e,f){for(var c=0,a;null!=(a=e.next());){if(2<=c&&">"==a){f.tokenize=null;break}c="-"==a?c+1:0}return["comment","comment"]}if(e.eat("!"))return f.tokenize=j,j(e,f)},"/":function(i,f){return i.eat("*")?(f.tokenize=e,e(i,f)):!1}},name:"css-base"});CodeMirror.defineMIME("text/x-scss",{atMediaTypes:j,atMediaFeatures:o,propertyKeywords:v,colorKeywords:r,
valueKeywords:n,allowNested:!0,hooks:{$:function(e){return(e.match(/^[\w-]+/),":"==e.peek())?["variable","variable-definition"]:["variable","variable"]},"/":function(i,f){return i.eat("/")?(i.skipToEnd(),["comment","comment"]):i.eat("*")?(f.tokenize=e,e(i,f)):["operator","operator"]},"#":function(e){return e.eat("{")?["operator","interpolation"]:(e.eatWhile(/[\w\\\-]/),["atom","hash"])}},name:"css-base"})})();
CodeMirror.defineMode("htmlmixed",function(l,e){function j(c,a){var d=a.htmlState.tagName,e=n.token(c,a.htmlState),b,g;if("script"==d&&/\btag\b/.test(e)&&">"==c.current()){(d=(d=c.string.slice(Math.max(0,c.pos-100),c.pos).match(/\btype\s*=\s*("[^"]+"|'[^']+'|\S+)[^<]*$/i))?d[1]:"")&&/[\"\']/.test(d.charAt(0))&&(d=d.slice(1,d.length-1));for(b=0;b<f.length;++b)if(g=f[b],"string"==typeof g.matches?d==g.matches:g.matches.test(d)){g.mode&&(a.token=v,a.localMode=g.mode,a.localState=g.mode.startState&&g.mode.startState(n.indent(a.htmlState,
"")));break}}else"style"==d&&/\btag\b/.test(e)&&">"==c.current()&&(a.token=r,a.localMode=i,a.localState=i.startState(n.indent(a.htmlState,"")));return e}function o(c,a,d){var e=c.current(),b=e.search(a);return-1<b?c.backUp(e.length-b):e.match(/<\/?$/)&&(c.backUp(e.length),c.match(a,!1)||c.match(e[0])),d}function v(c,a){return c.match(/^<\/\s*script\s*>/i,!1)?(a.token=j,a.localState=a.localMode=null,j(c,a)):o(c,/<\/\s*script\s*>/,a.localMode.token(c,a.localState))}function r(c,a){return c.match(/^<\/\s*style\s*>/i,
!1)?(a.token=j,a.localState=a.localMode=null,j(c,a)):o(c,/<\/\s*style\s*>/,i.token(c,a.localState))}var n=CodeMirror.getMode(l,{name:"xml",htmlMode:!0}),i=CodeMirror.getMode(l,"css"),f=[],p=e&&e.scriptTypes,s,t;if(f.push({matches:/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^$/i,mode:CodeMirror.getMode(l,"javascript")}),p)for(s=0;s<p.length;++s)t=p[s],f.push({matches:t.matches,mode:t.mode&&CodeMirror.getMode(l,t.mode)});return f.push({matches:/./,mode:CodeMirror.getMode(l,"text/plain")}),{startState:function(){var c=
n.startState();return{token:j,localMode:null,localState:null,htmlState:c}},copyState:function(c){if(c.localState)var a=CodeMirror.copyState(c.localMode,c.localState);return{token:c.token,localMode:c.localMode,localState:a,htmlState:CodeMirror.copyState(n,c.htmlState)}},token:function(c,a){return a.token(c,a)},indent:function(c,a){return!c.localMode||/^\s*<\//.test(a)?n.indent(c.htmlState,a):c.localMode.indent?c.localMode.indent(c.localState,a):CodeMirror.Pass},electricChars:"/{}:",innerMode:function(c){return{state:c.localState||
c.htmlState,mode:c.localMode||n}}}},"xml","javascript","css");CodeMirror.defineMIME("text/html","htmlmixed");

View File

@ -0,0 +1,13 @@
(function(){function l(h,d,a){var c;return c=h.getWrapperElement().appendChild(document.createElement("div")),c.className=a?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top",c.innerHTML=d,c}CodeMirror.defineExtension("openDialog",function(h,d,a){function c(){k||(k=!0,g.parentNode.removeChild(g))}var g=l(this,h,a&&a.bottom),k=!1,i=this,f=g.getElementsByTagName("input")[0];if(f){CodeMirror.on(f,"keydown",function(b){a&&a.onKeyDown&&a.onKeyDown(b,f.value,c)||(13==
b.keyCode||27==b.keyCode)&&(CodeMirror.e_stop(b),c(),i.focus(),13==b.keyCode&&d(f.value))});if(a&&a.onKeyUp)CodeMirror.on(f,"keyup",function(b){a.onKeyUp(b,f.value,c)});a&&a.value&&(f.value=a.value);f.focus();CodeMirror.on(f,"blur",c)}else if(h=g.getElementsByTagName("button")[0])CodeMirror.on(h,"click",function(){c();i.focus()}),h.focus(),CodeMirror.on(h,"blur",c);return c});CodeMirror.defineExtension("openConfirm",function(h,d,a){function c(){k||(k=!0,g.parentNode.removeChild(g),i.focus())}var g=
l(this,h,a&&a.bottom),h=g.getElementsByTagName("button"),k=!1,i=this,f=1,b;h[0].focus();for(a=0;a<h.length;++a)b=h[a],function(a){CodeMirror.on(b,"click",function(b){CodeMirror.e_preventDefault(b);c();a&&a(i)})}(d[a]),CodeMirror.on(b,"blur",function(){--f;setTimeout(function(){0>=f&&c()},200)}),CodeMirror.on(b,"focus",function(){++f})})})();
(function(){function l(m){return"string"==typeof m?{token:function(a){if(a.match(m))return"searching";a.next();a.skipTo(m.charAt(0))||a.skipToEnd()}}:{token:function(a){if(a.match(m))return"searching";for(;!a.eol()&&!(a.next(),a.match(m,!1)););}}}function h(){this.overlay=this.posFrom=this.posTo=this.query=null}function d(a){return a.state.search||(a.state.search=new h)}function a(a,b,d){return a.getSearchCursor(b,d,"string"==typeof b&&b==b.toLowerCase())}function c(a,b,d,f){a.openDialog?a.openDialog(b,
f):f(prompt(d,""))}function g(a,b,d,f){a.openConfirm?a.openConfirm(b,f):confirm(d)&&f[0]()}function k(a){var b=a.match(/^\/(.*)\/([a-z]*)$/);return b?RegExp(b[1],-1==b[2].indexOf("i")?"":"i"):a}function i(a,b){var e=d(a);if(e.query)return f(a,b);c(a,j,"Search for:",function(d){a.operation(function(){d&&!e.query&&(e.query=k(d),a.removeOverlay(e.overlay),e.overlay=l(d),a.addOverlay(e.overlay),e.posFrom=e.posTo=a.getCursor(),f(a,b))})})}function f(b,e){b.operation(function(){var f=d(b),c=a(b,f.query,
e?f.posFrom:f.posTo);(c.find(e)||(c=a(b,f.query,e?CodeMirror.Pos(b.lastLine()):CodeMirror.Pos(b.firstLine(),0)),c.find(e)))&&(b.setSelection(c.from(),c.to()),f.posFrom=c.from(),f.posTo=c.to())})}function b(a){a.operation(function(){var b=d(a);b.query&&(b.query=null,a.removeOverlay(b.overlay))})}function q(f,d){c(f,e,"Replace:",function(e){e&&(e=k(e),c(f,n,"Replace with:",function(c){if(d)f.operation(function(){for(var b,d=a(f,e);d.findNext();)"string"!=typeof e?(b=f.getRange(d.from(),d.to()).match(e),
d.replace(c.replace(/\$(\d)/,function(a,f){return b[f]}))):d.replace(c)});else{b(f);var h=a(f,e,f.getCursor()),j=function(){var b=h.from(),d;((d=h.findNext())||(h=a(f,e),(d=h.findNext())&&(!b||h.from().line!=b.line||h.from().ch!=b.ch)))&&(f.setSelection(h.from(),h.to()),g(f,r,"Replace?",[function(){i(d)},j]))},i=function(a){h.replace("string"==typeof e?c:c.replace(/\$(\d)/,function(b,f){return a[f]}));j()};j()}}))})}var j='Search: <input type="text" style="width: 10em"/> <span style="color: #888">(Use /re/ syntax for regexp search)</span>',
e='Replace: <input type="text" style="width: 10em"/> <span style="color: #888">(Use /re/ syntax for regexp search)</span>',n='With: <input type="text" style="width: 10em"/>',r="Replace? <button>Yes</button> <button>No</button> <button>Stop</button>";CodeMirror.commands.find=function(a){b(a);i(a)};CodeMirror.commands.findNext=i;CodeMirror.commands.findPrev=function(a){i(a,!0)};CodeMirror.commands.clearSearch=b;CodeMirror.commands.replace=q;CodeMirror.commands.replaceAll=function(a){q(a,!0)}})();
(function(){function l(d,a,c,g){if(this.atOccurrence=!1,this.doc=d,null==g&&"string"==typeof a&&(g=!1),c=c?d.clipPos(c):h(0,0),this.pos={from:c,to:c},"string"!=typeof a)a.global||(a=RegExp(a.source,a.ignoreCase?"ig":"g")),this.matches=function(f,b){var c,j,e,g,i;if(f){a.lastIndex=0;c=d.getLine(b.line).slice(0,b.ch);for(j=0;!(a.lastIndex=j,i=a.exec(c),!i)&&!(e=i,g=e.index,j=e.index+(e[0].length||1),j==c.length););(j=e&&e[0].length||0)||(0==g&&0==c.length?e=void 0:g!=d.getLine(b.line).length&&j++)}else a.lastIndex=
b.ch,c=d.getLine(b.line),j=(e=a.exec(c))&&e[0].length||0,g=e&&e.index,g+j==c.length||j||(j=1);if(e&&j)return{from:h(b.line,g),to:h(b.line,g+j),match:e}};else{g&&(a=a.toLowerCase());var k=g?function(a){return a.toLowerCase()}:function(a){return a},i=a.split("\n");this.matches=1==i.length?a.length?function(f,b){var c=k(d.getLine(b.line)),g=a.length,e;if(f?b.ch>=g&&-1!=(e=c.lastIndexOf(a,b.ch-g)):-1!=(e=c.indexOf(a,b.ch)))return{from:h(b.line,e),to:h(b.line,e+g)}}:function(){}:function(a,b){var c=b.line,
g=a?i.length-1:0,e=i[g],n=k(d.getLine(c)),l=a?n.indexOf(e)+e.length:n.lastIndexOf(e),m,o,p;if(!(a?l>=b.ch||l!=e.length:l<=b.ch||l!=n.length-e.length))for(;!(a?!c:c==d.lineCount()-1);)if(n=k(d.getLine(c+=a?-1:1)),e=i[a?--g:++g],0<g&&g<i.length-1){if(n!=e)break}else return(m=a?n.lastIndexOf(e):n.indexOf(e)+e.length,a?m!=n.length-e.length:m!=e.length)?void 0:(o=h(b.line,l),p=h(c,m),{from:a?p:o,to:a?o:p})}}}var h=CodeMirror.Pos;l.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},
find:function(d){function a(a){a=h(a,0);return c.pos={from:a,to:a},c.atOccurrence=!1,!1}for(var c=this,g=this.doc.clipPos(d?this.pos.from:this.pos.to),k;;){if(this.pos=this.matches(d,g))return this.pos.from&&this.pos.to||console.log(this.matches,this.pos),this.atOccurrence=!0,this.pos.match||!0;if(d){if(!g.line)return a(0);g=h(g.line-1,this.doc.getLine(g.line-1).length)}else{if(k=this.doc.lineCount(),g.line==k-1)return a(k);g=h(g.line+1,0)}}},from:function(){if(this.atOccurrence)return this.pos.from},
to:function(){if(this.atOccurrence)return this.pos.to},replace:function(d){this.atOccurrence&&(d=CodeMirror.splitLines(d),this.doc.replaceRange(d,this.pos.from,this.pos.to),this.pos.to=h(this.pos.from.line+d.length-1,d[d.length-1].length+(1==d.length?this.pos.from.ch:0)))}};CodeMirror.defineExtension("getSearchCursor",function(d,a,c){return new l(this.doc,d,a,c)});CodeMirror.defineDocExtension("getSearchCursor",function(d,a,c){return new l(this,d,a,c)})})();

View File

@ -1,34 +0,0 @@
/*
Name: 3024 day
Author: Jan T. Sott (http://github.com/idleberg)
CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)
Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)
*/
.cm-s-3024-day.CodeMirror {background: #f7f7f7; color: #3a3432;}
.cm-s-3024-day div.CodeMirror-selected {background: #d6d5d4 !important;}
.cm-s-3024-day .CodeMirror-gutters {background: #f7f7f7; border-right: 0px;}
.cm-s-3024-day .CodeMirror-linenumber {color: #807d7c;}
.cm-s-3024-day .CodeMirror-cursor {border-left: 1px solid #5c5855 !important;}
.cm-s-3024-day span.cm-comment {color: #cdab53;}
.cm-s-3024-day span.cm-atom {color: #a16a94;}
.cm-s-3024-day span.cm-number {color: #a16a94;}
.cm-s-3024-day span.cm-property, .cm-s-3024-day span.cm-attribute {color: #01a252;}
.cm-s-3024-day span.cm-keyword {color: #db2d20;}
.cm-s-3024-day span.cm-string {color: #fded02;}
.cm-s-3024-day span.cm-variable {color: #01a252;}
.cm-s-3024-day span.cm-variable-2 {color: #01a0e4;}
.cm-s-3024-day span.cm-def {color: #e8bbd0;}
.cm-s-3024-day span.cm-bracket {color: #3a3432;}
.cm-s-3024-day span.cm-tag {color: #db2d20;}
.cm-s-3024-day span.cm-link {color: #a16a94;}
.cm-s-3024-day span.cm-error {background: #db2d20; color: #5c5855;}
.cm-s-3024-day .CodeMirror-activeline-background {background: #e8f2ff !important;}
.cm-s-3024-day .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}

View File

@ -1,34 +0,0 @@
/*
Name: 3024 night
Author: Jan T. Sott (http://github.com/idleberg)
CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)
Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)
*/
.cm-s-3024-night.CodeMirror {background: #090300; color: #d6d5d4;}
.cm-s-3024-night div.CodeMirror-selected {background: #3a3432 !important;}
.cm-s-3024-night .CodeMirror-gutters {background: #090300; border-right: 0px;}
.cm-s-3024-night .CodeMirror-linenumber {color: #5c5855;}
.cm-s-3024-night .CodeMirror-cursor {border-left: 1px solid #807d7c !important;}
.cm-s-3024-night span.cm-comment {color: #cdab53;}
.cm-s-3024-night span.cm-atom {color: #a16a94;}
.cm-s-3024-night span.cm-number {color: #a16a94;}
.cm-s-3024-night span.cm-property, .cm-s-3024-night span.cm-attribute {color: #01a252;}
.cm-s-3024-night span.cm-keyword {color: #db2d20;}
.cm-s-3024-night span.cm-string {color: #fded02;}
.cm-s-3024-night span.cm-variable {color: #01a252;}
.cm-s-3024-night span.cm-variable-2 {color: #01a0e4;}
.cm-s-3024-night span.cm-def {color: #e8bbd0;}
.cm-s-3024-night span.cm-bracket {color: #d6d5d4;}
.cm-s-3024-night span.cm-tag {color: #db2d20;}
.cm-s-3024-night span.cm-link {color: #a16a94;}
.cm-s-3024-night span.cm-error {background: #db2d20; color: #807d7c;}
.cm-s-3024-night .CodeMirror-activeline-background {background: #2F2F2F !important;}
.cm-s-3024-night .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}

Some files were not shown because too many files have changed in this diff Show More