Version Description
Interface tweaks
Download this release
Release Info
Developer | bungeshea |
Plugin | Code Snippets |
Version | 2.8.0 |
Comparing to | |
See all releases |
Code changes from version 2.7.0 to 2.8.0
- code-snippets.php +3 -3
- css/min/cmthemes/3024-day.css +1 -1
- css/min/cmthemes/3024-night.css +1 -1
- css/min/cmthemes/abcdef.css +1 -1
- css/min/cmthemes/ambiance.css +1 -1
- css/min/cmthemes/base16-dark.css +1 -1
- css/min/cmthemes/base16-light.css +1 -1
- css/min/cmthemes/bespin.css +1 -1
- css/min/cmthemes/blackboard.css +1 -1
- css/min/cmthemes/cobalt.css +1 -1
- css/min/cmthemes/dracula.css +1 -1
- css/min/cmthemes/eclipse.css +1 -1
- css/min/cmthemes/elegant.css +1 -1
- css/min/cmthemes/hopscotch.css +1 -1
- css/min/cmthemes/isotope.css +1 -1
- css/min/cmthemes/lesser-dark.css +1 -1
- css/min/cmthemes/liquibyte.css +1 -1
- css/min/cmthemes/mbo.css +1 -1
- css/min/cmthemes/mdn-like.css +1 -1
- css/min/cmthemes/midnight.css +1 -1
- css/min/cmthemes/monokai.css +1 -1
- css/min/cmthemes/neat.css +1 -1
- css/min/cmthemes/neo.css +1 -1
- css/min/cmthemes/night.css +1 -1
- css/min/cmthemes/panda-syntax.css +1 -1
- css/min/cmthemes/paraiso-dark.css +1 -1
- css/min/cmthemes/paraiso-light.css +1 -1
- css/min/cmthemes/pastel-on-dark.css +1 -1
- css/min/cmthemes/railscasts.css +1 -1
- css/min/cmthemes/rubyblue.css +1 -1
- css/min/cmthemes/seti.css +1 -1
- css/min/cmthemes/solarized.css +1 -1
- css/min/cmthemes/the-matrix.css +1 -1
- css/min/cmthemes/tomorrow-night-bright.css +1 -1
- css/min/cmthemes/tomorrow-night-eighties.css +1 -1
- css/min/cmthemes/ttcn.css +1 -1
- css/min/cmthemes/twilight.css +1 -1
- css/min/cmthemes/vibrant-ink.css +1 -1
- css/min/cmthemes/xq-dark.css +1 -1
- css/min/cmthemes/yeti.css +1 -1
- css/min/cmthemes/zenburn.css +1 -1
- css/min/codemirror.css +1 -1
- css/min/edit.css +1 -1
- css/min/manage.css +1 -1
- css/min/menu-icon.css +1 -1
- css/min/tagit.css +1 -1
- js/min/codemirror.js +7 -7
- js/min/tag-it.js +1 -1
- languages/code-snippets-de_DE.mo +0 -0
- languages/code-snippets-de_DE.po +369 -325
- languages/code-snippets-fr_FR.mo +0 -0
- languages/code-snippets-fr_FR.po +1 -1
- languages/code-snippets-it_IT.mo +0 -0
- languages/code-snippets-it_IT.po +6 -6
- languages/code-snippets-ja_JP.mo +0 -0
- languages/code-snippets-ja_JP.po +1 -1
- languages/code-snippets-nl_NL.mo +0 -0
- languages/code-snippets-nl_NL.po +912 -0
- languages/code-snippets-ru_RU.mo +0 -0
- languages/code-snippets-ru_RU.po +1 -1
- languages/code-snippets-sk_SK.mo +0 -0
- languages/code-snippets-sk_SK.po +1 -1
- languages/code-snippets-sr_RS.mo +0 -0
- languages/code-snippets-sr_RS.po +1 -1
- languages/code-snippets-zh_CN.po +1 -1
- languages/code-snippets.po +2 -2
- languages/code-snippets.pot +54 -42
- license.txt +1 -1
- php/admin-menus/class-edit-menu.php +11 -9
- php/admin-menus/class-import-menu.php +1 -1
- php/admin-menus/class-manage-menu.php +2 -2
- php/admin-menus/class-settings-menu.php +2 -2
- php/class-admin.php +1 -1
- php/class-contextual-help.php +2 -2
- php/class-export.php +1 -1
- php/class-list-table.php +10 -10
- php/editor.php +25 -1
- php/settings/editor-preview.php +1 -4
- php/settings/settings-fields.php +2 -2
- php/settings/settings.php +12 -1
- php/snippet-ops.php +16 -15
- php/views/edit.php +12 -5
- php/views/import.php +1 -1
- readme.txt +97 -77
code-snippets.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* @author Shea Bunge <shea@bungeshea.com>
|
11 |
* @copyright 2012-2016 Shea Bunge
|
12 |
* @license MIT http://opensource.org/licenses/MIT
|
13 |
-
* @version 2.
|
14 |
* @link https://github.com/sheabunge/code-snippets
|
15 |
*/
|
16 |
|
@@ -20,7 +20,7 @@ Plugin URI: https://github.com/sheabunge/code-snippets
|
|
20 |
Description: An easy, clean and simple way to add code snippets to your site. No need to edit to your theme's functions.php file again!
|
21 |
Author: Shea Bunge
|
22 |
Author URI: https://bungeshea.com
|
23 |
-
Version: 2.
|
24 |
License: MIT
|
25 |
License URI: license.txt
|
26 |
Text Domain: code-snippets
|
@@ -42,7 +42,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
42 |
* @since 2.0
|
43 |
* @var string A PHP-standardized version number string
|
44 |
*/
|
45 |
-
define( 'CODE_SNIPPETS_VERSION', '2.
|
46 |
|
47 |
/**
|
48 |
* The full path to the main file of this plugin
|
10 |
* @author Shea Bunge <shea@bungeshea.com>
|
11 |
* @copyright 2012-2016 Shea Bunge
|
12 |
* @license MIT http://opensource.org/licenses/MIT
|
13 |
+
* @version 2.8.0
|
14 |
* @link https://github.com/sheabunge/code-snippets
|
15 |
*/
|
16 |
|
20 |
Description: An easy, clean and simple way to add code snippets to your site. No need to edit to your theme's functions.php file again!
|
21 |
Author: Shea Bunge
|
22 |
Author URI: https://bungeshea.com
|
23 |
+
Version: 2.8.0
|
24 |
License: MIT
|
25 |
License URI: license.txt
|
26 |
Text Domain: code-snippets
|
42 |
* @since 2.0
|
43 |
* @var string A PHP-standardized version number string
|
44 |
*/
|
45 |
+
define( 'CODE_SNIPPETS_VERSION', '2.8.0' );
|
46 |
|
47 |
/**
|
48 |
* The full path to the main file of this plugin
|
css/min/cmthemes/3024-day.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-3024-day.CodeMirror{background:#f7f7f7;color:#3a3432}.cm-s-3024-day div.CodeMirror-selected{background:#d6d5d4}.cm-s-3024-day .CodeMirror-line::selection,.cm-s-3024-day .CodeMirror-line>span::selection,.cm-s-3024-day .CodeMirror-line>span>span::selection{background:#d6d5d4}.cm-s-3024-day .CodeMirror-line::-moz-selection,.cm-s-3024-day .CodeMirror-line>span::-moz-selection,.cm-s-3024-day .CodeMirror-line>span>span::selection{background:#d9d9d9}.cm-s-3024-day .CodeMirror-gutters{background:#f7f7f7;border-right:0}.cm-s-3024-day .CodeMirror-guttermarker{color:#db2d20}.cm-s-3024-day .CodeMirror-guttermarker-subtle,.cm-s-3024-day .CodeMirror-linenumber{color:#807d7c}.cm-s-3024-day .CodeMirror-cursor{border-left:1px solid #5c5855}.cm-s-3024-day span.cm-comment{color:#cdab53}.cm-s-3024-day span.cm-atom,.cm-s-3024-day span.cm-number{color:#a16a94}.cm-s-3024-day span.cm-
|
1 |
+
.cm-s-3024-day.CodeMirror{background:#f7f7f7;color:#3a3432}.cm-s-3024-day div.CodeMirror-selected{background:#d6d5d4}.cm-s-3024-day .CodeMirror-line::selection,.cm-s-3024-day .CodeMirror-line>span::selection,.cm-s-3024-day .CodeMirror-line>span>span::selection{background:#d6d5d4}.cm-s-3024-day .CodeMirror-line::-moz-selection,.cm-s-3024-day .CodeMirror-line>span::-moz-selection,.cm-s-3024-day .CodeMirror-line>span>span::selection{background:#d9d9d9}.cm-s-3024-day .CodeMirror-gutters{background:#f7f7f7;border-right:0}.cm-s-3024-day .CodeMirror-guttermarker{color:#db2d20}.cm-s-3024-day .CodeMirror-guttermarker-subtle,.cm-s-3024-day .CodeMirror-linenumber{color:#807d7c}.cm-s-3024-day .CodeMirror-cursor{border-left:1px solid #5c5855}.cm-s-3024-day span.cm-comment{color:#cdab53}.cm-s-3024-day span.cm-atom,.cm-s-3024-day span.cm-number{color:#a16a94}.cm-s-3024-day span.cm-attribute,.cm-s-3024-day span.cm-property{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}.cm-s-3024-day .CodeMirror-matchingbracket{text-decoration:underline;color:#a16a94!important}
|
css/min/cmthemes/3024-night.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-3024-night.CodeMirror{background:#090300;color:#d6d5d4}.cm-s-3024-night div.CodeMirror-selected{background:#3a3432}.cm-s-3024-night .CodeMirror-line::selection,.cm-s-3024-night .CodeMirror-line>span::selection,.cm-s-3024-night .CodeMirror-line>span>span::selection{background:rgba(58,52,50,.99)}.cm-s-3024-night .CodeMirror-line::-moz-selection,.cm-s-3024-night .CodeMirror-line>span::-moz-selection,.cm-s-3024-night .CodeMirror-line>span>span::-moz-selection{background:rgba(58,52,50,.99)}.cm-s-3024-night .CodeMirror-gutters{background:#090300;border-right:0}.cm-s-3024-night .CodeMirror-guttermarker{color:#db2d20}.cm-s-3024-night .CodeMirror-guttermarker-subtle,.cm-s-3024-night .CodeMirror-linenumber{color:#5c5855}.cm-s-3024-night .CodeMirror-cursor{border-left:1px solid #807d7c}.cm-s-3024-night span.cm-comment{color:#cdab53}.cm-s-3024-night span.cm-atom,.cm-s-3024-night span.cm-number{color:#a16a94}.cm-s-3024-night span.cm-
|
1 |
+
.cm-s-3024-night.CodeMirror{background:#090300;color:#d6d5d4}.cm-s-3024-night div.CodeMirror-selected{background:#3a3432}.cm-s-3024-night .CodeMirror-line::selection,.cm-s-3024-night .CodeMirror-line>span::selection,.cm-s-3024-night .CodeMirror-line>span>span::selection{background:rgba(58,52,50,.99)}.cm-s-3024-night .CodeMirror-line::-moz-selection,.cm-s-3024-night .CodeMirror-line>span::-moz-selection,.cm-s-3024-night .CodeMirror-line>span>span::-moz-selection{background:rgba(58,52,50,.99)}.cm-s-3024-night .CodeMirror-gutters{background:#090300;border-right:0}.cm-s-3024-night .CodeMirror-guttermarker{color:#db2d20}.cm-s-3024-night .CodeMirror-guttermarker-subtle,.cm-s-3024-night .CodeMirror-linenumber{color:#5c5855}.cm-s-3024-night .CodeMirror-cursor{border-left:1px solid #807d7c}.cm-s-3024-night span.cm-comment{color:#cdab53}.cm-s-3024-night span.cm-atom,.cm-s-3024-night span.cm-number{color:#a16a94}.cm-s-3024-night span.cm-attribute,.cm-s-3024-night span.cm-property{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}.cm-s-3024-night .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
|
css/min/cmthemes/abcdef.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-abcdef.CodeMirror{background:#0f0f0f;color:#defdef}.cm-s-abcdef div.CodeMirror-selected{background:#515151}.cm-s-abcdef .CodeMirror-line::selection,.cm-s-abcdef .CodeMirror-line>span::selection,.cm-s-abcdef .CodeMirror-line>span>span::selection{background:rgba(56,56,56,.99)}.cm-s-abcdef .CodeMirror-line::-moz-selection,.cm-s-abcdef .CodeMirror-line>span::-moz-selection,.cm-s-abcdef .CodeMirror-line>span>span::-moz-selection{background:rgba(56,56,56,.99)}.cm-s-abcdef .CodeMirror-gutters{background:#555;border-right:2px solid #314151}.cm-s-abcdef .CodeMirror-guttermarker{color:#222}.cm-s-abcdef .CodeMirror-guttermarker-subtle{color:azure}.cm-s-abcdef .CodeMirror-linenumber{color:#
|
1 |
+
.cm-s-abcdef.CodeMirror{background:#0f0f0f;color:#defdef}.cm-s-abcdef div.CodeMirror-selected{background:#515151}.cm-s-abcdef .CodeMirror-line::selection,.cm-s-abcdef .CodeMirror-line>span::selection,.cm-s-abcdef .CodeMirror-line>span>span::selection{background:rgba(56,56,56,.99)}.cm-s-abcdef .CodeMirror-line::-moz-selection,.cm-s-abcdef .CodeMirror-line>span::-moz-selection,.cm-s-abcdef .CodeMirror-line>span>span::-moz-selection{background:rgba(56,56,56,.99)}.cm-s-abcdef .CodeMirror-gutters{background:#555;border-right:2px solid #314151}.cm-s-abcdef .CodeMirror-guttermarker{color:#222}.cm-s-abcdef .CodeMirror-guttermarker-subtle{color:azure}.cm-s-abcdef .CodeMirror-linenumber{color:#fff}.cm-s-abcdef .CodeMirror-cursor{border-left:1px solid #0f0}.cm-s-abcdef span.cm-keyword{color:#b8860b;font-weight:700}.cm-s-abcdef span.cm-atom{color:#77f}.cm-s-abcdef span.cm-number{color:violet}.cm-s-abcdef span.cm-def{color:#fffabc}.cm-s-abcdef span.cm-variable{color:#abcdef}.cm-s-abcdef span.cm-variable-2{color:#cacbcc}.cm-s-abcdef span.cm-variable-3{color:#def}.cm-s-abcdef span.cm-property{color:#fedcba}.cm-s-abcdef span.cm-operator{color:#ff0}.cm-s-abcdef span.cm-comment{color:#7a7b7c;font-style:italic}.cm-s-abcdef span.cm-string{color:#2b4}.cm-s-abcdef span.cm-meta{color:#c9f}.cm-s-abcdef span.cm-qualifier{color:#fff700}.cm-s-abcdef span.cm-builtin{color:#30aabc}.cm-s-abcdef span.cm-bracket{color:#8a8a8a}.cm-s-abcdef span.cm-tag{color:#fd4}.cm-s-abcdef span.cm-attribute{color:#df0}.cm-s-abcdef span.cm-error{color:red}.cm-s-abcdef span.cm-header{color:#7fffd4;font-weight:700}.cm-s-abcdef span.cm-link{color:#8a2be2}.cm-s-abcdef .CodeMirror-activeline-background{background:#314151}
|
css/min/cmthemes/ambiance.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-ambiance .cm-header{color:#00f}.cm-s-ambiance .cm-quote{color:#24c2c7}.cm-s-ambiance .cm-keyword{color:#cda869}.cm-s-ambiance .cm-atom{color:#cf7ea9}.cm-s-ambiance .cm-number{color:#78cf8a}.cm-s-ambiance .cm-def{color:#aac6e3}.cm-s-ambiance .cm-variable{color:#ffb795}.cm-s-ambiance .cm-variable-2{color:#eed1b3}.cm-s-ambiance .cm-variable-3{color:#faded3}.cm-s-ambiance .cm-property{color:#eed1b3}.cm-s-ambiance .cm-operator{color:#fa8d6a}.cm-s-ambiance .cm-comment{color:#555;font-style:italic}.cm-s-ambiance .cm-string{color:#8f9d6a}.cm-s-ambiance .cm-string-2{color:#9d937c}.cm-s-ambiance .cm-meta{color:#d2a8a1}.cm-s-ambiance .cm-qualifier{color:#ff0}.cm-s-ambiance .cm-builtin{color:#99c}.cm-s-ambiance .cm-bracket{color:#24c2c7}.cm-s-ambiance .cm-tag{color:#fee4ff}.cm-s-ambiance .cm-attribute{color:#9b859d}.cm-s-ambiance .cm-hr{color:pink}.cm-s-ambiance .cm-link{color:#f4c20b}.cm-s-ambiance .cm-special{color:#ff9d00}.cm-s-ambiance .cm-error{color:#af2018}.cm-s-ambiance .CodeMirror-matchingbracket{color:#0f0}.cm-s-ambiance .CodeMirror-nonmatchingbracket{color:#f22}.cm-s-ambiance div.CodeMirror-selected{background:rgba(255,255,255,.15)}.cm-s-ambiance.CodeMirror-focused div.CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-ambiance .CodeMirror-line::selection,.cm-s-ambiance .CodeMirror-line>span::selection,.cm-s-ambiance .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-ambiance .CodeMirror-line::-moz-selection,.cm-s-ambiance .CodeMirror-line>span::-moz-selection,.cm-s-ambiance .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-ambiance.CodeMirror{line-height:1.4em;color:#e6e1dc;background-color:#202020;-webkit-box-shadow:inset 0 0 10px #000;-moz-box-shadow:inset 0 0 10px #000;box-shadow:inset 0 0 10px #000}.cm-s-ambiance .CodeMirror-gutters{background:#3d3d3d;border-right:1px solid #4d4d4d;box-shadow:0 10px 20px #000}.cm-s-ambiance .CodeMirror-linenumber{text-shadow:0 1px 1px #4d4d4d;color:#111;padding:0 5px}.cm-s-ambiance .CodeMirror-guttermarker{color:#aaa}.cm-s-ambiance .CodeMirror-guttermarker-subtle{color:#111}.cm-s-ambiance .CodeMirror-cursor{border-left:1px solid #7991e8}.cm-s-ambiance .CodeMirror-activeline-background{background:0% 0% rgba(255,255,255,.031)}.cm-s-ambiance.CodeMirror,.cm-s-ambiance .CodeMirror-gutters{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAABFFUlEQVQYGbzBCeDVU/74/6fj9HIcx/FRHx9JCFmzMyGRURhLZIkUsoeRfUjS2FNDtr6WkMhO9sm+S8maJfu+Jcsg+/o/c+Z4z/t97/vezy3z+z8ekGlnYICG/o7gdk+wmSHZ1z4pJItqapjoKXWahm8NmV6eOTbWUOp6/6a/XIg6GQqmenJ2lDHyvCFZ2cBDbmtHA043VFhHwXxClWmeYAdLhV00Bd85go8VmaFCkbVkzlQENzfBDZ5gtN7HwF0KDrTwJ0dypSOzpaKCMwQHKTIreYIxlmhXTzTWkVm+LTynZhiSBT3RZQ7aGfjGEd3qyXQ1FDymqbKxpspERQN2MiRjNZlFFQXfCNFm9nM1zpAsoYjmtRTc5ajwuaXc5xrWskT97RaKzAGe5ARHhVUsDbjKklziiX5WROcJwSNCNI+9w1Jwv4Zb2r7lCMZ4oq5C0EdTx+2GzNuKpJ+iFf38JEWkHJn9DNF7mmBDITrWEg0VWL3pHU20tSZnuqWu+R3BtYa8XxV1HO7GyD32UkOpL/yDloINFTmvtId+nmAjxRw40VMwVKiwrKLE4bK5UOVntYwhOcSSXKrJHKPJedocpGjVz/ZMIbnYUPB10/eKCrs5apqpgVmWzBYWpmtKHecJPjaUuEgRDDaU0oZghCJ6zNMQ5ZhDYx05r5v2muQdM0EILtXUsaKiQX9WMEUotagQzFbUNN6NUPC2nm5pxEWG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ElYqyjrF4HXUeFspIi9IGKf4j92pKGAdCYMVsbcV3kRF0N+R8LUd5PCsIGWoxDtBkCI0nKofdJQxT+LtZflvuc8Q3CjwWkq8KwUpHzkK/NmSsclCL0nseQdj5FRH5CNHSgtLiW80Of5HU9Hhlsga9bnBq3fEVltKfO5IaSTmGjjc4J0otcP7QsJUSQM8pEj5/wCuUuC2DWz8AAAAAElFTkSuQmCC")}
|
1 |
+
.cm-s-ambiance .cm-header{color:#00f}.cm-s-ambiance .cm-quote{color:#24c2c7}.cm-s-ambiance .cm-keyword{color:#cda869}.cm-s-ambiance .cm-atom{color:#cf7ea9}.cm-s-ambiance .cm-number{color:#78cf8a}.cm-s-ambiance .cm-def{color:#aac6e3}.cm-s-ambiance .cm-variable{color:#ffb795}.cm-s-ambiance .cm-variable-2{color:#eed1b3}.cm-s-ambiance .cm-variable-3{color:#faded3}.cm-s-ambiance .cm-property{color:#eed1b3}.cm-s-ambiance .cm-operator{color:#fa8d6a}.cm-s-ambiance .cm-comment{color:#555;font-style:italic}.cm-s-ambiance .cm-string{color:#8f9d6a}.cm-s-ambiance .cm-string-2{color:#9d937c}.cm-s-ambiance .cm-meta{color:#d2a8a1}.cm-s-ambiance .cm-qualifier{color:#ff0}.cm-s-ambiance .cm-builtin{color:#99c}.cm-s-ambiance .cm-bracket{color:#24c2c7}.cm-s-ambiance .cm-tag{color:#fee4ff}.cm-s-ambiance .cm-attribute{color:#9b859d}.cm-s-ambiance .cm-hr{color:pink}.cm-s-ambiance .cm-link{color:#f4c20b}.cm-s-ambiance .cm-special{color:#ff9d00}.cm-s-ambiance .cm-error{color:#af2018}.cm-s-ambiance .CodeMirror-matchingbracket{color:#0f0}.cm-s-ambiance .CodeMirror-nonmatchingbracket{color:#f22}.cm-s-ambiance div.CodeMirror-selected{background:rgba(255,255,255,.15)}.cm-s-ambiance.CodeMirror-focused div.CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-ambiance .CodeMirror-line::selection,.cm-s-ambiance .CodeMirror-line>span::selection,.cm-s-ambiance .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-ambiance .CodeMirror-line::-moz-selection,.cm-s-ambiance .CodeMirror-line>span::-moz-selection,.cm-s-ambiance .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-ambiance.CodeMirror{line-height:1.4em;color:#e6e1dc;background-color:#202020;-webkit-box-shadow:inset 0 0 10px #000;-moz-box-shadow:inset 0 0 10px #000;box-shadow:inset 0 0 10px #000}.cm-s-ambiance .CodeMirror-gutters{background:#3d3d3d;border-right:1px solid #4d4d4d;box-shadow:0 10px 20px #000}.cm-s-ambiance .CodeMirror-linenumber{text-shadow:0 1px 1px #4d4d4d;color:#111;padding:0 5px}.cm-s-ambiance .CodeMirror-guttermarker{color:#aaa}.cm-s-ambiance .CodeMirror-guttermarker-subtle{color:#111}.cm-s-ambiance .CodeMirror-cursor{border-left:1px solid #7991e8}.cm-s-ambiance .CodeMirror-activeline-background{background:0% 0% rgba(255,255,255,.031)}.cm-s-ambiance .CodeMirror-gutters,.cm-s-ambiance.CodeMirror{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAABFFUlEQVQYGbzBCeDVU/74/6fj9HIcx/FRHx9JCFmzMyGRURhLZIkUsoeRfUjS2FNDtr6WkMhO9sm+S8maJfu+Jcsg+/o/c+Z4z/t97/vezy3z+z8ekGlnYICG/o7gdk+wmSHZ1z4pJItqapjoKXWahm8NmV6eOTbWUOp6/6a/XIg6GQqmenJ2lDHyvCFZ2cBDbmtHA043VFhHwXxClWmeYAdLhV00Bd85go8VmaFCkbVkzlQENzfBDZ5gtN7HwF0KDrTwJ0dypSOzpaKCMwQHKTIreYIxlmhXTzTWkVm+LTynZhiSBT3RZQ7aGfjGEd3qyXQ1FDymqbKxpspERQN2MiRjNZlFFQXfCNFm9nM1zpAsoYjmtRTc5ajwuaXc5xrWskT97RaKzAGe5ARHhVUsDbjKklzii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MkaSsqoVXJBmP7EpFZ9UQfOoOFwSzBN4MQ8LsGrymlipcJQhmy0GaQjPqCHaXRwuCZwRbqK2Fg9wlClZqYicrIgMdZfxTQ0c7TBIbrChxmuzoKG8XRaSrIhhiyNFJkrC7oIAWMEOQa5aBekPCRknCo4IKPrYkvCDI8aYmY7WFtprgekcJZ3oLIqssCSMtFbQTJKwXYy3BY5oCh2iKPCpJOE+zRdpYgi6O2KmOAgvVCYaU4ySRek1sgyFhJ403QFHiVEmJHwtybO1gs8Hr5+BETQX3War0qZngYGgtVZtoqd6vFSk/UwdZElYqyjrF4HXUeFspIi9IGKf4j92pKGAdCYMVsbcV3kRF0N+R8LUd5PCsIGWoxDtBkCI0nKofdJQxT+LtZflvuc8Q3CjwWkq8KwUpHzkK/NmSsclCL0nseQdj5FRH5CNHSgtLiW80Of5HU9Hhlsga9bnBq3fEVltKfO5IaSTmGjjc4J0otcP7QsJUSQM8pEj5/wCuUuC2DWz8AAAAAElFTkSuQmCC)}
|
css/min/cmthemes/base16-dark.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-base16-dark.CodeMirror{background:#151515;color:#e0e0e0}.cm-s-base16-dark div.CodeMirror-selected{background:#303030}.cm-s-base16-dark .CodeMirror-line::selection,.cm-s-base16-dark .CodeMirror-line>span::selection,.cm-s-base16-dark .CodeMirror-line>span>span::selection{background:rgba(48,48,48,.99)}.cm-s-base16-dark .CodeMirror-line::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(48,48,48,.99)}.cm-s-base16-dark .CodeMirror-gutters{background:#151515;border-right:0}.cm-s-base16-dark .CodeMirror-guttermarker{color:#ac4142}.cm-s-base16-dark .CodeMirror-guttermarker-subtle,.cm-s-base16-dark .CodeMirror-linenumber{color:#505050}.cm-s-base16-dark .CodeMirror-cursor{border-left:1px solid #b0b0b0}.cm-s-base16-dark span.cm-comment{color:#8f5536}.cm-s-base16-dark span.cm-atom,.cm-s-base16-dark span.cm-number{color:#aa759f}.cm-s-base16-dark span.cm-
|
1 |
+
.cm-s-base16-dark.CodeMirror{background:#151515;color:#e0e0e0}.cm-s-base16-dark div.CodeMirror-selected{background:#303030}.cm-s-base16-dark .CodeMirror-line::selection,.cm-s-base16-dark .CodeMirror-line>span::selection,.cm-s-base16-dark .CodeMirror-line>span>span::selection{background:rgba(48,48,48,.99)}.cm-s-base16-dark .CodeMirror-line::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(48,48,48,.99)}.cm-s-base16-dark .CodeMirror-gutters{background:#151515;border-right:0}.cm-s-base16-dark .CodeMirror-guttermarker{color:#ac4142}.cm-s-base16-dark .CodeMirror-guttermarker-subtle,.cm-s-base16-dark .CodeMirror-linenumber{color:#505050}.cm-s-base16-dark .CodeMirror-cursor{border-left:1px solid #b0b0b0}.cm-s-base16-dark span.cm-comment{color:#8f5536}.cm-s-base16-dark span.cm-atom,.cm-s-base16-dark span.cm-number{color:#aa759f}.cm-s-base16-dark span.cm-attribute,.cm-s-base16-dark span.cm-property{color:#90a959}.cm-s-base16-dark span.cm-keyword{color:#ac4142}.cm-s-base16-dark span.cm-string{color:#f4bf75}.cm-s-base16-dark span.cm-variable{color:#90a959}.cm-s-base16-dark span.cm-variable-2{color:#6a9fb5}.cm-s-base16-dark span.cm-def{color:#d28445}.cm-s-base16-dark span.cm-bracket{color:#e0e0e0}.cm-s-base16-dark span.cm-tag{color:#ac4142}.cm-s-base16-dark span.cm-link{color:#aa759f}.cm-s-base16-dark span.cm-error{background:#ac4142;color:#b0b0b0}.cm-s-base16-dark .CodeMirror-activeline-background{background:#202020}.cm-s-base16-dark .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
|
css/min/cmthemes/base16-light.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-base16-light.CodeMirror{background:#f5f5f5;color:#202020}.cm-s-base16-light div.CodeMirror-selected{background:#e0e0e0}.cm-s-base16-light .CodeMirror-line::selection,.cm-s-base16-light .CodeMirror-line>span::selection,.cm-s-base16-light .CodeMirror-line>span>span::selection{background:#e0e0e0}.cm-s-base16-light .CodeMirror-line::-moz-selection,.cm-s-base16-light .CodeMirror-line>span::-moz-selection,.cm-s-base16-light .CodeMirror-line>span>span::-moz-selection{background:#e0e0e0}.cm-s-base16-light .CodeMirror-gutters{background:#f5f5f5;border-right:0}.cm-s-base16-light .CodeMirror-guttermarker{color:#ac4142}.cm-s-base16-light .CodeMirror-guttermarker-subtle,.cm-s-base16-light .CodeMirror-linenumber{color:#b0b0b0}.cm-s-base16-light .CodeMirror-cursor{border-left:1px solid #505050}.cm-s-base16-light span.cm-comment{color:#8f5536}.cm-s-base16-light span.cm-atom,.cm-s-base16-light span.cm-number{color:#aa759f}.cm-s-base16-light span.cm-
|
1 |
+
.cm-s-base16-light.CodeMirror{background:#f5f5f5;color:#202020}.cm-s-base16-light div.CodeMirror-selected{background:#e0e0e0}.cm-s-base16-light .CodeMirror-line::selection,.cm-s-base16-light .CodeMirror-line>span::selection,.cm-s-base16-light .CodeMirror-line>span>span::selection{background:#e0e0e0}.cm-s-base16-light .CodeMirror-line::-moz-selection,.cm-s-base16-light .CodeMirror-line>span::-moz-selection,.cm-s-base16-light .CodeMirror-line>span>span::-moz-selection{background:#e0e0e0}.cm-s-base16-light .CodeMirror-gutters{background:#f5f5f5;border-right:0}.cm-s-base16-light .CodeMirror-guttermarker{color:#ac4142}.cm-s-base16-light .CodeMirror-guttermarker-subtle,.cm-s-base16-light .CodeMirror-linenumber{color:#b0b0b0}.cm-s-base16-light .CodeMirror-cursor{border-left:1px solid #505050}.cm-s-base16-light span.cm-comment{color:#8f5536}.cm-s-base16-light span.cm-atom,.cm-s-base16-light span.cm-number{color:#aa759f}.cm-s-base16-light span.cm-attribute,.cm-s-base16-light span.cm-property{color:#90a959}.cm-s-base16-light span.cm-keyword{color:#ac4142}.cm-s-base16-light span.cm-string{color:#f4bf75}.cm-s-base16-light span.cm-variable{color:#90a959}.cm-s-base16-light span.cm-variable-2{color:#6a9fb5}.cm-s-base16-light span.cm-def{color:#d28445}.cm-s-base16-light span.cm-bracket{color:#202020}.cm-s-base16-light span.cm-tag{color:#ac4142}.cm-s-base16-light span.cm-link{color:#aa759f}.cm-s-base16-light span.cm-error{background:#ac4142;color:#505050}.cm-s-base16-light .CodeMirror-activeline-background{background:#dddcdc}.cm-s-base16-light .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
|
css/min/cmthemes/bespin.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-bespin.CodeMirror{background:#28211c;color:#9d9b97}.cm-s-bespin div.CodeMirror-selected{background:#36312e!important}.cm-s-bespin .CodeMirror-gutters{background:#28211c;border-right:0}.cm-s-bespin .CodeMirror-linenumber{color:#666}.cm-s-bespin .CodeMirror-cursor{border-left:1px solid #797977!important}.cm-s-bespin span.cm-comment{color:#937121}.cm-s-bespin span.cm-atom,.cm-s-bespin span.cm-number{color:#9b859d}.cm-s-bespin span.cm-
|
1 |
+
.cm-s-bespin.CodeMirror{background:#28211c;color:#9d9b97}.cm-s-bespin div.CodeMirror-selected{background:#36312e!important}.cm-s-bespin .CodeMirror-gutters{background:#28211c;border-right:0}.cm-s-bespin .CodeMirror-linenumber{color:#666}.cm-s-bespin .CodeMirror-cursor{border-left:1px solid #797977!important}.cm-s-bespin span.cm-comment{color:#937121}.cm-s-bespin span.cm-atom,.cm-s-bespin span.cm-number{color:#9b859d}.cm-s-bespin span.cm-attribute,.cm-s-bespin span.cm-property{color:#54be0d}.cm-s-bespin span.cm-keyword{color:#cf6a4c}.cm-s-bespin span.cm-string{color:#f9ee98}.cm-s-bespin span.cm-variable{color:#54be0d}.cm-s-bespin span.cm-variable-2{color:#5ea6ea}.cm-s-bespin span.cm-def{color:#cf7d34}.cm-s-bespin span.cm-error{background:#cf6a4c;color:#797977}.cm-s-bespin span.cm-bracket{color:#9d9b97}.cm-s-bespin span.cm-tag{color:#cf6a4c}.cm-s-bespin span.cm-link{color:#9b859d}.cm-s-bespin .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-bespin .CodeMirror-activeline-background{background:#404040}
|
css/min/cmthemes/blackboard.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #a7a7a7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-
|
1 |
+
.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #a7a7a7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-attribute,.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{outline:1px solid gray;color:#fff!important}
|
css/min/cmthemes/cobalt.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-cobalt.CodeMirror{background:#002240;color:#fff}.cm-s-cobalt div.CodeMirror-selected{background:#b36539}.cm-s-cobalt .CodeMirror-line::selection,.cm-s-cobalt .CodeMirror-line>span::selection,.cm-s-cobalt .CodeMirror-line>span>span::selection{background:rgba(179,101,57,.99)}.cm-s-cobalt .CodeMirror-line::-moz-selection,.cm-s-cobalt .CodeMirror-line>span::-moz-selection,.cm-s-cobalt .CodeMirror-line>span>span::-moz-selection{background:rgba(179,101,57,.99)}.cm-s-cobalt .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-cobalt .CodeMirror-guttermarker{color:#ffee80}.cm-s-cobalt .CodeMirror-guttermarker-subtle,.cm-s-cobalt .CodeMirror-linenumber{color:#d0d0d0}.cm-s-cobalt .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-cobalt span.cm-comment{color:#08f}.cm-s-cobalt span.cm-atom{color:#845dc4}.cm-s-cobalt span.cm-
|
1 |
+
.cm-s-cobalt.CodeMirror{background:#002240;color:#fff}.cm-s-cobalt div.CodeMirror-selected{background:#b36539}.cm-s-cobalt .CodeMirror-line::selection,.cm-s-cobalt .CodeMirror-line>span::selection,.cm-s-cobalt .CodeMirror-line>span>span::selection{background:rgba(179,101,57,.99)}.cm-s-cobalt .CodeMirror-line::-moz-selection,.cm-s-cobalt .CodeMirror-line>span::-moz-selection,.cm-s-cobalt .CodeMirror-line>span>span::-moz-selection{background:rgba(179,101,57,.99)}.cm-s-cobalt .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-cobalt .CodeMirror-guttermarker{color:#ffee80}.cm-s-cobalt .CodeMirror-guttermarker-subtle,.cm-s-cobalt .CodeMirror-linenumber{color:#d0d0d0}.cm-s-cobalt .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-cobalt span.cm-comment{color:#08f}.cm-s-cobalt span.cm-atom{color:#845dc4}.cm-s-cobalt span.cm-attribute,.cm-s-cobalt span.cm-number{color:#ff80e1}.cm-s-cobalt span.cm-keyword{color:#ffee80}.cm-s-cobalt span.cm-string{color:#3ad900}.cm-s-cobalt span.cm-meta{color:#ff9d00}.cm-s-cobalt span.cm-tag,.cm-s-cobalt span.cm-variable-2{color:#9effff}.cm-s-cobalt span.cm-def,.cm-s-cobalt span.cm-variable-3{color:#fff}.cm-s-cobalt span.cm-bracket{color:#d8d8d8}.cm-s-cobalt span.cm-builtin,.cm-s-cobalt span.cm-special{color:#ff9e59}.cm-s-cobalt span.cm-link{color:#845dc4}.cm-s-cobalt span.cm-error{color:#9d1e15}.cm-s-cobalt .CodeMirror-activeline-background{background:#002d57}.cm-s-cobalt .CodeMirror-matchingbracket{outline:1px solid gray;color:#fff!important}
|
css/min/cmthemes/dracula.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-dracula.CodeMirror,.cm-s-dracula
|
1 |
+
.cm-s-dracula .CodeMirror-gutters,.cm-s-dracula.CodeMirror{background-color:#282a36!important;color:#f8f8f2!important;border:none}.cm-s-dracula .CodeMirror-gutters{}.cm-s-dracula .CodeMirror-cursor{border-left:solid thin #f8f8f0}.cm-s-dracula .CodeMirror-linenumber{color:#6d8a88}.cm-s-dracula .CodeMirror-activeline-background,.cm-s-dracula .CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-dracula .CodeMirror-line::selection,.cm-s-dracula .CodeMirror-line>span::selection,.cm-s-dracula .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-dracula .CodeMirror-line::-moz-selection,.cm-s-dracula .CodeMirror-line>span::-moz-selection,.cm-s-dracula .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-dracula span.cm-comment{color:#6272a4}.cm-s-dracula span.cm-string,.cm-s-dracula span.cm-string-2{color:#f1fa8c}.cm-s-dracula span.cm-number{color:#bd93f9}.cm-s-dracula span.cm-variable{color:#50fa7b}.cm-s-dracula span.cm-variable-2{color:#fff}.cm-s-dracula span.cm-def{color:#ffb86c}.cm-s-dracula span.cm-keyword,.cm-s-dracula span.cm-operator{color:#ff79c6}.cm-s-dracula span.cm-atom{color:#bd93f9}.cm-s-dracula span.cm-meta{color:#f8f8f2}.cm-s-dracula span.cm-tag{color:#ff79c6}.cm-s-dracula span.cm-attribute,.cm-s-dracula span.cm-qualifier{color:#50fa7b}.cm-s-dracula span.cm-property{color:#66d9ef}.cm-s-dracula span.cm-builtin,.cm-s-dracula span.cm-variable-3{color:#50fa7b}.cm-s-dracula .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
|
css/min/cmthemes/eclipse.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-eclipse span.cm-meta{color:#ff1717}.cm-s-eclipse span.cm-keyword{line-height:1em;font-weight:700;color:#7f0055}.cm-s-eclipse span.cm-atom{color:#219}.cm-s-eclipse span.cm-number{color:#164}.cm-s-eclipse span.cm-def{color:#00f}.cm-s-eclipse span.cm-variable{color:#000}.cm-s-eclipse span.cm-variable-2,.cm-s-eclipse span.cm-variable-3{color:#0000c0}.cm-s-eclipse span.cm-
|
1 |
+
.cm-s-eclipse span.cm-meta{color:#ff1717}.cm-s-eclipse span.cm-keyword{line-height:1em;font-weight:700;color:#7f0055}.cm-s-eclipse span.cm-atom{color:#219}.cm-s-eclipse span.cm-number{color:#164}.cm-s-eclipse span.cm-def{color:#00f}.cm-s-eclipse span.cm-variable{color:#000}.cm-s-eclipse span.cm-variable-2,.cm-s-eclipse span.cm-variable-3{color:#0000c0}.cm-s-eclipse span.cm-operator,.cm-s-eclipse span.cm-property{color:#000}.cm-s-eclipse span.cm-comment{color:#3f7f5f}.cm-s-eclipse span.cm-string{color:#2a00ff}.cm-s-eclipse span.cm-string-2{color:#f50}.cm-s-eclipse span.cm-qualifier{color:#555}.cm-s-eclipse span.cm-builtin{color:#30a}.cm-s-eclipse span.cm-bracket{color:#cc7}.cm-s-eclipse span.cm-tag{color:#170}.cm-s-eclipse span.cm-attribute{color:#00c}.cm-s-eclipse span.cm-link{color:#219}.cm-s-eclipse span.cm-error{color:red}.cm-s-eclipse .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-eclipse .CodeMirror-matchingbracket{outline:1px solid gray;color:#000!important}
|
css/min/cmthemes/elegant.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-elegant span.cm-
|
1 |
+
.cm-s-elegant span.cm-atom,.cm-s-elegant span.cm-number,.cm-s-elegant span.cm-string{color:#762}.cm-s-elegant span.cm-comment,.cm-s-elegant span.cm-meta{color:#262;font-style:italic;line-height:1em}.cm-s-elegant span.cm-meta{color:#555}.cm-s-elegant span.cm-variable{color:#000}.cm-s-elegant span.cm-variable-2{color:#b11}.cm-s-elegant span.cm-qualifier{color:#555}.cm-s-elegant span.cm-keyword{color:#730}.cm-s-elegant span.cm-builtin{color:#30a}.cm-s-elegant span.cm-link{color:#762}.cm-s-elegant span.cm-error{background-color:#fdd}.cm-s-elegant .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-elegant .CodeMirror-matchingbracket{outline:1px solid gray;color:#000!important}
|
css/min/cmthemes/hopscotch.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-hopscotch.CodeMirror{background:#322931;color:#d5d3d5}.cm-s-hopscotch div.CodeMirror-selected{background:#433b42!important}.cm-s-hopscotch .CodeMirror-gutters{background:#322931;border-right:0}.cm-s-hopscotch .CodeMirror-linenumber{color:#797379}.cm-s-hopscotch .CodeMirror-cursor{border-left:1px solid #989498!important}.cm-s-hopscotch span.cm-comment{color:#b33508}.cm-s-hopscotch span.cm-atom,.cm-s-hopscotch span.cm-number{color:#c85e7c}.cm-s-hopscotch span.cm-
|
1 |
+
.cm-s-hopscotch.CodeMirror{background:#322931;color:#d5d3d5}.cm-s-hopscotch div.CodeMirror-selected{background:#433b42!important}.cm-s-hopscotch .CodeMirror-gutters{background:#322931;border-right:0}.cm-s-hopscotch .CodeMirror-linenumber{color:#797379}.cm-s-hopscotch .CodeMirror-cursor{border-left:1px solid #989498!important}.cm-s-hopscotch span.cm-comment{color:#b33508}.cm-s-hopscotch span.cm-atom,.cm-s-hopscotch span.cm-number{color:#c85e7c}.cm-s-hopscotch span.cm-attribute,.cm-s-hopscotch span.cm-property{color:#8fc13e}.cm-s-hopscotch span.cm-keyword{color:#dd464c}.cm-s-hopscotch span.cm-string{color:#fdcc59}.cm-s-hopscotch span.cm-variable{color:#8fc13e}.cm-s-hopscotch span.cm-variable-2{color:#1290bf}.cm-s-hopscotch span.cm-def{color:#fd8b19}.cm-s-hopscotch span.cm-error{background:#dd464c;color:#989498}.cm-s-hopscotch span.cm-bracket{color:#d5d3d5}.cm-s-hopscotch span.cm-tag{color:#dd464c}.cm-s-hopscotch span.cm-link{color:#c85e7c}.cm-s-hopscotch .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-hopscotch .CodeMirror-activeline-background{background:#302020}
|
css/min/cmthemes/isotope.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-isotope.CodeMirror{background:#000;color:#e0e0e0}.cm-s-isotope div.CodeMirror-selected{background:#404040!important}.cm-s-isotope .CodeMirror-gutters{background:#000;border-right:0}.cm-s-isotope .CodeMirror-linenumber{color:gray}.cm-s-isotope .CodeMirror-cursor{border-left:1px solid silver!important}.cm-s-isotope span.cm-comment{color:#30f}.cm-s-isotope span.cm-atom,.cm-s-isotope span.cm-number{color:#c0f}.cm-s-isotope span.cm-
|
1 |
+
.cm-s-isotope.CodeMirror{background:#000;color:#e0e0e0}.cm-s-isotope div.CodeMirror-selected{background:#404040!important}.cm-s-isotope .CodeMirror-gutters{background:#000;border-right:0}.cm-s-isotope .CodeMirror-linenumber{color:gray}.cm-s-isotope .CodeMirror-cursor{border-left:1px solid silver!important}.cm-s-isotope span.cm-comment{color:#30f}.cm-s-isotope span.cm-atom,.cm-s-isotope span.cm-number{color:#c0f}.cm-s-isotope span.cm-attribute,.cm-s-isotope span.cm-property{color:#3f0}.cm-s-isotope span.cm-keyword{color:red}.cm-s-isotope span.cm-string{color:#f09}.cm-s-isotope span.cm-variable{color:#3f0}.cm-s-isotope span.cm-variable-2{color:#06f}.cm-s-isotope span.cm-def{color:#f90}.cm-s-isotope span.cm-error{background:red;color:silver}.cm-s-isotope span.cm-bracket{color:#e0e0e0}.cm-s-isotope span.cm-tag{color:red}.cm-s-isotope span.cm-link{color:#c0f}.cm-s-isotope .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-isotope .CodeMirror-activeline-background{background:#202020}
|
css/min/cmthemes/lesser-dark.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-lesser-dark{line-height:1.3em}.cm-s-lesser-dark.CodeMirror{background:#262626;color:#ebefe7;text-shadow:0 -1px 1px #262626}.cm-s-lesser-dark div.CodeMirror-selected{background:#45443b}.cm-s-lesser-dark .CodeMirror-line::selection,.cm-s-lesser-dark .CodeMirror-line>span::selection,.cm-s-lesser-dark .CodeMirror-line>span>span::selection{background:rgba(69,68,59,.99)}.cm-s-lesser-dark .CodeMirror-line::-moz-selection,.cm-s-lesser-dark .CodeMirror-line>span::-moz-selection,.cm-s-lesser-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(69,68,59,.99)}.cm-s-lesser-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-lesser-dark pre{padding:0 8px}.cm-s-lesser-dark.CodeMirror span.CodeMirror-matchingbracket{color:#7efc7e}.cm-s-lesser-dark .CodeMirror-gutters{background:#262626;border-right:1px solid #aaa}.cm-s-lesser-dark .CodeMirror-guttermarker{color:#599eff}.cm-s-lesser-dark .CodeMirror-guttermarker-subtle,.cm-s-lesser-dark .CodeMirror-linenumber{color:#777}.cm-s-lesser-dark span.cm-header{color:#a0a}.cm-s-lesser-dark span.cm-quote{color:#090}.cm-s-lesser-dark span.cm-keyword{color:#599eff}.cm-s-lesser-dark span.cm-atom{color:#c2b470}.cm-s-lesser-dark span.cm-number{color:#b35e4d}.cm-s-lesser-dark span.cm-def{color:#fff}.cm-s-lesser-dark span.cm-variable{color:#d9bf8c}.cm-s-lesser-dark span.cm-variable-2{color:#669199}.cm-s-lesser-dark span.cm-variable-3{color:#fff}.cm-s-lesser-dark span.cm-
|
1 |
+
.cm-s-lesser-dark{line-height:1.3em}.cm-s-lesser-dark.CodeMirror{background:#262626;color:#ebefe7;text-shadow:0 -1px 1px #262626}.cm-s-lesser-dark div.CodeMirror-selected{background:#45443b}.cm-s-lesser-dark .CodeMirror-line::selection,.cm-s-lesser-dark .CodeMirror-line>span::selection,.cm-s-lesser-dark .CodeMirror-line>span>span::selection{background:rgba(69,68,59,.99)}.cm-s-lesser-dark .CodeMirror-line::-moz-selection,.cm-s-lesser-dark .CodeMirror-line>span::-moz-selection,.cm-s-lesser-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(69,68,59,.99)}.cm-s-lesser-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-lesser-dark pre{padding:0 8px}.cm-s-lesser-dark.CodeMirror span.CodeMirror-matchingbracket{color:#7efc7e}.cm-s-lesser-dark .CodeMirror-gutters{background:#262626;border-right:1px solid #aaa}.cm-s-lesser-dark .CodeMirror-guttermarker{color:#599eff}.cm-s-lesser-dark .CodeMirror-guttermarker-subtle,.cm-s-lesser-dark .CodeMirror-linenumber{color:#777}.cm-s-lesser-dark span.cm-header{color:#a0a}.cm-s-lesser-dark span.cm-quote{color:#090}.cm-s-lesser-dark span.cm-keyword{color:#599eff}.cm-s-lesser-dark span.cm-atom{color:#c2b470}.cm-s-lesser-dark span.cm-number{color:#b35e4d}.cm-s-lesser-dark span.cm-def{color:#fff}.cm-s-lesser-dark span.cm-variable{color:#d9bf8c}.cm-s-lesser-dark span.cm-variable-2{color:#669199}.cm-s-lesser-dark span.cm-variable-3{color:#fff}.cm-s-lesser-dark span.cm-operator,.cm-s-lesser-dark span.cm-property{color:#92a75c}.cm-s-lesser-dark span.cm-comment{color:#666}.cm-s-lesser-dark span.cm-string{color:#bcd279}.cm-s-lesser-dark span.cm-string-2{color:#f50}.cm-s-lesser-dark span.cm-meta{color:#738c73}.cm-s-lesser-dark span.cm-qualifier{color:#555}.cm-s-lesser-dark span.cm-builtin{color:#ff9e59}.cm-s-lesser-dark span.cm-bracket{color:#ebefe7}.cm-s-lesser-dark span.cm-tag{color:#669199}.cm-s-lesser-dark span.cm-attribute{color:#00c}.cm-s-lesser-dark span.cm-hr{color:#999}.cm-s-lesser-dark span.cm-link{color:#00c}.cm-s-lesser-dark span.cm-error{color:#9d1e15}.cm-s-lesser-dark .CodeMirror-activeline-background{background:#3c3a3a}.cm-s-lesser-dark .CodeMirror-matchingbracket{outline:1px solid gray;color:#fff!important}
|
css/min/cmthemes/liquibyte.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-liquibyte.CodeMirror{background-color:#000;color:#fff;line-height:1.2em;font-size:1em}.cm-s-liquibyte .CodeMirror-focused .cm-matchhighlight{text-decoration:underline;text-decoration-color:#0f0;text-decoration-style:wavy}.cm-s-liquibyte .cm-trailingspace{text-decoration:line-through;text-decoration-color:red;text-decoration-style:dotted}.cm-s-liquibyte .cm-tab{text-decoration
|
1 |
+
.cm-s-liquibyte.CodeMirror{background-color:#000;color:#fff;line-height:1.2em;font-size:1em}.cm-s-liquibyte .CodeMirror-focused .cm-matchhighlight{text-decoration:underline;text-decoration-color:#0f0;text-decoration-style:wavy}.cm-s-liquibyte .cm-tab,.cm-s-liquibyte .cm-trailingspace{text-decoration:line-through;text-decoration-color:red;text-decoration-style:dotted}.cm-s-liquibyte .cm-tab{text-decoration-color:#404040}.cm-s-liquibyte .CodeMirror-gutters{background-color:#262626;border-right:1px solid #505050;padding-right:.8em}.cm-s-liquibyte .CodeMirror-gutter-elt div{font-size:1.2em}.cm-s-liquibyte .CodeMirror-linenumber{color:#606060;padding-left:0}.cm-s-liquibyte .CodeMirror-cursor{border-left:1px solid #eee}.cm-s-liquibyte span.cm-comment{color:green}.cm-s-liquibyte span.cm-def{color:#ffaf40;font-weight:700}.cm-s-liquibyte span.cm-keyword{color:#c080ff;font-weight:700}.cm-s-liquibyte span.cm-builtin{color:#ffaf40;font-weight:700}.cm-s-liquibyte span.cm-variable{color:#5967ff;font-weight:700}.cm-s-liquibyte span.cm-string{color:#ff8000}.cm-s-liquibyte .CodeMirror span.CodeMirror-matchingbracket,.cm-s-liquibyte span.cm-number{color:#0f0;font-weight:700}.cm-s-liquibyte span.cm-atom{color:#bf3030;font-weight:700}.cm-s-liquibyte span.cm-variable-2{color:#007f7f;font-weight:700}.cm-s-liquibyte span.cm-variable-3{color:#c080ff;font-weight:700}.cm-s-liquibyte span.cm-property{color:#999;font-weight:700}.cm-s-liquibyte span.cm-operator{color:#fff}.cm-s-liquibyte span.cm-meta{color:#0f0}.cm-s-liquibyte span.cm-qualifier{color:#fff700;font-weight:700}.cm-s-liquibyte span.cm-bracket{color:#cc7}.cm-s-liquibyte span.cm-tag{color:#ff0;font-weight:700}.cm-s-liquibyte span.cm-attribute{color:#c080ff;font-weight:700}.cm-s-liquibyte span.cm-error{color:red}.cm-s-liquibyte div.CodeMirror-selected{background-color:rgba(255,0,0,.25)}.cm-s-liquibyte span.cm-compilation{background-color:rgba(255,255,255,.12)}.cm-s-liquibyte .CodeMirror-activeline-background{background-color:rgba(0,255,0,.15)}.cm-s-liquibyte .CodeMirror span.CodeMirror-nonmatchingbracket{color:red;font-weight:700}.CodeMirror-matchingtag{background-color:rgba(150,255,0,.3)}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div:hover,div.CodeMirror-simplescroll-vertical div:hover{background-color:rgba(80,80,80,.7)}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div,div.CodeMirror-simplescroll-vertical div{background-color:rgba(80,80,80,.3);border:1px solid #404040;border-radius:5px}.cm-s-liquibyte div.CodeMirror-simplescroll-vertical div{border-top:1px solid #404040;border-bottom:1px solid #404040}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div{border-left:1px solid #404040;border-right:1px solid #404040}.cm-s-liquibyte div.CodeMirror-simplescroll-vertical{background-color:#262626}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal{background-color:#262626;border-top:1px solid #404040}.cm-s-liquibyte div.CodeMirror-overlayscroll-horizontal div,div.CodeMirror-overlayscroll-vertical div{background-color:#404040;border-radius:5px}.cm-s-liquibyte div.CodeMirror-overlayscroll-horizontal div,.cm-s-liquibyte div.CodeMirror-overlayscroll-vertical div{border:1px solid #404040}
|
css/min/cmthemes/mbo.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-mbo.CodeMirror{background:#2c2c2c;color:#ffffec}.cm-s-mbo div.CodeMirror-selected{background:#716c62}.cm-s-mbo .CodeMirror-line::selection,.cm-s-mbo .CodeMirror-line>span::selection,.cm-s-mbo .CodeMirror-line>span>span::selection{background:rgba(113,108,98,.99)}.cm-s-mbo .CodeMirror-line::-moz-selection,.cm-s-mbo .CodeMirror-line>span::-moz-selection,.cm-s-mbo .CodeMirror-line>span>span::-moz-selection{background:rgba(113,108,98,.99)}.cm-s-mbo .CodeMirror-gutters{background:#4e4e4e;border-right:0}.cm-s-mbo .CodeMirror-guttermarker{color:#fff}.cm-s-mbo .CodeMirror-guttermarker-subtle{color:gray}.cm-s-mbo .CodeMirror-linenumber{color:#dadada}.cm-s-mbo .CodeMirror-cursor{border-left:1px solid #ffffec}.cm-s-mbo span.cm-comment{color:#95958a}.cm-s-mbo span.cm-atom,.cm-s-mbo span.cm-number{color:#00a8c6}.cm-s-mbo span.cm-
|
1 |
+
.cm-s-mbo.CodeMirror{background:#2c2c2c;color:#ffffec}.cm-s-mbo div.CodeMirror-selected{background:#716c62}.cm-s-mbo .CodeMirror-line::selection,.cm-s-mbo .CodeMirror-line>span::selection,.cm-s-mbo .CodeMirror-line>span>span::selection{background:rgba(113,108,98,.99)}.cm-s-mbo .CodeMirror-line::-moz-selection,.cm-s-mbo .CodeMirror-line>span::-moz-selection,.cm-s-mbo .CodeMirror-line>span>span::-moz-selection{background:rgba(113,108,98,.99)}.cm-s-mbo .CodeMirror-gutters{background:#4e4e4e;border-right:0}.cm-s-mbo .CodeMirror-guttermarker{color:#fff}.cm-s-mbo .CodeMirror-guttermarker-subtle{color:gray}.cm-s-mbo .CodeMirror-linenumber{color:#dadada}.cm-s-mbo .CodeMirror-cursor{border-left:1px solid #ffffec}.cm-s-mbo span.cm-comment{color:#95958a}.cm-s-mbo span.cm-atom,.cm-s-mbo span.cm-number{color:#00a8c6}.cm-s-mbo span.cm-attribute,.cm-s-mbo span.cm-property{color:#9ddfe9}.cm-s-mbo span.cm-keyword{color:#ffb928}.cm-s-mbo span.cm-string{color:#ffcf6c}.cm-s-mbo span.cm-string.cm-property,.cm-s-mbo span.cm-variable{color:#ffffec}.cm-s-mbo span.cm-variable-2{color:#00a8c6}.cm-s-mbo span.cm-def{color:#ffffec}.cm-s-mbo span.cm-bracket{color:#fffffc;font-weight:700}.cm-s-mbo span.cm-tag{color:#9ddfe9}.cm-s-mbo span.cm-link{color:#f54b07}.cm-s-mbo span.cm-error{border-bottom:#636363;color:#ffffec}.cm-s-mbo span.cm-qualifier{color:#ffffec}.cm-s-mbo .CodeMirror-activeline-background{background:#494b41}.cm-s-mbo .CodeMirror-matchingbracket{color:#ffb928!important}.cm-s-mbo .CodeMirror-matchingtag{background:rgba(255,255,255,.37)}
|
css/min/cmthemes/mdn-like.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-mdn-like.CodeMirror{color:#999;background-color:#fff}.cm-s-mdn-like div.CodeMirror-selected{background:#cfc}.cm-s-mdn-like .CodeMirror-line::selection,.cm-s-mdn-like .CodeMirror-line>span::selection,.cm-s-mdn-like .CodeMirror-line>span>span::selection{background:#cfc}.cm-s-mdn-like .CodeMirror-line::-moz-selection,.cm-s-mdn-like .CodeMirror-line>span::-moz-selection,.cm-s-mdn-like .CodeMirror-line>span>span::-moz-selection{background:#cfc}.cm-s-mdn-like .CodeMirror-gutters{background:#f8f8f8;border-left:6px solid rgba(0,83,159,.65);color:#333}.cm-s-mdn-like .CodeMirror-linenumber{color:#aaa;padding-left:8px}.cm-s-mdn-like .CodeMirror-cursor{border-left:2px solid #222}.cm-s-mdn-like .cm-keyword{color:#6262ff}.cm-s-mdn-like .cm-atom{color:#f90}.cm-s-mdn-like .cm-number{color:#ca7841}.cm-s-mdn-like .cm-def{color:#8da6ce}.cm-s-mdn-like span.cm-
|
1 |
+
.cm-s-mdn-like.CodeMirror{color:#999;background-color:#fff}.cm-s-mdn-like div.CodeMirror-selected{background:#cfc}.cm-s-mdn-like .CodeMirror-line::selection,.cm-s-mdn-like .CodeMirror-line>span::selection,.cm-s-mdn-like .CodeMirror-line>span>span::selection{background:#cfc}.cm-s-mdn-like .CodeMirror-line::-moz-selection,.cm-s-mdn-like .CodeMirror-line>span::-moz-selection,.cm-s-mdn-like .CodeMirror-line>span>span::-moz-selection{background:#cfc}.cm-s-mdn-like .CodeMirror-gutters{background:#f8f8f8;border-left:6px solid rgba(0,83,159,.65);color:#333}.cm-s-mdn-like .CodeMirror-linenumber{color:#aaa;padding-left:8px}.cm-s-mdn-like .CodeMirror-cursor{border-left:2px solid #222}.cm-s-mdn-like .cm-keyword{color:#6262ff}.cm-s-mdn-like .cm-atom{color:#f90}.cm-s-mdn-like .cm-number{color:#ca7841}.cm-s-mdn-like .cm-def{color:#8da6ce}.cm-s-mdn-like span.cm-tag,.cm-s-mdn-like span.cm-variable-2{color:#690}.cm-s-mdn-like .cm-variable,.cm-s-mdn-like span.cm-def,.cm-s-mdn-like span.cm-variable-3{color:#07a}.cm-s-mdn-like .cm-property{color:#905}.cm-s-mdn-like .cm-qualifier{color:#690}.cm-s-mdn-like .cm-operator{color:#cda869}.cm-s-mdn-like .cm-comment{color:#777;font-weight:400}.cm-s-mdn-like .cm-string{color:#07a;font-style:italic}.cm-s-mdn-like .cm-string-2{color:#bd6b18}.cm-s-mdn-like .cm-meta{color:#000}.cm-s-mdn-like .cm-builtin{color:#9b7536}.cm-s-mdn-like .cm-tag{color:#997643}.cm-s-mdn-like .cm-attribute{color:#d6bb6d}.cm-s-mdn-like .cm-header{color:#ff6400}.cm-s-mdn-like .cm-hr{color:#aeaeae}.cm-s-mdn-like .cm-link{color:#ad9361;font-style:italic;text-decoration:none}.cm-s-mdn-like .cm-error{border-bottom:1px solid red}div.cm-s-mdn-like .CodeMirror-activeline-background{background:#efefff}div.cm-s-mdn-like span.CodeMirror-matchingbracket{outline:1px solid gray;color:inherit}.cm-s-mdn-like.CodeMirror{background-image:url(data:image/png;base64,iVBORw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c3p1U4gDUf6RfcdYfrUp5ClAi2J3Ba6UOXGo+K+bQrjjssitG2SJzshaLwMtXgRagUNpYYoVkMSBLM+9GGiJZMvduG6DRZ4qc04DMPtQQxOjEtACmhO7K1AbNbQDEggZyJwscFpAGwENhoBeUwh3bWolhe8BTYVKxQEWrSUn/uhcM5KhvUu/+eQu0Lzhi+VrK0PrZZNDQKs9cpYUuFYgMVpD4/NxenJTiMCNqdUEUf1qZWjppLT5qSkkUZbCwkbZMSuVnu80hfSkzRbQeqCZSAh6huR4VtoM2gHAlLf72smuWgE+VV7XpE25Ab2WFDgyhnSuKbs4GuGzCjR+tIoUuMFg3kgcWKLTwRqanJQ2W00hAsenfaApRC42hbCvK1SlE0HtE9BGgneJO+ELamitD1YjjOYnNYVcraGhtKkW0EqVVeDx733I2NH581k1NNxNLG0i0IJ8/NjVaOZ0tYZ2Vtr0Xv7tPV3hkWp9EFkgS/J0vosngTaSoaG06WHi+xObQkaAdlbanP8B2+2l0f90LmUAAAAASUVORK5CYII=)}
|
css/min/cmthemes/midnight.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-midnight span.CodeMirror-matchhighlight{background:#494949}.cm-s-midnight.CodeMirror-focused span.CodeMirror-matchhighlight{background:#314d67!important}.cm-s-midnight .CodeMirror-activeline-background{background:#253540}.cm-s-midnight.CodeMirror{background:#0f192a;color:#d1edff;border-top:1px solid #000;border-bottom:1px solid #000}.cm-s-midnight div.CodeMirror-selected{background:#314d67}.cm-s-midnight .CodeMirror-line::selection,.cm-s-midnight .CodeMirror-line>span::selection,.cm-s-midnight .CodeMirror-line>span>span::selection{background:rgba(49,77,103,.99)}.cm-s-midnight .CodeMirror-line::-moz-selection,.cm-s-midnight .CodeMirror-line>span::-moz-selection,.cm-s-midnight .CodeMirror-line>span>span::-moz-selection{background:rgba(49,77,103,.99)}.cm-s-midnight .CodeMirror-gutters{background:#0f192a;border-right:1px solid}.cm-s-midnight .CodeMirror-guttermarker{color:#fff}.cm-s-midnight .CodeMirror-guttermarker-subtle,.cm-s-midnight .CodeMirror-linenumber{color:#d0d0d0}.cm-s-midnight .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-midnight span.cm-comment{color:#428bdd}.cm-s-midnight span.cm-atom{color:#ae81ff}.cm-s-midnight span.cm-number{color:#d1edff}.cm-s-midnight span.cm-
|
1 |
+
.cm-s-midnight span.CodeMirror-matchhighlight{background:#494949}.cm-s-midnight.CodeMirror-focused span.CodeMirror-matchhighlight{background:#314d67!important}.cm-s-midnight .CodeMirror-activeline-background{background:#253540}.cm-s-midnight.CodeMirror{background:#0f192a;color:#d1edff;border-top:1px solid #000;border-bottom:1px solid #000}.cm-s-midnight div.CodeMirror-selected{background:#314d67}.cm-s-midnight .CodeMirror-line::selection,.cm-s-midnight .CodeMirror-line>span::selection,.cm-s-midnight .CodeMirror-line>span>span::selection{background:rgba(49,77,103,.99)}.cm-s-midnight .CodeMirror-line::-moz-selection,.cm-s-midnight .CodeMirror-line>span::-moz-selection,.cm-s-midnight .CodeMirror-line>span>span::-moz-selection{background:rgba(49,77,103,.99)}.cm-s-midnight .CodeMirror-gutters{background:#0f192a;border-right:1px solid}.cm-s-midnight .CodeMirror-guttermarker{color:#fff}.cm-s-midnight .CodeMirror-guttermarker-subtle,.cm-s-midnight .CodeMirror-linenumber{color:#d0d0d0}.cm-s-midnight .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-midnight span.cm-comment{color:#428bdd}.cm-s-midnight span.cm-atom{color:#ae81ff}.cm-s-midnight span.cm-number{color:#d1edff}.cm-s-midnight span.cm-attribute,.cm-s-midnight span.cm-property{color:#a6e22e}.cm-s-midnight span.cm-keyword{color:#e83737}.cm-s-midnight span.cm-string{color:#1dc116}.cm-s-midnight span.cm-variable,.cm-s-midnight span.cm-variable-2{color:#ffaa3e}.cm-s-midnight span.cm-def{color:#4dd}.cm-s-midnight span.cm-bracket{color:#d1edff}.cm-s-midnight span.cm-tag{color:#449}.cm-s-midnight span.cm-link{color:#ae81ff}.cm-s-midnight span.cm-error{background:#f92672;color:#f8f8f0}.cm-s-midnight .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
|
css/min/cmthemes/monokai.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-monokai.CodeMirror{background:#272822;color:#f8f8f2}.cm-s-monokai div.CodeMirror-selected{background:#49483e}.cm-s-monokai .CodeMirror-line::selection,.cm-s-monokai .CodeMirror-line>span::selection,.cm-s-monokai .CodeMirror-line>span>span::selection{background:rgba(73,72,62,.99)}.cm-s-monokai .CodeMirror-line::-moz-selection,.cm-s-monokai .CodeMirror-line>span::-moz-selection,.cm-s-monokai .CodeMirror-line>span>span::-moz-selection{background:rgba(73,72,62,.99)}.cm-s-monokai .CodeMirror-gutters{background:#272822;border-right:0}.cm-s-monokai .CodeMirror-guttermarker{color:#fff}.cm-s-monokai .CodeMirror-guttermarker-subtle,.cm-s-monokai .CodeMirror-linenumber{color:#d0d0d0}.cm-s-monokai .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-monokai span.cm-comment{color:#75715e}.cm-s-monokai span.cm-atom,.cm-s-monokai span.cm-number{color:#ae81ff}.cm-s-monokai span.cm-
|
1 |
+
.cm-s-monokai.CodeMirror{background:#272822;color:#f8f8f2}.cm-s-monokai div.CodeMirror-selected{background:#49483e}.cm-s-monokai .CodeMirror-line::selection,.cm-s-monokai .CodeMirror-line>span::selection,.cm-s-monokai .CodeMirror-line>span>span::selection{background:rgba(73,72,62,.99)}.cm-s-monokai .CodeMirror-line::-moz-selection,.cm-s-monokai .CodeMirror-line>span::-moz-selection,.cm-s-monokai .CodeMirror-line>span>span::-moz-selection{background:rgba(73,72,62,.99)}.cm-s-monokai .CodeMirror-gutters{background:#272822;border-right:0}.cm-s-monokai .CodeMirror-guttermarker{color:#fff}.cm-s-monokai .CodeMirror-guttermarker-subtle,.cm-s-monokai .CodeMirror-linenumber{color:#d0d0d0}.cm-s-monokai .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-monokai span.cm-comment{color:#75715e}.cm-s-monokai span.cm-atom,.cm-s-monokai span.cm-number{color:#ae81ff}.cm-s-monokai span.cm-attribute,.cm-s-monokai span.cm-property{color:#a6e22e}.cm-s-monokai span.cm-keyword{color:#f92672}.cm-s-monokai span.cm-builtin{color:#66d9ef}.cm-s-monokai span.cm-string{color:#e6db74}.cm-s-monokai span.cm-variable{color:#f8f8f2}.cm-s-monokai span.cm-variable-2{color:#9effff}.cm-s-monokai span.cm-variable-3{color:#66d9ef}.cm-s-monokai span.cm-def{color:#fd971f}.cm-s-monokai span.cm-bracket{color:#f8f8f2}.cm-s-monokai span.cm-tag{color:#f92672}.cm-s-monokai span.cm-header,.cm-s-monokai span.cm-link{color:#ae81ff}.cm-s-monokai span.cm-error{background:#f92672;color:#f8f8f0}.cm-s-monokai .CodeMirror-activeline-background{background:#373831}.cm-s-monokai .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
|
css/min/cmthemes/neat.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-neat span.cm-comment{color:#a86}.cm-s-neat span.cm-keyword{line-height:1em;font-weight:700;color:#00f}.cm-s-neat span.cm-string{color:#a22}.cm-s-neat span.cm-builtin{line-height:1em;font-weight:700;color:#077}.cm-s-neat span.cm-special{
|
1 |
+
.cm-s-neat span.cm-comment{color:#a86}.cm-s-neat span.cm-keyword{line-height:1em;font-weight:700;color:#00f}.cm-s-neat span.cm-string{color:#a22}.cm-s-neat span.cm-builtin,.cm-s-neat span.cm-special{line-height:1em;font-weight:700;color:#077}.cm-s-neat span.cm-special{color:#0aa}.cm-s-neat span.cm-variable{color:#000}.cm-s-neat span.cm-atom,.cm-s-neat span.cm-number{color:#3a3}.cm-s-neat span.cm-meta{color:#555}.cm-s-neat span.cm-link{color:#3a3}.cm-s-neat .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-neat .CodeMirror-matchingbracket{outline:1px solid gray;color:#000!important}
|
css/min/cmthemes/neo.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-neo.CodeMirror{background-color:#fff;color:#2e383c;line-height:1.4375}.cm-s-neo .cm-comment{color:#75787b}.cm-s-neo .cm-keyword,.cm-s-neo .cm-property{color:#1d75b3}.cm-s-neo .cm-atom,.cm-s-neo .cm-number{color:#75438a}.cm-s-neo .cm-node,.cm-s-neo .cm-tag{color:#9c3328}.cm-s-neo .cm-string{color:#b35e14}.cm-s-neo .cm-
|
1 |
+
.cm-s-neo.CodeMirror{background-color:#fff;color:#2e383c;line-height:1.4375}.cm-s-neo .cm-comment{color:#75787b}.cm-s-neo .cm-keyword,.cm-s-neo .cm-property{color:#1d75b3}.cm-s-neo .cm-atom,.cm-s-neo .cm-number{color:#75438a}.cm-s-neo .cm-node,.cm-s-neo .cm-tag{color:#9c3328}.cm-s-neo .cm-string{color:#b35e14}.cm-s-neo .cm-qualifier,.cm-s-neo .cm-variable{color:#047d65}.cm-s-neo pre{padding:0}.cm-s-neo .CodeMirror-gutters{border:none;border-right:10px solid transparent;background-color:transparent}.cm-s-neo .CodeMirror-linenumber{padding:0;color:#e0e2e5}.cm-s-neo .CodeMirror-guttermarker{color:#1d75b3}.cm-s-neo .CodeMirror-guttermarker-subtle{color:#e0e2e5}.cm-s-neo .CodeMirror-cursor{width:auto;border:0;background:rgba(155,157,162,.37);z-index:1}
|
css/min/cmthemes/night.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-night.CodeMirror{background:#0a001f;color:#f8f8f8}.cm-s-night div.CodeMirror-selected{background:#447}.cm-s-night .CodeMirror-line::selection,.cm-s-night .CodeMirror-line>span::selection,.cm-s-night .CodeMirror-line>span>span::selection{background:rgba(68,68,119,.99)}.cm-s-night .CodeMirror-line::-moz-selection,.cm-s-night .CodeMirror-line>span::-moz-selection,.cm-s-night .CodeMirror-line>span>span::-moz-selection{background:rgba(68,68,119,.99)}.cm-s-night .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-night .CodeMirror-guttermarker{color:#fff}.cm-s-night .CodeMirror-guttermarker-subtle{color:#bbb}.cm-s-night .CodeMirror-linenumber{color:#f8f8f8}.cm-s-night .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-night span.cm-comment{color:#8900d1}.cm-s-night span.cm-atom{color:#845dc4}.cm-s-night span.cm-
|
1 |
+
.cm-s-night.CodeMirror{background:#0a001f;color:#f8f8f8}.cm-s-night div.CodeMirror-selected{background:#447}.cm-s-night .CodeMirror-line::selection,.cm-s-night .CodeMirror-line>span::selection,.cm-s-night .CodeMirror-line>span>span::selection{background:rgba(68,68,119,.99)}.cm-s-night .CodeMirror-line::-moz-selection,.cm-s-night .CodeMirror-line>span::-moz-selection,.cm-s-night .CodeMirror-line>span>span::-moz-selection{background:rgba(68,68,119,.99)}.cm-s-night .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-night .CodeMirror-guttermarker{color:#fff}.cm-s-night .CodeMirror-guttermarker-subtle{color:#bbb}.cm-s-night .CodeMirror-linenumber{color:#f8f8f8}.cm-s-night .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-night span.cm-comment{color:#8900d1}.cm-s-night span.cm-atom{color:#845dc4}.cm-s-night span.cm-attribute,.cm-s-night span.cm-number{color:#ffd500}.cm-s-night span.cm-keyword{color:#599eff}.cm-s-night span.cm-string{color:#37f14a}.cm-s-night span.cm-meta{color:#7678e2}.cm-s-night span.cm-tag,.cm-s-night span.cm-variable-2{color:#99b2ff}.cm-s-night span.cm-def,.cm-s-night span.cm-variable-3{color:#fff}.cm-s-night span.cm-bracket{color:#8da6ce}.cm-s-night span.cm-builtin,.cm-s-night span.cm-special{color:#ff9e59}.cm-s-night span.cm-link{color:#845dc4}.cm-s-night span.cm-error{color:#9d1e15}.cm-s-night .CodeMirror-activeline-background{background:#1c005a}.cm-s-night .CodeMirror-matchingbracket{outline:1px solid gray;color:#fff!important}
|
css/min/cmthemes/panda-syntax.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-panda-syntax{font-family:'Operator Mono','Source Sans Pro',Menlo,Monaco,Consolas,Courier New,monospace
|
1 |
+
.cm-s-panda-syntax{background:#292a2b;color:#e6e6e6;line-height:1.5;font-family:'Operator Mono','Source Sans Pro',Menlo,Monaco,Consolas,Courier New,monospace}.cm-s-panda-syntax .CodeMirror-cursor{border-color:#ff2c6d}.cm-s-panda-syntax .CodeMirror-activeline-background{background:rgba(99,123,156,.1)}.cm-s-panda-syntax .CodeMirror-selected{background:#fff}.cm-s-panda-syntax .cm-comment{font-style:italic;color:#676b79}.cm-s-panda-syntax .cm-operator{color:#f3f3f3}.cm-s-panda-syntax .cm-string{color:#19f9d8}.cm-s-panda-syntax .cm-string-2{color:#ffb86c}.cm-s-panda-syntax .cm-tag{color:#ff2c6d}.cm-s-panda-syntax .cm-meta{color:#b084eb}.cm-s-panda-syntax .cm-number{color:#ffb86c}.cm-s-panda-syntax .cm-atom{color:#ff2c6d}.cm-s-panda-syntax .cm-keyword{color:#ff75b5}.cm-s-panda-syntax .cm-variable{color:#ffb86c}.cm-s-panda-syntax .cm-variable-2,.cm-s-panda-syntax .cm-variable-3{color:#ff9ac1}.cm-s-panda-syntax .cm-def{color:#e6e6e6}.cm-s-panda-syntax .cm-property{color:#f3f3f3}.cm-s-panda-syntax .cm-attribute,.cm-s-panda-syntax .cm-unit{color:#ffb86c}.cm-s-panda-syntax .CodeMirror-matchingbracket{border-bottom:1px dotted #19f9d8;padding-bottom:2px;color:#e6e6e6}.cm-s-panda-syntax .CodeMirror-gutters{background:#292a2b;border-right-color:rgba(255,255,255,.1)}.cm-s-panda-syntax .CodeMirror-linenumber{color:#e6e6e6;opacity:.6}
|
css/min/cmthemes/paraiso-dark.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-paraiso-dark.CodeMirror{background:#2f1e2e;color:#b9b6b0}.cm-s-paraiso-dark div.CodeMirror-selected{background:#41323f}.cm-s-paraiso-dark .CodeMirror-line::selection,.cm-s-paraiso-dark .CodeMirror-line>span::selection,.cm-s-paraiso-dark .CodeMirror-line>span>span::selection{background:rgba(65,50,63,.99)}.cm-s-paraiso-dark .CodeMirror-line::-moz-selection,.cm-s-paraiso-dark .CodeMirror-line>span::-moz-selection,.cm-s-paraiso-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(65,50,63,.99)}.cm-s-paraiso-dark .CodeMirror-gutters{background:#2f1e2e;border-right:0}.cm-s-paraiso-dark .CodeMirror-guttermarker{color:#ef6155}.cm-s-paraiso-dark .CodeMirror-guttermarker-subtle,.cm-s-paraiso-dark .CodeMirror-linenumber{color:#776e71}.cm-s-paraiso-dark .CodeMirror-cursor{border-left:1px solid #8d8687}.cm-s-paraiso-dark span.cm-comment{color:#e96ba8}.cm-s-paraiso-dark span.cm-atom,.cm-s-paraiso-dark span.cm-number{color:#815ba4}.cm-s-paraiso-dark span.cm-
|
1 |
+
.cm-s-paraiso-dark.CodeMirror{background:#2f1e2e;color:#b9b6b0}.cm-s-paraiso-dark div.CodeMirror-selected{background:#41323f}.cm-s-paraiso-dark .CodeMirror-line::selection,.cm-s-paraiso-dark .CodeMirror-line>span::selection,.cm-s-paraiso-dark .CodeMirror-line>span>span::selection{background:rgba(65,50,63,.99)}.cm-s-paraiso-dark .CodeMirror-line::-moz-selection,.cm-s-paraiso-dark .CodeMirror-line>span::-moz-selection,.cm-s-paraiso-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(65,50,63,.99)}.cm-s-paraiso-dark .CodeMirror-gutters{background:#2f1e2e;border-right:0}.cm-s-paraiso-dark .CodeMirror-guttermarker{color:#ef6155}.cm-s-paraiso-dark .CodeMirror-guttermarker-subtle,.cm-s-paraiso-dark .CodeMirror-linenumber{color:#776e71}.cm-s-paraiso-dark .CodeMirror-cursor{border-left:1px solid #8d8687}.cm-s-paraiso-dark span.cm-comment{color:#e96ba8}.cm-s-paraiso-dark span.cm-atom,.cm-s-paraiso-dark span.cm-number{color:#815ba4}.cm-s-paraiso-dark span.cm-attribute,.cm-s-paraiso-dark span.cm-property{color:#48b685}.cm-s-paraiso-dark span.cm-keyword{color:#ef6155}.cm-s-paraiso-dark span.cm-string{color:#fec418}.cm-s-paraiso-dark span.cm-variable{color:#48b685}.cm-s-paraiso-dark span.cm-variable-2{color:#06b6ef}.cm-s-paraiso-dark span.cm-def{color:#f99b15}.cm-s-paraiso-dark span.cm-bracket{color:#b9b6b0}.cm-s-paraiso-dark span.cm-tag{color:#ef6155}.cm-s-paraiso-dark span.cm-link{color:#815ba4}.cm-s-paraiso-dark span.cm-error{background:#ef6155;color:#8d8687}.cm-s-paraiso-dark .CodeMirror-activeline-background{background:#4d344a}.cm-s-paraiso-dark .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
|
css/min/cmthemes/paraiso-light.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-paraiso-light.CodeMirror{background:#e7e9db;color:#41323f}.cm-s-paraiso-light div.CodeMirror-selected{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-line::selection,.cm-s-paraiso-light .CodeMirror-line>span::selection,.cm-s-paraiso-light .CodeMirror-line>span>span::selection{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-line::-moz-selection,.cm-s-paraiso-light .CodeMirror-line>span::-moz-selection,.cm-s-paraiso-light .CodeMirror-line>span>span::-moz-selection{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-gutters{background:#e7e9db;border-right:0}.cm-s-paraiso-light .CodeMirror-guttermarker{color:#000}.cm-s-paraiso-light .CodeMirror-guttermarker-subtle,.cm-s-paraiso-light .CodeMirror-linenumber{color:#8d8687}.cm-s-paraiso-light .CodeMirror-cursor{border-left:1px solid #776e71}.cm-s-paraiso-light span.cm-comment{color:#e96ba8}.cm-s-paraiso-light span.cm-atom,.cm-s-paraiso-light span.cm-number{color:#815ba4}.cm-s-paraiso-light span.cm-
|
1 |
+
.cm-s-paraiso-light.CodeMirror{background:#e7e9db;color:#41323f}.cm-s-paraiso-light div.CodeMirror-selected{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-line::selection,.cm-s-paraiso-light .CodeMirror-line>span::selection,.cm-s-paraiso-light .CodeMirror-line>span>span::selection{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-line::-moz-selection,.cm-s-paraiso-light .CodeMirror-line>span::-moz-selection,.cm-s-paraiso-light .CodeMirror-line>span>span::-moz-selection{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-gutters{background:#e7e9db;border-right:0}.cm-s-paraiso-light .CodeMirror-guttermarker{color:#000}.cm-s-paraiso-light .CodeMirror-guttermarker-subtle,.cm-s-paraiso-light .CodeMirror-linenumber{color:#8d8687}.cm-s-paraiso-light .CodeMirror-cursor{border-left:1px solid #776e71}.cm-s-paraiso-light span.cm-comment{color:#e96ba8}.cm-s-paraiso-light span.cm-atom,.cm-s-paraiso-light span.cm-number{color:#815ba4}.cm-s-paraiso-light span.cm-attribute,.cm-s-paraiso-light span.cm-property{color:#48b685}.cm-s-paraiso-light span.cm-keyword{color:#ef6155}.cm-s-paraiso-light span.cm-string{color:#fec418}.cm-s-paraiso-light span.cm-variable{color:#48b685}.cm-s-paraiso-light span.cm-variable-2{color:#06b6ef}.cm-s-paraiso-light span.cm-def{color:#f99b15}.cm-s-paraiso-light span.cm-bracket{color:#41323f}.cm-s-paraiso-light span.cm-tag{color:#ef6155}.cm-s-paraiso-light span.cm-link{color:#815ba4}.cm-s-paraiso-light span.cm-error{background:#ef6155;color:#776e71}.cm-s-paraiso-light .CodeMirror-activeline-background{background:#cfd1c4}.cm-s-paraiso-light .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
|
css/min/cmthemes/pastel-on-dark.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-pastel-on-dark.CodeMirror{background:#2c2827;color:#8f938f;line-height:1.5
|
1 |
+
.cm-s-pastel-on-dark.CodeMirror{background:#2c2827;color:#8f938f;line-height:1.5}.cm-s-pastel-on-dark div.CodeMirror-selected{background:rgba(221,240,255,.2)}.cm-s-pastel-on-dark .CodeMirror-line::selection,.cm-s-pastel-on-dark .CodeMirror-line>span::selection,.cm-s-pastel-on-dark .CodeMirror-line>span>span::selection{background:rgba(221,240,255,.2)}.cm-s-pastel-on-dark .CodeMirror-line::-moz-selection,.cm-s-pastel-on-dark .CodeMirror-line>span::-moz-selection,.cm-s-pastel-on-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(221,240,255,.2)}.cm-s-pastel-on-dark .CodeMirror-gutters{background:#34302f;border-right:0;padding:0 3px}.cm-s-pastel-on-dark .CodeMirror-guttermarker{color:#fff}.cm-s-pastel-on-dark .CodeMirror-guttermarker-subtle,.cm-s-pastel-on-dark .CodeMirror-linenumber{color:#8f938f}.cm-s-pastel-on-dark .CodeMirror-cursor{border-left:1px solid #a7a7a7}.cm-s-pastel-on-dark span.cm-comment{color:#a6c6ff}.cm-s-pastel-on-dark span.cm-atom{color:#de8e30}.cm-s-pastel-on-dark span.cm-number{color:#ccc}.cm-s-pastel-on-dark span.cm-property{color:#8f938f}.cm-s-pastel-on-dark span.cm-attribute{color:#a6e22e}.cm-s-pastel-on-dark span.cm-keyword{color:#aeb2f8}.cm-s-pastel-on-dark span.cm-string{color:#66a968}.cm-s-pastel-on-dark span.cm-variable{color:#aeb2f8}.cm-s-pastel-on-dark span.cm-variable-2{color:#bebf55}.cm-s-pastel-on-dark span.cm-variable-3{color:#de8e30}.cm-s-pastel-on-dark span.cm-def{color:#757ad8}.cm-s-pastel-on-dark span.cm-bracket{color:#f8f8f2}.cm-s-pastel-on-dark span.cm-tag{color:#c1c144}.cm-s-pastel-on-dark span.cm-link{color:#ae81ff}.cm-s-pastel-on-dark span.cm-builtin,.cm-s-pastel-on-dark span.cm-qualifier{color:#c1c144}.cm-s-pastel-on-dark span.cm-error{background:#757ad8;color:#f8f8f0}.cm-s-pastel-on-dark .CodeMirror-activeline-background{background:rgba(255,255,255,.031)}.cm-s-pastel-on-dark .CodeMirror-matchingbracket{border:1px solid rgba(255,255,255,.25);color:#8f938f!important;margin:-1px -1px 0}
|
css/min/cmthemes/railscasts.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-railscasts.CodeMirror{background:#2b2b2b;color:#f4f1ed}.cm-s-railscasts div.CodeMirror-selected{background:#272935!important}.cm-s-railscasts .CodeMirror-gutters{background:#2b2b2b;border-right:0}.cm-s-railscasts .CodeMirror-linenumber{color:#5a647e}.cm-s-railscasts .CodeMirror-cursor{border-left:1px solid #d4cfc9!important}.cm-s-railscasts span.cm-comment{color:#bc9458}.cm-s-railscasts span.cm-atom,.cm-s-railscasts span.cm-number{color:#b6b3eb}.cm-s-railscasts span.cm-
|
1 |
+
.cm-s-railscasts.CodeMirror{background:#2b2b2b;color:#f4f1ed}.cm-s-railscasts div.CodeMirror-selected{background:#272935!important}.cm-s-railscasts .CodeMirror-gutters{background:#2b2b2b;border-right:0}.cm-s-railscasts .CodeMirror-linenumber{color:#5a647e}.cm-s-railscasts .CodeMirror-cursor{border-left:1px solid #d4cfc9!important}.cm-s-railscasts span.cm-comment{color:#bc9458}.cm-s-railscasts span.cm-atom,.cm-s-railscasts span.cm-number{color:#b6b3eb}.cm-s-railscasts span.cm-attribute,.cm-s-railscasts span.cm-property{color:#a5c261}.cm-s-railscasts span.cm-keyword{color:#da4939}.cm-s-railscasts span.cm-string{color:#ffc66d}.cm-s-railscasts span.cm-variable{color:#a5c261}.cm-s-railscasts span.cm-variable-2{color:#6d9cbe}.cm-s-railscasts span.cm-def{color:#cc7833}.cm-s-railscasts span.cm-error{background:#da4939;color:#d4cfc9}.cm-s-railscasts span.cm-bracket{color:#f4f1ed}.cm-s-railscasts span.cm-tag{color:#da4939}.cm-s-railscasts span.cm-link{color:#b6b3eb}.cm-s-railscasts .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-railscasts .CodeMirror-activeline-background{background:#303040}
|
css/min/cmthemes/rubyblue.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-rubyblue.CodeMirror{background:#112435;color:#fff}.cm-s-rubyblue div.CodeMirror-selected{background:#38566f}.cm-s-rubyblue .CodeMirror-line::selection,.cm-s-rubyblue .CodeMirror-line>span::selection,.cm-s-rubyblue .CodeMirror-line>span>span::selection{background:rgba(56,86,111,.99)}.cm-s-rubyblue .CodeMirror-line::-moz-selection,.cm-s-rubyblue .CodeMirror-line>span::-moz-selection,.cm-s-rubyblue .CodeMirror-line>span>span::-moz-selection{background:rgba(56,86,111,.99)}.cm-s-rubyblue .CodeMirror-gutters{background:#1f4661;border-right:7px solid #3e7087}.cm-s-rubyblue .CodeMirror-guttermarker{color:#fff}.cm-s-rubyblue .CodeMirror-guttermarker-subtle{color:#3e7087}.cm-s-rubyblue .CodeMirror-linenumber{color:#fff}.cm-s-rubyblue .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-rubyblue span.cm-comment{color:#999;font-style:italic;line-height:1em}.cm-s-rubyblue span.cm-atom{color:#f4c20b}.cm-s-rubyblue span.cm-
|
1 |
+
.cm-s-rubyblue.CodeMirror{background:#112435;color:#fff}.cm-s-rubyblue div.CodeMirror-selected{background:#38566f}.cm-s-rubyblue .CodeMirror-line::selection,.cm-s-rubyblue .CodeMirror-line>span::selection,.cm-s-rubyblue .CodeMirror-line>span>span::selection{background:rgba(56,86,111,.99)}.cm-s-rubyblue .CodeMirror-line::-moz-selection,.cm-s-rubyblue .CodeMirror-line>span::-moz-selection,.cm-s-rubyblue .CodeMirror-line>span>span::-moz-selection{background:rgba(56,86,111,.99)}.cm-s-rubyblue .CodeMirror-gutters{background:#1f4661;border-right:7px solid #3e7087}.cm-s-rubyblue .CodeMirror-guttermarker{color:#fff}.cm-s-rubyblue .CodeMirror-guttermarker-subtle{color:#3e7087}.cm-s-rubyblue .CodeMirror-linenumber{color:#fff}.cm-s-rubyblue .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-rubyblue span.cm-comment{color:#999;font-style:italic;line-height:1em}.cm-s-rubyblue span.cm-atom{color:#f4c20b}.cm-s-rubyblue span.cm-attribute,.cm-s-rubyblue span.cm-number{color:#82c6e0}.cm-s-rubyblue span.cm-keyword{color:#f0f}.cm-s-rubyblue span.cm-string{color:#f08047}.cm-s-rubyblue span.cm-meta{color:#f0f}.cm-s-rubyblue span.cm-tag,.cm-s-rubyblue span.cm-variable-2{color:#7bd827}.cm-s-rubyblue span.cm-def,.cm-s-rubyblue span.cm-variable-3{color:#fff}.cm-s-rubyblue span.cm-bracket{color:#f0f}.cm-s-rubyblue span.cm-link{color:#f4c20b}.cm-s-rubyblue span.CodeMirror-matchingbracket{color:#f0f!important}.cm-s-rubyblue span.cm-builtin,.cm-s-rubyblue span.cm-special{color:#ff9d00}.cm-s-rubyblue span.cm-error{color:#af2018}.cm-s-rubyblue .CodeMirror-activeline-background{background:#173047}
|
css/min/cmthemes/seti.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-seti.CodeMirror{background-color:#151718!important;color:#cfd2d1!important;border:none}.cm-s-seti .CodeMirror-gutters{color:#404b53;background-color:#0e1112;border:none}.cm-s-seti .CodeMirror-cursor{border-left:solid thin #f8f8f0}.cm-s-seti .CodeMirror-linenumber{color:#6d8a88}.cm-s-seti.CodeMirror-focused div.CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-seti .CodeMirror-line::selection,.cm-s-seti .CodeMirror-line>span::selection,.cm-s-seti .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-seti .CodeMirror-line::-moz-selection,.cm-s-seti .CodeMirror-line>span::-moz-selection,.cm-s-seti .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-seti span.cm-comment{color:#41535b}.cm-s-seti span.cm-string,.cm-s-seti span.cm-string-2{color:#55b5db}.cm-s-seti span.cm-number{color:#cd3f45}.cm-s-seti span.cm-variable{color:#55b5db}.cm-s-seti span.cm-variable-2{color:#a074c4}.cm-s-seti span.cm-def{color:#55b5db}.cm-s-seti span.cm-operator{color:#9fca56}.cm-s-seti span.cm-keyword{color:#e6cd69}.cm-s-seti span.cm-atom{color:#cd3f45}.cm-s-seti span.cm-meta,.cm-s-seti span.cm-tag{color:#55b5db}.cm-s-seti span.cm-attribute,.cm-s-seti span.cm-qualifier{color:#9fca56}.cm-s-seti span.cm-property{color:#a074c4}.cm-s-seti span.cm-
|
1 |
+
.cm-s-seti.CodeMirror{background-color:#151718!important;color:#cfd2d1!important;border:none}.cm-s-seti .CodeMirror-gutters{color:#404b53;background-color:#0e1112;border:none}.cm-s-seti .CodeMirror-cursor{border-left:solid thin #f8f8f0}.cm-s-seti .CodeMirror-linenumber{color:#6d8a88}.cm-s-seti.CodeMirror-focused div.CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-seti .CodeMirror-line::selection,.cm-s-seti .CodeMirror-line>span::selection,.cm-s-seti .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-seti .CodeMirror-line::-moz-selection,.cm-s-seti .CodeMirror-line>span::-moz-selection,.cm-s-seti .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-seti span.cm-comment{color:#41535b}.cm-s-seti span.cm-string,.cm-s-seti span.cm-string-2{color:#55b5db}.cm-s-seti span.cm-number{color:#cd3f45}.cm-s-seti span.cm-variable{color:#55b5db}.cm-s-seti span.cm-variable-2{color:#a074c4}.cm-s-seti span.cm-def{color:#55b5db}.cm-s-seti span.cm-operator{color:#9fca56}.cm-s-seti span.cm-keyword{color:#e6cd69}.cm-s-seti span.cm-atom{color:#cd3f45}.cm-s-seti span.cm-meta,.cm-s-seti span.cm-tag{color:#55b5db}.cm-s-seti span.cm-attribute,.cm-s-seti span.cm-qualifier{color:#9fca56}.cm-s-seti span.cm-property{color:#a074c4}.cm-s-seti span.cm-builtin,.cm-s-seti span.cm-variable-3{color:#9fca56}.cm-s-seti .CodeMirror-activeline-background{background:#101213}.cm-s-seti .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
|
css/min/cmthemes/solarized.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.solarized.base03{color:#002b36}.solarized.base02{color:#073642}.solarized.base01{color:#586e75}.solarized.base00{color:#657b83}.solarized.base0{color:#839496}.solarized.base1{color:#93a1a1}.solarized.base2{color:#eee8d5}.solarized.base3{color:#fdf6e3}.solarized.solar-yellow{color:#b58900}.solarized.solar-orange{color:#cb4b16}.solarized.solar-red{color:#dc322f}.solarized.solar-magenta{color:#d33682}.solarized.solar-violet{color:#6c71c4}.solarized.solar-blue{color:#268bd2}.solarized.solar-cyan{color:#2aa198}.solarized.solar-green{color:#859900}.cm-s-solarized{line-height:1.45em;color-profile:sRGB;rendering-intent:auto}.cm-s-solarized.cm-s-dark{color:#839496;background-color:#002b36;text-shadow:#002b36 0 1px}.cm-s-solarized.cm-s-light{background-color:#fdf6e3;color:#657b83;text-shadow:#eee8d5 0 1px}.cm-s-solarized .CodeMirror-widget{text-shadow:none}.cm-s-solarized .cm-header{color:#586e75}.cm-s-solarized .cm-quote{color:#93a1a1}.cm-s-solarized .cm-keyword{color:#cb4b16}.cm-s-solarized .cm-atom,.cm-s-solarized .cm-number{color:#d33682}.cm-s-solarized .cm-def{color:#2aa198}.cm-s-solarized .cm-variable{color:#839496}.cm-s-solarized .cm-variable-2{color:#b58900}.cm-s-solarized .cm-variable-3{color:#6c71c4}.cm-s-solarized .cm-property{color:#2aa198}.cm-s-solarized .cm-operator{color:#6c71c4}.cm-s-solarized .cm-comment{color:#586e75;font-style:italic}.cm-s-solarized .cm-string{color:#859900}.cm-s-solarized .cm-string-2{color:#b58900}.cm-s-solarized .cm-meta{color:#859900}.cm-s-solarized .cm-qualifier{color:#b58900}.cm-s-solarized .cm-builtin{color:#d33682}.cm-s-solarized .cm-bracket{color:#cb4b16}.cm-s-solarized .CodeMirror-matchingbracket{color:#859900}.cm-s-solarized .CodeMirror-nonmatchingbracket{color:#dc322f}.cm-s-solarized .cm-tag{color:#93a1a1}.cm-s-solarized .cm-attribute{color:#2aa198}.cm-s-solarized .cm-hr{color:transparent;border-top:1px solid #586e75;display:block}.cm-s-solarized .cm-link{color:#93a1a1;cursor:pointer}.cm-s-solarized .cm-special{color:#6c71c4}.cm-s-solarized .cm-em{color:#999;text-decoration:underline;text-decoration-style:dotted}.cm-s-solarized .cm-strong{color:#eee}.cm-s-solarized .cm-error,.cm-s-solarized .cm-invalidchar{color:#586e75;border-bottom:1px dotted #dc322f}.cm-s-solarized.cm-s-dark div.CodeMirror-selected{background:#073642}.cm-s-solarized.cm-s-dark.CodeMirror ::selection{background:rgba(7,54,66,.99)}.cm-s-
|
1 |
+
.solarized.base03{color:#002b36}.solarized.base02{color:#073642}.solarized.base01{color:#586e75}.solarized.base00{color:#657b83}.solarized.base0{color:#839496}.solarized.base1{color:#93a1a1}.solarized.base2{color:#eee8d5}.solarized.base3{color:#fdf6e3}.solarized.solar-yellow{color:#b58900}.solarized.solar-orange{color:#cb4b16}.solarized.solar-red{color:#dc322f}.solarized.solar-magenta{color:#d33682}.solarized.solar-violet{color:#6c71c4}.solarized.solar-blue{color:#268bd2}.solarized.solar-cyan{color:#2aa198}.solarized.solar-green{color:#859900}.cm-s-solarized{line-height:1.45em;color-profile:sRGB;rendering-intent:auto}.cm-s-solarized.cm-s-dark{color:#839496;background-color:#002b36;text-shadow:#002b36 0 1px}.cm-s-solarized.cm-s-light{background-color:#fdf6e3;color:#657b83;text-shadow:#eee8d5 0 1px}.cm-s-solarized .CodeMirror-widget{text-shadow:none}.cm-s-solarized .cm-header{color:#586e75}.cm-s-solarized .cm-quote{color:#93a1a1}.cm-s-solarized .cm-keyword{color:#cb4b16}.cm-s-solarized .cm-atom,.cm-s-solarized .cm-number{color:#d33682}.cm-s-solarized .cm-def{color:#2aa198}.cm-s-solarized .cm-variable{color:#839496}.cm-s-solarized .cm-variable-2{color:#b58900}.cm-s-solarized .cm-variable-3{color:#6c71c4}.cm-s-solarized .cm-property{color:#2aa198}.cm-s-solarized .cm-operator{color:#6c71c4}.cm-s-solarized .cm-comment{color:#586e75;font-style:italic}.cm-s-solarized .cm-string{color:#859900}.cm-s-solarized .cm-string-2{color:#b58900}.cm-s-solarized .cm-meta{color:#859900}.cm-s-solarized .cm-qualifier{color:#b58900}.cm-s-solarized .cm-builtin{color:#d33682}.cm-s-solarized .cm-bracket{color:#cb4b16}.cm-s-solarized .CodeMirror-matchingbracket{color:#859900}.cm-s-solarized .CodeMirror-nonmatchingbracket{color:#dc322f}.cm-s-solarized .cm-tag{color:#93a1a1}.cm-s-solarized .cm-attribute{color:#2aa198}.cm-s-solarized .cm-hr{color:transparent;border-top:1px solid #586e75;display:block}.cm-s-solarized .cm-link{color:#93a1a1;cursor:pointer}.cm-s-solarized .cm-special{color:#6c71c4}.cm-s-solarized .cm-em{color:#999;text-decoration:underline;text-decoration-style:dotted}.cm-s-solarized .cm-strong{color:#eee}.cm-s-solarized .cm-error,.cm-s-solarized .cm-invalidchar{color:#586e75;border-bottom:1px dotted #dc322f}.cm-s-solarized.cm-s-dark div.CodeMirror-selected{background:#073642}.cm-s-solarized.cm-s-dark.CodeMirror ::selection{background:rgba(7,54,66,.99)}.cm-s-dark .CodeMirror-line>span::-moz-selection,.cm-s-dark .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-dark .CodeMirror-line::-moz-selection{background:rgba(7,54,66,.99)}.cm-s-solarized.cm-s-light div.CodeMirror-selected{background:#eee8d5}.cm-s-light .CodeMirror-line>span::selection,.cm-s-light .CodeMirror-line>span>span::selection,.cm-s-solarized.cm-s-light .CodeMirror-line::selection{background:#eee8d5}.cm-s-ligh .CodeMirror-line>span::-moz-selection,.cm-s-ligh .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-light .CodeMirror-line::-moz-selection{background:#eee8d5}.cm-s-solarized.CodeMirror{-moz-box-shadow:inset 7px 0 12px -6px #000;-webkit-box-shadow:inset 7px 0 12px -6px #000;box-shadow:inset 7px 0 12px -6px #000}.cm-s-solarized .CodeMirror-gutters{border-right:0}.cm-s-solarized.cm-s-dark .CodeMirror-gutters{background-color:#073642}.cm-s-solarized.cm-s-dark .CodeMirror-linenumber{color:#586e75;text-shadow:#021014 0 -1px}.cm-s-solarized.cm-s-light .CodeMirror-gutters{background-color:#eee8d5}.cm-s-solarized.cm-s-light .CodeMirror-linenumber{color:#839496}.cm-s-solarized .CodeMirror-linenumber{padding:0 5px}.cm-s-solarized .CodeMirror-guttermarker-subtle{color:#586e75}.cm-s-solarized.cm-s-dark .CodeMirror-guttermarker{color:#ddd}.cm-s-solarized.cm-s-light .CodeMirror-guttermarker{color:#cb4b16}.cm-s-solarized .CodeMirror-gutter .CodeMirror-gutter-text{color:#586e75}.cm-s-solarized .CodeMirror-cursor{border-left:1px solid #819090}.cm-s-solarized.cm-s-light.cm-fat-cursor .CodeMirror-cursor{background:#7e7}.cm-s-solarized.cm-s-light .cm-animate-fat-cursor{background-color:#7e7}.cm-s-solarized.cm-s-dark.cm-fat-cursor .CodeMirror-cursor{background:#586e75}.cm-s-solarized.cm-s-dark .cm-animate-fat-cursor{background-color:#586e75}.cm-s-solarized.cm-s-dark .CodeMirror-activeline-background{background:rgba(255,255,255,.06)}.cm-s-solarized.cm-s-light .CodeMirror-activeline-background{background:rgba(0,0,0,.06)}
|
css/min/cmthemes/the-matrix.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-the-matrix.CodeMirror{background:#000;color:#
|
1 |
+
.cm-s-the-matrix.CodeMirror{background:#000;color:#0f0}.cm-s-the-matrix div.CodeMirror-selected{background:#2d2d2d}.cm-s-the-matrix .CodeMirror-line::selection,.cm-s-the-matrix .CodeMirror-line>span::selection,.cm-s-the-matrix .CodeMirror-line>span>span::selection{background:rgba(45,45,45,.99)}.cm-s-the-matrix .CodeMirror-line::-moz-selection,.cm-s-the-matrix .CodeMirror-line>span::-moz-selection,.cm-s-the-matrix .CodeMirror-line>span>span::-moz-selection{background:rgba(45,45,45,.99)}.cm-s-the-matrix .CodeMirror-gutters{background:#060;border-right:2px solid #0f0}.cm-s-the-matrix .CodeMirror-guttermarker{color:#0f0}.cm-s-the-matrix .CodeMirror-guttermarker-subtle,.cm-s-the-matrix .CodeMirror-linenumber{color:#fff}.cm-s-the-matrix .CodeMirror-cursor{border-left:1px solid #0f0}.cm-s-the-matrix span.cm-keyword{color:#008803;font-weight:700}.cm-s-the-matrix span.cm-atom{color:#3ff}.cm-s-the-matrix span.cm-number{color:#ffb94f}.cm-s-the-matrix span.cm-def{color:#99c}.cm-s-the-matrix span.cm-variable{color:#f6c}.cm-s-the-matrix span.cm-variable-2{color:#c6f}.cm-s-the-matrix span.cm-variable-3{color:#96f}.cm-s-the-matrix span.cm-property{color:#62ffa0}.cm-s-the-matrix span.cm-operator{color:#999}.cm-s-the-matrix span.cm-comment{color:#ccc}.cm-s-the-matrix span.cm-string{color:#39c}.cm-s-the-matrix span.cm-meta{color:#c9f}.cm-s-the-matrix span.cm-qualifier{color:#fff700}.cm-s-the-matrix span.cm-builtin{color:#30a}.cm-s-the-matrix span.cm-bracket{color:#cc7}.cm-s-the-matrix span.cm-tag{color:#ffbd40}.cm-s-the-matrix span.cm-attribute{color:#fff700}.cm-s-the-matrix span.cm-error{color:red}.cm-s-the-matrix .CodeMirror-activeline-background{background:#040}
|
css/min/cmthemes/tomorrow-night-bright.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-tomorrow-night-bright.CodeMirror{background:#000;color:#eaeaea}.cm-s-tomorrow-night-bright div.CodeMirror-selected{background:#424242}.cm-s-tomorrow-night-bright .CodeMirror-gutters{background:#000;border-right:0}.cm-s-tomorrow-night-bright .CodeMirror-guttermarker{color:#e78c45}.cm-s-tomorrow-night-bright .CodeMirror-guttermarker-subtle{color:#777}.cm-s-tomorrow-night-bright .CodeMirror-linenumber{color:#424242}.cm-s-tomorrow-night-bright .CodeMirror-cursor{border-left:1px solid #6a6a6a}.cm-s-tomorrow-night-bright span.cm-comment{color:#d27b53}.cm-s-tomorrow-night-bright span.cm-atom,.cm-s-tomorrow-night-bright span.cm-number{color:#a16a94}.cm-s-tomorrow-night-bright span.cm-
|
1 |
+
.cm-s-tomorrow-night-bright.CodeMirror{background:#000;color:#eaeaea}.cm-s-tomorrow-night-bright div.CodeMirror-selected{background:#424242}.cm-s-tomorrow-night-bright .CodeMirror-gutters{background:#000;border-right:0}.cm-s-tomorrow-night-bright .CodeMirror-guttermarker{color:#e78c45}.cm-s-tomorrow-night-bright .CodeMirror-guttermarker-subtle{color:#777}.cm-s-tomorrow-night-bright .CodeMirror-linenumber{color:#424242}.cm-s-tomorrow-night-bright .CodeMirror-cursor{border-left:1px solid #6a6a6a}.cm-s-tomorrow-night-bright span.cm-comment{color:#d27b53}.cm-s-tomorrow-night-bright span.cm-atom,.cm-s-tomorrow-night-bright span.cm-number{color:#a16a94}.cm-s-tomorrow-night-bright span.cm-attribute,.cm-s-tomorrow-night-bright span.cm-property{color:#9c9}.cm-s-tomorrow-night-bright span.cm-keyword{color:#d54e53}.cm-s-tomorrow-night-bright span.cm-string{color:#e7c547}.cm-s-tomorrow-night-bright span.cm-variable{color:#b9ca4a}.cm-s-tomorrow-night-bright span.cm-variable-2{color:#7aa6da}.cm-s-tomorrow-night-bright span.cm-def{color:#e78c45}.cm-s-tomorrow-night-bright span.cm-bracket{color:#eaeaea}.cm-s-tomorrow-night-bright span.cm-tag{color:#d54e53}.cm-s-tomorrow-night-bright span.cm-link{color:#a16a94}.cm-s-tomorrow-night-bright span.cm-error{background:#d54e53;color:#6a6a6a}.cm-s-tomorrow-night-bright .CodeMirror-activeline-background{background:#2a2a2a}.cm-s-tomorrow-night-bright .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
|
css/min/cmthemes/tomorrow-night-eighties.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-tomorrow-night-eighties.CodeMirror{background:#000;color:#
|
1 |
+
.cm-s-tomorrow-night-eighties.CodeMirror{background:#000;color:#ccc}.cm-s-tomorrow-night-eighties div.CodeMirror-selected{background:#2d2d2d}.cm-s-tomorrow-night-eighties .CodeMirror-line::selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span::selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span>span::selection{background:rgba(45,45,45,.99)}.cm-s-tomorrow-night-eighties .CodeMirror-line::-moz-selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span::-moz-selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span>span::-moz-selection{background:rgba(45,45,45,.99)}.cm-s-tomorrow-night-eighties .CodeMirror-gutters{background:#000;border-right:0}.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker{color:#f2777a}.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker-subtle{color:#777}.cm-s-tomorrow-night-eighties .CodeMirror-linenumber{color:#515151}.cm-s-tomorrow-night-eighties .CodeMirror-cursor{border-left:1px solid #6a6a6a}.cm-s-tomorrow-night-eighties span.cm-comment{color:#d27b53}.cm-s-tomorrow-night-eighties span.cm-atom,.cm-s-tomorrow-night-eighties span.cm-number{color:#a16a94}.cm-s-tomorrow-night-eighties span.cm-attribute,.cm-s-tomorrow-night-eighties span.cm-property{color:#9c9}.cm-s-tomorrow-night-eighties span.cm-keyword{color:#f2777a}.cm-s-tomorrow-night-eighties span.cm-string{color:#fc6}.cm-s-tomorrow-night-eighties span.cm-variable{color:#9c9}.cm-s-tomorrow-night-eighties span.cm-variable-2{color:#69c}.cm-s-tomorrow-night-eighties span.cm-def{color:#f99157}.cm-s-tomorrow-night-eighties span.cm-bracket{color:#ccc}.cm-s-tomorrow-night-eighties span.cm-tag{color:#f2777a}.cm-s-tomorrow-night-eighties span.cm-link{color:#a16a94}.cm-s-tomorrow-night-eighties span.cm-error{background:#f2777a;color:#6a6a6a}.cm-s-tomorrow-night-eighties .CodeMirror-activeline-background{background:#343600}.cm-s-tomorrow-night-eighties .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
|
css/min/cmthemes/ttcn.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-ttcn .cm-quote{color:#090}.cm-strong{font-weight:700}.cm-s-ttcn .cm-header{color:#00f;font-weight:700}.cm-s-ttcn .cm-atom{color:#219}.cm-s-ttcn .cm-attribute{color:#00c}.cm-s-ttcn .cm-bracket{color:#997}.cm-s-ttcn .cm-comment{color:#333}.cm-s-ttcn .cm-def{color:#00f}.cm-s-ttcn .cm-em{font-style:italic}.cm-s-ttcn .cm-error{color:red}.cm-s-ttcn .cm-hr{color:#999}.cm-s-ttcn .cm-keyword{font-weight:700}.cm-s-ttcn .cm-link{color:#00c;text-decoration:underline}.cm-s-ttcn .cm-meta{color:#555}.cm-s-ttcn .cm-negative{color:#d44}.cm-s-ttcn .cm-positive{color:#292}.cm-s-ttcn .cm-qualifier{color:#555}.cm-s-ttcn .cm-strikethrough{text-decoration:line-through}.cm-s-ttcn .cm-string{color:#006400}.cm-s-ttcn .cm-string-2{color:#f50}.cm-s-ttcn .cm-strong{font-weight:700}.cm-s-ttcn .cm-tag{color:#170}.cm-s-ttcn .cm-variable{color:#8b2252}.cm-s-ttcn .cm-variable-2{color:#05a}.cm-s-ttcn .cm-variable-3{color:#085}.cm-s-ttcn .cm-invalidchar{color:red}.cm-s-ttcn .cm-accessTypes,.cm-s-ttcn .cm-compareTypes{color:#27408b}.cm-s-ttcn .cm-cmipVerbs{color:#8b2252}.cm-s-ttcn .cm-modifier{color:#d2691e}.cm-s-ttcn .cm-status{color:#8b4545}.cm-s-ttcn .cm-storage{color:#a020f0}.cm-s-ttcn .cm-tags{color:#006400}.cm-s-ttcn .cm-externalCommands{color:#8b4545;font-weight:700}.cm-s-ttcn .cm-fileNCtrlMaskOptions,.cm-s-ttcn .cm-sectionTitle{color:#2e8b57;font-weight:700}.cm-s-ttcn .cm-booleanConsts,.cm-s-ttcn .cm-otherConsts,.cm-s-ttcn .cm-verdictConsts{color:#006400}.cm-s-ttcn .cm-configOps,.cm-s-ttcn .cm-functionOps,.cm-s-ttcn .cm-portOps,.cm-s-ttcn .cm-sutOps,.cm-s-ttcn .cm-timerOps,.cm-s-ttcn .cm-verdictOps{color:#
|
1 |
+
.cm-s-ttcn .cm-quote{color:#090}.cm-strong{font-weight:700}.cm-s-ttcn .cm-header{color:#00f;font-weight:700}.cm-s-ttcn .cm-atom{color:#219}.cm-s-ttcn .cm-attribute{color:#00c}.cm-s-ttcn .cm-bracket{color:#997}.cm-s-ttcn .cm-comment{color:#333}.cm-s-ttcn .cm-def{color:#00f}.cm-s-ttcn .cm-em{font-style:italic}.cm-s-ttcn .cm-error{color:red}.cm-s-ttcn .cm-hr{color:#999}.cm-s-ttcn .cm-keyword{font-weight:700}.cm-s-ttcn .cm-link{color:#00c;text-decoration:underline}.cm-s-ttcn .cm-meta{color:#555}.cm-s-ttcn .cm-negative{color:#d44}.cm-s-ttcn .cm-positive{color:#292}.cm-s-ttcn .cm-qualifier{color:#555}.cm-s-ttcn .cm-strikethrough{text-decoration:line-through}.cm-s-ttcn .cm-string{color:#006400}.cm-s-ttcn .cm-string-2{color:#f50}.cm-s-ttcn .cm-strong{font-weight:700}.cm-s-ttcn .cm-tag{color:#170}.cm-s-ttcn .cm-variable{color:#8b2252}.cm-s-ttcn .cm-variable-2{color:#05a}.cm-s-ttcn .cm-variable-3{color:#085}.cm-s-ttcn .cm-invalidchar{color:red}.cm-s-ttcn .cm-accessTypes,.cm-s-ttcn .cm-compareTypes{color:#27408b}.cm-s-ttcn .cm-cmipVerbs{color:#8b2252}.cm-s-ttcn .cm-modifier{color:#d2691e}.cm-s-ttcn .cm-status{color:#8b4545}.cm-s-ttcn .cm-storage{color:#a020f0}.cm-s-ttcn .cm-tags{color:#006400}.cm-s-ttcn .cm-externalCommands{color:#8b4545;font-weight:700}.cm-s-ttcn .cm-fileNCtrlMaskOptions,.cm-s-ttcn .cm-sectionTitle{color:#2e8b57;font-weight:700}.cm-s-ttcn .cm-booleanConsts,.cm-s-ttcn .cm-otherConsts,.cm-s-ttcn .cm-verdictConsts{color:#006400}.cm-s-ttcn .cm-configOps,.cm-s-ttcn .cm-functionOps,.cm-s-ttcn .cm-portOps,.cm-s-ttcn .cm-sutOps,.cm-s-ttcn .cm-timerOps,.cm-s-ttcn .cm-verdictOps{color:#00f}.cm-s-ttcn .cm-preprocessor,.cm-s-ttcn .cm-templateMatch,.cm-s-ttcn .cm-ttcn3Macros{color:#27408b}.cm-s-ttcn .cm-types{color:brown;font-weight:700}.cm-s-ttcn .cm-visibilityModifiers{font-weight:700}
|
css/min/cmthemes/twilight.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-twilight.CodeMirror{background:#141414;color:#f7f7f7}.cm-s-twilight div.CodeMirror-selected{background:#323232}.cm-s-twilight .CodeMirror-line::selection,.cm-s-twilight .CodeMirror-line>span::selection,.cm-s-twilight .CodeMirror-line>span>span::selection{background:rgba(50,50,50,.99)}.cm-s-twilight .CodeMirror-line::-moz-selection,.cm-s-twilight .CodeMirror-line>span::-moz-selection,.cm-s-twilight .CodeMirror-line>span>span::-moz-selection{background:rgba(50,50,50,.99)}.cm-s-twilight .CodeMirror-gutters{background:#222;border-right:1px solid #aaa}.cm-s-twilight .CodeMirror-guttermarker{color:#fff}.cm-s-twilight .CodeMirror-guttermarker-subtle,.cm-s-twilight .CodeMirror-linenumber{color:#aaa}.cm-s-twilight .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-twilight .cm-keyword{color:#f9ee98}.cm-s-twilight .cm-atom{color:#fc0}.cm-s-twilight .cm-number{color:#ca7841}.cm-s-twilight .cm-def{color:#8da6ce}.cm-s-twilight span.cm-
|
1 |
+
.cm-s-twilight.CodeMirror{background:#141414;color:#f7f7f7}.cm-s-twilight div.CodeMirror-selected{background:#323232}.cm-s-twilight .CodeMirror-line::selection,.cm-s-twilight .CodeMirror-line>span::selection,.cm-s-twilight .CodeMirror-line>span>span::selection{background:rgba(50,50,50,.99)}.cm-s-twilight .CodeMirror-line::-moz-selection,.cm-s-twilight .CodeMirror-line>span::-moz-selection,.cm-s-twilight .CodeMirror-line>span>span::-moz-selection{background:rgba(50,50,50,.99)}.cm-s-twilight .CodeMirror-gutters{background:#222;border-right:1px solid #aaa}.cm-s-twilight .CodeMirror-guttermarker{color:#fff}.cm-s-twilight .CodeMirror-guttermarker-subtle,.cm-s-twilight .CodeMirror-linenumber{color:#aaa}.cm-s-twilight .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-twilight .cm-keyword{color:#f9ee98}.cm-s-twilight .cm-atom{color:#fc0}.cm-s-twilight .cm-number{color:#ca7841}.cm-s-twilight .cm-def{color:#8da6ce}.cm-s-twilight span.cm-def,.cm-s-twilight span.cm-tag,.cm-s-twilight span.cm-variable-2,.cm-s-twilight span.cm-variable-3{color:#607392}.cm-s-twilight .cm-operator{color:#cda869}.cm-s-twilight .cm-comment{color:#777;font-style:italic;font-weight:400}.cm-s-twilight .cm-string{color:#8f9d6a;font-style:italic}.cm-s-twilight .cm-string-2{color:#bd6b18}.cm-s-twilight .cm-meta{background-color:#141414;color:#f7f7f7}.cm-s-twilight .cm-builtin{color:#cda869}.cm-s-twilight .cm-tag{color:#997643}.cm-s-twilight .cm-attribute{color:#d6bb6d}.cm-s-twilight .cm-header{color:#ff6400}.cm-s-twilight .cm-hr{color:#aeaeae}.cm-s-twilight .cm-link{color:#ad9361;font-style:italic;text-decoration:none}.cm-s-twilight .cm-error{border-bottom:1px solid red}.cm-s-twilight .CodeMirror-activeline-background{background:#27282e}.cm-s-twilight .CodeMirror-matchingbracket{outline:1px solid gray;color:#fff!important}
|
css/min/cmthemes/vibrant-ink.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-vibrant-ink.CodeMirror{background:#000;color:#fff}.cm-s-vibrant-ink div.CodeMirror-selected{background:#35493c}.cm-s-vibrant-ink .CodeMirror-line::selection,.cm-s-vibrant-ink .CodeMirror-line>span::selection,.cm-s-vibrant-ink .CodeMirror-line>span>span::selection{background:rgba(53,73,60,.99)}.cm-s-vibrant-ink .CodeMirror-line::-moz-selection,.cm-s-vibrant-ink .CodeMirror-line>span::-moz-selection,.cm-s-vibrant-ink .CodeMirror-line>span>span::-moz-selection{background:rgba(53,73,60,.99)}.cm-s-vibrant-ink .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-vibrant-ink .CodeMirror-guttermarker{color:#fff}.cm-s-vibrant-ink .CodeMirror-guttermarker-subtle,.cm-s-vibrant-ink .CodeMirror-linenumber{color:#d0d0d0}.cm-s-vibrant-ink .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-vibrant-ink .cm-keyword{color:#cc7832}.cm-s-vibrant-ink .cm-atom{color:#fc0}.cm-s-vibrant-ink .cm-number{color:#ffee98}.cm-s-vibrant-ink .cm-def{color:#8da6ce}.cm-s-vibrant
|
1 |
+
.cm-s-vibrant-ink.CodeMirror{background:#000;color:#fff}.cm-s-vibrant-ink div.CodeMirror-selected{background:#35493c}.cm-s-vibrant-ink .CodeMirror-line::selection,.cm-s-vibrant-ink .CodeMirror-line>span::selection,.cm-s-vibrant-ink .CodeMirror-line>span>span::selection{background:rgba(53,73,60,.99)}.cm-s-vibrant-ink .CodeMirror-line::-moz-selection,.cm-s-vibrant-ink .CodeMirror-line>span::-moz-selection,.cm-s-vibrant-ink .CodeMirror-line>span>span::-moz-selection{background:rgba(53,73,60,.99)}.cm-s-vibrant-ink .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-vibrant-ink .CodeMirror-guttermarker{color:#fff}.cm-s-vibrant-ink .CodeMirror-guttermarker-subtle,.cm-s-vibrant-ink .CodeMirror-linenumber{color:#d0d0d0}.cm-s-vibrant-ink .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-vibrant-ink .cm-keyword{color:#cc7832}.cm-s-vibrant-ink .cm-atom{color:#fc0}.cm-s-vibrant-ink .cm-number{color:#ffee98}.cm-s-vibrant-ink .cm-def{color:#8da6ce}.cm-s-vibrant span.cm-def,.cm-s-vibrant span.cm-tag,.cm-s-vibrant-ink span.cm-variable-2,.cm-s-vibrant-ink span.cm-variable-3{color:#ffc66d}.cm-s-vibrant-ink .cm-operator{color:#888}.cm-s-vibrant-ink .cm-comment{color:gray;font-weight:700}.cm-s-vibrant-ink .cm-string{color:#a5c25c}.cm-s-vibrant-ink .cm-string-2{color:red}.cm-s-vibrant-ink .cm-meta{color:#d8fa3c}.cm-s-vibrant-ink .cm-attribute,.cm-s-vibrant-ink .cm-builtin,.cm-s-vibrant-ink .cm-tag{color:#8da6ce}.cm-s-vibrant-ink .cm-header{color:#ff6400}.cm-s-vibrant-ink .cm-hr{color:#aeaeae}.cm-s-vibrant-ink .cm-link{color:#00f}.cm-s-vibrant-ink .cm-error{border-bottom:1px solid red}.cm-s-vibrant-ink .CodeMirror-activeline-background{background:#27282e}.cm-s-vibrant-ink .CodeMirror-matchingbracket{outline:1px solid gray;color:#fff!important}
|
css/min/cmthemes/xq-dark.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-xq-dark.CodeMirror{background:#0a001f;color:#f8f8f8}.cm-s-xq-dark div.CodeMirror-selected{background:#27007a}.cm-s-xq-dark .CodeMirror-line::selection,.cm-s-xq-dark .CodeMirror-line>span::selection,.cm-s-xq-dark .CodeMirror-line>span>span::selection{background:rgba(39,0,122,.99)}.cm-s-xq-dark .CodeMirror-line::-moz-selection,.cm-s-xq-dark .CodeMirror-line>span::-moz-selection,.cm-s-xq-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(39,0,122,.99)}.cm-s-xq-dark .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-xq-dark .CodeMirror-guttermarker{color:#ffbd40}.cm-s-xq-dark .CodeMirror-guttermarker-subtle,.cm-s-xq-dark .CodeMirror-linenumber{color:#f8f8f8}.cm-s-xq-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-xq-dark span.cm-
|
1 |
+
.cm-s-xq-dark.CodeMirror{background:#0a001f;color:#f8f8f8}.cm-s-xq-dark div.CodeMirror-selected{background:#27007a}.cm-s-xq-dark .CodeMirror-line::selection,.cm-s-xq-dark .CodeMirror-line>span::selection,.cm-s-xq-dark .CodeMirror-line>span>span::selection{background:rgba(39,0,122,.99)}.cm-s-xq-dark .CodeMirror-line::-moz-selection,.cm-s-xq-dark .CodeMirror-line>span::-moz-selection,.cm-s-xq-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(39,0,122,.99)}.cm-s-xq-dark .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-xq-dark .CodeMirror-guttermarker,.cm-s-xq-dark span.cm-keyword{color:#ffbd40}.cm-s-xq-dark .CodeMirror-guttermarker-subtle,.cm-s-xq-dark .CodeMirror-linenumber{color:#f8f8f8}.cm-s-xq-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-xq-dark span.cm-atom{color:#6c8cd5}.cm-s-xq-dark span.cm-number{color:#164}.cm-s-xq-dark span.cm-def{color:#fff;text-decoration:underline}.cm-s-xq-dark span.cm-variable{color:#fff}.cm-s-xq-dark span.cm-variable-2{color:#eee}.cm-s-xq-dark span.cm-variable-3{color:#ddd}.cm-s-xq-dark span.cm-comment{color:gray}.cm-s-xq-dark span.cm-string{color:#9fee00}.cm-s-xq-dark span.cm-meta{color:#ff0}.cm-s-xq-dark span.cm-qualifier{color:#fff700}.cm-s-xq-dark span.cm-builtin{color:#30a}.cm-s-xq-dark span.cm-bracket{color:#cc7}.cm-s-xq-dark span.cm-tag{color:#ffbd40}.cm-s-xq-dark span.cm-attribute{color:#fff700}.cm-s-xq-dark span.cm-error{color:red}.cm-s-xq-dark .CodeMirror-activeline-background{background:#27282e}.cm-s-xq-dark .CodeMirror-matchingbracket{outline:1px solid gray;color:#fff!important}
|
css/min/cmthemes/yeti.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-yeti.CodeMirror{background-color:#eceae8!important;color:#d1c9c0!important;border:none}.cm-s-yeti .CodeMirror-gutters{color:#adaba6;background-color:#e5e1db;border:none}.cm-s-yeti .CodeMirror-cursor{border-left:solid thin #d1c9c0}.cm-s-yeti .CodeMirror-linenumber{color:#adaba6}.cm-s-yeti.CodeMirror-focused div.CodeMirror-selected{background:#dcd8d2}.cm-s-yeti .CodeMirror-line::selection,.cm-s-yeti .CodeMirror-line>span::selection,.cm-s-yeti .CodeMirror-line>span>span::selection{background:#dcd8d2}.cm-s-yeti .CodeMirror-line::-moz-selection,.cm-s-yeti .CodeMirror-line>span::-moz-selection,.cm-s-yeti .CodeMirror-line>span>span::-moz-selection{background:#dcd8d2}.cm-s-yeti span.cm-comment{color:#d4c8be}.cm-s-yeti span.cm-string,.cm-s-yeti span.cm-string-2{color:#96c0d8}.cm-s-yeti span.cm-number{color:#a074c4}.cm-s-yeti span.cm-variable{color:#55b5db}.cm-s-yeti span.cm-variable-2{color:#a074c4}.cm-s-yeti span.cm-def{color:#55b5db}.cm-s-yeti span.cm-
|
1 |
+
.cm-s-yeti.CodeMirror{background-color:#eceae8!important;color:#d1c9c0!important;border:none}.cm-s-yeti .CodeMirror-gutters{color:#adaba6;background-color:#e5e1db;border:none}.cm-s-yeti .CodeMirror-cursor{border-left:solid thin #d1c9c0}.cm-s-yeti .CodeMirror-linenumber{color:#adaba6}.cm-s-yeti.CodeMirror-focused div.CodeMirror-selected{background:#dcd8d2}.cm-s-yeti .CodeMirror-line::selection,.cm-s-yeti .CodeMirror-line>span::selection,.cm-s-yeti .CodeMirror-line>span>span::selection{background:#dcd8d2}.cm-s-yeti .CodeMirror-line::-moz-selection,.cm-s-yeti .CodeMirror-line>span::-moz-selection,.cm-s-yeti .CodeMirror-line>span>span::-moz-selection{background:#dcd8d2}.cm-s-yeti span.cm-comment{color:#d4c8be}.cm-s-yeti span.cm-string,.cm-s-yeti span.cm-string-2{color:#96c0d8}.cm-s-yeti span.cm-number{color:#a074c4}.cm-s-yeti span.cm-variable{color:#55b5db}.cm-s-yeti span.cm-variable-2{color:#a074c4}.cm-s-yeti span.cm-def{color:#55b5db}.cm-s-yeti span.cm-keyword,.cm-s-yeti span.cm-operator{color:#9fb96e}.cm-s-yeti span.cm-atom{color:#a074c4}.cm-s-yeti span.cm-meta,.cm-s-yeti span.cm-tag{color:#96c0d8}.cm-s-yeti span.cm-attribute{color:#9fb96e}.cm-s-yeti span.cm-qualifier{color:#96c0d8}.cm-s-yeti span.cm-builtin,.cm-s-yeti span.cm-property{color:#a074c4}.cm-s-yeti span.cm-variable-3{color:#96c0d8}.cm-s-yeti .CodeMirror-activeline-background{background:#e7e4e0}.cm-s-yeti .CodeMirror-matchingbracket{text-decoration:underline}
|
css/min/cmthemes/zenburn.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.cm-s-zenburn .CodeMirror-gutters{background:#3f3f3f!important}.cm-s-zenburn .CodeMirror-foldgutter-open
|
1 |
+
.cm-s-zenburn .CodeMirror-gutters{background:#3f3f3f!important}.CodeMirror-foldgutter-folded,.cm-s-zenburn .CodeMirror-foldgutter-open{color:#999}.cm-s-zenburn .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-zenburn{background-color:#3f3f3f;color:#dcdccc}.cm-s-zenburn span.cm-builtin{color:#dcdccc;font-weight:700}.cm-s-zenburn span.cm-comment{color:#7f9f7f}.cm-s-zenburn span.cm-keyword{color:#f0dfaf;font-weight:700}.cm-s-zenburn span.cm-atom{color:#bfebbf}.cm-s-zenburn span.cm-def{color:#dcdccc}.cm-s-zenburn span.cm-variable{color:#dfaf8f}.cm-s-zenburn span.cm-variable-2{color:#dcdccc}.cm-s-zenburn span.cm-string,.cm-s-zenburn span.cm-string-2{color:#cc9393}.cm-s-zenburn span.cm-number{color:#dcdccc}.cm-s-zenburn span.cm-tag{color:#93e0e3}.cm-s-zenburn span.cm-attribute,.cm-s-zenburn span.cm-property{color:#dfaf8f}.cm-s-zenburn span.cm-qualifier{color:#7cb8bb}.cm-s-zenburn span.cm-meta{color:#f0dfaf}.cm-s-zenburn span.cm-header,.cm-s-zenburn span.cm-operator{color:#f0efd0}.cm-s-zenburn span.CodeMirror-matchingbracket{box-sizing:border-box;background:0 0;border-bottom:1px solid}.cm-s-zenburn span.CodeMirror-nonmatchingbracket{border-bottom:1px solid;background:0 0}.cm-s-zenburn .CodeMirror-activeline,.cm-s-zenburn .CodeMirror-activeline-background{background:#000}.cm-s-zenburn div.CodeMirror-selected{background:#545454}.cm-s-zenburn .CodeMirror-focused div.CodeMirror-selected{background:#4f4f4f}
|
css/min/codemirror.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.CodeMirror{font-family:monospace;height:300px;color:#000}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-
|
1 |
+
.CodeMirror{font-family:monospace;height:300px;color:#000}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:none;font-variant-ligatures:none}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:-20px;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper{-webkit-user-select:none;-moz-user-select:none;user-select:none}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:''}span.CodeMirror-selectedtext{background:0 0}
|
css/min/edit.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.form-table th{width:auto}h3{margin:1em 0}label{cursor:auto}label[for=
|
1 |
+
.form-table th{width:auto}h3{margin:1em 0}label{cursor:auto}label[for=snippet_description] h3 div{position:absolute}ul.tagit{background-color:#fff!important}.submit .button{margin-right:.5em}.snippet-scope div{margin-right:30px;display:inline-block}.CodeMirror{width:100%;height:auto!important;border:1px solid #dfdfdf;border-radius:3px;background-color:#fff}.CodeMirror-sizer{min-height:300px!important}.CodeMirror-focused .cm-matchhighlight{color:#fff!important;outline:1px solid green}.cm-s-rubyblue .CodeMirror-cursor{border-left:1px solid #fff!important}
|
css/min/manage.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.admin-scope .column-name>a:after,.frontend-scope .column-name>a:after{padding-left:5px;font-family:"dashicons";vertical-align:top}.admin-scope .column-name>a:after{font-size:14px;content:"\f111"}.frontend-scope .column-name>a:after{font-size:16px;content:"\f177"}.snippets .badge{margin-left:4px;padding:3px 6px;text-decoration:none;border:medium none;border-radius:2px;background:#e0e0e0;font-size:smaller}.clear-filters{vertical-align:bottom}.snippets
|
1 |
+
.admin-scope .column-name>a:after,.frontend-scope .column-name>a:after{padding-left:5px;font-family:"dashicons";vertical-align:top}.admin-scope .column-name>a:after{font-size:14px;content:"\f111"}.frontend-scope .column-name>a:after{font-size:16px;content:"\f177"}.snippets .badge{margin-left:4px;padding:3px 6px;text-decoration:none;border:medium none;border-radius:2px;background:#e0e0e0;font-size:smaller}.clear-filters{vertical-align:bottom}.snippets td,.snippets th{color:#000}.snippets tr{background:#fff}.snippets .row-actions{color:#ddd}.snippets .clear-filters{vertical-align:middle}.snippets tfoot th{border-top:none!important}.snippets tfoot th.check-column{padding:13px 0 0 3px}.snippets .inactive th.check-column,.snippets tfoot th.check-column,.snippets thead th.check-column{padding-left:5px}.snippets .column-description p{color:#333}.snippets .inactive a{color:#579}.snippets .active td,.snippets .active th,.snippets .inactive td,.snippets .inactive th{padding:10px 9px;border:none;box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.snippets .active td,.snippets .active th{background-color:rgba(120,200,230,.06)}.snippets .active th.check-column{border-left:2px solid #2ea2cc}.snippets tr.active+tr.inactive td,.snippets tr.active+tr.inactive th{border-top:1px solid rgba(0,0,0,.03);box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #e1e1e1}.snippets #all-snippets-table a.delete:hover,.snippets #search-snippets-table a.delete:hover,.snippets a.delete:hover{border-bottom:1px solid red;color:red}#wpbody-content .snippets .column-name{white-space:nowrap}
|
css/min/menu-icon.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@font-face{font-family:'code-snippets';src:url(
|
1 |
+
@font-face{font-family:'code-snippets';src:url(../font/code-snippets.eot);src:url(../font/code-snippets.eot?#iefix) format('embedded-opentype'),url(../font/code-snippets.ttf) format('truetype'),url(../font/code-snippets.woff) format('woff'),url(../font/code-snippets.svg#code-snippets) format('svg');font-weight:400;font-style:normal}#toplevel_page_snippets div.wp-menu-image:before{font-family:'code-snippets'!important;content:'\e600'}
|
css/min/tagit.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
ul.tagit{padding:1px 5px;overflow:auto;margin-left:inherit;margin-right:inherit}ul.tagit li{display:block;float:left;margin:2px 5px 2px 0}ul.tagit li.tagit-choice{position:relative;line-height:inherit}input.tagit-hidden-field{display:none}ul.tagit li.tagit-choice-read-only{padding:.2em .5em}ul.tagit li.tagit-choice-editable{padding:.2em 18px .2em .5em}ul.tagit li.tagit-new{padding:.25em 4px .25em 0}ul.tagit li.tagit-choice a.tagit-label{cursor:pointer;text-decoration:none}ul.tagit li.tagit-choice .tagit-close{cursor:pointer;position:absolute;top:50%;margin-top:-8px;line-height:17px
|
1 |
+
ul.tagit{padding:1px 5px;overflow:auto;margin-left:inherit;margin-right:inherit;border-style:solid;border-width:1px;border-color:#c6c6c6;background:inherit}ul.tagit li,ul.tagit li.tagit-choice input{display:block;float:left;margin:2px 5px 2px 0}ul.tagit li.tagit-choice{position:relative;line-height:inherit}input.tagit-hidden-field{display:none}ul.tagit li.tagit-choice-read-only{padding:.2em .5em}ul.tagit li.tagit-choice-editable{padding:.2em 18px .2em .5em}ul.tagit li.tagit-new{padding:.25em 4px .25em 0}ul.tagit li.tagit-choice a.tagit-label{cursor:pointer;text-decoration:none}ul.tagit li.tagit-choice .tagit-close{cursor:pointer;position:absolute;top:50%;margin-top:-8px;line-height:17px;right:.4em}ul.tagit input[type=text]{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;border:none;margin:0;padding:0;width:inherit;background-color:inherit;outline:none;color:#333;background:0 0}ul.tagit li.tagit-choice{-moz-border-radius:6px;border-radius:6px;-webkit-border-radius:6px;border:1px solid #cad8f3;background:0 0;background-color:#dee7f8;font-weight:400}ul.tagit li.tagit-choice .tagit-label:not(a){color:#555}ul.tagit li.tagit-choice a.tagit-close{text-decoration:none}ul.tagit li.tagit-choice .ui-icon{display:none}ul.tagit li.tagit-choice .tagit-close .text-icon{display:inline;font-family:arial,sans-serif;font-size:16px;line-height:16px;color:#777}ul.tagit li.tagit-choice.remove,ul.tagit li.tagit-choice:hover{background-color:#bbcef1;border-color:#6d95e0}ul.tagit li.tagit-choice a.tagLabel:hover,ul.tagit li.tagit-choice a.tagit-close .text-icon:hover{color:#222}.ui-widget{font-size:1.1em}.tagit-autocomplete.ui-autocomplete{position:absolute;cursor:default}* html .tagit-autocomplete.ui-autocomplete{width:1px}.tagit-autocomplete.ui-menu{list-style:none;padding:2px;margin:0;display:block;float:left}.tagit-autocomplete.ui-menu .ui-menu{margin-top:-3px}.tagit-autocomplete.ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;float:left;clear:left;width:100%}.tagit-autocomplete.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:.2em .4em;line-height:1.5;zoom:1}.tagit-autocomplete .ui-menu .ui-menu-item a.ui-state-active,.tagit-autocomplete .ui-menu .ui-menu-item a.ui-state-hover{font-weight:400;margin:-1px}.tagit-autocomplete.ui-widget-content{border:1px solid #aaa;background:#fff 50% 50% repeat-x;color:#222}.tagit-autocomplete .ui-corner-all,.tagit-autocomplete.ui-corner-all{-moz-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px;border-radius:4px}.tagit-autocomplete .ui-state-focus,.tagit-autocomplete .ui-state-hover{border:1px solid #999;background:#dadada;font-weight:400;color:#212121}.tagit-autocomplete .ui-state-active,.tagit-autocomplete .ui-widget-content{border:1px solid #aaa}.tagit .ui-helper-hidden-accessible{position:absolute!important;clip:rect(1px,1px,1px,1px)}
|
js/min/codemirror.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
!function(a){if("object"==typeof exports&&"object"==typeof module)module.exports=a();else{if("function"==typeof define&&define.amd)return define([],a);(this||window).CodeMirror=a()}}(function(){"use strict";function a(c,d){if(!(this instanceof a))return new a(c,d);this.options=d=d?Le(d):{},Le(ag,d,!1),n(d);var e=d.value;"string"==typeof e&&(e=new yg(e,d.mode,null,d.lineSeparator)),this.doc=e;var f=new a.inputStyles[d.inputStyle](this),g=this.display=new b(c,e,f);g.wrapper.CodeMirror=this,j(this),h(this),d.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),d.autofocus&&!Df&&g.input.focus(),r(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new Ee,keySeq:null,specialChars:null};var i=this;tf&&11>uf&&setTimeout(function(){i.display.input.reset(!0)},20),Rb(this),Xe(),vb(this),this.curOp.forceUpdate=!0,Yd(this,e),d.autofocus&&!Df||i.hasFocus()?setTimeout(Me(rc,this),20):sc(this);for(var k in bg)bg.hasOwnProperty(k)&&bg[k](this,d[k],cg);w(this),d.finishInit&&d.finishInit(this);for(var l=0;l<gg.length;++l)gg[l](this);xb(this),vf&&d.lineWrapping&&"optimizelegibility"==getComputedStyle(g.lineDiv).textRendering&&(g.lineDiv.style.textRendering="auto")}function b(a,b,c){var d=this;this.input=c,d.scrollbarFiller=Qe("div",null,"CodeMirror-scrollbar-filler"),d.scrollbarFiller.setAttribute("cm-not-content","true"),d.gutterFiller=Qe("div",null,"CodeMirror-gutter-filler"),d.gutterFiller.setAttribute("cm-not-content","true"),d.lineDiv=Qe("div",null,"CodeMirror-code"),d.selectionDiv=Qe("div",null,null,"position: relative; z-index: 1"),d.cursorDiv=Qe("div",null,"CodeMirror-cursors"),d.measure=Qe("div",null,"CodeMirror-measure"),d.lineMeasure=Qe("div",null,"CodeMirror-measure"),d.lineSpace=Qe("div",[d.measure,d.lineMeasure,d.selectionDiv,d.cursorDiv,d.lineDiv],null,"position: relative; outline: none"),d.mover=Qe("div",[Qe("div",[d.lineSpace],"CodeMirror-lines")],null,"position: relative"),d.sizer=Qe("div",[d.mover],"CodeMirror-sizer"),d.sizerWidth=null,d.heightForcer=Qe("div",null,null,"position: absolute; height: "+Jg+"px; width: 1px;"),d.gutters=Qe("div",null,"CodeMirror-gutters"),d.lineGutter=null,d.scroller=Qe("div",[d.sizer,d.heightForcer,d.gutters],"CodeMirror-scroll"),d.scroller.setAttribute("tabIndex","-1"),d.wrapper=Qe("div",[d.scrollbarFiller,d.gutterFiller,d.scroller],"CodeMirror"),tf&&8>uf&&(d.gutters.style.zIndex=-1,d.scroller.style.paddingRight=0),vf||qf&&Df||(d.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(d.wrapper):a(d.wrapper)),d.viewFrom=d.viewTo=b.first,d.reportedViewFrom=d.reportedViewTo=b.first,d.view=[],d.renderedView=null,d.externalMeasured=null,d.viewOffset=0,d.lastWrapHeight=d.lastWrapWidth=0,d.updateLineNumbers=null,d.nativeBarWidth=d.barHeight=d.barWidth=0,d.scrollbarsClipped=!1,d.lineNumWidth=d.lineNumInnerWidth=d.lineNumChars=null,d.alignWidgets=!1,d.cachedCharWidth=d.cachedTextHeight=d.cachedPaddingH=null,d.maxLine=null,d.maxLineLength=0,d.maxLineChanged=!1,d.wheelDX=d.wheelDY=d.wheelStartX=d.wheelStartY=null,d.shift=!1,d.selForContextMenu=null,d.activeTouch=null,c.init(d)}function c(b){b.doc.mode=a.getMode(b.options,b.doc.modeOption),d(b)}function d(a){a.doc.iter(function(a){a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null)}),a.doc.frontier=a.doc.first,Na(a,100),a.state.modeGen++,a.curOp&&Kb(a)}function e(a){a.options.lineWrapping?($g(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(Zg(a.display.wrapper,"CodeMirror-wrap"),m(a)),g(a),Kb(a),ib(a),setTimeout(function(){s(a)},100)}function f(a){var b=tb(a.display),c=a.options.lineWrapping,d=c&&Math.max(5,a.display.scroller.clientWidth/ub(a.display)-3);return function(e){if(wd(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 g(a){var b=a.doc,c=f(a);b.iter(function(a){var b=c(a);b!=a.height&&ae(a,b)})}function h(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),ib(a)}function i(a){j(a),Kb(a),setTimeout(function(){v(a)},20)}function j(a){var b=a.display.gutters,c=a.options.gutters;Re(b);for(var d=0;d<c.length;++d){var e=c[d],f=b.appendChild(Qe("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",k(a)}function k(a){var b=a.display.gutters.offsetWidth;a.display.sizer.style.marginLeft=b+"px"}function l(a){if(0==a.height)return 0;for(var b,c=a.text.length,d=a;b=pd(d);){var e=b.find(0,!0);d=e.from.line,c+=e.from.ch-e.to.ch}for(d=a;b=qd(d);){var e=b.find(0,!0);c-=d.text.length-e.from.ch,d=e.to.line,c+=d.text.length-e.to.ch}return c}function m(a){var b=a.display,c=a.doc;b.maxLine=Zd(c,c.first),b.maxLineLength=l(b.maxLine),b.maxLineChanged=!0,c.iter(function(a){var c=l(a);c>b.maxLineLength&&(b.maxLineLength=c,b.maxLine=a)})}function n(a){var b=He(a.gutters,"CodeMirror-linenumbers");-1==b&&a.lineNumbers?a.gutters=a.gutters.concat(["CodeMirror-linenumbers"]):b>-1&&!a.lineNumbers&&(a.gutters=a.gutters.slice(0),a.gutters.splice(b,1))}function o(a){var b=a.display,c=b.gutters.offsetWidth,d=Math.round(a.doc.height+Sa(a.display));return{clientHeight:b.scroller.clientHeight,viewHeight:b.wrapper.clientHeight,scrollWidth:b.scroller.scrollWidth,clientWidth:b.scroller.clientWidth,viewWidth:b.wrapper.clientWidth,barLeft:a.options.fixedGutter?c:0,docHeight:d,scrollHeight:d+Ua(a)+b.barHeight,nativeBarWidth:b.nativeBarWidth,gutterWidth:c}}function p(a,b,c){this.cm=c;var d=this.vert=Qe("div",[Qe("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),e=this.horiz=Qe("div",[Qe("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");a(d),a(e),Eg(d,"scroll",function(){d.clientHeight&&b(d.scrollTop,"vertical")}),Eg(e,"scroll",function(){e.clientWidth&&b(e.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,tf&&8>uf&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}function q(){}function r(b){b.display.scrollbars&&(b.display.scrollbars.clear(),b.display.scrollbars.addClass&&Zg(b.display.wrapper,b.display.scrollbars.addClass)),b.display.scrollbars=new a.scrollbarModel[b.options.scrollbarStyle](function(a){b.display.wrapper.insertBefore(a,b.display.scrollbarFiller),Eg(a,"mousedown",function(){b.state.focused&&setTimeout(function(){b.display.input.focus()},0)}),a.setAttribute("cm-not-content","true")},function(a,c){"horizontal"==c?fc(b,a):ec(b,a)},b),b.display.scrollbars.addClass&&$g(b.display.wrapper,b.display.scrollbars.addClass)}function s(a,b){b||(b=o(a));var c=a.display.barWidth,d=a.display.barHeight;t(a,b);for(var e=0;4>e&&c!=a.display.barWidth||d!=a.display.barHeight;e++)c!=a.display.barWidth&&a.options.lineWrapping&&F(a),t(a,o(a)),c=a.display.barWidth,d=a.display.barHeight}function t(a,b){var c=a.display,d=c.scrollbars.update(b);c.sizer.style.paddingRight=(c.barWidth=d.right)+"px",c.sizer.style.paddingBottom=(c.barHeight=d.bottom)+"px",c.heightForcer.style.borderBottom=d.bottom+"px solid transparent",d.right&&d.bottom?(c.scrollbarFiller.style.display="block",c.scrollbarFiller.style.height=d.bottom+"px",c.scrollbarFiller.style.width=d.right+"px"):c.scrollbarFiller.style.display="",d.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(c.gutterFiller.style.display="block",c.gutterFiller.style.height=d.bottom+"px",c.gutterFiller.style.width=b.gutterWidth+"px"):c.gutterFiller.style.display=""}function u(a,b,c){var d=c&&null!=c.top?Math.max(0,c.top):a.scroller.scrollTop;d=Math.floor(d-Ra(a));var e=c&&null!=c.bottom?c.bottom:d+a.wrapper.clientHeight,f=ce(b,d),g=ce(b,e);if(c&&c.ensure){var h=c.ensure.from.line,i=c.ensure.to.line;f>h?(f=h,g=ce(b,de(Zd(b,h))+a.wrapper.clientHeight)):Math.min(i,b.lastLine())>=g&&(f=ce(b,de(Zd(b,i))-a.wrapper.clientHeight),g=i)}return{from:f,to:Math.max(g,f+1)}}function v(a){var b=a.display,c=b.view;if(b.alignWidgets||b.gutters.firstChild&&a.options.fixedGutter){for(var d=y(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 w(a){if(!a.options.lineNumbers)return!1;var b=a.doc,c=x(a.options,b.first+b.size-1),d=a.display;if(c.length!=d.lineNumChars){var e=d.measure.appendChild(Qe("div",[Qe("div",c)],"CodeMirror-linenumber CodeMirror-gutter-elt")),f=e.firstChild.offsetWidth,g=e.offsetWidth-f;return d.lineGutter.style.width="",d.lineNumInnerWidth=Math.max(f,d.lineGutter.offsetWidth-g)+1,d.lineNumWidth=d.lineNumInnerWidth+g,d.lineNumChars=d.lineNumInnerWidth?c.length:-1,d.lineGutter.style.width=d.lineNumWidth+"px",k(a),!0}return!1}function x(a,b){return String(a.lineNumberFormatter(b+a.firstLineNumber))}function y(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function z(a,b,c){var d=a.display;this.viewport=b,this.visible=u(d,a.doc,b),this.editorIsHidden=!d.wrapper.offsetWidth,this.wrapperHeight=d.wrapper.clientHeight,this.wrapperWidth=d.wrapper.clientWidth,this.oldDisplayWidth=Va(a),this.force=c,this.dims=H(a),this.events=[]}function A(a){var b=a.display;!b.scrollbarsClipped&&b.scroller.offsetWidth&&(b.nativeBarWidth=b.scroller.offsetWidth-b.scroller.clientWidth,b.heightForcer.style.height=Ua(a)+"px",b.sizer.style.marginBottom=-b.nativeBarWidth+"px",b.sizer.style.borderRightWidth=Ua(a)+"px",b.scrollbarsClipped=!0)}function B(a,b){var c=a.display,d=a.doc;if(b.editorIsHidden)return Mb(a),!1;if(!b.force&&b.visible.from>=c.viewFrom&&b.visible.to<=c.viewTo&&(null==c.updateLineNumbers||c.updateLineNumbers>=c.viewTo)&&c.renderedView==c.view&&0==Qb(a))return!1;w(a)&&(Mb(a),b.dims=H(a));var e=d.first+d.size,f=Math.max(b.visible.from-a.options.viewportMargin,d.first),g=Math.min(e,b.visible.to+a.options.viewportMargin);c.viewFrom<f&&f-c.viewFrom<20&&(f=Math.max(d.first,c.viewFrom)),c.viewTo>g&&c.viewTo-g<20&&(g=Math.min(e,c.viewTo)),Lf&&(f=ud(a.doc,f),g=vd(a.doc,g));var h=f!=c.viewFrom||g!=c.viewTo||c.lastWrapHeight!=b.wrapperHeight||c.lastWrapWidth!=b.wrapperWidth;Pb(a,f,g),c.viewOffset=de(Zd(a.doc,c.viewFrom)),a.display.mover.style.top=c.viewOffset+"px";var i=Qb(a);if(!h&&0==i&&!b.force&&c.renderedView==c.view&&(null==c.updateLineNumbers||c.updateLineNumbers>=c.viewTo))return!1;var j=Te();return i>4&&(c.lineDiv.style.display="none"),I(a,c.updateLineNumbers,b.dims),i>4&&(c.lineDiv.style.display=""),c.renderedView=c.view,j&&Te()!=j&&j.offsetHeight&&j.focus(),Re(c.cursorDiv),Re(c.selectionDiv),c.gutters.style.height=c.sizer.style.minHeight=0,h&&(c.lastWrapHeight=b.wrapperHeight,c.lastWrapWidth=b.wrapperWidth,Na(a,400)),c.updateLineNumbers=null,!0}function C(a,b){for(var c=b.viewport,d=!0;(d&&a.options.lineWrapping&&b.oldDisplayWidth!=Va(a)||(c&&null!=c.top&&(c={top:Math.min(a.doc.height+Sa(a.display)-Wa(a),c.top)}),b.visible=u(a.display,a.doc,c),!(b.visible.from>=a.display.viewFrom&&b.visible.to<=a.display.viewTo)))&&B(a,b);d=!1){F(a);var e=o(a);Ia(a),s(a,e),E(a,e)}b.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(b.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function D(a,b){var c=new z(a,b);if(B(a,c)){F(a),C(a,c);var d=o(a);Ia(a),s(a,d),E(a,d),c.finish()}}function E(a,b){a.display.sizer.style.minHeight=b.docHeight+"px",a.display.heightForcer.style.top=b.docHeight+"px",a.display.gutters.style.height=b.docHeight+a.display.barHeight+Ua(a)+"px"}function F(a){for(var b=a.display,c=b.lineDiv.offsetTop,d=0;d<b.view.length;d++){var e,f=b.view[d];if(!f.hidden){if(tf&&8>uf){var g=f.node.offsetTop+f.node.offsetHeight;e=g-c,c=g}else{var h=f.node.getBoundingClientRect();e=h.bottom-h.top}var i=f.line.height-e;if(2>e&&(e=tb(b)),(i>.001||-.001>i)&&(ae(f.line,e),G(f.line),f.rest))for(var j=0;j<f.rest.length;j++)G(f.rest[j])}}}function G(a){if(a.widgets)for(var b=0;b<a.widgets.length;++b)a.widgets[b].height=a.widgets[b].node.parentNode.offsetHeight}function H(a){for(var b=a.display,c={},d={},e=b.gutters.clientLeft,f=b.gutters.firstChild,g=0;f;f=f.nextSibling,++g)c[a.options.gutters[g]]=f.offsetLeft+f.clientLeft+e,d[a.options.gutters[g]]=f.clientWidth;return{fixedPos:y(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:c,gutterWidth:d,wrapperWidth:b.wrapper.clientWidth}}function I(a,b,c){function d(b){var c=b.nextSibling;return vf&&Ef&&a.display.currentWheelTarget==b?b.style.display="none":b.parentNode.removeChild(b),c}for(var e=a.display,f=a.options.lineNumbers,g=e.lineDiv,h=g.firstChild,i=e.view,j=e.viewFrom,k=0;k<i.length;k++){var l=i[k];if(l.hidden);else if(l.node&&l.node.parentNode==g){for(;h!=l.node;)h=d(h);var m=f&&null!=b&&j>=b&&l.lineNumber;l.changes&&(He(l.changes,"gutter")>-1&&(m=!1),J(a,l,j,c)),m&&(Re(l.lineNumber),l.lineNumber.appendChild(document.createTextNode(x(a.options,j)))),h=l.node.nextSibling}else{var n=R(a,l,j,c);g.insertBefore(n,h)}j+=l.size}for(;h;)h=d(h)}function J(a,b,c,d){for(var e=0;e<b.changes.length;e++){var f=b.changes[e];"text"==f?N(a,b):"gutter"==f?P(a,b,c,d):"class"==f?O(b):"widget"==f&&Q(a,b,d)}b.changes=null}function K(a){return a.node==a.text&&(a.node=Qe("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),tf&&8>uf&&(a.node.style.zIndex=2)),a.node}function L(a){var b=a.bgClass?a.bgClass+" "+(a.line.bgClass||""):a.line.bgClass;if(b&&(b+=" CodeMirror-linebackground"),a.background)b?a.background.className=b:(a.background.parentNode.removeChild(a.background),a.background=null);else if(b){var c=K(a);a.background=c.insertBefore(Qe("div",null,b),c.firstChild)}}function M(a,b){var c=a.display.externalMeasured;return c&&c.line==b.line?(a.display.externalMeasured=null,b.measure=c.measure,c.built):Md(a,b)}function N(a,b){var c=b.text.className,d=M(a,b);b.text==b.node&&(b.node=d.pre),b.text.parentNode.replaceChild(d.pre,b.text),b.text=d.pre,d.bgClass!=b.bgClass||d.textClass!=b.textClass?(b.bgClass=d.bgClass,b.textClass=d.textClass,O(b)):c&&(b.text.className=c)}function O(a){L(a),a.line.wrapClass?K(a).className=a.line.wrapClass:a.node!=a.text&&(a.node.className="");var b=a.textClass?a.textClass+" "+(a.line.textClass||""):a.line.textClass;a.text.className=b||""}function P(a,b,c,d){if(b.gutter&&(b.node.removeChild(b.gutter),b.gutter=null),b.gutterBackground&&(b.node.removeChild(b.gutterBackground),b.gutterBackground=null),b.line.gutterClass){var e=K(b);b.gutterBackground=Qe("div",null,"CodeMirror-gutter-background "+b.line.gutterClass,"left: "+(a.options.fixedGutter?d.fixedPos:-d.gutterTotalWidth)+"px; width: "+d.gutterTotalWidth+"px"),e.insertBefore(b.gutterBackground,b.text)}var f=b.line.gutterMarkers;if(a.options.lineNumbers||f){var e=K(b),g=b.gutter=Qe("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?d.fixedPos:-d.gutterTotalWidth)+"px");if(a.display.input.setUneditable(g),e.insertBefore(g,b.text),b.line.gutterClass&&(g.className+=" "+b.line.gutterClass),!a.options.lineNumbers||f&&f["CodeMirror-linenumbers"]||(b.lineNumber=g.appendChild(Qe("div",x(a.options,c),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+d.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),f)for(var h=0;h<a.options.gutters.length;++h){var i=a.options.gutters[h],j=f.hasOwnProperty(i)&&f[i];j&&g.appendChild(Qe("div",[j],"CodeMirror-gutter-elt","left: "+d.gutterLeft[i]+"px; width: "+d.gutterWidth[i]+"px"))}}}function Q(a,b,c){b.alignable&&(b.alignable=null);for(var d,e=b.node.firstChild;e;e=d){var d=e.nextSibling;"CodeMirror-linewidget"==e.className&&b.node.removeChild(e)}S(a,b,c)}function R(a,b,c,d){var e=M(a,b);return b.text=b.node=e.pre,e.bgClass&&(b.bgClass=e.bgClass),e.textClass&&(b.textClass=e.textClass),O(b),P(a,b,c,d),S(a,b,d),b.node}function S(a,b,c){if(T(a,b.line,b,c,!0),b.rest)for(var d=0;d<b.rest.length;d++)T(a,b.rest[d],b,c,!1)}function T(a,b,c,d,e){if(b.widgets)for(var f=K(c),g=0,h=b.widgets;g<h.length;++g){var i=h[g],j=Qe("div",[i.node],"CodeMirror-linewidget");i.handleMouseEvents||j.setAttribute("cm-ignore-events","true"),U(i,j,c,d),a.display.input.setUneditable(j),e&&i.above?f.insertBefore(j,c.gutter||c.text):f.appendChild(j),ye(i,"redraw")}}function U(a,b,c,d){if(a.noHScroll){(c.alignable||(c.alignable=[])).push(b);var e=d.wrapperWidth;b.style.left=d.fixedPos+"px",a.coverGutter||(e-=d.gutterTotalWidth,b.style.paddingLeft=d.gutterTotalWidth+"px"),b.style.width=e+"px"}a.coverGutter&&(b.style.zIndex=5,b.style.position="relative",a.noHScroll||(b.style.marginLeft=-d.gutterTotalWidth+"px"))}function V(a){return Mf(a.line,a.ch)}function W(a,b){return Nf(a,b)<0?b:a}function X(a,b){return Nf(a,b)<0?a:b}function Y(a){a.state.focused||(a.display.input.focus(),rc(a))}function Z(a,b,c,d,e){var f=a.doc;a.display.shift=!1,d||(d=f.sel);var g=a.state.pasteIncoming||"paste"==e,h=f.splitLines(b),i=null;if(g&&d.ranges.length>1)if(Of&&Of.text.join("\n")==b){if(d.ranges.length%Of.text.length==0){i=[];for(var j=0;j<Of.text.length;j++)i.push(f.splitLines(Of.text[j]))}}else h.length==d.ranges.length&&(i=Ie(h,function(a){return[a]}));for(var j=d.ranges.length-1;j>=0;j--){var k=d.ranges[j],l=k.from(),m=k.to();k.empty()&&(c&&c>0?l=Mf(l.line,l.ch-c):a.state.overwrite&&!g?m=Mf(m.line,Math.min(Zd(f,m.line).text.length,m.ch+Ge(h).length)):Of&&Of.lineWise&&Of.text.join("\n")==b&&(l=m=Mf(l.line,0)));var n=a.curOp.updateInput,o={from:l,to:m,text:i?i[j%i.length]:h,origin:e||(g?"paste":a.state.cutIncoming?"cut":"+input")};Ac(a.doc,o),ye(a,"inputRead",a,o)}b&&!g&&_(a,b),Mc(a),a.curOp.updateInput=n,a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=!1}function $(a,b){var c=a.clipboardData&&a.clipboardData.getData("text/plain");return c?(a.preventDefault(),b.isReadOnly()||b.options.disableInput||Eb(b,function(){Z(b,c,0,null,"paste")}),!0):void 0}function _(a,b){if(a.options.electricChars&&a.options.smartIndent)for(var c=a.doc.sel,d=c.ranges.length-1;d>=0;d--){var e=c.ranges[d];if(!(e.head.ch>100||d&&c.ranges[d-1].head.line==e.head.line)){var f=a.getModeAt(e.head),g=!1;if(f.electricChars){for(var h=0;h<f.electricChars.length;h++)if(b.indexOf(f.electricChars.charAt(h))>-1){g=Oc(a,e.head.line,"smart");break}}else f.electricInput&&f.electricInput.test(Zd(a.doc,e.head.line).text.slice(0,e.head.ch))&&(g=Oc(a,e.head.line,"smart"));g&&ye(a,"electricInput",a,e.head.line)}}}function aa(a){for(var b=[],c=[],d=0;d<a.doc.sel.ranges.length;d++){var e=a.doc.sel.ranges[d].head.line,f={anchor:Mf(e,0),head:Mf(e+1,0)};c.push(f),b.push(a.getRange(f.anchor,f.head))}return{text:b,ranges:c}}function ba(a){a.setAttribute("autocorrect","off"),a.setAttribute("autocapitalize","off"),a.setAttribute("spellcheck","false")}function ca(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new Ee,this.inaccurateSelection=!1,this.hasSelection=!1,this.composing=null}function da(){var a=Qe("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),b=Qe("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return vf?a.style.width="1000px":a.setAttribute("wrap","off"),Cf&&(a.style.border="1px solid black"),ba(a),b}function ea(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ee,this.gracePeriod=!1}function fa(a,b){var c=_a(a,b.line);if(!c||c.hidden)return null;var d=Zd(a.doc,b.line),e=Ya(c,d,b.line),f=ee(d),g="left";if(f){var h=kf(f,b.ch);g=h%2?"right":"left"}var i=cb(e.map,b.ch,g);return i.offset="right"==i.collapse?i.end:i.start,i}function ga(a,b){return b&&(a.bad=!0),a}function ha(a,b,c){var d;if(b==a.display.lineDiv){if(d=a.display.lineDiv.childNodes[c],!d)return ga(a.clipPos(Mf(a.display.viewTo-1)),!0);b=null,c=0}else for(d=b;;d=d.parentNode){if(!d||d==a.display.lineDiv)return null;if(d.parentNode&&d.parentNode==a.display.lineDiv)break}for(var e=0;e<a.display.view.length;e++){var f=a.display.view[e];if(f.node==d)return ia(f,b,c)}}function ia(a,b,c){function d(b,c,d){for(var e=-1;e<(k?k.length:0);e++)for(var f=0>e?j.map:k[e],g=0;g<f.length;g+=3){var h=f[g+2];if(h==b||h==c){var i=be(0>e?a.line:a.rest[e]),l=f[g]+d;return(0>d||h!=b)&&(l=f[g+(d?1:0)]),Mf(i,l)}}}var e=a.text.firstChild,f=!1;if(!b||!Wg(e,b))return ga(Mf(be(a.line),0),!0);if(b==e&&(f=!0,b=e.childNodes[c],c=0,!b)){var g=a.rest?Ge(a.rest):a.line;return ga(Mf(be(g),g.text.length),f)}var h=3==b.nodeType?b:null,i=b;for(h||1!=b.childNodes.length||3!=b.firstChild.nodeType||(h=b.firstChild,c&&(c=h.nodeValue.length));i.parentNode!=e;)i=i.parentNode;var j=a.measure,k=j.maps,l=d(h,i,c);if(l)return ga(l,f);for(var m=i.nextSibling,n=h?h.nodeValue.length-c:0;m;m=m.nextSibling){if(l=d(m,m.firstChild,0))return ga(Mf(l.line,l.ch-n),f);n+=m.textContent.length}for(var o=i.previousSibling,n=c;o;o=o.previousSibling){if(l=d(o,o.firstChild,-1))return ga(Mf(l.line,l.ch+n),f);n+=m.textContent.length}}function ja(a,b,c,d,e){function f(a){return function(b){return b.id==a}}function g(b){if(1==b.nodeType){var c=b.getAttribute("cm-text");if(null!=c)return""==c&&(c=b.textContent.replace(/\u200b/g,"")),void(h+=c);var k,l=b.getAttribute("cm-marker");if(l){var m=a.findMarks(Mf(d,0),Mf(e+1,0),f(+l));return void(m.length&&(k=m[0].find())&&(h+=$d(a.doc,k.from,k.to).join(j)))}if("false"==b.getAttribute("contenteditable"))return;for(var n=0;n<b.childNodes.length;n++)g(b.childNodes[n]);/^(pre|div|p)$/i.test(b.nodeName)&&(i=!0)}else if(3==b.nodeType){var o=b.nodeValue;if(!o)return;i&&(h+=j,i=!1),h+=o}}for(var h="",i=!1,j=a.doc.lineSeparator();g(b),b!=c;)b=b.nextSibling;return h}function ka(a,b){this.ranges=a,this.primIndex=b}function la(a,b){this.anchor=a,this.head=b}function ma(a,b){var c=a[b];a.sort(function(a,b){return Nf(a.from(),b.from())}),b=He(a,c);for(var d=1;d<a.length;d++){var e=a[d],f=a[d-1];if(Nf(f.to(),e.from())>=0){var g=X(f.from(),e.from()),h=W(f.to(),e.to()),i=f.empty()?e.from()==e.head:f.from()==f.head;b>=d&&--b,a.splice(--d,2,new la(i?h:g,i?g:h))}}return new ka(a,b)}function na(a,b){return new ka([new la(a,b||a)],0)}function oa(a,b){return Math.max(a.first,Math.min(b,a.first+a.size-1))}function pa(a,b){if(b.line<a.first)return Mf(a.first,0);var c=a.first+a.size-1;return b.line>c?Mf(c,Zd(a,c).text.length):qa(b,Zd(a,b.line).text.length)}function qa(a,b){var c=a.ch;return null==c||c>b?Mf(a.line,b):0>c?Mf(a.line,0):a}function ra(a,b){return b>=a.first&&b<a.first+a.size}function sa(a,b){for(var c=[],d=0;d<b.length;d++)c[d]=pa(a,b[d]);return c}function ta(a,b,c,d){if(a.cm&&a.cm.display.shift||a.extend){var e=b.anchor;if(d){var f=Nf(c,e)<0;f!=Nf(d,e)<0?(e=c,c=d):f!=Nf(c,d)<0&&(c=d)}return new la(e,c)}return new la(d||c,c)}function ua(a,b,c,d){Aa(a,new ka([ta(a,a.sel.primary(),b,c)],0),d)}function va(a,b,c){for(var d=[],e=0;e<a.sel.ranges.length;e++)d[e]=ta(a,a.sel.ranges[e],b[e],null);var f=ma(d,a.sel.primIndex);Aa(a,f,c)}function wa(a,b,c,d){var e=a.sel.ranges.slice(0);e[b]=c,Aa(a,ma(e,a.sel.primIndex),d)}function xa(a,b,c,d){Aa(a,na(b,c),d)}function ya(a,b,c){var d={ranges:b.ranges,update:function(b){this.ranges=[];for(var c=0;c<b.length;c++)this.ranges[c]=new la(pa(a,b[c].anchor),pa(a,b[c].head))},origin:c&&c.origin};return Hg(a,"beforeSelectionChange",a,d),a.cm&&Hg(a.cm,"beforeSelectionChange",a.cm,d),d.ranges!=b.ranges?ma(d.ranges,d.ranges.length-1):b}function za(a,b,c){var d=a.history.done,e=Ge(d);e&&e.ranges?(d[d.length-1]=b,Ba(a,b,c)):Aa(a,b,c)}function Aa(a,b,c){Ba(a,b,c),le(a,a.sel,a.cm?a.cm.curOp.id:NaN,c)}function Ba(a,b,c){(Ce(a,"beforeSelectionChange")||a.cm&&Ce(a.cm,"beforeSelectionChange"))&&(b=ya(a,b,c));var d=c&&c.bias||(Nf(b.primary().head,a.sel.primary().head)<0?-1:1);Ca(a,Ea(a,b,d,!0)),c&&c.scroll===!1||!a.cm||Mc(a.cm)}function Ca(a,b){b.equals(a.sel)||(a.sel=b,a.cm&&(a.cm.curOp.updateInput=a.cm.curOp.selectionChanged=!0,Be(a.cm)),ye(a,"cursorActivity",a))}function Da(a){Ca(a,Ea(a,a.sel,null,!1),Lg)}function Ea(a,b,c,d){for(var e,f=0;f<b.ranges.length;f++){var g=b.ranges[f],h=b.ranges.length==a.sel.ranges.length&&a.sel.ranges[f],i=Ga(a,g.anchor,h&&h.anchor,c,d),j=Ga(a,g.head,h&&h.head,c,d);(e||i!=g.anchor||j!=g.head)&&(e||(e=b.ranges.slice(0,f)),e[f]=new la(i,j))}return e?ma(e,b.primIndex):b}function Fa(a,b,c,d,e){var f=Zd(a,b.line);if(f.markedSpans)for(var g=0;g<f.markedSpans.length;++g){var h=f.markedSpans[g],i=h.marker;if((null==h.from||(i.inclusiveLeft?h.from<=b.ch:h.from<b.ch))&&(null==h.to||(i.inclusiveRight?h.to>=b.ch:h.to>b.ch))){if(e&&(Hg(i,"beforeCursorEnter"),i.explicitlyCleared)){if(f.markedSpans){--g;continue}break}if(!i.atomic)continue;if(c){var j,k=i.find(0>d?1:-1);if((0>d?i.inclusiveRight:i.inclusiveLeft)&&(k=Ha(a,k,-d,k&&k.line==b.line?f:null)),k&&k.line==b.line&&(j=Nf(k,c))&&(0>d?0>j:j>0))return Fa(a,k,b,d,e)}var l=i.find(0>d?-1:1);return(0>d?i.inclusiveLeft:i.inclusiveRight)&&(l=Ha(a,l,d,l.line==b.line?f:null)),l?Fa(a,l,b,d,e):null}}return b}function Ga(a,b,c,d,e){var f=d||1,g=Fa(a,b,c,f,e)||!e&&Fa(a,b,c,f,!0)||Fa(a,b,c,-f,e)||!e&&Fa(a,b,c,-f,!0);return g?g:(a.cantEdit=!0,Mf(a.first,0))}function Ha(a,b,c,d){return 0>c&&0==b.ch?b.line>a.first?pa(a,Mf(b.line-1)):null:c>0&&b.ch==(d||Zd(a,b.line)).text.length?b.line<a.first+a.size-1?Mf(b.line+1,0):null:new Mf(b.line,b.ch+c)}function Ia(a){a.display.input.showSelection(a.display.input.prepareSelection())}function Ja(a,b){for(var c=a.doc,d={},e=d.cursors=document.createDocumentFragment(),f=d.selection=document.createDocumentFragment(),g=0;g<c.sel.ranges.length;g++)if(b!==!1||g!=c.sel.primIndex){var h=c.sel.ranges[g];if(!(h.from().line>=a.display.viewTo||h.to().line<a.display.viewFrom)){var i=h.empty();(i||a.options.showCursorWhenSelecting)&&Ka(a,h.head,e),i||La(a,h,f)}}return d}function Ka(a,b,c){var d=ob(a,b,"div",null,null,!a.options.singleCursorHeightPerLine),e=c.appendChild(Qe("div"," ","CodeMirror-cursor"));if(e.style.left=d.left+"px",e.style.top=d.top+"px",e.style.height=Math.max(0,d.bottom-d.top)*a.options.cursorHeight+"px",d.other){var f=c.appendChild(Qe("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));f.style.display="",f.style.left=d.other.left+"px",f.style.top=d.other.top+"px",f.style.height=.85*(d.other.bottom-d.other.top)+"px"}}function La(a,b,c){function d(a,b,c,d){0>b&&(b=0),b=Math.round(b),d=Math.round(d),h.appendChild(Qe("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){function f(c,d){return nb(a,Mf(b,c),"div",l,d)}var h,i,l=Zd(g,b),m=l.text.length;return af(ee(l),c||0,null==e?m:e,function(a,b,g){var l,n,o,p=f(a,"left");if(a==b)l=p,n=o=p.left;else{if(l=f(b-1,"right"),"rtl"==g){var q=p;p=l,l=q}n=p.left,o=l.right}null==c&&0==a&&(n=j),l.top-p.top>3&&(d(n,p.top,null,p.bottom),n=j,p.bottom<l.top&&d(n,p.bottom,null,l.top)),null==e&&b==m&&(o=k),(!h||p.top<h.top||p.top==h.top&&p.left<h.left)&&(h=p),(!i||l.bottom>i.bottom||l.bottom==i.bottom&&l.right>i.right)&&(i=l),j+1>n&&(n=j),d(n,l.top,o-n,l.bottom)}),{start:h,end:i}}var f=a.display,g=a.doc,h=document.createDocumentFragment(),i=Ta(a.display),j=i.left,k=Math.max(f.sizerWidth,Va(a)-f.sizer.offsetLeft)-i.right,l=b.from(),m=b.to();if(l.line==m.line)e(l.line,l.ch,m.ch);else{var n=Zd(g,l.line),o=Zd(g,m.line),p=sd(n)==sd(o),q=e(l.line,l.ch,p?n.text.length+1:null).end,r=e(m.line,p?0:null,m.ch).start;p&&(q.top<r.top-2?(d(q.right,q.top,null,q.bottom),d(j,r.top,r.left,r.bottom)):d(q.right,q.top,r.left-q.right,q.bottom)),q.bottom<r.top&&d(j,q.bottom,null,r.top)}c.appendChild(h)}function Ma(a){if(a.state.focused){var b=a.display;clearInterval(b.blinker);var c=!0;b.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?b.blinker=setInterval(function(){b.cursorDiv.style.visibility=(c=!c)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(b.cursorDiv.style.visibility="hidden")}}function Na(a,b){a.doc.mode.startState&&a.doc.frontier<a.display.viewTo&&a.state.highlight.set(b,Me(Oa,a))}function Oa(a){var b=a.doc;if(b.frontier<b.first&&(b.frontier=b.first),!(b.frontier>=a.display.viewTo)){var c=+new Date+a.options.workTime,d=ig(b.mode,Qa(a,b.frontier)),e=[];b.iter(b.frontier,Math.min(b.first+b.size,a.display.viewTo+500),function(f){if(b.frontier>=a.display.viewFrom){var g=f.styles,h=f.text.length>a.options.maxHighlightLength,i=Id(a,f,h?ig(b.mode,d):d,!0);f.styles=i.styles;var j=f.styleClasses,k=i.classes;k?f.styleClasses=k:j&&(f.styleClasses=null);for(var l=!g||g.length!=f.styles.length||j!=k&&(!j||!k||j.bgClass!=k.bgClass||j.textClass!=k.textClass),m=0;!l&&m<g.length;++m)l=g[m]!=f.styles[m];l&&e.push(b.frontier),f.stateAfter=h?d:ig(b.mode,d)}else f.text.length<=a.options.maxHighlightLength&&Kd(a,f.text,d),f.stateAfter=b.frontier%5==0?ig(b.mode,d):null;return++b.frontier,+new Date>c?(Na(a,a.options.workDelay),!0):void 0}),e.length&&Eb(a,function(){for(var b=0;b<e.length;b++)Lb(a,e[b],"text")})}}function Pa(a,b,c){for(var d,e,f=a.doc,g=c?-1:b-(a.doc.mode.innerMode?1e3:100),h=b;h>g;--h){if(h<=f.first)return f.first;var i=Zd(f,h-1);if(i.stateAfter&&(!c||h<=f.frontier))return h;var j=Og(i.text,null,a.options.tabSize);(null==e||d>j)&&(e=h-1,d=j)}return e}function Qa(a,b,c){var d=a.doc,e=a.display;if(!d.mode.startState)return!0;var f=Pa(a,b,c),g=f>d.first&&Zd(d,f-1).stateAfter;return g=g?ig(d.mode,g):jg(d.mode),d.iter(f,b,function(c){Kd(a,c.text,g);var h=f==b-1||f%5==0||f>=e.viewFrom&&f<e.viewTo;c.stateAfter=h?ig(d.mode,g):null,++f}),c&&(d.frontier=f),g}function Ra(a){return a.lineSpace.offsetTop}function Sa(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Ta(a){if(a.cachedPaddingH)return a.cachedPaddingH;var b=Se(a.measure,Qe("pre","x")),c=window.getComputedStyle?window.getComputedStyle(b):b.currentStyle,d={left:parseInt(c.paddingLeft),right:parseInt(c.paddingRight)};return isNaN(d.left)||isNaN(d.right)||(a.cachedPaddingH=d),d}function Ua(a){return Jg-a.display.nativeBarWidth}function Va(a){return a.display.scroller.clientWidth-Ua(a)-a.display.barWidth}function Wa(a){return a.display.scroller.clientHeight-Ua(a)-a.display.barHeight}function Xa(a,b,c){var d=a.options.lineWrapping,e=d&&Va(a);if(!b.measure.heights||d&&b.measure.width!=e){var f=b.measure.heights=[];if(d){b.measure.width=e;for(var g=b.text.firstChild.getClientRects(),h=0;h<g.length-1;h++){var i=g[h],j=g[h+1];Math.abs(i.bottom-j.bottom)>2&&f.push((i.bottom+j.top)/2-c.top)}}f.push(c.bottom-c.top)}}function Ya(a,b,c){if(a.line==b)return{map:a.measure.map,cache:a.measure.cache};for(var d=0;d<a.rest.length;d++)if(a.rest[d]==b)return{map:a.measure.maps[d],cache:a.measure.caches[d]};for(var d=0;d<a.rest.length;d++)if(be(a.rest[d])>c)return{map:a.measure.maps[d],cache:a.measure.caches[d],before:!0}}function Za(a,b){b=sd(b);var c=be(b),d=a.display.externalMeasured=new Ib(a.doc,b,c);d.lineN=c;var e=d.built=Md(a,d);return d.text=e.pre,Se(a.display.lineMeasure,e.pre),d}function $a(a,b,c,d){return bb(a,ab(a,b),c,d)}function _a(a,b){if(b>=a.display.viewFrom&&b<a.display.viewTo)return a.display.view[Nb(a,b)];var c=a.display.externalMeasured;return c&&b>=c.lineN&&b<c.lineN+c.size?c:void 0}function ab(a,b){var c=be(b),d=_a(a,c);d&&!d.text?d=null:d&&d.changes&&(J(a,d,c,H(a)),a.curOp.forceUpdate=!0),d||(d=Za(a,b));var e=Ya(d,b,c);return{line:b,view:d,rect:null,map:e.map,cache:e.cache,before:e.before,hasHeights:!1}}function bb(a,b,c,d,e){b.before&&(c=-1);var f,g=c+(d||"");return b.cache.hasOwnProperty(g)?f=b.cache[g]:(b.rect||(b.rect=b.view.text.getBoundingClientRect()),b.hasHeights||(Xa(a,b.view,b.rect),b.hasHeights=!0),f=eb(a,b,c,d),f.bogus||(b.cache[g]=f)),{left:f.left,right:f.right,top:e?f.rtop:f.top,bottom:e?f.rbottom:f.bottom}}function cb(a,b,c){for(var d,e,f,g,h=0;h<a.length;h+=3){var i=a[h],j=a[h+1];if(i>b?(e=0,f=1,g="left"):j>b?(e=b-i,
|
2 |
-
f=e+1):(h==a.length-3||b==j&&a[h+3]>b)&&(f=j-i,e=f-1,b>=j&&(g="right")),null!=e){if(d=a[h+2],i==j&&c==(d.insertLeft?"left":"right")&&(g=c),"left"==c&&0==e)for(;h&&a[h-2]==a[h-3]&&a[h-1].insertLeft;)d=a[(h-=3)+2],g="left";if("right"==c&&e==j-i)for(;h<a.length-3&&a[h+3]==a[h+4]&&!a[h+5].insertLeft;)d=a[(h+=3)+2],g="right";break}}return{node:d,start:e,end:f,collapse:g,coverStart:i,coverEnd:j}}function db(a,b){var c=Sf;if("left"==b)for(var d=0;d<a.length&&(c=a[d]).left==c.right;d++);else for(var d=a.length-1;d>=0&&(c=a[d]).left==c.right;d--);return c}function eb(a,b,c,d){var e,f=cb(b.map,c,d),g=f.node,h=f.start,i=f.end,j=f.collapse;if(3==g.nodeType){for(var k=0;4>k;k++){for(;h&&Pe(b.line.text.charAt(f.coverStart+h));)--h;for(;f.coverStart+i<f.coverEnd&&Pe(b.line.text.charAt(f.coverStart+i));)++i;if(e=tf&&9>uf&&0==h&&i==f.coverEnd-f.coverStart?g.parentNode.getBoundingClientRect():db(Sg(g,h,i).getClientRects(),d),e.left||e.right||0==h)break;i=h,h-=1,j="right"}tf&&11>uf&&(e=fb(a.display.measure,e))}else{h>0&&(j=d="right");var l;e=a.options.lineWrapping&&(l=g.getClientRects()).length>1?l["right"==d?l.length-1:0]:g.getBoundingClientRect()}if(tf&&9>uf&&!h&&(!e||!e.left&&!e.right)){var m=g.parentNode.getClientRects()[0];e=m?{left:m.left,right:m.left+ub(a.display),top:m.top,bottom:m.bottom}:Sf}for(var n=e.top-b.rect.top,o=e.bottom-b.rect.top,p=(n+o)/2,q=b.view.measure.heights,k=0;k<q.length-1&&!(p<q[k]);k++);var r=k?q[k-1]:0,s=q[k],t={left:("right"==j?e.right:e.left)-b.rect.left,right:("left"==j?e.left:e.right)-b.rect.left,top:r,bottom:s};return e.left||e.right||(t.bogus=!0),a.options.singleCursorHeightPerLine||(t.rtop=n,t.rbottom=o),t}function fb(a,b){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!_e(a))return b;var c=screen.logicalXDPI/screen.deviceXDPI,d=screen.logicalYDPI/screen.deviceYDPI;return{left:b.left*c,right:b.right*c,top:b.top*d,bottom:b.bottom*d}}function gb(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 hb(a){a.display.externalMeasure=null,Re(a.display.lineMeasure);for(var b=0;b<a.display.view.length;b++)gb(a.display.view[b])}function ib(a){hb(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function jb(){return window.pageXOffset||(document.documentElement||document.body).scrollLeft}function kb(){return window.pageYOffset||(document.documentElement||document.body).scrollTop}function lb(a,b,c,d){if(b.widgets)for(var e=0;e<b.widgets.length;++e)if(b.widgets[e].above){var f=zd(b.widgets[e]);c.top+=f,c.bottom+=f}if("line"==d)return c;d||(d="local");var g=de(b);if("local"==d?g+=Ra(a.display):g-=a.display.viewOffset,"page"==d||"window"==d){var h=a.display.lineSpace.getBoundingClientRect();g+=h.top+("window"==d?0:kb());var i=h.left+("window"==d?0:jb());c.left+=i,c.right+=i}return c.top+=g,c.bottom+=g,c}function mb(a,b,c){if("div"==c)return b;var d=b.left,e=b.top;if("page"==c)d-=jb(),e-=kb();else if("local"==c||!c){var f=a.display.sizer.getBoundingClientRect();d+=f.left,e+=f.top}var g=a.display.lineSpace.getBoundingClientRect();return{left:d-g.left,top:e-g.top}}function nb(a,b,c,d,e){return d||(d=Zd(a.doc,b.line)),lb(a,d,$a(a,d,b.ch,e),c)}function ob(a,b,c,d,e,f){function g(b,g){var h=bb(a,e,b,g?"right":"left",f);return g?h.left=h.right:h.right=h.left,lb(a,d,h,c)}function h(a,b){var c=i[b],d=c.level%2;return a==bf(c)&&b&&c.level<i[b-1].level?(c=i[--b],a=cf(c)-(c.level%2?0:1),d=!0):a==cf(c)&&b<i.length-1&&c.level<i[b+1].level&&(c=i[++b],a=bf(c)-c.level%2,d=!1),d&&a==c.to&&a>c.from?g(a-1):g(a,d)}d=d||Zd(a.doc,b.line),e||(e=ab(a,d));var i=ee(d),j=b.ch;if(!i)return g(j);var k=kf(i,j),l=h(j,k);return null!=gh&&(l.other=h(j,gh)),l}function pb(a,b){var c=0,b=pa(a.doc,b);a.options.lineWrapping||(c=ub(a.display)*b.ch);var d=Zd(a.doc,b.line),e=de(d)+Ra(a.display);return{left:c,right:c,top:e,bottom:e+d.height}}function qb(a,b,c,d){var e=Mf(a,b);return e.xRel=d,c&&(e.outside=!0),e}function rb(a,b,c){var d=a.doc;if(c+=a.display.viewOffset,0>c)return qb(d.first,0,!0,-1);var e=ce(d,c),f=d.first+d.size-1;if(e>f)return qb(d.first+d.size-1,Zd(d,f).text.length,!0,1);0>b&&(b=0);for(var g=Zd(d,e);;){var h=sb(a,g,e,b,c),i=qd(g),j=i&&i.find(0,!0);if(!i||!(h.ch>j.from.ch||h.ch==j.from.ch&&h.xRel>0))return h;e=be(g=j.to.line)}}function sb(a,b,c,d,e){function f(d){var e=ob(a,Mf(c,d),"line",b,j);return h=!0,g>e.bottom?e.left-i:g<e.top?e.left+i:(h=!1,e.left)}var g=e-de(b),h=!1,i=2*a.display.wrapper.clientWidth,j=ab(a,b),k=ee(b),l=b.text.length,m=df(b),n=ef(b),o=f(m),p=h,q=f(n),r=h;if(d>q)return qb(c,n,r,1);for(;;){if(k?n==m||n==mf(b,m,1):1>=n-m){var s=o>d||q-d>=d-o?m:n,t=s==m?p:r,u=d-(s==m?o:q);if(r&&!k&&!/\s/.test(b.text.charAt(s))&&u>0&&s<b.text.length&&j.view.measure.heights.length>1){var v=bb(a,j,s,"right");g<=v.bottom&&g>=v.top&&Math.abs(d-v.right)<u&&(t=!1,s++,u=d-v.right)}for(;Pe(b.text.charAt(s));)++s;var w=qb(c,s,t,-1>u?-1:u>1?1:0);return w}var x=Math.ceil(l/2),y=m+x;if(k){y=m;for(var z=0;x>z;++z)y=mf(b,y,1)}var A=f(y);A>d?(n=y,q=A,(r=h)&&(q+=1e3),l=x):(m=y,o=A,p=h,l-=x)}}function tb(a){if(null!=a.cachedTextHeight)return a.cachedTextHeight;if(null==Pf){Pf=Qe("pre");for(var b=0;49>b;++b)Pf.appendChild(document.createTextNode("x")),Pf.appendChild(Qe("br"));Pf.appendChild(document.createTextNode("x"))}Se(a.measure,Pf);var c=Pf.offsetHeight/50;return c>3&&(a.cachedTextHeight=c),Re(a.measure),c||1}function ub(a){if(null!=a.cachedCharWidth)return a.cachedCharWidth;var b=Qe("span","xxxxxxxxxx"),c=Qe("pre",[b]);Se(a.measure,c);var d=b.getBoundingClientRect(),e=(d.right-d.left)/10;return e>2&&(a.cachedCharWidth=e),e||10}function vb(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Uf},Tf?Tf.ops.push(a.curOp):a.curOp.ownsGroup=Tf={ops:[a.curOp],delayedCallbacks:[]}}function wb(a){var b=a.delayedCallbacks,c=0;do{for(;c<b.length;c++)b[c].call(null);for(var d=0;d<a.ops.length;d++){var e=a.ops[d];if(e.cursorActivityHandlers)for(;e.cursorActivityCalled<e.cursorActivityHandlers.length;)e.cursorActivityHandlers[e.cursorActivityCalled++].call(null,e.cm)}}while(c<b.length)}function xb(a){var b=a.curOp,c=b.ownsGroup;if(c)try{wb(c)}finally{Tf=null;for(var d=0;d<c.ops.length;d++)c.ops[d].cm.curOp=null;yb(c)}}function yb(a){for(var b=a.ops,c=0;c<b.length;c++)zb(b[c]);for(var c=0;c<b.length;c++)Ab(b[c]);for(var c=0;c<b.length;c++)Bb(b[c]);for(var c=0;c<b.length;c++)Cb(b[c]);for(var c=0;c<b.length;c++)Db(b[c])}function zb(a){var b=a.cm,c=b.display;A(b),a.updateMaxLine&&m(b),a.mustUpdate=a.viewChanged||a.forceUpdate||null!=a.scrollTop||a.scrollToPos&&(a.scrollToPos.from.line<c.viewFrom||a.scrollToPos.to.line>=c.viewTo)||c.maxLineChanged&&b.options.lineWrapping,a.update=a.mustUpdate&&new z(b,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Ab(a){a.updatedDisplay=a.mustUpdate&&B(a.cm,a.update)}function Bb(a){var b=a.cm,c=b.display;a.updatedDisplay&&F(b),a.barMeasure=o(b),c.maxLineChanged&&!b.options.lineWrapping&&(a.adjustWidthTo=$a(b,c.maxLine,c.maxLine.text.length).left+3,b.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(c.scroller.clientWidth,c.sizer.offsetLeft+a.adjustWidthTo+Ua(b)+b.display.barWidth),a.maxScrollLeft=Math.max(0,c.sizer.offsetLeft+a.adjustWidthTo-Va(b))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=c.input.prepareSelection(a.focus))}function Cb(a){var b=a.cm;null!=a.adjustWidthTo&&(b.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<b.doc.scrollLeft&&fc(b,Math.min(b.display.scroller.scrollLeft,a.maxScrollLeft),!0),b.display.maxLineChanged=!1);var c=a.focus&&a.focus==Te()&&(!document.hasFocus||document.hasFocus());a.preparedSelection&&b.display.input.showSelection(a.preparedSelection,c),(a.updatedDisplay||a.startHeight!=b.doc.height)&&s(b,a.barMeasure),a.updatedDisplay&&E(b,a.barMeasure),a.selectionChanged&&Ma(b),b.state.focused&&a.updateInput&&b.display.input.reset(a.typing),c&&Y(a.cm)}function Db(a){var b=a.cm,c=b.display,d=b.doc;if(a.updatedDisplay&&C(b,a.update),null==c.wheelStartX||null==a.scrollTop&&null==a.scrollLeft&&!a.scrollToPos||(c.wheelStartX=c.wheelStartY=null),null==a.scrollTop||c.scroller.scrollTop==a.scrollTop&&!a.forceScroll||(d.scrollTop=Math.max(0,Math.min(c.scroller.scrollHeight-c.scroller.clientHeight,a.scrollTop)),c.scrollbars.setScrollTop(d.scrollTop),c.scroller.scrollTop=d.scrollTop),null==a.scrollLeft||c.scroller.scrollLeft==a.scrollLeft&&!a.forceScroll||(d.scrollLeft=Math.max(0,Math.min(c.scroller.scrollWidth-c.scroller.clientWidth,a.scrollLeft)),c.scrollbars.setScrollLeft(d.scrollLeft),c.scroller.scrollLeft=d.scrollLeft,v(b)),a.scrollToPos){var e=Ic(b,pa(d,a.scrollToPos.from),pa(d,a.scrollToPos.to),a.scrollToPos.margin);a.scrollToPos.isCursor&&b.state.focused&&Hc(b,e)}var f=a.maybeHiddenMarkers,g=a.maybeUnhiddenMarkers;if(f)for(var h=0;h<f.length;++h)f[h].lines.length||Hg(f[h],"hide");if(g)for(var h=0;h<g.length;++h)g[h].lines.length&&Hg(g[h],"unhide");c.wrapper.offsetHeight&&(d.scrollTop=b.display.scroller.scrollTop),a.changeObjs&&Hg(b,"changes",b,a.changeObjs),a.update&&a.update.finish()}function Eb(a,b){if(a.curOp)return b();vb(a);try{return b()}finally{xb(a)}}function Fb(a,b){return function(){if(a.curOp)return b.apply(a,arguments);vb(a);try{return b.apply(a,arguments)}finally{xb(a)}}}function Gb(a){return function(){if(this.curOp)return a.apply(this,arguments);vb(this);try{return a.apply(this,arguments)}finally{xb(this)}}}function Hb(a){return function(){var b=this.cm;if(!b||b.curOp)return a.apply(this,arguments);vb(b);try{return a.apply(this,arguments)}finally{xb(b)}}}function Ib(a,b,c){this.line=b,this.rest=td(b),this.size=this.rest?be(Ge(this.rest))-c+1:1,this.node=this.text=null,this.hidden=wd(a,b)}function Jb(a,b,c){for(var d,e=[],f=b;c>f;f=d){var g=new Ib(a.doc,Zd(a.doc,f),f);d=f+g.size,e.push(g)}return e}function Kb(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,b>=e.viewTo)Lf&&ud(a.doc,b)<e.viewTo&&Mb(a);else if(c<=e.viewFrom)Lf&&vd(a.doc,c+d)>e.viewFrom?Mb(a):(e.viewFrom+=d,e.viewTo+=d);else if(b<=e.viewFrom&&c>=e.viewTo)Mb(a);else if(b<=e.viewFrom){var f=Ob(a,c,c+d,1);f?(e.view=e.view.slice(f.index),e.viewFrom=f.lineN,e.viewTo+=d):Mb(a)}else if(c>=e.viewTo){var f=Ob(a,b,b,-1);f?(e.view=e.view.slice(0,f.index),e.viewTo=f.lineN):Mb(a)}else{var g=Ob(a,b,b,-1),h=Ob(a,c,c+d,1);g&&h?(e.view=e.view.slice(0,g.index).concat(Jb(a,g.lineN,h.lineN)).concat(e.view.slice(h.index)),e.viewTo+=d):Mb(a)}var i=e.externalMeasured;i&&(c<i.lineN?i.lineN+=d:b<i.lineN+i.size&&(e.externalMeasured=null))}function Lb(a,b,c){a.curOp.viewChanged=!0;var d=a.display,e=a.display.externalMeasured;if(e&&b>=e.lineN&&b<e.lineN+e.size&&(d.externalMeasured=null),!(b<d.viewFrom||b>=d.viewTo)){var f=d.view[Nb(a,b)];if(null!=f.node){var g=f.changes||(f.changes=[]);-1==He(g,c)&&g.push(c)}}}function Mb(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function Nb(a,b){if(b>=a.display.viewTo)return null;if(b-=a.display.viewFrom,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 Ob(a,b,c,d){var e,f=Nb(a,b),g=a.display.view;if(!Lf||c==a.doc.first+a.doc.size)return{index:f,lineN:c};for(var h=0,i=a.display.viewFrom;f>h;h++)i+=g[h].size;if(i!=b){if(d>0){if(f==g.length-1)return null;e=i+g[f].size-b,f++}else e=i-b;b+=e,c+=e}for(;ud(a.doc,c)!=c;){if(f==(0>d?0:g.length-1))return null;c+=d*g[f-(0>d?1:0)].size,f+=d}return{index:f,lineN:c}}function Pb(a,b,c){var d=a.display,e=d.view;0==e.length||b>=d.viewTo||c<=d.viewFrom?(d.view=Jb(a,b,c),d.viewFrom=b):(d.viewFrom>b?d.view=Jb(a,b,d.viewFrom).concat(d.view):d.viewFrom<b&&(d.view=d.view.slice(Nb(a,b))),d.viewFrom=b,d.viewTo<c?d.view=d.view.concat(Jb(a,d.viewTo,c)):d.viewTo>c&&(d.view=d.view.slice(0,Nb(a,c)))),d.viewTo=c}function Qb(a){for(var b=a.display.view,c=0,d=0;d<b.length;d++){var e=b[d];e.hidden||e.node&&!e.changes||++c}return c}function Rb(a){function b(){e.activeTouch&&(f=setTimeout(function(){e.activeTouch=null},1e3),g=e.activeTouch,g.end=+new Date)}function c(a){if(1!=a.touches.length)return!1;var b=a.touches[0];return b.radiusX<=1&&b.radiusY<=1}function d(a,b){if(null==b.left)return!0;var c=b.left-a.left,d=b.top-a.top;return c*c+d*d>400}var e=a.display;Eg(e.scroller,"mousedown",Fb(a,Wb)),tf&&11>uf?Eg(e.scroller,"dblclick",Fb(a,function(b){if(!Ae(a,b)){var c=Vb(a,b);if(c&&!_b(a,b)&&!Ub(a.display,b)){Bg(b);var d=a.findWordAt(c);ua(a.doc,d.anchor,d.head)}}})):Eg(e.scroller,"dblclick",function(b){Ae(a,b)||Bg(b)}),Jf||Eg(e.scroller,"contextmenu",function(b){tc(a,b)});var f,g={end:0};Eg(e.scroller,"touchstart",function(b){if(!Ae(a,b)&&!c(b)){clearTimeout(f);var d=+new Date;e.activeTouch={start:d,moved:!1,prev:d-g.end<=300?g:null},1==b.touches.length&&(e.activeTouch.left=b.touches[0].pageX,e.activeTouch.top=b.touches[0].pageY)}}),Eg(e.scroller,"touchmove",function(){e.activeTouch&&(e.activeTouch.moved=!0)}),Eg(e.scroller,"touchend",function(c){var f=e.activeTouch;if(f&&!Ub(e,c)&&null!=f.left&&!f.moved&&new Date-f.start<300){var g,h=a.coordsChar(e.activeTouch,"page");g=!f.prev||d(f,f.prev)?new la(h,h):!f.prev.prev||d(f,f.prev.prev)?a.findWordAt(h):new la(Mf(h.line,0),pa(a.doc,Mf(h.line+1,0))),a.setSelection(g.anchor,g.head),a.focus(),Bg(c)}b()}),Eg(e.scroller,"touchcancel",b),Eg(e.scroller,"scroll",function(){e.scroller.clientHeight&&(ec(a,e.scroller.scrollTop),fc(a,e.scroller.scrollLeft,!0),Hg(a,"scroll",a))}),Eg(e.scroller,"mousewheel",function(b){gc(a,b)}),Eg(e.scroller,"DOMMouseScroll",function(b){gc(a,b)}),Eg(e.wrapper,"scroll",function(){e.wrapper.scrollTop=e.wrapper.scrollLeft=0}),e.dragFunctions={enter:function(b){Ae(a,b)||Dg(b)},over:function(b){Ae(a,b)||(cc(a,b),Dg(b))},start:function(b){bc(a,b)},drop:Fb(a,ac),leave:function(b){Ae(a,b)||dc(a)}};var h=e.input.getField();Eg(h,"keyup",function(b){oc.call(a,b)}),Eg(h,"keydown",Fb(a,mc)),Eg(h,"keypress",Fb(a,pc)),Eg(h,"focus",Me(rc,a)),Eg(h,"blur",Me(sc,a))}function Sb(b,c,d){var e=d&&d!=a.Init;if(!c!=!e){var f=b.display.dragFunctions,g=c?Eg:Gg;g(b.display.scroller,"dragstart",f.start),g(b.display.scroller,"dragenter",f.enter),g(b.display.scroller,"dragover",f.over),g(b.display.scroller,"dragleave",f.leave),g(b.display.scroller,"drop",f.drop)}}function Tb(a){var b=a.display;(b.lastWrapHeight!=b.wrapper.clientHeight||b.lastWrapWidth!=b.wrapper.clientWidth)&&(b.cachedCharWidth=b.cachedTextHeight=b.cachedPaddingH=null,b.scrollbarsClipped=!1,a.setSize())}function Ub(a,b){for(var c=ve(b);c!=a.wrapper;c=c.parentNode)if(!c||1==c.nodeType&&"true"==c.getAttribute("cm-ignore-events")||c.parentNode==a.sizer&&c!=a.mover)return!0}function Vb(a,b,c,d){var e=a.display;if(!c&&"true"==ve(b).getAttribute("cm-not-content"))return null;var f,g,h=e.lineSpace.getBoundingClientRect();try{f=b.clientX-h.left,g=b.clientY-h.top}catch(b){return null}var i,j=rb(a,f,g);if(d&&1==j.xRel&&(i=Zd(a.doc,j.line).text).length==j.ch){var k=Og(i,i.length,a.options.tabSize)-i.length;j=Mf(j.line,Math.max(0,Math.round((f-Ta(a.display).left)/ub(a.display))-k))}return j}function Wb(a){var b=this,c=b.display;if(!(Ae(b,a)||c.activeTouch&&c.input.supportsTouch())){if(c.shift=a.shiftKey,Ub(c,a))return void(vf||(c.scroller.draggable=!1,setTimeout(function(){c.scroller.draggable=!0},100)));if(!_b(b,a)){var d=Vb(b,a);switch(window.focus(),we(a)){case 1:b.state.selectingText?b.state.selectingText(a):d?Xb(b,a,d):ve(a)==c.scroller&&Bg(a);break;case 2:vf&&(b.state.lastMiddleDown=+new Date),d&&ua(b.doc,d),setTimeout(function(){c.input.focus()},20),Bg(a);break;case 3:Jf?tc(b,a):qc(b)}}}}function Xb(a,b,c){tf?setTimeout(Me(Y,a),0):a.curOp.focus=Te();var d,e=+new Date;Rf&&Rf.time>e-400&&0==Nf(Rf.pos,c)?d="triple":Qf&&Qf.time>e-400&&0==Nf(Qf.pos,c)?(d="double",Rf={time:e,pos:c}):(d="single",Qf={time:e,pos:c});var f,g=a.doc.sel,h=Ef?b.metaKey:b.ctrlKey;a.options.dragDrop&&ah&&!a.isReadOnly()&&"single"==d&&(f=g.contains(c))>-1&&(Nf((f=g.ranges[f]).from(),c)<0||c.xRel>0)&&(Nf(f.to(),c)>0||c.xRel<0)?Yb(a,b,c,h):Zb(a,b,c,d,h)}function Yb(a,b,c,d){var e=a.display,f=+new Date,g=Fb(a,function(h){vf&&(e.scroller.draggable=!1),a.state.draggingText=!1,Gg(document,"mouseup",g),Gg(e.scroller,"drop",g),Math.abs(b.clientX-h.clientX)+Math.abs(b.clientY-h.clientY)<10&&(Bg(h),!d&&+new Date-200<f&&ua(a.doc,c),vf||tf&&9==uf?setTimeout(function(){document.body.focus(),e.input.focus()},20):e.input.focus())});vf&&(e.scroller.draggable=!0),a.state.draggingText=g,g.copy=Ef?b.altKey:b.ctrlKey,e.scroller.dragDrop&&e.scroller.dragDrop(),Eg(document,"mouseup",g),Eg(e.scroller,"drop",g)}function Zb(a,b,c,d,e){function f(b){if(0!=Nf(q,b))if(q=b,"rect"==d){for(var e=[],f=a.options.tabSize,g=Og(Zd(j,c.line).text,c.ch,f),h=Og(Zd(j,b.line).text,b.ch,f),i=Math.min(g,h),n=Math.max(g,h),o=Math.min(c.line,b.line),p=Math.min(a.lastLine(),Math.max(c.line,b.line));p>=o;o++){var r=Zd(j,o).text,s=Pg(r,i,f);i==n?e.push(new la(Mf(o,s),Mf(o,s))):r.length>s&&e.push(new la(Mf(o,s),Mf(o,Pg(r,n,f))))}e.length||e.push(new la(c,c)),Aa(j,ma(m.ranges.slice(0,l).concat(e),l),{origin:"*mouse",scroll:!1}),a.scrollIntoView(b)}else{var t=k,u=t.anchor,v=b;if("single"!=d){if("double"==d)var w=a.findWordAt(b);else var w=new la(Mf(b.line,0),pa(j,Mf(b.line+1,0)));Nf(w.anchor,u)>0?(v=w.head,u=X(t.from(),w.anchor)):(v=w.anchor,u=W(t.to(),w.head))}var e=m.ranges.slice(0);e[l]=new la(pa(j,u),v),Aa(j,ma(e,l),Mg)}}function g(b){var c=++s,e=Vb(a,b,!0,"rect"==d);if(e)if(0!=Nf(e,q)){a.curOp.focus=Te(),f(e);var h=u(i,j);(e.line>=h.to||e.line<h.from)&&setTimeout(Fb(a,function(){s==c&&g(b)}),150)}else{var k=b.clientY<r.top?-20:b.clientY>r.bottom?20:0;k&&setTimeout(Fb(a,function(){s==c&&(i.scroller.scrollTop+=k,g(b))}),50)}}function h(b){a.state.selectingText=!1,s=1/0,Bg(b),i.input.focus(),Gg(document,"mousemove",t),Gg(document,"mouseup",v),j.history.lastSelOrigin=null}var i=a.display,j=a.doc;Bg(b);var k,l,m=j.sel,n=m.ranges;if(e&&!b.shiftKey?(l=j.sel.contains(c),k=l>-1?n[l]:new la(c,c)):(k=j.sel.primary(),l=j.sel.primIndex),Ff?b.shiftKey&&b.metaKey:b.altKey)d="rect",e||(k=new la(c,c)),c=Vb(a,b,!0,!0),l=-1;else if("double"==d){var o=a.findWordAt(c);k=a.display.shift||j.extend?ta(j,k,o.anchor,o.head):o}else if("triple"==d){var p=new la(Mf(c.line,0),pa(j,Mf(c.line+1,0)));k=a.display.shift||j.extend?ta(j,k,p.anchor,p.head):p}else k=ta(j,k,c);e?-1==l?(l=n.length,Aa(j,ma(n.concat([k]),l),{scroll:!1,origin:"*mouse"})):n.length>1&&n[l].empty()&&"single"==d&&!b.shiftKey?(Aa(j,ma(n.slice(0,l).concat(n.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),m=j.sel):wa(j,l,k,Mg):(l=0,Aa(j,new ka([k],0),Mg),m=j.sel);var q=c,r=i.wrapper.getBoundingClientRect(),s=0,t=Fb(a,function(a){we(a)?g(a):h(a)}),v=Fb(a,h);a.state.selectingText=v,Eg(document,"mousemove",t),Eg(document,"mouseup",v)}function $b(a,b,c,d){try{var e=b.clientX,f=b.clientY}catch(b){return!1}if(e>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;d&&Bg(b);var g=a.display,h=g.lineDiv.getBoundingClientRect();if(f>h.bottom||!Ce(a,c))return ue(b);f-=h.top-g.viewOffset;for(var i=0;i<a.options.gutters.length;++i){var j=g.gutters.childNodes[i];if(j&&j.getBoundingClientRect().right>=e){var k=ce(a.doc,f),l=a.options.gutters[i];return Hg(a,c,a,k,l,b),ue(b)}}}function _b(a,b){return $b(a,b,"gutterClick",!0)}function ac(a){var b=this;if(dc(b),!Ae(b,a)&&!Ub(b.display,a)){Bg(a),tf&&(Vf=+new Date);var c=Vb(b,a,!0),d=a.dataTransfer.files;if(c&&!b.isReadOnly())if(d&&d.length&&window.FileReader&&window.File)for(var e=d.length,f=Array(e),g=0,h=function(a,d){if(!b.options.allowDropFileTypes||-1!=He(b.options.allowDropFileTypes,a.type)){var h=new FileReader;h.onload=Fb(b,function(){var a=h.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(a)&&(a=""),f[d]=a,++g==e){c=pa(b.doc,c);var i={from:c,to:c,text:b.doc.splitLines(f.join(b.doc.lineSeparator())),origin:"paste"};Ac(b.doc,i),za(b.doc,na(c,_f(i)))}}),h.readAsText(a)}},i=0;e>i;++i)h(d[i],i);else{if(b.state.draggingText&&b.doc.sel.contains(c)>-1)return b.state.draggingText(a),void setTimeout(function(){b.display.input.focus()},20);try{var f=a.dataTransfer.getData("Text");if(f){if(b.state.draggingText&&!b.state.draggingText.copy)var j=b.listSelections();if(Ba(b.doc,na(c,c)),j)for(var i=0;i<j.length;++i)Gc(b.doc,"",j[i].anchor,j[i].head,"drag");b.replaceSelection(f,"around","paste"),b.display.input.focus()}}catch(a){}}}}function bc(a,b){if(tf&&(!a.state.draggingText||+new Date-Vf<100))return void Dg(b);if(!Ae(a,b)&&!Ub(a.display,b)&&(b.dataTransfer.setData("Text",a.getSelection()),b.dataTransfer.effectAllowed="copyMove",b.dataTransfer.setDragImage&&!zf)){var c=Qe("img",null,null,"position: fixed; left: 0; top: 0;");c.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",yf&&(c.width=c.height=1,a.display.wrapper.appendChild(c),c._top=c.offsetTop),b.dataTransfer.setDragImage(c,0,0),yf&&c.parentNode.removeChild(c)}}function cc(a,b){var c=Vb(a,b);if(c){var d=document.createDocumentFragment();Ka(a,c,d),a.display.dragCursor||(a.display.dragCursor=Qe("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),Se(a.display.dragCursor,d)}}function dc(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function ec(a,b){Math.abs(a.doc.scrollTop-b)<2||(a.doc.scrollTop=b,qf||D(a,{top:b}),a.display.scroller.scrollTop!=b&&(a.display.scroller.scrollTop=b),a.display.scrollbars.setScrollTop(b),qf&&D(a),Na(a,100))}function fc(a,b,c){(c?b==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-b)<2)||(b=Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth),a.doc.scrollLeft=b,v(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function gc(a,b){var c=Yf(b),d=c.x,e=c.y,f=a.display,g=f.scroller,h=g.scrollWidth>g.clientWidth,i=g.scrollHeight>g.clientHeight;if(d&&h||e&&i){if(e&&Ef&&vf)a:for(var j=b.target,k=f.view;j!=g;j=j.parentNode)for(var l=0;l<k.length;l++)if(k[l].node==j){a.display.currentWheelTarget=j;break a}if(d&&!qf&&!yf&&null!=Xf)return e&&i&&ec(a,Math.max(0,Math.min(g.scrollTop+e*Xf,g.scrollHeight-g.clientHeight))),fc(a,Math.max(0,Math.min(g.scrollLeft+d*Xf,g.scrollWidth-g.clientWidth))),(!e||e&&i)&&Bg(b),void(f.wheelStartX=null);if(e&&null!=Xf){var m=e*Xf,n=a.doc.scrollTop,o=n+f.wrapper.clientHeight;0>m?n=Math.max(0,n+m-50):o=Math.min(a.doc.height,o+m+50),D(a,{top:n,bottom:o})}20>Wf&&(null==f.wheelStartX?(f.wheelStartX=g.scrollLeft,f.wheelStartY=g.scrollTop,f.wheelDX=d,f.wheelDY=e,setTimeout(function(){if(null!=f.wheelStartX){var a=g.scrollLeft-f.wheelStartX,b=g.scrollTop-f.wheelStartY,c=b&&f.wheelDY&&b/f.wheelDY||a&&f.wheelDX&&a/f.wheelDX;f.wheelStartX=f.wheelStartY=null,c&&(Xf=(Xf*Wf+c)/(Wf+1),++Wf)}},200)):(f.wheelDX+=d,f.wheelDY+=e))}}function hc(a,b,c){if("string"==typeof b&&(b=kg[b],!b))return!1;a.display.input.ensurePolled();var d=a.display.shift,e=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),c&&(a.display.shift=!1),e=b(a)!=Kg}finally{a.display.shift=d,a.state.suppressEdits=!1}return e}function ic(a,b,c){for(var d=0;d<a.state.keyMaps.length;d++){var e=mg(b,a.state.keyMaps[d],c,a);if(e)return e}return a.options.extraKeys&&mg(b,a.options.extraKeys,c,a)||mg(b,a.options.keyMap,c,a)}function jc(a,b,c,d){var e=a.state.keySeq;if(e){if(ng(b))return"handled";Zf.set(50,function(){a.state.keySeq==e&&(a.state.keySeq=null,a.display.input.reset())}),b=e+" "+b}var f=ic(a,b,d);return"multi"==f&&(a.state.keySeq=b),"handled"==f&&ye(a,"keyHandled",a,b,c),("handled"==f||"multi"==f)&&(Bg(c),Ma(a)),e&&!f&&/\'$/.test(b)?(Bg(c),!0):!!f}function kc(a,b){var c=og(b,!0);return c?b.shiftKey&&!a.state.keySeq?jc(a,"Shift-"+c,b,function(b){return hc(a,b,!0)})||jc(a,c,b,function(b){return("string"==typeof b?/^go[A-Z]/.test(b):b.motion)?hc(a,b):void 0}):jc(a,c,b,function(b){return hc(a,b)}):!1}function lc(a,b,c){return jc(a,"'"+c+"'",b,function(b){return hc(a,b,!0)})}function mc(a){var b=this;if(b.curOp.focus=Te(),!Ae(b,a)){tf&&11>uf&&27==a.keyCode&&(a.returnValue=!1);var c=a.keyCode;b.display.shift=16==c||a.shiftKey;var d=kc(b,a);yf&&($f=d?c:null,!d&&88==c&&!dh&&(Ef?a.metaKey:a.ctrlKey)&&b.replaceSelection("",null,"cut")),18!=c||/\bCodeMirror-crosshair\b/.test(b.display.lineDiv.className)||nc(b)}}function nc(a){function b(a){18!=a.keyCode&&a.altKey||(Zg(c,"CodeMirror-crosshair"),Gg(document,"keyup",b),Gg(document,"mouseover",b))}var c=a.display.lineDiv;$g(c,"CodeMirror-crosshair"),Eg(document,"keyup",b),Eg(document,"mouseover",b)}function oc(a){16==a.keyCode&&(this.doc.sel.shift=!1),Ae(this,a)}function pc(a){var b=this;if(!(Ub(b.display,a)||Ae(b,a)||a.ctrlKey&&!a.altKey||Ef&&a.metaKey)){var c=a.keyCode,d=a.charCode;if(yf&&c==$f)return $f=null,void Bg(a);if(!yf||a.which&&!(a.which<10)||!kc(b,a)){var e=String.fromCharCode(null==d?c:d);lc(b,a,e)||b.display.input.onKeyPress(a)}}}function qc(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,sc(a))},100)}function rc(a){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),"nocursor"!=a.options.readOnly&&(a.state.focused||(Hg(a,"focus",a),a.state.focused=!0,$g(a.display.wrapper,"CodeMirror-focused"),a.curOp||a.display.selForContextMenu==a.doc.sel||(a.display.input.reset(),vf&&setTimeout(function(){a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Ma(a))}function sc(a){a.state.delayingBlurEvent||(a.state.focused&&(Hg(a,"blur",a),a.state.focused=!1,Zg(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function tc(a,b){Ub(a.display,b)||uc(a,b)||Ae(a,b,"contextmenu")||a.display.input.onContextMenu(b)}function uc(a,b){return Ce(a,"gutterContextMenu")?$b(a,b,"gutterContextMenu",!1):!1}function vc(a,b){if(Nf(a,b.from)<0)return a;if(Nf(a,b.to)<=0)return _f(b);var c=a.line+b.text.length-(b.to.line-b.from.line)-1,d=a.ch;return a.line==b.to.line&&(d+=_f(b).ch-b.to.ch),Mf(c,d)}function wc(a,b){for(var c=[],d=0;d<a.sel.ranges.length;d++){var e=a.sel.ranges[d];c.push(new la(vc(e.anchor,b),vc(e.head,b)))}return ma(c,a.sel.primIndex)}function xc(a,b,c){return a.line==b.line?Mf(c.line,a.ch-b.ch+c.ch):Mf(c.line+(a.line-b.line),a.ch)}function yc(a,b,c){for(var d=[],e=Mf(a.first,0),f=e,g=0;g<b.length;g++){var h=b[g],i=xc(h.from,e,f),j=xc(_f(h),e,f);if(e=h.to,f=j,"around"==c){var k=a.sel.ranges[g],l=Nf(k.head,k.anchor)<0;d[g]=new la(l?j:i,l?i:j)}else d[g]=new la(i,i)}return new ka(d,a.sel.primIndex)}function zc(a,b,c){var d={canceled:!1,from:b.from,to:b.to,text:b.text,origin:b.origin,cancel:function(){this.canceled=!0}};return c&&(d.update=function(b,c,d,e){b&&(this.from=pa(a,b)),c&&(this.to=pa(a,c)),d&&(this.text=d),void 0!==e&&(this.origin=e)}),Hg(a,"beforeChange",a,d),a.cm&&Hg(a.cm,"beforeChange",a.cm,d),d.canceled?null:{from:d.from,to:d.to,text:d.text,origin:d.origin}}function Ac(a,b,c){if(a.cm){if(!a.cm.curOp)return Fb(a.cm,Ac)(a,b,c);if(a.cm.state.suppressEdits)return}if(!(Ce(a,"beforeChange")||a.cm&&Ce(a.cm,"beforeChange"))||(b=zc(a,b,!0))){var d=Kf&&!c&&id(a,b.from,b.to);if(d)for(var e=d.length-1;e>=0;--e)Bc(a,{from:d[e].from,to:d[e].to,text:e?[""]:b.text});else Bc(a,b)}}function Bc(a,b){if(1!=b.text.length||""!=b.text[0]||0!=Nf(b.from,b.to)){var c=wc(a,b);je(a,b,c,a.cm?a.cm.curOp.id:NaN),Ec(a,b,c,fd(a,b));var d=[];Xd(a,function(a,c){c||-1!=He(d,a.history)||(te(a.history,b),d.push(a.history)),Ec(a,b,null,fd(a,b))})}}function Cc(a,b,c){if(!a.cm||!a.cm.state.suppressEdits||c){for(var d,e=a.history,f=a.sel,g="undo"==b?e.done:e.undone,h="undo"==b?e.undone:e.done,i=0;i<g.length&&(d=g[i],c?!d.ranges||d.equals(a.sel):d.ranges);i++);if(i!=g.length){for(e.lastOrigin=e.lastSelOrigin=null;d=g.pop(),d.ranges;){if(me(d,h),c&&!d.equals(a.sel))return void Aa(a,d,{clearRedo:!1});f=d}var j=[];me(f,h),h.push({changes:j,generation:e.generation}),e.generation=d.generation||++e.maxGeneration;for(var k=Ce(a,"beforeChange")||a.cm&&Ce(a.cm,"beforeChange"),i=d.changes.length-1;i>=0;--i){var l=d.changes[i];if(l.origin=b,k&&!zc(a,l,!1))return void(g.length=0);j.push(ge(a,l));var m=i?wc(a,l):Ge(g);Ec(a,l,m,hd(a,l)),!i&&a.cm&&a.cm.scrollIntoView({from:l.from,to:_f(l)});var n=[];Xd(a,function(a,b){b||-1!=He(n,a.history)||(te(a.history,l),n.push(a.history)),Ec(a,l,null,hd(a,l))})}}}}function Dc(a,b){if(0!=b&&(a.first+=b,a.sel=new ka(Ie(a.sel.ranges,function(a){return new la(Mf(a.anchor.line+b,a.anchor.ch),Mf(a.head.line+b,a.head.ch))}),a.sel.primIndex),a.cm)){Kb(a.cm,a.first,a.first-b,b);for(var c=a.cm.display,d=c.viewFrom;d<c.viewTo;d++)Lb(a.cm,d,"gutter")}}function Ec(a,b,c,d){if(a.cm&&!a.cm.curOp)return Fb(a.cm,Ec)(a,b,c,d);if(b.to.line<a.first)return void Dc(a,b.text.length-1-(b.to.line-b.from.line));if(!(b.from.line>a.lastLine())){if(b.from.line<a.first){var e=b.text.length-1-(a.first-b.from.line);Dc(a,e),b={from:Mf(a.first,0),to:Mf(b.to.line+e,b.to.ch),text:[Ge(b.text)],origin:b.origin}}var f=a.lastLine();b.to.line>f&&(b={from:b.from,to:Mf(f,Zd(a,f).text.length),text:[b.text[0]],origin:b.origin}),b.removed=$d(a,b.from,b.to),c||(c=wc(a,b)),a.cm?Fc(a.cm,b,d):Ud(a,b,d),Ba(a,c,Lg)}}function Fc(a,b,c){var d=a.doc,e=a.display,g=b.from,h=b.to,i=!1,j=g.line;a.options.lineWrapping||(j=be(sd(Zd(d,g.line))),d.iter(j,h.line+1,function(a){return a==e.maxLine?(i=!0,!0):void 0})),d.sel.contains(b.from,b.to)>-1&&Be(a),Ud(d,b,c,f(a)),a.options.lineWrapping||(d.iter(j,g.line+b.text.length,function(a){var b=l(a);b>e.maxLineLength&&(e.maxLine=a,e.maxLineLength=b,e.maxLineChanged=!0,i=!1)}),i&&(a.curOp.updateMaxLine=!0)),d.frontier=Math.min(d.frontier,g.line),Na(a,400);var k=b.text.length-(h.line-g.line)-1;b.full?Kb(a):g.line!=h.line||1!=b.text.length||Td(a.doc,b)?Kb(a,g.line,h.line+1,k):Lb(a,g.line,"text");var m=Ce(a,"changes"),n=Ce(a,"change");if(n||m){var o={from:g,to:h,text:b.text,removed:b.removed,origin:b.origin};n&&ye(a,"change",a,o),m&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(o)}a.display.selForContextMenu=null}function Gc(a,b,c,d,e){if(d||(d=c),Nf(d,c)<0){var f=d;d=c,c=f}"string"==typeof b&&(b=a.splitLines(b)),Ac(a,{from:c,to:d,text:b,origin:e})}function Hc(a,b){if(!Ae(a,"scrollCursorIntoView")){var c=a.display,d=c.sizer.getBoundingClientRect(),e=null;if(b.top+d.top<0?e=!0:b.bottom+d.top>(window.innerHeight||document.documentElement.clientHeight)&&(e=!1),null!=e&&!Bf){var f=Qe("div","",null,"position: absolute; top: "+(b.top-c.viewOffset-Ra(a.display))+"px; height: "+(b.bottom-b.top+Ua(a)+c.barHeight)+"px; left: "+b.left+"px; width: 2px;");a.display.lineSpace.appendChild(f),f.scrollIntoView(e),a.display.lineSpace.removeChild(f)}}}function Ic(a,b,c,d){null==d&&(d=0);for(var e=0;5>e;e++){var f=!1,g=ob(a,b),h=c&&c!=b?ob(a,c):g,i=Kc(a,Math.min(g.left,h.left),Math.min(g.top,h.top)-d,Math.max(g.left,h.left),Math.max(g.bottom,h.bottom)+d),j=a.doc.scrollTop,k=a.doc.scrollLeft;if(null!=i.scrollTop&&(ec(a,i.scrollTop),Math.abs(a.doc.scrollTop-j)>1&&(f=!0)),null!=i.scrollLeft&&(fc(a,i.scrollLeft),Math.abs(a.doc.scrollLeft-k)>1&&(f=!0)),!f)break}return g}function Jc(a,b,c,d,e){var f=Kc(a,b,c,d,e);null!=f.scrollTop&&ec(a,f.scrollTop),null!=f.scrollLeft&&fc(a,f.scrollLeft)}function Kc(a,b,c,d,e){var f=a.display,g=tb(a.display);0>c&&(c=0);var h=a.curOp&&null!=a.curOp.scrollTop?a.curOp.scrollTop:f.scroller.scrollTop,i=Wa(a),j={};e-c>i&&(e=c+i);var k=a.doc.height+Sa(f),l=g>c,m=e>k-g;if(h>c)j.scrollTop=l?0:c;else if(e>h+i){var n=Math.min(c,(m?k:e)-i);n!=h&&(j.scrollTop=n)}var o=a.curOp&&null!=a.curOp.scrollLeft?a.curOp.scrollLeft:f.scroller.scrollLeft,p=Va(a)-(a.options.fixedGutter?f.gutters.offsetWidth:0),q=d-b>p;return q&&(d=b+p),10>b?j.scrollLeft=0:o>b?j.scrollLeft=Math.max(0,b-(q?0:10)):d>p+o-3&&(j.scrollLeft=d+(q?0:10)-p),
|
3 |
-
j}function Lc(a,b,c){(null!=b||null!=c)&&Nc(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 Mc(a){Nc(a);var b=a.getCursor(),c=b,d=b;a.options.lineWrapping||(c=b.ch?Mf(b.line,b.ch-1):b,d=Mf(b.line,b.ch+1)),a.curOp.scrollToPos={from:c,to:d,margin:a.options.cursorScrollMargin,isCursor:!0}}function Nc(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var c=pb(a,b.from),d=pb(a,b.to),e=Kc(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(e.scrollLeft,e.scrollTop)}}function Oc(a,b,c,d){var e,f=a.doc;null==c&&(c="add"),"smart"==c&&(f.mode.indent?e=Qa(a,b):c="prev");var g=a.options.tabSize,h=Zd(f,b),i=Og(h.text,null,g);h.stateAfter&&(h.stateAfter=null);var j,k=h.text.match(/^\s*/)[0];if(d||/\S/.test(h.text)){if("smart"==c&&(j=f.mode.indent(e,h.text.slice(k.length),h.text),j==Kg||j>150)){if(!d)return;c="prev"}}else j=0,c="not";"prev"==c?j=b>f.first?Og(Zd(f,b-1).text,null,g):0:"add"==c?j=i+a.options.indentUnit:"subtract"==c?j=i-a.options.indentUnit:"number"==typeof c&&(j=i+c),j=Math.max(0,j);var l="",m=0;if(a.options.indentWithTabs)for(var n=Math.floor(j/g);n;--n)m+=g,l+=" ";if(j>m&&(l+=Fe(j-m)),l!=k)return Gc(f,l,Mf(b,0),Mf(b,k.length),"+input"),h.stateAfter=null,!0;for(var n=0;n<f.sel.ranges.length;n++){var o=f.sel.ranges[n];if(o.head.line==b&&o.head.ch<k.length){var m=Mf(b,k.length);wa(f,n,new la(m,m));break}}}function Pc(a,b,c,d){var e=b,f=b;return"number"==typeof b?f=Zd(a,oa(a,b)):e=be(b),null==e?null:(d(f,e)&&a.cm&&Lb(a.cm,e,c),f)}function Qc(a,b){for(var c=a.doc.sel.ranges,d=[],e=0;e<c.length;e++){for(var f=b(c[e]);d.length&&Nf(f.from,Ge(d).to)<=0;){var g=d.pop();if(Nf(g.from,f.from)<0){f.from=g.from;break}}d.push(f)}Eb(a,function(){for(var b=d.length-1;b>=0;b--)Gc(a.doc,"",d[b].from,d[b].to,"+delete");Mc(a)})}function Rc(a,b,c,d,e){function f(){var b=h+c;return b<a.first||b>=a.first+a.size?!1:(h=b,k=Zd(a,b))}function g(a){var b=(e?mf:nf)(k,i,c,!0);if(null==b){if(a||!f())return!1;i=e?(0>c?ef:df)(k):0>c?k.text.length:0}else i=b;return!0}var h=b.line,i=b.ch,j=c,k=Zd(a,h);if("char"==d)g();else if("column"==d)g(!0);else if("word"==d||"group"==d)for(var l=null,m="group"==d,n=a.cm&&a.cm.getHelper(b,"wordChars"),o=!0;!(0>c)||g(!o);o=!1){var p=k.text.charAt(i)||"\n",q=Ne(p,n)?"w":m&&"\n"==p?"n":!m||/\s/.test(p)?null:"p";if(!m||o||q||(q="s"),l&&l!=q){0>c&&(c=1,g());break}if(q&&(l=q),c>0&&!g(!o))break}var r=Ga(a,Mf(h,i),b,j,!0);return Nf(b,r)||(r.hitSide=!0),r}function Sc(a,b,c,d){var e,f=a.doc,g=b.left;if("page"==d){var h=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight);e=b.top+c*(h-(0>c?1.5:.5)*tb(a.display))}else"line"==d&&(e=c>0?b.bottom+3:b.top-3);for(;;){var i=rb(a,g,e);if(!i.outside)break;if(0>c?0>=e:e>=f.height){i.hitSide=!0;break}e+=5*c}return i}function Tc(b,c,d,e){a.defaults[b]=c,d&&(bg[b]=e?function(a,b,c){c!=cg&&d(a,b,c)}:d)}function Uc(a){for(var b,c,d,e,f=a.split(/-(?!$)/),a=f[f.length-1],g=0;g<f.length-1;g++){var h=f[g];if(/^(cmd|meta|m)$/i.test(h))e=!0;else if(/^a(lt)?$/i.test(h))b=!0;else if(/^(c|ctrl|control)$/i.test(h))c=!0;else{if(!/^s(hift)$/i.test(h))throw new Error("Unrecognized modifier name: "+h);d=!0}}return b&&(a="Alt-"+a),c&&(a="Ctrl-"+a),e&&(a="Cmd-"+a),d&&(a="Shift-"+a),a}function Vc(a){return"string"==typeof a?lg[a]:a}function Wc(a,b,c,d,e){if(d&&d.shared)return Xc(a,b,c,d,e);if(a.cm&&!a.cm.curOp)return Fb(a.cm,Wc)(a,b,c,d,e);var f=new rg(a,e),g=Nf(b,c);if(d&&Le(d,f,!1),g>0||0==g&&f.clearWhenEmpty!==!1)return f;if(f.replacedWith&&(f.collapsed=!0,f.widgetNode=Qe("span",[f.replacedWith],"CodeMirror-widget"),d.handleMouseEvents||f.widgetNode.setAttribute("cm-ignore-events","true"),d.insertLeft&&(f.widgetNode.insertLeft=!0)),f.collapsed){if(rd(a,b.line,b,c,f)||b.line!=c.line&&rd(a,c.line,b,c,f))throw new Error("Inserting collapsed marker partially overlapping an existing one");Lf=!0}f.addToHistory&&je(a,{from:b,to:c,origin:"markText"},a.sel,NaN);var h,i=b.line,j=a.cm;if(a.iter(i,c.line+1,function(a){j&&f.collapsed&&!j.options.lineWrapping&&sd(a)==j.display.maxLine&&(h=!0),f.collapsed&&i!=b.line&&ae(a,0),cd(a,new _c(f,i==b.line?b.ch:null,i==c.line?c.ch:null)),++i}),f.collapsed&&a.iter(b.line,c.line+1,function(b){wd(a,b)&&ae(b,0)}),f.clearOnEnter&&Eg(f,"beforeCursorEnter",function(){f.clear()}),f.readOnly&&(Kf=!0,(a.history.done.length||a.history.undone.length)&&a.clearHistory()),f.collapsed&&(f.id=++qg,f.atomic=!0),j){if(h&&(j.curOp.updateMaxLine=!0),f.collapsed)Kb(j,b.line,c.line+1);else if(f.className||f.title||f.startStyle||f.endStyle||f.css)for(var k=b.line;k<=c.line;k++)Lb(j,k,"text");f.atomic&&Da(j.doc),ye(j,"markerAdded",j,f)}return f}function Xc(a,b,c,d,e){d=Le(d),d.shared=!1;var f=[Wc(a,b,c,d,e)],g=f[0],h=d.widgetNode;return Xd(a,function(a){h&&(d.widgetNode=h.cloneNode(!0)),f.push(Wc(a,pa(a,b),pa(a,c),d,e));for(var i=0;i<a.linked.length;++i)if(a.linked[i].isParent)return;g=Ge(f)}),new sg(f,g)}function Yc(a){return a.findMarks(Mf(a.first,0),a.clipPos(Mf(a.lastLine())),function(a){return a.parent})}function Zc(a,b){for(var c=0;c<b.length;c++){var d=b[c],e=d.find(),f=a.clipPos(e.from),g=a.clipPos(e.to);if(Nf(f,g)){var h=Wc(a,f,g,d.primary,d.primary.type);d.markers.push(h),h.parent=d}}}function $c(a){for(var b=0;b<a.length;b++){var c=a[b],d=[c.primary.doc];Xd(c.primary.doc,function(a){d.push(a)});for(var e=0;e<c.markers.length;e++){var f=c.markers[e];-1==He(d,f.doc)&&(f.parent=null,c.markers.splice(e--,1))}}}function _c(a,b,c){this.marker=a,this.from=b,this.to=c}function ad(a,b){if(a)for(var c=0;c<a.length;++c){var d=a[c];if(d.marker==b)return d}}function bd(a,b){for(var c,d=0;d<a.length;++d)a[d]!=b&&(c||(c=[])).push(a[d]);return c}function cd(a,b){a.markedSpans=a.markedSpans?a.markedSpans.concat([b]):[b],b.marker.attachLine(a)}function dd(a,b,c){if(a)for(var d,e=0;e<a.length;++e){var f=a[e],g=f.marker,h=null==f.from||(g.inclusiveLeft?f.from<=b:f.from<b);if(h||f.from==b&&"bookmark"==g.type&&(!c||!f.marker.insertLeft)){var i=null==f.to||(g.inclusiveRight?f.to>=b:f.to>b);(d||(d=[])).push(new _c(g,f.from,i?null:f.to))}}return d}function ed(a,b,c){if(a)for(var d,e=0;e<a.length;++e){var f=a[e],g=f.marker,h=null==f.to||(g.inclusiveRight?f.to>=b:f.to>b);if(h||f.from==b&&"bookmark"==g.type&&(!c||f.marker.insertLeft)){var i=null==f.from||(g.inclusiveLeft?f.from<=b:f.from<b);(d||(d=[])).push(new _c(g,i?null:f.from-b,null==f.to?null:f.to-b))}}return d}function fd(a,b){if(b.full)return null;var c=ra(a,b.from.line)&&Zd(a,b.from.line).markedSpans,d=ra(a,b.to.line)&&Zd(a,b.to.line).markedSpans;if(!c&&!d)return null;var e=b.from.ch,f=b.to.ch,g=0==Nf(b.from,b.to),h=dd(c,e,g),i=ed(d,f,g),j=1==b.text.length,k=Ge(b.text).length+(j?e:0);if(h)for(var l=0;l<h.length;++l){var m=h[l];if(null==m.to){var n=ad(i,m.marker);n?j&&(m.to=null==n.to?null:n.to+k):m.to=e}}if(i)for(var l=0;l<i.length;++l){var m=i[l];if(null!=m.to&&(m.to+=k),null==m.from){var n=ad(h,m.marker);n||(m.from=k,j&&(h||(h=[])).push(m))}else m.from+=k,j&&(h||(h=[])).push(m)}h&&(h=gd(h)),i&&i!=h&&(i=gd(i));var o=[h];if(!j){var p,q=b.text.length-2;if(q>0&&h)for(var l=0;l<h.length;++l)null==h[l].to&&(p||(p=[])).push(new _c(h[l].marker,null,null));for(var l=0;q>l;++l)o.push(p);o.push(i)}return o}function gd(a){for(var b=0;b<a.length;++b){var c=a[b];null!=c.from&&c.from==c.to&&c.marker.clearWhenEmpty!==!1&&a.splice(b--,1)}return a.length?a:null}function hd(a,b){var c=pe(a,b),d=fd(a,b);if(!c)return d;if(!d)return c;for(var e=0;e<c.length;++e){var f=c[e],g=d[e];if(f&&g)a:for(var h=0;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 id(a,b,c){var d=null;if(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;!c.readOnly||d&&-1!=He(d,c)||(d||(d=[])).push(c)}}),!d)return null;for(var e=[{from:b,to:c}],f=0;f<d.length;++f)for(var g=d[f],h=g.find(0),i=0;i<e.length;++i){var j=e[i];if(!(Nf(j.to,h.from)<0||Nf(j.from,h.to)>0)){var k=[i,1],l=Nf(j.from,h.from),m=Nf(j.to,h.to);(0>l||!g.inclusiveLeft&&!l)&&k.push({from:j.from,to:h.from}),(m>0||!g.inclusiveRight&&!m)&&k.push({from:h.to,to:j.to}),e.splice.apply(e,k),i+=k.length-1}}return e}function jd(a){var b=a.markedSpans;if(b){for(var c=0;c<b.length;++c)b[c].marker.detachLine(a);a.markedSpans=null}}function kd(a,b){if(b){for(var c=0;c<b.length;++c)b[c].marker.attachLine(a);a.markedSpans=b}}function ld(a){return a.inclusiveLeft?-1:0}function md(a){return a.inclusiveRight?1:0}function nd(a,b){var c=a.lines.length-b.lines.length;if(0!=c)return c;var d=a.find(),e=b.find(),f=Nf(d.from,e.from)||ld(a)-ld(b);if(f)return-f;var g=Nf(d.to,e.to)||md(a)-md(b);return g?g:b.id-a.id}function od(a,b){var c,d=Lf&&a.markedSpans;if(d)for(var e,f=0;f<d.length;++f)e=d[f],e.marker.collapsed&&null==(b?e.from:e.to)&&(!c||nd(c,e.marker)<0)&&(c=e.marker);return c}function pd(a){return od(a,!0)}function qd(a){return od(a,!1)}function rd(a,b,c,d,e){var f=Zd(a,b),g=Lf&&f.markedSpans;if(g)for(var h=0;h<g.length;++h){var i=g[h];if(i.marker.collapsed){var j=i.marker.find(0),k=Nf(j.from,c)||ld(i.marker)-ld(e),l=Nf(j.to,d)||md(i.marker)-md(e);if(!(k>=0&&0>=l||0>=k&&l>=0)&&(0>=k&&(i.marker.inclusiveRight&&e.inclusiveLeft?Nf(j.to,c)>=0:Nf(j.to,c)>0)||k>=0&&(i.marker.inclusiveRight&&e.inclusiveLeft?Nf(j.from,d)<=0:Nf(j.from,d)<0)))return!0}}}function sd(a){for(var b;b=pd(a);)a=b.find(-1,!0).line;return a}function td(a){for(var b,c;b=qd(a);)a=b.find(1,!0).line,(c||(c=[])).push(a);return c}function ud(a,b){var c=Zd(a,b),d=sd(c);return c==d?b:be(d)}function vd(a,b){if(b>a.lastLine())return b;var c,d=Zd(a,b);if(!wd(a,d))return b;for(;c=qd(d);)d=c.find(1,!0).line;return be(d)+1}function wd(a,b){var c=Lf&&b.markedSpans;if(c)for(var d,e=0;e<c.length;++e)if(d=c[e],d.marker.collapsed){if(null==d.from)return!0;if(!d.marker.widgetNode&&0==d.from&&d.marker.inclusiveLeft&&xd(a,b,d))return!0}}function xd(a,b,c){if(null==c.to){var d=c.marker.find(1,!0);return xd(a,d.line,ad(d.line.markedSpans,c.marker))}if(c.marker.inclusiveRight&&c.to==b.text.length)return!0;for(var e,f=0;f<b.markedSpans.length;++f)if(e=b.markedSpans[f],e.marker.collapsed&&!e.marker.widgetNode&&e.from==c.to&&(null==e.to||e.to!=c.from)&&(e.marker.inclusiveLeft||c.marker.inclusiveRight)&&xd(a,b,e))return!0}function yd(a,b,c){de(b)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&Lc(a,null,c)}function zd(a){if(null!=a.height)return a.height;var b=a.doc.cm;if(!b)return 0;if(!Wg(document.body,a.node)){var c="position: relative;";a.coverGutter&&(c+="margin-left: -"+b.display.gutters.offsetWidth+"px;"),a.noHScroll&&(c+="width: "+b.display.wrapper.clientWidth+"px;"),Se(b.display.measure,Qe("div",[a.node],null,c))}return a.height=a.node.parentNode.offsetHeight}function Ad(a,b,c,d){var e=new tg(a,c,d),f=a.cm;return f&&e.noHScroll&&(f.display.alignWidgets=!0),Pc(a,b,"widget",function(b){var c=b.widgets||(b.widgets=[]);if(null==e.insertAt?c.push(e):c.splice(Math.min(c.length-1,Math.max(0,e.insertAt)),0,e),e.line=b,f&&!wd(a,b)){var d=de(b)<a.scrollTop;ae(b,b.height+zd(e)),d&&Lc(f,null,e.height),f.curOp.forceUpdate=!0}return!0}),e}function Bd(a,b,c,d){a.text=b,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),null!=a.order&&(a.order=null),jd(a),kd(a,c);var e=d?d(a):1;e!=a.height&&ae(a,e)}function Cd(a){a.parent=null,jd(a)}function Dd(a,b){if(a)for(;;){var c=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!c)break;a=a.slice(0,c.index)+a.slice(c.index+c[0].length);var d=c[1]?"bgClass":"textClass";null==b[d]?b[d]=c[2]:new RegExp("(?:^|s)"+c[2]+"(?:$|s)").test(b[d])||(b[d]+=" "+c[2])}return a}function Ed(b,c){if(b.blankLine)return b.blankLine(c);if(b.innerMode){var d=a.innerMode(b,c);return d.mode.blankLine?d.mode.blankLine(d.state):void 0}}function Fd(b,c,d,e){for(var f=0;10>f;f++){e&&(e[0]=a.innerMode(b,d).mode);var g=b.token(c,d);if(c.pos>c.start)return g}throw new Error("Mode "+b.name+" failed to advance stream.")}function Gd(a,b,c,d){function e(a){return{start:l.start,end:l.pos,string:l.current(),type:f||null,state:a?ig(g.mode,k):k}}var f,g=a.doc,h=g.mode;b=pa(g,b);var i,j=Zd(g,b.line),k=Qa(a,b.line,c),l=new pg(j.text,a.options.tabSize);for(d&&(i=[]);(d||l.pos<b.ch)&&!l.eol();)l.start=l.pos,f=Fd(h,l,k),d&&i.push(e(!0));return d?i:e()}function Hd(a,b,c,d,e,f,g){var h=c.flattenSpans;null==h&&(h=a.options.flattenSpans);var i,j=0,k=null,l=new pg(b,a.options.tabSize),m=a.options.addModeClass&&[null];for(""==b&&Dd(Ed(c,d),f);!l.eol();){if(l.pos>a.options.maxHighlightLength?(h=!1,g&&Kd(a,b,d,l.pos),l.pos=b.length,i=null):i=Dd(Fd(c,l,d,m),f),m){var n=m[0].name;n&&(i="m-"+(i?n+" "+i:n))}if(!h||k!=i){for(;j<l.start;)j=Math.min(l.start,j+5e4),e(j,k);k=i}l.start=l.pos}for(;j<l.pos;){var o=Math.min(l.pos,j+5e4);e(o,k),j=o}}function Id(a,b,c,d){var e=[a.state.modeGen],f={};Hd(a,b.text,a.doc.mode,c,function(a,b){e.push(a,b)},f,d);for(var g=0;g<a.state.overlays.length;++g){var h=a.state.overlays[g],i=1,j=0;Hd(a,b.text,h.mode,!0,function(a,b){for(var c=i;a>j;){var d=e[i];d>a&&e.splice(i,1,a,e[i+1],d),i+=2,j=Math.min(a,d)}if(b)if(h.opaque)e.splice(c,i-c,a,"cm-overlay "+b),i=c+2;else for(;i>c;c+=2){var f=e[c+1];e[c+1]=(f?f+" ":"")+"cm-overlay "+b}},f)}return{styles:e,classes:f.bgClass||f.textClass?f:null}}function Jd(a,b,c){if(!b.styles||b.styles[0]!=a.state.modeGen){var d=Qa(a,be(b)),e=Id(a,b,b.text.length>a.options.maxHighlightLength?ig(a.doc.mode,d):d);b.stateAfter=d,b.styles=e.styles,e.classes?b.styleClasses=e.classes:b.styleClasses&&(b.styleClasses=null),c===a.doc.frontier&&a.doc.frontier++}return b.styles}function Kd(a,b,c,d){var e=a.doc.mode,f=new pg(b,a.options.tabSize);for(f.start=f.pos=d||0,""==b&&Ed(e,c);!f.eol();)Fd(e,f,c),f.start=f.pos}function Ld(a,b){if(!a||/^\s*$/.test(a))return null;var c=b.addModeClass?wg:vg;return c[a]||(c[a]=a.replace(/\S+/g,"cm-$&"))}function Md(a,b){var c=Qe("span",null,null,vf?"padding-right: .1px":null),d={pre:Qe("pre",[c],"CodeMirror-line"),content:c,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:(tf||vf)&&a.getOption("lineWrapping")};b.measure={};for(var e=0;e<=(b.rest?b.rest.length:0);e++){var f,g=e?b.rest[e-1]:b.line;d.pos=0,d.addToken=Od,$e(a.display.measure)&&(f=ee(g))&&(d.addToken=Qd(d.addToken,f)),d.map=[];var h=b!=a.display.externalMeasured&&be(g);Sd(g,d,Jd(a,g,h)),g.styleClasses&&(g.styleClasses.bgClass&&(d.bgClass=Ve(g.styleClasses.bgClass,d.bgClass||"")),g.styleClasses.textClass&&(d.textClass=Ve(g.styleClasses.textClass,d.textClass||""))),0==d.map.length&&d.map.push(0,0,d.content.appendChild(Ze(a.display.measure))),0==e?(b.measure.map=d.map,b.measure.cache={}):((b.measure.maps||(b.measure.maps=[])).push(d.map),(b.measure.caches||(b.measure.caches=[])).push({}))}if(vf){var i=d.content.lastChild;(/\bcm-tab\b/.test(i.className)||i.querySelector&&i.querySelector(".cm-tab"))&&(d.content.className="cm-tab-wrap-hack")}return Hg(a,"renderLine",a,b.line,d.pre),d.pre.className&&(d.textClass=Ve(d.pre.className,d.textClass||"")),d}function Nd(a){var b=Qe("span","•","cm-invalidchar");return b.title="\\u"+a.charCodeAt(0).toString(16),b.setAttribute("aria-label",b.title),b}function Od(a,b,c,d,e,f,g){if(b){var h=a.splitSpaces?Pd(b,a.trailingSpace):b,i=a.cm.state.specialChars,j=!1;if(i.test(b))for(var k=document.createDocumentFragment(),l=0;;){i.lastIndex=l;var m=i.exec(b),n=m?m.index-l:b.length-l;if(n){var o=document.createTextNode(h.slice(l,l+n));tf&&9>uf?k.appendChild(Qe("span",[o])):k.appendChild(o),a.map.push(a.pos,a.pos+n,o),a.col+=n,a.pos+=n}if(!m)break;if(l+=n+1," "==m[0]){var p=a.cm.options.tabSize,q=p-a.col%p,o=k.appendChild(Qe("span",Fe(q),"cm-tab"));o.setAttribute("role","presentation"),o.setAttribute("cm-text"," "),a.col+=q}else if("\r"==m[0]||"\n"==m[0]){var o=k.appendChild(Qe("span","\r"==m[0]?"␍":"","cm-invalidchar"));o.setAttribute("cm-text",m[0]),a.col+=1}else{var o=a.cm.options.specialCharPlaceholder(m[0]);o.setAttribute("cm-text",m[0]),tf&&9>uf?k.appendChild(Qe("span",[o])):k.appendChild(o),a.col+=1}a.map.push(a.pos,a.pos+1,o),a.pos++}else{a.col+=b.length;var k=document.createTextNode(h);a.map.push(a.pos,a.pos+b.length,k),tf&&9>uf&&(j=!0),a.pos+=b.length}if(a.trailingSpace=32==h.charCodeAt(b.length-1),c||d||e||j||g){var r=c||"";d&&(r+=d),e&&(r+=e);var s=Qe("span",[k],r,g);return f&&(s.title=f),a.content.appendChild(s)}a.content.appendChild(k)}}function Pd(a,b){if(a.length>1&&!/ /.test(a))return a;for(var c=b,d="",e=0;e<a.length;e++){var f=a.charAt(e);" "!=f||!c||e!=a.length-1&&32!=a.charCodeAt(e+1)||(f=" "),d+=f,c=" "==f}return d}function Qd(a,b){return function(c,d,e,f,g,h,i){e=e?e+" cm-force-border":"cm-force-border";for(var j=c.pos,k=j+d.length;;){for(var l=0;l<b.length;l++){var m=b[l];if(m.to>j&&m.from<=j)break}if(m.to>=k)return a(c,d,e,f,g,h,i);a(c,d.slice(0,m.to-j),e,f,null,h,i),f=null,d=d.slice(m.to-j),j=m.to}}}function Rd(a,b,c,d){var e=!d&&c.widgetNode;e&&a.map.push(a.pos,a.pos+b,e),!d&&a.cm.display.input.needsContentAttribute&&(e||(e=a.content.appendChild(document.createElement("span"))),e.setAttribute("cm-marker",c.id)),e&&(a.cm.display.input.setUneditable(e),a.content.appendChild(e)),a.pos+=b,a.trailingSpace=!1}function Sd(a,b,c){var d=a.markedSpans,e=a.text,f=0;if(d)for(var g,h,i,j,k,l,m,n=e.length,o=0,p=1,q="",r=0;;){if(r==o){i=j=k=l=h="",m=null,r=1/0;for(var s,t=[],u=0;u<d.length;++u){var v=d[u],w=v.marker;"bookmark"==w.type&&v.from==o&&w.widgetNode?t.push(w):v.from<=o&&(null==v.to||v.to>o||w.collapsed&&v.to==o&&v.from==o)?(null!=v.to&&v.to!=o&&r>v.to&&(r=v.to,j=""),w.className&&(i+=" "+w.className),w.css&&(h=(h?h+";":"")+w.css),w.startStyle&&v.from==o&&(k+=" "+w.startStyle),w.endStyle&&v.to==r&&(s||(s=[])).push(w.endStyle,v.to),w.title&&!l&&(l=w.title),w.collapsed&&(!m||nd(m.marker,w)<0)&&(m=v)):v.from>o&&r>v.from&&(r=v.from)}if(s)for(var u=0;u<s.length;u+=2)s[u+1]==r&&(j+=" "+s[u]);if(!m||m.from==o)for(var u=0;u<t.length;++u)Rd(b,0,t[u]);if(m&&(m.from||0)==o){if(Rd(b,(null==m.to?n+1:m.to)-o,m.marker,null==m.from),null==m.to)return;m.to==o&&(m=!1)}}if(o>=n)break;for(var x=Math.min(n,r);;){if(q){var y=o+q.length;if(!m){var z=y>x?q.slice(0,x-o):q;b.addToken(b,z,g?g+i:i,k,o+z.length==r?j:"",l,h)}if(y>=x){q=q.slice(x-o),o=x;break}o=y,k=""}q=e.slice(f,f=c[p++]),g=Ld(c[p++],b.cm.options)}}else for(var p=1;p<c.length;p+=2)b.addToken(b,e.slice(f,f=c[p]),Ld(c[p+1],b.cm.options))}function Td(a,b){return 0==b.from.ch&&0==b.to.ch&&""==Ge(b.text)&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Ud(a,b,c,d){function e(a){return c?c[a]:null}function f(a,c,e){Bd(a,c,e,d),ye(a,"change",a,b)}function g(a,b){for(var c=a,f=[];b>c;++c)f.push(new ug(j[c],e(c),d));return f}var h=b.from,i=b.to,j=b.text,k=Zd(a,h.line),l=Zd(a,i.line),m=Ge(j),n=e(j.length-1),o=i.line-h.line;if(b.full)a.insert(0,g(0,j.length)),a.remove(j.length,a.size-j.length);else if(Td(a,b)){var p=g(0,j.length-1);f(l,l.text,n),o&&a.remove(h.line,o),p.length&&a.insert(h.line,p)}else if(k==l)if(1==j.length)f(k,k.text.slice(0,h.ch)+m+k.text.slice(i.ch),n);else{var p=g(1,j.length-1);p.push(new ug(m+k.text.slice(i.ch),n,d)),f(k,k.text.slice(0,h.ch)+j[0],e(0)),a.insert(h.line+1,p)}else if(1==j.length)f(k,k.text.slice(0,h.ch)+j[0]+l.text.slice(i.ch),e(0)),a.remove(h.line+1,o);else{f(k,k.text.slice(0,h.ch)+j[0],e(0)),f(l,m+l.text.slice(i.ch),n);var p=g(1,j.length-1);o>1&&a.remove(h.line+1,o-1),a.insert(h.line+1,p)}ye(a,"change",a,b)}function Vd(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 Wd(a){this.children=a;for(var b=0,c=0,d=0;d<a.length;++d){var e=a[d];b+=e.chunkSize(),c+=e.height,e.parent=this}this.size=b,this.height=c,this.parent=null}function Xd(a,b,c){function d(a,e,f){if(a.linked)for(var g=0;g<a.linked.length;++g){var h=a.linked[g];if(h.doc!=e){var i=f&&h.sharedHist;(!c||i)&&(b(h.doc,i),d(h.doc,a,i))}}}d(a,null,!0)}function Yd(a,b){if(b.cm)throw new Error("This document is already in use.");a.doc=b,b.cm=a,g(a),c(a),a.options.lineWrapping||m(a),a.options.mode=b.modeOption,Kb(a)}function Zd(a,b){if(b-=a.first,0>b||b>=a.size)throw new 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(f>b){c=e;break}b-=f}return c.lines[b]}function $d(a,b,c){var d=[],e=b.line;return a.iter(b.line,c.line+1,function(a){var f=a.text;e==c.line&&(f=f.slice(0,c.ch)),e==b.line&&(f=f.slice(b.ch)),d.push(f),++e}),d}function _d(a,b,c){var d=[];return a.iter(b,c,function(a){d.push(a.text)}),d}function ae(a,b){var c=b-a.height;if(c)for(var d=a;d;d=d.parent)d.height+=c}function be(a){if(null==a.parent)return null;for(var b=a.parent,c=He(b.lines,a),d=b.parent;d;b=d,d=d.parent)for(var e=0;d.children[e]!=b;++e)c+=d.children[e].chunkSize();return c+b.first}function ce(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(f>b){a=e;continue a}b-=f,c+=e.chunkSize()}return c}while(!a.lines);for(var d=0;d<a.lines.length;++d){var g=a.lines[d],h=g.height;if(h>b)break;b-=h}return c+d}function de(a){a=sd(a);for(var b=0,c=a.parent,d=0;d<c.lines.length;++d){var e=c.lines[d];if(e==a)break;b+=e.height}for(var f=c.parent;f;c=f,f=c.parent)for(var d=0;d<f.children.length;++d){var g=f.children[d];if(g==c)break;b+=g.height}return b}function ee(a){var b=a.order;return null==b&&(b=a.order=hh(a.text)),b}function fe(a){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=a||1}function ge(a,b){var c={from:V(b.from),to:_f(b),text:$d(a,b.from,b.to)};return ne(a,c,b.from.line,b.to.line+1),Xd(a,function(a){ne(a,c,b.from.line,b.to.line+1)},!0),c}function he(a){for(;a.length;){var b=Ge(a);if(!b.ranges)break;a.pop()}}function ie(a,b){return b?(he(a.done),Ge(a.done)):a.done.length&&!Ge(a.done).ranges?Ge(a.done):a.done.length>1&&!a.done[a.done.length-2].ranges?(a.done.pop(),Ge(a.done)):void 0}function je(a,b,c,d){var e=a.history;e.undone.length=0;var f,g=+new Date;if((e.lastOp==d||e.lastOrigin==b.origin&&b.origin&&("+"==b.origin.charAt(0)&&a.cm&&e.lastModTime>g-a.cm.options.historyEventDelay||"*"==b.origin.charAt(0)))&&(f=ie(e,e.lastOp==d))){var h=Ge(f.changes);0==Nf(b.from,b.to)&&0==Nf(b.from,h.to)?h.to=_f(b):f.changes.push(ge(a,b))}else{var i=Ge(e.done);for(i&&i.ranges||me(a.sel,e.done),f={changes:[ge(a,b)],generation:e.generation},e.done.push(f);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=g,e.lastOp=e.lastSelOp=d,e.lastOrigin=e.lastSelOrigin=b.origin,h||Hg(a,"historyAdded")}function ke(a,b,c,d){var e=b.charAt(0);return"*"==e||"+"==e&&c.ranges.length==d.ranges.length&&c.somethingSelected()==d.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function le(a,b,c,d){var e=a.history,f=d&&d.origin;c==e.lastSelOp||f&&e.lastSelOrigin==f&&(e.lastModTime==e.lastSelTime&&e.lastOrigin==f||ke(a,f,Ge(e.done),b))?e.done[e.done.length-1]=b:me(b,e.done),e.lastSelTime=+new Date,e.lastSelOrigin=f,e.lastSelOp=c,d&&d.clearRedo!==!1&&he(e.undone)}function me(a,b){var c=Ge(b);c&&c.ranges&&c.equals(a)||b.push(a)}function ne(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 oe(a){if(!a)return null;for(var b,c=0;c<a.length;++c)a[c].marker.explicitlyCleared?b||(b=a.slice(0,c)):b&&b.push(a[c]);return b?b.length?b:null:a}function pe(a,b){var c=b["spans_"+a.id];if(!c)return null;for(var d=0,e=[];d<b.text.length;++d)e.push(oe(c[d]));return e}function qe(a,b,c){for(var d=0,e=[];d<a.length;++d){var f=a[d];if(f.ranges)e.push(c?ka.prototype.deepCopy.call(f):f);else{var g=f.changes,h=[];e.push({changes:h});for(var i=0;i<g.length;++i){var j,k=g[i];if(h.push({from:k.from,to:k.to,text:k.text}),b)for(var l in k)(j=l.match(/^spans_(\d+)$/))&&He(b,Number(j[1]))>-1&&(Ge(h)[l]=k[l],delete k[l])}}}return e}function re(a,b,c,d){c<a.line?a.line+=d:b<a.line&&(a.line=b,a.ch=0)}function se(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++)re(f.ranges[h].anchor,b,c,d),re(f.ranges[h].head,b,c,d)}else{for(var h=0;h<f.changes.length;++h){var i=f.changes[h];if(c<i.from.line)i.from=Mf(i.from.line+d,i.from.ch),i.to=Mf(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 te(a,b){var c=b.from.line,d=b.to.line,e=b.text.length-(d-c)-1;se(a.done,c,d,e),se(a.undone,c,d,e)}function ue(a){return null!=a.defaultPrevented?a.defaultPrevented:0==a.returnValue}function ve(a){return a.target||a.srcElement}function we(a){var b=a.which;return null==b&&(1&a.button?b=1:2&a.button?b=3:4&a.button&&(b=2)),Ef&&a.ctrlKey&&1==b&&(b=3),b}function xe(a,b,c){var d=a._handlers&&a._handlers[b];return c?d&&d.length>0?d.slice():Fg:d||Fg}function ye(a,b){function c(a){return function(){a.apply(null,f)}}var d=xe(a,b,!1);if(d.length){var e,f=Array.prototype.slice.call(arguments,2);Tf?e=Tf.delayedCallbacks:Ig?e=Ig:(e=Ig=[],setTimeout(ze,0));for(var g=0;g<d.length;++g)e.push(c(d[g]))}}function ze(){var a=Ig;Ig=null;for(var b=0;b<a.length;++b)a[b]()}function Ae(a,b,c){return"string"==typeof b&&(b={type:b,preventDefault:function(){this.defaultPrevented=!0}}),Hg(a,c||b.type,a,b),ue(b)||b.codemirrorIgnore}function Be(a){var b=a._handlers&&a._handlers.cursorActivity;if(b)for(var c=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),d=0;d<b.length;++d)-1==He(c,b[d])&&c.push(b[d])}function Ce(a,b){return xe(a,b).length>0}function De(a){a.prototype.on=function(a,b){Eg(this,a,b)},a.prototype.off=function(a,b){Gg(this,a,b)}}function Ee(){this.id=null}function Fe(a){for(;Qg.length<=a;)Qg.push(Ge(Qg)+" ");return Qg[a]}function Ge(a){return a[a.length-1]}function He(a,b){for(var c=0;c<a.length;++c)if(a[c]==b)return c;return-1}function Ie(a,b){for(var c=[],d=0;d<a.length;d++)c[d]=b(a[d],d);return c}function Je(){}function Ke(a,b){var c;return Object.create?c=Object.create(a):(Je.prototype=a,c=new Je),b&&Le(b,c),c}function Le(a,b,c){b||(b={});for(var d in a)!a.hasOwnProperty(d)||c===!1&&b.hasOwnProperty(d)||(b[d]=a[d]);return b}function Me(a){var b=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,b)}}function Ne(a,b){return b?b.source.indexOf("\\w")>-1&&Ug(a)?!0:b.test(a):Ug(a)}function Oe(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}function Pe(a){return a.charCodeAt(0)>=768&&Vg.test(a)}function Qe(a,b,c,d){var e=document.createElement(a);if(c&&(e.className=c),d&&(e.style.cssText=d),"string"==typeof b)e.appendChild(document.createTextNode(b));else if(b)for(var f=0;f<b.length;++f)e.appendChild(b[f]);return e}function Re(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstChild);return a}function Se(a,b){return Re(a).appendChild(b)}function Te(){for(var a=document.activeElement;a&&a.root&&a.root.activeElement;)a=a.root.activeElement;return a}function Ue(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}function Ve(a,b){for(var c=a.split(" "),d=0;d<c.length;d++)c[d]&&!Ue(c[d]).test(b)&&(b+=" "+c[d]);return b}function We(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 Xe(){_g||(Ye(),_g=!0)}function Ye(){var a;Eg(window,"resize",function(){null==a&&(a=setTimeout(function(){a=null,We(Tb)},100))}),Eg(window,"blur",function(){We(sc)})}function Ze(a){if(null==Xg){var b=Qe("span","");Se(a,Qe("span",[b,document.createTextNode("x")])),0!=a.firstChild.offsetHeight&&(Xg=b.offsetWidth<=1&&b.offsetHeight>2&&!(tf&&8>uf))}var c=Xg?Qe("span",""):Qe("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return c.setAttribute("cm-text",""),c}function $e(a){if(null!=Yg)return Yg;var b=Se(a,document.createTextNode("AخA")),c=Sg(b,0,1).getBoundingClientRect(),d=Sg(b,1,2).getBoundingClientRect();return Re(a),c&&c.left!=c.right?Yg=d.right-c.right<3:!1}function _e(a){if(null!=eh)return eh;var b=Se(a,Qe("span","x")),c=b.getBoundingClientRect(),d=Sg(b,0,1).getBoundingClientRect();return eh=Math.abs(c.left-d.left)>1}function af(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];(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 bf(a){return a.level%2?a.to:a.from}function cf(a){return a.level%2?a.from:a.to}function df(a){var b=ee(a);return b?bf(b[0]):0}function ef(a){var b=ee(a);return b?cf(Ge(b)):a.text.length}function ff(a,b){var c=Zd(a.doc,b),d=sd(c);d!=c&&(b=be(d));var e=ee(d),f=e?e[0].level%2?ef(d):df(d):0;return Mf(b,f)}function gf(a,b){for(var c,d=Zd(a.doc,b);c=qd(d);)d=c.find(1,!0).line,b=null;var e=ee(d),f=e?e[0].level%2?df(d):ef(d):d.text.length;return Mf(null==b?be(d):b,f)}function hf(a,b){var c=ff(a,b.line),d=Zd(a.doc,c.line),e=ee(d);if(!e||0==e[0].level){var f=Math.max(0,d.text.search(/\S/)),g=b.line==c.line&&b.ch<=f&&b.ch;return Mf(c.line,g?0:f)}return c}function jf(a,b,c){var d=a[0].level;return b==d?!0:c==d?!1:c>b}function kf(a,b){gh=null;for(var c,d=0;d<a.length;++d){var e=a[d];if(e.from<b&&e.to>b)return d;if(e.from==b||e.to==b){if(null!=c)return jf(a,e.level,a[c].level)?(e.from!=e.to&&(gh=c),d):(e.from!=e.to&&(gh=d),c);c=d}}return c}function lf(a,b,c,d){if(!d)return b+c;do b+=c;while(b>0&&Pe(a.text.charAt(b)));return b}function mf(a,b,c,d){var e=ee(a);if(!e)return nf(a,b,c,d);for(var f=kf(e,b),g=e[f],h=lf(a,b,g.level%2?-c:c,d);;){if(h>g.from&&h<g.to)return h;if(h==g.from||h==g.to)return kf(e,h)==f?h:(g=e[f+=c],c>0==g.level%2?g.to:g.from);if(g=e[f+=c],!g)return null;h=c>0==g.level%2?lf(a,g.to,-1,d):lf(a,g.from,1,d)}}function nf(a,b,c,d){var e=b+c;if(d)for(;e>0&&Pe(a.text.charAt(e));)e+=c;return 0>e||e>a.text.length?null:e}var of=navigator.userAgent,pf=navigator.platform,qf=/gecko\/\d/i.test(of),rf=/MSIE \d/.test(of),sf=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(of),tf=rf||sf,uf=tf&&(rf?document.documentMode||6:sf[1]),vf=/WebKit\//.test(of),wf=vf&&/Qt\/\d+\.\d+/.test(of),xf=/Chrome\//.test(of),yf=/Opera\//.test(of),zf=/Apple Computer/.test(navigator.vendor),Af=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(of),Bf=/PhantomJS/.test(of),Cf=/AppleWebKit/.test(of)&&/Mobile\/\w+/.test(of),Df=Cf||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(of),Ef=Cf||/Mac/.test(pf),Ff=/\bCrOS\b/.test(of),Gf=/win/i.test(pf),Hf=yf&&of.match(/Version\/(\d*\.\d*)/);Hf&&(Hf=Number(Hf[1])),Hf&&Hf>=15&&(yf=!1,vf=!0);var If=Ef&&(wf||yf&&(null==Hf||12.11>Hf)),Jf=qf||tf&&uf>=9,Kf=!1,Lf=!1;p.prototype=Le({update:function(a){var b=a.scrollWidth>a.clientWidth+1,c=a.scrollHeight>a.clientHeight+1,d=a.nativeBarWidth;if(c){this.vert.style.display="block",this.vert.style.bottom=b?d+"px":"0";var e=a.viewHeight-(b?d:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+e)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(b){this.horiz.style.display="block",this.horiz.style.right=c?d+"px":"0",this.horiz.style.left=a.barLeft+"px";var f=a.viewWidth-a.barLeft-(c?d:0);this.horiz.firstChild.style.width=a.scrollWidth-a.clientWidth+f+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(0==d&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:c?d:0,bottom:b?d:0}},setScrollLeft:function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz)},setScrollTop:function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert)},zeroWidthHack:function(){var a=Ef&&!Af?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",
|
4 |
-
this.disableHoriz=new Ee,this.disableVert=new Ee},enableZeroWidthBar:function(a,b){function c(){var d=a.getBoundingClientRect(),e=document.elementFromPoint(d.left+1,d.bottom-1);e!=a?a.style.pointerEvents="none":b.set(1e3,c)}a.style.pointerEvents="auto",b.set(1e3,c)},clear:function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)}},p.prototype),q.prototype=Le({update:function(){return{bottom:0,right:0}},setScrollLeft:function(){},setScrollTop:function(){},clear:function(){}},q.prototype),a.scrollbarModel={"native":p,"null":q},z.prototype.signal=function(a,b){Ce(a,b)&&this.events.push(arguments)},z.prototype.finish=function(){for(var a=0;a<this.events.length;a++)Hg.apply(null,this.events[a])};var Mf=a.Pos=function(a,b){return this instanceof Mf?(this.line=a,void(this.ch=b)):new Mf(a,b)},Nf=a.cmpPos=function(a,b){return a.line-b.line||a.ch-b.ch},Of=null;ca.prototype=Le({init:function(a){function b(a){if(!Ae(d,a)){if(d.somethingSelected())Of={lineWise:!1,text:d.getSelections()},c.inaccurateSelection&&(c.prevInput="",c.inaccurateSelection=!1,f.value=Of.text.join("\n"),Rg(f));else{if(!d.options.lineWiseCopyCut)return;var b=aa(d);Of={lineWise:!0,text:b.text},"cut"==a.type?d.setSelections(b.ranges,null,Lg):(c.prevInput="",f.value=b.text.join("\n"),Rg(f))}"cut"==a.type&&(d.state.cutIncoming=!0)}}var c=this,d=this.cm,e=this.wrapper=da(),f=this.textarea=e.firstChild;a.wrapper.insertBefore(e,a.wrapper.firstChild),Cf&&(f.style.width="0px"),Eg(f,"input",function(){tf&&uf>=9&&c.hasSelection&&(c.hasSelection=null),c.poll()}),Eg(f,"paste",function(a){Ae(d,a)||$(a,d)||(d.state.pasteIncoming=!0,c.fastPoll())}),Eg(f,"cut",b),Eg(f,"copy",b),Eg(a.scroller,"paste",function(b){Ub(a,b)||Ae(d,b)||(d.state.pasteIncoming=!0,c.focus())}),Eg(a.lineSpace,"selectstart",function(b){Ub(a,b)||Bg(b)}),Eg(f,"compositionstart",function(){var a=d.getCursor("from");c.composing&&c.composing.range.clear(),c.composing={start:a,range:d.markText(a,d.getCursor("to"),{className:"CodeMirror-composing"})}}),Eg(f,"compositionend",function(){c.composing&&(c.poll(),c.composing.range.clear(),c.composing=null)})},prepareSelection:function(){var a=this.cm,b=a.display,c=a.doc,d=Ja(a);if(a.options.moveInputWithCursor){var e=ob(a,c.sel.primary().head,"div"),f=b.wrapper.getBoundingClientRect(),g=b.lineDiv.getBoundingClientRect();d.teTop=Math.max(0,Math.min(b.wrapper.clientHeight-10,e.top+g.top-f.top)),d.teLeft=Math.max(0,Math.min(b.wrapper.clientWidth-10,e.left+g.left-f.left))}return d},showSelection:function(a){var b=this.cm,c=b.display;Se(c.cursorDiv,a.cursors),Se(c.selectionDiv,a.selection),null!=a.teTop&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},reset:function(a){if(!this.contextMenuPending){var b,c,d=this.cm,e=d.doc;if(d.somethingSelected()){this.prevInput="";var f=e.sel.primary();b=dh&&(f.to().line-f.from().line>100||(c=d.getSelection()).length>1e3);var g=b?"-":c||d.getSelection();this.textarea.value=g,d.state.focused&&Rg(this.textarea),tf&&uf>=9&&(this.hasSelection=g)}else a||(this.prevInput=this.textarea.value="",tf&&uf>=9&&(this.hasSelection=null));this.inaccurateSelection=b}},getField:function(){return this.textarea},supportsTouch:function(){return!1},focus:function(){if("nocursor"!=this.cm.options.readOnly&&(!Df||Te()!=this.textarea))try{this.textarea.focus()}catch(a){}},blur:function(){this.textarea.blur()},resetPosition:function(){this.wrapper.style.top=this.wrapper.style.left=0},receivedFocus:function(){this.slowPoll()},slowPoll:function(){var a=this;a.pollingFast||a.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},fastPoll:function(){function a(){var d=c.poll();d||b?(c.pollingFast=!1,c.slowPoll()):(b=!0,c.polling.set(60,a))}var b=!1,c=this;c.pollingFast=!0,c.polling.set(20,a)},poll:function(){var a=this.cm,b=this.textarea,c=this.prevInput;if(this.contextMenuPending||!a.state.focused||ch(b)&&!c&&!this.composing||a.isReadOnly()||a.options.disableInput||a.state.keySeq)return!1;var d=b.value;if(d==c&&!a.somethingSelected())return!1;if(tf&&uf>=9&&this.hasSelection===d||Ef&&/[\uf700-\uf7ff]/.test(d))return a.display.input.reset(),!1;if(a.doc.sel==a.display.selForContextMenu){var e=d.charCodeAt(0);if(8203!=e||c||(c=""),8666==e)return this.reset(),this.cm.execCommand("undo")}for(var f=0,g=Math.min(c.length,d.length);g>f&&c.charCodeAt(f)==d.charCodeAt(f);)++f;var h=this;return Eb(a,function(){Z(a,d.slice(f),c.length-f,null,h.composing?"*compose":null),d.length>1e3||d.indexOf("\n")>-1?b.value=h.prevInput="":h.prevInput=d,h.composing&&(h.composing.range.clear(),h.composing.range=a.markText(h.composing.start,a.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ensurePolled:function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},onKeyPress:function(){tf&&uf>=9&&(this.hasSelection=null),this.fastPoll()},onContextMenu:function(a){function b(){if(null!=g.selectionStart){var a=e.somethingSelected(),b=""+(a?g.value:"");g.value="⇚",g.value=b,d.prevInput=a?"":"",g.selectionStart=1,g.selectionEnd=b.length,f.selForContextMenu=e.doc.sel}}function c(){if(d.contextMenuPending=!1,d.wrapper.style.cssText=l,g.style.cssText=k,tf&&9>uf&&f.scrollbars.setScrollTop(f.scroller.scrollTop=i),null!=g.selectionStart){(!tf||tf&&9>uf)&&b();var a=0,c=function(){f.selForContextMenu==e.doc.sel&&0==g.selectionStart&&g.selectionEnd>0&&""==d.prevInput?Fb(e,kg.selectAll)(e):a++<10?f.detectingSelectAll=setTimeout(c,500):f.input.reset()};f.detectingSelectAll=setTimeout(c,200)}}var d=this,e=d.cm,f=e.display,g=d.textarea,h=Vb(e,a),i=f.scroller.scrollTop;if(h&&!yf){var j=e.options.resetSelectionOnContextMenu;j&&-1==e.doc.sel.contains(h)&&Fb(e,Aa)(e.doc,na(h),Lg);var k=g.style.cssText,l=d.wrapper.style.cssText;d.wrapper.style.cssText="position: absolute";var m=d.wrapper.getBoundingClientRect();if(g.style.cssText="position: absolute; width: 30px; height: 30px; top: "+(a.clientY-m.top-5)+"px; left: "+(a.clientX-m.left-5)+"px; z-index: 1000; background: "+(tf?"rgba(255, 255, 255, .05)":"transparent")+"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",vf)var n=window.scrollY;if(f.input.focus(),vf&&window.scrollTo(null,n),f.input.reset(),e.somethingSelected()||(g.value=d.prevInput=" "),d.contextMenuPending=!0,f.selForContextMenu=e.doc.sel,clearTimeout(f.detectingSelectAll),tf&&uf>=9&&b(),Jf){Dg(a);var o=function(){Gg(window,"mouseup",o),setTimeout(c,20)};Eg(window,"mouseup",o)}else setTimeout(c,50)}},readOnlyChanged:function(a){a||this.reset()},setUneditable:Je,needsContentAttribute:!1},ca.prototype),ea.prototype=Le({init:function(a){function b(a){if(!Ae(d,a)){if(d.somethingSelected())Of={lineWise:!1,text:d.getSelections()},"cut"==a.type&&d.replaceSelection("",null,"cut");else{if(!d.options.lineWiseCopyCut)return;var b=aa(d);Of={lineWise:!0,text:b.text},"cut"==a.type&&d.operation(function(){d.setSelections(b.ranges,0,Lg),d.replaceSelection("",null,"cut")})}if(a.clipboardData&&!Cf)a.preventDefault(),a.clipboardData.clearData(),a.clipboardData.setData("text/plain",Of.text.join("\n"));else{var c=da(),e=c.firstChild;d.display.lineSpace.insertBefore(c,d.display.lineSpace.firstChild),e.value=Of.text.join("\n");var f=document.activeElement;Rg(e),setTimeout(function(){d.display.lineSpace.removeChild(c),f.focus()},50)}}}var c=this,d=c.cm,e=c.div=a.lineDiv;ba(e),Eg(e,"paste",function(a){Ae(d,a)||$(a,d)}),Eg(e,"compositionstart",function(a){var b=a.data;if(c.composing={sel:d.doc.sel,data:b,startData:b},b){var e=d.doc.sel.primary(),f=d.getLine(e.head.line),g=f.indexOf(b,Math.max(0,e.head.ch-b.length));g>-1&&g<=e.head.ch&&(c.composing.sel=na(Mf(e.head.line,g),Mf(e.head.line,g+b.length)))}}),Eg(e,"compositionupdate",function(a){c.composing.data=a.data}),Eg(e,"compositionend",function(a){var b=c.composing;b&&(a.data==b.startData||/\u200b/.test(a.data)||(b.data=a.data),setTimeout(function(){b.handled||c.applyComposition(b),c.composing==b&&(c.composing=null)},50))}),Eg(e,"touchstart",function(){c.forceCompositionEnd()}),Eg(e,"input",function(){c.composing||(d.isReadOnly()||!c.pollContent())&&Eb(c.cm,function(){Kb(d)})}),Eg(e,"copy",b),Eg(e,"cut",b)},prepareSelection:function(){var a=Ja(this.cm,!1);return a.focus=this.cm.state.focused,a},showSelection:function(a,b){a&&this.cm.display.view.length&&((a.focus||b)&&this.showPrimarySelection(),this.showMultipleSelections(a))},showPrimarySelection:function(){var a=window.getSelection(),b=this.cm.doc.sel.primary(),c=ha(this.cm,a.anchorNode,a.anchorOffset),d=ha(this.cm,a.focusNode,a.focusOffset);if(!c||c.bad||!d||d.bad||0!=Nf(X(c,d),b.from())||0!=Nf(W(c,d),b.to())){var e=fa(this.cm,b.from()),f=fa(this.cm,b.to());if(e||f){var g=this.cm.display.view,h=a.rangeCount&&a.getRangeAt(0);if(e){if(!f){var i=g[g.length-1].measure,j=i.maps?i.maps[i.maps.length-1]:i.map;f={node:j[j.length-1],offset:j[j.length-2]-j[j.length-3]}}}else e={node:g[0].measure.map[2],offset:0};try{var k=Sg(e.node,e.offset,f.offset,f.node)}catch(l){}k&&(!qf&&this.cm.state.focused?(a.collapse(e.node,e.offset),k.collapsed||a.addRange(k)):(a.removeAllRanges(),a.addRange(k)),h&&null==a.anchorNode?a.addRange(h):qf&&this.startGracePeriod()),this.rememberSelection()}}},startGracePeriod:function(){var a=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){a.gracePeriod=!1,a.selectionChanged()&&a.cm.operation(function(){a.cm.curOp.selectionChanged=!0})},20)},showMultipleSelections:function(a){Se(this.cm.display.cursorDiv,a.cursors),Se(this.cm.display.selectionDiv,a.selection)},rememberSelection:function(){var a=window.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},selectionInEditor:function(){var a=window.getSelection();if(!a.rangeCount)return!1;var b=a.getRangeAt(0).commonAncestorContainer;return Wg(this.div,b)},focus:function(){"nocursor"!=this.cm.options.readOnly&&this.div.focus()},blur:function(){this.div.blur()},getField:function(){return this.div},supportsTouch:function(){return!0},receivedFocus:function(){function a(){b.cm.state.focused&&(b.pollSelection(),b.polling.set(b.cm.options.pollInterval,a))}var b=this;this.selectionInEditor()?this.pollSelection():Eb(this.cm,function(){b.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,a)},selectionChanged:function(){var a=window.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},pollSelection:function(){if(!this.composing&&!this.gracePeriod&&this.selectionChanged()){var a=window.getSelection(),b=this.cm;this.rememberSelection();var c=ha(b,a.anchorNode,a.anchorOffset),d=ha(b,a.focusNode,a.focusOffset);c&&d&&Eb(b,function(){Aa(b.doc,na(c,d),Lg),(c.bad||d.bad)&&(b.curOp.selectionChanged=!0)})}},pollContent:function(){var a=this.cm,b=a.display,c=a.doc.sel.primary(),d=c.from(),e=c.to();if(d.line<b.viewFrom||e.line>b.viewTo-1)return!1;var f;if(d.line==b.viewFrom||0==(f=Nb(a,d.line)))var g=be(b.view[0].line),h=b.view[0].node;else var g=be(b.view[f].line),h=b.view[f-1].node.nextSibling;var i=Nb(a,e.line);if(i==b.view.length-1)var j=b.viewTo-1,k=b.lineDiv.lastChild;else var j=be(b.view[i+1].line)-1,k=b.view[i+1].node.previousSibling;for(var l=a.doc.splitLines(ja(a,h,k,g,j)),m=$d(a.doc,Mf(g,0),Mf(j,Zd(a.doc,j).text.length));l.length>1&&m.length>1;)if(Ge(l)==Ge(m))l.pop(),m.pop(),j--;else{if(l[0]!=m[0])break;l.shift(),m.shift(),g++}for(var n=0,o=0,p=l[0],q=m[0],r=Math.min(p.length,q.length);r>n&&p.charCodeAt(n)==q.charCodeAt(n);)++n;for(var s=Ge(l),t=Ge(m),u=Math.min(s.length-(1==l.length?n:0),t.length-(1==m.length?n:0));u>o&&s.charCodeAt(s.length-o-1)==t.charCodeAt(t.length-o-1);)++o;l[l.length-1]=s.slice(0,s.length-o),l[0]=l[0].slice(n);var v=Mf(g,n),w=Mf(j,m.length?Ge(m).length-o:0);return l.length>1||l[0]||Nf(v,w)?(Gc(a.doc,l,v,w,"+input"),!0):void 0},ensurePolled:function(){this.forceCompositionEnd()},reset:function(){this.forceCompositionEnd()},forceCompositionEnd:function(){this.composing&&!this.composing.handled&&(this.applyComposition(this.composing),this.composing.handled=!0,this.div.blur(),this.div.focus())},applyComposition:function(a){this.cm.isReadOnly()?Fb(this.cm,Kb)(this.cm):a.data&&a.data!=a.startData&&Fb(this.cm,Z)(this.cm,a.data,0,a.sel)},setUneditable:function(a){a.contentEditable="false"},onKeyPress:function(a){a.preventDefault(),this.cm.isReadOnly()||Fb(this.cm,Z)(this.cm,String.fromCharCode(null==a.charCode?a.keyCode:a.charCode),0)},readOnlyChanged:function(a){this.div.contentEditable=String("nocursor"!=a)},onContextMenu:Je,resetPosition:Je,needsContentAttribute:!0},ea.prototype),a.inputStyles={textarea:ca,contenteditable:ea},ka.prototype={primary:function(){return this.ranges[this.primIndex]},equals:function(a){if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var b=0;b<this.ranges.length;b++){var c=this.ranges[b],d=a.ranges[b];if(0!=Nf(c.anchor,d.anchor)||0!=Nf(c.head,d.head))return!1}return!0},deepCopy:function(){for(var a=[],b=0;b<this.ranges.length;b++)a[b]=new la(V(this.ranges[b].anchor),V(this.ranges[b].head));return new ka(a,this.primIndex)},somethingSelected:function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},contains:function(a,b){b||(b=a);for(var c=0;c<this.ranges.length;c++){var d=this.ranges[c];if(Nf(b,d.from())>=0&&Nf(a,d.to())<=0)return c}return-1}},la.prototype={from:function(){return X(this.anchor,this.head)},to:function(){return W(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}};var Pf,Qf,Rf,Sf={left:0,right:0,top:0,bottom:0},Tf=null,Uf=0,Vf=0,Wf=0,Xf=null;tf?Xf=-.53:qf?Xf=15:xf?Xf=-.7:zf&&(Xf=-1/3);var Yf=function(a){var b=a.wheelDeltaX,c=a.wheelDeltaY;return null==b&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(b=a.detail),null==c&&a.detail&&a.axis==a.VERTICAL_AXIS?c=a.detail:null==c&&(c=a.wheelDelta),{x:b,y:c}};a.wheelEventPixels=function(a){var b=Yf(a);return b.x*=Xf,b.y*=Xf,b};var Zf=new Ee,$f=null,_f=a.changeEnd=function(a){return a.text?Mf(a.from.line+a.text.length-1,Ge(a.text).length+(1==a.text.length?a.from.ch:0)):a.to};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(a,b){var c=this.options,d=c[a];(c[a]!=b||"mode"==a)&&(c[a]=b,bg.hasOwnProperty(a)&&Fb(this,bg[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"](Vc(a))},removeKeyMap:function(a){for(var b=this.state.keyMaps,c=0;c<b.length;++c)if(b[c]==a||b[c].name==a)return b.splice(c,1),!0},addOverlay:Gb(function(b,c){var d=b.token?b:a.getMode(this.options,b);if(d.startState)throw new Error("Overlays may not be stateful.");this.state.overlays.push({mode:d,modeSpec:b,opaque:c&&c.opaque}),this.state.modeGen++,Kb(this)}),removeOverlay:Gb(function(a){for(var b=this.state.overlays,c=0;c<b.length;++c){var d=b[c].modeSpec;if(d==a||"string"==typeof a&&d.name==a)return b.splice(c,1),this.state.modeGen++,void Kb(this)}}),indentLine:Gb(function(a,b,c){"string"!=typeof b&&"number"!=typeof b&&(b=null==b?this.options.smartIndent?"smart":"prev":b?"add":"subtract"),ra(this.doc,a)&&Oc(this,a,b,c)}),indentSelection:Gb(function(a){for(var b=this.doc.sel.ranges,c=-1,d=0;d<b.length;d++){var e=b[d];if(e.empty())e.head.line>c&&(Oc(this,e.head.line,a,!0),c=e.head.line,d==this.doc.sel.primIndex&&Mc(this));else{var f=e.from(),g=e.to(),h=Math.max(c,f.line);c=Math.min(this.lastLine(),g.line-(g.ch?0:1))+1;for(var i=h;c>i;++i)Oc(this,i,a);var j=this.doc.sel.ranges;0==f.ch&&b.length==j.length&&j[d].from().ch>0&&wa(this.doc,d,new la(f,j[d].to()),Lg)}}}),getTokenAt:function(a,b){return Gd(this,a,b)},getLineTokens:function(a,b){return Gd(this,Mf(a),b,!0)},getTokenTypeAt:function(a){a=pa(this.doc,a);var b,c=Jd(this,Zd(this.doc,a.line)),d=0,e=(c.length-1)/2,f=a.ch;if(0==f)b=c[2];else for(;;){var g=d+e>>1;if((g?c[2*g-1]:0)>=f)e=g;else{if(!(c[2*g+1]<f)){b=c[2*g+2];break}d=g+1}}var h=b?b.indexOf("cm-overlay "):-1;return 0>h?b:0==h?null:b.slice(0,h-1)},getModeAt:function(b){var c=this.doc.mode;return c.innerMode?a.innerMode(c,this.getTokenAt(b).state).mode:c},getHelper:function(a,b){return this.getHelpers(a,b)[0]},getHelpers:function(a,b){var c=[];if(!hg.hasOwnProperty(b))return c;var d=hg[b],e=this.getModeAt(a);if("string"==typeof e[b])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(var f=0;f<d._global.length;f++){var h=d._global[f];h.pred(e,this)&&-1==He(c,h.val)&&c.push(h.val)}return c},getStateAfter:function(a,b){var c=this.doc;return a=oa(c,null==a?c.first+c.size-1:a),Qa(this,a+1,b)},cursorCoords:function(a,b){var c,d=this.doc.sel.primary();return c=null==a?d.head:"object"==typeof a?pa(this.doc,a):a?d.from():d.to(),ob(this,c,b||"page")},charCoords:function(a,b){return nb(this,pa(this.doc,a),b||"page")},coordsChar:function(a,b){return a=mb(this,a,b||"page"),rb(this,a.left,a.top)},lineAtHeight:function(a,b){return a=mb(this,{top:a,left:0},b||"page").top,ce(this.doc,a+this.display.viewOffset)},heightAtLine:function(a,b){var c,d=!1;if("number"==typeof a){var e=this.doc.first+this.doc.size-1;a<this.doc.first?a=this.doc.first:a>e&&(a=e,d=!0),c=Zd(this.doc,a)}else c=a;return lb(this,c,{top:0,left:0},b||"page").top+(d?this.doc.height-de(c):0)},defaultTextHeight:function(){return tb(this.display)},defaultCharWidth:function(){return ub(this.display)},setGutterMarker:Gb(function(a,b,c){return Pc(this.doc,a,"gutter",function(a){var d=a.gutterMarkers||(a.gutterMarkers={});return d[b]=c,!c&&Oe(d)&&(a.gutterMarkers=null),!0})}),clearGutter:Gb(function(a){var b=this,c=b.doc,d=c.first;c.iter(function(c){c.gutterMarkers&&c.gutterMarkers[a]&&(c.gutterMarkers[a]=null,Lb(b,d,"gutter"),Oe(c.gutterMarkers)&&(c.gutterMarkers=null)),++d})}),lineInfo:function(a){if("number"==typeof a){if(!ra(this.doc,a))return null;var b=a;if(a=Zd(this.doc,a),!a)return null}else{var b=be(a);if(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.viewFrom,to:this.display.viewTo}},addWidget:function(a,b,c,d,e){var f=this.display;a=ob(this,pa(this.doc,a));var g=a.bottom,h=a.left;if(b.style.position="absolute",b.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(b),f.sizer.appendChild(b),"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+"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&&Jc(this,h,g,h+b.offsetWidth,g+b.offsetHeight)},triggerOnKeyDown:Gb(mc),triggerOnKeyPress:Gb(pc),triggerOnKeyUp:oc,execCommand:function(a){return kg.hasOwnProperty(a)?kg[a].call(null,this):void 0},triggerElectric:Gb(function(a){_(this,a)}),findPosH:function(a,b,c,d){var e=1;0>b&&(e=-1,b=-b);for(var f=0,g=pa(this.doc,a);b>f&&(g=Rc(this.doc,g,e,c,d),!g.hitSide);++f);return g},moveH:Gb(function(a,b){var c=this;c.extendSelectionsBy(function(d){return c.display.shift||c.doc.extend||d.empty()?Rc(c.doc,d.head,a,b,c.options.rtlMoveVisually):0>a?d.from():d.to()},Ng)}),deleteH:Gb(function(a,b){var c=this.doc.sel,d=this.doc;c.somethingSelected()?d.replaceSelection("",null,"+delete"):Qc(this,function(c){var e=Rc(d,c.head,a,b,!1);return 0>a?{from:e,to:c.head}:{from:c.head,to:e}})}),findPosV:function(a,b,c,d){var e=1,f=d;0>b&&(e=-1,b=-b);for(var g=0,h=pa(this.doc,a);b>g;++g){var i=ob(this,h,"div");if(null==f?f=i.left:i.left=f,h=Sc(this,i,e,c),h.hitSide)break}return h},moveV:Gb(function(a,b){var c=this,d=this.doc,e=[],f=!c.display.shift&&!d.extend&&d.sel.somethingSelected();if(d.extendSelectionsBy(function(g){if(f)return 0>a?g.from():g.to();var h=ob(c,g.head,"div");null!=g.goalColumn&&(h.left=g.goalColumn),e.push(h.left);var i=Sc(c,h,a,b);return"page"==b&&g==d.sel.primary()&&Lc(c,null,nb(c,i,"div").top-h.top),i},Ng),e.length)for(var g=0;g<d.sel.ranges.length;g++)d.sel.ranges[g].goalColumn=e[g]}),findWordAt:function(a){var b=this.doc,c=Zd(b,a.line).text,d=a.ch,e=a.ch;if(c){var f=this.getHelper(a,"wordChars");(a.xRel<0||e==c.length)&&d?--d:++e;for(var g=c.charAt(d),h=Ne(g,f)?function(a){return Ne(a,f)}:/\s/.test(g)?function(a){return/\s/.test(a)}:function(a){return!/\s/.test(a)&&!Ne(a)};d>0&&h(c.charAt(d-1));)--d;for(;e<c.length&&h(c.charAt(e));)++e}return new la(Mf(a.line,d),Mf(a.line,e))},toggleOverwrite:function(a){(null==a||a!=this.state.overwrite)&&((this.state.overwrite=!this.state.overwrite)?$g(this.display.cursorDiv,"CodeMirror-overwrite"):Zg(this.display.cursorDiv,"CodeMirror-overwrite"),Hg(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Te()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Gb(function(a,b){(null!=a||null!=b)&&Nc(this),null!=a&&(this.curOp.scrollLeft=a),null!=b&&(this.curOp.scrollTop=b)}),getScrollInfo:function(){var a=this.display.scroller;return{left:a.scrollLeft,top:a.scrollTop,height:a.scrollHeight-Ua(this)-this.display.barHeight,width:a.scrollWidth-Ua(this)-this.display.barWidth,clientHeight:Wa(this),clientWidth:Va(this)}},scrollIntoView:Gb(function(a,b){if(null==a?(a={from:this.doc.sel.primary().head,to:null},null==b&&(b=this.options.cursorScrollMargin)):"number"==typeof a?a={from:Mf(a,0),to:null}:null==a.from&&(a={from:a,to:null}),a.to||(a.to=a.from),a.margin=b||0,null!=a.from.line)Nc(this),this.curOp.scrollToPos=a;else{var c=Kc(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:Gb(function(a,b){function c(a){return"number"==typeof a||/^\d+$/.test(String(a))?a+"px":a}var d=this;null!=a&&(d.display.wrapper.style.width=c(a)),null!=b&&(d.display.wrapper.style.height=c(b)),d.options.lineWrapping&&hb(this);var e=d.display.viewFrom;d.doc.iter(e,d.display.viewTo,function(a){if(a.widgets)for(var b=0;b<a.widgets.length;b++)if(a.widgets[b].noHScroll){Lb(d,e,"widget");break}++e}),d.curOp.forceUpdate=!0,Hg(d,"refresh",this)}),operation:function(a){return Eb(this,a)},refresh:Gb(function(){var a=this.display.cachedTextHeight;Kb(this),this.curOp.forceUpdate=!0,ib(this),this.scrollTo(this.doc.scrollLeft,this.doc.scrollTop),k(this),(null==a||Math.abs(a-tb(this.display))>.5)&&g(this),Hg(this,"refresh",this)}),swapDoc:Gb(function(a){var b=this.doc;return b.cm=null,Yd(this,a),ib(this),this.display.input.reset(),this.scrollTo(a.scrollLeft,a.scrollTop),this.curOp.forceScroll=!0,ye(this,"swapDoc",this,b),b}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},De(a);var ag=a.defaults={},bg=a.optionHandlers={},cg=a.Init={toString:function(){return"CodeMirror.Init"}};Tc("value","",function(a,b){a.setValue(b)},!0),Tc("mode",null,function(a,b){a.doc.modeOption=b,c(a)},!0),Tc("indentUnit",2,c,!0),Tc("indentWithTabs",!1),Tc("smartIndent",!0),Tc("tabSize",4,function(a){d(a),ib(a),Kb(a)},!0),Tc("lineSeparator",null,function(a,b){if(a.doc.lineSep=b,b){var c=[],d=a.doc.first;a.doc.iter(function(a){for(var e=0;;){var f=a.text.indexOf(b,e);if(-1==f)break;e=f+b.length,c.push(Mf(d,f))}d++});for(var e=c.length-1;e>=0;e--)Gc(a.doc,b,c[e],Mf(c[e].line,c[e].ch+b.length))}}),Tc("specialChars",/[\u0000-\u001f\u007f\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g,function(b,c,d){b.state.specialChars=new RegExp(c.source+(c.test(" ")?"":"| "),"g"),d!=a.Init&&b.refresh()}),Tc("specialCharPlaceholder",Nd,function(a){a.refresh()},!0),Tc("electricChars",!0),Tc("inputStyle",Df?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Tc("rtlMoveVisually",!Gf),Tc("wholeLineUpdateBefore",!0),Tc("theme","default",function(a){h(a),i(a)},!0),Tc("keyMap","default",function(b,c,d){var e=Vc(c),f=d!=a.Init&&Vc(d);f&&f.detach&&f.detach(b,e),e.attach&&e.attach(b,f||null)}),Tc("extraKeys",null),Tc("lineWrapping",!1,e,!0),Tc("gutters",[],function(a){n(a.options),i(a)},!0),Tc("fixedGutter",!0,function(a,b){a.display.gutters.style.left=b?y(a.display)+"px":"0",a.refresh()},!0),Tc("coverGutterNextToScrollbar",!1,function(a){s(a)},!0),Tc("scrollbarStyle","native",function(a){r(a),s(a),a.display.scrollbars.setScrollTop(a.doc.scrollTop),a.display.scrollbars.setScrollLeft(a.doc.scrollLeft)},!0),Tc("lineNumbers",!1,function(a){n(a.options),i(a)},!0),Tc("firstLineNumber",1,i,!0),Tc("lineNumberFormatter",function(a){return a},i,!0),Tc("showCursorWhenSelecting",!1,Ia,!0),Tc("resetSelectionOnContextMenu",!0),Tc("lineWiseCopyCut",!0),Tc("readOnly",!1,function(a,b){"nocursor"==b?(sc(a),a.display.input.blur(),a.display.disabled=!0):a.display.disabled=!1,a.display.input.readOnlyChanged(b)}),Tc("disableInput",!1,function(a,b){b||a.display.input.reset()},!0),Tc("dragDrop",!0,Sb),Tc("allowDropFileTypes",null),Tc("cursorBlinkRate",530),Tc("cursorScrollMargin",0),Tc("cursorHeight",1,Ia,!0),Tc("singleCursorHeightPerLine",!0,Ia,!0),Tc("workTime",100),Tc("workDelay",100),Tc("flattenSpans",!0,d,!0),Tc("addModeClass",!1,d,!0),Tc("pollInterval",100),Tc("undoDepth",200,function(a,b){a.doc.history.undoDepth=b}),Tc("historyEventDelay",1250),Tc("viewportMargin",10,function(a){a.refresh()},!0),Tc("maxHighlightLength",1e4,d,!0),Tc("moveInputWithCursor",!0,function(a,b){b||a.display.input.resetPosition()}),Tc("tabindex",null,function(a,b){a.display.input.getField().tabIndex=b||""}),Tc("autofocus",null);var dg=a.modes={},eg=a.mimeModes={};a.defineMode=function(b,c){a.defaults.mode||"null"==b||(a.defaults.mode=b),arguments.length>2&&(c.dependencies=Array.prototype.slice.call(arguments,2)),dg[b]=c},a.defineMIME=function(a,b){eg[a]=b},a.resolveMode=function(b){if("string"==typeof b&&eg.hasOwnProperty(b))b=eg[b];else if(b&&"string"==typeof b.name&&eg.hasOwnProperty(b.name)){var c=eg[b.name];"string"==typeof c&&(c={name:c}),b=Ke(c,b),b.name=c.name}else if("string"==typeof b&&/^[\w\-]+\/[\w\-]+\+xml$/.test(b))return a.resolveMode("application/xml");return"string"==typeof b?{name:b}:b||{name:"null"}},a.getMode=function(b,c){var c=a.resolveMode(c),d=dg[c.name];if(!d)return a.getMode(b,"text/plain");var e=d(b,c);if(fg.hasOwnProperty(c.name)){var f=fg[c.name];for(var g in f)f.hasOwnProperty(g)&&(e.hasOwnProperty(g)&&(e["_"+g]=e[g]),e[g]=f[g])}if(e.name=c.name,c.helperType&&(e.helperType=c.helperType),c.modeProps)for(var g in c.modeProps)e[g]=c.modeProps[g];return e},a.defineMode("null",function(){return{token:function(a){a.skipToEnd()}}}),a.defineMIME("text/plain","null");var fg=a.modeExtensions={};a.extendMode=function(a,b){var c=fg.hasOwnProperty(a)?fg[a]:fg[a]={};Le(b,c)},a.defineExtension=function(b,c){a.prototype[b]=c},a.defineDocExtension=function(a,b){yg.prototype[a]=b},a.defineOption=Tc;var gg=[];a.defineInitHook=function(a){gg.push(a)};var hg=a.helpers={};a.registerHelper=function(b,c,d){hg.hasOwnProperty(b)||(hg[b]=a[b]={_global:[]}),hg[b][c]=d},a.registerGlobalHelper=function(b,c,d,e){a.registerHelper(b,c,e),hg[b]._global.push({pred:d,val:e})};var ig=a.copyState=function(a,b){if(b===!0)return b;if(a.copyState)return a.copyState(b);var c={};for(var d in b){var e=b[d];e instanceof Array&&(e=e.concat([])),c[d]=e}return c},jg=a.startState=function(a,b,c){return a.startState?a.startState(b,c):!0};a.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 kg=a.commands={selectAll:function(a){a.setSelection(Mf(a.firstLine(),0),Mf(a.lastLine()),Lg)},singleSelection:function(a){a.setSelection(a.getCursor("anchor"),a.getCursor("head"),Lg)},killLine:function(a){Qc(a,function(b){if(b.empty()){var c=Zd(a.doc,b.head.line).text.length;return b.head.ch==c&&b.head.line<a.lastLine()?{from:b.head,to:Mf(b.head.line+1,0)}:{from:b.head,to:Mf(b.head.line,c)}}return{from:b.from(),to:b.to()}})},deleteLine:function(a){Qc(a,function(b){return{from:Mf(b.from().line,0),to:pa(a.doc,Mf(b.to().line+1,0))}})},delLineLeft:function(a){Qc(a,function(a){return{from:Mf(a.from().line,0),to:a.from()}})},delWrappedLineLeft:function(a){Qc(a,function(b){var c=a.charCoords(b.head,"div").top+5,d=a.coordsChar({left:0,top:c},"div");return{from:d,to:b.from()}})},delWrappedLineRight:function(a){Qc(a,function(b){var c=a.charCoords(b.head,"div").top+5,d=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:c},"div");return{from:b.from(),to:d}})},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(Mf(a.firstLine(),0))},goDocEnd:function(a){a.extendSelection(Mf(a.lastLine()))},goLineStart:function(a){a.extendSelectionsBy(function(b){return ff(a,b.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){a.extendSelectionsBy(function(b){return hf(a,b.head)},{origin:"+move",bias:1})},goLineEnd:function(a){a.extendSelectionsBy(function(b){return gf(a,b.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){a.extendSelectionsBy(function(b){var c=a.charCoords(b.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:c},"div")},Ng)},goLineLeft:function(a){a.extendSelectionsBy(function(b){var c=a.charCoords(b.head,"div").top+5;return a.coordsChar({left:0,top:c},"div")},Ng)},goLineLeftSmart:function(a){a.extendSelectionsBy(function(b){var c=a.charCoords(b.head,"div").top+5,d=a.coordsChar({left:0,top:c},"div");return d.ch<a.getLine(d.line).search(/\S/)?hf(a,b.head):d},Ng)},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(" ")},insertSoftTab:function(a){for(var b=[],c=a.listSelections(),d=a.options.tabSize,e=0;e<c.length;e++){var f=c[e].from(),g=Og(a.getLine(f.line),f.ch,d);b.push(Fe(d-g%d))}a.replaceSelections(b)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){Eb(a,function(){for(var b=a.listSelections(),c=[],d=0;d<b.length;d++){var e=b[d].head,f=Zd(a.doc,e.line).text;if(f)if(e.ch==f.length&&(e=new Mf(e.line,e.ch-1)),e.ch>0)e=new Mf(e.line,e.ch+1),a.replaceRange(f.charAt(e.ch-1)+f.charAt(e.ch-2),Mf(e.line,e.ch-2),e,"+transpose");else if(e.line>a.doc.first){var g=Zd(a.doc,e.line-1).text;g&&a.replaceRange(f.charAt(0)+a.doc.lineSeparator()+g.charAt(g.length-1),Mf(e.line-1,g.length-1),Mf(e.line,1),"+transpose");
|
5 |
-
}c.push(new la(e,e))}a.setSelections(c)})},newlineAndIndent:function(a){Eb(a,function(){for(var b=a.listSelections().length,c=0;b>c;c++){var d=a.listSelections()[c];a.replaceRange(a.doc.lineSeparator(),d.anchor,d.head,"+input"),a.indentLine(d.from().line+1,null,!0)}Mc(a)})},openLine:function(a){a.replaceSelection("\n","start")},toggleOverwrite:function(a){a.toggleOverwrite()}},lg=a.keyMap={};lg.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"},lg.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","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"},lg.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","Ctrl-O":"openLine"},lg.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","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":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},lg["default"]=Ef?lg.macDefault:lg.pcDefault,a.normalizeKeyMap=function(a){var b={};for(var c in a)if(a.hasOwnProperty(c)){var d=a[c];if(/^(name|fallthrough|(de|at)tach)$/.test(c))continue;if("..."==d){delete a[c];continue}for(var e=Ie(c.split(" "),Uc),f=0;f<e.length;f++){var g,h;f==e.length-1?(h=e.join(" "),g=d):(h=e.slice(0,f+1).join(" "),g="...");var i=b[h];if(i){if(i!=g)throw new Error("Inconsistent bindings for "+h)}else b[h]=g}delete a[c]}for(var j in b)a[j]=b[j];return a};var mg=a.lookupKey=function(a,b,c,d){b=Vc(b);var e=b.call?b.call(a,d):b[a];if(e===!1)return"nothing";if("..."===e)return"multi";if(null!=e&&c(e))return"handled";if(b.fallthrough){if("[object Array]"!=Object.prototype.toString.call(b.fallthrough))return mg(a,b.fallthrough,c,d);for(var f=0;f<b.fallthrough.length;f++){var g=mg(a,b.fallthrough[f],c,d);if(g)return g}}},ng=a.isModifierKey=function(a){var b="string"==typeof a?a:fh[a.keyCode];return"Ctrl"==b||"Alt"==b||"Shift"==b||"Mod"==b},og=a.keyName=function(a,b){if(yf&&34==a.keyCode&&a["char"])return!1;var c=fh[a.keyCode],d=c;return null==d||a.altGraphKey?!1:(a.altKey&&"Alt"!=c&&(d="Alt-"+d),(If?a.metaKey:a.ctrlKey)&&"Ctrl"!=c&&(d="Ctrl-"+d),(If?a.ctrlKey:a.metaKey)&&"Cmd"!=c&&(d="Cmd-"+d),!b&&a.shiftKey&&"Shift"!=c&&(d="Shift-"+d),d)};a.fromTextArea=function(b,c){function d(){b.value=j.getValue()}if(c=c?Le(c):{},c.value=b.value,!c.tabindex&&b.tabIndex&&(c.tabindex=b.tabIndex),!c.placeholder&&b.placeholder&&(c.placeholder=b.placeholder),null==c.autofocus){var e=Te();c.autofocus=e==b||null!=b.getAttribute("autofocus")&&e==document.body}if(b.form&&(Eg(b.form,"submit",d),!c.leaveSubmitMethodAlone)){var f=b.form,g=f.submit;try{var h=f.submit=function(){d(),f.submit=g,f.submit(),f.submit=h}}catch(i){}}c.finishInit=function(a){a.save=d,a.getTextArea=function(){return b},a.toTextArea=function(){a.toTextArea=isNaN,d(),b.parentNode.removeChild(a.getWrapperElement()),b.style.display="",b.form&&(Gg(b.form,"submit",d),"function"==typeof b.form.submit&&(b.form.submit=g))}},b.style.display="none";var j=a(function(a){b.parentNode.insertBefore(a,b.nextSibling)},c);return j};var pg=a.StringStream=function(a,b){this.pos=this.start=0,this.string=a,this.tabSize=b||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0};pg.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(){return this.pos<this.string.length?this.string.charAt(this.pos++):void 0},eat:function(a){var b=this.string.charAt(this.pos);if("string"==typeof a)var c=b==a;else var c=b&&(a.test?a.test(b):a(b));return c?(++this.pos,b):void 0},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){var b=this.string.indexOf(a,this.pos);return b>-1?(this.pos=b,!0):void 0},backUp:function(a){this.pos-=a},column:function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Og(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Og(this.string,this.lineStart,this.tabSize):0)},indentation:function(){return Og(this.string,null,this.tabSize)-(this.lineStart?Og(this.string,this.lineStart,this.tabSize):0)},match:function(a,b,c){if("string"!=typeof a){var d=this.string.slice(this.pos).match(a);return d&&d.index>0?null:(d&&b!==!1&&(this.pos+=d[0].length),d)}var e=function(a){return c?a.toLowerCase():a},f=this.string.substr(this.pos,a.length);return e(f)==e(a)?(b!==!1&&(this.pos+=a.length),!0):void 0},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(a,b){this.lineStart+=a;try{return b()}finally{this.lineStart-=a}}};var qg=0,rg=a.TextMarker=function(a,b){this.lines=[],this.type=b,this.doc=a,this.id=++qg};De(rg),rg.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,b=a&&!a.curOp;if(b&&vb(a),Ce(this,"clear")){var c=this.find();c&&ye(this,"clear",c.from,c.to)}for(var d=null,e=null,f=0;f<this.lines.length;++f){var g=this.lines[f],h=ad(g.markedSpans,this);a&&!this.collapsed?Lb(a,be(g),"text"):a&&(null!=h.to&&(e=be(g)),null!=h.from&&(d=be(g))),g.markedSpans=bd(g.markedSpans,h),null==h.from&&this.collapsed&&!wd(this.doc,g)&&a&&ae(g,tb(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var f=0;f<this.lines.length;++f){var i=sd(this.lines[f]),j=l(i);j>a.display.maxLineLength&&(a.display.maxLine=i,a.display.maxLineLength=j,a.display.maxLineChanged=!0)}null!=d&&a&&this.collapsed&&Kb(a,d,e+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Da(a.doc)),a&&ye(a,"markerCleared",a,this),b&&xb(a),this.parent&&this.parent.clear()}},rg.prototype.find=function(a,b){null==a&&"bookmark"==this.type&&(a=1);for(var c,d,e=0;e<this.lines.length;++e){var f=this.lines[e],g=ad(f.markedSpans,this);if(null!=g.from&&(c=Mf(b?f:be(f),g.from),-1==a))return c;if(null!=g.to&&(d=Mf(b?f:be(f),g.to),1==a))return d}return c&&{from:c,to:d}},rg.prototype.changed=function(){var a=this.find(-1,!0),b=this,c=this.doc.cm;a&&c&&Eb(c,function(){var d=a.line,e=be(a.line),f=_a(c,e);if(f&&(gb(f),c.curOp.selectionChanged=c.curOp.forceUpdate=!0),c.curOp.updateMaxLine=!0,!wd(b.doc,d)&&null!=b.height){var g=b.height;b.height=null;var h=zd(b)-g;h&&ae(d,d.height+h)}})},rg.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;b.maybeHiddenMarkers&&-1!=He(b.maybeHiddenMarkers,this)||(b.maybeUnhiddenMarkers||(b.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},rg.prototype.detachLine=function(a){if(this.lines.splice(He(this.lines,a),1),!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;(b.maybeHiddenMarkers||(b.maybeHiddenMarkers=[])).push(this)}};var qg=0,sg=a.SharedTextMarker=function(a,b){this.markers=a,this.primary=b;for(var c=0;c<a.length;++c)a[c].parent=this};De(sg),sg.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();ye(this,"clear")}},sg.prototype.find=function(a,b){return this.primary.find(a,b)};var tg=a.LineWidget=function(a,b,c){if(c)for(var d in c)c.hasOwnProperty(d)&&(this[d]=c[d]);this.doc=a,this.node=b};De(tg),tg.prototype.clear=function(){var a=this.doc.cm,b=this.line.widgets,c=this.line,d=be(c);if(null!=d&&b){for(var e=0;e<b.length;++e)b[e]==this&&b.splice(e--,1);b.length||(c.widgets=null);var f=zd(this);ae(c,Math.max(0,c.height-f)),a&&Eb(a,function(){yd(a,c,-f),Lb(a,d,"widget")})}},tg.prototype.changed=function(){var a=this.height,b=this.doc.cm,c=this.line;this.height=null;var d=zd(this)-a;d&&(ae(c,c.height+d),b&&Eb(b,function(){b.curOp.forceUpdate=!0,yd(b,c,d)}))};var ug=a.Line=function(a,b,c){this.text=a,kd(this,b),this.height=c?c(this):1};De(ug),ug.prototype.lineNo=function(){return be(this)};var vg={},wg={};Vd.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,b){for(var c=a,d=a+b;d>c;++c){var e=this.lines[c];this.height-=e.height,Cd(e),ye(e,"delete")}this.lines.splice(a,b)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,b,c){this.height+=c,this.lines=this.lines.slice(0,a).concat(b).concat(this.lines.slice(a));for(var d=0;d<b.length;++d)b[d].parent=this},iterN:function(a,b,c){for(var d=a+b;d>a;++a)if(c(this.lines[a]))return!0}},Wd.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(e>a){var f=Math.min(b,e-a),g=d.height;if(d.removeInner(a,f),this.height-=g-d.height,e==f&&(this.children.splice(c--,1),d.parent=null),0==(b-=f))break;a=0}else a-=e}if(this.size-b<25&&(this.children.length>1||!(this.children[0]instanceof Vd))){var h=[];this.collapse(h),this.children=[new Vd(h)],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+=b.length,this.height+=c;for(var d=0;d<this.children.length;++d){var e=this.children[d],f=e.chunkSize();if(f>=a){if(e.insertInner(a,b,c),e.lines&&e.lines.length>50){for(var g=e.lines.length%25+25,h=g;h<e.lines.length;){var i=new Vd(e.lines.slice(h,h+=25));e.height-=i.height,this.children.splice(++d,0,i),i.parent=this}e.lines=e.lines.slice(0,g),this.maybeSpill()}break}a-=f}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var b=a.children.splice(a.children.length-5,5),c=new Wd(b);if(a.parent){a.size-=c.size,a.height-=c.height;var d=He(a.parent.children,a);a.parent.children.splice(d+1,0,c)}else{var e=new Wd(a.children);e.parent=a,a.children=[e,c],a=e}c.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(f>a){var g=Math.min(b,f-a);if(e.iterN(a,g,c))return!0;if(0==(b-=g))break;a=0}else a-=f}}};var xg=0,yg=a.Doc=function(a,b,c,d){if(!(this instanceof yg))return new yg(a,b,c,d);null==c&&(c=0),Wd.call(this,[new Vd([new ug("",null)])]),this.first=c,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=c;var e=Mf(c,0);this.sel=na(e),this.history=new fe(null),this.id=++xg,this.modeOption=b,this.lineSep=d,this.extend=!1,"string"==typeof a&&(a=this.splitLines(a)),Ud(this,{from:e,to:e,text:a}),Aa(this,na(e),Lg)};yg.prototype=Ke(Wd.prototype,{constructor:yg,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+=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=_d(this,this.first,this.first+this.size);return a===!1?b:b.join(a||this.lineSeparator())},setValue:Hb(function(a){var b=Mf(this.first,0),c=this.first+this.size-1;Ac(this,{from:b,to:Mf(c,Zd(this,c).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),Aa(this,na(b))}),replaceRange:function(a,b,c,d){b=pa(this,b),c=c?pa(this,c):b,Gc(this,a,b,c,d)},getRange:function(a,b,c){var d=$d(this,pa(this,a),pa(this,b));return c===!1?d:d.join(c||this.lineSeparator())},getLine:function(a){var b=this.getLineHandle(a);return b&&b.text},getLineHandle:function(a){return ra(this,a)?Zd(this,a):void 0},getLineNumber:function(a){return be(a)},getLineHandleVisualStart:function(a){return"number"==typeof a&&(a=Zd(this,a)),sd(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return pa(this,a)},getCursor:function(a){var b,c=this.sel.primary();return b=null==a||"head"==a?c.head:"anchor"==a?c.anchor:"end"==a||"to"==a||a===!1?c.to():c.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Hb(function(a,b,c){xa(this,pa(this,"number"==typeof a?Mf(a,b||0):a),null,c)}),setSelection:Hb(function(a,b,c){xa(this,pa(this,a),pa(this,b||a),c)}),extendSelection:Hb(function(a,b,c){ua(this,pa(this,a),b&&pa(this,b),c)}),extendSelections:Hb(function(a,b){va(this,sa(this,a),b)}),extendSelectionsBy:Hb(function(a,b){var c=Ie(this.sel.ranges,a);va(this,sa(this,c),b)}),setSelections:Hb(function(a,b,c){if(a.length){for(var d=0,e=[];d<a.length;d++)e[d]=new la(pa(this,a[d].anchor),pa(this,a[d].head));null==b&&(b=Math.min(a.length-1,this.sel.primIndex)),Aa(this,ma(e,b),c)}}),addSelection:Hb(function(a,b,c){var d=this.sel.ranges.slice(0);d.push(new la(pa(this,a),pa(this,b||a))),Aa(this,ma(d,d.length-1),c)}),getSelection:function(a){for(var b,c=this.sel.ranges,d=0;d<c.length;d++){var e=$d(this,c[d].from(),c[d].to());b=b?b.concat(e):e}return a===!1?b:b.join(a||this.lineSeparator())},getSelections:function(a){for(var b=[],c=this.sel.ranges,d=0;d<c.length;d++){var e=$d(this,c[d].from(),c[d].to());a!==!1&&(e=e.join(a||this.lineSeparator())),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:Hb(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:this.splitLines(a[f]),origin:c}}for(var h=b&&"end"!=b&&yc(this,d,b),f=d.length-1;f>=0;f--)Ac(this,d[f]);h?za(this,h):this.cm&&Mc(this.cm)}),undo:Hb(function(){Cc(this,"undo")}),redo:Hb(function(){Cc(this,"redo")}),undoSelection:Hb(function(){Cc(this,"undo",!0)}),redoSelection:Hb(function(){Cc(this,"redo",!0)}),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(var d=0;d<a.undone.length;d++)a.undone[d].ranges||++c;return{undo:b,redo:c}},clearHistory:function(){this.history=new fe(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:qe(this.history.done),undone:qe(this.history.undone)}},setHistory:function(a){var b=this.history=new fe(this.history.maxGeneration);b.done=qe(a.done.slice(0),null,!0),b.undone=qe(a.undone.slice(0),null,!0)},addLineClass:Hb(function(a,b,c){return Pc(this,a,"gutter"==b?"gutter":"class",function(a){var d="text"==b?"textClass":"background"==b?"bgClass":"gutter"==b?"gutterClass":"wrapClass";if(a[d]){if(Ue(c).test(a[d]))return!1;a[d]+=" "+c}else a[d]=c;return!0})}),removeLineClass:Hb(function(a,b,c){return Pc(this,a,"gutter"==b?"gutter":"class",function(a){var d="text"==b?"textClass":"background"==b?"bgClass":"gutter"==b?"gutterClass":"wrapClass",e=a[d];if(!e)return!1;if(null==c)a[d]=null;else{var f=e.match(Ue(c));if(!f)return!1;var g=f.index+f[0].length;a[d]=e.slice(0,f.index)+(f.index&&g!=e.length?" ":"")+e.slice(g)||null}return!0})}),addLineWidget:Hb(function(a,b,c){return Ad(this,a,b,c)}),removeLineWidget:function(a){a.clear()},markText:function(a,b,c){return Wc(this,pa(this,a),pa(this,b),c,c&&c.type||"range")},setBookmark:function(a,b){var c={replacedWith:b&&(null==b.nodeType?b.widget:b),insertLeft:b&&b.insertLeft,clearWhenEmpty:!1,shared:b&&b.shared,handleMouseEvents:b&&b.handleMouseEvents};return a=pa(this,a),Wc(this,a,a,c,"bookmark")},findMarksAt:function(a){a=pa(this,a);var b=[],c=Zd(this,a.line).markedSpans;if(c)for(var d=0;d<c.length;++d){var e=c[d];(null==e.from||e.from<=a.ch)&&(null==e.to||e.to>=a.ch)&&b.push(e.marker.parent||e.marker)}return b},findMarks:function(a,b,c){a=pa(this,a),b=pa(this,b);var d=[],e=a.line;return this.iter(a.line,b.line+1,function(f){var g=f.markedSpans;if(g)for(var h=0;h<g.length;h++){var i=g[h];null!=i.to&&e==a.line&&a.ch>=i.to||null==i.from&&e!=a.line||null!=i.from&&e==b.line&&i.from>=b.ch||c&&!c(i.marker)||d.push(i.marker.parent||i.marker)}++e}),d},getAllMarks:function(){var a=[];return this.iter(function(b){var c=b.markedSpans;if(c)for(var d=0;d<c.length;++d)null!=c[d].from&&a.push(c[d].marker)}),a},posFromIndex:function(a){var b,c=this.first,d=this.lineSeparator().length;return this.iter(function(e){var f=e.text.length+d;return f>a?(b=a,!0):(a-=f,void++c)}),pa(this,Mf(c,b))},indexFromPos:function(a){a=pa(this,a);var b=a.ch;if(a.line<this.first||a.ch<0)return 0;var c=this.lineSeparator().length;return this.iter(this.first,a.line,function(a){b+=a.text.length+c}),b},copy:function(a){var b=new yg(_d(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep);return b.scrollTop=this.scrollTop,b.scrollLeft=this.scrollLeft,b.sel=this.sel,b.extend=!1,a&&(b.history.undoDepth=this.history.undoDepth,b.setHistory(this.getHistory())),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);var d=new yg(_d(this,b,c),a.mode||this.modeOption,b,this.lineSep);return a.sharedHist&&(d.history=this.history),(this.linked||(this.linked=[])).push({doc:d,sharedHist:a.sharedHist}),d.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],Zc(d,Yc(this)),d},unlinkDoc:function(b){if(b instanceof a&&(b=b.doc),this.linked)for(var c=0;c<this.linked.length;++c){var d=this.linked[c];if(d.doc==b){this.linked.splice(c,1),b.unlinkDoc(this),$c(Yc(this));break}}if(b.history==this.history){var e=[b.id];Xd(b,function(a){e.push(a.id)},!0),b.history=new fe(null),b.history.done=qe(this.history.done,e),b.history.undone=qe(this.history.undone,e)}},iterLinkedDocs:function(a){Xd(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):bh(a)},lineSeparator:function(){return this.lineSep||"\n"}}),yg.prototype.eachLine=yg.prototype.iter;var zg="iter insert remove copy getEditor constructor".split(" ");for(var Ag in yg.prototype)yg.prototype.hasOwnProperty(Ag)&&He(zg,Ag)<0&&(a.prototype[Ag]=function(a){return function(){return a.apply(this.doc,arguments)}}(yg.prototype[Ag]));De(yg);var Bg=a.e_preventDefault=function(a){a.preventDefault?a.preventDefault():a.returnValue=!1},Cg=a.e_stopPropagation=function(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0},Dg=a.e_stop=function(a){Bg(a),Cg(a)},Eg=a.on=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else{var d=a._handlers||(a._handlers={}),e=d[b]||(d[b]=[]);e.push(c)}},Fg=[],Gg=a.off=function(a,b,c){if(a.removeEventListener)a.removeEventListener(b,c,!1);else if(a.detachEvent)a.detachEvent("on"+b,c);else for(var d=xe(a,b,!1),e=0;e<d.length;++e)if(d[e]==c){d.splice(e,1);break}},Hg=a.signal=function(a,b){var c=xe(a,b,!0);if(c.length)for(var d=Array.prototype.slice.call(arguments,2),e=0;e<c.length;++e)c[e].apply(null,d)},Ig=null,Jg=30,Kg=a.Pass={toString:function(){return"CodeMirror.Pass"}},Lg={scroll:!1},Mg={origin:"*mouse"},Ng={origin:"+move"};Ee.prototype.set=function(a,b){clearTimeout(this.id),this.id=setTimeout(b,a)};var Og=a.countColumn=function(a,b,c,d,e){null==b&&(b=a.search(/[^\s\u00a0]/),-1==b&&(b=a.length));for(var f=d||0,g=e||0;;){var h=a.indexOf(" ",f);if(0>h||h>=b)return g+(b-f);g+=h-f,g+=c-g%c,f=h+1}},Pg=a.findColumn=function(a,b,c){for(var d=0,e=0;;){var f=a.indexOf(" ",d);-1==f&&(f=a.length);var g=f-d;if(f==a.length||e+g>=b)return d+Math.min(g,b-e);if(e+=f-d,e+=c-e%c,d=f+1,e>=b)return d}},Qg=[""],Rg=function(a){a.select()};Cf?Rg=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:tf&&(Rg=function(a){try{a.select()}catch(b){}});var Sg,Tg=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Ug=a.isWordChar=function(a){return/\w/.test(a)||a>""&&(a.toUpperCase()!=a.toLowerCase()||Tg.test(a))},Vg=/[\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]/;Sg=document.createRange?function(a,b,c,d){var e=document.createRange();return e.setEnd(d||a,c),e.setStart(a,b),e}:function(a,b,c){var d=document.body.createTextRange();try{d.moveToElementText(a.parentNode)}catch(e){return d}return d.collapse(!0),d.moveEnd("character",c),d.moveStart("character",b),d};var Wg=a.contains=function(a,b){if(3==b.nodeType&&(b=b.parentNode),a.contains)return a.contains(b);do if(11==b.nodeType&&(b=b.host),b==a)return!0;while(b=b.parentNode)};tf&&11>uf&&(Te=function(){try{return document.activeElement}catch(a){return document.body}});var Xg,Yg,Zg=a.rmClass=function(a,b){var c=a.className,d=Ue(b).exec(c);if(d){var e=c.slice(d.index+d[0].length);a.className=c.slice(0,d.index)+(e?d[1]+e:"")}},$g=a.addClass=function(a,b){var c=a.className;Ue(b).test(c)||(a.className+=(c?" ":"")+b)},_g=!1,ah=function(){if(tf&&9>uf)return!1;var a=Qe("div");return"draggable"in a||"dragDrop"in a}(),bh=a.splitLines=3!="\n\nb".split(/\n/).length?function(a){for(var b=0,c=[],d=a.length;d>=b;){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/)},ch=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?0!=b.compareEndPoints("StartToEnd",b):!1},dh=function(){var a=Qe("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),"function"==typeof a.oncopy)}(),eh=null,fh=a.keyNames={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",106:"*",107:"=",109:"-",110:".",111:"/",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"};!function(){for(var a=0;10>a;a++)fh[a+48]=fh[a+96]=String(a);for(var a=65;90>=a;a++)fh[a]=String.fromCharCode(a);for(var a=1;12>=a;a++)fh[a+111]=fh[a+63235]="F"+a}();var gh,hh=function(){function a(a){return 247>=a?c.charAt(a):a>=1424&&1524>=a?"R":a>=1536&&1773>=a?d.charAt(a-1536):a>=1774&&2220>=a?"r":a>=8192&&8203>=a?"w":8204==a?"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]/,j="L";return function(c){if(!e.test(c))return!1;for(var d,k=c.length,l=[],m=0;k>m;++m)l.push(d=a(c.charCodeAt(m)));for(var m=0,n=j;k>m;++m){var d=l[m];"m"==d?l[m]=n:n=d}for(var m=0,o=j;k>m;++m){var d=l[m];"1"==d&&"r"==o?l[m]="n":g.test(d)&&(o=d,"r"==d&&(l[m]="R"))}for(var m=1,n=l[0];k-1>m;++m){var d=l[m];"+"==d&&"1"==n&&"1"==l[m+1]?l[m]="1":","!=d||n!=l[m+1]||"1"!=n&&"n"!=n||(l[m]=n),n=d}for(var m=0;k>m;++m){var d=l[m];if(","==d)l[m]="N";else if("%"==d){for(var p=m+1;k>p&&"%"==l[p];++p);for(var q=m&&"!"==l[m-1]||k>p&&"1"==l[p]?"1":"N",r=m;p>r;++r)l[r]=q;m=p-1}}for(var m=0,o=j;k>m;++m){var d=l[m];"L"==o&&"1"==d?l[m]="L":g.test(d)&&(o=d)}for(var m=0;k>m;++m)if(f.test(l[m])){for(var p=m+1;k>p&&f.test(l[p]);++p);for(var s="L"==(m?l[m-1]:j),t="L"==(k>p?l[p]:j),q=s||t?"L":"R",r=m;p>r;++r)l[r]=q;m=p-1}for(var u,v=[],m=0;k>m;)if(h.test(l[m])){var w=m;for(++m;k>m&&h.test(l[m]);++m);v.push(new b(0,w,m))}else{var x=m,y=v.length;for(++m;k>m&&"L"!=l[m];++m);for(var r=x;m>r;)if(i.test(l[r])){r>x&&v.splice(y,0,new b(1,x,r));var z=r;for(++r;m>r&&i.test(l[r]);++r);v.splice(y,0,new b(2,z,r)),x=r}else++r;m>x&&v.splice(y,0,new b(1,x,m))}return 1==v[0].level&&(u=c.match(/^\s+/))&&(v[0].from=u[0].length,v.unshift(new b(0,0,u[0].length))),1==Ge(v).level&&(u=c.match(/\s+$/))&&(Ge(v).to-=u[0].length,v.push(new b(0,k-u[0].length,k))),2==v[0].level&&v.unshift(new b(1,v[0].to,v[0].to)),v[0].level!=Ge(v).level&&v.push(new b(v[0].level,k,k)),v}}();return a.version="5.17.0",a}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)}(function(a){"use strict";function b(a,b,c,d,e,f){this.indented=a,this.column=b,this.type=c,this.info=d,this.align=e,this.prev=f}function c(a,c,d,e){var f=a.indented;return a.context&&"statement"!=a.context.type&&"statement"!=d&&(f=a.context.indented),a.context=new b(f,c,d,e,null,a.context)}function d(a){var b=a.context.type;return(")"==b||"]"==b||"}"==b)&&(a.indented=a.context.indented),a.context=a.context.prev}function e(a,b,c){return"variable"==b.prevToken||"variable-3"==b.prevToken?!0:/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(a.string.slice(0,c))?!0:b.typeAtEndOfLine&&a.column()==a.indentation()?!0:void 0}function f(a){for(;;){if(!a||"top"==a.type)return!0;if("}"==a.type&&"namespace"!=a.prev.info)return!1;a=a.prev}}function g(a){for(var b={},c=a.split(" "),d=0;d<c.length;++d)b[c[d]]=!0;return b}function h(a,b){return"function"==typeof a?a(b):a.propertyIsEnumerable(b)}function i(a,b){if(!b.startOfLine)return!1;for(var c,d=null;c=a.peek();){if("\\"==c&&a.match(/^.$/)){d=i;break}if("/"==c&&a.match(/^\/[\/\*]/,!1))break;a.next()}return b.tokenize=d,"meta"}function j(a,b){return"variable-3"==b.prevToken?"variable-3":!1}function k(a){return a.eatWhile(/[\w\.']/),"number"}function l(a,b){if(a.backUp(1),a.match(/(R|u8R|uR|UR|LR)/)){var c=a.match(/"([^\s\\()]{0,16})\(/);return c?(b.cpp11RawStringDelim=c[1],b.tokenize=o,o(a,b)):!1}return a.match(/(u8|u|U|L)/)?a.match(/["']/,!1)?"string":!1:(a.next(),!1)}function m(a){var b=/(\w+)::(\w+)$/.exec(a);return b&&b[1]==b[2]}function n(a,b){for(var c;null!=(c=a.next());)if('"'==c&&!a.eat('"')){b.tokenize=null;break}return"string"}function o(a,b){var c=b.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&"),d=a.match(new RegExp(".*?\\)"+c+'"'));return d?b.tokenize=null:a.skipToEnd(),"string"}function p(b,c){function d(a){if(a)for(var b in a)a.hasOwnProperty(b)&&e.push(b)}"string"==typeof b&&(b=[b]);var e=[];d(c.keywords),d(c.types),d(c.builtin),d(c.atoms),e.length&&(c.helperType=b[0],a.registerHelper("hintWords",b[0],e));for(var f=0;f<b.length;++f)a.defineMIME(b[f],c)}function q(a,b){for(var c=!1;!a.eol();){if(!c&&a.match('"""')){b.tokenize=null;break}c="\\"==a.next()&&!c}return"string"}function r(a){return function(b,c){for(var d,e=!1,f=!1;!b.eol();){if(!a&&!e&&b.match('"')){f=!0;break}if(a&&b.match('"""')){f=!0;break}d=b.next(),!e&&"$"==d&&b.match("{")&&b.skipTo("}"),e=!e&&"\\"==d&&!a}return(f||!a)&&(c.tokenize=null),"string"}}function s(a){return function(b,c){for(var d,e=!1,f=!1;!b.eol();){if(!e&&b.match('"')&&("single"==a||b.match('""'))){f=!0;break}if(!e&&b.match("``")){v=s(a),f=!0;break}d=b.next(),e="single"==a&&!e&&"\\"==d}return f&&(c.tokenize=null),"string"}}a.defineMode("clike",function(g,i){function j(a,b){var c=a.next();if(y[c]){var d=y[c](a,b);if(d!==!1)return d}if('"'==c||"'"==c)return b.tokenize=k(c),b.tokenize(a,b);if(D.test(c))return n=c,null;if(E.test(c)){if(a.backUp(1),a.match(F))return"number";a.next()}if("/"==c){if(a.eat("*"))return b.tokenize=l,l(a,b);if(a.eat("/"))return a.skipToEnd(),"comment"}if(G.test(c)){for(;!a.match(/^\/[\/*]/,!1)&&a.eat(G););return"operator"}if(a.eatWhile(/[\w\$_\xa1-\uffff]/),C)for(;a.match(C);)a.eatWhile(/[\w\$_\xa1-\uffff]/);var e=a.current();return h(s,e)?(h(v,e)&&(n="newstatement"),h(w,e)&&(o=!0),"keyword"):h(t,e)?"variable-3":h(u,e)?(h(v,e)&&(n="newstatement"),"builtin"):h(x,e)?"atom":"variable"}function k(a){return function(b,c){for(var d,e=!1,f=!1;null!=(d=b.next());){if(d==a&&!e){f=!0;break}e=!e&&"\\"==d}return(f||!e&&!z)&&(c.tokenize=null),"string"}}function l(a,b){for(var c,d=!1;c=a.next();){if("/"==c&&d){b.tokenize=null;break}d="*"==c}return"comment"}function m(a,b){i.typeFirstDefinitions&&a.eol()&&f(b.context)&&(b.typeAtEndOfLine=e(a,b,a.pos));
|
6 |
-
}var n,o,p=g.indentUnit,q=i.statementIndentUnit||p,r=i.dontAlignCalls,s=i.keywords||{},t=i.types||{},u=i.builtin||{},v=i.blockKeywords||{},w=i.defKeywords||{},x=i.atoms||{},y=i.hooks||{},z=i.multiLineStrings,A=i.indentStatements!==!1,B=i.indentSwitch!==!1,C=i.namespaceSeparator,D=i.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,E=i.numberStart||/[\d\.]/,F=i.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,G=i.isOperatorChar||/[+\-*&%=<>!?|\/]/,H=i.endStatement||/^[;:,]$/;return{startState:function(a){return{tokenize:null,context:new b((a||0)-p,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(a,b){var g=b.context;if(a.sol()&&(null==g.align&&(g.align=!1),b.indented=a.indentation(),b.startOfLine=!0),a.eatSpace())return m(a,b),null;n=o=null;var h=(b.tokenize||j)(a,b);if("comment"==h||"meta"==h)return h;if(null==g.align&&(g.align=!0),H.test(n))for(;"statement"==b.context.type;)d(b);else if("{"==n)c(b,a.column(),"}");else if("["==n)c(b,a.column(),"]");else if("("==n)c(b,a.column(),")");else if("}"==n){for(;"statement"==g.type;)g=d(b);for("}"==g.type&&(g=d(b));"statement"==g.type;)g=d(b)}else n==g.type?d(b):A&&(("}"==g.type||"top"==g.type)&&";"!=n||"statement"==g.type&&"newstatement"==n)&&c(b,a.column(),"statement",a.current());if("variable"==h&&("def"==b.prevToken||i.typeFirstDefinitions&&e(a,b,a.start)&&f(b.context)&&a.match(/^\s*\(/,!1))&&(h="def"),y.token){var k=y.token(a,b,h);void 0!==k&&(h=k)}return"def"==h&&i.styleDefs===!1&&(h="variable"),b.startOfLine=!1,b.prevToken=o?"def":h||n,m(a,b),h},indent:function(b,c){if(b.tokenize!=j&&null!=b.tokenize||b.typeAtEndOfLine)return a.Pass;var d=b.context,e=c&&c.charAt(0);if("statement"==d.type&&"}"==e&&(d=d.prev),i.dontIndentStatements)for(;"statement"==d.type&&i.dontIndentStatements.test(d.info);)d=d.prev;if(y.indent){var f=y.indent(b,d,c);if("number"==typeof f)return f}var g=e==d.type,h=d.prev&&"switch"==d.prev.info;if(i.allmanIndentation&&/[{(]/.test(e)){for(;"top"!=d.type&&"}"!=d.type;)d=d.prev;return d.indented}return"statement"==d.type?d.indented+("{"==e?0:q):!d.align||r&&")"==d.type?")"!=d.type||g?d.indented+(g?0:p)+(g||!h||/^(?:case|default)\b/.test(c)?0:p):d.indented+q:d.column+(g?0:1)},electricInput:B?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});var t="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",u="int long char short double float unsigned signed void size_t ptrdiff_t";p(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:g(t),types:g(u+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:g("case do else for if switch while struct"),defKeywords:g("struct"),typeFirstDefinitions:!0,atoms:g("null true false"),hooks:{"#":i,"*":j},modeProps:{fold:["brace","include"]}}),p(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:g(t+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:g(u+" bool wchar_t"),blockKeywords:g("catch class do else finally for if struct switch try while"),defKeywords:g("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:g("true false null"),dontIndentStatements:/^template$/,hooks:{"#":i,"*":j,u:l,U:l,L:l,R:l,0:k,1:k,2:k,3:k,4:k,5:k,6:k,7:k,8:k,9:k,token:function(a,b,c){return"variable"!=c||"("!=a.peek()||";"!=b.prevToken&&null!=b.prevToken&&"}"!=b.prevToken||!m(a.current())?void 0:"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),p("text/x-java",{name:"clike",keywords:g("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while"),types:g("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:g("catch class do else finally for if switch try while"),defKeywords:g("class interface package enum"),typeFirstDefinitions:!0,atoms:g("true false null"),endStatement:/^[;:]$/,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(a){return a.eatWhile(/[\w\$_]/),"meta"}},modeProps:{fold:["brace","import"]}}),p("text/x-csharp",{name:"clike",keywords:g("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:g("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:g("catch class do else finally for foreach if struct switch try while"),defKeywords:g("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:g("true false null"),hooks:{"@":function(a,b){return a.eat('"')?(b.tokenize=n,n(a,b)):(a.eatWhile(/[\w\$_]/),"meta")}}}),p("text/x-scala",{name:"clike",keywords:g("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ : = => <- <: <% >: # @ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble :: #:: "),types:g("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:g("catch class do else finally for forSome if match switch try while"),defKeywords:g("class def object package trait type val var"),atoms:g("true false null"),indentStatements:!1,indentSwitch:!1,hooks:{"@":function(a){return a.eatWhile(/[\w\$_]/),"meta"},'"':function(a,b){return a.match('""')?(b.tokenize=q,b.tokenize(a,b)):!1},"'":function(a){return a.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(a,c){var d=c.context;return"}"==d.type&&d.align&&a.eat(">")?(c.context=new b(d.indented,d.column,d.type,d.info,null,d.prev),"operator"):!1}},modeProps:{closeBrackets:{triples:'"'}}}),p("text/x-kotlin",{name:"clike",keywords:g("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix"),types:g("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,blockKeywords:g("catch class do else finally for if where try while enum"),defKeywords:g("class val var object package interface fun"),atoms:g("true false null this"),hooks:{'"':function(a,b){return b.tokenize=r(a.match('""')),b.tokenize(a,b)}},modeProps:{closeBrackets:{triples:'"'}}}),p(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:g("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:g("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:g("for while do if else struct"),builtin:g("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:g("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":i},modeProps:{fold:["brace","include"]}}),p("text/x-nesc",{name:"clike",keywords:g(t+"as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:g(u),blockKeywords:g("case do else for if switch while struct"),atoms:g("null true false"),hooks:{"#":i},modeProps:{fold:["brace","include"]}}),p("text/x-objectivec",{name:"clike",keywords:g(t+"inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:g(u),atoms:g("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(a){return a.eatWhile(/[\w\$]/),"keyword"},"#":i,indent:function(a,b,c){return"statement"==b.type&&/^@\w/.test(c)?b.indented:void 0}},modeProps:{fold:"brace"}}),p("text/x-squirrel",{name:"clike",keywords:g("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:g(u),blockKeywords:g("case catch class else for foreach if switch try while"),defKeywords:g("function local class"),typeFirstDefinitions:!0,atoms:g("true false null"),hooks:{"#":i},modeProps:{fold:["brace","include"]}});var v=null;p("text/x-ceylon",{name:"clike",keywords:g("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(a){var b=a.charAt(0);return b===b.toUpperCase()&&b!==b.toLowerCase()},blockKeywords:g("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:g("class dynamic function interface module object package value"),builtin:g("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:g("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(a){return a.eatWhile(/[\w\$_]/),"meta"},'"':function(a,b){return b.tokenize=s(a.match('""')?"triple":"single"),b.tokenize(a,b)},"`":function(a,b){return v&&a.match("`")?(b.tokenize=v,v=null,b.tokenize(a,b)):!1},"'":function(a){return a.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(a,b,c){return"variable"!=c&&"variable-3"!=c||"."!=b.prevToken?void 0:"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed"),require("../clike/clike")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../clike/clike"],a):a(CodeMirror)}(function(a){"use strict";function b(a){for(var b={},c=a.split(" "),d=0;d<c.length;++d)b[c[d]]=!0;return b}function c(a,b,e){return 0==a.length?d(b):function(f,g){for(var h=a[0],i=0;i<h.length;i++)if(f.match(h[i][0]))return g.tokenize=c(a.slice(1),b),h[i][1];return g.tokenize=d(b,e),"string"}}function d(a,b){return function(c,d){return e(c,d,a,b)}}function e(a,b,d,e){if(e!==!1&&a.match("${",!1)||a.match("{$",!1))return b.tokenize=null,"string";if(e!==!1&&a.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return a.match("[",!1)&&(b.tokenize=c([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],d,e)),a.match(/\-\>\w/,!1)&&(b.tokenize=c([[["->",null]],[[/[\w]+/,"variable"]]],d,e)),"variable-2";for(var f=!1;!a.eol()&&(f||e===!1||!a.match("{$",!1)&&!a.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!f&&a.match(d)){b.tokenize=null,b.tokStack.pop(),b.tokStack.pop();break}f="\\"==a.next()&&!f}return"string"}var f="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",g="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",h="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";a.registerHelper("hintWords","php",[f,g,h].join(" ").split(" ")),a.registerHelper("wordChars","php",/[\w$]/);var i={name:"clike",helperType:"php",keywords:b(f),blockKeywords:b("catch do else elseif for foreach if switch try while finally"),defKeywords:b("class function interface namespace trait"),atoms:b(g),builtin:b(h),multiLineStrings:!0,hooks:{$:function(a){return a.eatWhile(/[\w\$_]/),"variable-2"},"<":function(a,b){var c;if(c=a.match(/<<\s*/)){var e=a.eat(/['"]/);a.eatWhile(/[\w\.]/);var f=a.current().slice(c[0].length+(e?2:1));if(e&&a.eat(e),f)return(b.tokStack||(b.tokStack=[])).push(f,0),b.tokenize=d(f,"'"!=e),"string"}return!1},"#":function(a){for(;!a.eol()&&!a.match("?>",!1);)a.next();return"comment"},"/":function(a){if(a.eat("/")){for(;!a.eol()&&!a.match("?>",!1);)a.next();return"comment"}return!1},'"':function(a,b){return(b.tokStack||(b.tokStack=[])).push('"',0),b.tokenize=d('"'),"string"},"{":function(a,b){return b.tokStack&&b.tokStack.length&&b.tokStack[b.tokStack.length-1]++,!1},"}":function(a,b){return b.tokStack&&b.tokStack.length>0&&!--b.tokStack[b.tokStack.length-1]&&(b.tokenize=d(b.tokStack[b.tokStack.length-2])),!1}}};a.defineMode("php",function(b,c){function d(b,c){var d=c.curMode==f;if(b.sol()&&c.pending&&'"'!=c.pending&&"'"!=c.pending&&(c.pending=null),d)return d&&null==c.php.tokenize&&b.match("?>")?(c.curMode=e,c.curState=c.html,c.php.context.prev||(c.php=null),"meta"):f.token(b,c.curState);if(b.match(/^<\?\w*/))return c.curMode=f,c.php||(c.php=a.startState(f,e.indent(c.html,""))),c.curState=c.php,"meta";if('"'==c.pending||"'"==c.pending){for(;!b.eol()&&b.next()!=c.pending;);var g="string"}else if(c.pending&&b.pos<c.pending.end){b.pos=c.pending.end;var g=c.pending.style}else var g=e.token(b,c.curState);c.pending&&(c.pending=null);var h,i=b.current(),j=i.search(/<\?/);return-1!=j&&("string"==g&&(h=i.match(/[\'\"]$/))&&!/\?>/.test(i)?c.pending=h[0]:c.pending={end:b.pos,style:g},b.backUp(i.length-j)),g}var e=a.getMode(b,"text/html"),f=a.getMode(b,i);return{startState:function(){var b=a.startState(e),d=c.startOpen?a.startState(f):null;return{html:b,php:d,curMode:c.startOpen?f:e,curState:c.startOpen?d:b,pending:null}},copyState:function(b){var c,d=b.html,g=a.copyState(e,d),h=b.php,i=h&&a.copyState(f,h);return c=b.curMode==e?g:i,{html:g,php:i,curMode:b.curMode,curState:c,pending:b.pending}},token:d,indent:function(a,b){return a.curMode!=f&&/^\s*<\//.test(b)||a.curMode==f&&/^\?>/.test(b)?e.indent(a.html,b):a.curMode.indent(a.curState,b)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(a){return{state:a.curState,mode:a.curMode}}}},"htmlmixed","clike"),a.defineMIME("application/x-httpd-php","php"),a.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),a.defineMIME("text/x-php",i)}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)}(function(a){"use strict";function b(a,b,e,f){if(this.atOccurrence=!1,this.doc=a,null==f&&"string"==typeof b&&(f=!1),e=e?a.clipPos(e):d(0,0),this.pos={from:e,to:e},"string"!=typeof b)b.global||(b=new RegExp(b.source,b.ignoreCase?"ig":"g")),this.matches=function(c,e){if(c){b.lastIndex=0;for(var f,g,h=a.getLine(e.line).slice(0,e.ch),i=0;;){b.lastIndex=i;var j=b.exec(h);if(!j)break;if(f=j,g=f.index,i=f.index+(f[0].length||1),i==h.length)break}var k=f&&f[0].length||0;k||(0==g&&0==h.length?f=void 0:g!=a.getLine(e.line).length&&k++)}else{b.lastIndex=e.ch;var h=a.getLine(e.line),f=b.exec(h),k=f&&f[0].length||0,g=f&&f.index;g+k==h.length||k||(k=1)}return f&&k?{from:d(e.line,g),to:d(e.line,g+k),match:f}:void 0};else{var g=b;f&&(b=b.toLowerCase());var h=f?function(a){return a.toLowerCase()}:function(a){return a},i=b.split("\n");if(1==i.length)b.length?this.matches=function(e,f){if(e){var i=a.getLine(f.line).slice(0,f.ch),j=h(i),k=j.lastIndexOf(b);if(k>-1)return k=c(i,j,k),{from:d(f.line,k),to:d(f.line,k+g.length)}}else{var i=a.getLine(f.line).slice(f.ch),j=h(i),k=j.indexOf(b);if(k>-1)return k=c(i,j,k)+f.ch,{from:d(f.line,k),to:d(f.line,k+g.length)}}}:this.matches=function(){};else{var j=g.split("\n");this.matches=function(b,c){var e=i.length-1;if(b){if(c.line-(i.length-1)<a.firstLine())return;if(h(a.getLine(c.line).slice(0,j[e].length))!=i[i.length-1])return;for(var f=d(c.line,j[e].length),g=c.line-1,k=e-1;k>=1;--k,--g)if(i[k]!=h(a.getLine(g)))return;var l=a.getLine(g),m=l.length-j[0].length;if(h(l.slice(m))!=i[0])return;return{from:d(g,m),to:f}}if(!(c.line+(i.length-1)>a.lastLine())){var l=a.getLine(c.line),m=l.length-j[0].length;if(h(l.slice(m))==i[0]){for(var n=d(c.line,m),g=c.line+1,k=1;e>k;++k,++g)if(i[k]!=h(a.getLine(g)))return;if(h(a.getLine(g).slice(0,j[e].length))==i[e])return{from:n,to:d(g,j[e].length)}}}}}}}function c(a,b,c){if(a.length==b.length)return c;for(var d=Math.min(c,a.length);;){var e=a.slice(0,d).toLowerCase().length;if(c>e)++d;else{if(!(e>c))return d;--d}}}var d=a.Pos;b.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(a){function b(a){var b=d(a,0);return c.pos={from:b,to:b},c.atOccurrence=!1,!1}for(var c=this,e=this.doc.clipPos(a?this.pos.from:this.pos.to);;){if(this.pos=this.matches(a,e))return this.atOccurrence=!0,this.pos.match||!0;if(a){if(!e.line)return b(0);e=d(e.line-1,this.doc.getLine(e.line-1).length)}else{var f=this.doc.lineCount();if(e.line==f-1)return b(f);e=d(e.line+1,0)}}},from:function(){return this.atOccurrence?this.pos.from:void 0},to:function(){return this.atOccurrence?this.pos.to:void 0},replace:function(b,c){if(this.atOccurrence){var e=a.splitLines(b);this.doc.replaceRange(e,this.pos.from,this.pos.to,c),this.pos.to=d(this.pos.from.line+e.length-1,e[e.length-1].length+(1==e.length?this.pos.from.ch:0))}}},a.defineExtension("getSearchCursor",function(a,c,d){return new b(this.doc,a,c,d)}),a.defineDocExtension("getSearchCursor",function(a,c,d){return new b(this,a,c,d)}),a.defineExtension("selectMatches",function(b,c){for(var d=[],e=this.getSearchCursor(b,this.getCursor("from"),c);e.findNext()&&!(a.cmpPos(e.to(),this.getCursor("to"))>0);)d.push({anchor:e.from(),head:e.to()});d.length&&this.setSelections(d,0)})}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror"),require("./searchcursor"),require("../dialog/dialog")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./searchcursor","../dialog/dialog"],a):a(CodeMirror)}(function(a){"use strict";function b(a,b){return"string"==typeof a?a=new RegExp(a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),b?"gi":"g"):a.global||(a=new RegExp(a.source,a.ignoreCase?"gi":"g")),
|
7 |
-
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.CodeMirror=b()}(this,function(){"use strict";function a(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}function b(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstChild);return a}function c(a,c){return b(a).appendChild(c)}function d(a,b,c,d){var e=document.createElement(a);if(c&&(e.className=c),d&&(e.style.cssText=d),"string"==typeof b)e.appendChild(document.createTextNode(b));else if(b)for(var f=0;f<b.length;++f)e.appendChild(b[f]);return e}function e(a,b){if(3==b.nodeType&&(b=b.parentNode),a.contains)return a.contains(b);do if(11==b.nodeType&&(b=b.host),b==a)return!0;while(b=b.parentNode)}function f(){var a;try{a=document.activeElement}catch(b){a=document.body||null}for(;a&&a.root&&a.root.activeElement;)a=a.root.activeElement;return a}function g(b,c){var d=b.className;a(c).test(d)||(b.className+=(d?" ":"")+c)}function h(b,c){for(var d=b.split(" "),e=0;e<d.length;e++)d[e]&&!a(d[e]).test(c)&&(c+=" "+d[e]);return c}function i(a){var b=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,b)}}function j(a,b,c){b||(b={});for(var d in a)!a.hasOwnProperty(d)||c===!1&&b.hasOwnProperty(d)||(b[d]=a[d]);return b}function k(a,b,c,d,e){null==b&&(b=a.search(/[^\s\u00a0]/),b==-1&&(b=a.length));for(var f=d||0,g=e||0;;){var h=a.indexOf("\t",f);if(h<0||h>=b)return g+(b-f);g+=h-f,g+=c-g%c,f=h+1}}function l(){this.id=null}function m(a,b){for(var c=0;c<a.length;++c)if(a[c]==b)return c;return-1}function n(a,b,c){for(var d=0,e=0;;){var f=a.indexOf("\t",d);f==-1&&(f=a.length);var g=f-d;if(f==a.length||e+g>=b)return d+Math.min(g,b-e);if(e+=f-d,e+=c-e%c,d=f+1,e>=b)return d}}function o(a){for(;Hg.length<=a;)Hg.push(p(Hg)+" ");return Hg[a]}function p(a){return a[a.length-1]}function q(a,b){for(var c=[],d=0;d<a.length;d++)c[d]=b(a[d],d);return c}function r(a,b,c){for(var d=0,e=c(b);d<a.length&&c(a[d])<=e;)d++;a.splice(d,0,b)}function s(){}function t(a,b){var c;return Object.create?c=Object.create(a):(s.prototype=a,c=new s),b&&j(b,c),c}function u(a){return/\w/.test(a)||a>""&&(a.toUpperCase()!=a.toLowerCase()||Ig.test(a))}function v(a,b){return b?!!(b.source.indexOf("\\w")>-1&&u(a))||b.test(a):u(a)}function w(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}function x(a){return a.charCodeAt(0)>=768&&Jg.test(a)}function y(a,b,c){var e=this;this.input=c,e.scrollbarFiller=d("div",null,"CodeMirror-scrollbar-filler"),e.scrollbarFiller.setAttribute("cm-not-content","true"),e.gutterFiller=d("div",null,"CodeMirror-gutter-filler"),e.gutterFiller.setAttribute("cm-not-content","true"),e.lineDiv=d("div",null,"CodeMirror-code"),e.selectionDiv=d("div",null,null,"position: relative; z-index: 1"),e.cursorDiv=d("div",null,"CodeMirror-cursors"),e.measure=d("div",null,"CodeMirror-measure"),e.lineMeasure=d("div",null,"CodeMirror-measure"),e.lineSpace=d("div",[e.measure,e.lineMeasure,e.selectionDiv,e.cursorDiv,e.lineDiv],null,"position: relative; outline: none"),e.mover=d("div",[d("div",[e.lineSpace],"CodeMirror-lines")],null,"position: relative"),e.sizer=d("div",[e.mover],"CodeMirror-sizer"),e.sizerWidth=null,e.heightForcer=d("div",null,null,"position: absolute; height: "+Cg+"px; width: 1px;"),e.gutters=d("div",null,"CodeMirror-gutters"),e.lineGutter=null,e.scroller=d("div",[e.sizer,e.heightForcer,e.gutters],"CodeMirror-scroll"),e.scroller.setAttribute("tabIndex","-1"),e.wrapper=d("div",[e.scrollbarFiller,e.gutterFiller,e.scroller],"CodeMirror"),gg&&hg<8&&(e.gutters.style.zIndex=-1,e.scroller.style.paddingRight=0),ig||dg&&qg||(e.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(e.wrapper):a(e.wrapper)),e.viewFrom=e.viewTo=b.first,e.reportedViewFrom=e.reportedViewTo=b.first,e.view=[],e.renderedView=null,e.externalMeasured=null,e.viewOffset=0,e.lastWrapHeight=e.lastWrapWidth=0,e.updateLineNumbers=null,e.nativeBarWidth=e.barHeight=e.barWidth=0,e.scrollbarsClipped=!1,e.lineNumWidth=e.lineNumInnerWidth=e.lineNumChars=null,e.alignWidgets=!1,e.cachedCharWidth=e.cachedTextHeight=e.cachedPaddingH=null,e.maxLine=null,e.maxLineLength=0,e.maxLineChanged=!1,e.wheelDX=e.wheelDY=e.wheelStartX=e.wheelStartY=null,e.shift=!1,e.selForContextMenu=null,e.activeTouch=null,c.init(e)}function z(a,b){if(b-=a.first,b<0||b>=a.size)throw new 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 A(a,b,c){var d=[],e=b.line;return a.iter(b.line,c.line+1,function(a){var f=a.text;e==c.line&&(f=f.slice(0,c.ch)),e==b.line&&(f=f.slice(b.ch)),d.push(f),++e}),d}function B(a,b,c){var d=[];return a.iter(b,c,function(a){d.push(a.text)}),d}function C(a,b){var c=b-a.height;if(c)for(var d=a;d;d=d.parent)d.height+=c}function D(a){if(null==a.parent)return null;for(var b=a.parent,c=m(b.lines,a),d=b.parent;d;b=d,d=d.parent)for(var e=0;d.children[e]!=b;++e)c+=d.children[e].chunkSize();return c+b.first}function E(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(var g=0;g<a.lines.length;++g){var h=a.lines[g],i=h.height;if(b<i)break;b-=i}return c+g}function F(a,b){return b>=a.first&&b<a.first+a.size}function G(a,b){return String(a.lineNumberFormatter(b+a.firstLineNumber))}function H(a,b){return this instanceof H?(this.line=a,void(this.ch=b)):new H(a,b)}function I(a,b){return a.line-b.line||a.ch-b.ch}function J(a){return H(a.line,a.ch)}function K(a,b){return I(a,b)<0?b:a}function L(a,b){return I(a,b)<0?a:b}function M(a,b){return Math.max(a.first,Math.min(b,a.first+a.size-1))}function N(a,b){if(b.line<a.first)return H(a.first,0);var c=a.first+a.size-1;return b.line>c?H(c,z(a,c).text.length):O(b,z(a,b.line).text.length)}function O(a,b){var c=a.ch;return null==c||c>b?H(a.line,b):c<0?H(a.line,0):a}function P(a,b){for(var c=[],d=0;d<b.length;d++)c[d]=N(a,b[d]);return c}function Q(){Kg=!0}function R(){Lg=!0}function S(a,b,c){this.marker=a,this.from=b,this.to=c}function T(a,b){if(a)for(var c=0;c<a.length;++c){var d=a[c];if(d.marker==b)return d}}function U(a,b){for(var c,d=0;d<a.length;++d)a[d]!=b&&(c||(c=[])).push(a[d]);return c}function V(a,b){a.markedSpans=a.markedSpans?a.markedSpans.concat([b]):[b],b.marker.attachLine(a)}function W(a,b,c){var d;if(a)for(var e=0;e<a.length;++e){var f=a[e],g=f.marker,h=null==f.from||(g.inclusiveLeft?f.from<=b:f.from<b);if(h||f.from==b&&"bookmark"==g.type&&(!c||!f.marker.insertLeft)){var i=null==f.to||(g.inclusiveRight?f.to>=b:f.to>b);(d||(d=[])).push(new S(g,f.from,i?null:f.to))}}return d}function X(a,b,c){var d;if(a)for(var e=0;e<a.length;++e){var f=a[e],g=f.marker,h=null==f.to||(g.inclusiveRight?f.to>=b:f.to>b);if(h||f.from==b&&"bookmark"==g.type&&(!c||f.marker.insertLeft)){var i=null==f.from||(g.inclusiveLeft?f.from<=b:f.from<b);(d||(d=[])).push(new S(g,i?null:f.from-b,null==f.to?null:f.to-b))}}return d}function Y(a,b){if(b.full)return null;var c=F(a,b.from.line)&&z(a,b.from.line).markedSpans,d=F(a,b.to.line)&&z(a,b.to.line).markedSpans;if(!c&&!d)return null;var e=b.from.ch,f=b.to.ch,g=0==I(b.from,b.to),h=W(c,e,g),i=X(d,f,g),j=1==b.text.length,k=p(b.text).length+(j?e:0);if(h)for(var l=0;l<h.length;++l){var m=h[l];if(null==m.to){var n=T(i,m.marker);n?j&&(m.to=null==n.to?null:n.to+k):m.to=e}}if(i)for(var o=0;o<i.length;++o){var q=i[o];if(null!=q.to&&(q.to+=k),null==q.from){var r=T(h,q.marker);r||(q.from=k,j&&(h||(h=[])).push(q))}else q.from+=k,j&&(h||(h=[])).push(q)}h&&(h=Z(h)),i&&i!=h&&(i=Z(i));var s=[h];if(!j){var t,u=b.text.length-2;if(u>0&&h)for(var v=0;v<h.length;++v)null==h[v].to&&(t||(t=[])).push(new S(h[v].marker,null,null));for(var w=0;w<u;++w)s.push(t);s.push(i)}return s}function Z(a){for(var b=0;b<a.length;++b){var c=a[b];null!=c.from&&c.from==c.to&&c.marker.clearWhenEmpty!==!1&&a.splice(b--,1)}return a.length?a:null}function $(a,b,c){var d=null;if(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;!c.readOnly||d&&m(d,c)!=-1||(d||(d=[])).push(c)}}),!d)return null;for(var e=[{from:b,to:c}],f=0;f<d.length;++f)for(var g=d[f],h=g.find(0),i=0;i<e.length;++i){var j=e[i];if(!(I(j.to,h.from)<0||I(j.from,h.to)>0)){var k=[i,1],l=I(j.from,h.from),n=I(j.to,h.to);(l<0||!g.inclusiveLeft&&!l)&&k.push({from:j.from,to:h.from}),(n>0||!g.inclusiveRight&&!n)&&k.push({from:h.to,to:j.to}),e.splice.apply(e,k),i+=k.length-1}}return e}function _(a){var b=a.markedSpans;if(b){for(var c=0;c<b.length;++c)b[c].marker.detachLine(a);a.markedSpans=null}}function aa(a,b){if(b){for(var c=0;c<b.length;++c)b[c].marker.attachLine(a);a.markedSpans=b}}function ba(a){return a.inclusiveLeft?-1:0}function ca(a){return a.inclusiveRight?1:0}function da(a,b){var c=a.lines.length-b.lines.length;if(0!=c)return c;var d=a.find(),e=b.find(),f=I(d.from,e.from)||ba(a)-ba(b);if(f)return-f;var g=I(d.to,e.to)||ca(a)-ca(b);return g?g:b.id-a.id}function ea(a,b){var c,d=Lg&&a.markedSpans;if(d)for(var e=void 0,f=0;f<d.length;++f)e=d[f],e.marker.collapsed&&null==(b?e.from:e.to)&&(!c||da(c,e.marker)<0)&&(c=e.marker);return c}function fa(a){return ea(a,!0)}function ga(a){return ea(a,!1)}function ha(a,b,c,d,e){var f=z(a,b),g=Lg&&f.markedSpans;if(g)for(var h=0;h<g.length;++h){var i=g[h];if(i.marker.collapsed){var j=i.marker.find(0),k=I(j.from,c)||ba(i.marker)-ba(e),l=I(j.to,d)||ca(i.marker)-ca(e);if(!(k>=0&&l<=0||k<=0&&l>=0)&&(k<=0&&(i.marker.inclusiveRight&&e.inclusiveLeft?I(j.to,c)>=0:I(j.to,c)>0)||k>=0&&(i.marker.inclusiveRight&&e.inclusiveLeft?I(j.from,d)<=0:I(j.from,d)<0)))return!0}}}function ia(a){for(var b;b=fa(a);)a=b.find(-1,!0).line;return a}function ja(a){for(var b,c;b=ga(a);)a=b.find(1,!0).line,(c||(c=[])).push(a);return c}function ka(a,b){var c=z(a,b),d=ia(c);return c==d?b:D(d)}function la(a,b){if(b>a.lastLine())return b;var c,d=z(a,b);if(!ma(a,d))return b;for(;c=ga(d);)d=c.find(1,!0).line;return D(d)+1}function ma(a,b){var c=Lg&&b.markedSpans;if(c)for(var d=void 0,e=0;e<c.length;++e)if(d=c[e],d.marker.collapsed){if(null==d.from)return!0;if(!d.marker.widgetNode&&0==d.from&&d.marker.inclusiveLeft&&na(a,b,d))return!0}}function na(a,b,c){if(null==c.to){var d=c.marker.find(1,!0);return na(a,d.line,T(d.line.markedSpans,c.marker))}if(c.marker.inclusiveRight&&c.to==b.text.length)return!0;for(var e=void 0,f=0;f<b.markedSpans.length;++f)if(e=b.markedSpans[f],e.marker.collapsed&&!e.marker.widgetNode&&e.from==c.to&&(null==e.to||e.to!=c.from)&&(e.marker.inclusiveLeft||c.marker.inclusiveRight)&&na(a,b,e))return!0}function oa(a){a=ia(a);for(var b=0,c=a.parent,d=0;d<c.lines.length;++d){var e=c.lines[d];if(e==a)break;b+=e.height}for(var f=c.parent;f;c=f,f=c.parent)for(var g=0;g<f.children.length;++g){var h=f.children[g];if(h==c)break;b+=h.height}return b}function pa(a){if(0==a.height)return 0;for(var b,c=a.text.length,d=a;b=fa(d);){var e=b.find(0,!0);d=e.from.line,c+=e.from.ch-e.to.ch}for(d=a;b=ga(d);){var f=b.find(0,!0);c-=d.text.length-f.from.ch,d=f.to.line,c+=d.text.length-f.to.ch}return c}function qa(a){var b=a.display,c=a.doc;b.maxLine=z(c,c.first),b.maxLineLength=pa(b.maxLine),b.maxLineChanged=!0,c.iter(function(a){var c=pa(a);c>b.maxLineLength&&(b.maxLineLength=c,b.maxLine=a)})}function ra(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];(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 sa(a){return a.level%2?a.to:a.from}function ta(a){return a.level%2?a.from:a.to}function ua(a){var b=Ba(a);return b?sa(b[0]):0}function va(a){var b=Ba(a);return b?ta(p(b)):a.text.length}function wa(a,b,c){var d=a[0].level;return b==d||c!=d&&b<c}function xa(a,b){var c;Mg=null;for(var d=0;d<a.length;++d){var e=a[d];if(e.from<b&&e.to>b)return d;if(e.from==b||e.to==b){if(null!=c)return wa(a,e.level,a[c].level)?(e.from!=e.to&&(Mg=c),d):(e.from!=e.to&&(Mg=d),c);c=d}}return c}function ya(a,b,c,d){if(!d)return b+c;do b+=c;while(b>0&&x(a.text.charAt(b)));return b}function za(a,b,c,d){var e=Ba(a);if(!e)return Aa(a,b,c,d);for(var f=xa(e,b),g=e[f],h=ya(a,b,g.level%2?-c:c,d);;){if(h>g.from&&h<g.to)return h;if(h==g.from||h==g.to)return xa(e,h)==f?h:(g=e[f+=c],c>0==g.level%2?g.to:g.from);if(g=e[f+=c],!g)return null;h=c>0==g.level%2?ya(a,g.to,-1,d):ya(a,g.from,1,d)}}function Aa(a,b,c,d){var e=b+c;if(d)for(;e>0&&x(a.text.charAt(e));)e+=c;return e<0||e>a.text.length?null:e}function Ba(a){var b=a.order;return null==b&&(b=a.order=Ng(a.text)),b}function Ca(a,b){return a._handlers&&a._handlers[b]||Og}function Da(a,b,c){if(a.removeEventListener)a.removeEventListener(b,c,!1);else if(a.detachEvent)a.detachEvent("on"+b,c);else{var d=a._handlers,e=d&&d[b];if(e){var f=m(e,c);f>-1&&(d[b]=e.slice(0,f).concat(e.slice(f+1)))}}}function Ea(a,b){var c=Ca(a,b);if(c.length)for(var d=Array.prototype.slice.call(arguments,2),e=0;e<c.length;++e)c[e].apply(null,d)}function Fa(a,b,c){return"string"==typeof b&&(b={type:b,preventDefault:function(){this.defaultPrevented=!0}}),Ea(a,c||b.type,a,b),La(b)||b.codemirrorIgnore}function Ga(a){var b=a._handlers&&a._handlers.cursorActivity;if(b)for(var c=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),d=0;d<b.length;++d)m(c,b[d])==-1&&c.push(b[d])}function Ha(a,b){return Ca(a,b).length>0}function Ia(a){a.prototype.on=function(a,b){Pg(this,a,b)},a.prototype.off=function(a,b){Da(this,a,b)}}function Ja(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Ka(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function La(a){return null!=a.defaultPrevented?a.defaultPrevented:0==a.returnValue}function Ma(a){Ja(a),Ka(a)}function Na(a){return a.target||a.srcElement}function Oa(a){var b=a.which;return null==b&&(1&a.button?b=1:2&a.button?b=3:4&a.button&&(b=2)),rg&&a.ctrlKey&&1==b&&(b=3),b}function Pa(a){if(null==Ag){var b=d("span","");c(a,d("span",[b,document.createTextNode("x")])),0!=a.firstChild.offsetHeight&&(Ag=b.offsetWidth<=1&&b.offsetHeight>2&&!(gg&&hg<8))}var e=Ag?d("span",""):d("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return e.setAttribute("cm-text",""),e}function Qa(a){if(null!=Bg)return Bg;var d=c(a,document.createTextNode("AخA")),e=vg(d,0,1).getBoundingClientRect(),f=vg(d,1,2).getBoundingClientRect();return b(a),!(!e||e.left==e.right)&&(Bg=f.right-e.right<3)}function Ra(a){if(null!=Ug)return Ug;var b=c(a,d("span","x")),e=b.getBoundingClientRect(),f=vg(b,0,1).getBoundingClientRect();return Ug=Math.abs(e.left-f.left)>1}function Sa(a,b){arguments.length>2&&(b.dependencies=Array.prototype.slice.call(arguments,2)),Vg[a]=b}function Ta(a,b){Wg[a]=b}function Ua(a){if("string"==typeof a&&Wg.hasOwnProperty(a))a=Wg[a];else if(a&&"string"==typeof a.name&&Wg.hasOwnProperty(a.name)){var b=Wg[a.name];"string"==typeof b&&(b={name:b}),a=t(b,a),a.name=b.name}else{if("string"==typeof a&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Ua("application/xml");if("string"==typeof a&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Ua("application/json")}return"string"==typeof a?{name:a}:a||{name:"null"}}function Va(a,b){b=Ua(b);var c=Vg[b.name];if(!c)return Va(a,"text/plain");var d=c(a,b);if(Xg.hasOwnProperty(b.name)){var e=Xg[b.name];for(var f in e)e.hasOwnProperty(f)&&(d.hasOwnProperty(f)&&(d["_"+f]=d[f]),d[f]=e[f])}if(d.name=b.name,b.helperType&&(d.helperType=b.helperType),b.modeProps)for(var g in b.modeProps)d[g]=b.modeProps[g];return d}function Wa(a,b){var c=Xg.hasOwnProperty(a)?Xg[a]:Xg[a]={};j(b,c)}function Xa(a,b){if(b===!0)return b;if(a.copyState)return a.copyState(b);var c={};for(var d in b){var e=b[d];e instanceof Array&&(e=e.concat([])),c[d]=e}return c}function Ya(a,b){for(var c;a.innerMode&&(c=a.innerMode(b),c&&c.mode!=a);)b=c.state,a=c.mode;return c||{mode:a,state:b}}function Za(a,b,c){return!a.startState||a.startState(b,c)}function $a(a,b,c,d){var e=[a.state.modeGen],f={};gb(a,b.text,a.doc.mode,c,function(a,b){return e.push(a,b)},f,d);for(var g=function(c){var d=a.state.overlays[c],g=1,h=0;gb(a,b.text,d.mode,!0,function(a,b){for(var c=g;h<a;){var f=e[g];f>a&&e.splice(g,1,a,e[g+1],f),g+=2,h=Math.min(a,f)}if(b)if(d.opaque)e.splice(c,g-c,a,"overlay "+b),g=c+2;else for(;c<g;c+=2){var i=e[c+1];e[c+1]=(i?i+" ":"")+"overlay "+b}},f)},h=0;h<a.state.overlays.length;++h)g(h);return{styles:e,classes:f.bgClass||f.textClass?f:null}}function _a(a,b,c){if(!b.styles||b.styles[0]!=a.state.modeGen){var d=ab(a,D(b)),e=$a(a,b,b.text.length>a.options.maxHighlightLength?Xa(a.doc.mode,d):d);b.stateAfter=d,b.styles=e.styles,e.classes?b.styleClasses=e.classes:b.styleClasses&&(b.styleClasses=null),c===a.doc.frontier&&a.doc.frontier++}return b.styles}function ab(a,b,c){var d=a.doc,e=a.display;if(!d.mode.startState)return!0;var f=hb(a,b,c),g=f>d.first&&z(d,f-1).stateAfter;return g=g?Xa(d.mode,g):Za(d.mode),d.iter(f,b,function(c){bb(a,c.text,g);var h=f==b-1||f%5==0||f>=e.viewFrom&&f<e.viewTo;c.stateAfter=h?Xa(d.mode,g):null,++f}),c&&(d.frontier=f),g}function bb(a,b,c,d){var e=a.doc.mode,f=new Yg(b,a.options.tabSize);for(f.start=f.pos=d||0,""==b&&cb(e,c);!f.eol();)db(e,f,c),f.start=f.pos}function cb(a,b){if(a.blankLine)return a.blankLine(b);if(a.innerMode){var c=Ya(a,b);return c.mode.blankLine?c.mode.blankLine(c.state):void 0}}function db(a,b,c,d){for(var e=0;e<10;e++){d&&(d[0]=Ya(a,c).mode);var f=a.token(b,c);if(b.pos>b.start)return f}throw new Error("Mode "+a.name+" failed to advance stream.")}function eb(a,b,c,d){var e,f=function(a){return{start:l.start,end:l.pos,string:l.current(),type:e||null,state:a?Xa(g.mode,k):k}},g=a.doc,h=g.mode;b=N(g,b);var i,j=z(g,b.line),k=ab(a,b.line,c),l=new Yg(j.text,a.options.tabSize);for(d&&(i=[]);(d||l.pos<b.ch)&&!l.eol();)l.start=l.pos,e=db(h,l,k),d&&i.push(f(!0));return d?i:f()}function fb(a,b){if(a)for(;;){var c=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!c)break;a=a.slice(0,c.index)+a.slice(c.index+c[0].length);var d=c[1]?"bgClass":"textClass";null==b[d]?b[d]=c[2]:new RegExp("(?:^|s)"+c[2]+"(?:$|s)").test(b[d])||(b[d]+=" "+c[2])}return a}function gb(a,b,c,d,e,f,g){var h=c.flattenSpans;null==h&&(h=a.options.flattenSpans);var i,j=0,k=null,l=new Yg(b,a.options.tabSize),m=a.options.addModeClass&&[null];for(""==b&&fb(cb(c,d),f);!l.eol();){if(l.pos>a.options.maxHighlightLength?(h=!1,g&&bb(a,b,d,l.pos),l.pos=b.length,i=null):i=fb(db(c,l,d,m),f),m){var n=m[0].name;n&&(i="m-"+(i?n+" "+i:n))}if(!h||k!=i){for(;j<l.start;)j=Math.min(l.start,j+5e3),e(j,k);k=i}l.start=l.pos}for(;j<l.pos;){var o=Math.min(l.pos,j+5e3);e(o,k),j=o}}function hb(a,b,c){for(var d,e,f=a.doc,g=c?-1:b-(a.doc.mode.innerMode?1e3:100),h=b;h>g;--h){if(h<=f.first)return f.first;var i=z(f,h-1);if(i.stateAfter&&(!c||h<=f.frontier))return h;var j=k(i.text,null,a.options.tabSize);(null==e||d>j)&&(e=h-1,d=j)}return e}function ib(a,b,c){this.text=a,aa(this,b),this.height=c?c(this):1}function jb(a,b,c,d){a.text=b,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),null!=a.order&&(a.order=null),_(a),aa(a,c);var e=d?d(a):1;e!=a.height&&C(a,e)}function kb(a){a.parent=null,_(a)}function lb(a,b){if(!a||/^\s*$/.test(a))return null;var c=b.addModeClass?_g:$g;return c[a]||(c[a]=a.replace(/\S+/g,"cm-$&"))}function mb(a,b){var c=d("span",null,null,ig?"padding-right: .1px":null),e={pre:d("pre",[c],"CodeMirror-line"),content:c,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:(gg||ig)&&a.getOption("lineWrapping")};b.measure={};for(var f=0;f<=(b.rest?b.rest.length:0);f++){var g=f?b.rest[f-1]:b.line,i=void 0;e.pos=0,e.addToken=ob,Qa(a.display.measure)&&(i=Ba(g))&&(e.addToken=qb(e.addToken,i)),e.map=[];var j=b!=a.display.externalMeasured&&D(g);sb(g,e,_a(a,g,j)),g.styleClasses&&(g.styleClasses.bgClass&&(e.bgClass=h(g.styleClasses.bgClass,e.bgClass||"")),g.styleClasses.textClass&&(e.textClass=h(g.styleClasses.textClass,e.textClass||""))),0==e.map.length&&e.map.push(0,0,e.content.appendChild(Pa(a.display.measure))),0==f?(b.measure.map=e.map,b.measure.cache={}):((b.measure.maps||(b.measure.maps=[])).push(e.map),(b.measure.caches||(b.measure.caches=[])).push({}))}if(ig){var k=e.content.lastChild;(/\bcm-tab\b/.test(k.className)||k.querySelector&&k.querySelector(".cm-tab"))&&(e.content.className="cm-tab-wrap-hack")}return Ea(a,"renderLine",a,b.line,e.pre),e.pre.className&&(e.textClass=h(e.pre.className,e.textClass||"")),e}function nb(a){var b=d("span","•","cm-invalidchar");return b.title="\\u"+a.charCodeAt(0).toString(16),b.setAttribute("aria-label",b.title),b}function ob(a,b,c,e,f,g,h){if(b){var i,j=a.splitSpaces?pb(b,a.trailingSpace):b,k=a.cm.state.specialChars,l=!1;if(k.test(b)){i=document.createDocumentFragment();for(var m=0;;){k.lastIndex=m;var n=k.exec(b),p=n?n.index-m:b.length-m;if(p){var q=document.createTextNode(j.slice(m,m+p));gg&&hg<9?i.appendChild(d("span",[q])):i.appendChild(q),a.map.push(a.pos,a.pos+p,q),a.col+=p,a.pos+=p}if(!n)break;m+=p+1;var r=void 0;if("\t"==n[0]){var s=a.cm.options.tabSize,t=s-a.col%s;r=i.appendChild(d("span",o(t),"cm-tab")),r.setAttribute("role","presentation"),r.setAttribute("cm-text","\t"),a.col+=t}else"\r"==n[0]||"\n"==n[0]?(r=i.appendChild(d("span","\r"==n[0]?"␍":"","cm-invalidchar")),r.setAttribute("cm-text",n[0]),a.col+=1):(r=a.cm.options.specialCharPlaceholder(n[0]),r.setAttribute("cm-text",n[0]),gg&&hg<9?i.appendChild(d("span",[r])):i.appendChild(r),a.col+=1);a.map.push(a.pos,a.pos+1,r),a.pos++}}else a.col+=b.length,i=document.createTextNode(j),a.map.push(a.pos,a.pos+b.length,i),gg&&hg<9&&(l=!0),a.pos+=b.length;if(a.trailingSpace=32==j.charCodeAt(b.length-1),c||e||f||l||h){var u=c||"";e&&(u+=e),f&&(u+=f);var v=d("span",[i],u,h);return g&&(v.title=g),a.content.appendChild(v)}a.content.appendChild(i)}}function pb(a,b){if(a.length>1&&!/ /.test(a))return a;for(var c=b,d="",e=0;e<a.length;e++){var f=a.charAt(e);" "!=f||!c||e!=a.length-1&&32!=a.charCodeAt(e+1)||(f=" "),d+=f,c=" "==f}return d}function qb(a,b){return function(c,d,e,f,g,h,i){e=e?e+" cm-force-border":"cm-force-border";for(var j=c.pos,k=j+d.length;;){for(var l=void 0,m=0;m<b.length&&(l=b[m],!(l.to>j&&l.from<=j));m++);if(l.to>=k)return a(c,d,e,f,g,h,i);a(c,d.slice(0,l.to-j),e,f,null,h,i),f=null,d=d.slice(l.to-j),j=l.to}}}function rb(a,b,c,d){var e=!d&&c.widgetNode;e&&a.map.push(a.pos,a.pos+b,e),!d&&a.cm.display.input.needsContentAttribute&&(e||(e=a.content.appendChild(document.createElement("span"))),e.setAttribute("cm-marker",c.id)),e&&(a.cm.display.input.setUneditable(e),a.content.appendChild(e)),a.pos+=b,a.trailingSpace=!1}function sb(a,b,c){var d=a.markedSpans,e=a.text,f=0;if(d)for(var g,h,i,j,k,l,m,n=e.length,o=0,p=1,q="",r=0;;){if(r==o){i=j=k=l=h="",m=null,r=1/0;for(var s=[],t=void 0,u=0;u<d.length;++u){var v=d[u],w=v.marker;"bookmark"==w.type&&v.from==o&&w.widgetNode?s.push(w):v.from<=o&&(null==v.to||v.to>o||w.collapsed&&v.to==o&&v.from==o)?(null!=v.to&&v.to!=o&&r>v.to&&(r=v.to,j=""),w.className&&(i+=" "+w.className),w.css&&(h=(h?h+";":"")+w.css),w.startStyle&&v.from==o&&(k+=" "+w.startStyle),w.endStyle&&v.to==r&&(t||(t=[])).push(w.endStyle,v.to),w.title&&!l&&(l=w.title),w.collapsed&&(!m||da(m.marker,w)<0)&&(m=v)):v.from>o&&r>v.from&&(r=v.from)}if(t)for(var x=0;x<t.length;x+=2)t[x+1]==r&&(j+=" "+t[x]);if(!m||m.from==o)for(var y=0;y<s.length;++y)rb(b,0,s[y]);if(m&&(m.from||0)==o){if(rb(b,(null==m.to?n+1:m.to)-o,m.marker,null==m.from),null==m.to)return;m.to==o&&(m=!1)}}if(o>=n)break;for(var z=Math.min(n,r);;){if(q){var A=o+q.length;if(!m){var B=A>z?q.slice(0,z-o):q;b.addToken(b,B,g?g+i:i,k,o+B.length==r?j:"",l,h)}if(A>=z){q=q.slice(z-o),o=z;break}o=A,k=""}q=e.slice(f,f=c[p++]),g=lb(c[p++],b.cm.options)}}else for(var C=1;C<c.length;C+=2)b.addToken(b,e.slice(f,f=c[C]),lb(c[C+1],b.cm.options))}function tb(a,b,c){this.line=b,this.rest=ja(b),this.size=this.rest?D(p(this.rest))-c+1:1,this.node=this.text=null,this.hidden=ma(a,b)}function ub(a,b,c){for(var d,e=[],f=b;f<c;f=d){var g=new tb(a.doc,z(a.doc,f),f);d=f+g.size,e.push(g)}return e}function vb(a){ah?ah.ops.push(a):a.ownsGroup=ah={ops:[a],delayedCallbacks:[]}}function wb(a){var b=a.delayedCallbacks,c=0;do{for(;c<b.length;c++)b[c].call(null);for(var d=0;d<a.ops.length;d++){var e=a.ops[d];if(e.cursorActivityHandlers)for(;e.cursorActivityCalled<e.cursorActivityHandlers.length;)e.cursorActivityHandlers[e.cursorActivityCalled++].call(null,e.cm)}}while(c<b.length)}function xb(a,b){var c=a.ownsGroup;if(c)try{wb(c)}finally{ah=null,b(c)}}function yb(a,b){var c=Ca(a,b);if(c.length){var d,e=Array.prototype.slice.call(arguments,2);ah?d=ah.delayedCallbacks:bh?d=bh:(d=bh=[],setTimeout(zb,0));for(var f=function(a){d.push(function(){return c[a].apply(null,e)})},g=0;g<c.length;++g)f(g)}}function zb(){var a=bh;bh=null;for(var b=0;b<a.length;++b)a[b]()}function Ab(a,b,c,d){for(var e=0;e<b.changes.length;e++){var f=b.changes[e];"text"==f?Eb(a,b):"gutter"==f?Gb(a,b,c,d):"class"==f?Fb(b):"widget"==f&&Hb(a,b,d)}b.changes=null}function Bb(a){return a.node==a.text&&(a.node=d("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),gg&&hg<8&&(a.node.style.zIndex=2)),a.node}function Cb(a){var b=a.bgClass?a.bgClass+" "+(a.line.bgClass||""):a.line.bgClass;if(b&&(b+=" CodeMirror-linebackground"),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(d("div",null,b),c.firstChild)}}function Db(a,b){var c=a.display.externalMeasured;return c&&c.line==b.line?(a.display.externalMeasured=null,b.measure=c.measure,c.built):mb(a,b)}function Eb(a,b){var c=b.text.className,d=Db(a,b);b.text==b.node&&(b.node=d.pre),b.text.parentNode.replaceChild(d.pre,b.text),b.text=d.pre,d.bgClass!=b.bgClass||d.textClass!=b.textClass?(b.bgClass=d.bgClass,b.textClass=d.textClass,Fb(b)):c&&(b.text.className=c)}function Fb(a){Cb(a),a.line.wrapClass?Bb(a).className=a.line.wrapClass:a.node!=a.text&&(a.node.className="");var b=a.textClass?a.textClass+" "+(a.line.textClass||""):a.line.textClass;a.text.className=b||""}function Gb(a,b,c,e){if(b.gutter&&(b.node.removeChild(b.gutter),b.gutter=null),b.gutterBackground&&(b.node.removeChild(b.gutterBackground),b.gutterBackground=null),b.line.gutterClass){var f=Bb(b);b.gutterBackground=d("div",null,"CodeMirror-gutter-background "+b.line.gutterClass,"left: "+(a.options.fixedGutter?e.fixedPos:-e.gutterTotalWidth)+"px; width: "+e.gutterTotalWidth+"px"),f.insertBefore(b.gutterBackground,b.text)}var g=b.line.gutterMarkers;if(a.options.lineNumbers||g){var h=Bb(b),i=b.gutter=d("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?e.fixedPos:-e.gutterTotalWidth)+"px");if(a.display.input.setUneditable(i),h.insertBefore(i,b.text),b.line.gutterClass&&(i.className+=" "+b.line.gutterClass),!a.options.lineNumbers||g&&g["CodeMirror-linenumbers"]||(b.lineNumber=i.appendChild(d("div",G(a.options,c),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+e.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),g)for(var j=0;j<a.options.gutters.length;++j){var k=a.options.gutters[j],l=g.hasOwnProperty(k)&&g[k];l&&i.appendChild(d("div",[l],"CodeMirror-gutter-elt","left: "+e.gutterLeft[k]+"px; width: "+e.gutterWidth[k]+"px"))}}}function Hb(a,b,c){b.alignable&&(b.alignable=null);for(var d=b.node.firstChild,e=void 0;d;d=e)e=d.nextSibling,"CodeMirror-linewidget"==d.className&&b.node.removeChild(d);Jb(a,b,c)}function Ib(a,b,c,d){var e=Db(a,b);return b.text=b.node=e.pre,e.bgClass&&(b.bgClass=e.bgClass),e.textClass&&(b.textClass=e.textClass),Fb(b),Gb(a,b,c,d),Jb(a,b,d),b.node}function Jb(a,b,c){if(Kb(a,b.line,b,c,!0),b.rest)for(var d=0;d<b.rest.length;d++)Kb(a,b.rest[d],b,c,!1)}function Kb(a,b,c,e,f){if(b.widgets)for(var g=Bb(c),h=0,i=b.widgets;h<i.length;++h){var j=i[h],k=d("div",[j.node],"CodeMirror-linewidget");j.handleMouseEvents||k.setAttribute("cm-ignore-events","true"),Lb(j,k,c,e),a.display.input.setUneditable(k),f&&j.above?g.insertBefore(k,c.gutter||c.text):g.appendChild(k),yb(j,"redraw")}}function Lb(a,b,c,d){if(a.noHScroll){(c.alignable||(c.alignable=[])).push(b);var e=d.wrapperWidth;b.style.left=d.fixedPos+"px",a.coverGutter||(e-=d.gutterTotalWidth,b.style.paddingLeft=d.gutterTotalWidth+"px"),b.style.width=e+"px"}a.coverGutter&&(b.style.zIndex=5,b.style.position="relative",a.noHScroll||(b.style.marginLeft=-d.gutterTotalWidth+"px"))}function Mb(a){if(null!=a.height)return a.height;var b=a.doc.cm;if(!b)return 0;if(!e(document.body,a.node)){var f="position: relative;";a.coverGutter&&(f+="margin-left: -"+b.display.gutters.offsetWidth+"px;"),a.noHScroll&&(f+="width: "+b.display.wrapper.clientWidth+"px;"),c(b.display.measure,d("div",[a.node],null,f))}return a.height=a.node.parentNode.offsetHeight}function Nb(a,b){for(var c=Na(b);c!=a.wrapper;c=c.parentNode)if(!c||1==c.nodeType&&"true"==c.getAttribute("cm-ignore-events")||c.parentNode==a.sizer&&c!=a.mover)return!0}function Ob(a){return a.lineSpace.offsetTop}function Pb(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Qb(a){if(a.cachedPaddingH)return a.cachedPaddingH;var b=c(a.measure,d("pre","x")),e=window.getComputedStyle?window.getComputedStyle(b):b.currentStyle,f={left:parseInt(e.paddingLeft),right:parseInt(e.paddingRight)};return isNaN(f.left)||isNaN(f.right)||(a.cachedPaddingH=f),f}function Rb(a){return Cg-a.display.nativeBarWidth}function Sb(a){return a.display.scroller.clientWidth-Rb(a)-a.display.barWidth}function Tb(a){return a.display.scroller.clientHeight-Rb(a)-a.display.barHeight}function Ub(a,b,c){var d=a.options.lineWrapping,e=d&&Sb(a);if(!b.measure.heights||d&&b.measure.width!=e){var f=b.measure.heights=[];if(d){b.measure.width=e;for(var g=b.text.firstChild.getClientRects(),h=0;h<g.length-1;h++){var i=g[h],j=g[h+1];Math.abs(i.bottom-j.bottom)>2&&f.push((i.bottom+j.top)/2-c.top)}}f.push(c.bottom-c.top)}}function Vb(a,b,c){if(a.line==b)return{map:a.measure.map,cache:a.measure.cache};for(var d=0;d<a.rest.length;d++)if(a.rest[d]==b)return{map:a.measure.maps[d],cache:a.measure.caches[d]};for(var e=0;e<a.rest.length;e++)if(D(a.rest[e])>c)return{map:a.measure.maps[e],cache:a.measure.caches[e],before:!0}}function Wb(a,b){b=ia(b);var d=D(b),e=a.display.externalMeasured=new tb(a.doc,b,d);e.lineN=d;var f=e.built=mb(a,e);return e.text=f.pre,c(a.display.lineMeasure,f.pre),e}function Xb(a,b,c,d){return $b(a,Zb(a,b),c,d)}function Yb(a,b){if(b>=a.display.viewFrom&&b<a.display.viewTo)return a.display.view[xc(a,b)];var c=a.display.externalMeasured;return c&&b>=c.lineN&&b<c.lineN+c.size?c:void 0}function Zb(a,b){var c=D(b),d=Yb(a,c);d&&!d.text?d=null:d&&d.changes&&(Ab(a,d,c,sc(a)),a.curOp.forceUpdate=!0),d||(d=Wb(a,b));var e=Vb(d,b,c);return{line:b,view:d,rect:null,map:e.map,cache:e.cache,before:e.before,hasHeights:!1}}function $b(a,b,c,d,e){b.before&&(c=-1);var f,g=c+(d||"");return b.cache.hasOwnProperty(g)?f=b.cache[g]:(b.rect||(b.rect=b.view.text.getBoundingClientRect()),b.hasHeights||(Ub(a,b.view,b.rect),b.hasHeights=!0),f=bc(a,b,c,d),f.bogus||(b.cache[g]=f)),{left:f.left,right:f.right,top:e?f.rtop:f.top,bottom:e?f.rbottom:f.bottom}}function _b(a,b,c){for(var d,e,f,g,h,i,j=0;j<a.length;j+=3)if(h=a[j],i=a[j+1],b<h?(e=0,f=1,g="left"):b<i?(e=b-h,f=e+1):(j==a.length-3||b==i&&a[j+3]>b)&&(f=i-h,e=f-1,b>=i&&(g="right")),null!=e){if(d=a[j+2],h==i&&c==(d.insertLeft?"left":"right")&&(g=c),"left"==c&&0==e)for(;j&&a[j-2]==a[j-3]&&a[j-1].insertLeft;)d=a[(j-=3)+2],g="left";if("right"==c&&e==i-h)for(;j<a.length-3&&a[j+3]==a[j+4]&&!a[j+5].insertLeft;)d=a[(j+=3)+2],g="right";break}return{node:d,start:e,end:f,collapse:g,coverStart:h,coverEnd:i}}function ac(a,b){var c=ch;if("left"==b)for(var d=0;d<a.length&&(c=a[d]).left==c.right;d++);else for(var e=a.length-1;e>=0&&(c=a[e]).left==c.right;e--);return c}function bc(a,b,c,d){var e,f=_b(b.map,c,d),g=f.node,h=f.start,i=f.end,j=f.collapse;if(3==g.nodeType){for(var k=0;k<4;k++){for(;h&&x(b.line.text.charAt(f.coverStart+h));)--h;for(;f.coverStart+i<f.coverEnd&&x(b.line.text.charAt(f.coverStart+i));)++i;if(e=gg&&hg<9&&0==h&&i==f.coverEnd-f.coverStart?g.parentNode.getBoundingClientRect():ac(vg(g,h,i).getClientRects(),d),
|
2 |
+
e.left||e.right||0==h)break;i=h,h-=1,j="right"}gg&&hg<11&&(e=cc(a.display.measure,e))}else{h>0&&(j=d="right");var l;e=a.options.lineWrapping&&(l=g.getClientRects()).length>1?l["right"==d?l.length-1:0]:g.getBoundingClientRect()}if(gg&&hg<9&&!h&&(!e||!e.left&&!e.right)){var m=g.parentNode.getClientRects()[0];e=m?{left:m.left,right:m.left+rc(a.display),top:m.top,bottom:m.bottom}:ch}for(var n=e.top-b.rect.top,o=e.bottom-b.rect.top,p=(n+o)/2,q=b.view.measure.heights,r=0;r<q.length-1&&!(p<q[r]);r++);var s=r?q[r-1]:0,t=q[r],u={left:("right"==j?e.right:e.left)-b.rect.left,right:("left"==j?e.left:e.right)-b.rect.left,top:s,bottom:t};return e.left||e.right||(u.bogus=!0),a.options.singleCursorHeightPerLine||(u.rtop=n,u.rbottom=o),u}function cc(a,b){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Ra(a))return b;var c=screen.logicalXDPI/screen.deviceXDPI,d=screen.logicalYDPI/screen.deviceYDPI;return{left:b.left*c,right:b.right*c,top:b.top*d,bottom:b.bottom*d}}function dc(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 ec(a){a.display.externalMeasure=null,b(a.display.lineMeasure);for(var c=0;c<a.display.view.length;c++)dc(a.display.view[c])}function fc(a){ec(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function gc(){return window.pageXOffset||(document.documentElement||document.body).scrollLeft}function hc(){return window.pageYOffset||(document.documentElement||document.body).scrollTop}function ic(a,b,c,d,e){if(!e&&b.widgets)for(var f=0;f<b.widgets.length;++f)if(b.widgets[f].above){var g=Mb(b.widgets[f]);c.top+=g,c.bottom+=g}if("line"==d)return c;d||(d="local");var h=oa(b);if("local"==d?h+=Ob(a.display):h-=a.display.viewOffset,"page"==d||"window"==d){var i=a.display.lineSpace.getBoundingClientRect();h+=i.top+("window"==d?0:hc());var j=i.left+("window"==d?0:gc());c.left+=j,c.right+=j}return c.top+=h,c.bottom+=h,c}function jc(a,b,c){if("div"==c)return b;var d=b.left,e=b.top;if("page"==c)d-=gc(),e-=hc();else if("local"==c||!c){var f=a.display.sizer.getBoundingClientRect();d+=f.left,e+=f.top}var g=a.display.lineSpace.getBoundingClientRect();return{left:d-g.left,top:e-g.top}}function kc(a,b,c,d,e){return d||(d=z(a.doc,b.line)),ic(a,d,Xb(a,d,b.ch,e),c)}function lc(a,b,c,d,e,f){function g(b,g){var h=$b(a,e,b,g?"right":"left",f);return g?h.left=h.right:h.right=h.left,ic(a,d,h,c)}function h(a,b){var c=i[b],d=c.level%2;return a==sa(c)&&b&&c.level<i[b-1].level?(c=i[--b],a=ta(c)-(c.level%2?0:1),d=!0):a==ta(c)&&b<i.length-1&&c.level<i[b+1].level&&(c=i[++b],a=sa(c)-c.level%2,d=!1),d&&a==c.to&&a>c.from?g(a-1):g(a,d)}d=d||z(a.doc,b.line),e||(e=Zb(a,d));var i=Ba(d),j=b.ch;if(!i)return g(j);var k=xa(i,j),l=h(j,k);return null!=Mg&&(l.other=h(j,Mg)),l}function mc(a,b){var c=0;b=N(a.doc,b),a.options.lineWrapping||(c=rc(a.display)*b.ch);var d=z(a.doc,b.line),e=oa(d)+Ob(a.display);return{left:c,right:c,top:e,bottom:e+d.height}}function nc(a,b,c,d){var e=H(a,b);return e.xRel=d,c&&(e.outside=!0),e}function oc(a,b,c){var d=a.doc;if(c+=a.display.viewOffset,c<0)return nc(d.first,0,!0,-1);var e=E(d,c),f=d.first+d.size-1;if(e>f)return nc(d.first+d.size-1,z(d,f).text.length,!0,1);b<0&&(b=0);for(var g=z(d,e);;){var h=pc(a,g,e,b,c),i=ga(g),j=i&&i.find(0,!0);if(!i||!(h.ch>j.from.ch||h.ch==j.from.ch&&h.xRel>0))return h;e=D(g=j.to.line)}}function pc(a,b,c,d,e){function f(d){var e=lc(a,H(c,d),"line",b,j);return h=!0,g>e.bottom?e.left-i:g<e.top?e.left+i:(h=!1,e.left)}var g=e-oa(b),h=!1,i=2*a.display.wrapper.clientWidth,j=Zb(a,b),k=Ba(b),l=b.text.length,m=ua(b),n=va(b),o=f(m),p=h,q=f(n),r=h;if(d>q)return nc(c,n,r,1);for(;;){if(k?n==m||n==za(b,m,1):n-m<=1){var s=d<o||d-o<=q-d?m:n,t=s==m?p:r,u=d-(s==m?o:q);if(r&&!k&&!/\s/.test(b.text.charAt(s))&&u>0&&s<b.text.length&&j.view.measure.heights.length>1){var v=$b(a,j,s,"right");g<=v.bottom&&g>=v.top&&Math.abs(d-v.right)<u&&(t=!1,s++,u=d-v.right)}for(;x(b.text.charAt(s));)++s;var w=nc(c,s,t,u<-1?-1:u>1?1:0);return w}var y=Math.ceil(l/2),z=m+y;if(k){z=m;for(var A=0;A<y;++A)z=za(b,z,1)}var B=f(z);B>d?(n=z,q=B,(r=h)&&(q+=1e3),l=y):(m=z,o=B,p=h,l-=y)}}function qc(a){if(null!=a.cachedTextHeight)return a.cachedTextHeight;if(null==Zg){Zg=d("pre");for(var e=0;e<49;++e)Zg.appendChild(document.createTextNode("x")),Zg.appendChild(d("br"));Zg.appendChild(document.createTextNode("x"))}c(a.measure,Zg);var f=Zg.offsetHeight/50;return f>3&&(a.cachedTextHeight=f),b(a.measure),f||1}function rc(a){if(null!=a.cachedCharWidth)return a.cachedCharWidth;var b=d("span","xxxxxxxxxx"),e=d("pre",[b]);c(a.measure,e);var f=b.getBoundingClientRect(),g=(f.right-f.left)/10;return g>2&&(a.cachedCharWidth=g),g||10}function sc(a){for(var b=a.display,c={},d={},e=b.gutters.clientLeft,f=b.gutters.firstChild,g=0;f;f=f.nextSibling,++g)c[a.options.gutters[g]]=f.offsetLeft+f.clientLeft+e,d[a.options.gutters[g]]=f.clientWidth;return{fixedPos:tc(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:c,gutterWidth:d,wrapperWidth:b.wrapper.clientWidth}}function tc(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function uc(a){var b=qc(a.display),c=a.options.lineWrapping,d=c&&Math.max(5,a.display.scroller.clientWidth/rc(a.display)-3);return function(e){if(ma(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 vc(a){var b=a.doc,c=uc(a);b.iter(function(a){var b=c(a);b!=a.height&&C(a,b)})}function wc(a,b,c,d){var e=a.display;if(!c&&"true"==Na(b).getAttribute("cm-not-content"))return null;var f,g,h=e.lineSpace.getBoundingClientRect();try{f=b.clientX-h.left,g=b.clientY-h.top}catch(b){return null}var i,j=oc(a,f,g);if(d&&1==j.xRel&&(i=z(a.doc,j.line).text).length==j.ch){var l=k(i,i.length,a.options.tabSize)-i.length;j=H(j.line,Math.max(0,Math.round((f-Qb(a.display).left)/rc(a.display))-l))}return j}function xc(a,b){if(b>=a.display.viewTo)return null;if(b-=a.display.viewFrom,b<0)return null;for(var c=a.display.view,d=0;d<c.length;d++)if(b-=c[d].size,b<0)return d}function yc(a){a.display.input.showSelection(a.display.input.prepareSelection())}function zc(a,b){for(var c=a.doc,d={},e=d.cursors=document.createDocumentFragment(),f=d.selection=document.createDocumentFragment(),g=0;g<c.sel.ranges.length;g++)if(b!==!1||g!=c.sel.primIndex){var h=c.sel.ranges[g];if(!(h.from().line>=a.display.viewTo||h.to().line<a.display.viewFrom)){var i=h.empty();(i||a.options.showCursorWhenSelecting)&&Ac(a,h.head,e),i||Bc(a,h,f)}}return d}function Ac(a,b,c){var e=lc(a,b,"div",null,null,!a.options.singleCursorHeightPerLine),f=c.appendChild(d("div"," ","CodeMirror-cursor"));if(f.style.left=e.left+"px",f.style.top=e.top+"px",f.style.height=Math.max(0,e.bottom-e.top)*a.options.cursorHeight+"px",e.other){var g=c.appendChild(d("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));g.style.display="",g.style.left=e.other.left+"px",g.style.top=e.other.top+"px",g.style.height=.85*(e.other.bottom-e.other.top)+"px"}}function Bc(a,b,c){function e(a,b,c,e){b<0&&(b=0),b=Math.round(b),e=Math.round(e),i.appendChild(d("div",null,"CodeMirror-selected","position: absolute; left: "+a+"px;\n top: "+b+"px; width: "+(null==c?l-a:c)+"px;\n height: "+(e-b)+"px"))}function f(b,c,d){function f(c,d){return kc(a,H(b,c),"div",j,d)}var g,i,j=z(h,b),m=j.text.length;return ra(Ba(j),c||0,null==d?m:d,function(a,b,h){var j,n,o,p=f(a,"left");if(a==b)j=p,n=o=p.left;else{if(j=f(b-1,"right"),"rtl"==h){var q=p;p=j,j=q}n=p.left,o=j.right}null==c&&0==a&&(n=k),j.top-p.top>3&&(e(n,p.top,null,p.bottom),n=k,p.bottom<j.top&&e(n,p.bottom,null,j.top)),null==d&&b==m&&(o=l),(!g||p.top<g.top||p.top==g.top&&p.left<g.left)&&(g=p),(!i||j.bottom>i.bottom||j.bottom==i.bottom&&j.right>i.right)&&(i=j),n<k+1&&(n=k),e(n,j.top,o-n,j.bottom)}),{start:g,end:i}}var g=a.display,h=a.doc,i=document.createDocumentFragment(),j=Qb(a.display),k=j.left,l=Math.max(g.sizerWidth,Sb(a)-g.sizer.offsetLeft)-j.right,m=b.from(),n=b.to();if(m.line==n.line)f(m.line,m.ch,n.ch);else{var o=z(h,m.line),p=z(h,n.line),q=ia(o)==ia(p),r=f(m.line,m.ch,q?o.text.length+1:null).end,s=f(n.line,q?0:null,n.ch).start;q&&(r.top<s.top-2?(e(r.right,r.top,null,r.bottom),e(k,s.top,s.left,s.bottom)):e(r.right,r.top,s.left-r.right,r.bottom)),r.bottom<s.top&&e(k,r.bottom,null,s.top)}c.appendChild(i)}function Cc(a){if(a.state.focused){var b=a.display;clearInterval(b.blinker);var c=!0;b.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?b.blinker=setInterval(function(){return b.cursorDiv.style.visibility=(c=!c)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(b.cursorDiv.style.visibility="hidden")}}function Dc(a){a.state.focused||(a.display.input.focus(),Fc(a))}function Ec(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,Gc(a))},100)}function Fc(a,b){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),"nocursor"!=a.options.readOnly&&(a.state.focused||(Ea(a,"focus",a,b),a.state.focused=!0,g(a.display.wrapper,"CodeMirror-focused"),a.curOp||a.display.selForContextMenu==a.doc.sel||(a.display.input.reset(),ig&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Cc(a))}function Gc(a,b){a.state.delayingBlurEvent||(a.state.focused&&(Ea(a,"blur",a,b),a.state.focused=!1,yg(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Hc(a){var b=a.display,c=b.view;if(b.alignWidgets||b.gutters.firstChild&&a.options.fixedGutter){for(var d=tc(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),c[g].gutterBackground&&(c[g].gutterBackground.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 Ic(a){if(!a.options.lineNumbers)return!1;var b=a.doc,c=G(a.options,b.first+b.size-1),e=a.display;if(c.length!=e.lineNumChars){var f=e.measure.appendChild(d("div",[d("div",c)],"CodeMirror-linenumber CodeMirror-gutter-elt")),g=f.firstChild.offsetWidth,h=f.offsetWidth-g;return e.lineGutter.style.width="",e.lineNumInnerWidth=Math.max(g,e.lineGutter.offsetWidth-h)+1,e.lineNumWidth=e.lineNumInnerWidth+h,e.lineNumChars=e.lineNumInnerWidth?c.length:-1,e.lineGutter.style.width=e.lineNumWidth+"px",Cd(a),!0}return!1}function Jc(a){for(var b=a.display,c=b.lineDiv.offsetTop,d=0;d<b.view.length;d++){var e=b.view[d],f=void 0;if(!e.hidden){if(gg&&hg<8){var g=e.node.offsetTop+e.node.offsetHeight;f=g-c,c=g}else{var h=e.node.getBoundingClientRect();f=h.bottom-h.top}var i=e.line.height-f;if(f<2&&(f=qc(b)),(i>.001||i<-.001)&&(C(e.line,f),Kc(e.line),e.rest))for(var j=0;j<e.rest.length;j++)Kc(e.rest[j])}}}function Kc(a){if(a.widgets)for(var b=0;b<a.widgets.length;++b)a.widgets[b].height=a.widgets[b].node.parentNode.offsetHeight}function Lc(a,b,c){var d=c&&null!=c.top?Math.max(0,c.top):a.scroller.scrollTop;d=Math.floor(d-Ob(a));var e=c&&null!=c.bottom?c.bottom:d+a.wrapper.clientHeight,f=E(b,d),g=E(b,e);if(c&&c.ensure){var h=c.ensure.from.line,i=c.ensure.to.line;h<f?(f=h,g=E(b,oa(z(b,h))+a.wrapper.clientHeight)):Math.min(i,b.lastLine())>=g&&(f=E(b,oa(z(b,i))-a.wrapper.clientHeight),g=i)}return{from:f,to:Math.max(g,f+1)}}function Mc(a,b){Math.abs(a.doc.scrollTop-b)<2||(a.doc.scrollTop=b,dg||Ad(a,{top:b}),a.display.scroller.scrollTop!=b&&(a.display.scroller.scrollTop=b),a.display.scrollbars.setScrollTop(b),dg&&Ad(a),ud(a,100))}function Nc(a,b,c){(c?b==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-b)<2)||(b=Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth),a.doc.scrollLeft=b,Hc(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function Oc(a){var b=a.wheelDeltaX,c=a.wheelDeltaY;return null==b&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(b=a.detail),null==c&&a.detail&&a.axis==a.VERTICAL_AXIS?c=a.detail:null==c&&(c=a.wheelDelta),{x:b,y:c}}function Pc(a){var b=Oc(a);return b.x*=eh,b.y*=eh,b}function Qc(a,b){var c=Oc(b),d=c.x,e=c.y,f=a.display,g=f.scroller,h=g.scrollWidth>g.clientWidth,i=g.scrollHeight>g.clientHeight;if(d&&h||e&&i){if(e&&rg&&ig)a:for(var j=b.target,k=f.view;j!=g;j=j.parentNode)for(var l=0;l<k.length;l++)if(k[l].node==j){a.display.currentWheelTarget=j;break a}if(d&&!dg&&!lg&&null!=eh)return e&&i&&Mc(a,Math.max(0,Math.min(g.scrollTop+e*eh,g.scrollHeight-g.clientHeight))),Nc(a,Math.max(0,Math.min(g.scrollLeft+d*eh,g.scrollWidth-g.clientWidth))),(!e||e&&i)&&Ja(b),void(f.wheelStartX=null);if(e&&null!=eh){var m=e*eh,n=a.doc.scrollTop,o=n+f.wrapper.clientHeight;m<0?n=Math.max(0,n+m-50):o=Math.min(a.doc.height,o+m+50),Ad(a,{top:n,bottom:o})}dh<20&&(null==f.wheelStartX?(f.wheelStartX=g.scrollLeft,f.wheelStartY=g.scrollTop,f.wheelDX=d,f.wheelDY=e,setTimeout(function(){if(null!=f.wheelStartX){var a=g.scrollLeft-f.wheelStartX,b=g.scrollTop-f.wheelStartY,c=b&&f.wheelDY&&b/f.wheelDY||a&&f.wheelDX&&a/f.wheelDX;f.wheelStartX=f.wheelStartY=null,c&&(eh=(eh*dh+c)/(dh+1),++dh)}},200)):(f.wheelDX+=d,f.wheelDY+=e))}}function Rc(a){var b=a.display,c=b.gutters.offsetWidth,d=Math.round(a.doc.height+Pb(a.display));return{clientHeight:b.scroller.clientHeight,viewHeight:b.wrapper.clientHeight,scrollWidth:b.scroller.scrollWidth,clientWidth:b.scroller.clientWidth,viewWidth:b.wrapper.clientWidth,barLeft:a.options.fixedGutter?c:0,docHeight:d,scrollHeight:d+Rb(a)+b.barHeight,nativeBarWidth:b.nativeBarWidth,gutterWidth:c}}function Sc(a,b,c){this.cm=c;var e=this.vert=d("div",[d("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),f=this.horiz=d("div",[d("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");a(e),a(f),Pg(e,"scroll",function(){e.clientHeight&&b(e.scrollTop,"vertical")}),Pg(f,"scroll",function(){f.clientWidth&&b(f.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,gg&&hg<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}function Tc(){}function Uc(a,b){b||(b=Rc(a));var c=a.display.barWidth,d=a.display.barHeight;Vc(a,b);for(var e=0;e<4&&c!=a.display.barWidth||d!=a.display.barHeight;e++)c!=a.display.barWidth&&a.options.lineWrapping&&Jc(a),Vc(a,Rc(a)),c=a.display.barWidth,d=a.display.barHeight}function Vc(a,b){var c=a.display,d=c.scrollbars.update(b);c.sizer.style.paddingRight=(c.barWidth=d.right)+"px",c.sizer.style.paddingBottom=(c.barHeight=d.bottom)+"px",c.heightForcer.style.borderBottom=d.bottom+"px solid transparent",d.right&&d.bottom?(c.scrollbarFiller.style.display="block",c.scrollbarFiller.style.height=d.bottom+"px",c.scrollbarFiller.style.width=d.right+"px"):c.scrollbarFiller.style.display="",d.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(c.gutterFiller.style.display="block",c.gutterFiller.style.height=d.bottom+"px",c.gutterFiller.style.width=b.gutterWidth+"px"):c.gutterFiller.style.display=""}function Wc(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&yg(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new fh[a.options.scrollbarStyle](function(b){a.display.wrapper.insertBefore(b,a.display.scrollbarFiller),Pg(b,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),b.setAttribute("cm-not-content","true")},function(b,c){"horizontal"==c?Nc(a,b):Mc(a,b)},a),a.display.scrollbars.addClass&&g(a.display.wrapper,a.display.scrollbars.addClass)}function Xc(a,b){if(!Fa(a,"scrollCursorIntoView")){var c=a.display,e=c.sizer.getBoundingClientRect(),f=null;if(b.top+e.top<0?f=!0:b.bottom+e.top>(window.innerHeight||document.documentElement.clientHeight)&&(f=!1),null!=f&&!og){var g=d("div","",null,"position: absolute;\n top: "+(b.top-c.viewOffset-Ob(a.display))+"px;\n height: "+(b.bottom-b.top+Rb(a)+c.barHeight)+"px;\n left: "+b.left+"px; width: 2px;");a.display.lineSpace.appendChild(g),g.scrollIntoView(f),a.display.lineSpace.removeChild(g)}}}function Yc(a,b,c,d){null==d&&(d=0);for(var e,f=0;f<5;f++){var g=!1;e=lc(a,b);var h=c&&c!=b?lc(a,c):e,i=$c(a,Math.min(e.left,h.left),Math.min(e.top,h.top)-d,Math.max(e.left,h.left),Math.max(e.bottom,h.bottom)+d),j=a.doc.scrollTop,k=a.doc.scrollLeft;if(null!=i.scrollTop&&(Mc(a,i.scrollTop),Math.abs(a.doc.scrollTop-j)>1&&(g=!0)),null!=i.scrollLeft&&(Nc(a,i.scrollLeft),Math.abs(a.doc.scrollLeft-k)>1&&(g=!0)),!g)break}return e}function Zc(a,b,c,d,e){var f=$c(a,b,c,d,e);null!=f.scrollTop&&Mc(a,f.scrollTop),null!=f.scrollLeft&&Nc(a,f.scrollLeft)}function $c(a,b,c,d,e){var f=a.display,g=qc(a.display);c<0&&(c=0);var h=a.curOp&&null!=a.curOp.scrollTop?a.curOp.scrollTop:f.scroller.scrollTop,i=Tb(a),j={};e-c>i&&(e=c+i);var k=a.doc.height+Pb(f),l=c<g,m=e>k-g;if(c<h)j.scrollTop=l?0:c;else if(e>h+i){var n=Math.min(c,(m?k:e)-i);n!=h&&(j.scrollTop=n)}var o=a.curOp&&null!=a.curOp.scrollLeft?a.curOp.scrollLeft:f.scroller.scrollLeft,p=Sb(a)-(a.options.fixedGutter?f.gutters.offsetWidth:0),q=d-b>p;return q&&(d=b+p),b<10?j.scrollLeft=0:b<o?j.scrollLeft=Math.max(0,b-(q?0:10)):d>p+o-3&&(j.scrollLeft=d+(q?0:10)-p),j}function _c(a,b,c){null==b&&null==c||bd(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 ad(a){bd(a);var b=a.getCursor(),c=b,d=b;a.options.lineWrapping||(c=b.ch?H(b.line,b.ch-1):b,d=H(b.line,b.ch+1)),a.curOp.scrollToPos={from:c,to:d,margin:a.options.cursorScrollMargin,isCursor:!0}}function bd(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var c=mc(a,b.from),d=mc(a,b.to),e=$c(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(e.scrollLeft,e.scrollTop)}}function cd(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++gh},vb(a.curOp)}function dd(a){var b=a.curOp;xb(b,function(a){for(var b=0;b<a.ops.length;b++)a.ops[b].cm.curOp=null;ed(a)})}function ed(a){for(var b=a.ops,c=0;c<b.length;c++)fd(b[c]);for(var d=0;d<b.length;d++)gd(b[d]);for(var e=0;e<b.length;e++)hd(b[e]);for(var f=0;f<b.length;f++)id(b[f]);for(var g=0;g<b.length;g++)jd(b[g])}function fd(a){var b=a.cm,c=b.display;xd(b),a.updateMaxLine&&qa(b),a.mustUpdate=a.viewChanged||a.forceUpdate||null!=a.scrollTop||a.scrollToPos&&(a.scrollToPos.from.line<c.viewFrom||a.scrollToPos.to.line>=c.viewTo)||c.maxLineChanged&&b.options.lineWrapping,a.update=a.mustUpdate&&new wd(b,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function gd(a){a.updatedDisplay=a.mustUpdate&&yd(a.cm,a.update)}function hd(a){var b=a.cm,c=b.display;a.updatedDisplay&&Jc(b),a.barMeasure=Rc(b),c.maxLineChanged&&!b.options.lineWrapping&&(a.adjustWidthTo=Xb(b,c.maxLine,c.maxLine.text.length).left+3,b.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(c.scroller.clientWidth,c.sizer.offsetLeft+a.adjustWidthTo+Rb(b)+b.display.barWidth),a.maxScrollLeft=Math.max(0,c.sizer.offsetLeft+a.adjustWidthTo-Sb(b))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=c.input.prepareSelection(a.focus))}function id(a){var b=a.cm;null!=a.adjustWidthTo&&(b.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<b.doc.scrollLeft&&Nc(b,Math.min(b.display.scroller.scrollLeft,a.maxScrollLeft),!0),b.display.maxLineChanged=!1);var c=a.focus&&a.focus==f()&&(!document.hasFocus||document.hasFocus());a.preparedSelection&&b.display.input.showSelection(a.preparedSelection,c),(a.updatedDisplay||a.startHeight!=b.doc.height)&&Uc(b,a.barMeasure),a.updatedDisplay&&Dd(b,a.barMeasure),a.selectionChanged&&Cc(b),b.state.focused&&a.updateInput&&b.display.input.reset(a.typing),c&&Dc(a.cm)}function jd(a){var b=a.cm,c=b.display,d=b.doc;if(a.updatedDisplay&&zd(b,a.update),null==c.wheelStartX||null==a.scrollTop&&null==a.scrollLeft&&!a.scrollToPos||(c.wheelStartX=c.wheelStartY=null),null==a.scrollTop||c.scroller.scrollTop==a.scrollTop&&!a.forceScroll||(d.scrollTop=Math.max(0,Math.min(c.scroller.scrollHeight-c.scroller.clientHeight,a.scrollTop)),c.scrollbars.setScrollTop(d.scrollTop),c.scroller.scrollTop=d.scrollTop),null==a.scrollLeft||c.scroller.scrollLeft==a.scrollLeft&&!a.forceScroll||(d.scrollLeft=Math.max(0,Math.min(c.scroller.scrollWidth-c.scroller.clientWidth,a.scrollLeft)),c.scrollbars.setScrollLeft(d.scrollLeft),c.scroller.scrollLeft=d.scrollLeft,Hc(b)),a.scrollToPos){var e=Yc(b,N(d,a.scrollToPos.from),N(d,a.scrollToPos.to),a.scrollToPos.margin);a.scrollToPos.isCursor&&b.state.focused&&Xc(b,e)}var f=a.maybeHiddenMarkers,g=a.maybeUnhiddenMarkers;if(f)for(var h=0;h<f.length;++h)f[h].lines.length||Ea(f[h],"hide");if(g)for(var i=0;i<g.length;++i)g[i].lines.length&&Ea(g[i],"unhide");c.wrapper.offsetHeight&&(d.scrollTop=b.display.scroller.scrollTop),a.changeObjs&&Ea(b,"changes",b,a.changeObjs),a.update&&a.update.finish()}function kd(a,b){if(a.curOp)return b();cd(a);try{return b()}finally{dd(a)}}function ld(a,b){return function(){if(a.curOp)return b.apply(a,arguments);cd(a);try{return b.apply(a,arguments)}finally{dd(a)}}}function md(a){return function(){if(this.curOp)return a.apply(this,arguments);cd(this);try{return a.apply(this,arguments)}finally{dd(this)}}}function nd(a){return function(){var b=this.cm;if(!b||b.curOp)return a.apply(this,arguments);cd(b);try{return a.apply(this,arguments)}finally{dd(b)}}}function od(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,b>=e.viewTo)Lg&&ka(a.doc,b)<e.viewTo&&qd(a);else if(c<=e.viewFrom)Lg&&la(a.doc,c+d)>e.viewFrom?qd(a):(e.viewFrom+=d,e.viewTo+=d);else if(b<=e.viewFrom&&c>=e.viewTo)qd(a);else if(b<=e.viewFrom){var f=rd(a,c,c+d,1);f?(e.view=e.view.slice(f.index),e.viewFrom=f.lineN,e.viewTo+=d):qd(a)}else if(c>=e.viewTo){var g=rd(a,b,b,-1);g?(e.view=e.view.slice(0,g.index),e.viewTo=g.lineN):qd(a)}else{var h=rd(a,b,b,-1),i=rd(a,c,c+d,1);h&&i?(e.view=e.view.slice(0,h.index).concat(ub(a,h.lineN,i.lineN)).concat(e.view.slice(i.index)),e.viewTo+=d):qd(a)}var j=e.externalMeasured;j&&(c<j.lineN?j.lineN+=d:b<j.lineN+j.size&&(e.externalMeasured=null))}function pd(a,b,c){a.curOp.viewChanged=!0;var d=a.display,e=a.display.externalMeasured;if(e&&b>=e.lineN&&b<e.lineN+e.size&&(d.externalMeasured=null),!(b<d.viewFrom||b>=d.viewTo)){var f=d.view[xc(a,b)];if(null!=f.node){var g=f.changes||(f.changes=[]);m(g,c)==-1&&g.push(c)}}}function qd(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function rd(a,b,c,d){var e,f=xc(a,b),g=a.display.view;if(!Lg||c==a.doc.first+a.doc.size)return{index:f,lineN:c};for(var h=a.display.viewFrom,i=0;i<f;i++)h+=g[i].size;if(h!=b){if(d>0){if(f==g.length-1)return null;e=h+g[f].size-b,f++}else e=h-b;b+=e,c+=e}for(;ka(a.doc,c)!=c;){if(f==(d<0?0:g.length-1))return null;c+=d*g[f-(d<0?1:0)].size,f+=d}return{index:f,lineN:c}}function sd(a,b,c){var d=a.display,e=d.view;0==e.length||b>=d.viewTo||c<=d.viewFrom?(d.view=ub(a,b,c),d.viewFrom=b):(d.viewFrom>b?d.view=ub(a,b,d.viewFrom).concat(d.view):d.viewFrom<b&&(d.view=d.view.slice(xc(a,b))),d.viewFrom=b,d.viewTo<c?d.view=d.view.concat(ub(a,d.viewTo,c)):d.viewTo>c&&(d.view=d.view.slice(0,xc(a,c)))),d.viewTo=c}function td(a){for(var b=a.display.view,c=0,d=0;d<b.length;d++){var e=b[d];e.hidden||e.node&&!e.changes||++c}return c}function ud(a,b){a.doc.mode.startState&&a.doc.frontier<a.display.viewTo&&a.state.highlight.set(b,i(vd,a))}function vd(a){var b=a.doc;if(b.frontier<b.first&&(b.frontier=b.first),!(b.frontier>=a.display.viewTo)){var c=+new Date+a.options.workTime,d=Xa(b.mode,ab(a,b.frontier)),e=[];b.iter(b.frontier,Math.min(b.first+b.size,a.display.viewTo+500),function(f){if(b.frontier>=a.display.viewFrom){var g=f.styles,h=f.text.length>a.options.maxHighlightLength,i=$a(a,f,h?Xa(b.mode,d):d,!0);f.styles=i.styles;var j=f.styleClasses,k=i.classes;k?f.styleClasses=k:j&&(f.styleClasses=null);for(var l=!g||g.length!=f.styles.length||j!=k&&(!j||!k||j.bgClass!=k.bgClass||j.textClass!=k.textClass),m=0;!l&&m<g.length;++m)l=g[m]!=f.styles[m];l&&e.push(b.frontier),f.stateAfter=h?d:Xa(b.mode,d)}else f.text.length<=a.options.maxHighlightLength&&bb(a,f.text,d),f.stateAfter=b.frontier%5==0?Xa(b.mode,d):null;if(++b.frontier,+new Date>c)return ud(a,a.options.workDelay),!0}),e.length&&kd(a,function(){for(var b=0;b<e.length;b++)pd(a,e[b],"text")})}}function wd(a,b,c){var d=a.display;this.viewport=b,this.visible=Lc(d,a.doc,b),this.editorIsHidden=!d.wrapper.offsetWidth,this.wrapperHeight=d.wrapper.clientHeight,this.wrapperWidth=d.wrapper.clientWidth,this.oldDisplayWidth=Sb(a),this.force=c,this.dims=sc(a),this.events=[]}function xd(a){var b=a.display;!b.scrollbarsClipped&&b.scroller.offsetWidth&&(b.nativeBarWidth=b.scroller.offsetWidth-b.scroller.clientWidth,b.heightForcer.style.height=Rb(a)+"px",b.sizer.style.marginBottom=-b.nativeBarWidth+"px",b.sizer.style.borderRightWidth=Rb(a)+"px",b.scrollbarsClipped=!0)}function yd(a,c){var d=a.display,e=a.doc;if(c.editorIsHidden)return qd(a),!1;if(!c.force&&c.visible.from>=d.viewFrom&&c.visible.to<=d.viewTo&&(null==d.updateLineNumbers||d.updateLineNumbers>=d.viewTo)&&d.renderedView==d.view&&0==td(a))return!1;Ic(a)&&(qd(a),c.dims=sc(a));var g=e.first+e.size,h=Math.max(c.visible.from-a.options.viewportMargin,e.first),i=Math.min(g,c.visible.to+a.options.viewportMargin);d.viewFrom<h&&h-d.viewFrom<20&&(h=Math.max(e.first,d.viewFrom)),d.viewTo>i&&d.viewTo-i<20&&(i=Math.min(g,d.viewTo)),Lg&&(h=ka(a.doc,h),i=la(a.doc,i));var j=h!=d.viewFrom||i!=d.viewTo||d.lastWrapHeight!=c.wrapperHeight||d.lastWrapWidth!=c.wrapperWidth;sd(a,h,i),d.viewOffset=oa(z(a.doc,d.viewFrom)),a.display.mover.style.top=d.viewOffset+"px";var k=td(a);if(!j&&0==k&&!c.force&&d.renderedView==d.view&&(null==d.updateLineNumbers||d.updateLineNumbers>=d.viewTo))return!1;var l=f();return k>4&&(d.lineDiv.style.display="none"),Bd(a,d.updateLineNumbers,c.dims),k>4&&(d.lineDiv.style.display=""),d.renderedView=d.view,l&&f()!=l&&l.offsetHeight&&l.focus(),b(d.cursorDiv),b(d.selectionDiv),d.gutters.style.height=d.sizer.style.minHeight=0,j&&(d.lastWrapHeight=c.wrapperHeight,d.lastWrapWidth=c.wrapperWidth,ud(a,400)),d.updateLineNumbers=null,!0}function zd(a,b){for(var c=b.viewport,d=!0;(d&&a.options.lineWrapping&&b.oldDisplayWidth!=Sb(a)||(c&&null!=c.top&&(c={top:Math.min(a.doc.height+Pb(a.display)-Tb(a),c.top)}),b.visible=Lc(a.display,a.doc,c),!(b.visible.from>=a.display.viewFrom&&b.visible.to<=a.display.viewTo)))&&yd(a,b);d=!1){Jc(a);var e=Rc(a);yc(a),Uc(a,e),Dd(a,e)}b.signal(a,"update",a),a.display.viewFrom==a.display.reportedViewFrom&&a.display.viewTo==a.display.reportedViewTo||(b.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Ad(a,b){var c=new wd(a,b);if(yd(a,c)){Jc(a),zd(a,c);var d=Rc(a);yc(a),Uc(a,d),Dd(a,d),c.finish()}}function Bd(a,c,d){function e(b){var c=b.nextSibling;return ig&&rg&&a.display.currentWheelTarget==b?b.style.display="none":b.parentNode.removeChild(b),c}for(var f=a.display,g=a.options.lineNumbers,h=f.lineDiv,i=h.firstChild,j=f.view,k=f.viewFrom,l=0;l<j.length;l++){var n=j[l];if(n.hidden);else if(n.node&&n.node.parentNode==h){for(;i!=n.node;)i=e(i);var o=g&&null!=c&&c<=k&&n.lineNumber;n.changes&&(m(n.changes,"gutter")>-1&&(o=!1),Ab(a,n,k,d)),o&&(b(n.lineNumber),n.lineNumber.appendChild(document.createTextNode(G(a.options,k)))),i=n.node.nextSibling}else{var p=Ib(a,n,k,d);h.insertBefore(p,i)}k+=n.size}for(;i;)i=e(i)}function Cd(a){var b=a.display.gutters.offsetWidth;a.display.sizer.style.marginLeft=b+"px"}function Dd(a,b){a.display.sizer.style.minHeight=b.docHeight+"px",a.display.heightForcer.style.top=b.docHeight+"px",a.display.gutters.style.height=b.docHeight+a.display.barHeight+Rb(a)+"px"}function Ed(a){var c=a.display.gutters,e=a.options.gutters;b(c);for(var f=0;f<e.length;++f){var g=e[f],h=c.appendChild(d("div",null,"CodeMirror-gutter "+g));"CodeMirror-linenumbers"==g&&(a.display.lineGutter=h,h.style.width=(a.display.lineNumWidth||1)+"px")}c.style.display=f?"":"none",Cd(a)}function Fd(a){var b=m(a.gutters,"CodeMirror-linenumbers");b==-1&&a.lineNumbers?a.gutters=a.gutters.concat(["CodeMirror-linenumbers"]):b>-1&&!a.lineNumbers&&(a.gutters=a.gutters.slice(0),a.gutters.splice(b,1))}function Gd(a,b){this.ranges=a,this.primIndex=b}function Hd(a,b){this.anchor=a,this.head=b}function Id(a,b){var c=a[b];a.sort(function(a,b){return I(a.from(),b.from())}),b=m(a,c);for(var d=1;d<a.length;d++){var e=a[d],f=a[d-1];if(I(f.to(),e.from())>=0){var g=L(f.from(),e.from()),h=K(f.to(),e.to()),i=f.empty()?e.from()==e.head:f.from()==f.head;d<=b&&--b,a.splice(--d,2,new Hd(i?h:g,i?g:h))}}return new Gd(a,b)}function Jd(a,b){return new Gd([new Hd(a,b||a)],0)}function Kd(a){return a.text?H(a.from.line+a.text.length-1,p(a.text).length+(1==a.text.length?a.from.ch:0)):a.to}function Ld(a,b){if(I(a,b.from)<0)return a;if(I(a,b.to)<=0)return Kd(b);var c=a.line+b.text.length-(b.to.line-b.from.line)-1,d=a.ch;return a.line==b.to.line&&(d+=Kd(b).ch-b.to.ch),H(c,d)}function Md(a,b){for(var c=[],d=0;d<a.sel.ranges.length;d++){var e=a.sel.ranges[d];c.push(new Hd(Ld(e.anchor,b),Ld(e.head,b)))}return Id(c,a.sel.primIndex)}function Nd(a,b,c){return a.line==b.line?H(c.line,a.ch-b.ch+c.ch):H(c.line+(a.line-b.line),a.ch)}function Od(a,b,c){for(var d=[],e=H(a.first,0),f=e,g=0;g<b.length;g++){var h=b[g],i=Nd(h.from,e,f),j=Nd(Kd(h),e,f);if(e=h.to,f=j,"around"==c){var k=a.sel.ranges[g],l=I(k.head,k.anchor)<0;d[g]=new Hd(l?j:i,l?i:j)}else d[g]=new Hd(i,i)}return new Gd(d,a.sel.primIndex)}function Pd(a){a.doc.mode=Va(a.options,a.doc.modeOption),Qd(a)}function Qd(a){a.doc.iter(function(a){a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null)}),a.doc.frontier=a.doc.first,ud(a,100),a.state.modeGen++,a.curOp&&od(a)}function Rd(a,b){return 0==b.from.ch&&0==b.to.ch&&""==p(b.text)&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Sd(a,b,c,d){function e(a){return c?c[a]:null}function f(a,c,e){jb(a,c,e,d),yb(a,"change",a,b)}function g(a,b){for(var c=[],f=a;f<b;++f)c.push(new ib(j[f],e(f),d));return c}var h=b.from,i=b.to,j=b.text,k=z(a,h.line),l=z(a,i.line),m=p(j),n=e(j.length-1),o=i.line-h.line;if(b.full)a.insert(0,g(0,j.length)),a.remove(j.length,a.size-j.length);else if(Rd(a,b)){var q=g(0,j.length-1);f(l,l.text,n),o&&a.remove(h.line,o),q.length&&a.insert(h.line,q)}else if(k==l)if(1==j.length)f(k,k.text.slice(0,h.ch)+m+k.text.slice(i.ch),n);else{var r=g(1,j.length-1);r.push(new ib(m+k.text.slice(i.ch),n,d)),f(k,k.text.slice(0,h.ch)+j[0],e(0)),a.insert(h.line+1,r)}else if(1==j.length)f(k,k.text.slice(0,h.ch)+j[0]+l.text.slice(i.ch),e(0)),a.remove(h.line+1,o);else{f(k,k.text.slice(0,h.ch)+j[0],e(0)),f(l,m+l.text.slice(i.ch),n);var s=g(1,j.length-1);o>1&&a.remove(h.line+1,o-1),a.insert(h.line+1,s)}yb(a,"change",a,b)}function Td(a,b,c){function d(a,e,f){if(a.linked)for(var g=0;g<a.linked.length;++g){var h=a.linked[g];if(h.doc!=e){var i=f&&h.sharedHist;c&&!i||(b(h.doc,i),d(h.doc,a,i))}}}d(a,null,!0)}function Ud(a,b){if(b.cm)throw new Error("This document is already in use.");a.doc=b,b.cm=a,vc(a),Pd(a),a.options.lineWrapping||qa(a),a.options.mode=b.modeOption,od(a)}function Vd(a){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=a||1}function Wd(a,b){var c={from:J(b.from),
|
3 |
+
to:Kd(b),text:A(a,b.from,b.to)};return be(a,c,b.from.line,b.to.line+1),Td(a,function(a){return be(a,c,b.from.line,b.to.line+1)},!0),c}function Xd(a){for(;a.length;){var b=p(a);if(!b.ranges)break;a.pop()}}function Yd(a,b){return b?(Xd(a.done),p(a.done)):a.done.length&&!p(a.done).ranges?p(a.done):a.done.length>1&&!a.done[a.done.length-2].ranges?(a.done.pop(),p(a.done)):void 0}function Zd(a,b,c,d){var e=a.history;e.undone.length=0;var f,g,h=+new Date;if((e.lastOp==d||e.lastOrigin==b.origin&&b.origin&&("+"==b.origin.charAt(0)&&a.cm&&e.lastModTime>h-a.cm.options.historyEventDelay||"*"==b.origin.charAt(0)))&&(f=Yd(e,e.lastOp==d)))g=p(f.changes),0==I(b.from,b.to)&&0==I(b.from,g.to)?g.to=Kd(b):f.changes.push(Wd(a,b));else{var i=p(e.done);for(i&&i.ranges||ae(a.sel,e.done),f={changes:[Wd(a,b)],generation:e.generation},e.done.push(f);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=h,e.lastOp=e.lastSelOp=d,e.lastOrigin=e.lastSelOrigin=b.origin,g||Ea(a,"historyAdded")}function $d(a,b,c,d){var e=b.charAt(0);return"*"==e||"+"==e&&c.ranges.length==d.ranges.length&&c.somethingSelected()==d.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function _d(a,b,c,d){var e=a.history,f=d&&d.origin;c==e.lastSelOp||f&&e.lastSelOrigin==f&&(e.lastModTime==e.lastSelTime&&e.lastOrigin==f||$d(a,f,p(e.done),b))?e.done[e.done.length-1]=b:ae(b,e.done),e.lastSelTime=+new Date,e.lastSelOrigin=f,e.lastSelOp=c,d&&d.clearRedo!==!1&&Xd(e.undone)}function ae(a,b){var c=p(b);c&&c.ranges&&c.equals(a)||b.push(a)}function be(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 ce(a){if(!a)return null;for(var b,c=0;c<a.length;++c)a[c].marker.explicitlyCleared?b||(b=a.slice(0,c)):b&&b.push(a[c]);return b?b.length?b:null:a}function de(a,b){var c=b["spans_"+a.id];if(!c)return null;for(var d=[],e=0;e<b.text.length;++e)d.push(ce(c[e]));return d}function ee(a,b){var c=de(a,b),d=Y(a,b);if(!c)return d;if(!d)return c;for(var e=0;e<c.length;++e){var f=c[e],g=d[e];if(f&&g)a:for(var h=0;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 fe(a,b,c){for(var d=[],e=0;e<a.length;++e){var f=a[e];if(f.ranges)d.push(c?Gd.prototype.deepCopy.call(f):f);else{var g=f.changes,h=[];d.push({changes:h});for(var i=0;i<g.length;++i){var j=g[i],k=void 0;if(h.push({from:j.from,to:j.to,text:j.text}),b)for(var l in j)(k=l.match(/^spans_(\d+)$/))&&m(b,Number(k[1]))>-1&&(p(h)[l]=j[l],delete j[l])}}}return d}function ge(a,b,c,d){if(a.cm&&a.cm.display.shift||a.extend){var e=b.anchor;if(d){var f=I(c,e)<0;f!=I(d,e)<0?(e=c,c=d):f!=I(c,d)<0&&(c=d)}return new Hd(e,c)}return new Hd(d||c,c)}function he(a,b,c,d){ne(a,new Gd([ge(a,a.sel.primary(),b,c)],0),d)}function ie(a,b,c){for(var d=[],e=0;e<a.sel.ranges.length;e++)d[e]=ge(a,a.sel.ranges[e],b[e],null);var f=Id(d,a.sel.primIndex);ne(a,f,c)}function je(a,b,c,d){var e=a.sel.ranges.slice(0);e[b]=c,ne(a,Id(e,a.sel.primIndex),d)}function ke(a,b,c,d){ne(a,Jd(b,c),d)}function le(a,b,c){var d={ranges:b.ranges,update:function(b){var c=this;this.ranges=[];for(var d=0;d<b.length;d++)c.ranges[d]=new Hd(N(a,b[d].anchor),N(a,b[d].head))},origin:c&&c.origin};return Ea(a,"beforeSelectionChange",a,d),a.cm&&Ea(a.cm,"beforeSelectionChange",a.cm,d),d.ranges!=b.ranges?Id(d.ranges,d.ranges.length-1):b}function me(a,b,c){var d=a.history.done,e=p(d);e&&e.ranges?(d[d.length-1]=b,oe(a,b,c)):ne(a,b,c)}function ne(a,b,c){oe(a,b,c),_d(a,a.sel,a.cm?a.cm.curOp.id:NaN,c)}function oe(a,b,c){(Ha(a,"beforeSelectionChange")||a.cm&&Ha(a.cm,"beforeSelectionChange"))&&(b=le(a,b,c));var d=c&&c.bias||(I(b.primary().head,a.sel.primary().head)<0?-1:1);pe(a,re(a,b,d,!0)),c&&c.scroll===!1||!a.cm||ad(a.cm)}function pe(a,b){b.equals(a.sel)||(a.sel=b,a.cm&&(a.cm.curOp.updateInput=a.cm.curOp.selectionChanged=!0,Ga(a.cm)),yb(a,"cursorActivity",a))}function qe(a){pe(a,re(a,a.sel,null,!1),Eg)}function re(a,b,c,d){for(var e,f=0;f<b.ranges.length;f++){var g=b.ranges[f],h=b.ranges.length==a.sel.ranges.length&&a.sel.ranges[f],i=te(a,g.anchor,h&&h.anchor,c,d),j=te(a,g.head,h&&h.head,c,d);(e||i!=g.anchor||j!=g.head)&&(e||(e=b.ranges.slice(0,f)),e[f]=new Hd(i,j))}return e?Id(e,b.primIndex):b}function se(a,b,c,d,e){var f=z(a,b.line);if(f.markedSpans)for(var g=0;g<f.markedSpans.length;++g){var h=f.markedSpans[g],i=h.marker;if((null==h.from||(i.inclusiveLeft?h.from<=b.ch:h.from<b.ch))&&(null==h.to||(i.inclusiveRight?h.to>=b.ch:h.to>b.ch))){if(e&&(Ea(i,"beforeCursorEnter"),i.explicitlyCleared)){if(f.markedSpans){--g;continue}break}if(!i.atomic)continue;if(c){var j=i.find(d<0?1:-1),k=void 0;if((d<0?i.inclusiveRight:i.inclusiveLeft)&&(j=ue(a,j,-d,j&&j.line==b.line?f:null)),j&&j.line==b.line&&(k=I(j,c))&&(d<0?k<0:k>0))return se(a,j,b,d,e)}var l=i.find(d<0?-1:1);return(d<0?i.inclusiveLeft:i.inclusiveRight)&&(l=ue(a,l,d,l.line==b.line?f:null)),l?se(a,l,b,d,e):null}}return b}function te(a,b,c,d,e){var f=d||1,g=se(a,b,c,f,e)||!e&&se(a,b,c,f,!0)||se(a,b,c,-f,e)||!e&&se(a,b,c,-f,!0);return g?g:(a.cantEdit=!0,H(a.first,0))}function ue(a,b,c,d){return c<0&&0==b.ch?b.line>a.first?N(a,H(b.line-1)):null:c>0&&b.ch==(d||z(a,b.line)).text.length?b.line<a.first+a.size-1?H(b.line+1,0):null:new H(b.line,b.ch+c)}function ve(a){a.setSelection(H(a.firstLine(),0),H(a.lastLine()),Eg)}function we(a,b,c){var d={canceled:!1,from:b.from,to:b.to,text:b.text,origin:b.origin,cancel:function(){return d.canceled=!0}};return c&&(d.update=function(b,c,e,f){b&&(d.from=N(a,b)),c&&(d.to=N(a,c)),e&&(d.text=e),void 0!==f&&(d.origin=f)}),Ea(a,"beforeChange",a,d),a.cm&&Ea(a.cm,"beforeChange",a.cm,d),d.canceled?null:{from:d.from,to:d.to,text:d.text,origin:d.origin}}function xe(a,b,c){if(a.cm){if(!a.cm.curOp)return ld(a.cm,xe)(a,b,c);if(a.cm.state.suppressEdits)return}if(!(Ha(a,"beforeChange")||a.cm&&Ha(a.cm,"beforeChange"))||(b=we(a,b,!0))){var d=Kg&&!c&&$(a,b.from,b.to);if(d)for(var e=d.length-1;e>=0;--e)ye(a,{from:d[e].from,to:d[e].to,text:e?[""]:b.text});else ye(a,b)}}function ye(a,b){if(1!=b.text.length||""!=b.text[0]||0!=I(b.from,b.to)){var c=Md(a,b);Zd(a,b,c,a.cm?a.cm.curOp.id:NaN),Be(a,b,c,Y(a,b));var d=[];Td(a,function(a,c){c||m(d,a.history)!=-1||(Ge(a.history,b),d.push(a.history)),Be(a,b,null,Y(a,b))})}}function ze(a,b,c){if(!a.cm||!a.cm.state.suppressEdits||c){for(var d,e=a.history,f=a.sel,g="undo"==b?e.done:e.undone,h="undo"==b?e.undone:e.done,i=0;i<g.length&&(d=g[i],c?!d.ranges||d.equals(a.sel):d.ranges);i++);if(i!=g.length){for(e.lastOrigin=e.lastSelOrigin=null;d=g.pop(),d.ranges;){if(ae(d,h),c&&!d.equals(a.sel))return void ne(a,d,{clearRedo:!1});f=d}var j=[];ae(f,h),h.push({changes:j,generation:e.generation}),e.generation=d.generation||++e.maxGeneration;for(var k=Ha(a,"beforeChange")||a.cm&&Ha(a.cm,"beforeChange"),l=function(c){var e=d.changes[c];if(e.origin=b,k&&!we(a,e,!1))return g.length=0,{};j.push(Wd(a,e));var f=c?Md(a,e):p(g);Be(a,e,f,ee(a,e)),!c&&a.cm&&a.cm.scrollIntoView({from:e.from,to:Kd(e)});var h=[];Td(a,function(a,b){b||m(h,a.history)!=-1||(Ge(a.history,e),h.push(a.history)),Be(a,e,null,ee(a,e))})},n=d.changes.length-1;n>=0;--n){var o=l(n);if(o)return o.v}}}}function Ae(a,b){if(0!=b&&(a.first+=b,a.sel=new Gd(q(a.sel.ranges,function(a){return new Hd(H(a.anchor.line+b,a.anchor.ch),H(a.head.line+b,a.head.ch))}),a.sel.primIndex),a.cm)){od(a.cm,a.first,a.first-b,b);for(var c=a.cm.display,d=c.viewFrom;d<c.viewTo;d++)pd(a.cm,d,"gutter")}}function Be(a,b,c,d){if(a.cm&&!a.cm.curOp)return ld(a.cm,Be)(a,b,c,d);if(b.to.line<a.first)return void Ae(a,b.text.length-1-(b.to.line-b.from.line));if(!(b.from.line>a.lastLine())){if(b.from.line<a.first){var e=b.text.length-1-(a.first-b.from.line);Ae(a,e),b={from:H(a.first,0),to:H(b.to.line+e,b.to.ch),text:[p(b.text)],origin:b.origin}}var f=a.lastLine();b.to.line>f&&(b={from:b.from,to:H(f,z(a,f).text.length),text:[b.text[0]],origin:b.origin}),b.removed=A(a,b.from,b.to),c||(c=Md(a,b)),a.cm?Ce(a.cm,b,d):Sd(a,b,d),oe(a,c,Eg)}}function Ce(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=D(ia(z(d,f.line))),d.iter(i,g.line+1,function(a){if(a==e.maxLine)return h=!0,!0})),d.sel.contains(b.from,b.to)>-1&&Ga(a),Sd(d,b,c,uc(a)),a.options.lineWrapping||(d.iter(i,f.line+b.text.length,function(a){var b=pa(a);b>e.maxLineLength&&(e.maxLine=a,e.maxLineLength=b,e.maxLineChanged=!0,h=!1)}),h&&(a.curOp.updateMaxLine=!0)),d.frontier=Math.min(d.frontier,f.line),ud(a,400);var j=b.text.length-(g.line-f.line)-1;b.full?od(a):f.line!=g.line||1!=b.text.length||Rd(a.doc,b)?od(a,f.line,g.line+1,j):pd(a,f.line,"text");var k=Ha(a,"changes"),l=Ha(a,"change");if(l||k){var m={from:f,to:g,text:b.text,removed:b.removed,origin:b.origin};l&&yb(a,"change",a,m),k&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(m)}a.display.selForContextMenu=null}function De(a,b,c,d,e){if(d||(d=c),I(d,c)<0){var f=d;d=c,c=f}"string"==typeof b&&(b=a.splitLines(b)),xe(a,{from:c,to:d,text:b,origin:e})}function Ee(a,b,c,d){c<a.line?a.line+=d:b<a.line&&(a.line=b,a.ch=0)}function Fe(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++)Ee(f.ranges[h].anchor,b,c,d),Ee(f.ranges[h].head,b,c,d)}else{for(var i=0;i<f.changes.length;++i){var j=f.changes[i];if(c<j.from.line)j.from=H(j.from.line+d,j.from.ch),j.to=H(j.to.line+d,j.to.ch);else if(b<=j.to.line){g=!1;break}}g||(a.splice(0,e+1),e=0)}}}function Ge(a,b){var c=b.from.line,d=b.to.line,e=b.text.length-(d-c)-1;Fe(a.done,c,d,e),Fe(a.undone,c,d,e)}function He(a,b,c,d){var e=b,f=b;return"number"==typeof b?f=z(a,M(a,b)):e=D(b),null==e?null:(d(f,e)&&a.cm&&pd(a.cm,e,c),f)}function Ie(a){var b=this;this.lines=a,this.parent=null;for(var c=0,d=0;d<a.length;++d)a[d].parent=b,c+=a[d].height;this.height=c}function Je(a){var b=this;this.children=a;for(var c=0,d=0,e=0;e<a.length;++e){var f=a[e];c+=f.chunkSize(),d+=f.height,f.parent=b}this.size=c,this.height=d,this.parent=null}function Ke(a,b,c){var d=this;if(c)for(var e in c)c.hasOwnProperty(e)&&(d[e]=c[e]);this.doc=a,this.node=b}function Le(a,b,c){oa(b)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&_c(a,null,c)}function Me(a,b,c,d){var e=new Ke(a,c,d),f=a.cm;return f&&e.noHScroll&&(f.display.alignWidgets=!0),He(a,b,"widget",function(b){var c=b.widgets||(b.widgets=[]);if(null==e.insertAt?c.push(e):c.splice(Math.min(c.length-1,Math.max(0,e.insertAt)),0,e),e.line=b,f&&!ma(a,b)){var d=oa(b)<a.scrollTop;C(b,b.height+Mb(e)),d&&_c(f,null,e.height),f.curOp.forceUpdate=!0}return!0}),e}function Ne(a,b){this.lines=[],this.type=b,this.doc=a,this.id=++hh}function Oe(a,b,c,e,f){if(e&&e.shared)return Qe(a,b,c,e,f);if(a.cm&&!a.cm.curOp)return ld(a.cm,Oe)(a,b,c,e,f);var g=new Ne(a,f),h=I(b,c);if(e&&j(e,g,!1),h>0||0==h&&g.clearWhenEmpty!==!1)return g;if(g.replacedWith&&(g.collapsed=!0,g.widgetNode=d("span",[g.replacedWith],"CodeMirror-widget"),e.handleMouseEvents||g.widgetNode.setAttribute("cm-ignore-events","true"),e.insertLeft&&(g.widgetNode.insertLeft=!0)),g.collapsed){if(ha(a,b.line,b,c,g)||b.line!=c.line&&ha(a,c.line,b,c,g))throw new Error("Inserting collapsed marker partially overlapping an existing one");R()}g.addToHistory&&Zd(a,{from:b,to:c,origin:"markText"},a.sel,NaN);var i,k=b.line,l=a.cm;if(a.iter(k,c.line+1,function(a){l&&g.collapsed&&!l.options.lineWrapping&&ia(a)==l.display.maxLine&&(i=!0),g.collapsed&&k!=b.line&&C(a,0),V(a,new S(g,k==b.line?b.ch:null,k==c.line?c.ch:null)),++k}),g.collapsed&&a.iter(b.line,c.line+1,function(b){ma(a,b)&&C(b,0)}),g.clearOnEnter&&Pg(g,"beforeCursorEnter",function(){return g.clear()}),g.readOnly&&(Q(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),g.collapsed&&(g.id=++hh,g.atomic=!0),l){if(i&&(l.curOp.updateMaxLine=!0),g.collapsed)od(l,b.line,c.line+1);else if(g.className||g.title||g.startStyle||g.endStyle||g.css)for(var m=b.line;m<=c.line;m++)pd(l,m,"text");g.atomic&&qe(l.doc),yb(l,"markerAdded",l,g)}return g}function Pe(a,b){var c=this;this.markers=a,this.primary=b;for(var d=0;d<a.length;++d)a[d].parent=c}function Qe(a,b,c,d,e){d=j(d),d.shared=!1;var f=[Oe(a,b,c,d,e)],g=f[0],h=d.widgetNode;return Td(a,function(a){h&&(d.widgetNode=h.cloneNode(!0)),f.push(Oe(a,N(a,b),N(a,c),d,e));for(var i=0;i<a.linked.length;++i)if(a.linked[i].isParent)return;g=p(f)}),new Pe(f,g)}function Re(a){return a.findMarks(H(a.first,0),a.clipPos(H(a.lastLine())),function(a){return a.parent})}function Se(a,b){for(var c=0;c<b.length;c++){var d=b[c],e=d.find(),f=a.clipPos(e.from),g=a.clipPos(e.to);if(I(f,g)){var h=Oe(a,f,g,d.primary,d.primary.type);d.markers.push(h),h.parent=d}}}function Te(a){for(var b=function(b){var c=a[b],d=[c.primary.doc];Td(c.primary.doc,function(a){return d.push(a)});for(var e=0;e<c.markers.length;e++){var f=c.markers[e];m(d,f.doc)==-1&&(f.parent=null,c.markers.splice(e--,1))}},c=0;c<a.length;c++)b(c)}function Ue(a){var b=this;if(Xe(b),!Fa(b,a)&&!Nb(b.display,a)){Ja(a),gg&&(kh=+new Date);var c=wc(b,a,!0),d=a.dataTransfer.files;if(c&&!b.isReadOnly())if(d&&d.length&&window.FileReader&&window.File)for(var e=d.length,f=Array(e),g=0,h=function(a,d){if(!b.options.allowDropFileTypes||m(b.options.allowDropFileTypes,a.type)!=-1){var h=new FileReader;h.onload=ld(b,function(){var a=h.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(a)&&(a=""),f[d]=a,++g==e){c=N(b.doc,c);var i={from:c,to:c,text:b.doc.splitLines(f.join(b.doc.lineSeparator())),origin:"paste"};xe(b.doc,i),me(b.doc,Jd(c,Kd(i)))}}),h.readAsText(a)}},i=0;i<e;++i)h(d[i],i);else{if(b.state.draggingText&&b.doc.sel.contains(c)>-1)return b.state.draggingText(a),void setTimeout(function(){return b.display.input.focus()},20);try{var j=a.dataTransfer.getData("Text");if(j){var k;if(b.state.draggingText&&!b.state.draggingText.copy&&(k=b.listSelections()),oe(b.doc,Jd(c,c)),k)for(var l=0;l<k.length;++l)De(b.doc,"",k[l].anchor,k[l].head,"drag");b.replaceSelection(j,"around","paste"),b.display.input.focus()}}catch(a){}}}}function Ve(a,b){if(gg&&(!a.state.draggingText||+new Date-kh<100))return void Ma(b);if(!Fa(a,b)&&!Nb(a.display,b)&&(b.dataTransfer.setData("Text",a.getSelection()),b.dataTransfer.effectAllowed="copyMove",b.dataTransfer.setDragImage&&!mg)){var c=d("img",null,null,"position: fixed; left: 0; top: 0;");c.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",lg&&(c.width=c.height=1,a.display.wrapper.appendChild(c),c._top=c.offsetTop),b.dataTransfer.setDragImage(c,0,0),lg&&c.parentNode.removeChild(c)}}function We(a,b){var e=wc(a,b);if(e){var f=document.createDocumentFragment();Ac(a,e,f),a.display.dragCursor||(a.display.dragCursor=d("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),c(a.display.dragCursor,f)}}function Xe(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function Ye(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 Ze(){lh||($e(),lh=!0)}function $e(){var a;Pg(window,"resize",function(){null==a&&(a=setTimeout(function(){a=null,Ye(_e)},100))}),Pg(window,"blur",function(){return Ye(Gc)})}function _e(a){var b=a.display;b.lastWrapHeight==b.wrapper.clientHeight&&b.lastWrapWidth==b.wrapper.clientWidth||(b.cachedCharWidth=b.cachedTextHeight=b.cachedPaddingH=null,b.scrollbarsClipped=!1,a.setSize())}function af(a){var b=a.split(/-(?!$)/);a=b[b.length-1];for(var c,d,e,f,g=0;g<b.length-1;g++){var h=b[g];if(/^(cmd|meta|m)$/i.test(h))f=!0;else if(/^a(lt)?$/i.test(h))c=!0;else if(/^(c|ctrl|control)$/i.test(h))d=!0;else{if(!/^s(hift)?$/i.test(h))throw new Error("Unrecognized modifier name: "+h);e=!0}}return c&&(a="Alt-"+a),d&&(a="Ctrl-"+a),f&&(a="Cmd-"+a),e&&(a="Shift-"+a),a}function bf(a){var b={};for(var c in a)if(a.hasOwnProperty(c)){var d=a[c];if(/^(name|fallthrough|(de|at)tach)$/.test(c))continue;if("..."==d){delete a[c];continue}for(var e=q(c.split(" "),af),f=0;f<e.length;f++){var g=void 0,h=void 0;f==e.length-1?(h=e.join(" "),g=d):(h=e.slice(0,f+1).join(" "),g="...");var i=b[h];if(i){if(i!=g)throw new Error("Inconsistent bindings for "+h)}else b[h]=g}delete a[c]}for(var j in b)a[j]=b[j];return a}function cf(a,b,c,d){b=ff(b);var e=b.call?b.call(a,d):b[a];if(e===!1)return"nothing";if("..."===e)return"multi";if(null!=e&&c(e))return"handled";if(b.fallthrough){if("[object Array]"!=Object.prototype.toString.call(b.fallthrough))return cf(a,b.fallthrough,c,d);for(var f=0;f<b.fallthrough.length;f++){var g=cf(a,b.fallthrough[f],c,d);if(g)return g}}}function df(a){var b="string"==typeof a?a:mh[a.keyCode];return"Ctrl"==b||"Alt"==b||"Shift"==b||"Mod"==b}function ef(a,b){if(lg&&34==a.keyCode&&a["char"])return!1;var c=mh[a.keyCode],d=c;return null!=d&&!a.altGraphKey&&(a.altKey&&"Alt"!=c&&(d="Alt-"+d),(wg?a.metaKey:a.ctrlKey)&&"Ctrl"!=c&&(d="Ctrl-"+d),(wg?a.ctrlKey:a.metaKey)&&"Cmd"!=c&&(d="Cmd-"+d),!b&&a.shiftKey&&"Shift"!=c&&(d="Shift-"+d),d)}function ff(a){return"string"==typeof a?qh[a]:a}function gf(a,b){for(var c=a.doc.sel.ranges,d=[],e=0;e<c.length;e++){for(var f=b(c[e]);d.length&&I(f.from,p(d).to)<=0;){var g=d.pop();if(I(g.from,f.from)<0){f.from=g.from;break}}d.push(f)}kd(a,function(){for(var b=d.length-1;b>=0;b--)De(a.doc,"",d[b].from,d[b].to,"+delete");ad(a)})}function hf(a,b){var c=z(a.doc,b),d=ia(c);d!=c&&(b=D(d));var e=Ba(d),f=e?e[0].level%2?va(d):ua(d):0;return H(b,f)}function jf(a,b){for(var c,d=z(a.doc,b);c=ga(d);)d=c.find(1,!0).line,b=null;var e=Ba(d),f=e?e[0].level%2?ua(d):va(d):d.text.length;return H(null==b?D(d):b,f)}function kf(a,b){var c=hf(a,b.line),d=z(a.doc,c.line),e=Ba(d);if(!e||0==e[0].level){var f=Math.max(0,d.text.search(/\S/)),g=b.line==c.line&&b.ch<=f&&b.ch;return H(c.line,g?0:f)}return c}function lf(a,b,c){if("string"==typeof b&&(b=th[b],!b))return!1;a.display.input.ensurePolled();var d=a.display.shift,e=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),c&&(a.display.shift=!1),e=b(a)!=Dg}finally{a.display.shift=d,a.state.suppressEdits=!1}return e}function mf(a,b,c){for(var d=0;d<a.state.keyMaps.length;d++){var e=cf(b,a.state.keyMaps[d],c,a);if(e)return e}return a.options.extraKeys&&cf(b,a.options.extraKeys,c,a)||cf(b,a.options.keyMap,c,a)}function nf(a,b,c,d){var e=a.state.keySeq;if(e){if(df(b))return"handled";uh.set(50,function(){a.state.keySeq==e&&(a.state.keySeq=null,a.display.input.reset())}),b=e+" "+b}var f=mf(a,b,d);return"multi"==f&&(a.state.keySeq=b),"handled"==f&&yb(a,"keyHandled",a,b,c),"handled"!=f&&"multi"!=f||(Ja(c),Cc(a)),e&&!f&&/\'$/.test(b)?(Ja(c),!0):!!f}function of(a,b){var c=ef(b,!0);return!!c&&(b.shiftKey&&!a.state.keySeq?nf(a,"Shift-"+c,b,function(b){return lf(a,b,!0)})||nf(a,c,b,function(b){if("string"==typeof b?/^go[A-Z]/.test(b):b.motion)return lf(a,b)}):nf(a,c,b,function(b){return lf(a,b)}))}function pf(a,b,c){return nf(a,"'"+c+"'",b,function(b){return lf(a,b,!0)})}function qf(a){var b=this;if(b.curOp.focus=f(),!Fa(b,a)){gg&&hg<11&&27==a.keyCode&&(a.returnValue=!1);var c=a.keyCode;b.display.shift=16==c||a.shiftKey;var d=of(b,a);lg&&(vh=d?c:null,!d&&88==c&&!Tg&&(rg?a.metaKey:a.ctrlKey)&&b.replaceSelection("",null,"cut")),18!=c||/\bCodeMirror-crosshair\b/.test(b.display.lineDiv.className)||rf(b)}}function rf(a){function b(a){18!=a.keyCode&&a.altKey||(yg(c,"CodeMirror-crosshair"),Da(document,"keyup",b),Da(document,"mouseover",b))}var c=a.display.lineDiv;g(c,"CodeMirror-crosshair"),Pg(document,"keyup",b),Pg(document,"mouseover",b)}function sf(a){16==a.keyCode&&(this.doc.sel.shift=!1),Fa(this,a)}function tf(a){var b=this;if(!(Nb(b.display,a)||Fa(b,a)||a.ctrlKey&&!a.altKey||rg&&a.metaKey)){var c=a.keyCode,d=a.charCode;if(lg&&c==vh)return vh=null,void Ja(a);if(!lg||a.which&&!(a.which<10)||!of(b,a)){var e=String.fromCharCode(null==d?c:d);"\b"!=e&&(pf(b,a,e)||b.display.input.onKeyPress(a))}}}function uf(a){var b=this,c=b.display;if(!(Fa(b,a)||c.activeTouch&&c.input.supportsTouch())){if(c.input.ensurePolled(),c.shift=a.shiftKey,Nb(c,a))return void(ig||(c.scroller.draggable=!1,setTimeout(function(){return c.scroller.draggable=!0},100)));if(!zf(b,a)){var d=wc(b,a);switch(window.focus(),Oa(a)){case 1:b.state.selectingText?b.state.selectingText(a):d?vf(b,a,d):Na(a)==c.scroller&&Ja(a);break;case 2:ig&&(b.state.lastMiddleDown=+new Date),d&&he(b.doc,d),setTimeout(function(){return c.input.focus()},20),Ja(a);break;case 3:xg?Af(b,a):Ec(b)}}}}function vf(a,b,c){gg?setTimeout(i(Dc,a),0):a.curOp.focus=f();var d,e=+new Date;sh&&sh.time>e-400&&0==I(sh.pos,c)?d="triple":rh&&rh.time>e-400&&0==I(rh.pos,c)?(d="double",sh={time:e,pos:c}):(d="single",rh={time:e,pos:c});var g,h=a.doc.sel,j=rg?b.metaKey:b.ctrlKey;a.options.dragDrop&&Qg&&!a.isReadOnly()&&"single"==d&&(g=h.contains(c))>-1&&(I((g=h.ranges[g]).from(),c)<0||c.xRel>0)&&(I(g.to(),c)>0||c.xRel<0)?wf(a,b,c,j):xf(a,b,c,d,j)}function wf(a,b,c,d){var e=a.display,f=+new Date,g=ld(a,function(h){ig&&(e.scroller.draggable=!1),a.state.draggingText=!1,Da(document,"mouseup",g),Da(e.scroller,"drop",g),Math.abs(b.clientX-h.clientX)+Math.abs(b.clientY-h.clientY)<10&&(Ja(h),!d&&+new Date-200<f&&he(a.doc,c),ig||gg&&9==hg?setTimeout(function(){document.body.focus(),e.input.focus()},20):e.input.focus())});ig&&(e.scroller.draggable=!0),a.state.draggingText=g,g.copy=rg?b.altKey:b.ctrlKey,e.scroller.dragDrop&&e.scroller.dragDrop(),Pg(document,"mouseup",g),Pg(e.scroller,"drop",g)}function xf(a,b,c,d,e){function g(b){if(0!=I(t,b))if(t=b,"rect"==d){for(var e=[],f=a.options.tabSize,g=k(z(l,c.line).text,c.ch,f),h=k(z(l,b.line).text,b.ch,f),i=Math.min(g,h),j=Math.max(g,h),q=Math.min(c.line,b.line),r=Math.min(a.lastLine(),Math.max(c.line,b.line));q<=r;q++){var s=z(l,q).text,u=n(s,i,f);i==j?e.push(new Hd(H(q,u),H(q,u))):s.length>u&&e.push(new Hd(H(q,u),H(q,n(s,j,f))))}e.length||e.push(new Hd(c,c)),ne(l,Id(p.ranges.slice(0,o).concat(e),o),{origin:"*mouse",scroll:!1}),a.scrollIntoView(b)}else{var v=m,w=v.anchor,x=b;if("single"!=d){var y;y="double"==d?a.findWordAt(b):new Hd(H(b.line,0),N(l,H(b.line+1,0))),I(y.anchor,w)>0?(x=y.head,w=L(v.from(),y.anchor)):(x=y.anchor,w=K(v.to(),y.head))}var A=p.ranges.slice(0);A[o]=new Hd(N(l,w),x),ne(l,Id(A,o),Fg)}}function h(b){var c=++v,e=wc(a,b,!0,"rect"==d);if(e)if(0!=I(e,t)){a.curOp.focus=f(),g(e);var i=Lc(j,l);(e.line>=i.to||e.line<i.from)&&setTimeout(ld(a,function(){v==c&&h(b)}),150)}else{var k=b.clientY<u.top?-20:b.clientY>u.bottom?20:0;k&&setTimeout(ld(a,function(){v==c&&(j.scroller.scrollTop+=k,h(b))}),50)}}function i(b){a.state.selectingText=!1,v=1/0,Ja(b),j.input.focus(),Da(document,"mousemove",w),Da(document,"mouseup",x),l.history.lastSelOrigin=null}var j=a.display,l=a.doc;Ja(b);var m,o,p=l.sel,q=p.ranges;if(e&&!b.shiftKey?(o=l.sel.contains(c),m=o>-1?q[o]:new Hd(c,c)):(m=l.sel.primary(),o=l.sel.primIndex),sg?b.shiftKey&&b.metaKey:b.altKey)d="rect",e||(m=new Hd(c,c)),c=wc(a,b,!0,!0),o=-1;else if("double"==d){var r=a.findWordAt(c);m=a.display.shift||l.extend?ge(l,m,r.anchor,r.head):r}else if("triple"==d){var s=new Hd(H(c.line,0),N(l,H(c.line+1,0)));m=a.display.shift||l.extend?ge(l,m,s.anchor,s.head):s}else m=ge(l,m,c);e?o==-1?(o=q.length,ne(l,Id(q.concat([m]),o),{scroll:!1,origin:"*mouse"})):q.length>1&&q[o].empty()&&"single"==d&&!b.shiftKey?(ne(l,Id(q.slice(0,o).concat(q.slice(o+1)),0),{scroll:!1,origin:"*mouse"}),p=l.sel):je(l,o,m,Fg):(o=0,ne(l,new Gd([m],0),Fg),p=l.sel);var t=c,u=j.wrapper.getBoundingClientRect(),v=0,w=ld(a,function(a){Oa(a)?h(a):i(a)}),x=ld(a,i);a.state.selectingText=x,Pg(document,"mousemove",w),Pg(document,"mouseup",x)}function yf(a,b,c,d){var e,f;try{e=b.clientX,f=b.clientY}catch(b){return!1}if(e>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;d&&Ja(b);var g=a.display,h=g.lineDiv.getBoundingClientRect();if(f>h.bottom||!Ha(a,c))return La(b);f-=h.top-g.viewOffset;for(var i=0;i<a.options.gutters.length;++i){var j=g.gutters.childNodes[i];if(j&&j.getBoundingClientRect().right>=e){var k=E(a.doc,f),l=a.options.gutters[i];return Ea(a,c,a,k,l,b),La(b)}}}function zf(a,b){return yf(a,b,"gutterClick",!0)}function Af(a,b){Nb(a.display,b)||Bf(a,b)||Fa(a,b,"contextmenu")||a.display.input.onContextMenu(b)}function Bf(a,b){return!!Ha(a,"gutterContextMenu")&&yf(a,b,"gutterContextMenu",!1)}function Cf(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),fc(a)}function Df(a){function b(b,d,e,f){a.defaults[b]=d,e&&(c[b]=f?function(a,b,c){c!=wh&&e(a,b,c)}:e)}var c=a.optionHandlers;a.defineOption=b,a.Init=wh,b("value","",function(a,b){return a.setValue(b)},!0),b("mode",null,function(a,b){a.doc.modeOption=b,Pd(a)},!0),b("indentUnit",2,Pd,!0),b("indentWithTabs",!1),b("smartIndent",!0),b("tabSize",4,function(a){Qd(a),fc(a),od(a)},!0),b("lineSeparator",null,function(a,b){if(a.doc.lineSep=b,b){var c=[],d=a.doc.first;a.doc.iter(function(a){for(var e=0;;){var f=a.text.indexOf(b,e);if(f==-1)break;e=f+b.length,c.push(H(d,f))}d++});for(var e=c.length-1;e>=0;e--)De(a.doc,b,c[e],H(c[e].line,c[e].ch+b.length))}}),b("specialChars",/[\u0000-\u001f\u007f\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g,function(a,b,c){a.state.specialChars=new RegExp(b.source+(b.test("\t")?"":"|\t"),"g"),c!=wh&&a.refresh()}),b("specialCharPlaceholder",nb,function(a){return a.refresh()},!0),b("electricChars",!0),b("inputStyle",qg?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),b("spellcheck",!1,function(a,b){return a.getInputField().spellcheck=b},!0),b("rtlMoveVisually",!tg),b("wholeLineUpdateBefore",!0),b("theme","default",function(a){Cf(a),Ef(a)},!0),b("keyMap","default",function(a,b,c){var d=ff(b),e=c!=wh&&ff(c);e&&e.detach&&e.detach(a,d),d.attach&&d.attach(a,e||null)}),b("extraKeys",null),b("lineWrapping",!1,Gf,!0),b("gutters",[],function(a){Fd(a.options),Ef(a)},!0),b("fixedGutter",!0,function(a,b){a.display.gutters.style.left=b?tc(a.display)+"px":"0",a.refresh()},!0),b("coverGutterNextToScrollbar",!1,function(a){return Uc(a)},!0),b("scrollbarStyle","native",function(a){Wc(a),Uc(a),a.display.scrollbars.setScrollTop(a.doc.scrollTop),a.display.scrollbars.setScrollLeft(a.doc.scrollLeft)},!0),b("lineNumbers",!1,function(a){Fd(a.options),Ef(a)},!0),b("firstLineNumber",1,Ef,!0),b("lineNumberFormatter",function(a){return a},Ef,!0),b("showCursorWhenSelecting",!1,yc,!0),b("resetSelectionOnContextMenu",!0),b("lineWiseCopyCut",!0),b("readOnly",!1,function(a,b){"nocursor"==b?(Gc(a),a.display.input.blur(),a.display.disabled=!0):a.display.disabled=!1,a.display.input.readOnlyChanged(b)}),b("disableInput",!1,function(a,b){b||a.display.input.reset()},!0),b("dragDrop",!0,Ff),b("allowDropFileTypes",null),b("cursorBlinkRate",530),b("cursorScrollMargin",0),b("cursorHeight",1,yc,!0),b("singleCursorHeightPerLine",!0,yc,!0),b("workTime",100),b("workDelay",100),b("flattenSpans",!0,Qd,!0),b("addModeClass",!1,Qd,!0),b("pollInterval",100),b("undoDepth",200,function(a,b){return a.doc.history.undoDepth=b}),b("historyEventDelay",1250),b("viewportMargin",10,function(a){return a.refresh()},!0),b("maxHighlightLength",1e4,Qd,!0),b("moveInputWithCursor",!0,function(a,b){b||a.display.input.resetPosition()}),b("tabindex",null,function(a,b){return a.display.input.getField().tabIndex=b||""}),b("autofocus",null)}function Ef(a){Ed(a),od(a),setTimeout(function(){return Hc(a)},20)}function Ff(a,b,c){var d=c&&c!=wh;if(!b!=!d){var e=a.display.dragFunctions,f=b?Pg:Da;f(a.display.scroller,"dragstart",e.start),f(a.display.scroller,"dragenter",e.enter),f(a.display.scroller,"dragover",e.over),f(a.display.scroller,"dragleave",e.leave),f(a.display.scroller,"drop",e.drop)}}function Gf(a){a.options.lineWrapping?(g(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(yg(a.display.wrapper,"CodeMirror-wrap"),qa(a)),vc(a),od(a),fc(a),setTimeout(function(){return Uc(a)},100)}function Hf(a,b){var c=this;if(!(this instanceof Hf))return new Hf(a,b);this.options=b=b?j(b):{},j(xh,b,!1),Fd(b);var d=b.value;"string"==typeof d&&(d=new jh(d,b.mode,null,b.lineSeparator)),this.doc=d;var e=new Hf.inputStyles[b.inputStyle](this),f=this.display=new y(a,d,e);f.wrapper.CodeMirror=this,Ed(this),Cf(this),b.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),b.autofocus&&!qg&&f.input.focus(),Wc(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new l,keySeq:null,specialChars:null},gg&&hg<11&&setTimeout(function(){return c.display.input.reset(!0)},20),If(this),Ze(),cd(this),this.curOp.forceUpdate=!0,Ud(this,d),b.autofocus&&!qg||this.hasFocus()?setTimeout(i(Fc,this),20):Gc(this);for(var g in yh)yh.hasOwnProperty(g)&&yh[g](c,b[g],wh);Ic(this),b.finishInit&&b.finishInit(this);for(var h=0;h<zh.length;++h)zh[h](c);dd(this),ig&&b.lineWrapping&&"optimizelegibility"==getComputedStyle(f.lineDiv).textRendering&&(f.lineDiv.style.textRendering="auto")}function If(a){function b(){e.activeTouch&&(f=setTimeout(function(){return e.activeTouch=null},1e3),g=e.activeTouch,g.end=+new Date)}function c(a){if(1!=a.touches.length)return!1;var b=a.touches[0];return b.radiusX<=1&&b.radiusY<=1}function d(a,b){if(null==b.left)return!0;var c=b.left-a.left,d=b.top-a.top;return c*c+d*d>400}var e=a.display;Pg(e.scroller,"mousedown",ld(a,uf)),gg&&hg<11?Pg(e.scroller,"dblclick",ld(a,function(b){if(!Fa(a,b)){var c=wc(a,b);if(c&&!zf(a,b)&&!Nb(a.display,b)){Ja(b);var d=a.findWordAt(c);he(a.doc,d.anchor,d.head)}}})):Pg(e.scroller,"dblclick",function(b){return Fa(a,b)||Ja(b)}),xg||Pg(e.scroller,"contextmenu",function(b){return Af(a,b)});var f,g={end:0};Pg(e.scroller,"touchstart",function(b){if(!Fa(a,b)&&!c(b)){e.input.ensurePolled(),clearTimeout(f);var d=+new Date;e.activeTouch={start:d,moved:!1,prev:d-g.end<=300?g:null},1==b.touches.length&&(e.activeTouch.left=b.touches[0].pageX,e.activeTouch.top=b.touches[0].pageY)}}),Pg(e.scroller,"touchmove",function(){e.activeTouch&&(e.activeTouch.moved=!0)}),Pg(e.scroller,"touchend",function(c){var f=e.activeTouch;if(f&&!Nb(e,c)&&null!=f.left&&!f.moved&&new Date-f.start<300){var g,h=a.coordsChar(e.activeTouch,"page");g=!f.prev||d(f,f.prev)?new Hd(h,h):!f.prev.prev||d(f,f.prev.prev)?a.findWordAt(h):new Hd(H(h.line,0),N(a.doc,H(h.line+1,0))),a.setSelection(g.anchor,g.head),a.focus(),Ja(c)}b()}),Pg(e.scroller,"touchcancel",b),Pg(e.scroller,"scroll",function(){e.scroller.clientHeight&&(Mc(a,e.scroller.scrollTop),Nc(a,e.scroller.scrollLeft,!0),Ea(a,"scroll",a))}),Pg(e.scroller,"mousewheel",function(b){return Qc(a,b)}),Pg(e.scroller,"DOMMouseScroll",function(b){return Qc(a,b)}),Pg(e.wrapper,"scroll",function(){return e.wrapper.scrollTop=e.wrapper.scrollLeft=0}),e.dragFunctions={enter:function(b){Fa(a,b)||Ma(b)},over:function(b){Fa(a,b)||(We(a,b),Ma(b))},start:function(b){return Ve(a,b)},drop:ld(a,Ue),leave:function(b){Fa(a,b)||Xe(a)}};var h=e.input.getField();Pg(h,"keyup",function(b){return sf.call(a,b)}),Pg(h,"keydown",ld(a,qf)),Pg(h,"keypress",ld(a,tf)),Pg(h,"focus",function(b){return Fc(a,b)}),Pg(h,"blur",function(b){return Gc(a,b)})}function Jf(a,b,c,d){var e,f=a.doc;null==c&&(c="add"),"smart"==c&&(f.mode.indent?e=ab(a,b):c="prev");var g=a.options.tabSize,h=z(f,b),i=k(h.text,null,g);h.stateAfter&&(h.stateAfter=null);var j,l=h.text.match(/^\s*/)[0];if(d||/\S/.test(h.text)){if("smart"==c&&(j=f.mode.indent(e,h.text.slice(l.length),h.text),j==Dg||j>150)){if(!d)return;c="prev"}}else j=0,c="not";"prev"==c?j=b>f.first?k(z(f,b-1).text,null,g):0:"add"==c?j=i+a.options.indentUnit:"subtract"==c?j=i-a.options.indentUnit:"number"==typeof c&&(j=i+c),j=Math.max(0,j);var m="",n=0;if(a.options.indentWithTabs)for(var p=Math.floor(j/g);p;--p)n+=g,m+="\t";if(n<j&&(m+=o(j-n)),m!=l)return De(f,m,H(b,0),H(b,l.length),"+input"),h.stateAfter=null,!0;for(var q=0;q<f.sel.ranges.length;q++){var r=f.sel.ranges[q];if(r.head.line==b&&r.head.ch<l.length){
|
4 |
+
var s=H(b,l.length);je(f,q,new Hd(s,s));break}}}function Kf(a){Ah=a}function Lf(a,b,c,d,e){var f=a.doc;a.display.shift=!1,d||(d=f.sel);var g=a.state.pasteIncoming||"paste"==e,h=Rg(b),i=null;if(g&&d.ranges.length>1)if(Ah&&Ah.text.join("\n")==b){if(d.ranges.length%Ah.text.length==0){i=[];for(var j=0;j<Ah.text.length;j++)i.push(f.splitLines(Ah.text[j]))}}else h.length==d.ranges.length&&(i=q(h,function(a){return[a]}));for(var k,l=d.ranges.length-1;l>=0;l--){var m=d.ranges[l],n=m.from(),o=m.to();m.empty()&&(c&&c>0?n=H(n.line,n.ch-c):a.state.overwrite&&!g?o=H(o.line,Math.min(z(f,o.line).text.length,o.ch+p(h).length)):Ah&&Ah.lineWise&&Ah.text.join("\n")==b&&(n=o=H(n.line,0))),k=a.curOp.updateInput;var r={from:n,to:o,text:i?i[l%i.length]:h,origin:e||(g?"paste":a.state.cutIncoming?"cut":"+input")};xe(a.doc,r),yb(a,"inputRead",a,r)}b&&!g&&Nf(a,b),ad(a),a.curOp.updateInput=k,a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=!1}function Mf(a,b){var c=a.clipboardData&&a.clipboardData.getData("Text");if(c)return a.preventDefault(),b.isReadOnly()||b.options.disableInput||kd(b,function(){return Lf(b,c,0,null,"paste")}),!0}function Nf(a,b){if(a.options.electricChars&&a.options.smartIndent)for(var c=a.doc.sel,d=c.ranges.length-1;d>=0;d--){var e=c.ranges[d];if(!(e.head.ch>100||d&&c.ranges[d-1].head.line==e.head.line)){var f=a.getModeAt(e.head),g=!1;if(f.electricChars){for(var h=0;h<f.electricChars.length;h++)if(b.indexOf(f.electricChars.charAt(h))>-1){g=Jf(a,e.head.line,"smart");break}}else f.electricInput&&f.electricInput.test(z(a.doc,e.head.line).text.slice(0,e.head.ch))&&(g=Jf(a,e.head.line,"smart"));g&&yb(a,"electricInput",a,e.head.line)}}}function Of(a){for(var b=[],c=[],d=0;d<a.doc.sel.ranges.length;d++){var e=a.doc.sel.ranges[d].head.line,f={anchor:H(e,0),head:H(e+1,0)};c.push(f),b.push(a.getRange(f.anchor,f.head))}return{text:b,ranges:c}}function Pf(a,b){a.setAttribute("autocorrect","off"),a.setAttribute("autocapitalize","off"),a.setAttribute("spellcheck",!!b)}function Qf(){var a=d("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),b=d("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ig?a.style.width="1000px":a.setAttribute("wrap","off"),pg&&(a.style.border="1px solid black"),Pf(a),b}function Rf(a){var b=a.optionHandlers,c=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(a,c){var d=this.options,e=d[a];d[a]==c&&"mode"!=a||(d[a]=c,b.hasOwnProperty(a)&&ld(this,b[a])(this,c,e))},getOption:function(a){return this.options[a]},getDoc:function(){return this.doc},addKeyMap:function(a,b){this.state.keyMaps[b?"push":"unshift"](ff(a))},removeKeyMap:function(a){for(var b=this.state.keyMaps,c=0;c<b.length;++c)if(b[c]==a||b[c].name==a)return b.splice(c,1),!0},addOverlay:md(function(b,c){var d=b.token?b:a.getMode(this.options,b);if(d.startState)throw new Error("Overlays may not be stateful.");r(this.state.overlays,{mode:d,modeSpec:b,opaque:c&&c.opaque,priority:c&&c.priority||0},function(a){return a.priority}),this.state.modeGen++,od(this)}),removeOverlay:md(function(a){for(var b=this,c=this.state.overlays,d=0;d<c.length;++d){var e=c[d].modeSpec;if(e==a||"string"==typeof a&&e.name==a)return c.splice(d,1),b.state.modeGen++,void od(b)}}),indentLine:md(function(a,b,c){"string"!=typeof b&&"number"!=typeof b&&(b=null==b?this.options.smartIndent?"smart":"prev":b?"add":"subtract"),F(this.doc,a)&&Jf(this,a,b,c)}),indentSelection:md(function(a){for(var b=this,c=this.doc.sel.ranges,d=-1,e=0;e<c.length;e++){var f=c[e];if(f.empty())f.head.line>d&&(Jf(b,f.head.line,a,!0),d=f.head.line,e==b.doc.sel.primIndex&&ad(b));else{var g=f.from(),h=f.to(),i=Math.max(d,g.line);d=Math.min(b.lastLine(),h.line-(h.ch?0:1))+1;for(var j=i;j<d;++j)Jf(b,j,a);var k=b.doc.sel.ranges;0==g.ch&&c.length==k.length&&k[e].from().ch>0&&je(b.doc,e,new Hd(g,k[e].to()),Eg)}}}),getTokenAt:function(a,b){return eb(this,a,b)},getLineTokens:function(a,b){return eb(this,H(a),b,!0)},getTokenTypeAt:function(a){a=N(this.doc,a);var b,c=_a(this,z(this.doc,a.line)),d=0,e=(c.length-1)/2,f=a.ch;if(0==f)b=c[2];else for(;;){var g=d+e>>1;if((g?c[2*g-1]:0)>=f)e=g;else{if(!(c[2*g+1]<f)){b=c[2*g+2];break}d=g+1}}var h=b?b.indexOf("overlay "):-1;return h<0?b:0==h?null:b.slice(0,h-1)},getModeAt:function(b){var c=this.doc.mode;return c.innerMode?a.innerMode(c,this.getTokenAt(b).state).mode:c},getHelper:function(a,b){return this.getHelpers(a,b)[0]},getHelpers:function(a,b){var d=this,e=[];if(!c.hasOwnProperty(b))return e;var f=c[b],g=this.getModeAt(a);if("string"==typeof g[b])f[g[b]]&&e.push(f[g[b]]);else if(g[b])for(var h=0;h<g[b].length;h++){var i=f[g[b][h]];i&&e.push(i)}else g.helperType&&f[g.helperType]?e.push(f[g.helperType]):f[g.name]&&e.push(f[g.name]);for(var j=0;j<f._global.length;j++){var k=f._global[j];k.pred(g,d)&&m(e,k.val)==-1&&e.push(k.val)}return e},getStateAfter:function(a,b){var c=this.doc;return a=M(c,null==a?c.first+c.size-1:a),ab(this,a+1,b)},cursorCoords:function(a,b){var c,d=this.doc.sel.primary();return c=null==a?d.head:"object"==typeof a?N(this.doc,a):a?d.from():d.to(),lc(this,c,b||"page")},charCoords:function(a,b){return kc(this,N(this.doc,a),b||"page")},coordsChar:function(a,b){return a=jc(this,a,b||"page"),oc(this,a.left,a.top)},lineAtHeight:function(a,b){return a=jc(this,{top:a,left:0},b||"page").top,E(this.doc,a+this.display.viewOffset)},heightAtLine:function(a,b,c){var d,e=!1;if("number"==typeof a){var f=this.doc.first+this.doc.size-1;a<this.doc.first?a=this.doc.first:a>f&&(a=f,e=!0),d=z(this.doc,a)}else d=a;return ic(this,d,{top:0,left:0},b||"page",c).top+(e?this.doc.height-oa(d):0)},defaultTextHeight:function(){return qc(this.display)},defaultCharWidth:function(){return rc(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(a,b,c,d,e){var f=this.display;a=lc(this,N(this.doc,a));var g=a.bottom,h=a.left;if(b.style.position="absolute",b.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(b),f.sizer.appendChild(b),"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+"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&&Zc(this,h,g,h+b.offsetWidth,g+b.offsetHeight)},triggerOnKeyDown:md(qf),triggerOnKeyPress:md(tf),triggerOnKeyUp:sf,execCommand:function(a){if(th.hasOwnProperty(a))return th[a].call(null,this)},triggerElectric:md(function(a){Nf(this,a)}),findPosH:function(a,b,c,d){var e=this,f=1;b<0&&(f=-1,b=-b);for(var g=N(this.doc,a),h=0;h<b&&(g=Sf(e.doc,g,f,c,d),!g.hitSide);++h);return g},moveH:md(function(a,b){var c=this;this.extendSelectionsBy(function(d){return c.display.shift||c.doc.extend||d.empty()?Sf(c.doc,d.head,a,b,c.options.rtlMoveVisually):a<0?d.from():d.to()},Gg)}),deleteH:md(function(a,b){var c=this.doc.sel,d=this.doc;c.somethingSelected()?d.replaceSelection("",null,"+delete"):gf(this,function(c){var e=Sf(d,c.head,a,b,!1);return a<0?{from:e,to:c.head}:{from:c.head,to:e}})}),findPosV:function(a,b,c,d){var e=this,f=1,g=d;b<0&&(f=-1,b=-b);for(var h=N(this.doc,a),i=0;i<b;++i){var j=lc(e,h,"div");if(null==g?g=j.left:j.left=g,h=Tf(e,j,f,c),h.hitSide)break}return h},moveV:md(function(a,b){var c=this,d=this.doc,e=[],f=!this.display.shift&&!d.extend&&d.sel.somethingSelected();if(d.extendSelectionsBy(function(g){if(f)return a<0?g.from():g.to();var h=lc(c,g.head,"div");null!=g.goalColumn&&(h.left=g.goalColumn),e.push(h.left);var i=Tf(c,h,a,b);return"page"==b&&g==d.sel.primary()&&_c(c,null,kc(c,i,"div").top-h.top),i},Gg),e.length)for(var g=0;g<d.sel.ranges.length;g++)d.sel.ranges[g].goalColumn=e[g]}),findWordAt:function(a){var b=this.doc,c=z(b,a.line).text,d=a.ch,e=a.ch;if(c){var f=this.getHelper(a,"wordChars");(a.xRel<0||e==c.length)&&d?--d:++e;for(var g=c.charAt(d),h=v(g,f)?function(a){return v(a,f)}:/\s/.test(g)?function(a){return/\s/.test(a)}:function(a){return!/\s/.test(a)&&!v(a)};d>0&&h(c.charAt(d-1));)--d;for(;e<c.length&&h(c.charAt(e));)++e}return new Hd(H(a.line,d),H(a.line,e))},toggleOverwrite:function(a){null!=a&&a==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?g(this.display.cursorDiv,"CodeMirror-overwrite"):yg(this.display.cursorDiv,"CodeMirror-overwrite"),Ea(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==f()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:md(function(a,b){null==a&&null==b||bd(this),null!=a&&(this.curOp.scrollLeft=a),null!=b&&(this.curOp.scrollTop=b)}),getScrollInfo:function(){var a=this.display.scroller;return{left:a.scrollLeft,top:a.scrollTop,height:a.scrollHeight-Rb(this)-this.display.barHeight,width:a.scrollWidth-Rb(this)-this.display.barWidth,clientHeight:Tb(this),clientWidth:Sb(this)}},scrollIntoView:md(function(a,b){if(null==a?(a={from:this.doc.sel.primary().head,to:null},null==b&&(b=this.options.cursorScrollMargin)):"number"==typeof a?a={from:H(a,0),to:null}:null==a.from&&(a={from:a,to:null}),a.to||(a.to=a.from),a.margin=b||0,null!=a.from.line)bd(this),this.curOp.scrollToPos=a;else{var c=$c(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:md(function(a,b){var c=this,d=function(a){return"number"==typeof a||/^\d+$/.test(String(a))?a+"px":a};null!=a&&(this.display.wrapper.style.width=d(a)),null!=b&&(this.display.wrapper.style.height=d(b)),this.options.lineWrapping&&ec(this);var e=this.display.viewFrom;this.doc.iter(e,this.display.viewTo,function(a){if(a.widgets)for(var b=0;b<a.widgets.length;b++)if(a.widgets[b].noHScroll){pd(c,e,"widget");break}++e}),this.curOp.forceUpdate=!0,Ea(this,"refresh",this)}),operation:function(a){return kd(this,a)},refresh:md(function(){var a=this.display.cachedTextHeight;od(this),this.curOp.forceUpdate=!0,fc(this),this.scrollTo(this.doc.scrollLeft,this.doc.scrollTop),Cd(this),(null==a||Math.abs(a-qc(this.display))>.5)&&vc(this),Ea(this,"refresh",this)}),swapDoc:md(function(a){var b=this.doc;return b.cm=null,Ud(this,a),fc(this),this.display.input.reset(),this.scrollTo(a.scrollLeft,a.scrollTop),this.curOp.forceScroll=!0,yb(this,"swapDoc",this,b),b}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Ia(a),a.registerHelper=function(b,d,e){c.hasOwnProperty(b)||(c[b]=a[b]={_global:[]}),c[b][d]=e},a.registerGlobalHelper=function(b,d,e,f){a.registerHelper(b,d,f),c[b]._global.push({pred:e,val:f})}}function Sf(a,b,c,d,e){function f(){var b=h+c;return!(b<a.first||b>=a.first+a.size)&&(h=b,k=z(a,b))}function g(a){var b=(e?za:Aa)(k,i,c,!0);if(null==b){if(a||!f())return!1;i=e?(c<0?va:ua)(k):c<0?k.text.length:0}else i=b;return!0}var h=b.line,i=b.ch,j=c,k=z(a,h);if("char"==d)g();else if("column"==d)g(!0);else if("word"==d||"group"==d)for(var l=null,m="group"==d,n=a.cm&&a.cm.getHelper(b,"wordChars"),o=!0;!(c<0)||g(!o);o=!1){var p=k.text.charAt(i)||"\n",q=v(p,n)?"w":m&&"\n"==p?"n":!m||/\s/.test(p)?null:"p";if(!m||o||q||(q="s"),l&&l!=q){c<0&&(c=1,g());break}if(q&&(l=q),c>0&&!g(!o))break}var r=te(a,H(h,i),b,j,!0);return I(b,r)||(r.hitSide=!0),r}function Tf(a,b,c,d){var e,f=a.doc,g=b.left;if("page"==d){var h=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),i=Math.max(h-.5*qc(a.display),3);e=(c>0?b.bottom:b.top)+c*i}else"line"==d&&(e=c>0?b.bottom+3:b.top-3);for(var j;j=oc(a,g,e),j.outside;){if(c<0?e<=0:e>=f.height){j.hitSide=!0;break}e+=5*c}return j}function Uf(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new l,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null}function Vf(a,b){var c=Yb(a,b.line);if(!c||c.hidden)return null;var d=z(a.doc,b.line),e=Vb(c,d,b.line),f=Ba(d),g="left";if(f){var h=xa(f,b.ch);g=h%2?"right":"left"}var i=_b(e.map,b.ch,g);return i.offset="right"==i.collapse?i.end:i.start,i}function Wf(a,b){return b&&(a.bad=!0),a}function Xf(a,b,c,d,e){function f(a){return function(b){return b.id==a}}function g(b){if(1==b.nodeType){var c=b.getAttribute("cm-text");if(null!=c)return void(h+=""==c?b.textContent.replace(/\u200b/g,""):c);var k,l=b.getAttribute("cm-marker");if(l){var m=a.findMarks(H(d,0),H(e+1,0),f(+l));return void(m.length&&(k=m[0].find())&&(h+=A(a.doc,k.from,k.to).join(j)))}if("false"==b.getAttribute("contenteditable"))return;for(var n=0;n<b.childNodes.length;n++)g(b.childNodes[n]);/^(pre|div|p)$/i.test(b.nodeName)&&(i=!0)}else if(3==b.nodeType){var o=b.nodeValue;if(!o)return;i&&(h+=j,i=!1),h+=o}}for(var h="",i=!1,j=a.doc.lineSeparator();g(b),b!=c;)b=b.nextSibling;return h}function Yf(a,b,c){var d;if(b==a.display.lineDiv){if(d=a.display.lineDiv.childNodes[c],!d)return Wf(a.clipPos(H(a.display.viewTo-1)),!0);b=null,c=0}else for(d=b;;d=d.parentNode){if(!d||d==a.display.lineDiv)return null;if(d.parentNode&&d.parentNode==a.display.lineDiv)break}for(var e=0;e<a.display.view.length;e++){var f=a.display.view[e];if(f.node==d)return Zf(f,b,c)}}function Zf(a,b,c){function d(b,c,d){for(var e=-1;e<(l?l.length:0);e++)for(var f=e<0?k.map:l[e],g=0;g<f.length;g+=3){var h=f[g+2];if(h==b||h==c){var i=D(e<0?a.line:a.rest[e]),j=f[g]+d;return(d<0||h!=b)&&(j=f[g+(d?1:0)]),H(i,j)}}}var f=a.text.firstChild,g=!1;if(!b||!e(f,b))return Wf(H(D(a.line),0),!0);if(b==f&&(g=!0,b=f.childNodes[c],c=0,!b)){var h=a.rest?p(a.rest):a.line;return Wf(H(D(h),h.text.length),g)}var i=3==b.nodeType?b:null,j=b;for(i||1!=b.childNodes.length||3!=b.firstChild.nodeType||(i=b.firstChild,c&&(c=i.nodeValue.length));j.parentNode!=f;)j=j.parentNode;var k=a.measure,l=k.maps,m=d(i,j,c);if(m)return Wf(m,g);for(var n=j.nextSibling,o=i?i.nodeValue.length-c:0;n;n=n.nextSibling){if(m=d(n,n.firstChild,0))return Wf(H(m.line,m.ch-o),g);o+=n.textContent.length}for(var q=j.previousSibling,r=c;q;q=q.previousSibling){if(m=d(q,q.firstChild,-1))return Wf(H(m.line,m.ch+r),g);r+=q.textContent.length}}function $f(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new l,this.inaccurateSelection=!1,this.hasSelection=!1,this.composing=null}function _f(a,b){function c(){a.value=k.getValue()}if(b=b?j(b):{},b.value=a.value,!b.tabindex&&a.tabIndex&&(b.tabindex=a.tabIndex),!b.placeholder&&a.placeholder&&(b.placeholder=a.placeholder),null==b.autofocus){var d=f();b.autofocus=d==a||null!=a.getAttribute("autofocus")&&d==document.body}var e;if(a.form&&(Pg(a.form,"submit",c),!b.leaveSubmitMethodAlone)){var g=a.form;e=g.submit;try{var h=g.submit=function(){c(),g.submit=e,g.submit(),g.submit=h}}catch(i){}}b.finishInit=function(b){b.save=c,b.getTextArea=function(){return a},b.toTextArea=function(){b.toTextArea=isNaN,c(),a.parentNode.removeChild(b.getWrapperElement()),a.style.display="",a.form&&(Da(a.form,"submit",c),"function"==typeof a.form.submit&&(a.form.submit=e))}},a.style.display="none";var k=Hf(function(b){return a.parentNode.insertBefore(b,a.nextSibling)},b);return k}function ag(a){a.off=Da,a.on=Pg,a.wheelEventPixels=Pc,a.Doc=jh,a.splitLines=Rg,a.countColumn=k,a.findColumn=n,a.isWordChar=u,a.Pass=Dg,a.signal=Ea,a.Line=ib,a.changeEnd=Kd,a.scrollbarModel=fh,a.Pos=H,a.cmpPos=I,a.modes=Vg,a.mimeModes=Wg,a.resolveMode=Ua,a.getMode=Va,a.modeExtensions=Xg,a.extendMode=Wa,a.copyState=Xa,a.startState=Za,a.innerMode=Ya,a.commands=th,a.keyMap=qh,a.keyName=ef,a.isModifierKey=df,a.lookupKey=cf,a.normalizeKeyMap=bf,a.StringStream=Yg,a.SharedTextMarker=Pe,a.TextMarker=Ne,a.LineWidget=Ke,a.e_preventDefault=Ja,a.e_stopPropagation=Ka,a.e_stop=Ma,a.addClass=g,a.contains=e,a.rmClass=yg,a.keyNames=mh}var bg=navigator.userAgent,cg=navigator.platform,dg=/gecko\/\d/i.test(bg),eg=/MSIE \d/.test(bg),fg=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(bg),gg=eg||fg,hg=gg&&(eg?document.documentMode||6:fg[1]),ig=/WebKit\//.test(bg),jg=ig&&/Qt\/\d+\.\d+/.test(bg),kg=/Chrome\//.test(bg),lg=/Opera\//.test(bg),mg=/Apple Computer/.test(navigator.vendor),ng=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(bg),og=/PhantomJS/.test(bg),pg=/AppleWebKit/.test(bg)&&/Mobile\/\w+/.test(bg),qg=pg||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(bg),rg=pg||/Mac/.test(cg),sg=/\bCrOS\b/.test(bg),tg=/win/i.test(cg),ug=lg&&bg.match(/Version\/(\d*\.\d*)/);ug&&(ug=Number(ug[1])),ug&&ug>=15&&(lg=!1,ig=!0);var vg,wg=rg&&(jg||lg&&(null==ug||ug<12.11)),xg=dg||gg&&hg>=9,yg=function(b,c){var d=b.className,e=a(c).exec(d);if(e){var f=d.slice(e.index+e[0].length);b.className=d.slice(0,e.index)+(f?e[1]+f:"")}};vg=document.createRange?function(a,b,c,d){var e=document.createRange();return e.setEnd(d||a,c),e.setStart(a,b),e}:function(a,b,c){var d=document.body.createTextRange();try{d.moveToElementText(a.parentNode)}catch(e){return d}return d.collapse(!0),d.moveEnd("character",c),d.moveStart("character",b),d};var zg=function(a){a.select()};pg?zg=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:gg&&(zg=function(a){try{a.select()}catch(b){}}),l.prototype.set=function(a,b){clearTimeout(this.id),this.id=setTimeout(b,a)};var Ag,Bg,Cg=30,Dg={toString:function(){return"CodeMirror.Pass"}},Eg={scroll:!1},Fg={origin:"*mouse"},Gg={origin:"+move"},Hg=[""],Ig=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Jg=/[\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]/,Kg=!1,Lg=!1,Mg=null,Ng=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":8204==a?"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]/,j="L";return function(c){if(!e.test(c))return!1;for(var d=c.length,k=[],l=0;l<d;++l)k.push(a(c.charCodeAt(l)));for(var m=0,n=j;m<d;++m){var o=k[m];"m"==o?k[m]=n:n=o}for(var q=0,r=j;q<d;++q){var s=k[q];"1"==s&&"r"==r?k[q]="n":g.test(s)&&(r=s,"r"==s&&(k[q]="R"))}for(var t=1,u=k[0];t<d-1;++t){var v=k[t];"+"==v&&"1"==u&&"1"==k[t+1]?k[t]="1":","!=v||u!=k[t+1]||"1"!=u&&"n"!=u||(k[t]=u),u=v}for(var w=0;w<d;++w){var x=k[w];if(","==x)k[w]="N";else if("%"==x){var y=void 0;for(y=w+1;y<d&&"%"==k[y];++y);for(var z=w&&"!"==k[w-1]||y<d&&"1"==k[y]?"1":"N",A=w;A<y;++A)k[A]=z;w=y-1}}for(var B=0,C=j;B<d;++B){var D=k[B];"L"==C&&"1"==D?k[B]="L":g.test(D)&&(C=D)}for(var E=0;E<d;++E)if(f.test(k[E])){var F=void 0;for(F=E+1;F<d&&f.test(k[F]);++F);for(var G="L"==(E?k[E-1]:j),H="L"==(F<d?k[F]:j),I=G||H?"L":"R",J=E;J<F;++J)k[J]=I;E=F-1}for(var K,L=[],M=0;M<d;)if(h.test(k[M])){var N=M;for(++M;M<d&&h.test(k[M]);++M);L.push(new b(0,N,M))}else{var O=M,P=L.length;for(++M;M<d&&"L"!=k[M];++M);for(var Q=O;Q<M;)if(i.test(k[Q])){O<Q&&L.splice(P,0,new b(1,O,Q));var R=Q;for(++Q;Q<M&&i.test(k[Q]);++Q);L.splice(P,0,new b(2,R,Q)),O=Q}else++Q;O<M&&L.splice(P,0,new b(1,O,M))}return 1==L[0].level&&(K=c.match(/^\s+/))&&(L[0].from=K[0].length,L.unshift(new b(0,0,K[0].length))),1==p(L).level&&(K=c.match(/\s+$/))&&(p(L).to-=K[0].length,L.push(new b(0,d-K[0].length,d))),2==L[0].level&&L.unshift(new b(1,L[0].to,L[0].to)),L[0].level!=p(L).level&&L.push(new b(L[0].level,d,d)),L}}(),Og=[],Pg=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else{var d=a._handlers||(a._handlers={});d[b]=(d[b]||Og).concat(c)}},Qg=function(){if(gg&&hg<9)return!1;var a=d("div");return"draggable"in a||"dragDrop"in a}(),Rg=3!="\n\nb".split(/\n/).length?function(a){for(var b=0,c=[],d=a.length;b<=d;){var e=a.indexOf("\n",b);e==-1&&(e=a.length);var f=a.slice(b,"\r"==a.charAt(e-1)?e-1:e),g=f.indexOf("\r");g!=-1?(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/)},Sg=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return!1}}:function(a){var b;try{b=a.ownerDocument.selection.createRange()}catch(c){}return!(!b||b.parentElement()!=a)&&0!=b.compareEndPoints("StartToEnd",b)},Tg=function(){var a=d("div");return"oncopy"in a||(a.setAttribute("oncopy","return;"),"function"==typeof a.oncopy)}(),Ug=null,Vg={},Wg={},Xg={},Yg=function(a,b){this.pos=this.start=0,this.string=a,this.tabSize=b||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0};Yg.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,c=this.string.charAt(this.pos);if(b="string"==typeof a?c==a:c&&(a.test?a.test(c):a(c)))return++this.pos,c},eatWhile:function(a){for(var b=this.pos;this.eat(a););return this.pos>b},eatSpace:function(){for(var a=this,b=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++a.pos;return this.pos>b},skipToEnd:function(){this.pos=this.string.length},skipTo:function(a){var b=this.string.indexOf(a,this.pos);if(b>-1)return this.pos=b,!0},backUp:function(a){this.pos-=a},column:function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=k(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?k(this.string,this.lineStart,this.tabSize):0)},indentation:function(){return k(this.string,null,this.tabSize)-(this.lineStart?k(this.string,this.lineStart,this.tabSize):0)},match:function(a,b,c){if("string"!=typeof a){var d=this.string.slice(this.pos).match(a);return d&&d.index>0?null:(d&&b!==!1&&(this.pos+=d[0].length),d)}var e=function(a){return c?a.toLowerCase():a},f=this.string.substr(this.pos,a.length);if(e(f)==e(a))return b!==!1&&(this.pos+=a.length),!0},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(a,b){this.lineStart+=a;try{return b()}finally{this.lineStart-=a}}},Ia(ib),ib.prototype.lineNo=function(){return D(this)};var Zg,$g={},_g={},ah=null,bh=null,ch={left:0,right:0,top:0,bottom:0},dh=0,eh=null;gg?eh=-.53:dg?eh=15:kg?eh=-.7:mg&&(eh=-1/3),Sc.prototype=j({update:function(a){var b=a.scrollWidth>a.clientWidth+1,c=a.scrollHeight>a.clientHeight+1,d=a.nativeBarWidth;if(c){this.vert.style.display="block",this.vert.style.bottom=b?d+"px":"0";var e=a.viewHeight-(b?d:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+e)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(b){this.horiz.style.display="block",this.horiz.style.right=c?d+"px":"0",this.horiz.style.left=a.barLeft+"px";var f=a.viewWidth-a.barLeft-(c?d:0);this.horiz.firstChild.style.width=a.scrollWidth-a.clientWidth+f+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(0==d&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:c?d:0,bottom:b?d:0}},setScrollLeft:function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz)},setScrollTop:function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert)},zeroWidthHack:function(){var a=rg&&!ng?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new l,this.disableVert=new l},enableZeroWidthBar:function(a,b){function c(){var d=a.getBoundingClientRect(),e=document.elementFromPoint(d.left+1,d.bottom-1);e!=a?a.style.pointerEvents="none":b.set(1e3,c)}a.style.pointerEvents="auto",b.set(1e3,c)},clear:function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)}},Sc.prototype),Tc.prototype=j({update:function(){return{bottom:0,right:0}},setScrollLeft:function(){},setScrollTop:function(){},clear:function(){}},Tc.prototype);var fh={"native":Sc,"null":Tc},gh=0;wd.prototype.signal=function(a,b){Ha(a,b)&&this.events.push(arguments)},wd.prototype.finish=function(){for(var a=this,b=0;b<this.events.length;b++)Ea.apply(null,a.events[b])},Gd.prototype={primary:function(){return this.ranges[this.primIndex]},equals:function(a){var b=this;if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var c=0;c<this.ranges.length;c++){var d=b.ranges[c],e=a.ranges[c];if(0!=I(d.anchor,e.anchor)||0!=I(d.head,e.head))return!1}return!0},deepCopy:function(){for(var a=this,b=[],c=0;c<this.ranges.length;c++)b[c]=new Hd(J(a.ranges[c].anchor),J(a.ranges[c].head));return new Gd(b,this.primIndex)},somethingSelected:function(){for(var a=this,b=0;b<this.ranges.length;b++)if(!a.ranges[b].empty())return!0;return!1},contains:function(a,b){var c=this;b||(b=a);for(var d=0;d<this.ranges.length;d++){var e=c.ranges[d];if(I(b,e.from())>=0&&I(a,e.to())<=0)return d}return-1}},Hd.prototype={from:function(){return L(this.anchor,this.head)},to:function(){return K(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}},Ie.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,b){for(var c=this,d=a,e=a+b;d<e;++d){var f=c.lines[d];c.height-=f.height,kb(f),yb(f,"delete")}this.lines.splice(a,b)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,b,c){var d=this;this.height+=c,this.lines=this.lines.slice(0,a).concat(b).concat(this.lines.slice(a));for(var e=0;e<b.length;++e)b[e].parent=d},iterN:function(a,b,c){for(var d=this,e=a+b;a<e;++a)if(c(d.lines[a]))return!0}},Je.prototype={chunkSize:function(){return this.size},removeInner:function(a,b){var c=this;this.size-=b;for(var d=0;d<this.children.length;++d){var e=c.children[d],f=e.chunkSize();if(a<f){var g=Math.min(b,f-a),h=e.height;if(e.removeInner(a,g),c.height-=h-e.height,f==g&&(c.children.splice(d--,1),e.parent=null),0==(b-=g))break;a=0}else a-=f}if(this.size-b<25&&(this.children.length>1||!(this.children[0]instanceof Ie))){var i=[];this.collapse(i),this.children=[new Ie(i)],this.children[0].parent=this}},collapse:function(a){for(var b=this,c=0;c<this.children.length;++c)b.children[c].collapse(a)},insertInner:function(a,b,c){var d=this;this.size+=b.length,this.height+=c;for(var e=0;e<this.children.length;++e){var f=d.children[e],g=f.chunkSize();if(a<=g){if(f.insertInner(a,b,c),f.lines&&f.lines.length>50){for(var h=f.lines.length%25+25,i=h;i<f.lines.length;){var j=new Ie(f.lines.slice(i,i+=25));f.height-=j.height,d.children.splice(++e,0,j),j.parent=d}f.lines=f.lines.slice(0,h),d.maybeSpill()}break}a-=g}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var b=a.children.splice(a.children.length-5,5),c=new Je(b);if(a.parent){a.size-=c.size,a.height-=c.height;var d=m(a.parent.children,a);a.parent.children.splice(d+1,0,c)}else{var e=new Je(a.children);e.parent=a,a.children=[e,c],a=e}c.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,b,c){for(var d=this,e=0;e<this.children.length;++e){var f=d.children[e],g=f.chunkSize();if(a<g){var h=Math.min(b,g-a);if(f.iterN(a,h,c))return!0;if(0==(b-=h))break;a=0}else a-=g}}},Ia(Ke),Ke.prototype.clear=function(){var a=this,b=this.doc.cm,c=this.line.widgets,d=this.line,e=D(d);if(null!=e&&c){for(var f=0;f<c.length;++f)c[f]==a&&c.splice(f--,1);c.length||(d.widgets=null);var g=Mb(this);C(d,Math.max(0,d.height-g)),b&&kd(b,function(){Le(b,d,-g),pd(b,e,"widget")})}},Ke.prototype.changed=function(){var a=this.height,b=this.doc.cm,c=this.line;this.height=null;var d=Mb(this)-a;d&&(C(c,c.height+d),b&&kd(b,function(){b.curOp.forceUpdate=!0,Le(b,c,d)}))};var hh=0;Ia(Ne),Ne.prototype.clear=function(){var a=this;if(!this.explicitlyCleared){var b=this.doc.cm,c=b&&!b.curOp;if(c&&cd(b),Ha(this,"clear")){var d=this.find();d&&yb(this,"clear",d.from,d.to)}for(var e=null,f=null,g=0;g<this.lines.length;++g){var h=a.lines[g],i=T(h.markedSpans,a);b&&!a.collapsed?pd(b,D(h),"text"):b&&(null!=i.to&&(f=D(h)),null!=i.from&&(e=D(h))),h.markedSpans=U(h.markedSpans,i),null==i.from&&a.collapsed&&!ma(a.doc,h)&&b&&C(h,qc(b.display))}if(b&&this.collapsed&&!b.options.lineWrapping)for(var j=0;j<this.lines.length;++j){var k=ia(a.lines[j]),l=pa(k);l>b.display.maxLineLength&&(b.display.maxLine=k,b.display.maxLineLength=l,b.display.maxLineChanged=!0)}null!=e&&b&&this.collapsed&&od(b,e,f+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,b&&qe(b.doc)),b&&yb(b,"markerCleared",b,this),c&&dd(b),this.parent&&this.parent.clear()}},Ne.prototype.find=function(a,b){var c=this;null==a&&"bookmark"==this.type&&(a=1);for(var d,e,f=0;f<this.lines.length;++f){var g=c.lines[f],h=T(g.markedSpans,c);if(null!=h.from&&(d=H(b?g:D(g),h.from),a==-1))return d;if(null!=h.to&&(e=H(b?g:D(g),h.to),1==a))return e}return d&&{from:d,to:e}},Ne.prototype.changed=function(){var a=this.find(-1,!0),b=this,c=this.doc.cm;a&&c&&kd(c,function(){var d=a.line,e=D(a.line),f=Yb(c,e);if(f&&(dc(f),c.curOp.selectionChanged=c.curOp.forceUpdate=!0),c.curOp.updateMaxLine=!0,!ma(b.doc,d)&&null!=b.height){var g=b.height;b.height=null;var h=Mb(b)-g;h&&C(d,d.height+h)}})},Ne.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){
|
5 |
+
var b=this.doc.cm.curOp;b.maybeHiddenMarkers&&m(b.maybeHiddenMarkers,this)!=-1||(b.maybeUnhiddenMarkers||(b.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},Ne.prototype.detachLine=function(a){if(this.lines.splice(m(this.lines,a),1),!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;(b.maybeHiddenMarkers||(b.maybeHiddenMarkers=[])).push(this)}},Ia(Pe),Pe.prototype.clear=function(){var a=this;if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var b=0;b<this.markers.length;++b)a.markers[b].clear();yb(this,"clear")}},Pe.prototype.find=function(a,b){return this.primary.find(a,b)};var ih=0,jh=function(a,b,c,d){if(!(this instanceof jh))return new jh(a,b,c,d);null==c&&(c=0),Je.call(this,[new Ie([new ib("",null)])]),this.first=c,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=c;var e=H(c,0);this.sel=Jd(e),this.history=new Vd(null),this.id=++ih,this.modeOption=b,this.lineSep=d,this.extend=!1,"string"==typeof a&&(a=this.splitLines(a)),Sd(this,{from:e,to:e,text:a}),ne(this,Jd(e),Eg)};jh.prototype=t(Je.prototype,{constructor:jh,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+=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=B(this,this.first,this.first+this.size);return a===!1?b:b.join(a||this.lineSeparator())},setValue:nd(function(a){var b=H(this.first,0),c=this.first+this.size-1;xe(this,{from:b,to:H(c,z(this,c).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),ne(this,Jd(b))}),replaceRange:function(a,b,c,d){b=N(this,b),c=c?N(this,c):b,De(this,a,b,c,d)},getRange:function(a,b,c){var d=A(this,N(this,a),N(this,b));return c===!1?d:d.join(c||this.lineSeparator())},getLine:function(a){var b=this.getLineHandle(a);return b&&b.text},getLineHandle:function(a){if(F(this,a))return z(this,a)},getLineNumber:function(a){return D(a)},getLineHandleVisualStart:function(a){return"number"==typeof a&&(a=z(this,a)),ia(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return N(this,a)},getCursor:function(a){var b,c=this.sel.primary();return b=null==a||"head"==a?c.head:"anchor"==a?c.anchor:"end"==a||"to"==a||a===!1?c.to():c.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:nd(function(a,b,c){ke(this,N(this,"number"==typeof a?H(a,b||0):a),null,c)}),setSelection:nd(function(a,b,c){ke(this,N(this,a),N(this,b||a),c)}),extendSelection:nd(function(a,b,c){he(this,N(this,a),b&&N(this,b),c)}),extendSelections:nd(function(a,b){ie(this,P(this,a),b)}),extendSelectionsBy:nd(function(a,b){var c=q(this.sel.ranges,a);ie(this,P(this,c),b)}),setSelections:nd(function(a,b,c){var d=this;if(a.length){for(var e=[],f=0;f<a.length;f++)e[f]=new Hd(N(d,a[f].anchor),N(d,a[f].head));null==b&&(b=Math.min(a.length-1,this.sel.primIndex)),ne(this,Id(e,b),c)}}),addSelection:nd(function(a,b,c){var d=this.sel.ranges.slice(0);d.push(new Hd(N(this,a),N(this,b||a))),ne(this,Id(d,d.length-1),c)}),getSelection:function(a){for(var b,c=this,d=this.sel.ranges,e=0;e<d.length;e++){var f=A(c,d[e].from(),d[e].to());b=b?b.concat(f):f}return a===!1?b:b.join(a||this.lineSeparator())},getSelections:function(a){for(var b=this,c=[],d=this.sel.ranges,e=0;e<d.length;e++){var f=A(b,d[e].from(),d[e].to());a!==!1&&(f=f.join(a||b.lineSeparator())),c[e]=f}return c},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:nd(function(a,b,c){for(var d=this,e=[],f=this.sel,g=0;g<f.ranges.length;g++){var h=f.ranges[g];e[g]={from:h.from(),to:h.to(),text:d.splitLines(a[g]),origin:c}}for(var i=b&&"end"!=b&&Od(this,e,b),j=e.length-1;j>=0;j--)xe(d,e[j]);i?me(this,i):this.cm&&ad(this.cm)}),undo:nd(function(){ze(this,"undo")}),redo:nd(function(){ze(this,"redo")}),undoSelection:nd(function(){ze(this,"undo",!0)}),redoSelection:nd(function(){ze(this,"redo",!0)}),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(var e=0;e<a.undone.length;e++)a.undone[e].ranges||++c;return{undo:b,redo:c}},clearHistory:function(){this.history=new Vd(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:fe(this.history.done),undone:fe(this.history.undone)}},setHistory:function(a){var b=this.history=new Vd(this.history.maxGeneration);b.done=fe(a.done.slice(0),null,!0),b.undone=fe(a.undone.slice(0),null,!0)},setGutterMarker:nd(function(a,b,c){return He(this,a,"gutter",function(a){var d=a.gutterMarkers||(a.gutterMarkers={});return d[b]=c,!c&&w(d)&&(a.gutterMarkers=null),!0})}),clearGutter:nd(function(a){var b=this,c=this.first;this.iter(function(d){d.gutterMarkers&&d.gutterMarkers[a]&&He(b,d,"gutter",function(){return d.gutterMarkers[a]=null,w(d.gutterMarkers)&&(d.gutterMarkers=null),!0}),++c})}),lineInfo:function(a){var b;if("number"==typeof a){if(!F(this,a))return null;if(b=a,a=z(this,a),!a)return null}else if(b=D(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}},addLineClass:nd(function(b,c,d){return He(this,b,"gutter"==c?"gutter":"class",function(b){var e="text"==c?"textClass":"background"==c?"bgClass":"gutter"==c?"gutterClass":"wrapClass";if(b[e]){if(a(d).test(b[e]))return!1;b[e]+=" "+d}else b[e]=d;return!0})}),removeLineClass:nd(function(b,c,d){return He(this,b,"gutter"==c?"gutter":"class",function(b){var e="text"==c?"textClass":"background"==c?"bgClass":"gutter"==c?"gutterClass":"wrapClass",f=b[e];if(!f)return!1;if(null==d)b[e]=null;else{var g=f.match(a(d));if(!g)return!1;var h=g.index+g[0].length;b[e]=f.slice(0,g.index)+(g.index&&h!=f.length?" ":"")+f.slice(h)||null}return!0})}),addLineWidget:nd(function(a,b,c){return Me(this,a,b,c)}),removeLineWidget:function(a){a.clear()},markText:function(a,b,c){return Oe(this,N(this,a),N(this,b),c,c&&c.type||"range")},setBookmark:function(a,b){var c={replacedWith:b&&(null==b.nodeType?b.widget:b),insertLeft:b&&b.insertLeft,clearWhenEmpty:!1,shared:b&&b.shared,handleMouseEvents:b&&b.handleMouseEvents};return a=N(this,a),Oe(this,a,a,c,"bookmark")},findMarksAt:function(a){a=N(this,a);var b=[],c=z(this,a.line).markedSpans;if(c)for(var d=0;d<c.length;++d){var e=c[d];(null==e.from||e.from<=a.ch)&&(null==e.to||e.to>=a.ch)&&b.push(e.marker.parent||e.marker)}return b},findMarks:function(a,b,c){a=N(this,a),b=N(this,b);var d=[],e=a.line;return this.iter(a.line,b.line+1,function(f){var g=f.markedSpans;if(g)for(var h=0;h<g.length;h++){var i=g[h];null!=i.to&&e==a.line&&a.ch>=i.to||null==i.from&&e!=a.line||null!=i.from&&e==b.line&&i.from>=b.ch||c&&!c(i.marker)||d.push(i.marker.parent||i.marker)}++e}),d},getAllMarks:function(){var a=[];return this.iter(function(b){var c=b.markedSpans;if(c)for(var d=0;d<c.length;++d)null!=c[d].from&&a.push(c[d].marker)}),a},posFromIndex:function(a){var b,c=this.first,d=this.lineSeparator().length;return this.iter(function(e){var f=e.text.length+d;return f>a?(b=a,!0):(a-=f,void++c)}),N(this,H(c,b))},indexFromPos:function(a){a=N(this,a);var b=a.ch;if(a.line<this.first||a.ch<0)return 0;var c=this.lineSeparator().length;return this.iter(this.first,a.line,function(a){b+=a.text.length+c}),b},copy:function(a){var b=new jh(B(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep);return b.scrollTop=this.scrollTop,b.scrollLeft=this.scrollLeft,b.sel=this.sel,b.extend=!1,a&&(b.history.undoDepth=this.history.undoDepth,b.setHistory(this.getHistory())),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);var d=new jh(B(this,b,c),a.mode||this.modeOption,b,this.lineSep);return a.sharedHist&&(d.history=this.history),(this.linked||(this.linked=[])).push({doc:d,sharedHist:a.sharedHist}),d.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],Se(d,Re(this)),d},unlinkDoc:function(a){var b=this;if(a instanceof Hf&&(a=a.doc),this.linked)for(var c=0;c<this.linked.length;++c){var d=b.linked[c];if(d.doc==a){b.linked.splice(c,1),a.unlinkDoc(b),Te(Re(b));break}}if(a.history==this.history){var e=[a.id];Td(a,function(a){return e.push(a.id)},!0),a.history=new Vd(null),a.history.done=fe(this.history.done,e),a.history.undone=fe(this.history.undone,e)}},iterLinkedDocs:function(a){Td(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):Rg(a)},lineSeparator:function(){return this.lineSep||"\n"}}),jh.prototype.eachLine=jh.prototype.iter;for(var kh=0,lh=!1,mh={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",106:"*",107:"=",109:"-",110:".",111:"/",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"},nh=0;nh<10;nh++)mh[nh+48]=mh[nh+96]=String(nh);for(var oh=65;oh<=90;oh++)mh[oh]=String.fromCharCode(oh);for(var ph=1;ph<=12;ph++)mh[ph+111]=mh[ph+63235]="F"+ph;var qh={};qh.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"},qh.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","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"},qh.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","Ctrl-O":"openLine"},qh.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","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":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},qh["default"]=rg?qh.macDefault:qh.pcDefault;var rh,sh,th={selectAll:ve,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),Eg)},killLine:function(a){return gf(a,function(b){if(b.empty()){var c=z(a.doc,b.head.line).text.length;return b.head.ch==c&&b.head.line<a.lastLine()?{from:b.head,to:H(b.head.line+1,0)}:{from:b.head,to:H(b.head.line,c)}}return{from:b.from(),to:b.to()}})},deleteLine:function(a){return gf(a,function(b){return{from:H(b.from().line,0),to:N(a.doc,H(b.to().line+1,0))}})},delLineLeft:function(a){return gf(a,function(a){return{from:H(a.from().line,0),to:a.from()}})},delWrappedLineLeft:function(a){return gf(a,function(b){var c=a.charCoords(b.head,"div").top+5,d=a.coordsChar({left:0,top:c},"div");return{from:d,to:b.from()}})},delWrappedLineRight:function(a){return gf(a,function(b){var c=a.charCoords(b.head,"div").top+5,d=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:c},"div");return{from:b.from(),to:d}})},undo:function(a){return a.undo()},redo:function(a){return a.redo()},undoSelection:function(a){return a.undoSelection()},redoSelection:function(a){return a.redoSelection()},goDocStart:function(a){return a.extendSelection(H(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(H(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(b){return hf(a,b.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(b){return kf(a,b.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(b){return jf(a,b.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(b){var c=a.charCoords(b.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:c},"div")},Gg)},goLineLeft:function(a){return a.extendSelectionsBy(function(b){var c=a.charCoords(b.head,"div").top+5;return a.coordsChar({left:0,top:c},"div")},Gg)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(b){var c=a.charCoords(b.head,"div").top+5,d=a.coordsChar({left:0,top:c},"div");return d.ch<a.getLine(d.line).search(/\S/)?kf(a,b.head):d},Gg)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"char")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return 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(),g=k(a.getLine(f.line),f.ch,d);b.push(o(d-g%d))}a.replaceSelections(b)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return kd(a,function(){for(var b=a.listSelections(),c=[],d=0;d<b.length;d++)if(b[d].empty()){var e=b[d].head,f=z(a.doc,e.line).text;if(f)if(e.ch==f.length&&(e=new H(e.line,e.ch-1)),e.ch>0)e=new H(e.line,e.ch+1),a.replaceRange(f.charAt(e.ch-1)+f.charAt(e.ch-2),H(e.line,e.ch-2),e,"+transpose");else if(e.line>a.doc.first){var g=z(a.doc,e.line-1).text;g&&(e=new H(e.line,1),a.replaceRange(f.charAt(0)+a.doc.lineSeparator()+g.charAt(g.length-1),H(e.line-1,g.length-1),e,"+transpose"))}c.push(new Hd(e,e))}a.setSelections(c)})},newlineAndIndent:function(a){return kd(a,function(){for(var b=a.listSelections(),c=b.length-1;c>=0;c--)a.replaceRange(a.doc.lineSeparator(),b[c].anchor,b[c].head,"+input");b=a.listSelections();for(var d=0;d<b.length;d++)a.indentLine(b[d].from().line,null,!0);ad(a)})},openLine:function(a){return a.replaceSelection("\n","start")},toggleOverwrite:function(a){return a.toggleOverwrite()}},uh=new l,vh=null,wh={toString:function(){return"CodeMirror.Init"}},xh={},yh={};Hf.defaults=xh,Hf.optionHandlers=yh;var zh=[];Hf.defineInitHook=function(a){return zh.push(a)};var Ah=null;Uf.prototype=j({init:function(a){function b(a){if(!Fa(e,a)){if(e.somethingSelected())Kf({lineWise:!1,text:e.getSelections()}),"cut"==a.type&&e.replaceSelection("",null,"cut");else{if(!e.options.lineWiseCopyCut)return;var b=Of(e);Kf({lineWise:!0,text:b.text}),"cut"==a.type&&e.operation(function(){e.setSelections(b.ranges,0,Eg),e.replaceSelection("",null,"cut")})}if(a.clipboardData){a.clipboardData.clearData();var c=Ah.text.join("\n");if(a.clipboardData.setData("Text",c),a.clipboardData.getData("Text")==c)return void a.preventDefault()}var g=Qf(),h=g.firstChild;e.display.lineSpace.insertBefore(g,e.display.lineSpace.firstChild),h.value=Ah.text.join("\n");var i=document.activeElement;zg(h),setTimeout(function(){e.display.lineSpace.removeChild(g),i.focus(),i==f&&d.showPrimarySelection()},50)}}var c=this,d=this,e=d.cm,f=d.div=a.lineDiv;Pf(f,e.options.spellcheck),Pg(f,"paste",function(a){Fa(e,a)||Mf(a,e)||hg<=11&&setTimeout(ld(e,function(){d.pollContent()||od(e)}),20)}),Pg(f,"compositionstart",function(a){c.composing={data:a.data}}),Pg(f,"compositionupdate",function(a){c.composing||(c.composing={data:a.data})}),Pg(f,"compositionend",function(a){c.composing&&(a.data!=c.composing.data&&c.readFromDOMSoon(),c.composing=null)}),Pg(f,"touchstart",function(){return d.forceCompositionEnd()}),Pg(f,"input",function(){c.composing||c.readFromDOMSoon()}),Pg(f,"copy",b),Pg(f,"cut",b)},prepareSelection:function(){var a=zc(this.cm,!1);return a.focus=this.cm.state.focused,a},showSelection:function(a,b){a&&this.cm.display.view.length&&((a.focus||b)&&this.showPrimarySelection(),this.showMultipleSelections(a))},showPrimarySelection:function(){var a=window.getSelection(),b=this.cm.doc.sel.primary(),c=Yf(this.cm,a.anchorNode,a.anchorOffset),d=Yf(this.cm,a.focusNode,a.focusOffset);if(!c||c.bad||!d||d.bad||0!=I(L(c,d),b.from())||0!=I(K(c,d),b.to())){var e=Vf(this.cm,b.from()),f=Vf(this.cm,b.to());if(e||f){var g=this.cm.display.view,h=a.rangeCount&&a.getRangeAt(0);if(e){if(!f){var i=g[g.length-1].measure,j=i.maps?i.maps[i.maps.length-1]:i.map;f={node:j[j.length-1],offset:j[j.length-2]-j[j.length-3]}}}else e={node:g[0].measure.map[2],offset:0};var k;try{k=vg(e.node,e.offset,f.offset,f.node)}catch(l){}k&&(!dg&&this.cm.state.focused?(a.collapse(e.node,e.offset),k.collapsed||(a.removeAllRanges(),a.addRange(k))):(a.removeAllRanges(),a.addRange(k)),h&&null==a.anchorNode?a.addRange(h):dg&&this.startGracePeriod()),this.rememberSelection()}}},startGracePeriod:function(){var a=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){a.gracePeriod=!1,a.selectionChanged()&&a.cm.operation(function(){return a.cm.curOp.selectionChanged=!0})},20)},showMultipleSelections:function(a){c(this.cm.display.cursorDiv,a.cursors),c(this.cm.display.selectionDiv,a.selection)},rememberSelection:function(){var a=window.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},selectionInEditor:function(){var a=window.getSelection();if(!a.rangeCount)return!1;var b=a.getRangeAt(0).commonAncestorContainer;return e(this.div,b)},focus:function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},blur:function(){this.div.blur()},getField:function(){return this.div},supportsTouch:function(){return!0},receivedFocus:function(){function a(){b.cm.state.focused&&(b.pollSelection(),b.polling.set(b.cm.options.pollInterval,a))}var b=this;this.selectionInEditor()?this.pollSelection():kd(this.cm,function(){return b.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,a)},selectionChanged:function(){var a=window.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},pollSelection:function(){if(!this.composing&&null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var a=window.getSelection(),b=this.cm;this.rememberSelection();var c=Yf(b,a.anchorNode,a.anchorOffset),d=Yf(b,a.focusNode,a.focusOffset);c&&d&&kd(b,function(){ne(b.doc,Jd(c,d),Eg),(c.bad||d.bad)&&(b.curOp.selectionChanged=!0)})}},pollContent:function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,b=a.display,c=a.doc.sel.primary(),d=c.from(),e=c.to();if(0==d.ch&&d.line>a.firstLine()&&(d=H(d.line-1,z(a.doc,d.line-1).length)),e.ch==z(a.doc,e.line).text.length&&e.line<a.lastLine()&&(e=H(e.line+1,0)),d.line<b.viewFrom||e.line>b.viewTo-1)return!1;var f,g,h;d.line==b.viewFrom||0==(f=xc(a,d.line))?(g=D(b.view[0].line),h=b.view[0].node):(g=D(b.view[f].line),h=b.view[f-1].node.nextSibling);var i,j,k=xc(a,e.line);if(k==b.view.length-1?(i=b.viewTo-1,j=b.lineDiv.lastChild):(i=D(b.view[k+1].line)-1,j=b.view[k+1].node.previousSibling),!h)return!1;for(var l=a.doc.splitLines(Xf(a,h,j,g,i)),m=A(a.doc,H(g,0),H(i,z(a.doc,i).text.length));l.length>1&&m.length>1;)if(p(l)==p(m))l.pop(),m.pop(),i--;else{if(l[0]!=m[0])break;l.shift(),m.shift(),g++}for(var n=0,o=0,q=l[0],r=m[0],s=Math.min(q.length,r.length);n<s&&q.charCodeAt(n)==r.charCodeAt(n);)++n;for(var t=p(l),u=p(m),v=Math.min(t.length-(1==l.length?n:0),u.length-(1==m.length?n:0));o<v&&t.charCodeAt(t.length-o-1)==u.charCodeAt(u.length-o-1);)++o;l[l.length-1]=t.slice(0,t.length-o).replace(/^\u200b+/,""),l[0]=l[0].slice(n).replace(/\u200b+$/,"");var w=H(g,n),x=H(i,m.length?p(m).length-o:0);return l.length>1||l[0]||I(w,x)?(De(a.doc,l,w,x,"+input"),!0):void 0},ensurePolled:function(){this.forceCompositionEnd()},reset:function(){this.forceCompositionEnd()},forceCompositionEnd:function(){this.composing&&(this.composing=null,this.pollContent()||od(this.cm),this.div.blur(),this.div.focus())},readFromDOMSoon:function(){var a=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){a.readDOMTimeout=null,a.composing||!a.cm.isReadOnly()&&a.pollContent()||kd(a.cm,function(){return od(a.cm)})},80))},setUneditable:function(a){a.contentEditable="false"},onKeyPress:function(a){a.preventDefault(),this.cm.isReadOnly()||ld(this.cm,Lf)(this.cm,String.fromCharCode(null==a.charCode?a.keyCode:a.charCode),0)},readOnlyChanged:function(a){this.div.contentEditable=String("nocursor"!=a)},onContextMenu:s,resetPosition:s,needsContentAttribute:!0},Uf.prototype),$f.prototype=j({init:function(a){function b(a){if(!Fa(e,a)){if(e.somethingSelected())Kf({lineWise:!1,text:e.getSelections()}),d.inaccurateSelection&&(d.prevInput="",d.inaccurateSelection=!1,g.value=Ah.text.join("\n"),zg(g));else{if(!e.options.lineWiseCopyCut)return;var b=Of(e);Kf({lineWise:!0,text:b.text}),"cut"==a.type?e.setSelections(b.ranges,null,Eg):(d.prevInput="",g.value=b.text.join("\n"),zg(g))}"cut"==a.type&&(e.state.cutIncoming=!0)}}var c=this,d=this,e=this.cm,f=this.wrapper=Qf(),g=this.textarea=f.firstChild;a.wrapper.insertBefore(f,a.wrapper.firstChild),pg&&(g.style.width="0px"),Pg(g,"input",function(){gg&&hg>=9&&c.hasSelection&&(c.hasSelection=null),d.poll()}),Pg(g,"paste",function(a){Fa(e,a)||Mf(a,e)||(e.state.pasteIncoming=!0,d.fastPoll())}),Pg(g,"cut",b),Pg(g,"copy",b),Pg(a.scroller,"paste",function(b){Nb(a,b)||Fa(e,b)||(e.state.pasteIncoming=!0,d.focus())}),Pg(a.lineSpace,"selectstart",function(b){Nb(a,b)||Ja(b)}),Pg(g,"compositionstart",function(){var a=e.getCursor("from");d.composing&&d.composing.range.clear(),d.composing={start:a,range:e.markText(a,e.getCursor("to"),{className:"CodeMirror-composing"})}}),Pg(g,"compositionend",function(){d.composing&&(d.poll(),d.composing.range.clear(),d.composing=null)})},prepareSelection:function(){var a=this.cm,b=a.display,c=a.doc,d=zc(a);if(a.options.moveInputWithCursor){var e=lc(a,c.sel.primary().head,"div"),f=b.wrapper.getBoundingClientRect(),g=b.lineDiv.getBoundingClientRect();d.teTop=Math.max(0,Math.min(b.wrapper.clientHeight-10,e.top+g.top-f.top)),d.teLeft=Math.max(0,Math.min(b.wrapper.clientWidth-10,e.left+g.left-f.left))}return d},showSelection:function(a){var b=this.cm,d=b.display;c(d.cursorDiv,a.cursors),c(d.selectionDiv,a.selection),null!=a.teTop&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},reset:function(a){if(!this.contextMenuPending){var b,c,d=this.cm,e=d.doc;if(d.somethingSelected()){this.prevInput="";var f=e.sel.primary();b=Tg&&(f.to().line-f.from().line>100||(c=d.getSelection()).length>1e3);var g=b?"-":c||d.getSelection();this.textarea.value=g,d.state.focused&&zg(this.textarea),gg&&hg>=9&&(this.hasSelection=g)}else a||(this.prevInput=this.textarea.value="",gg&&hg>=9&&(this.hasSelection=null));this.inaccurateSelection=b}},getField:function(){return this.textarea},supportsTouch:function(){return!1},focus:function(){if("nocursor"!=this.cm.options.readOnly&&(!qg||f()!=this.textarea))try{this.textarea.focus()}catch(a){}},blur:function(){this.textarea.blur()},resetPosition:function(){this.wrapper.style.top=this.wrapper.style.left=0},receivedFocus:function(){this.slowPoll()},slowPoll:function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},fastPoll:function(){function a(){var d=c.poll();d||b?(c.pollingFast=!1,c.slowPoll()):(b=!0,c.polling.set(60,a))}var b=!1,c=this;c.pollingFast=!0,c.polling.set(20,a)},poll:function(){var a=this,b=this.cm,c=this.textarea,d=this.prevInput;if(this.contextMenuPending||!b.state.focused||Sg(c)&&!d&&!this.composing||b.isReadOnly()||b.options.disableInput||b.state.keySeq)return!1;var e=c.value;if(e==d&&!b.somethingSelected())return!1;if(gg&&hg>=9&&this.hasSelection===e||rg&&/[\uf700-\uf7ff]/.test(e))return b.display.input.reset(),!1;if(b.doc.sel==b.display.selForContextMenu){var f=e.charCodeAt(0);if(8203!=f||d||(d=""),8666==f)return this.reset(),this.cm.execCommand("undo")}for(var g=0,h=Math.min(d.length,e.length);g<h&&d.charCodeAt(g)==e.charCodeAt(g);)++g;return kd(b,function(){Lf(b,e.slice(g),d.length-g,null,a.composing?"*compose":null),e.length>1e3||e.indexOf("\n")>-1?c.value=a.prevInput="":a.prevInput=e,a.composing&&(a.composing.range.clear(),a.composing.range=b.markText(a.composing.start,b.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ensurePolled:function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},onKeyPress:function(){gg&&hg>=9&&(this.hasSelection=null),this.fastPoll()},onContextMenu:function(a){function b(){if(null!=g.selectionStart){var a=e.somethingSelected(),b=""+(a?g.value:"");g.value="⇚",g.value=b,d.prevInput=a?"":"",g.selectionStart=1,g.selectionEnd=b.length,f.selForContextMenu=e.doc.sel}}function c(){if(d.contextMenuPending=!1,d.wrapper.style.cssText=l,g.style.cssText=k,gg&&hg<9&&f.scrollbars.setScrollTop(f.scroller.scrollTop=i),null!=g.selectionStart){(!gg||gg&&hg<9)&&b();var a=0,c=function(){f.selForContextMenu==e.doc.sel&&0==g.selectionStart&&g.selectionEnd>0&&""==d.prevInput?ld(e,ve)(e):a++<10?f.detectingSelectAll=setTimeout(c,500):f.input.reset()};f.detectingSelectAll=setTimeout(c,200)}}var d=this,e=d.cm,f=e.display,g=d.textarea,h=wc(e,a),i=f.scroller.scrollTop;if(h&&!lg){var j=e.options.resetSelectionOnContextMenu;j&&e.doc.sel.contains(h)==-1&&ld(e,ne)(e.doc,Jd(h),Eg);var k=g.style.cssText,l=d.wrapper.style.cssText;d.wrapper.style.cssText="position: absolute";var m=d.wrapper.getBoundingClientRect();g.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(a.clientY-m.top-5)+"px; left: "+(a.clientX-m.left-5)+"px;\n z-index: 1000; background: "+(gg?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var n;if(ig&&(n=window.scrollY),f.input.focus(),ig&&window.scrollTo(null,n),f.input.reset(),e.somethingSelected()||(g.value=d.prevInput=" "),d.contextMenuPending=!0,f.selForContextMenu=e.doc.sel,clearTimeout(f.detectingSelectAll),gg&&hg>=9&&b(),xg){Ma(a);var o=function(){Da(window,"mouseup",o),setTimeout(c,20)};Pg(window,"mouseup",o)}else setTimeout(c,50)}},readOnlyChanged:function(a){a||this.reset()},setUneditable:s,needsContentAttribute:!1},$f.prototype),Df(Hf),Rf(Hf);var Bh="iter insert remove copy getEditor constructor".split(" ");for(var Ch in jh.prototype)jh.prototype.hasOwnProperty(Ch)&&m(Bh,Ch)<0&&(Hf.prototype[Ch]=function(a){return function(){return a.apply(this.doc,arguments)}}(jh.prototype[Ch]));return Ia(jh),Hf.inputStyles={textarea:$f,contenteditable:Uf},Hf.defineMode=function(a){Hf.defaults.mode||"null"==a||(Hf.defaults.mode=a),Sa.apply(this,arguments)},Hf.defineMIME=Ta,Hf.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Hf.defineMIME("text/plain","null"),Hf.defineExtension=function(a,b){Hf.prototype[a]=b},Hf.defineDocExtension=function(a,b){jh.prototype[a]=b},Hf.fromTextArea=_f,ag(Hf),Hf.version="5.21.0",Hf}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)}(function(a){"use strict";function b(a,b,c,d,e,f){this.indented=a,this.column=b,this.type=c,this.info=d,this.align=e,this.prev=f}function c(a,c,d,e){var f=a.indented;return a.context&&"statement"==a.context.type&&"statement"!=d&&(f=a.context.indented),a.context=new b(f,c,d,e,null,a.context)}function d(a){var b=a.context.type;return")"!=b&&"]"!=b&&"}"!=b||(a.indented=a.context.indented),a.context=a.context.prev}function e(a,b,c){return"variable"==b.prevToken||"variable-3"==b.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(a.string.slice(0,c))||(!(!b.typeAtEndOfLine||a.column()!=a.indentation())||void 0))}function f(a){for(;;){if(!a||"top"==a.type)return!0;if("}"==a.type&&"namespace"!=a.prev.info)return!1;a=a.prev}}function g(a){for(var b={},c=a.split(" "),d=0;d<c.length;++d)b[c[d]]=!0;return b}function h(a,b){return"function"==typeof a?a(b):a.propertyIsEnumerable(b)}function i(a,b){if(!b.startOfLine)return!1;for(var c,d=null;c=a.peek();){if("\\"==c&&a.match(/^.$/)){d=i;break}if("/"==c&&a.match(/^\/[\/\*]/,!1))break;a.next()}return b.tokenize=d,"meta"}function j(a,b){return"variable-3"==b.prevToken&&"variable-3"}function k(a){return a.eatWhile(/[\w\.']/),"number"}function l(a,b){if(a.backUp(1),a.match(/(R|u8R|uR|UR|LR)/)){var c=a.match(/"([^\s\\()]{0,16})\(/);return!!c&&(b.cpp11RawStringDelim=c[1],b.tokenize=o,o(a,b))}return a.match(/(u8|u|U|L)/)?!!a.match(/["']/,!1)&&"string":(a.next(),!1)}function m(a){var b=/(\w+)::(\w+)$/.exec(a);return b&&b[1]==b[2]}function n(a,b){for(var c;null!=(c=a.next());)if('"'==c&&!a.eat('"')){b.tokenize=null;break}return"string"}function o(a,b){var c=b.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&"),d=a.match(new RegExp(".*?\\)"+c+'"'));return d?b.tokenize=null:a.skipToEnd(),"string"}function p(b,c){function d(a){if(a)for(var b in a)a.hasOwnProperty(b)&&e.push(b)}"string"==typeof b&&(b=[b]);var e=[];d(c.keywords),d(c.types),d(c.builtin),d(c.atoms),e.length&&(c.helperType=b[0],a.registerHelper("hintWords",b[0],e));for(var f=0;f<b.length;++f)a.defineMIME(b[f],c)}function q(a,b){for(var c=!1;!a.eol();){if(!c&&a.match('"""')){b.tokenize=null;break}c="\\"==a.next()&&!c;
|
6 |
+
}return"string"}function r(a){return function(b,c){for(var d,e=!1,f=!1;!b.eol();){if(!a&&!e&&b.match('"')){f=!0;break}if(a&&b.match('"""')){f=!0;break}d=b.next(),!e&&"$"==d&&b.match("{")&&b.skipTo("}"),e=!e&&"\\"==d&&!a}return!f&&a||(c.tokenize=null),"string"}}function s(a){return function(b,c){for(var d,e=!1,f=!1;!b.eol();){if(!e&&b.match('"')&&("single"==a||b.match('""'))){f=!0;break}if(!e&&b.match("``")){v=s(a),f=!0;break}d=b.next(),e="single"==a&&!e&&"\\"==d}return f&&(c.tokenize=null),"string"}}a.defineMode("clike",function(g,i){function j(a,b){var c=a.next();if(y[c]){var d=y[c](a,b);if(d!==!1)return d}if('"'==c||"'"==c)return b.tokenize=k(c),b.tokenize(a,b);if(D.test(c))return n=c,null;if(E.test(c)){if(a.backUp(1),a.match(F))return"number";a.next()}if("/"==c){if(a.eat("*"))return b.tokenize=l,l(a,b);if(a.eat("/"))return a.skipToEnd(),"comment"}if(G.test(c)){for(;!a.match(/^\/[\/*]/,!1)&&a.eat(G););return"operator"}if(a.eatWhile(/[\w\$_\xa1-\uffff]/),C)for(;a.match(C);)a.eatWhile(/[\w\$_\xa1-\uffff]/);var e=a.current();return h(s,e)?(h(v,e)&&(n="newstatement"),h(w,e)&&(o=!0),"keyword"):h(t,e)?"variable-3":h(u,e)?(h(v,e)&&(n="newstatement"),"builtin"):h(x,e)?"atom":"variable"}function k(a){return function(b,c){for(var d,e=!1,f=!1;null!=(d=b.next());){if(d==a&&!e){f=!0;break}e=!e&&"\\"==d}return(f||!e&&!z)&&(c.tokenize=null),"string"}}function l(a,b){for(var c,d=!1;c=a.next();){if("/"==c&&d){b.tokenize=null;break}d="*"==c}return"comment"}function m(a,b){i.typeFirstDefinitions&&a.eol()&&f(b.context)&&(b.typeAtEndOfLine=e(a,b,a.pos))}var n,o,p=g.indentUnit,q=i.statementIndentUnit||p,r=i.dontAlignCalls,s=i.keywords||{},t=i.types||{},u=i.builtin||{},v=i.blockKeywords||{},w=i.defKeywords||{},x=i.atoms||{},y=i.hooks||{},z=i.multiLineStrings,A=i.indentStatements!==!1,B=i.indentSwitch!==!1,C=i.namespaceSeparator,D=i.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,E=i.numberStart||/[\d\.]/,F=i.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,G=i.isOperatorChar||/[+\-*&%=<>!?|\/]/;return{startState:function(a){return{tokenize:null,context:new b((a||0)-p,0,"top",null,(!1)),indented:0,startOfLine:!0,prevToken:null}},token:function(a,b){var g=b.context;if(a.sol()&&(null==g.align&&(g.align=!1),b.indented=a.indentation(),b.startOfLine=!0),a.eatSpace())return m(a,b),null;n=o=null;var h=(b.tokenize||j)(a,b);if("comment"==h||"meta"==h)return h;if(null==g.align&&(g.align=!0),";"==n||":"==n||","==n&&a.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==b.context.type;)d(b);else if("{"==n)c(b,a.column(),"}");else if("["==n)c(b,a.column(),"]");else if("("==n)c(b,a.column(),")");else if("}"==n){for(;"statement"==g.type;)g=d(b);for("}"==g.type&&(g=d(b));"statement"==g.type;)g=d(b)}else n==g.type?d(b):A&&(("}"==g.type||"top"==g.type)&&";"!=n||"statement"==g.type&&"newstatement"==n)&&c(b,a.column(),"statement",a.current());if("variable"==h&&("def"==b.prevToken||i.typeFirstDefinitions&&e(a,b,a.start)&&f(b.context)&&a.match(/^\s*\(/,!1))&&(h="def"),y.token){var k=y.token(a,b,h);void 0!==k&&(h=k)}return"def"==h&&i.styleDefs===!1&&(h="variable"),b.startOfLine=!1,b.prevToken=o?"def":h||n,m(a,b),h},indent:function(b,c){if(b.tokenize!=j&&null!=b.tokenize||b.typeAtEndOfLine)return a.Pass;var d=b.context,e=c&&c.charAt(0);if("statement"==d.type&&"}"==e&&(d=d.prev),i.dontIndentStatements)for(;"statement"==d.type&&i.dontIndentStatements.test(d.info);)d=d.prev;if(y.indent){var f=y.indent(b,d,c);if("number"==typeof f)return f}var g=e==d.type,h=d.prev&&"switch"==d.prev.info;if(i.allmanIndentation&&/[{(]/.test(e)){for(;"top"!=d.type&&"}"!=d.type;)d=d.prev;return d.indented}return"statement"==d.type?d.indented+("{"==e?0:q):!d.align||r&&")"==d.type?")"!=d.type||g?d.indented+(g?0:p)+(g||!h||/^(?:case|default)\b/.test(c)?0:p):d.indented+q:d.column+(g?0:1)},electricInput:B?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});var t="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",u="int long char short double float unsigned signed void size_t ptrdiff_t";p(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:g(t),types:g(u+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:g("case do else for if switch while struct"),defKeywords:g("struct"),typeFirstDefinitions:!0,atoms:g("null true false"),hooks:{"#":i,"*":j},modeProps:{fold:["brace","include"]}}),p(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:g(t+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:g(u+" bool wchar_t"),blockKeywords:g("catch class do else finally for if struct switch try while"),defKeywords:g("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:g("true false null"),dontIndentStatements:/^template$/,hooks:{"#":i,"*":j,u:l,U:l,L:l,R:l,0:k,1:k,2:k,3:k,4:k,5:k,6:k,7:k,8:k,9:k,token:function(a,b,c){if("variable"==c&&"("==a.peek()&&(";"==b.prevToken||null==b.prevToken||"}"==b.prevToken)&&m(a.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),p("text/x-java",{name:"clike",keywords:g("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while"),types:g("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:g("catch class do else finally for if switch try while"),defKeywords:g("class interface package enum"),typeFirstDefinitions:!0,atoms:g("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(a){return a.eatWhile(/[\w\$_]/),"meta"}},modeProps:{fold:["brace","import"]}}),p("text/x-csharp",{name:"clike",keywords:g("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:g("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:g("catch class do else finally for foreach if struct switch try while"),defKeywords:g("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:g("true false null"),hooks:{"@":function(a,b){return a.eat('"')?(b.tokenize=n,n(a,b)):(a.eatWhile(/[\w\$_]/),"meta")}}}),p("text/x-scala",{name:"clike",keywords:g("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ : = => <- <: <% >: # @ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble :: #:: "),types:g("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:g("catch class do else finally for forSome if match switch try while"),defKeywords:g("class def object package trait type val var"),atoms:g("true false null"),indentStatements:!1,indentSwitch:!1,hooks:{"@":function(a){return a.eatWhile(/[\w\$_]/),"meta"},'"':function(a,b){return!!a.match('""')&&(b.tokenize=q,b.tokenize(a,b))},"'":function(a){return a.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(a,c){var d=c.context;return!("}"!=d.type||!d.align||!a.eat(">"))&&(c.context=new b(d.indented,d.column,d.type,d.info,null,d.prev),"operator")}},modeProps:{closeBrackets:{triples:'"'}}}),p("text/x-kotlin",{name:"clike",keywords:g("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix"),types:g("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,blockKeywords:g("catch class do else finally for if where try while enum"),defKeywords:g("class val var object package interface fun"),atoms:g("true false null this"),hooks:{'"':function(a,b){return b.tokenize=r(a.match('""')),b.tokenize(a,b)}},modeProps:{closeBrackets:{triples:'"'}}}),p(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:g("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:g("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:g("for while do if else struct"),builtin:g("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:g("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":i},modeProps:{fold:["brace","include"]}}),p("text/x-nesc",{name:"clike",keywords:g(t+"as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:g(u),blockKeywords:g("case do else for if switch while struct"),atoms:g("null true false"),hooks:{"#":i},modeProps:{fold:["brace","include"]}}),p("text/x-objectivec",{name:"clike",keywords:g(t+"inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:g(u),atoms:g("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(a){return a.eatWhile(/[\w\$]/),"keyword"},"#":i,indent:function(a,b,c){if("statement"==b.type&&/^@\w/.test(c))return b.indented}},modeProps:{fold:"brace"}}),p("text/x-squirrel",{name:"clike",keywords:g("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:g(u),blockKeywords:g("case catch class else for foreach if switch try while"),defKeywords:g("function local class"),typeFirstDefinitions:!0,atoms:g("true false null"),hooks:{"#":i},modeProps:{fold:["brace","include"]}});var v=null;p("text/x-ceylon",{name:"clike",keywords:g("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(a){var b=a.charAt(0);return b===b.toUpperCase()&&b!==b.toLowerCase()},blockKeywords:g("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:g("class dynamic function interface module object package value"),builtin:g("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:g("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(a){return a.eatWhile(/[\w\$_]/),"meta"},'"':function(a,b){return b.tokenize=s(a.match('""')?"triple":"single"),b.tokenize(a,b)},"`":function(a,b){return!(!v||!a.match("`"))&&(b.tokenize=v,v=null,b.tokenize(a,b))},"'":function(a){return a.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(a,b,c){if(("variable"==c||"variable-3"==c)&&"."==b.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed"),require("../clike/clike")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../clike/clike"],a):a(CodeMirror)}(function(a){"use strict";function b(a){for(var b={},c=a.split(" "),d=0;d<c.length;++d)b[c[d]]=!0;return b}function c(a,b,e){return 0==a.length?d(b):function(f,g){for(var h=a[0],i=0;i<h.length;i++)if(f.match(h[i][0]))return g.tokenize=c(a.slice(1),b),h[i][1];return g.tokenize=d(b,e),"string"}}function d(a,b){return function(c,d){return e(c,d,a,b)}}function e(a,b,d,e){if(e!==!1&&a.match("${",!1)||a.match("{$",!1))return b.tokenize=null,"string";if(e!==!1&&a.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return a.match("[",!1)&&(b.tokenize=c([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],d,e)),a.match(/\-\>\w/,!1)&&(b.tokenize=c([[["->",null]],[[/[\w]+/,"variable"]]],d,e)),"variable-2";for(var f=!1;!a.eol()&&(f||e===!1||!a.match("{$",!1)&&!a.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!f&&a.match(d)){b.tokenize=null,b.tokStack.pop(),b.tokStack.pop();break}f="\\"==a.next()&&!f}return"string"}var f="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",g="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",h="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";a.registerHelper("hintWords","php",[f,g,h].join(" ").split(" ")),a.registerHelper("wordChars","php",/[\w$]/);var i={name:"clike",helperType:"php",keywords:b(f),blockKeywords:b("catch do else elseif for foreach if switch try while finally"),defKeywords:b("class function interface namespace trait"),atoms:b(g),builtin:b(h),multiLineStrings:!0,hooks:{$:function(a){return a.eatWhile(/[\w\$_]/),"variable-2"},"<":function(a,b){var c;if(c=a.match(/<<\s*/)){var e=a.eat(/['"]/);a.eatWhile(/[\w\.]/);var f=a.current().slice(c[0].length+(e?2:1));if(e&&a.eat(e),f)return(b.tokStack||(b.tokStack=[])).push(f,0),b.tokenize=d(f,"'"!=e),"string"}return!1},"#":function(a){for(;!a.eol()&&!a.match("?>",!1);)a.next();return"comment"},"/":function(a){if(a.eat("/")){for(;!a.eol()&&!a.match("?>",!1);)a.next();return"comment"}return!1},'"':function(a,b){return(b.tokStack||(b.tokStack=[])).push('"',0),b.tokenize=d('"'),"string"},"{":function(a,b){return b.tokStack&&b.tokStack.length&&b.tokStack[b.tokStack.length-1]++,!1},"}":function(a,b){return b.tokStack&&b.tokStack.length>0&&!--b.tokStack[b.tokStack.length-1]&&(b.tokenize=d(b.tokStack[b.tokStack.length-2])),!1}}};a.defineMode("php",function(b,c){function d(b,c){var d=c.curMode==f;if(b.sol()&&c.pending&&'"'!=c.pending&&"'"!=c.pending&&(c.pending=null),d)return d&&null==c.php.tokenize&&b.match("?>")?(c.curMode=e,c.curState=c.html,c.php.context.prev||(c.php=null),"meta"):f.token(b,c.curState);if(b.match(/^<\?\w*/))return c.curMode=f,c.php||(c.php=a.startState(f,e.indent(c.html,""))),c.curState=c.php,"meta";if('"'==c.pending||"'"==c.pending){for(;!b.eol()&&b.next()!=c.pending;);var g="string"}else if(c.pending&&b.pos<c.pending.end){b.pos=c.pending.end;var g=c.pending.style}else var g=e.token(b,c.curState);c.pending&&(c.pending=null);var h,i=b.current(),j=i.search(/<\?/);return j!=-1&&("string"==g&&(h=i.match(/[\'\"]$/))&&!/\?>/.test(i)?c.pending=h[0]:c.pending={end:b.pos,style:g},b.backUp(i.length-j)),g}var e=a.getMode(b,"text/html"),f=a.getMode(b,i);return{startState:function(){var b=a.startState(e),d=c.startOpen?a.startState(f):null;return{html:b,php:d,curMode:c.startOpen?f:e,curState:c.startOpen?d:b,pending:null}},copyState:function(b){var c,d=b.html,g=a.copyState(e,d),h=b.php,i=h&&a.copyState(f,h);return c=b.curMode==e?g:i,{html:g,php:i,curMode:b.curMode,curState:c,pending:b.pending}},token:d,indent:function(a,b){return a.curMode!=f&&/^\s*<\//.test(b)||a.curMode==f&&/^\?>/.test(b)?e.indent(a.html,b):a.curMode.indent(a.curState,b)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(a){return{state:a.curState,mode:a.curMode}}}},"htmlmixed","clike"),a.defineMIME("application/x-httpd-php","php"),a.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),a.defineMIME("text/x-php",i)}),function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)}(function(a){function b(a,b,d,e){var f=a.getLineHandle(b.line),i=b.ch-1,j=i>=0&&h[f.text.charAt(i)]||h[f.text.charAt(++i)];if(!j)return null;var k=">"==j.charAt(1)?1:-1;if(d&&k>0!=(i==b.ch))return null;var l=a.getTokenTypeAt(g(b.line,i+1)),m=c(a,g(b.line,i+(k>0?1:0)),k,l||null,e);return null==m?null:{from:g(b.line,i),to:m&&m.pos,match:m&&m.ch==j.charAt(0),forward:k>0}}function c(a,b,c,d,e){for(var f=e&&e.maxScanLineLength||1e4,i=e&&e.maxScanLines||1e3,j=[],k=e&&e.bracketRegex?e.bracketRegex:/[(){}[\]]/,l=c>0?Math.min(b.line+i,a.lastLine()+1):Math.max(a.firstLine()-1,b.line-i),m=b.line;m!=l;m+=c){var n=a.getLine(m);if(n){var o=c>0?0:n.length-1,p=c>0?n.length:-1;if(!(n.length>f))for(m==b.line&&(o=b.ch-(c<0?1:0));o!=p;o+=c){var q=n.charAt(o);if(k.test(q)&&(void 0===d||a.getTokenTypeAt(g(m,o+1))==d)){var r=h[q];if(">"==r.charAt(1)==c>0)j.push(q);else{if(!j.length)return{pos:g(m,o),ch:q};j.pop()}}}}}return m-c!=(c>0?a.lastLine():a.firstLine())&&null}function d(a,c,d){for(var e=a.state.matchBrackets.maxHighlightLineLength||1e3,h=[],i=a.listSelections(),j=0;j<i.length;j++){var k=i[j].empty()&&b(a,i[j].head,!1,d);if(k&&a.getLine(k.from.line).length<=e){var l=k.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";h.push(a.markText(k.from,g(k.from.line,k.from.ch+1),{className:l})),k.to&&a.getLine(k.to.line).length<=e&&h.push(a.markText(k.to,g(k.to.line,k.to.ch+1),{className:l}))}}if(h.length){f&&a.state.focused&&a.focus();var m=function(){a.operation(function(){for(var a=0;a<h.length;a++)h[a].clear()})};if(!c)return m;setTimeout(m,800)}}function e(a){a.operation(function(){i&&(i(),i=null),i=d(a,!1,a.state.matchBrackets)})}var f=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),g=a.Pos,h={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"},i=null;a.defineOption("matchBrackets",!1,function(b,c,d){d&&d!=a.Init&&(b.off("cursorActivity",e),i&&(i(),i=null)),c&&(b.state.matchBrackets="object"==typeof c?c:{},b.on("cursorActivity",e))}),a.defineExtension("matchBrackets",function(){d(this,!0)}),a.defineExtension("findMatchingBracket",function(a,c,d){return b(this,a,c,d);
|
7 |
+
}),a.defineExtension("scanForBracket",function(a,b,d,e){return c(this,a,b,d,e)})});
|
js/min/tag-it.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(a){a.widget("ui.tagit",{options:{allowDuplicates:!1,caseSensitive:!0,fieldName:"tags",placeholderText:null,readOnly:!1,removeConfirmation:!1,tagLimit:null,availableTags:[],autocomplete:{},showAutocompleteOnFocus:!1,allowSpaces:!1,singleField:!1,singleFieldDelimiter:",",singleFieldNode:null,animate:!0,tabIndex:null,beforeTagAdded:null,afterTagAdded:null,beforeTagRemoved:null,afterTagRemoved:null,onTagClicked:null,onTagLimitExceeded:null,onTagAdded:null,onTagRemoved:null,tagSource:null},_create:function(){var b=this;this.element.is("input")?(this.tagList=a("<ul></ul>").insertAfter(this.element),this.options.singleField=!0,this.options.singleFieldNode=this.element,this.element.addClass("tagit-hidden-field")):this.tagList=this.element.find("ul, ol").andSelf().last(),this.tagInput=a('<input type="text" />').addClass("ui-widget-content"),this.options.readOnly&&this.tagInput.attr("disabled","disabled"),this.options.tabIndex&&this.tagInput.attr("tabindex",this.options.tabIndex),this.options.placeholderText&&this.tagInput.attr("placeholder",this.options.placeholderText),this.options.autocomplete.source||(this.options.autocomplete.source=function(b,c){var d=b.term.toLowerCase(),e=a.grep(this.options.availableTags,function(a){return 0===a.toLowerCase().indexOf(d)});this.options.allowDuplicates||(e=this._subtractArray(e,this.assignedTags())),c(e)}),this.options.showAutocompleteOnFocus&&(this.tagInput.focus(function(a,c){b._showAutocomplete()}),"undefined"==typeof this.options.autocomplete.minLength&&(this.options.autocomplete.minLength=0)),a.isFunction(this.options.autocomplete.source)&&(this.options.autocomplete.source=a.proxy(this.options.autocomplete.source,this)),a.isFunction(this.options.tagSource)&&(this.options.tagSource=a.proxy(this.options.tagSource,this)),this.tagList.addClass("tagit").addClass("ui-widget ui-widget-content ui-corner-all").append(a('<li class="tagit-new"></li>').append(this.tagInput)).click(function(c){var d=a(c.target);if(d.hasClass("tagit-label")){var e=d.closest(".tagit-choice");e.hasClass("removed")||b._trigger("onTagClicked",c,{tag:e,tagLabel:b.tagLabel(e)})}else b.tagInput.focus()});var c=!1;if(this.options.singleField)if(this.options.singleFieldNode){var d=a(this.options.singleFieldNode),e=d.val().split(this.options.singleFieldDelimiter);d.val(""),a.each(e,function(a,d){b.createTag(d,null,!0),c=!0})}else this.options.singleFieldNode=a('<input type="hidden" style="display:none;" value="" name="'+this.options.fieldName+'" />'),this.tagList.after(this.options.singleFieldNode);if(c||this.tagList.children("li").each(function(){a(this).hasClass("tagit-new")||(b.createTag(a(this).text(),a(this).attr("class"),!0),a(this).remove())}),this.tagInput.keydown(function(c){if(c.which==a.ui.keyCode.BACKSPACE&&""===b.tagInput.val()){var d=b._lastTag();!b.options.removeConfirmation||d.hasClass("remove")?b.removeTag(d):b.options.removeConfirmation&&d.addClass("remove ui-state-highlight")}else b.options.removeConfirmation&&b._lastTag().removeClass("remove ui-state-highlight");(c.which===a.ui.keyCode.COMMA&&c.shiftKey===!1||c.which===a.ui.keyCode.ENTER||c.which==a.ui.keyCode.TAB&&""!==b.tagInput.val()||c.which==a.ui.keyCode.SPACE&&b.options.allowSpaces!==!0&&('"'!=a.trim(b.tagInput.val()).replace(/^s*/,"").charAt(0)||'"'==a.trim(b.tagInput.val()).charAt(0)&&'"'==a.trim(b.tagInput.val()).charAt(a.trim(b.tagInput.val()).length-1)&&a.trim(b.tagInput.val()).length-1!==0))&&(
|
1 |
+
!function(a){a.widget("ui.tagit",{options:{allowDuplicates:!1,caseSensitive:!0,fieldName:"tags",placeholderText:null,readOnly:!1,removeConfirmation:!1,tagLimit:null,availableTags:[],autocomplete:{},showAutocompleteOnFocus:!1,allowSpaces:!1,singleField:!1,singleFieldDelimiter:",",singleFieldNode:null,animate:!0,tabIndex:null,beforeTagAdded:null,afterTagAdded:null,beforeTagRemoved:null,afterTagRemoved:null,onTagClicked:null,onTagLimitExceeded:null,onTagAdded:null,onTagRemoved:null,tagSource:null},_create:function(){var b=this;this.element.is("input")?(this.tagList=a("<ul></ul>").insertAfter(this.element),this.options.singleField=!0,this.options.singleFieldNode=this.element,this.element.addClass("tagit-hidden-field")):this.tagList=this.element.find("ul, ol").andSelf().last(),this.tagInput=a('<input type="text" />').addClass("ui-widget-content"),this.options.readOnly&&this.tagInput.attr("disabled","disabled"),this.options.tabIndex&&this.tagInput.attr("tabindex",this.options.tabIndex),this.options.placeholderText&&this.tagInput.attr("placeholder",this.options.placeholderText),this.options.autocomplete.source||(this.options.autocomplete.source=function(b,c){var d=b.term.toLowerCase(),e=a.grep(this.options.availableTags,function(a){return 0===a.toLowerCase().indexOf(d)});this.options.allowDuplicates||(e=this._subtractArray(e,this.assignedTags())),c(e)}),this.options.showAutocompleteOnFocus&&(this.tagInput.focus(function(a,c){b._showAutocomplete()}),"undefined"==typeof this.options.autocomplete.minLength&&(this.options.autocomplete.minLength=0)),a.isFunction(this.options.autocomplete.source)&&(this.options.autocomplete.source=a.proxy(this.options.autocomplete.source,this)),a.isFunction(this.options.tagSource)&&(this.options.tagSource=a.proxy(this.options.tagSource,this)),this.tagList.addClass("tagit").addClass("ui-widget ui-widget-content ui-corner-all").append(a('<li class="tagit-new"></li>').append(this.tagInput)).click(function(c){var d=a(c.target);if(d.hasClass("tagit-label")){var e=d.closest(".tagit-choice");e.hasClass("removed")||b._trigger("onTagClicked",c,{tag:e,tagLabel:b.tagLabel(e)})}else b.tagInput.focus()});var c=!1;if(this.options.singleField)if(this.options.singleFieldNode){var d=a(this.options.singleFieldNode),e=d.val().split(this.options.singleFieldDelimiter);d.val(""),a.each(e,function(a,d){b.createTag(d,null,!0),c=!0})}else this.options.singleFieldNode=a('<input type="hidden" style="display:none;" value="" name="'+this.options.fieldName+'" />'),this.tagList.after(this.options.singleFieldNode);if(c||this.tagList.children("li").each(function(){a(this).hasClass("tagit-new")||(b.createTag(a(this).text(),a(this).attr("class"),!0),a(this).remove())}),this.tagInput.keydown(function(c){if(c.which==a.ui.keyCode.BACKSPACE&&""===b.tagInput.val()){var d=b._lastTag();!b.options.removeConfirmation||d.hasClass("remove")?b.removeTag(d):b.options.removeConfirmation&&d.addClass("remove ui-state-highlight")}else b.options.removeConfirmation&&b._lastTag().removeClass("remove ui-state-highlight");(c.which===a.ui.keyCode.COMMA&&c.shiftKey===!1||c.which===a.ui.keyCode.ENTER||c.which==a.ui.keyCode.TAB&&""!==b.tagInput.val()||c.which==a.ui.keyCode.SPACE&&b.options.allowSpaces!==!0&&('"'!=a.trim(b.tagInput.val()).replace(/^s*/,"").charAt(0)||'"'==a.trim(b.tagInput.val()).charAt(0)&&'"'==a.trim(b.tagInput.val()).charAt(a.trim(b.tagInput.val()).length-1)&&a.trim(b.tagInput.val()).length-1!==0))&&(c.which===a.ui.keyCode.ENTER&&""===b.tagInput.val()||c.preventDefault(),b.options.autocomplete.autoFocus&&b.tagInput.data("autocomplete-open")||(b.tagInput.autocomplete("close"),b.createTag(b._cleanedInput())))}).blur(function(a){b.tagInput.data("autocomplete-open")||b.createTag(b._cleanedInput())}),this.options.availableTags||this.options.tagSource||this.options.autocomplete.source){var f={select:function(a,c){return b.createTag(c.item.value),!1}};a.extend(f,this.options.autocomplete),f.source=this.options.tagSource||f.source,this.tagInput.autocomplete(f).bind("autocompleteopen.tagit",function(a,c){b.tagInput.data("autocomplete-open",!0)}).bind("autocompleteclose.tagit",function(a,c){b.tagInput.data("autocomplete-open",!1)}),this.tagInput.autocomplete("widget").addClass("tagit-autocomplete")}},destroy:function(){return a.Widget.prototype.destroy.call(this),this.element.unbind(".tagit"),this.tagList.unbind(".tagit"),this.tagInput.removeData("autocomplete-open"),this.tagList.removeClass(["tagit","ui-widget","ui-widget-content","ui-corner-all","tagit-hidden-field"].join(" ")),this.element.is("input")?(this.element.removeClass("tagit-hidden-field"),this.tagList.remove()):(this.element.children("li").each(function(){a(this).hasClass("tagit-new")?a(this).remove():(a(this).removeClass(["tagit-choice","ui-widget-content","ui-state-default","ui-state-highlight","ui-corner-all","remove","tagit-choice-editable","tagit-choice-read-only"].join(" ")),a(this).text(a(this).children(".tagit-label").text()))}),this.singleFieldNode&&this.singleFieldNode.remove()),this},_cleanedInput:function(){return a.trim(this.tagInput.val().replace(/^"(.*)"$/,"$1"))},_lastTag:function(){return this.tagList.find(".tagit-choice:last:not(.removed)")},_tags:function(){return this.tagList.find(".tagit-choice:not(.removed)")},assignedTags:function(){var b=this,c=[];return this.options.singleField?(c=a(this.options.singleFieldNode).val().split(this.options.singleFieldDelimiter),""===c[0]&&(c=[])):this._tags().each(function(){c.push(b.tagLabel(this))}),c},_updateSingleTagsField:function(b){a(this.options.singleFieldNode).val(b.join(this.options.singleFieldDelimiter)).trigger("change")},_subtractArray:function(b,c){for(var d=[],e=0;e<b.length;e++)a.inArray(b[e],c)==-1&&d.push(b[e]);return d},tagLabel:function(b){return this.options.singleField?a(b).find(".tagit-label:first").text():a(b).find("input:first").val()},_showAutocomplete:function(){this.tagInput.autocomplete("search","")},_findTagByLabel:function(b){var c=this,d=null;return this._tags().each(function(e){if(c._formatStr(b)==c._formatStr(c.tagLabel(this)))return d=a(this),!1}),d},_isNew:function(a){return!this._findTagByLabel(a)},_formatStr:function(b){return this.options.caseSensitive?b:a.trim(b.toLowerCase())},_effectExists:function(b){return Boolean(a.effects&&(a.effects[b]||a.effects.effect&&a.effects.effect[b]))},createTag:function(b,c,d){var e=this;if(b=a.trim(b),this.options.preprocessTag&&(b=this.options.preprocessTag(b)),""===b)return!1;if(!this.options.allowDuplicates&&!this._isNew(b)){var f=this._findTagByLabel(b);return this._trigger("onTagExists",null,{existingTag:f,duringInitialization:d})!==!1&&this._effectExists("highlight")&&f.effect("highlight"),!1}if(this.options.tagLimit&&this._tags().length>=this.options.tagLimit)return this._trigger("onTagLimitExceeded",null,{duringInitialization:d}),!1;var g=a(this.options.onTagClicked?'<a class="tagit-label"></a>':'<span class="tagit-label"></span>').text(b),h=a("<li></li>").addClass("tagit-choice ui-widget-content ui-state-default ui-corner-all").addClass(c).append(g);if(this.options.readOnly)h.addClass("tagit-choice-read-only");else{h.addClass("tagit-choice-editable");var i=a("<span></span>").addClass("ui-icon ui-icon-close"),j=a('<a><span class="text-icon">×</span></a>').addClass("tagit-close").append(i).click(function(a){e.removeTag(h)});h.append(j)}if(!this.options.singleField){var k=g.html();h.append('<input type="hidden" value="'+k+'" name="'+this.options.fieldName+'" class="tagit-hidden-field" />')}if(this._trigger("beforeTagAdded",null,{tag:h,tagLabel:this.tagLabel(h),duringInitialization:d})!==!1){if(this.options.singleField){var l=this.assignedTags();l.push(b),this._updateSingleTagsField(l)}this._trigger("onTagAdded",null,h),this.tagInput.val(""),this.tagInput.parent().before(h),this._trigger("afterTagAdded",null,{tag:h,tagLabel:this.tagLabel(h),duringInitialization:d}),this.options.showAutocompleteOnFocus&&!d&&setTimeout(function(){e._showAutocomplete()},0)}},removeTag:function(b,c){if(c="undefined"==typeof c?this.options.animate:c,b=a(b),this._trigger("onTagRemoved",null,b),this._trigger("beforeTagRemoved",null,{tag:b,tagLabel:this.tagLabel(b)})!==!1){if(this.options.singleField){var d=this.assignedTags(),e=this.tagLabel(b);d=a.grep(d,function(a){return a!=e}),this._updateSingleTagsField(d)}if(c){b.addClass("removed");var f=this._effectExists("blind")?["blind",{direction:"horizontal"},"fast"]:["fast"],g=this;f.push(function(){b.remove(),g._trigger("afterTagRemoved",null,{tag:b,tagLabel:g.tagLabel(b)})}),b.fadeOut("fast").hide.apply(b,f).dequeue()}else b.remove(),this._trigger("afterTagRemoved",null,{tag:b,tagLabel:this.tagLabel(b)})}},removeTagByLabel:function(a,b){var c=this._findTagByLabel(a);if(!c)throw"No such tag exists with the name '"+a+"'";this.removeTag(c,b)},removeAll:function(){var a=this;this._tags().each(function(b,c){a.removeTag(c,!1)})}})}(jQuery);
|
languages/code-snippets-de_DE.mo
CHANGED
Binary file
|
languages/code-snippets-de_DE.po
CHANGED
@@ -1,17 +1,17 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Code Snippets v2.
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2016-
|
6 |
-
"PO-Revision-Date: 2016-
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: Mario Siegmann <mario_siegmann@web.de>\n"
|
9 |
"Language: de_DE\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
14 |
-
"X-Generator: Poedit 1.8.
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
17 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
@@ -19,7 +19,7 @@ msgstr ""
|
|
19 |
"X-Textdomain-Support: yes\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
|
22 |
-
#: php/admin-menus/class-admin-menu.php:
|
23 |
msgid "You are not authorized to access this page."
|
24 |
msgstr "Du hast keine Berechtigung diese Seite zu betreten."
|
25 |
|
@@ -30,20 +30,20 @@ msgid "Edit Snippet"
|
|
30 |
msgstr "Codeschnipsel bearbeiten"
|
31 |
|
32 |
# @ code-snippets
|
33 |
-
#: php/admin-menus/class-edit-menu.php:
|
34 |
msgid "Add New"
|
35 |
msgstr "Hinzufügen"
|
36 |
|
37 |
# @ code-snippets
|
38 |
-
#: php/admin-menus/class-edit-menu.php:
|
39 |
msgid "Add New Snippet"
|
40 |
msgstr "Neuen Codeschnipsel hinzufügen"
|
41 |
|
42 |
-
#: php/admin-menus/class-edit-menu.php:
|
43 |
msgid "Don't Panic"
|
44 |
msgstr "Keine Panik"
|
45 |
|
46 |
-
#: php/admin-menus/class-edit-menu.php:
|
47 |
#, php-format
|
48 |
msgid ""
|
49 |
"The code snippet you are trying to save produced a fatal error on line %d:"
|
@@ -51,7 +51,7 @@ msgstr ""
|
|
51 |
"Der Codeschnipsel, den Sie versuchen zu speichern, produziert einen fatalen "
|
52 |
"Fehler in Zeile %d:"
|
53 |
|
54 |
-
#: php/admin-menus/class-edit-menu.php:
|
55 |
msgid ""
|
56 |
"The previous version of the snippet is unchanged, and the rest of this site "
|
57 |
"should be functioning normally as before."
|
@@ -59,7 +59,7 @@ msgstr ""
|
|
59 |
"Die vorherige Version dieses Codeschnipsels ist unverändert und der Rest der "
|
60 |
"Seite sollte normal wie zuvor funktionieren."
|
61 |
|
62 |
-
#: php/admin-menus/class-edit-menu.php:
|
63 |
msgid ""
|
64 |
"Please use the back button in your browser to return to the previous page "
|
65 |
"and try to fix the code error."
|
@@ -67,7 +67,7 @@ msgstr ""
|
|
67 |
"Bitte nutzen Sie die Zurück-Schaltfläche in Ihrem Browser um zur vorherigen "
|
68 |
"Seite zurückzukehren und versuchen Sie den Fehler zu korrigieren."
|
69 |
|
70 |
-
#: php/admin-menus/class-edit-menu.php:
|
71 |
msgid ""
|
72 |
"If you prefer, you can close this page and discard the changes you just "
|
73 |
"made. No changes will be made to this site."
|
@@ -77,81 +77,81 @@ msgstr ""
|
|
77 |
"Website vorgenommen."
|
78 |
|
79 |
# @ code-snippets
|
80 |
-
#: php/admin-menus/class-edit-menu.php:
|
81 |
msgid "Description"
|
82 |
msgstr "Beschreibung"
|
83 |
|
84 |
-
#: php/admin-menus/class-edit-menu.php:
|
85 |
msgid "Tags"
|
86 |
msgstr "Stichworte"
|
87 |
|
88 |
-
#: php/admin-menus/class-edit-menu.php:
|
89 |
msgid "Enter a list of tags; separated by commas"
|
90 |
msgstr "Schlagwortliste, Komma getrennt"
|
91 |
|
92 |
-
#: php/admin-menus/class-edit-menu.php:
|
93 |
msgid "Run snippet everywhere"
|
94 |
msgstr "Codeschnipsel überall ausführen"
|
95 |
|
96 |
-
#: php/admin-menus/class-edit-menu.php:
|
97 |
msgid "Only run in administration area"
|
98 |
msgstr "Nur im Administrationsbereich ausführen"
|
99 |
|
100 |
-
#: php/admin-menus/class-edit-menu.php:
|
101 |
msgid "Only run on site front-end"
|
102 |
msgstr "Nur auf öffentlicher Seite ausführen"
|
103 |
|
104 |
-
#: php/admin-menus/class-edit-menu.php:
|
105 |
msgid "Scope"
|
106 |
msgstr "Bereich"
|
107 |
|
108 |
-
#: php/admin-menus/class-edit-menu.php:
|
109 |
msgid "Sharing"
|
110 |
msgstr "Teilen"
|
111 |
|
112 |
-
#: php/admin-menus/class-edit-menu.php:
|
113 |
msgid "Allow this snippet to be activated on individual sites on the network"
|
114 |
msgstr ""
|
115 |
"Diesem Codeschnipsel erlauben, auf individuellen Seiten im Netzwerk "
|
116 |
"aktiviert zu werden"
|
117 |
|
118 |
-
#: php/admin-menus/class-edit-menu.php:
|
119 |
#, php-format
|
120 |
msgid "The snippet has been deactivated due to an error on line %d:"
|
121 |
msgstr ""
|
122 |
"Der Codeschnipsel deaktiviert wurde aufgrund eines Fehlers in Zeile %d:"
|
123 |
|
124 |
-
#: php/admin-menus/class-edit-menu.php:
|
125 |
msgid "The snippet has been deactivated due to an error in the code."
|
126 |
msgstr "Der Codeschnipsel wurde aufgrund eines Fehlers im Code deaktiviert."
|
127 |
|
128 |
-
#: php/admin-menus/class-edit-menu.php:
|
129 |
msgid "An error occurred when saving the snippet."
|
130 |
msgstr "Es trat ein Fehler beim Speichern des Codeschnipsel auf."
|
131 |
|
132 |
# @ code-snippets
|
133 |
-
#: php/admin-menus/class-edit-menu.php:
|
134 |
msgid "Snippet <strong>added</strong>."
|
135 |
msgstr "Codeschnipsel <strong>hinzugefügt</strong>."
|
136 |
|
137 |
# @ code-snippets
|
138 |
-
#: php/admin-menus/class-edit-menu.php:
|
139 |
msgid "Snippet <strong>updated</strong>."
|
140 |
msgstr "Codeschnipsel <strong>aktualisiert</strong>."
|
141 |
|
142 |
# @ code-snippets
|
143 |
-
#: php/admin-menus/class-edit-menu.php:
|
144 |
msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
|
145 |
msgstr ""
|
146 |
"Codeschnipsel <strong>hinzugefügt</strong> und <strong>aktiviert</strong>."
|
147 |
|
148 |
# @ code-snippets
|
149 |
-
#: php/admin-menus/class-edit-menu.php:
|
150 |
msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
|
151 |
msgstr ""
|
152 |
"Codeschnipsel <strong>aktualisiert</strong> und <strong>aktiviert</strong>."
|
153 |
|
154 |
-
#: php/admin-menus/class-edit-menu.php:
|
155 |
msgid "Snippet <strong>updated</strong> and <strong>deactivated</strong>."
|
156 |
msgstr ""
|
157 |
"Codeschnipsel <strong>aktualisiert</strong> und <strong>deaktiviert</strong>."
|
@@ -167,15 +167,15 @@ msgid "Import Snippets"
|
|
167 |
msgstr "Codeschnipsel importieren"
|
168 |
|
169 |
# @ code-snippets
|
170 |
-
#: php/admin-menus/class-import-menu.php:
|
171 |
msgid "Code Snippets"
|
172 |
msgstr "Codeschnipsel"
|
173 |
|
174 |
-
#: php/admin-menus/class-import-menu.php:
|
175 |
msgid "Import snippets from a code snippets export file"
|
176 |
msgstr "Importiere Codeschnipsel aus einer Code Snippets Export Datei."
|
177 |
|
178 |
-
#: php/admin-menus/class-import-menu.php:
|
179 |
#, php-format
|
180 |
msgid ""
|
181 |
"Successfully imported <strong>%d</strong> snippet. <a href=\"%s\">Have fun!</"
|
@@ -190,19 +190,19 @@ msgstr[1] ""
|
|
190 |
"Erfolgreicher Import der <strong>%d</strong> Codeschnipsel. <a href=\"%s"
|
191 |
"\">Viel Spass!</a>"
|
192 |
|
193 |
-
#: php/admin-menus/class-import-menu.php:
|
194 |
msgid "An error occurred when processing the import file."
|
195 |
msgstr "Ein Fehler trat bei der Verarbeitung der importierten Datei auf."
|
196 |
|
197 |
# @ code-snippets
|
198 |
-
#: php/admin-menus/class-manage-menu.php:22 php/admin.php:
|
199 |
msgid "Manage"
|
200 |
msgstr "Verwalten"
|
201 |
|
202 |
# @ code-snippets
|
203 |
#: php/admin-menus/class-manage-menu.php:23
|
204 |
#: php/admin-menus/class-manage-menu.php:39
|
205 |
-
#: php/admin-menus/class-manage-menu.php:40 php/admin.php:
|
206 |
#: php/views/manage.php:19
|
207 |
msgid "Snippets"
|
208 |
msgstr "Codeschnipsel"
|
@@ -251,7 +251,7 @@ msgid "Selected snippets <strong>deleted</strong>."
|
|
251 |
msgstr "Ausgewählte Codeschnipsel wurden <strong>gelöscht</strong>."
|
252 |
|
253 |
#: php/admin-menus/class-settings-menu.php:16
|
254 |
-
#: php/admin-menus/class-settings-menu.php:36 php/views/edit.php:
|
255 |
msgid "Settings"
|
256 |
msgstr "Einstellungen"
|
257 |
|
@@ -260,41 +260,41 @@ msgid "Snippets Settings"
|
|
260 |
msgstr "Codeschnipsel Einstellungen"
|
261 |
|
262 |
# @ code-snippets
|
263 |
-
#: php/admin.php:
|
264 |
msgid "Manage your existing snippets"
|
265 |
msgstr "Bestehende Codeschnipsel verwalten"
|
266 |
|
267 |
# @ code-snippets
|
268 |
-
#: php/admin.php:
|
269 |
msgid "Visit the WordPress.org plugin page"
|
270 |
msgstr "Die Plugin-Seite bei WordPress.org aufrufen"
|
271 |
|
272 |
# @ code-snippets
|
273 |
-
#: php/admin.php:
|
274 |
msgid "About"
|
275 |
msgstr "Über"
|
276 |
|
277 |
# @ code-snippets
|
278 |
-
#: php/admin.php:
|
279 |
msgid "Visit the support forums"
|
280 |
msgstr "Die Support-Foren aufrufen"
|
281 |
|
282 |
# @ code-snippets
|
283 |
-
#: php/admin.php:
|
284 |
msgid "Support"
|
285 |
msgstr "Support"
|
286 |
|
287 |
# @ code-snippets
|
288 |
-
#: php/admin.php:
|
289 |
msgid "Support this plugin's development"
|
290 |
msgstr "Die Entwicklung dieses Plugins unterstützen"
|
291 |
|
292 |
# @ code-snippets
|
293 |
-
#: php/admin.php:
|
294 |
msgid "Donate"
|
295 |
msgstr "Spenden"
|
296 |
|
297 |
-
#: php/admin.php:
|
298 |
msgid ""
|
299 |
"<strong>Have feedback on Code Snippets?</strong> Please take the time to "
|
300 |
"answer a short survey on how you use this plugin and what you'd like to see "
|
@@ -305,253 +305,48 @@ msgstr ""
|
|
305 |
"und welche Funktionen sie in Zukunft gerne verändert oder hinzugefügt haben "
|
306 |
"möchten."
|
307 |
|
308 |
-
#: php/admin.php:
|
309 |
msgid "Take the survey now"
|
310 |
msgstr "An der Umfrage teilnehmen"
|
311 |
|
312 |
-
#: php/class-
|
313 |
-
msgid ""
|
314 |
-
|
315 |
-
"plugin."
|
316 |
-
msgstr ""
|
317 |
-
"Dies ist eine Codeschnipsel-Export-Datei die durch das Code Snippets "
|
318 |
-
"WordPress Plugin erstellt wurde."
|
319 |
-
|
320 |
-
#: php/class-export.php:89
|
321 |
-
msgid "To import these snippets a WordPress site follow these steps:"
|
322 |
-
msgstr ""
|
323 |
-
"Um Codeschnipsel in eine WordPress Seite zu importieren folge diesen "
|
324 |
-
"Schritten:"
|
325 |
-
|
326 |
-
#: php/class-export.php:90
|
327 |
-
msgid "1. Log in to that site as an administrator."
|
328 |
-
msgstr "1. Melde dich als Administrator an."
|
329 |
-
|
330 |
-
#: php/class-export.php:91
|
331 |
-
msgid ""
|
332 |
-
"2. Install the Code Snippets plugin using the directions provided at the "
|
333 |
-
"above link."
|
334 |
-
msgstr ""
|
335 |
-
"2. Installiere das Code Snippets Plugin nutze hierzu den Link und die "
|
336 |
-
"Informationen von oben."
|
337 |
-
|
338 |
-
#: php/class-export.php:92
|
339 |
-
msgid "3. Go to 'Tools: Import' in the WordPress admin panel."
|
340 |
-
msgstr ""
|
341 |
-
"3. Navigiere zu 'Werkzeuge: Daten importieren' in der WordPress "
|
342 |
-
"Administration."
|
343 |
-
|
344 |
-
#: php/class-export.php:93
|
345 |
-
msgid "4. Click on the \"Code Snippets\" importer in the list"
|
346 |
-
msgstr "4. Klicke in der Liste der Importmodule auf \"Code Snippets\" "
|
347 |
-
|
348 |
-
#: php/class-export.php:94
|
349 |
-
msgid "5. Upload this file using the form provided on that page."
|
350 |
-
msgstr "5. Lade diese Datei über den angebotenen Dialog der Importseite hoch."
|
351 |
-
|
352 |
-
#: php/class-export.php:95
|
353 |
-
msgid ""
|
354 |
-
"6. Code Snippets will then import all of the snippets and associated "
|
355 |
-
"information contained in this file into your site."
|
356 |
-
msgstr ""
|
357 |
-
"6. Die Codeschnipsel werden neben allen anderen Informationen aus dieser "
|
358 |
-
"Datei in deine Seite importiert."
|
359 |
-
|
360 |
-
#: php/class-export.php:96
|
361 |
-
msgid ""
|
362 |
-
"7. You will then have to visit the 'Snippets: Manage' admin menu and "
|
363 |
-
"activate desired snippets."
|
364 |
-
msgstr ""
|
365 |
-
"7. Nach dem Import besuche die Seite 'Codeschnipsel: Verwalten' im "
|
366 |
-
"Administrationsmenü und aktiviere die gewünschten Codeschnipsel."
|
367 |
-
|
368 |
-
# @ code-snippets
|
369 |
-
#: php/class-list-table.php:58
|
370 |
-
msgid "Snippets per page"
|
371 |
-
msgstr "Codeschnipsel pro Seite"
|
372 |
-
|
373 |
-
# @ code-snippets
|
374 |
-
#: php/class-list-table.php:117 php/class-list-table.php:370
|
375 |
-
msgid "Network Deactivate"
|
376 |
-
msgstr "Netzwerkweit deaktivieren"
|
377 |
-
|
378 |
-
# @ code-snippets
|
379 |
-
#: php/class-list-table.php:117 php/class-list-table.php:180
|
380 |
-
#: php/class-list-table.php:370
|
381 |
-
msgid "Deactivate"
|
382 |
-
msgstr "Deaktivieren"
|
383 |
-
|
384 |
-
# @ code-snippets
|
385 |
-
#: php/class-list-table.php:126 php/class-list-table.php:369
|
386 |
-
msgid "Network Activate"
|
387 |
-
msgstr "Netzwerkweit aktivieren"
|
388 |
-
|
389 |
-
# @ code-snippets
|
390 |
-
#: php/class-list-table.php:126 php/class-list-table.php:180
|
391 |
-
#: php/class-list-table.php:369
|
392 |
-
msgid "Activate"
|
393 |
-
msgstr "Aktivieren"
|
394 |
-
|
395 |
-
# @ code-snippets
|
396 |
-
#: php/class-list-table.php:136 php/class-list-table.php:196
|
397 |
-
msgid "Edit"
|
398 |
-
msgstr "Bearbeiten"
|
399 |
-
|
400 |
-
# @ code-snippets
|
401 |
-
#: php/class-list-table.php:142 php/class-list-table.php:202
|
402 |
-
#: php/class-list-table.php:371 php/views/edit.php:109
|
403 |
-
msgid "Export"
|
404 |
-
msgstr "Exportieren"
|
405 |
|
406 |
# @ code-snippets
|
407 |
-
#: php/class-
|
408 |
-
#: php/class-list-table.php:372 php/views/edit.php:121
|
409 |
-
msgid "Delete"
|
410 |
-
msgstr "Löschen"
|
411 |
-
|
412 |
-
#: php/class-list-table.php:158 php/class-list-table.php:224
|
413 |
-
msgid ""
|
414 |
-
"You are about to permanently delete the selected item.\n"
|
415 |
-
"\t\t\t\t\t'Cancel' to stop, 'OK' to delete."
|
416 |
-
msgstr ""
|
417 |
-
"Sie sind dabei die ausgewählten Einträge zu löschen.\n"
|
418 |
-
"\t\t\t\t\t'Abbrechen zum Stoppen, 'OK' zum Löschen."
|
419 |
-
|
420 |
-
#: php/class-list-table.php:244
|
421 |
-
#, php-format
|
422 |
-
msgid "Untitled #%d"
|
423 |
-
msgstr "Unbenannt #%d"
|
424 |
-
|
425 |
-
#: php/class-list-table.php:261
|
426 |
-
msgid "Shared on Network"
|
427 |
-
msgstr "Im Netzwerk teilen"
|
428 |
-
|
429 |
-
# @ code-snippets
|
430 |
-
#: php/class-list-table.php:322
|
431 |
-
msgid "Name"
|
432 |
-
msgstr "Name"
|
433 |
-
|
434 |
-
# @ code-snippets
|
435 |
-
#: php/class-list-table.php:323
|
436 |
-
msgid "ID"
|
437 |
-
msgstr "ID"
|
438 |
-
|
439 |
-
# @ code-snippets
|
440 |
-
#: php/class-list-table.php:373
|
441 |
-
msgid "Export to PHP"
|
442 |
-
msgstr "Als PHP exportieren"
|
443 |
-
|
444 |
-
# @ code-snippets
|
445 |
-
#: php/class-list-table.php:411
|
446 |
-
#, php-format
|
447 |
-
msgid "All <span class=\"count\">(%s)</span>"
|
448 |
-
msgid_plural "All <span class=\"count\">(%s)</span>"
|
449 |
-
msgstr[0] "Alle <span class=\"count\">(%s)</span>"
|
450 |
-
msgstr[1] "Alle <span class=\"count\">(%s)</span>"
|
451 |
-
|
452 |
-
# @ code-snippets
|
453 |
-
#: php/class-list-table.php:412
|
454 |
-
#, php-format
|
455 |
-
msgid "Active <span class=\"count\">(%s)</span>"
|
456 |
-
msgid_plural "Active <span class=\"count\">(%s)</span>"
|
457 |
-
msgstr[0] "Aktiv <span class=\"count\">(%s)</span>"
|
458 |
-
msgstr[1] "Aktive <span class=\"count\">(%s)</span>"
|
459 |
-
|
460 |
-
# @ code-snippets
|
461 |
-
#: php/class-list-table.php:413
|
462 |
-
#, php-format
|
463 |
-
msgid "Inactive <span class=\"count\">(%s)</span>"
|
464 |
-
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
465 |
-
msgstr[0] "Inaktiv <span class=\"count\">(%s)</span>"
|
466 |
-
msgstr[1] "Inaktive <span class=\"count\">(%s)</span>"
|
467 |
-
|
468 |
-
# @ code-snippets
|
469 |
-
#: php/class-list-table.php:414
|
470 |
-
#, php-format
|
471 |
-
msgid "Recently Active <span class=\"count\">(%s)</span>"
|
472 |
-
msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
|
473 |
-
msgstr[0] "Kürzlich aktiv <span class=\"count\">(%s)</span>"
|
474 |
-
msgstr[1] "Kürzlich aktive <span class=\"count\">(%s)</span>"
|
475 |
-
|
476 |
-
#: php/class-list-table.php:477
|
477 |
-
msgid "Show all tags"
|
478 |
-
msgstr "Zeige alle Stichworte"
|
479 |
-
|
480 |
-
# @ code-snippets
|
481 |
-
#: php/class-list-table.php:491
|
482 |
-
msgid "Filter"
|
483 |
-
msgstr "Filter"
|
484 |
-
|
485 |
-
# @ code-snippets
|
486 |
-
#: php/class-list-table.php:499
|
487 |
-
msgid "Clear List"
|
488 |
-
msgstr "Liste bereinigen"
|
489 |
-
|
490 |
-
# @ code-snippets
|
491 |
-
#: php/class-list-table.php:686
|
492 |
-
#, php-format
|
493 |
-
msgid ""
|
494 |
-
"You do not appear to have any snippets available at this time. <a href=\"%s"
|
495 |
-
"\">Add New→</a>"
|
496 |
-
msgstr ""
|
497 |
-
"Sie scheinen derzeit keine Codeschnipsel in der Verwaltung zu haben. Einen "
|
498 |
-
"neuen <a href=\"%s\">hinzufügen →</a>"
|
499 |
-
|
500 |
-
# @ code-snippets
|
501 |
-
#: php/class-list-table.php:965
|
502 |
-
msgid "Search results"
|
503 |
-
msgstr "Suchergebnisse"
|
504 |
-
|
505 |
-
# @ code-snippets
|
506 |
-
#: php/class-list-table.php:968
|
507 |
-
#, php-format
|
508 |
-
msgid " for “%s”"
|
509 |
-
msgstr " für “%s”"
|
510 |
-
|
511 |
-
#: php/class-list-table.php:972
|
512 |
-
#, php-format
|
513 |
-
msgid " in tag “%s”"
|
514 |
-
msgstr " in Stichwort “%s”"
|
515 |
-
|
516 |
-
# @ code-snippets
|
517 |
-
#: php/class-list-table.php:980
|
518 |
-
msgid "Clear Filters"
|
519 |
-
msgstr "Filter zurücksetzen"
|
520 |
-
|
521 |
-
# @ code-snippets
|
522 |
-
#: php/contextual-help.php:19
|
523 |
msgid "For more information:"
|
524 |
msgstr "Weitere Informationen:"
|
525 |
|
526 |
-
#: php/contextual-help.php:
|
527 |
msgid "About Plugin"
|
528 |
msgstr "Über das Plugin"
|
529 |
|
530 |
-
#: php/contextual-help.php:
|
531 |
msgid "FAQ"
|
532 |
msgstr "FAQ"
|
533 |
|
534 |
-
#: php/contextual-help.php:
|
535 |
msgid "Support Forums"
|
536 |
msgstr "Support-Foren"
|
537 |
|
538 |
-
#: php/contextual-help.php:
|
539 |
-
msgid "Plugin Website
|
540 |
-
msgstr "Plugin-Webseite
|
541 |
|
542 |
# @ code-snippets
|
543 |
-
#: php/contextual-help.php:
|
544 |
-
#: php/contextual-help.php:
|
545 |
msgid "Overview"
|
546 |
msgstr "Übersicht"
|
547 |
|
548 |
# @ code-snippets
|
549 |
-
#: php/contextual-help.php:
|
550 |
msgid ""
|
551 |
"Snippets are similar to plugins - they both extend and expand the "
|
552 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
553 |
"of code, and do not put as much load on your server. Here you can manage "
|
554 |
-
"your existing snippets and
|
555 |
"deactivating, deleting and exporting."
|
556 |
msgstr ""
|
557 |
"Codeschnipsel sind ähnlich wie Plugins - beide erweitern bzw. verändern die "
|
@@ -562,12 +357,12 @@ msgstr ""
|
|
562 |
"Löschen sowie Exportieren."
|
563 |
|
564 |
# @ code-snippets
|
565 |
-
#: php/contextual-help.php:
|
566 |
msgid "Safe Mode"
|
567 |
msgstr "Sicherheitsmodus"
|
568 |
|
569 |
# @ code-snippets
|
570 |
-
#: php/contextual-help.php:
|
571 |
msgid ""
|
572 |
"Be sure to check your snippets for errors before you activate them, as a "
|
573 |
"faulty snippet could bring your whole blog down. If your site starts doing "
|
@@ -580,7 +375,7 @@ msgstr ""
|
|
580 |
"diese eins nach dem anderen."
|
581 |
|
582 |
# @ code-snippets
|
583 |
-
#: php/contextual-help.php:
|
584 |
msgid ""
|
585 |
"If something goes wrong with a snippet and you can't use WordPress, you can "
|
586 |
"cause all snippets to stop executing by adding "
|
@@ -600,12 +395,12 @@ msgstr ""
|
|
600 |
"setzen."
|
601 |
|
602 |
# @ code-snippets
|
603 |
-
#: php/contextual-help.php:
|
604 |
msgid "Uninstall"
|
605 |
msgstr "Deinstallieren"
|
606 |
|
607 |
# @ code-snippets
|
608 |
-
#: php/contextual-help.php:
|
609 |
#, php-format
|
610 |
msgid ""
|
611 |
"When you delete Code Snippets through the Plugins menu in WordPress it will "
|
@@ -622,7 +417,7 @@ msgstr ""
|
|
622 |
"<strong>via FTP</strong> entfernen."
|
623 |
|
624 |
# @ code-snippets
|
625 |
-
#: php/contextual-help.php:
|
626 |
msgid ""
|
627 |
"Even if you're sure that you don't want to use Code Snippets ever again on "
|
628 |
"this WordPress installation, you may want to use the export feature to back "
|
@@ -634,7 +429,7 @@ msgstr ""
|
|
634 |
"sichern."
|
635 |
|
636 |
# @ code-snippets
|
637 |
-
#: php/contextual-help.php:
|
638 |
msgid ""
|
639 |
"Snippets are similar to plugins - they both extend and expand the "
|
640 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
@@ -648,38 +443,38 @@ msgstr ""
|
|
648 |
"bereits Existierende bearbeiten."
|
649 |
|
650 |
# @ code-snippets
|
651 |
-
#: php/contextual-help.php:
|
652 |
msgid "Finding Snippets"
|
653 |
msgstr "Codeschnipsel finden"
|
654 |
|
655 |
-
#: php/contextual-help.php:
|
656 |
msgid ""
|
657 |
"Here are some links to websites which host a large number of snippets that "
|
658 |
"you can add to your site.\n"
|
659 |
-
"\t\t\t<ul>\n"
|
660 |
-
"\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
|
661 |
"\">WP-Snippets</a></li>\n"
|
662 |
-
"\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</
|
663 |
-
"li>\n"
|
664 |
-
"\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
|
665 |
"\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
|
666 |
-
"\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
|
667 |
-
"\t\t\t</ul>"
|
668 |
msgstr ""
|
669 |
-
"Hier sind
|
670 |
-
"
|
671 |
-
"\t\t\t<ul>\n"
|
672 |
-
"\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
|
673 |
"\">WP-Snippets</a></li>\n"
|
674 |
-
"\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</
|
675 |
-
"li>\n"
|
676 |
-
"\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
|
677 |
"\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
|
678 |
-
"\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
|
679 |
-
"\t\t\t</ul>"
|
680 |
|
681 |
# @ code-snippets
|
682 |
-
#: php/contextual-help.php:
|
683 |
msgid ""
|
684 |
"More places to find snippets, as well as a selection of example snippets, "
|
685 |
"can be found in the <a href=\"https://github.com/sheabunge/code-snippets/"
|
@@ -690,12 +485,12 @@ msgstr ""
|
|
690 |
"code-snippets/wiki/Finding-snippets\">Dokumentation des Plugins</a>."
|
691 |
|
692 |
# @ code-snippets
|
693 |
-
#: php/contextual-help.php:
|
694 |
msgid "Adding Snippets"
|
695 |
msgstr "Codeschnipsel hinzufügen"
|
696 |
|
697 |
# @ code-snippets
|
698 |
-
#: php/contextual-help.php:
|
699 |
msgid ""
|
700 |
"You need to fill out the name and code fields for your snippet to be added. "
|
701 |
"While the description field will add more information about how your snippet "
|
@@ -707,7 +502,7 @@ msgstr ""
|
|
707 |
"eigentlich macht und bewahren sich so auf elegante Weise die Übersicht."
|
708 |
|
709 |
# @ code-snippets
|
710 |
-
#: php/contextual-help.php:
|
711 |
msgid ""
|
712 |
"Please be sure to check that your snippet is valid PHP code and will not "
|
713 |
"produce errors before adding it through this page. While doing so will not "
|
@@ -720,7 +515,7 @@ msgstr ""
|
|
720 |
"überhaupt fehlerhafte Codeschnipsel in Ihrer Installation aktiviert werden."
|
721 |
|
722 |
# @ code-snippets
|
723 |
-
#: php/contextual-help.php:
|
724 |
msgid ""
|
725 |
"Snippets are similar to plugins - they both extend and expand the "
|
726 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
@@ -735,12 +530,12 @@ msgstr ""
|
|
735 |
"Importdatei hinzufügen."
|
736 |
|
737 |
# @ code-snippets
|
738 |
-
#: php/contextual-help.php:
|
739 |
msgid "Importing"
|
740 |
msgstr "Importieren"
|
741 |
|
742 |
# @ code-snippets
|
743 |
-
#: php/contextual-help.php:
|
744 |
msgid ""
|
745 |
"You can load your snippets from a code snippets (.xml) export file using "
|
746 |
"this page."
|
@@ -749,7 +544,7 @@ msgstr ""
|
|
749 |
"Exportdatei (<code>.xml</code>) laden."
|
750 |
|
751 |
# @ code-snippets
|
752 |
-
#: php/contextual-help.php:
|
753 |
#, php-format
|
754 |
msgid ""
|
755 |
"Snippets will be added to the database along with your existing snippets. "
|
@@ -764,12 +559,12 @@ msgstr ""
|
|
764 |
"\">Codeschnispel verwalten-Seite</a> aktiviert werden.</p>"
|
765 |
|
766 |
# @ code-snippets
|
767 |
-
#: php/contextual-help.php:
|
768 |
msgid "Exporting"
|
769 |
msgstr "Exportieren"
|
770 |
|
771 |
# @ code-snippets
|
772 |
-
#: php/contextual-help.php:
|
773 |
#, php-format
|
774 |
msgid ""
|
775 |
"You can save your snippets to a Code Snippets (.xml) export file using the "
|
@@ -778,6 +573,215 @@ msgstr ""
|
|
778 |
"Sie können Ihre Codeschnipsel auch als Codeschnipsel-XML-Exportdatei "
|
779 |
"exportieren, über die <a href=\"%s\">Codeschnipsel verwalten-Seite</a>."
|
780 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
781 |
#: php/settings/settings-fields.php:42
|
782 |
msgid "Activate by Default"
|
783 |
msgstr "Standardmäßig aktivieren"
|
@@ -813,90 +817,102 @@ msgstr "Codeschnipsel-Beschreibungen aktivieren"
|
|
813 |
msgid "Show snippet descriptions on admin pages"
|
814 |
msgstr "Codeschnipsel-Beschreibungen auf den Administrationsseiten anzeigen"
|
815 |
|
816 |
-
#: php/settings/settings-fields.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
817 |
msgid "Row Height"
|
818 |
msgstr "Zeilenhöhe"
|
819 |
|
820 |
-
#: php/settings/settings-fields.php:
|
821 |
msgid "rows"
|
822 |
msgstr "Zeilen"
|
823 |
|
824 |
-
#: php/settings/settings-fields.php:
|
825 |
msgid "Use Full Editor"
|
826 |
msgstr "Benutze den erweiterten Editor"
|
827 |
|
828 |
-
#: php/settings/settings-fields.php:
|
829 |
msgid "Enable all features of the visual editor"
|
830 |
msgstr "Aktiviere alle Funktionen des visuellen Editors"
|
831 |
|
832 |
-
#: php/settings/settings-fields.php:
|
833 |
msgid "Media Buttons"
|
834 |
msgstr "Medien Schaltflächen"
|
835 |
|
836 |
-
#: php/settings/settings-fields.php:
|
837 |
msgid "Enable the add media buttons"
|
838 |
msgstr "Aktiviere die Schaltfläche Medien hinzufügen."
|
839 |
|
840 |
-
#: php/settings/settings-fields.php:
|
841 |
msgid "Theme"
|
842 |
msgstr "Theme"
|
843 |
|
844 |
-
#: php/settings/settings-fields.php:
|
845 |
msgid "Indent With Tabs"
|
846 |
msgstr "Tabulatorbreite"
|
847 |
|
848 |
-
#: php/settings/settings-fields.php:
|
849 |
msgid "Use hard tabs (not spaces) for indentation."
|
850 |
msgstr "Benutze Tabulator anstelle von Leerzeichen."
|
851 |
|
852 |
-
#: php/settings/settings-fields.php:
|
853 |
msgid "Tab Size"
|
854 |
msgstr "Tabulatorweite"
|
855 |
|
856 |
-
#: php/settings/settings-fields.php:
|
857 |
msgid "The width of a tab character."
|
858 |
msgstr "Die Länge eines Tabulatorzeichens."
|
859 |
|
860 |
-
#: php/settings/settings-fields.php:
|
861 |
msgid "Indent Unit"
|
862 |
msgstr "Einheit des Einzugs"
|
863 |
|
864 |
-
#: php/settings/settings-fields.php:
|
865 |
msgid "How many spaces a block should be indented."
|
866 |
msgstr "Anzahl der Leerzeichen die einem Einzug entsprechen sollen."
|
867 |
|
868 |
-
#: php/settings/settings-fields.php:
|
869 |
msgid "Wrap Lines"
|
870 |
msgstr "Zeilen umbrechen"
|
871 |
|
872 |
-
#: php/settings/settings-fields.php:
|
873 |
msgid "Whether the editor should scroll or wrap for long lines."
|
874 |
msgstr ""
|
875 |
"Legt fest ob der Editor Zeilen umbricht oder bei langen Zeilen scrollen soll."
|
876 |
|
877 |
-
#: php/settings/settings-fields.php:
|
878 |
msgid "Line Numbers"
|
879 |
msgstr "Zeilennummer"
|
880 |
|
881 |
-
#: php/settings/settings-fields.php:
|
882 |
msgid "Show line numbers to the left of the editor."
|
883 |
msgstr "Zeigt Zeilennummern auf der linken Seite des Editors."
|
884 |
|
885 |
-
#: php/settings/settings-fields.php:
|
886 |
msgid "Auto Close Brackets"
|
887 |
msgstr "Klammern automatisch schliessen."
|
888 |
|
889 |
-
#: php/settings/settings-fields.php:
|
890 |
msgid "Auto-close brackets and quotes when typed."
|
891 |
msgstr ""
|
892 |
"Vervollständigt und schliesst Klammern und Anführungszeichen während der "
|
893 |
"Eingabe."
|
894 |
|
895 |
-
#: php/settings/settings-fields.php:
|
896 |
msgid "Highlight Selection Matches"
|
897 |
msgstr "Auswahlhervorhebung"
|
898 |
|
899 |
-
#: php/settings/settings-fields.php:
|
900 |
msgid "Highlight all instances of a currently selected word."
|
901 |
msgstr ""
|
902 |
"Eine Auswahl an anderen Stellen hervorheben an denen die Auswahl ebenfalls "
|
@@ -918,7 +934,7 @@ msgstr "Quellcode-Editor"
|
|
918 |
msgid "Editor Preview"
|
919 |
msgstr "Editor Vorschau"
|
920 |
|
921 |
-
#: php/settings/settings.php:
|
922 |
msgid "Settings saved."
|
923 |
msgstr "Einstellungen gespeichert."
|
924 |
|
@@ -938,15 +954,15 @@ msgstr "Name (Kurztitel)"
|
|
938 |
msgid "Code"
|
939 |
msgstr "Code"
|
940 |
|
941 |
-
#: php/views/edit.php:
|
942 |
msgid "Save Changes and Activate"
|
943 |
msgstr "Speichere Änderungen und Aktiviere"
|
944 |
|
945 |
-
#: php/views/edit.php:
|
946 |
msgid "Save Changes and Deactivate"
|
947 |
msgstr "Speichere Änderungen und Deaktiviere"
|
948 |
|
949 |
-
#: php/views/edit.php:
|
950 |
msgid ""
|
951 |
"You are about to permanently delete this snippet.\n"
|
952 |
"'Cancel' to stop, 'OK' to delete."
|
@@ -1002,6 +1018,34 @@ msgstr "Datei hochladen & importieren"
|
|
1002 |
msgid "Search Installed Snippets"
|
1003 |
msgstr "Installierte Codeschnipsel suchen"
|
1004 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1005 |
#~ msgid "http://wordpress.org/plugins/code-snippets"
|
1006 |
#~ msgstr "http://wordpress.org/plugins/code-snippets"
|
1007 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Code Snippets v2.7.1\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2016-09-30 14:41+0200\n"
|
6 |
+
"PO-Revision-Date: 2016-09-30 14:50+0200\n"
|
7 |
+
"Last-Translator: Mario Siegmann <mario_siegmann@web.de>\n"
|
8 |
"Language-Team: Mario Siegmann <mario_siegmann@web.de>\n"
|
9 |
"Language: de_DE\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
14 |
+
"X-Generator: Poedit 1.8.9\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
17 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
19 |
"X-Textdomain-Support: yes\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
|
22 |
+
#: php/admin-menus/class-admin-menu.php:98
|
23 |
msgid "You are not authorized to access this page."
|
24 |
msgstr "Du hast keine Berechtigung diese Seite zu betreten."
|
25 |
|
30 |
msgstr "Codeschnipsel bearbeiten"
|
31 |
|
32 |
# @ code-snippets
|
33 |
+
#: php/admin-menus/class-edit-menu.php:32
|
34 |
msgid "Add New"
|
35 |
msgstr "Hinzufügen"
|
36 |
|
37 |
# @ code-snippets
|
38 |
+
#: php/admin-menus/class-edit-menu.php:33 php/views/edit.php:31
|
39 |
msgid "Add New Snippet"
|
40 |
msgstr "Neuen Codeschnipsel hinzufügen"
|
41 |
|
42 |
+
#: php/admin-menus/class-edit-menu.php:178
|
43 |
msgid "Don't Panic"
|
44 |
msgstr "Keine Panik"
|
45 |
|
46 |
+
#: php/admin-menus/class-edit-menu.php:179
|
47 |
#, php-format
|
48 |
msgid ""
|
49 |
"The code snippet you are trying to save produced a fatal error on line %d:"
|
51 |
"Der Codeschnipsel, den Sie versuchen zu speichern, produziert einen fatalen "
|
52 |
"Fehler in Zeile %d:"
|
53 |
|
54 |
+
#: php/admin-menus/class-edit-menu.php:181
|
55 |
msgid ""
|
56 |
"The previous version of the snippet is unchanged, and the rest of this site "
|
57 |
"should be functioning normally as before."
|
59 |
"Die vorherige Version dieses Codeschnipsels ist unverändert und der Rest der "
|
60 |
"Seite sollte normal wie zuvor funktionieren."
|
61 |
|
62 |
+
#: php/admin-menus/class-edit-menu.php:182
|
63 |
msgid ""
|
64 |
"Please use the back button in your browser to return to the previous page "
|
65 |
"and try to fix the code error."
|
67 |
"Bitte nutzen Sie die Zurück-Schaltfläche in Ihrem Browser um zur vorherigen "
|
68 |
"Seite zurückzukehren und versuchen Sie den Fehler zu korrigieren."
|
69 |
|
70 |
+
#: php/admin-menus/class-edit-menu.php:183
|
71 |
msgid ""
|
72 |
"If you prefer, you can close this page and discard the changes you just "
|
73 |
"made. No changes will be made to this site."
|
77 |
"Website vorgenommen."
|
78 |
|
79 |
# @ code-snippets
|
80 |
+
#: php/admin-menus/class-edit-menu.php:303 php/class-list-table.php:324
|
81 |
msgid "Description"
|
82 |
msgstr "Beschreibung"
|
83 |
|
84 |
+
#: php/admin-menus/class-edit-menu.php:334 php/class-list-table.php:325
|
85 |
msgid "Tags"
|
86 |
msgstr "Stichworte"
|
87 |
|
88 |
+
#: php/admin-menus/class-edit-menu.php:338
|
89 |
msgid "Enter a list of tags; separated by commas"
|
90 |
msgstr "Schlagwortliste, Komma getrennt"
|
91 |
|
92 |
+
#: php/admin-menus/class-edit-menu.php:358
|
93 |
msgid "Run snippet everywhere"
|
94 |
msgstr "Codeschnipsel überall ausführen"
|
95 |
|
96 |
+
#: php/admin-menus/class-edit-menu.php:359
|
97 |
msgid "Only run in administration area"
|
98 |
msgstr "Nur im Administrationsbereich ausführen"
|
99 |
|
100 |
+
#: php/admin-menus/class-edit-menu.php:360
|
101 |
msgid "Only run on site front-end"
|
102 |
msgstr "Nur auf öffentlicher Seite ausführen"
|
103 |
|
104 |
+
#: php/admin-menus/class-edit-menu.php:364
|
105 |
msgid "Scope"
|
106 |
msgstr "Bereich"
|
107 |
|
108 |
+
#: php/admin-menus/class-edit-menu.php:384
|
109 |
msgid "Sharing"
|
110 |
msgstr "Teilen"
|
111 |
|
112 |
+
#: php/admin-menus/class-edit-menu.php:388
|
113 |
msgid "Allow this snippet to be activated on individual sites on the network"
|
114 |
msgstr ""
|
115 |
"Diesem Codeschnipsel erlauben, auf individuellen Seiten im Netzwerk "
|
116 |
"aktiviert zu werden"
|
117 |
|
118 |
+
#: php/admin-menus/class-edit-menu.php:448
|
119 |
#, php-format
|
120 |
msgid "The snippet has been deactivated due to an error on line %d:"
|
121 |
msgstr ""
|
122 |
"Der Codeschnipsel deaktiviert wurde aufgrund eines Fehlers in Zeile %d:"
|
123 |
|
124 |
+
#: php/admin-menus/class-edit-menu.php:453
|
125 |
msgid "The snippet has been deactivated due to an error in the code."
|
126 |
msgstr "Der Codeschnipsel wurde aufgrund eines Fehlers im Code deaktiviert."
|
127 |
|
128 |
+
#: php/admin-menus/class-edit-menu.php:460
|
129 |
msgid "An error occurred when saving the snippet."
|
130 |
msgstr "Es trat ein Fehler beim Speichern des Codeschnipsel auf."
|
131 |
|
132 |
# @ code-snippets
|
133 |
+
#: php/admin-menus/class-edit-menu.php:465
|
134 |
msgid "Snippet <strong>added</strong>."
|
135 |
msgstr "Codeschnipsel <strong>hinzugefügt</strong>."
|
136 |
|
137 |
# @ code-snippets
|
138 |
+
#: php/admin-menus/class-edit-menu.php:466
|
139 |
msgid "Snippet <strong>updated</strong>."
|
140 |
msgstr "Codeschnipsel <strong>aktualisiert</strong>."
|
141 |
|
142 |
# @ code-snippets
|
143 |
+
#: php/admin-menus/class-edit-menu.php:467
|
144 |
msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
|
145 |
msgstr ""
|
146 |
"Codeschnipsel <strong>hinzugefügt</strong> und <strong>aktiviert</strong>."
|
147 |
|
148 |
# @ code-snippets
|
149 |
+
#: php/admin-menus/class-edit-menu.php:468
|
150 |
msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
|
151 |
msgstr ""
|
152 |
"Codeschnipsel <strong>aktualisiert</strong> und <strong>aktiviert</strong>."
|
153 |
|
154 |
+
#: php/admin-menus/class-edit-menu.php:469
|
155 |
msgid "Snippet <strong>updated</strong> and <strong>deactivated</strong>."
|
156 |
msgstr ""
|
157 |
"Codeschnipsel <strong>aktualisiert</strong> und <strong>deaktiviert</strong>."
|
167 |
msgstr "Codeschnipsel importieren"
|
168 |
|
169 |
# @ code-snippets
|
170 |
+
#: php/admin-menus/class-import-menu.php:78
|
171 |
msgid "Code Snippets"
|
172 |
msgstr "Codeschnipsel"
|
173 |
|
174 |
+
#: php/admin-menus/class-import-menu.php:79
|
175 |
msgid "Import snippets from a code snippets export file"
|
176 |
msgstr "Importiere Codeschnipsel aus einer Code Snippets Export Datei."
|
177 |
|
178 |
+
#: php/admin-menus/class-import-menu.php:93
|
179 |
#, php-format
|
180 |
msgid ""
|
181 |
"Successfully imported <strong>%d</strong> snippet. <a href=\"%s\">Have fun!</"
|
190 |
"Erfolgreicher Import der <strong>%d</strong> Codeschnipsel. <a href=\"%s"
|
191 |
"\">Viel Spass!</a>"
|
192 |
|
193 |
+
#: php/admin-menus/class-import-menu.php:106
|
194 |
msgid "An error occurred when processing the import file."
|
195 |
msgstr "Ein Fehler trat bei der Verarbeitung der importierten Datei auf."
|
196 |
|
197 |
# @ code-snippets
|
198 |
+
#: php/admin-menus/class-manage-menu.php:22 php/class-admin.php:111
|
199 |
msgid "Manage"
|
200 |
msgstr "Verwalten"
|
201 |
|
202 |
# @ code-snippets
|
203 |
#: php/admin-menus/class-manage-menu.php:23
|
204 |
#: php/admin-menus/class-manage-menu.php:39
|
205 |
+
#: php/admin-menus/class-manage-menu.php:40 php/class-admin.php:52
|
206 |
#: php/views/manage.php:19
|
207 |
msgid "Snippets"
|
208 |
msgstr "Codeschnipsel"
|
251 |
msgstr "Ausgewählte Codeschnipsel wurden <strong>gelöscht</strong>."
|
252 |
|
253 |
#: php/admin-menus/class-settings-menu.php:16
|
254 |
+
#: php/admin-menus/class-settings-menu.php:36 php/views/edit.php:134
|
255 |
msgid "Settings"
|
256 |
msgstr "Einstellungen"
|
257 |
|
260 |
msgstr "Codeschnipsel Einstellungen"
|
261 |
|
262 |
# @ code-snippets
|
263 |
+
#: php/class-admin.php:110
|
264 |
msgid "Manage your existing snippets"
|
265 |
msgstr "Bestehende Codeschnipsel verwalten"
|
266 |
|
267 |
# @ code-snippets
|
268 |
+
#: php/class-admin.php:141
|
269 |
msgid "Visit the WordPress.org plugin page"
|
270 |
msgstr "Die Plugin-Seite bei WordPress.org aufrufen"
|
271 |
|
272 |
# @ code-snippets
|
273 |
+
#: php/class-admin.php:142
|
274 |
msgid "About"
|
275 |
msgstr "Über"
|
276 |
|
277 |
# @ code-snippets
|
278 |
+
#: php/class-admin.php:146
|
279 |
msgid "Visit the support forums"
|
280 |
msgstr "Die Support-Foren aufrufen"
|
281 |
|
282 |
# @ code-snippets
|
283 |
+
#: php/class-admin.php:147
|
284 |
msgid "Support"
|
285 |
msgstr "Support"
|
286 |
|
287 |
# @ code-snippets
|
288 |
+
#: php/class-admin.php:151
|
289 |
msgid "Support this plugin's development"
|
290 |
msgstr "Die Entwicklung dieses Plugins unterstützen"
|
291 |
|
292 |
# @ code-snippets
|
293 |
+
#: php/class-admin.php:152
|
294 |
msgid "Donate"
|
295 |
msgstr "Spenden"
|
296 |
|
297 |
+
#: php/class-admin.php:183
|
298 |
msgid ""
|
299 |
"<strong>Have feedback on Code Snippets?</strong> Please take the time to "
|
300 |
"answer a short survey on how you use this plugin and what you'd like to see "
|
305 |
"und welche Funktionen sie in Zukunft gerne verändert oder hinzugefügt haben "
|
306 |
"möchten."
|
307 |
|
308 |
+
#: php/class-admin.php:187
|
309 |
msgid "Take the survey now"
|
310 |
msgstr "An der Umfrage teilnehmen"
|
311 |
|
312 |
+
#: php/class-admin.php:190
|
313 |
+
msgid "Dismiss"
|
314 |
+
msgstr "Verwerfen"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
315 |
|
316 |
# @ code-snippets
|
317 |
+
#: php/class-contextual-help.php:40
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
318 |
msgid "For more information:"
|
319 |
msgstr "Weitere Informationen:"
|
320 |
|
321 |
+
#: php/class-contextual-help.php:41
|
322 |
msgid "About Plugin"
|
323 |
msgstr "Über das Plugin"
|
324 |
|
325 |
+
#: php/class-contextual-help.php:42
|
326 |
msgid "FAQ"
|
327 |
msgstr "FAQ"
|
328 |
|
329 |
+
#: php/class-contextual-help.php:43
|
330 |
msgid "Support Forums"
|
331 |
msgstr "Support-Foren"
|
332 |
|
333 |
+
#: php/class-contextual-help.php:44
|
334 |
+
msgid "Plugin Website"
|
335 |
+
msgstr "Plugin-Webseite"
|
336 |
|
337 |
# @ code-snippets
|
338 |
+
#: php/class-contextual-help.php:55 php/class-contextual-help.php:81
|
339 |
+
#: php/class-contextual-help.php:114
|
340 |
msgid "Overview"
|
341 |
msgstr "Übersicht"
|
342 |
|
343 |
# @ code-snippets
|
344 |
+
#: php/class-contextual-help.php:56
|
345 |
msgid ""
|
346 |
"Snippets are similar to plugins - they both extend and expand the "
|
347 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
348 |
"of code, and do not put as much load on your server. Here you can manage "
|
349 |
+
"your existing snippets and perform tasks on them such as activating, "
|
350 |
"deactivating, deleting and exporting."
|
351 |
msgstr ""
|
352 |
"Codeschnipsel sind ähnlich wie Plugins - beide erweitern bzw. verändern die "
|
357 |
"Löschen sowie Exportieren."
|
358 |
|
359 |
# @ code-snippets
|
360 |
+
#: php/class-contextual-help.php:61
|
361 |
msgid "Safe Mode"
|
362 |
msgstr "Sicherheitsmodus"
|
363 |
|
364 |
# @ code-snippets
|
365 |
+
#: php/class-contextual-help.php:62
|
366 |
msgid ""
|
367 |
"Be sure to check your snippets for errors before you activate them, as a "
|
368 |
"faulty snippet could bring your whole blog down. If your site starts doing "
|
375 |
"diese eins nach dem anderen."
|
376 |
|
377 |
# @ code-snippets
|
378 |
+
#: php/class-contextual-help.php:63
|
379 |
msgid ""
|
380 |
"If something goes wrong with a snippet and you can't use WordPress, you can "
|
381 |
"cause all snippets to stop executing by adding "
|
395 |
"setzen."
|
396 |
|
397 |
# @ code-snippets
|
398 |
+
#: php/class-contextual-help.php:68
|
399 |
msgid "Uninstall"
|
400 |
msgstr "Deinstallieren"
|
401 |
|
402 |
# @ code-snippets
|
403 |
+
#: php/class-contextual-help.php:69
|
404 |
#, php-format
|
405 |
msgid ""
|
406 |
"When you delete Code Snippets through the Plugins menu in WordPress it will "
|
417 |
"<strong>via FTP</strong> entfernen."
|
418 |
|
419 |
# @ code-snippets
|
420 |
+
#: php/class-contextual-help.php:70
|
421 |
msgid ""
|
422 |
"Even if you're sure that you don't want to use Code Snippets ever again on "
|
423 |
"this WordPress installation, you may want to use the export feature to back "
|
429 |
"sichern."
|
430 |
|
431 |
# @ code-snippets
|
432 |
+
#: php/class-contextual-help.php:82
|
433 |
msgid ""
|
434 |
"Snippets are similar to plugins - they both extend and expand the "
|
435 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
443 |
"bereits Existierende bearbeiten."
|
444 |
|
445 |
# @ code-snippets
|
446 |
+
#: php/class-contextual-help.php:87
|
447 |
msgid "Finding Snippets"
|
448 |
msgstr "Codeschnipsel finden"
|
449 |
|
450 |
+
#: php/class-contextual-help.php:88
|
451 |
msgid ""
|
452 |
"Here are some links to websites which host a large number of snippets that "
|
453 |
"you can add to your site.\n"
|
454 |
+
"\t\t\t\t<ul>\n"
|
455 |
+
"\t\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
|
456 |
"\">WP-Snippets</a></li>\n"
|
457 |
+
"\t\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
|
458 |
+
"a></li>\n"
|
459 |
+
"\t\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
|
460 |
"\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
|
461 |
+
"\t\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
|
462 |
+
"\t\t\t\t</ul>"
|
463 |
msgstr ""
|
464 |
+
"Hier sind einige Links zu Webseiten, welche eine große Anzahl an "
|
465 |
+
"Codeschnipsel zur Verfügung stellen und die verwendet werden können.\n"
|
466 |
+
"\t\t\t\t<ul>\n"
|
467 |
+
"\t\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
|
468 |
"\">WP-Snippets</a></li>\n"
|
469 |
+
"\t\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
|
470 |
+
"a></li>\n"
|
471 |
+
"\t\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
|
472 |
"\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
|
473 |
+
"\t\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
|
474 |
+
"\t\t\t\t</ul>"
|
475 |
|
476 |
# @ code-snippets
|
477 |
+
#: php/class-contextual-help.php:95
|
478 |
msgid ""
|
479 |
"More places to find snippets, as well as a selection of example snippets, "
|
480 |
"can be found in the <a href=\"https://github.com/sheabunge/code-snippets/"
|
485 |
"code-snippets/wiki/Finding-snippets\">Dokumentation des Plugins</a>."
|
486 |
|
487 |
# @ code-snippets
|
488 |
+
#: php/class-contextual-help.php:100
|
489 |
msgid "Adding Snippets"
|
490 |
msgstr "Codeschnipsel hinzufügen"
|
491 |
|
492 |
# @ code-snippets
|
493 |
+
#: php/class-contextual-help.php:101
|
494 |
msgid ""
|
495 |
"You need to fill out the name and code fields for your snippet to be added. "
|
496 |
"While the description field will add more information about how your snippet "
|
502 |
"eigentlich macht und bewahren sich so auf elegante Weise die Übersicht."
|
503 |
|
504 |
# @ code-snippets
|
505 |
+
#: php/class-contextual-help.php:102
|
506 |
msgid ""
|
507 |
"Please be sure to check that your snippet is valid PHP code and will not "
|
508 |
"produce errors before adding it through this page. While doing so will not "
|
515 |
"überhaupt fehlerhafte Codeschnipsel in Ihrer Installation aktiviert werden."
|
516 |
|
517 |
# @ code-snippets
|
518 |
+
#: php/class-contextual-help.php:115
|
519 |
msgid ""
|
520 |
"Snippets are similar to plugins - they both extend and expand the "
|
521 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
530 |
"Importdatei hinzufügen."
|
531 |
|
532 |
# @ code-snippets
|
533 |
+
#: php/class-contextual-help.php:120
|
534 |
msgid "Importing"
|
535 |
msgstr "Importieren"
|
536 |
|
537 |
# @ code-snippets
|
538 |
+
#: php/class-contextual-help.php:121
|
539 |
msgid ""
|
540 |
"You can load your snippets from a code snippets (.xml) export file using "
|
541 |
"this page."
|
544 |
"Exportdatei (<code>.xml</code>) laden."
|
545 |
|
546 |
# @ code-snippets
|
547 |
+
#: php/class-contextual-help.php:122
|
548 |
#, php-format
|
549 |
msgid ""
|
550 |
"Snippets will be added to the database along with your existing snippets. "
|
559 |
"\">Codeschnispel verwalten-Seite</a> aktiviert werden.</p>"
|
560 |
|
561 |
# @ code-snippets
|
562 |
+
#: php/class-contextual-help.php:127
|
563 |
msgid "Exporting"
|
564 |
msgstr "Exportieren"
|
565 |
|
566 |
# @ code-snippets
|
567 |
+
#: php/class-contextual-help.php:128
|
568 |
#, php-format
|
569 |
msgid ""
|
570 |
"You can save your snippets to a Code Snippets (.xml) export file using the "
|
573 |
"Sie können Ihre Codeschnipsel auch als Codeschnipsel-XML-Exportdatei "
|
574 |
"exportieren, über die <a href=\"%s\">Codeschnipsel verwalten-Seite</a>."
|
575 |
|
576 |
+
#: php/class-export.php:87
|
577 |
+
msgid ""
|
578 |
+
"This is a code snippets export file generated by the Code Snippets WordPress "
|
579 |
+
"plugin."
|
580 |
+
msgstr ""
|
581 |
+
"Dies ist eine Codeschnipsel-Export-Datei die durch das Code Snippets "
|
582 |
+
"WordPress Plugin erstellt wurde."
|
583 |
+
|
584 |
+
#: php/class-export.php:89
|
585 |
+
msgid "To import these snippets a WordPress site follow these steps:"
|
586 |
+
msgstr ""
|
587 |
+
"Um Codeschnipsel in eine WordPress Seite zu importieren folge diesen "
|
588 |
+
"Schritten:"
|
589 |
+
|
590 |
+
#: php/class-export.php:90
|
591 |
+
msgid "1. Log in to that site as an administrator."
|
592 |
+
msgstr "1. Melde dich als Administrator an."
|
593 |
+
|
594 |
+
#: php/class-export.php:91
|
595 |
+
msgid ""
|
596 |
+
"2. Install the Code Snippets plugin using the directions provided at the "
|
597 |
+
"above link."
|
598 |
+
msgstr ""
|
599 |
+
"2. Installiere das Code Snippets Plugin nutze hierzu den Link und die "
|
600 |
+
"Informationen von oben."
|
601 |
+
|
602 |
+
#: php/class-export.php:92
|
603 |
+
msgid "3. Go to 'Tools: Import' in the WordPress admin panel."
|
604 |
+
msgstr ""
|
605 |
+
"3. Navigiere zu 'Werkzeuge: Daten importieren' in der WordPress "
|
606 |
+
"Administration."
|
607 |
+
|
608 |
+
#: php/class-export.php:93
|
609 |
+
msgid "4. Click on the \"Code Snippets\" importer in the list"
|
610 |
+
msgstr "4. Klicke in der Liste der Importmodule auf \"Code Snippets\" "
|
611 |
+
|
612 |
+
#: php/class-export.php:94
|
613 |
+
msgid "5. Upload this file using the form provided on that page."
|
614 |
+
msgstr "5. Lade diese Datei über den angebotenen Dialog der Importseite hoch."
|
615 |
+
|
616 |
+
#: php/class-export.php:95
|
617 |
+
msgid ""
|
618 |
+
"6. Code Snippets will then import all of the snippets and associated "
|
619 |
+
"information contained in this file into your site."
|
620 |
+
msgstr ""
|
621 |
+
"6. Die Codeschnipsel werden neben allen anderen Informationen aus dieser "
|
622 |
+
"Datei in deine Seite importiert."
|
623 |
+
|
624 |
+
#: php/class-export.php:96
|
625 |
+
msgid ""
|
626 |
+
"7. You will then have to visit the 'Snippets: Manage' admin menu and "
|
627 |
+
"activate desired snippets."
|
628 |
+
msgstr ""
|
629 |
+
"7. Nach dem Import besuche die Seite 'Codeschnipsel: Verwalten' im "
|
630 |
+
"Administrationsmenü und aktiviere die gewünschten Codeschnipsel."
|
631 |
+
|
632 |
+
# @ code-snippets
|
633 |
+
#: php/class-list-table.php:58
|
634 |
+
msgid "Snippets per page"
|
635 |
+
msgstr "Codeschnipsel pro Seite"
|
636 |
+
|
637 |
+
# @ code-snippets
|
638 |
+
#: php/class-list-table.php:117 php/class-list-table.php:370
|
639 |
+
msgid "Network Deactivate"
|
640 |
+
msgstr "Netzwerkweit deaktivieren"
|
641 |
+
|
642 |
+
# @ code-snippets
|
643 |
+
#: php/class-list-table.php:117 php/class-list-table.php:180
|
644 |
+
#: php/class-list-table.php:370
|
645 |
+
msgid "Deactivate"
|
646 |
+
msgstr "Deaktivieren"
|
647 |
+
|
648 |
+
# @ code-snippets
|
649 |
+
#: php/class-list-table.php:126 php/class-list-table.php:369
|
650 |
+
msgid "Network Activate"
|
651 |
+
msgstr "Netzwerkweit aktivieren"
|
652 |
+
|
653 |
+
# @ code-snippets
|
654 |
+
#: php/class-list-table.php:126 php/class-list-table.php:180
|
655 |
+
#: php/class-list-table.php:369
|
656 |
+
msgid "Activate"
|
657 |
+
msgstr "Aktivieren"
|
658 |
+
|
659 |
+
# @ code-snippets
|
660 |
+
#: php/class-list-table.php:136 php/class-list-table.php:196
|
661 |
+
msgid "Edit"
|
662 |
+
msgstr "Bearbeiten"
|
663 |
+
|
664 |
+
# @ code-snippets
|
665 |
+
#: php/class-list-table.php:142 php/class-list-table.php:202
|
666 |
+
#: php/class-list-table.php:371 php/views/edit.php:111
|
667 |
+
msgid "Export"
|
668 |
+
msgstr "Exportieren"
|
669 |
+
|
670 |
+
# @ code-snippets
|
671 |
+
#: php/class-list-table.php:151 php/class-list-table.php:214
|
672 |
+
#: php/class-list-table.php:372 php/views/edit.php:123
|
673 |
+
msgid "Delete"
|
674 |
+
msgstr "Löschen"
|
675 |
+
|
676 |
+
#: php/class-list-table.php:158 php/class-list-table.php:224
|
677 |
+
msgid ""
|
678 |
+
"You are about to permanently delete the selected item.\n"
|
679 |
+
"\t\t\t\t\t'Cancel' to stop, 'OK' to delete."
|
680 |
+
msgstr ""
|
681 |
+
"Sie sind dabei die ausgewählten Einträge zu löschen.\n"
|
682 |
+
"\t\t\t\t\t'Abbrechen zum Stoppen, 'OK' zum Löschen."
|
683 |
+
|
684 |
+
#: php/class-list-table.php:244
|
685 |
+
#, php-format
|
686 |
+
msgid "Untitled #%d"
|
687 |
+
msgstr "Unbenannt #%d"
|
688 |
+
|
689 |
+
#: php/class-list-table.php:261
|
690 |
+
msgid "Shared on Network"
|
691 |
+
msgstr "Im Netzwerk teilen"
|
692 |
+
|
693 |
+
# @ code-snippets
|
694 |
+
#: php/class-list-table.php:322
|
695 |
+
msgid "Name"
|
696 |
+
msgstr "Name"
|
697 |
+
|
698 |
+
# @ code-snippets
|
699 |
+
#: php/class-list-table.php:323
|
700 |
+
msgid "ID"
|
701 |
+
msgstr "ID"
|
702 |
+
|
703 |
+
# @ code-snippets
|
704 |
+
#: php/class-list-table.php:373
|
705 |
+
msgid "Export to PHP"
|
706 |
+
msgstr "Als PHP exportieren"
|
707 |
+
|
708 |
+
# @ code-snippets
|
709 |
+
#: php/class-list-table.php:411
|
710 |
+
#, php-format
|
711 |
+
msgid "All <span class=\"count\">(%s)</span>"
|
712 |
+
msgid_plural "All <span class=\"count\">(%s)</span>"
|
713 |
+
msgstr[0] "Alle <span class=\"count\">(%s)</span>"
|
714 |
+
msgstr[1] "Alle <span class=\"count\">(%s)</span>"
|
715 |
+
|
716 |
+
# @ code-snippets
|
717 |
+
#: php/class-list-table.php:412
|
718 |
+
#, php-format
|
719 |
+
msgid "Active <span class=\"count\">(%s)</span>"
|
720 |
+
msgid_plural "Active <span class=\"count\">(%s)</span>"
|
721 |
+
msgstr[0] "Aktiv <span class=\"count\">(%s)</span>"
|
722 |
+
msgstr[1] "Aktive <span class=\"count\">(%s)</span>"
|
723 |
+
|
724 |
+
# @ code-snippets
|
725 |
+
#: php/class-list-table.php:413
|
726 |
+
#, php-format
|
727 |
+
msgid "Inactive <span class=\"count\">(%s)</span>"
|
728 |
+
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
729 |
+
msgstr[0] "Inaktiv <span class=\"count\">(%s)</span>"
|
730 |
+
msgstr[1] "Inaktive <span class=\"count\">(%s)</span>"
|
731 |
+
|
732 |
+
# @ code-snippets
|
733 |
+
#: php/class-list-table.php:414
|
734 |
+
#, php-format
|
735 |
+
msgid "Recently Active <span class=\"count\">(%s)</span>"
|
736 |
+
msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
|
737 |
+
msgstr[0] "Kürzlich aktiv <span class=\"count\">(%s)</span>"
|
738 |
+
msgstr[1] "Kürzlich aktive <span class=\"count\">(%s)</span>"
|
739 |
+
|
740 |
+
#: php/class-list-table.php:477
|
741 |
+
msgid "Show all tags"
|
742 |
+
msgstr "Zeige alle Stichworte"
|
743 |
+
|
744 |
+
# @ code-snippets
|
745 |
+
#: php/class-list-table.php:491
|
746 |
+
msgid "Filter"
|
747 |
+
msgstr "Filter"
|
748 |
+
|
749 |
+
# @ code-snippets
|
750 |
+
#: php/class-list-table.php:499
|
751 |
+
msgid "Clear List"
|
752 |
+
msgstr "Liste bereinigen"
|
753 |
+
|
754 |
+
# @ code-snippets
|
755 |
+
#: php/class-list-table.php:686
|
756 |
+
#, php-format
|
757 |
+
msgid ""
|
758 |
+
"You do not appear to have any snippets available at this time. <a href=\"%s"
|
759 |
+
"\">Add New→</a>"
|
760 |
+
msgstr ""
|
761 |
+
"Sie scheinen derzeit keine Codeschnipsel in der Verwaltung zu haben. Einen "
|
762 |
+
"neuen <a href=\"%s\">hinzufügen →</a>"
|
763 |
+
|
764 |
+
# @ code-snippets
|
765 |
+
#: php/class-list-table.php:959
|
766 |
+
msgid "Search results"
|
767 |
+
msgstr "Suchergebnisse"
|
768 |
+
|
769 |
+
# @ code-snippets
|
770 |
+
#: php/class-list-table.php:962
|
771 |
+
#, php-format
|
772 |
+
msgid " for “%s”"
|
773 |
+
msgstr " für “%s”"
|
774 |
+
|
775 |
+
#: php/class-list-table.php:966
|
776 |
+
#, php-format
|
777 |
+
msgid " in tag “%s”"
|
778 |
+
msgstr " in Stichwort “%s”"
|
779 |
+
|
780 |
+
# @ code-snippets
|
781 |
+
#: php/class-list-table.php:974
|
782 |
+
msgid "Clear Filters"
|
783 |
+
msgstr "Filter zurücksetzen"
|
784 |
+
|
785 |
#: php/settings/settings-fields.php:42
|
786 |
msgid "Activate by Default"
|
787 |
msgstr "Standardmäßig aktivieren"
|
817 |
msgid "Show snippet descriptions on admin pages"
|
818 |
msgstr "Codeschnipsel-Beschreibungen auf den Administrationsseiten anzeigen"
|
819 |
|
820 |
+
#: php/settings/settings-fields.php:69
|
821 |
+
msgid "Disable shortcode syntax highlighter"
|
822 |
+
msgstr "Codeschnipsel Syntax-Hervorhebung deaktivieren"
|
823 |
+
|
824 |
+
#: php/settings/settings-fields.php:71
|
825 |
+
msgid ""
|
826 |
+
"Disable the syntax highlighting for the [code_snippet] shortcode on the "
|
827 |
+
"front-end"
|
828 |
+
msgstr ""
|
829 |
+
"Syntax-Hervorhebung den [code_snippet] Shortcode auf der öffentlichen Seite "
|
830 |
+
"deaktivieren"
|
831 |
+
|
832 |
+
#: php/settings/settings-fields.php:80
|
833 |
msgid "Row Height"
|
834 |
msgstr "Zeilenhöhe"
|
835 |
|
836 |
+
#: php/settings/settings-fields.php:82
|
837 |
msgid "rows"
|
838 |
msgstr "Zeilen"
|
839 |
|
840 |
+
#: php/settings/settings-fields.php:88
|
841 |
msgid "Use Full Editor"
|
842 |
msgstr "Benutze den erweiterten Editor"
|
843 |
|
844 |
+
#: php/settings/settings-fields.php:90
|
845 |
msgid "Enable all features of the visual editor"
|
846 |
msgstr "Aktiviere alle Funktionen des visuellen Editors"
|
847 |
|
848 |
+
#: php/settings/settings-fields.php:95
|
849 |
msgid "Media Buttons"
|
850 |
msgstr "Medien Schaltflächen"
|
851 |
|
852 |
+
#: php/settings/settings-fields.php:97
|
853 |
msgid "Enable the add media buttons"
|
854 |
msgstr "Aktiviere die Schaltfläche Medien hinzufügen."
|
855 |
|
856 |
+
#: php/settings/settings-fields.php:106
|
857 |
msgid "Theme"
|
858 |
msgstr "Theme"
|
859 |
|
860 |
+
#: php/settings/settings-fields.php:113
|
861 |
msgid "Indent With Tabs"
|
862 |
msgstr "Tabulatorbreite"
|
863 |
|
864 |
+
#: php/settings/settings-fields.php:115
|
865 |
msgid "Use hard tabs (not spaces) for indentation."
|
866 |
msgstr "Benutze Tabulator anstelle von Leerzeichen."
|
867 |
|
868 |
+
#: php/settings/settings-fields.php:121
|
869 |
msgid "Tab Size"
|
870 |
msgstr "Tabulatorweite"
|
871 |
|
872 |
+
#: php/settings/settings-fields.php:123
|
873 |
msgid "The width of a tab character."
|
874 |
msgstr "Die Länge eines Tabulatorzeichens."
|
875 |
|
876 |
+
#: php/settings/settings-fields.php:130
|
877 |
msgid "Indent Unit"
|
878 |
msgstr "Einheit des Einzugs"
|
879 |
|
880 |
+
#: php/settings/settings-fields.php:132
|
881 |
msgid "How many spaces a block should be indented."
|
882 |
msgstr "Anzahl der Leerzeichen die einem Einzug entsprechen sollen."
|
883 |
|
884 |
+
#: php/settings/settings-fields.php:139
|
885 |
msgid "Wrap Lines"
|
886 |
msgstr "Zeilen umbrechen"
|
887 |
|
888 |
+
#: php/settings/settings-fields.php:141
|
889 |
msgid "Whether the editor should scroll or wrap for long lines."
|
890 |
msgstr ""
|
891 |
"Legt fest ob der Editor Zeilen umbricht oder bei langen Zeilen scrollen soll."
|
892 |
|
893 |
+
#: php/settings/settings-fields.php:147
|
894 |
msgid "Line Numbers"
|
895 |
msgstr "Zeilennummer"
|
896 |
|
897 |
+
#: php/settings/settings-fields.php:149
|
898 |
msgid "Show line numbers to the left of the editor."
|
899 |
msgstr "Zeigt Zeilennummern auf der linken Seite des Editors."
|
900 |
|
901 |
+
#: php/settings/settings-fields.php:155
|
902 |
msgid "Auto Close Brackets"
|
903 |
msgstr "Klammern automatisch schliessen."
|
904 |
|
905 |
+
#: php/settings/settings-fields.php:157
|
906 |
msgid "Auto-close brackets and quotes when typed."
|
907 |
msgstr ""
|
908 |
"Vervollständigt und schliesst Klammern und Anführungszeichen während der "
|
909 |
"Eingabe."
|
910 |
|
911 |
+
#: php/settings/settings-fields.php:163
|
912 |
msgid "Highlight Selection Matches"
|
913 |
msgstr "Auswahlhervorhebung"
|
914 |
|
915 |
+
#: php/settings/settings-fields.php:164
|
916 |
msgid "Highlight all instances of a currently selected word."
|
917 |
msgstr ""
|
918 |
"Eine Auswahl an anderen Stellen hervorheben an denen die Auswahl ebenfalls "
|
934 |
msgid "Editor Preview"
|
935 |
msgstr "Editor Vorschau"
|
936 |
|
937 |
+
#: php/settings/settings.php:176
|
938 |
msgid "Settings saved."
|
939 |
msgstr "Einstellungen gespeichert."
|
940 |
|
954 |
msgid "Code"
|
955 |
msgstr "Code"
|
956 |
|
957 |
+
#: php/views/edit.php:81 php/views/edit.php:95
|
958 |
msgid "Save Changes and Activate"
|
959 |
msgstr "Speichere Änderungen und Aktiviere"
|
960 |
|
961 |
+
#: php/views/edit.php:101
|
962 |
msgid "Save Changes and Deactivate"
|
963 |
msgstr "Speichere Änderungen und Deaktiviere"
|
964 |
|
965 |
+
#: php/views/edit.php:118
|
966 |
msgid ""
|
967 |
"You are about to permanently delete this snippet.\n"
|
968 |
"'Cancel' to stop, 'OK' to delete."
|
1018 |
msgid "Search Installed Snippets"
|
1019 |
msgstr "Installierte Codeschnipsel suchen"
|
1020 |
|
1021 |
+
#~ msgid "Plugin Website</a>"
|
1022 |
+
#~ msgstr "Plugin-Webseite</a>"
|
1023 |
+
|
1024 |
+
#~ msgid ""
|
1025 |
+
#~ "Here are some links to websites which host a large number of snippets "
|
1026 |
+
#~ "that you can add to your site.\n"
|
1027 |
+
#~ "\t\t\t<ul>\n"
|
1028 |
+
#~ "\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
|
1029 |
+
#~ "\">WP-Snippets</a></li>\n"
|
1030 |
+
#~ "\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
|
1031 |
+
#~ "a></li>\n"
|
1032 |
+
#~ "\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
|
1033 |
+
#~ "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
|
1034 |
+
#~ "\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
|
1035 |
+
#~ "\t\t\t</ul>"
|
1036 |
+
#~ msgstr ""
|
1037 |
+
#~ "Hier sind ein Links zu Webseiten, welche eine Menge an Codeschnipsel "
|
1038 |
+
#~ "bereitstellen und auf ihrer Webseite verwendet werden können.\n"
|
1039 |
+
#~ "\t\t\t<ul>\n"
|
1040 |
+
#~ "\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
|
1041 |
+
#~ "\">WP-Snippets</a></li>\n"
|
1042 |
+
#~ "\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
|
1043 |
+
#~ "a></li>\n"
|
1044 |
+
#~ "\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
|
1045 |
+
#~ "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
|
1046 |
+
#~ "\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
|
1047 |
+
#~ "\t\t\t</ul>"
|
1048 |
+
|
1049 |
#~ msgid "http://wordpress.org/plugins/code-snippets"
|
1050 |
#~ msgstr "http://wordpress.org/plugins/code-snippets"
|
1051 |
|
languages/code-snippets-fr_FR.mo
CHANGED
Binary file
|
languages/code-snippets-fr_FR.po
CHANGED
@@ -446,7 +446,7 @@ msgid ""
|
|
446 |
"Snippets are similar to plugins - they both extend and expand the "
|
447 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
448 |
"of code, and do not put as much load on your server. Here you can manage "
|
449 |
-
"your existing snippets and
|
450 |
"deactivating, deleting and exporting."
|
451 |
msgstr ""
|
452 |
"Les Snippets sont similaires au Plugins. Les deux permettent d'étendre les "
|
446 |
"Snippets are similar to plugins - they both extend and expand the "
|
447 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
448 |
"of code, and do not put as much load on your server. Here you can manage "
|
449 |
+
"your existing snippets and perform tasks on them such as activating, "
|
450 |
"deactivating, deleting and exporting."
|
451 |
msgstr ""
|
452 |
"Les Snippets sont similaires au Plugins. Les deux permettent d'étendre les "
|
languages/code-snippets-it_IT.mo
CHANGED
Binary file
|
languages/code-snippets-it_IT.po
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Code Snippets\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Marco <troniclabs.crew@gmail.com>\n"
|
8 |
"Language-Team: Tronic Labs\n"
|
9 |
"Language: it\n"
|
@@ -186,22 +186,22 @@ msgstr "Snippets per pagina"
|
|
186 |
#: code-snippets.php:1118 includes/class-list-table.php:127
|
187 |
#: includes/class-list-table.php:213
|
188 |
msgid "Network Deactivate"
|
189 |
-
msgstr "Network
|
190 |
|
191 |
#: code-snippets.php:1118 includes/class-list-table.php:127
|
192 |
#: includes/class-list-table.php:213
|
193 |
msgid "Deactivate"
|
194 |
-
msgstr "
|
195 |
|
196 |
#: code-snippets.php:1127 includes/class-list-table.php:137
|
197 |
#: includes/class-list-table.php:212
|
198 |
msgid "Network Activate"
|
199 |
-
msgstr "Network
|
200 |
|
201 |
#: code-snippets.php:1127 includes/class-list-table.php:137
|
202 |
#: includes/class-list-table.php:212
|
203 |
msgid "Activate"
|
204 |
-
msgstr "
|
205 |
|
206 |
#: includes/class-list-table.php:187
|
207 |
msgid "Name"
|
@@ -312,7 +312,7 @@ msgstr ""
|
|
312 |
"target=\"_blank\">Support Forums</a>"
|
313 |
|
314 |
#: includes/help/manage.php:7
|
315 |
-
msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can manage your existing snippets and
|
316 |
msgstr ""
|
317 |
"Gli Snippets sono simili ai Plugin - tutti e due espandono le funzionalità "
|
318 |
"di WordPress. Gli Snippets sono più leggeri, giusto poche righe di codice, e "
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Code Snippets\n"
|
6 |
+
"PO-Revision-Date: 2016-11-06 09:26+0200\n"
|
7 |
"Last-Translator: Marco <troniclabs.crew@gmail.com>\n"
|
8 |
"Language-Team: Tronic Labs\n"
|
9 |
"Language: it\n"
|
186 |
#: code-snippets.php:1118 includes/class-list-table.php:127
|
187 |
#: includes/class-list-table.php:213
|
188 |
msgid "Network Deactivate"
|
189 |
+
msgstr "Network Disattiva"
|
190 |
|
191 |
#: code-snippets.php:1118 includes/class-list-table.php:127
|
192 |
#: includes/class-list-table.php:213
|
193 |
msgid "Deactivate"
|
194 |
+
msgstr "Disattiva"
|
195 |
|
196 |
#: code-snippets.php:1127 includes/class-list-table.php:137
|
197 |
#: includes/class-list-table.php:212
|
198 |
msgid "Network Activate"
|
199 |
+
msgstr "Network Attiva"
|
200 |
|
201 |
#: code-snippets.php:1127 includes/class-list-table.php:137
|
202 |
#: includes/class-list-table.php:212
|
203 |
msgid "Activate"
|
204 |
+
msgstr "Attiva"
|
205 |
|
206 |
#: includes/class-list-table.php:187
|
207 |
msgid "Name"
|
312 |
"target=\"_blank\">Support Forums</a>"
|
313 |
|
314 |
#: includes/help/manage.php:7
|
315 |
+
msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can manage your existing snippets and perform tasks on them such as activating, deactivating, deleting and exporting."
|
316 |
msgstr ""
|
317 |
"Gli Snippets sono simili ai Plugin - tutti e due espandono le funzionalità "
|
318 |
"di WordPress. Gli Snippets sono più leggeri, giusto poche righe di codice, e "
|
languages/code-snippets-ja_JP.mo
CHANGED
Binary file
|
languages/code-snippets-ja_JP.po
CHANGED
@@ -337,7 +337,7 @@ msgid ""
|
|
337 |
"Snippets are similar to plugins - they both extend and expand the "
|
338 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
339 |
"of code, and do not put as much load on your server. Here you can manage "
|
340 |
-
"your existing snippets and
|
341 |
"deactivating, deleting and exporting."
|
342 |
msgstr ""
|
343 |
"スニペットはプラグインに似ています。両方ともWordPressの機能を拡張します。スニ"
|
337 |
"Snippets are similar to plugins - they both extend and expand the "
|
338 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
339 |
"of code, and do not put as much load on your server. Here you can manage "
|
340 |
+
"your existing snippets and perform tasks on them such as activating, "
|
341 |
"deactivating, deleting and exporting."
|
342 |
msgstr ""
|
343 |
"スニペットはプラグインに似ています。両方ともWordPressの機能を拡張します。スニ"
|
languages/code-snippets-nl_NL.mo
ADDED
Binary file
|
languages/code-snippets-nl_NL.po
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: code-snippets 2.7.0\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2016-08-02 02:40+0200\n"
|
6 |
+
"PO-Revision-Date: 2016-08-07 15:28+0200\n"
|
7 |
+
"Language-Team: \n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
12 |
+
"X-Generator: Poedit 1.8.8\n"
|
13 |
+
"Last-Translator: Sander Spies <s@nderspi.es>\n"
|
14 |
+
"Language: nl_NL\n"
|
15 |
+
|
16 |
+
#: php/admin-menus/class-admin-menu.php:98
|
17 |
+
msgid "You are not authorized to access this page."
|
18 |
+
msgstr "U heeft geen toegang tot deze pagina."
|
19 |
+
|
20 |
+
#: php/admin-menus/class-edit-menu.php:13
|
21 |
+
#: php/admin-menus/class-edit-menu.php:14 php/views/edit.php:25
|
22 |
+
msgid "Edit Snippet"
|
23 |
+
msgstr "Fragment bewerken"
|
24 |
+
|
25 |
+
#: php/admin-menus/class-edit-menu.php:32
|
26 |
+
msgid "Add New"
|
27 |
+
msgstr "Nieuwe toevoegen"
|
28 |
+
|
29 |
+
#: php/admin-menus/class-edit-menu.php:33 php/views/edit.php:31
|
30 |
+
msgid "Add New Snippet"
|
31 |
+
msgstr "Nieuw fragment toevoegen"
|
32 |
+
|
33 |
+
#: php/admin-menus/class-edit-menu.php:178
|
34 |
+
msgid "Don't Panic"
|
35 |
+
msgstr "Raak niet in paniek"
|
36 |
+
|
37 |
+
#: php/admin-menus/class-edit-menu.php:179
|
38 |
+
#, php-format
|
39 |
+
msgid ""
|
40 |
+
"The code snippet you are trying to save produced a fatal error on line %d:"
|
41 |
+
msgstr ""
|
42 |
+
"Het fragment dat u probeert op te slaan genereert een fatale fout op regel "
|
43 |
+
"%d:"
|
44 |
+
|
45 |
+
#: php/admin-menus/class-edit-menu.php:181
|
46 |
+
msgid ""
|
47 |
+
"The previous version of the snippet is unchanged, and the rest of this site "
|
48 |
+
"should be functioning normally as before."
|
49 |
+
msgstr ""
|
50 |
+
"De vorige versie van het fragment is ongewijzigd en de rest van deze website "
|
51 |
+
"dient normaal te functioneren zoals voorheen."
|
52 |
+
|
53 |
+
#: php/admin-menus/class-edit-menu.php:182
|
54 |
+
msgid ""
|
55 |
+
"Please use the back button in your browser to return to the previous page "
|
56 |
+
"and try to fix the code error."
|
57 |
+
msgstr ""
|
58 |
+
"Gebruik de terug-knop in uw browser om terug te keren naar de vorige pagina "
|
59 |
+
"en probeer de fout in de code herstellen."
|
60 |
+
|
61 |
+
#: php/admin-menus/class-edit-menu.php:183
|
62 |
+
msgid ""
|
63 |
+
"If you prefer, you can close this page and discard the changes you just "
|
64 |
+
"made. No changes will be made to this site."
|
65 |
+
msgstr ""
|
66 |
+
"Als u wilt kunt u deze pagina te sluiten en de wijzigingen die u zojuist "
|
67 |
+
"gemaakt heeft weggooien. Er worden geen wijzigingen aangebracht in deze "
|
68 |
+
"website."
|
69 |
+
|
70 |
+
#: php/admin-menus/class-edit-menu.php:303 php/class-list-table.php:324
|
71 |
+
msgid "Description"
|
72 |
+
msgstr "Omschijving"
|
73 |
+
|
74 |
+
#: php/admin-menus/class-edit-menu.php:333 php/class-list-table.php:325
|
75 |
+
msgid "Tags"
|
76 |
+
msgstr "Labels"
|
77 |
+
|
78 |
+
#: php/admin-menus/class-edit-menu.php:337
|
79 |
+
msgid "Enter a list of tags; separated by commas"
|
80 |
+
msgstr "Voer een lijst met labels in; gescheiden door komma's"
|
81 |
+
|
82 |
+
#: php/admin-menus/class-edit-menu.php:356
|
83 |
+
msgid "Run snippet everywhere"
|
84 |
+
msgstr "Fragment overal uitvoeren"
|
85 |
+
|
86 |
+
#: php/admin-menus/class-edit-menu.php:357
|
87 |
+
msgid "Only run in administration area"
|
88 |
+
msgstr "Alleen uitvoeren in het beheergedeelte"
|
89 |
+
|
90 |
+
#: php/admin-menus/class-edit-menu.php:358
|
91 |
+
msgid "Only run on site front-end"
|
92 |
+
msgstr "Alleen uitvoeren op de website"
|
93 |
+
|
94 |
+
#: php/admin-menus/class-edit-menu.php:362
|
95 |
+
msgid "Scope"
|
96 |
+
msgstr "Bereik"
|
97 |
+
|
98 |
+
#: php/admin-menus/class-edit-menu.php:382
|
99 |
+
msgid "Sharing"
|
100 |
+
msgstr "Delen"
|
101 |
+
|
102 |
+
#: php/admin-menus/class-edit-menu.php:386
|
103 |
+
msgid "Allow this snippet to be activated on individual sites on the network"
|
104 |
+
msgstr ""
|
105 |
+
"Toestaan dat dit fragment geactiveerd kan worden op andere websites in het "
|
106 |
+
"netwerk."
|
107 |
+
|
108 |
+
#: php/admin-menus/class-edit-menu.php:446
|
109 |
+
#, php-format
|
110 |
+
msgid "The snippet has been deactivated due to an error on line %d:"
|
111 |
+
msgstr "Dit fragment is gedeactiveerd vanwege een error in regel %d:"
|
112 |
+
|
113 |
+
#: php/admin-menus/class-edit-menu.php:451
|
114 |
+
msgid "The snippet has been deactivated due to an error in the code."
|
115 |
+
msgstr "Dit fragment is gedeactiveerd vanwege een error in de code."
|
116 |
+
|
117 |
+
#: php/admin-menus/class-edit-menu.php:458
|
118 |
+
msgid "An error occurred when saving the snippet."
|
119 |
+
msgstr "Er is een fout opgetreden bij het opslaan van het fragment."
|
120 |
+
|
121 |
+
#: php/admin-menus/class-edit-menu.php:463
|
122 |
+
msgid "Snippet <strong>added</strong>."
|
123 |
+
msgstr "Fragment <strong>toegevoegd</strong>."
|
124 |
+
|
125 |
+
#: php/admin-menus/class-edit-menu.php:464
|
126 |
+
msgid "Snippet <strong>updated</strong>."
|
127 |
+
msgstr "Fragment <strong>bijgewerkt</strong>."
|
128 |
+
|
129 |
+
#: php/admin-menus/class-edit-menu.php:465
|
130 |
+
msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
|
131 |
+
msgstr "Fragment <strong>toegevoegd</strong> en <strong>geactiveerd</strong>."
|
132 |
+
|
133 |
+
#: php/admin-menus/class-edit-menu.php:466
|
134 |
+
msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
|
135 |
+
msgstr "Fragment <strong>bijgewerkt</strong> en <strong>geactiveerd.</strong>"
|
136 |
+
|
137 |
+
#: php/admin-menus/class-edit-menu.php:467
|
138 |
+
msgid "Snippet <strong>updated</strong> and <strong>deactivated</strong>."
|
139 |
+
msgstr "Snippet <strong>bijgewerkt</strong> en <strong>gedeactiveerd.</strong>"
|
140 |
+
|
141 |
+
#: php/admin-menus/class-import-menu.php:15
|
142 |
+
msgid "Import"
|
143 |
+
msgstr "Importeren"
|
144 |
+
|
145 |
+
#: php/admin-menus/class-import-menu.php:16 php/views/import.php:17
|
146 |
+
msgid "Import Snippets"
|
147 |
+
msgstr "Importeren van fragmenten"
|
148 |
+
|
149 |
+
#: php/admin-menus/class-import-menu.php:78
|
150 |
+
msgid "Code Snippets"
|
151 |
+
msgstr "Codefragmenten"
|
152 |
+
|
153 |
+
#: php/admin-menus/class-import-menu.php:79
|
154 |
+
msgid "Import snippets from a code snippets export file"
|
155 |
+
msgstr "Fragmenten importeren vanuit een exportbestand"
|
156 |
+
|
157 |
+
#: php/admin-menus/class-import-menu.php:93
|
158 |
+
#, php-format
|
159 |
+
msgid ""
|
160 |
+
"Successfully imported <strong>%d</strong> snippet. <a href=\"%s\">Have fun!</"
|
161 |
+
"a>"
|
162 |
+
msgid_plural ""
|
163 |
+
"Successfully imported <strong>%d</strong> snippets. <a href=\"%s\">Have fun!"
|
164 |
+
"</a>"
|
165 |
+
msgstr[0] ""
|
166 |
+
"<strong>%d</strong> fragment met succes geïmporteerd. <a href=\"%s\">Veel "
|
167 |
+
"plezier!</a>"
|
168 |
+
msgstr[1] ""
|
169 |
+
"<strong>%d</strong> fragmenten met succes geïmporteerd. <a href=\"%s\">Veel "
|
170 |
+
"plezier!</a>"
|
171 |
+
|
172 |
+
#: php/admin-menus/class-import-menu.php:106
|
173 |
+
msgid "An error occurred when processing the import file."
|
174 |
+
msgstr "Er is een fout opgetreden bij het verwerken van het importbestand."
|
175 |
+
|
176 |
+
#: php/admin-menus/class-manage-menu.php:22 php/class-admin.php:111
|
177 |
+
msgid "Manage"
|
178 |
+
msgstr "Beheren"
|
179 |
+
|
180 |
+
#: php/admin-menus/class-manage-menu.php:23
|
181 |
+
#: php/admin-menus/class-manage-menu.php:39
|
182 |
+
#: php/admin-menus/class-manage-menu.php:40 php/class-admin.php:52
|
183 |
+
#: php/views/manage.php:19
|
184 |
+
msgid "Snippets"
|
185 |
+
msgstr "Fragmenten"
|
186 |
+
|
187 |
+
#: php/admin-menus/class-manage-menu.php:75
|
188 |
+
msgid ""
|
189 |
+
"<strong>Warning:</strong> Safe mode is active and snippets will not execute! "
|
190 |
+
"Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-"
|
191 |
+
"config.php</code> to turn off safe mode. <a href=\"https://github.com/"
|
192 |
+
"sheabunge/code-snippets/wiki/Safe-Mode\" target=\"_blank\">Help</a>"
|
193 |
+
msgstr ""
|
194 |
+
"<strong>Waarschuwing:</strong> Veilige modus is actief en fragmenten zullen "
|
195 |
+
"niet worden uitgevoerd! Verwijder de <code>CODE_SNIPPETS_SAFE_MODE</code> "
|
196 |
+
"constante uit <code>wp-config.php</code> om veilige modus uit te schakelen. "
|
197 |
+
"<a href=\"https://github.com/sheabunge/code-snippets/wiki/Safe-Mode\" target="
|
198 |
+
"\"_blank\">Help</a>"
|
199 |
+
|
200 |
+
#: php/admin-menus/class-manage-menu.php:81
|
201 |
+
msgid "Snippet <strong>activated</strong>."
|
202 |
+
msgstr "Fragment <strong>geactiveerd</strong>."
|
203 |
+
|
204 |
+
#: php/admin-menus/class-manage-menu.php:82
|
205 |
+
msgid "Selected snippets <strong>activated</strong>."
|
206 |
+
msgstr "Geselecteerde fragmenten <strong>geactiveerd</strong>."
|
207 |
+
|
208 |
+
#: php/admin-menus/class-manage-menu.php:83
|
209 |
+
msgid "Snippet <strong>deactivated</strong>."
|
210 |
+
msgstr "Fragment <strong>gedeactiveerd</strong>."
|
211 |
+
|
212 |
+
#: php/admin-menus/class-manage-menu.php:84
|
213 |
+
msgid "Selected snippets <strong>deactivated</strong>."
|
214 |
+
msgstr "Geselecteerde fragmenten <strong>gedeactiveerd</strong>."
|
215 |
+
|
216 |
+
#: php/admin-menus/class-manage-menu.php:85
|
217 |
+
msgid "Snippet <strong>deleted</strong>."
|
218 |
+
msgstr "Fragment <strong>verwijderd</strong>."
|
219 |
+
|
220 |
+
#: php/admin-menus/class-manage-menu.php:86
|
221 |
+
msgid "Selected snippets <strong>deleted</strong>."
|
222 |
+
msgstr "Geselecteerde fragmenten <strong>verwijderd</strong>."
|
223 |
+
|
224 |
+
#: php/admin-menus/class-settings-menu.php:16
|
225 |
+
#: php/admin-menus/class-settings-menu.php:36 php/views/edit.php:134
|
226 |
+
msgid "Settings"
|
227 |
+
msgstr "Instellingen"
|
228 |
+
|
229 |
+
#: php/admin-menus/class-settings-menu.php:17
|
230 |
+
msgid "Snippets Settings"
|
231 |
+
msgstr "Fragmenten instellingen"
|
232 |
+
|
233 |
+
#: php/class-admin.php:110
|
234 |
+
msgid "Manage your existing snippets"
|
235 |
+
msgstr "Beheren van uw bestaande fragmenten"
|
236 |
+
|
237 |
+
#: php/class-admin.php:141
|
238 |
+
msgid "Visit the WordPress.org plugin page"
|
239 |
+
msgstr "Bezoek de WordPress.org plugin pagina"
|
240 |
+
|
241 |
+
#: php/class-admin.php:142
|
242 |
+
msgid "About"
|
243 |
+
msgstr "Over"
|
244 |
+
|
245 |
+
#: php/class-admin.php:146
|
246 |
+
msgid "Visit the support forums"
|
247 |
+
msgstr "Bezoek de support forums"
|
248 |
+
|
249 |
+
#: php/class-admin.php:147
|
250 |
+
msgid "Support"
|
251 |
+
msgstr "Support"
|
252 |
+
|
253 |
+
#: php/class-admin.php:151
|
254 |
+
msgid "Support this plugin's development"
|
255 |
+
msgstr "Ondersteun de ontwikkeling van deze plugin"
|
256 |
+
|
257 |
+
#: php/class-admin.php:152
|
258 |
+
msgid "Donate"
|
259 |
+
msgstr "Doneren"
|
260 |
+
|
261 |
+
#: php/class-admin.php:183
|
262 |
+
msgid ""
|
263 |
+
"<strong>Have feedback on Code Snippets?</strong> Please take the time to "
|
264 |
+
"answer a short survey on how you use this plugin and what you'd like to see "
|
265 |
+
"changed or added in the future."
|
266 |
+
msgstr ""
|
267 |
+
"<strong>Heeft u feedback op Code Snippets?</strong> Vult u alstublieft de "
|
268 |
+
"korte enquête in over hoe u deze plugin gebruikt en wat u graag veranderd of "
|
269 |
+
"toegevoegd zou zien in de toekomst."
|
270 |
+
|
271 |
+
#: php/class-admin.php:187
|
272 |
+
msgid "Take the survey now"
|
273 |
+
msgstr "Deelnemen aan de enquête"
|
274 |
+
|
275 |
+
#: php/class-admin.php:190
|
276 |
+
msgid "Dismiss"
|
277 |
+
msgstr "Annuleren"
|
278 |
+
|
279 |
+
#: php/class-contextual-help.php:40
|
280 |
+
msgid "For more information:"
|
281 |
+
msgstr "Voor meer informatie:"
|
282 |
+
|
283 |
+
#: php/class-contextual-help.php:41
|
284 |
+
msgid "About Plugin"
|
285 |
+
msgstr "Over de plugin"
|
286 |
+
|
287 |
+
#: php/class-contextual-help.php:42
|
288 |
+
msgid "FAQ"
|
289 |
+
msgstr "Veelgestelde vragen"
|
290 |
+
|
291 |
+
#: php/class-contextual-help.php:43
|
292 |
+
msgid "Support Forums"
|
293 |
+
msgstr "Support forums"
|
294 |
+
|
295 |
+
#: php/class-contextual-help.php:44
|
296 |
+
msgid "Plugin Website"
|
297 |
+
msgstr "Plugin website"
|
298 |
+
|
299 |
+
#: php/class-contextual-help.php:55 php/class-contextual-help.php:81
|
300 |
+
#: php/class-contextual-help.php:114
|
301 |
+
msgid "Overview"
|
302 |
+
msgstr "Overzicht"
|
303 |
+
|
304 |
+
#: php/class-contextual-help.php:56
|
305 |
+
msgid ""
|
306 |
+
"Snippets are similar to plugins - they both extend and expand the "
|
307 |
+
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
308 |
+
"of code, and do not put as much load on your server. Here you can manage "
|
309 |
+
"your existing snippets and perform tasks on them such as activating, "
|
310 |
+
"deactivating, deleting and exporting."
|
311 |
+
msgstr ""
|
312 |
+
"Fragmenten zijn vergelijkbaar met plugins - beiden breiden de "
|
313 |
+
"functionaliteit van WordPress uit. Fragmenten zijn meer lichtgewicht, ze "
|
314 |
+
"bestaan uit slechts een paar regels code en belasten uw server minder. Hier "
|
315 |
+
"kunt u uw bestaande fragmenten beheren en taken uitvoeren zoals het "
|
316 |
+
"activeren, deactiveren, verwijderen en exporteren van fragmenten."
|
317 |
+
|
318 |
+
#: php/class-contextual-help.php:61
|
319 |
+
msgid "Safe Mode"
|
320 |
+
msgstr "Veilige modus"
|
321 |
+
|
322 |
+
#: php/class-contextual-help.php:62
|
323 |
+
msgid ""
|
324 |
+
"Be sure to check your snippets for errors before you activate them, as a "
|
325 |
+
"faulty snippet could bring your whole blog down. If your site starts doing "
|
326 |
+
"strange things, deactivate all your snippets and activate them one at a time."
|
327 |
+
msgstr ""
|
328 |
+
"Controleer uw fragmenten op fouten voordat u ze activeert. Door een fout in "
|
329 |
+
"de code kan uw website wellicht niet meer functioneren. Als u problemen "
|
330 |
+
"constateert met uw website, deactiveer dan alle fragmenten en activeer ze "
|
331 |
+
"één voor één."
|
332 |
+
|
333 |
+
#: php/class-contextual-help.php:63
|
334 |
+
msgid ""
|
335 |
+
"If something goes wrong with a snippet and you can't use WordPress, you can "
|
336 |
+
"cause all snippets to stop executing by adding "
|
337 |
+
"<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-"
|
338 |
+
"config.php</code> file. After you have deactivated the offending snippet, "
|
339 |
+
"you can turn off safe mode by removing this line or replacing <strong>true</"
|
340 |
+
"strong> with <strong>false</strong>."
|
341 |
+
msgstr ""
|
342 |
+
"Als er iets mis gaat met een fragment en u kunt geen gebruik meer maken van "
|
343 |
+
"WordPress, dan kunt u alle fragmenten laten negeren door het toevoegen van "
|
344 |
+
"<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> aan uw <code>wp-config."
|
345 |
+
"php</code> bestand. Nadat u het probleem fragment heeft gedeactiveerd kunt u "
|
346 |
+
"veilige modus weer uitschakelen door deze regel te verwijderen of door "
|
347 |
+
"<strong>true</strong> te vervangen door <strong>false</strong>."
|
348 |
+
|
349 |
+
#: php/class-contextual-help.php:68
|
350 |
+
msgid "Uninstall"
|
351 |
+
msgstr "Deïnstalleren"
|
352 |
+
|
353 |
+
#: php/class-contextual-help.php:69
|
354 |
+
#, php-format
|
355 |
+
msgid ""
|
356 |
+
"When you delete Code Snippets through the Plugins menu in WordPress it will "
|
357 |
+
"clear up the <code>%1$s</code> table and a few other bits of data stored in "
|
358 |
+
"the database. If you want to keep this data (ie: you are only temporally "
|
359 |
+
"uninstalling Code Snippets) then remove the <code>%2$s</code> folder using "
|
360 |
+
"FTP."
|
361 |
+
msgstr ""
|
362 |
+
"Wanneer u Code Snippets verwijdert via het Plugins menu in WordPress zal het "
|
363 |
+
"de <code>%1$s</code> tabel en wat andere data uit de database verwijderen. "
|
364 |
+
"Als u deze data wilt bewaren (bijvoorbeeld als u Code Snippets alleen maar "
|
365 |
+
"tijdelijk wilt deïnstalleren), verwijder dan de map <code>%2$s</code> via "
|
366 |
+
"FTP."
|
367 |
+
|
368 |
+
#: php/class-contextual-help.php:70
|
369 |
+
msgid ""
|
370 |
+
"Even if you're sure that you don't want to use Code Snippets ever again on "
|
371 |
+
"this WordPress installation, you may want to use the export feature to back "
|
372 |
+
"up your snippets."
|
373 |
+
msgstr ""
|
374 |
+
"U kunt de exportfunctie gebruiken om een back-up van uw fragmenten te maken, "
|
375 |
+
"zelfs als u zeker weet dat u nooit meer gebruik wilt maken van de Code "
|
376 |
+
"Snippets plugin in deze WordPress installatie."
|
377 |
+
|
378 |
+
#: php/class-contextual-help.php:82
|
379 |
+
msgid ""
|
380 |
+
"Snippets are similar to plugins - they both extend and expand the "
|
381 |
+
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
382 |
+
"of code, and do not put as much load on your server. Here you can add a new "
|
383 |
+
"snippet, or edit an existing one."
|
384 |
+
msgstr ""
|
385 |
+
"Fragmenten zijn vergelijkbaar met plugins - beiden breiden de "
|
386 |
+
"functionaliteit van WordPress uit. Fragmenten zijn meer lichtgewicht, ze "
|
387 |
+
"bestaan uit slechts een paar regels code en belasten uw server minder. Hier "
|
388 |
+
"kunt u nieuwe fragmenten toevoegen of bestaande fragmenten aanpassen."
|
389 |
+
|
390 |
+
#: php/class-contextual-help.php:87
|
391 |
+
msgid "Finding Snippets"
|
392 |
+
msgstr "Fragmenten vinden"
|
393 |
+
|
394 |
+
#: php/class-contextual-help.php:88
|
395 |
+
msgid ""
|
396 |
+
"Here are some links to websites which host a large number of snippets that "
|
397 |
+
"you can add to your site.\n"
|
398 |
+
"\t\t\t\t<ul>\n"
|
399 |
+
"\t\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
|
400 |
+
"\">WP-Snippets</a></li>\n"
|
401 |
+
"\t\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
|
402 |
+
"a></li>\n"
|
403 |
+
"\t\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
|
404 |
+
"\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
|
405 |
+
"\t\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
|
406 |
+
"\t\t\t\t</ul>"
|
407 |
+
msgstr ""
|
408 |
+
"Hier zijn enkele links naar websites die fragmenten bevatten om op uw eigen "
|
409 |
+
"website te gebruiken.\n"
|
410 |
+
"\t\t\t\t<ul>\n"
|
411 |
+
"\t\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
|
412 |
+
"\">WP-Snippets</a></li>\n"
|
413 |
+
"\t\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
|
414 |
+
"a></li>\n"
|
415 |
+
"\t\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
|
416 |
+
"\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
|
417 |
+
"\t\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
|
418 |
+
"\t\t\t\t</ul>"
|
419 |
+
|
420 |
+
#: php/class-contextual-help.php:95
|
421 |
+
msgid ""
|
422 |
+
"More places to find snippets, as well as a selection of example snippets, "
|
423 |
+
"can be found in the <a href=\"https://github.com/sheabunge/code-snippets/"
|
424 |
+
"wiki/Finding-snippets\">plugin documentation</a>"
|
425 |
+
msgstr ""
|
426 |
+
"Websites met fragmenten en voorbeelden van fragmenten kunt u vinden in de <a "
|
427 |
+
"href=\"https://github.com/sheabunge/code-snippets/wiki/Finding-snippets"
|
428 |
+
"\">plugin documentatie</a>"
|
429 |
+
|
430 |
+
#: php/class-contextual-help.php:100
|
431 |
+
msgid "Adding Snippets"
|
432 |
+
msgstr "Fragmenten toevoegen"
|
433 |
+
|
434 |
+
#: php/class-contextual-help.php:101
|
435 |
+
msgid ""
|
436 |
+
"You need to fill out the name and code fields for your snippet to be added. "
|
437 |
+
"While the description field will add more information about how your snippet "
|
438 |
+
"works, what is does and where you found it, it is completely optional."
|
439 |
+
msgstr ""
|
440 |
+
"De naam en code voor een fragment zijn verplichte velden. In de omschrijving "
|
441 |
+
"kunt u aangeven wat het fragment doet of waar u het gevonden heeft, maar dit "
|
442 |
+
"veld is optioneel."
|
443 |
+
|
444 |
+
#: php/class-contextual-help.php:102
|
445 |
+
msgid ""
|
446 |
+
"Please be sure to check that your snippet is valid PHP code and will not "
|
447 |
+
"produce errors before adding it through this page. While doing so will not "
|
448 |
+
"become active straight away, it will help to minimise the chance of a faulty "
|
449 |
+
"snippet becoming active on your site."
|
450 |
+
msgstr ""
|
451 |
+
"Controleert u alstublieft of uw fragment geldige PHP code bevat en dat de "
|
452 |
+
"code geen errors genereert. Door dit te doen verkleint u de kans dat er "
|
453 |
+
"corrupte fragmenten actief worden op uw website."
|
454 |
+
|
455 |
+
#: php/class-contextual-help.php:115
|
456 |
+
msgid ""
|
457 |
+
"Snippets are similar to plugins - they both extend and expand the "
|
458 |
+
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
459 |
+
"of code, and do not put as much load on your server. Here you can load "
|
460 |
+
"snippets from a Code Snippets (.xml) import file into the database with your "
|
461 |
+
"existing snippets."
|
462 |
+
msgstr ""
|
463 |
+
"Fragmenten zijn vergelijkbaar met plugins - beiden breiden de "
|
464 |
+
"functionaliteit van WordPress uit. Fragmenten zijn meer lichtgewicht, ze "
|
465 |
+
"bestaan uit slechts een paar regels code en belasten uw server minder. Hier "
|
466 |
+
"kunt u fragmenten importeren uit Code Snippet (.xml) bestanden."
|
467 |
+
|
468 |
+
#: php/class-contextual-help.php:120
|
469 |
+
msgid "Importing"
|
470 |
+
msgstr "Bezig met importeren"
|
471 |
+
|
472 |
+
#: php/class-contextual-help.php:121
|
473 |
+
msgid ""
|
474 |
+
"You can load your snippets from a code snippets (.xml) export file using "
|
475 |
+
"this page."
|
476 |
+
msgstr ""
|
477 |
+
"Op deze pagina kunt u uw fragmenten inladen vanuit een (.xml) export bestand."
|
478 |
+
|
479 |
+
#: php/class-contextual-help.php:122
|
480 |
+
#, php-format
|
481 |
+
msgid ""
|
482 |
+
"Snippets will be added to the database along with your existing snippets. "
|
483 |
+
"Regardless of whether the snippets were active on the previous site, "
|
484 |
+
"imported snippets are always inactive until activated using the <a href=\"%s"
|
485 |
+
"\">Manage Snippets</a> page.</p>"
|
486 |
+
msgstr ""
|
487 |
+
"Fragmenten zullen aan de database worden toegevoegd tezamen met uw bestaande "
|
488 |
+
"fragmenten. Ongeacht of de fragmenten actief waren op de vorige website, "
|
489 |
+
"geïmporteerde fragmenten zijn altijd inactief totdat ze geactiveerd worden "
|
490 |
+
"op de <a href=\"%s\">fragmenten beheerpagina</a>.</p>"
|
491 |
+
|
492 |
+
#: php/class-contextual-help.php:127
|
493 |
+
msgid "Exporting"
|
494 |
+
msgstr "Bezig met exporteren"
|
495 |
+
|
496 |
+
#: php/class-contextual-help.php:128
|
497 |
+
#, php-format
|
498 |
+
msgid ""
|
499 |
+
"You can save your snippets to a Code Snippets (.xml) export file using the "
|
500 |
+
"<a href=\"%s\">Manage Snippets</a> page."
|
501 |
+
msgstr ""
|
502 |
+
"U kunt fragmenten exporteren naar een Code Snippets (.xml) bestand op de <a "
|
503 |
+
"href=\"%s\">fragmenten beheerpagina</a>."
|
504 |
+
|
505 |
+
#: php/class-export.php:87
|
506 |
+
msgid ""
|
507 |
+
"This is a code snippets export file generated by the Code Snippets WordPress "
|
508 |
+
"plugin."
|
509 |
+
msgstr ""
|
510 |
+
"Dit is een exportbestand van een fragment gegenereerd door de Code Snippets "
|
511 |
+
"WordPress plugin."
|
512 |
+
|
513 |
+
#: php/class-export.php:89
|
514 |
+
msgid "To import these snippets a WordPress site follow these steps:"
|
515 |
+
msgstr ""
|
516 |
+
"Om deze fragmenten te importeren in een WordPress website gaat u als volgt "
|
517 |
+
"te werk:"
|
518 |
+
|
519 |
+
#: php/class-export.php:90
|
520 |
+
msgid "1. Log in to that site as an administrator."
|
521 |
+
msgstr "1. Log in als beheerder op de website."
|
522 |
+
|
523 |
+
#: php/class-export.php:91
|
524 |
+
msgid ""
|
525 |
+
"2. Install the Code Snippets plugin using the directions provided at the "
|
526 |
+
"above link."
|
527 |
+
msgstr ""
|
528 |
+
"2. Installeer de Code Snippets plugin volgens de instructies beschreven in "
|
529 |
+
"de bovenstaande link."
|
530 |
+
|
531 |
+
#: php/class-export.php:92
|
532 |
+
msgid "3. Go to 'Tools: Import' in the WordPress admin panel."
|
533 |
+
msgstr "3. Ga naar 'Extra: Importeren' in het WordPress beheergedeelte."
|
534 |
+
|
535 |
+
#: php/class-export.php:93
|
536 |
+
msgid "4. Click on the \"Code Snippets\" importer in the list"
|
537 |
+
msgstr "4. Klik op de \"Code Snippets\" link."
|
538 |
+
|
539 |
+
#: php/class-export.php:94
|
540 |
+
msgid "5. Upload this file using the form provided on that page."
|
541 |
+
msgstr "5. Upload dit bestand met behulp van het formulier op die pagina."
|
542 |
+
|
543 |
+
#: php/class-export.php:95
|
544 |
+
msgid ""
|
545 |
+
"6. Code Snippets will then import all of the snippets and associated "
|
546 |
+
"information contained in this file into your site."
|
547 |
+
msgstr ""
|
548 |
+
"6. Code Snippets zal vervolgens alle fragmenten en de bijbehorende gegevens "
|
549 |
+
"in dit bestand importeren in uw website."
|
550 |
+
|
551 |
+
#: php/class-export.php:96
|
552 |
+
msgid ""
|
553 |
+
"7. You will then have to visit the 'Snippets: Manage' admin menu and "
|
554 |
+
"activate desired snippets."
|
555 |
+
msgstr ""
|
556 |
+
"7. Daarna kunt u via het 'Fragmenten: Beheren' menu de gewenste fragmenten "
|
557 |
+
"activeren."
|
558 |
+
|
559 |
+
#: php/class-list-table.php:58
|
560 |
+
msgid "Snippets per page"
|
561 |
+
msgstr "Fragmenten per pagina"
|
562 |
+
|
563 |
+
#: php/class-list-table.php:117 php/class-list-table.php:370
|
564 |
+
msgid "Network Deactivate"
|
565 |
+
msgstr "Netwerk deactiveren"
|
566 |
+
|
567 |
+
#: php/class-list-table.php:117 php/class-list-table.php:180
|
568 |
+
#: php/class-list-table.php:370
|
569 |
+
msgid "Deactivate"
|
570 |
+
msgstr "Deactiveren"
|
571 |
+
|
572 |
+
#: php/class-list-table.php:126 php/class-list-table.php:369
|
573 |
+
msgid "Network Activate"
|
574 |
+
msgstr "Netwerk-wijd activeren"
|
575 |
+
|
576 |
+
#: php/class-list-table.php:126 php/class-list-table.php:180
|
577 |
+
#: php/class-list-table.php:369
|
578 |
+
msgid "Activate"
|
579 |
+
msgstr "Activeren"
|
580 |
+
|
581 |
+
#: php/class-list-table.php:136 php/class-list-table.php:196
|
582 |
+
msgid "Edit"
|
583 |
+
msgstr "Bewerken"
|
584 |
+
|
585 |
+
#: php/class-list-table.php:142 php/class-list-table.php:202
|
586 |
+
#: php/class-list-table.php:371 php/views/edit.php:111
|
587 |
+
msgid "Export"
|
588 |
+
msgstr "Exporteren"
|
589 |
+
|
590 |
+
#: php/class-list-table.php:151 php/class-list-table.php:214
|
591 |
+
#: php/class-list-table.php:372 php/views/edit.php:123
|
592 |
+
msgid "Delete"
|
593 |
+
msgstr "Verwijderen"
|
594 |
+
|
595 |
+
#: php/class-list-table.php:158 php/class-list-table.php:224
|
596 |
+
msgid ""
|
597 |
+
"You are about to permanently delete the selected item.\n"
|
598 |
+
"\t\t\t\t\t'Cancel' to stop, 'OK' to delete."
|
599 |
+
msgstr ""
|
600 |
+
"U staat op het punt om het geselecteerde item permanent te verwijderen.\n"
|
601 |
+
"\t\t\t\t\t'Annuleren' om te stoppen, 'OK' om te verwijderen."
|
602 |
+
|
603 |
+
#: php/class-list-table.php:244
|
604 |
+
#, php-format
|
605 |
+
msgid "Untitled #%d"
|
606 |
+
msgstr "Naamloos #%d"
|
607 |
+
|
608 |
+
#: php/class-list-table.php:261
|
609 |
+
msgid "Shared on Network"
|
610 |
+
msgstr "Gedeeld op het netwerk"
|
611 |
+
|
612 |
+
#: php/class-list-table.php:322
|
613 |
+
msgid "Name"
|
614 |
+
msgstr "Naam"
|
615 |
+
|
616 |
+
#: php/class-list-table.php:323
|
617 |
+
msgid "ID"
|
618 |
+
msgstr "ID"
|
619 |
+
|
620 |
+
#: php/class-list-table.php:373
|
621 |
+
msgid "Export to PHP"
|
622 |
+
msgstr "Exporteren naar PHP"
|
623 |
+
|
624 |
+
#: php/class-list-table.php:411
|
625 |
+
#, php-format
|
626 |
+
msgid "All <span class=\"count\">(%s)</span>"
|
627 |
+
msgid_plural "All <span class=\"count\">(%s)</span>"
|
628 |
+
msgstr[0] "Alles <span class=\"count\">(%s)</span>"
|
629 |
+
msgstr[1] "Alles <span class=\"count\">(%s)</span>"
|
630 |
+
|
631 |
+
#: php/class-list-table.php:412
|
632 |
+
#, php-format
|
633 |
+
msgid "Active <span class=\"count\">(%s)</span>"
|
634 |
+
msgid_plural "Active <span class=\"count\">(%s)</span>"
|
635 |
+
msgstr[0] "Actief <span class=\"count\">(%s)</span>"
|
636 |
+
msgstr[1] "Actief <span class=\"count\">(%s)</span>"
|
637 |
+
|
638 |
+
#: php/class-list-table.php:413
|
639 |
+
#, php-format
|
640 |
+
msgid "Inactive <span class=\"count\">(%s)</span>"
|
641 |
+
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
642 |
+
msgstr[0] "Inactief <span class=\"count\">(%s)</span>"
|
643 |
+
msgstr[1] "Inactief <span class=\"count\">(%s)</span>"
|
644 |
+
|
645 |
+
#: php/class-list-table.php:414
|
646 |
+
#, php-format
|
647 |
+
msgid "Recently Active <span class=\"count\">(%s)</span>"
|
648 |
+
msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
|
649 |
+
msgstr[0] "Recentelijk actief <span class=\"count\">(%s)</span>"
|
650 |
+
msgstr[1] "Recentelijk actief <span class=\"count\">(%s)</span>"
|
651 |
+
|
652 |
+
#: php/class-list-table.php:477
|
653 |
+
msgid "Show all tags"
|
654 |
+
msgstr "Alle labels weergeven"
|
655 |
+
|
656 |
+
#: php/class-list-table.php:491
|
657 |
+
msgid "Filter"
|
658 |
+
msgstr "Filteren"
|
659 |
+
|
660 |
+
#: php/class-list-table.php:499
|
661 |
+
msgid "Clear List"
|
662 |
+
msgstr "Lijst leegmaken"
|
663 |
+
|
664 |
+
#: php/class-list-table.php:686
|
665 |
+
#, php-format
|
666 |
+
msgid ""
|
667 |
+
"You do not appear to have any snippets available at this time. <a href=\"%s"
|
668 |
+
"\">Add New→</a>"
|
669 |
+
msgstr ""
|
670 |
+
"U heeft op het moment geen fragmenten beschikbaar. <a href=\"%s\">Voeg een "
|
671 |
+
"nieuwe toe→</a>"
|
672 |
+
|
673 |
+
#: php/class-list-table.php:959
|
674 |
+
msgid "Search results"
|
675 |
+
msgstr "Zoekresultaten"
|
676 |
+
|
677 |
+
#: php/class-list-table.php:962
|
678 |
+
#, php-format
|
679 |
+
msgid " for “%s”"
|
680 |
+
msgstr " voor “ %s ”"
|
681 |
+
|
682 |
+
#: php/class-list-table.php:966
|
683 |
+
#, php-format
|
684 |
+
msgid " in tag “%s”"
|
685 |
+
msgstr " in label “%s”"
|
686 |
+
|
687 |
+
#: php/class-list-table.php:974
|
688 |
+
msgid "Clear Filters"
|
689 |
+
msgstr "Filters wissen"
|
690 |
+
|
691 |
+
#: php/settings/settings-fields.php:42
|
692 |
+
msgid "Activate by Default"
|
693 |
+
msgstr "Standaard activeren"
|
694 |
+
|
695 |
+
#: php/settings/settings-fields.php:44
|
696 |
+
msgid ""
|
697 |
+
"Make the 'Save and Activate' button the default action when saving a snippet."
|
698 |
+
msgstr ""
|
699 |
+
"Maak de 'Opslaan en activeren' knop de standaardactie bij het opslaan van "
|
700 |
+
"een fragment."
|
701 |
+
|
702 |
+
#: php/settings/settings-fields.php:49
|
703 |
+
msgid "Enable Scope Selector"
|
704 |
+
msgstr "Optie om bereik te kiezen inschakelen"
|
705 |
+
|
706 |
+
#: php/settings/settings-fields.php:51
|
707 |
+
msgid "Enable the scope selector when editing a snippet"
|
708 |
+
msgstr ""
|
709 |
+
"Optie om bereik te kiezen inschakelen bij het bewerken van een fragment"
|
710 |
+
|
711 |
+
#: php/settings/settings-fields.php:56
|
712 |
+
msgid "Enable Snippet Tags"
|
713 |
+
msgstr "Labels voor fragmenten inschakelen"
|
714 |
+
|
715 |
+
#: php/settings/settings-fields.php:58
|
716 |
+
msgid "Show snippet tags on admin pages"
|
717 |
+
msgstr "Toon labels op beheerpagina's"
|
718 |
+
|
719 |
+
#: php/settings/settings-fields.php:63
|
720 |
+
msgid "Enable Snippet Descriptions"
|
721 |
+
msgstr "Omschrijving voor fragmenten inschakelen"
|
722 |
+
|
723 |
+
#: php/settings/settings-fields.php:65
|
724 |
+
msgid "Show snippet descriptions on admin pages"
|
725 |
+
msgstr "Toon beschrijvingen op beheerpagina's"
|
726 |
+
|
727 |
+
#: php/settings/settings-fields.php:69
|
728 |
+
msgid "Disable shortcode syntax highlighter"
|
729 |
+
msgstr "Shortcode syntaxis highlighter uitschakelen"
|
730 |
+
|
731 |
+
#: php/settings/settings-fields.php:71
|
732 |
+
msgid ""
|
733 |
+
"Disable the syntax highlighting for the [code_snippet] shortcode on the "
|
734 |
+
"front-end"
|
735 |
+
msgstr ""
|
736 |
+
"Schakel de syntaxis highlighter uit op de website voor de [code_snippet] "
|
737 |
+
"shortcode"
|
738 |
+
|
739 |
+
#: php/settings/settings-fields.php:80
|
740 |
+
msgid "Row Height"
|
741 |
+
msgstr "Rijhoogte"
|
742 |
+
|
743 |
+
#: php/settings/settings-fields.php:82
|
744 |
+
msgid "rows"
|
745 |
+
msgstr "rijen"
|
746 |
+
|
747 |
+
#: php/settings/settings-fields.php:88
|
748 |
+
msgid "Use Full Editor"
|
749 |
+
msgstr "Gebruik volledige editor"
|
750 |
+
|
751 |
+
#: php/settings/settings-fields.php:90
|
752 |
+
msgid "Enable all features of the visual editor"
|
753 |
+
msgstr "Alle functies van de visuele editor inschakelen"
|
754 |
+
|
755 |
+
#: php/settings/settings-fields.php:95
|
756 |
+
msgid "Media Buttons"
|
757 |
+
msgstr "Mediaknoppen"
|
758 |
+
|
759 |
+
#: php/settings/settings-fields.php:97
|
760 |
+
msgid "Enable the add media buttons"
|
761 |
+
msgstr "Schakel de knoppen in om media toe te voegen"
|
762 |
+
|
763 |
+
#: php/settings/settings-fields.php:106
|
764 |
+
msgid "Theme"
|
765 |
+
msgstr "Thema"
|
766 |
+
|
767 |
+
#: php/settings/settings-fields.php:113
|
768 |
+
msgid "Indent With Tabs"
|
769 |
+
msgstr "Inspringen met tabs"
|
770 |
+
|
771 |
+
#: php/settings/settings-fields.php:115
|
772 |
+
msgid "Use hard tabs (not spaces) for indentation."
|
773 |
+
msgstr "Echte tabs (geen spaties) gebruiken voor de inspringing."
|
774 |
+
|
775 |
+
#: php/settings/settings-fields.php:121
|
776 |
+
msgid "Tab Size"
|
777 |
+
msgstr "Tabgrootte"
|
778 |
+
|
779 |
+
#: php/settings/settings-fields.php:123
|
780 |
+
msgid "The width of a tab character."
|
781 |
+
msgstr "De breedte van een tabteken."
|
782 |
+
|
783 |
+
#: php/settings/settings-fields.php:130
|
784 |
+
msgid "Indent Unit"
|
785 |
+
msgstr "Tekst inspring eenheid"
|
786 |
+
|
787 |
+
#: php/settings/settings-fields.php:132
|
788 |
+
msgid "How many spaces a block should be indented."
|
789 |
+
msgstr "Hoeveel spaties moet een blok worden ingesprongen."
|
790 |
+
|
791 |
+
#: php/settings/settings-fields.php:139
|
792 |
+
msgid "Wrap Lines"
|
793 |
+
msgstr "Terugloop lange tekstregels"
|
794 |
+
|
795 |
+
#: php/settings/settings-fields.php:141
|
796 |
+
msgid "Whether the editor should scroll or wrap for long lines."
|
797 |
+
msgstr ""
|
798 |
+
"Moet de editor schuifbalken tonen bij lange regels of lange regels afbreken."
|
799 |
+
|
800 |
+
#: php/settings/settings-fields.php:147
|
801 |
+
msgid "Line Numbers"
|
802 |
+
msgstr "Regelnummers"
|
803 |
+
|
804 |
+
#: php/settings/settings-fields.php:149
|
805 |
+
msgid "Show line numbers to the left of the editor."
|
806 |
+
msgstr "Toon regelnummers aan de linkerzijde van de editor."
|
807 |
+
|
808 |
+
#: php/settings/settings-fields.php:155
|
809 |
+
msgid "Auto Close Brackets"
|
810 |
+
msgstr "Sluit haakjes automatisch"
|
811 |
+
|
812 |
+
#: php/settings/settings-fields.php:157
|
813 |
+
msgid "Auto-close brackets and quotes when typed."
|
814 |
+
msgstr "Sluit haakjes en aanhalingstekens automatisch tijdens het typen."
|
815 |
+
|
816 |
+
#: php/settings/settings-fields.php:163
|
817 |
+
msgid "Highlight Selection Matches"
|
818 |
+
msgstr "Markeer selectie overeenkomsten"
|
819 |
+
|
820 |
+
#: php/settings/settings-fields.php:164
|
821 |
+
msgid "Highlight all instances of a currently selected word."
|
822 |
+
msgstr "Markeer alle instanties van het huidig geselecteerde woord."
|
823 |
+
|
824 |
+
#: php/settings/settings.php:68
|
825 |
+
msgid "General"
|
826 |
+
msgstr "Algemeen"
|
827 |
+
|
828 |
+
#: php/settings/settings.php:69
|
829 |
+
msgid "Description Editor"
|
830 |
+
msgstr "Omschrijving editor"
|
831 |
+
|
832 |
+
#: php/settings/settings.php:70
|
833 |
+
msgid "Code Editor"
|
834 |
+
msgstr "Code editor"
|
835 |
+
|
836 |
+
#: php/settings/settings.php:119
|
837 |
+
msgid "Editor Preview"
|
838 |
+
msgstr "Editor voorbeeld"
|
839 |
+
|
840 |
+
#: php/settings/settings.php:165
|
841 |
+
msgid "Settings saved."
|
842 |
+
msgstr "De instellingen zijn opgeslagen."
|
843 |
+
|
844 |
+
#: php/views/edit.php:28 php/views/manage.php:22
|
845 |
+
msgctxt "snippet"
|
846 |
+
msgid "Add New"
|
847 |
+
msgstr "Nieuwe toevoegen"
|
848 |
+
|
849 |
+
#: php/views/edit.php:48 php/views/edit.php:49
|
850 |
+
msgid "Name (short title)"
|
851 |
+
msgstr "Naam (korte titel)"
|
852 |
+
|
853 |
+
#: php/views/edit.php:54
|
854 |
+
msgid "Code"
|
855 |
+
msgstr "Code"
|
856 |
+
|
857 |
+
#: php/views/edit.php:81 php/views/edit.php:95
|
858 |
+
msgid "Save Changes and Activate"
|
859 |
+
msgstr "Wijzigingen opslaan en activeren"
|
860 |
+
|
861 |
+
#: php/views/edit.php:101
|
862 |
+
msgid "Save Changes and Deactivate"
|
863 |
+
msgstr "Wijzigingen opslaan en deactiveren"
|
864 |
+
|
865 |
+
#: php/views/edit.php:118
|
866 |
+
msgid ""
|
867 |
+
"You are about to permanently delete this snippet.\n"
|
868 |
+
"'Cancel' to stop, 'OK' to delete."
|
869 |
+
msgstr ""
|
870 |
+
"U staat op het punt om dit fragment definitief te verwijderen.\n"
|
871 |
+
"'Annuleren' om te stoppen, 'OK' om te verwijderen."
|
872 |
+
|
873 |
+
#: php/views/import.php:21
|
874 |
+
msgid ""
|
875 |
+
"Howdy! Upload your Code Snippets export file and we’ll import the "
|
876 |
+
"snippets to this site."
|
877 |
+
msgstr ""
|
878 |
+
"Hallo! Upload uw Code Snippets export bestand en wij importeren de "
|
879 |
+
"fragmenten in deze website."
|
880 |
+
|
881 |
+
#: php/views/import.php:23
|
882 |
+
#, php-format
|
883 |
+
msgid ""
|
884 |
+
"You will need to go to the <a href=\"%s\">Manage Snippets</a> page to "
|
885 |
+
"activate the imported snippets."
|
886 |
+
msgstr ""
|
887 |
+
"U zult naar de <a href=\"%s\">fragmenten beheer</a> pagina moeten gaan om de "
|
888 |
+
"geïmporteerde fragmenten te activeren."
|
889 |
+
|
890 |
+
#: php/views/import.php:25
|
891 |
+
msgid ""
|
892 |
+
"Choose a Code Snippets (.xml) file to upload, then click Upload file and "
|
893 |
+
"import."
|
894 |
+
msgstr ""
|
895 |
+
"Kies een Code Snippets (.xml) bestand om te uploaden, klik daarna op Upload "
|
896 |
+
"bestand en importeer."
|
897 |
+
|
898 |
+
#: php/views/import.php:32
|
899 |
+
msgid "Choose a file from your computer:"
|
900 |
+
msgstr "Kies een bestand van uw computer:"
|
901 |
+
|
902 |
+
#: php/views/import.php:33
|
903 |
+
msgid "(Maximum size: 8MB)"
|
904 |
+
msgstr "(Maximale grootte: 8MB)"
|
905 |
+
|
906 |
+
#: php/views/import.php:39
|
907 |
+
msgid "Upload file and import"
|
908 |
+
msgstr "Upload en importeer bestand"
|
909 |
+
|
910 |
+
#: php/views/manage.php:34
|
911 |
+
msgid "Search Installed Snippets"
|
912 |
+
msgstr "Zoek geïnstalleerde fragmenten"
|
languages/code-snippets-ru_RU.mo
CHANGED
Binary file
|
languages/code-snippets-ru_RU.po
CHANGED
@@ -480,7 +480,7 @@ msgid ""
|
|
480 |
"Snippets are similar to plugins - they both extend and expand the "
|
481 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
482 |
"of code, and do not put as much load on your server. Here you can manage "
|
483 |
-
"your existing snippets and
|
484 |
"deactivating, deleting and exporting."
|
485 |
msgstr ""
|
486 |
"Сниппеты похожи на плагины — и те и другие расширяют функциональность "
|
480 |
"Snippets are similar to plugins - they both extend and expand the "
|
481 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
482 |
"of code, and do not put as much load on your server. Here you can manage "
|
483 |
+
"your existing snippets and perform tasks on them such as activating, "
|
484 |
"deactivating, deleting and exporting."
|
485 |
msgstr ""
|
486 |
"Сниппеты похожи на плагины — и те и другие расширяют функциональность "
|
languages/code-snippets-sk_SK.mo
CHANGED
Binary file
|
languages/code-snippets-sk_SK.po
CHANGED
@@ -108,7 +108,7 @@ msgid ""
|
|
108 |
"Snippets are similar to plugins - they both extend and expand the "
|
109 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
110 |
"of code, and do not put as much load on your server. Here you can manage "
|
111 |
-
"your existing snippets and
|
112 |
"deactivating, deleting and exporting."
|
113 |
msgstr ""
|
114 |
"Snippety sa podobajú modulom- oba rozširujú a prehlbujú funkčnosť WordPress. "
|
108 |
"Snippets are similar to plugins - they both extend and expand the "
|
109 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
110 |
"of code, and do not put as much load on your server. Here you can manage "
|
111 |
+
"your existing snippets and perform tasks on them such as activating, "
|
112 |
"deactivating, deleting and exporting."
|
113 |
msgstr ""
|
114 |
"Snippety sa podobajú modulom- oba rozširujú a prehlbujú funkčnosť WordPress. "
|
languages/code-snippets-sr_RS.mo
CHANGED
Binary file
|
languages/code-snippets-sr_RS.po
CHANGED
@@ -339,7 +339,7 @@ msgid ""
|
|
339 |
"Snippets are similar to plugins - they both extend and expand the "
|
340 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
341 |
"of code, and do not put as much load on your server. Here you can manage "
|
342 |
-
"your existing snippets and
|
343 |
"deactivating, deleting and exporting."
|
344 |
msgstr ""
|
345 |
"Isečci liče na plugin-ove - i jedni i drugi proširuju funkcije WordPress-a. "
|
339 |
"Snippets are similar to plugins - they both extend and expand the "
|
340 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
341 |
"of code, and do not put as much load on your server. Here you can manage "
|
342 |
+
"your existing snippets and perform tasks on them such as activating, "
|
343 |
"deactivating, deleting and exporting."
|
344 |
msgstr ""
|
345 |
"Isečci liče na plugin-ove - i jedni i drugi proširuju funkcije WordPress-a. "
|
languages/code-snippets-zh_CN.po
CHANGED
@@ -323,7 +323,7 @@ msgid ""
|
|
323 |
"Snippets are similar to plugins - they both extend and expand the "
|
324 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
325 |
"of code, and do not put as much load on your server. Here you can manage "
|
326 |
-
"your existing snippets and
|
327 |
"deactivating, deleting and exporting."
|
328 |
msgstr ""
|
329 |
|
323 |
"Snippets are similar to plugins - they both extend and expand the "
|
324 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
325 |
"of code, and do not put as much load on your server. Here you can manage "
|
326 |
+
"your existing snippets and perform tasks on them such as activating, "
|
327 |
"deactivating, deleting and exporting."
|
328 |
msgstr ""
|
329 |
|
languages/code-snippets.po
CHANGED
@@ -283,7 +283,7 @@ msgid "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_b
|
|
283 |
msgstr ""
|
284 |
|
285 |
#: includes/help/manage.php:7
|
286 |
-
msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can manage your existing snippets and
|
287 |
msgstr ""
|
288 |
|
289 |
#: includes/help/manage.php:12
|
@@ -416,4 +416,4 @@ msgstr ""
|
|
416 |
|
417 |
#: includes/admin/single.php:74
|
418 |
msgid "Save Changes & Activate"
|
419 |
-
msgstr ""
|
283 |
msgstr ""
|
284 |
|
285 |
#: includes/help/manage.php:7
|
286 |
+
msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can manage your existing snippets and perform tasks on them such as activating, deactivating, deleting and exporting."
|
287 |
msgstr ""
|
288 |
|
289 |
#: includes/help/manage.php:12
|
416 |
|
417 |
#: includes/admin/single.php:74
|
418 |
msgid "Save Changes & Activate"
|
419 |
+
msgstr ""
|
languages/code-snippets.pot
CHANGED
@@ -6,9 +6,9 @@
|
|
6 |
#, fuzzy
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
-
"Project-Id-Version: code-snippets 2.
|
10 |
"Report-Msgid-Bugs-To: \n"
|
11 |
-
"POT-Creation-Date: 2016-
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -27,11 +27,12 @@ msgstr ""
|
|
27 |
msgid "Edit Snippet"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: php/admin-menus/class-edit-menu.php:
|
|
|
31 |
msgid "Add New"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: php/admin-menus/class-edit-menu.php:
|
35 |
msgid "Add New Snippet"
|
36 |
msgstr ""
|
37 |
|
@@ -67,72 +68,73 @@ msgstr ""
|
|
67 |
msgid "Description"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: php/admin-menus/class-edit-menu.php:
|
71 |
msgid "Tags"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: php/admin-menus/class-edit-menu.php:
|
75 |
msgid "Enter a list of tags; separated by commas"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: php/admin-menus/class-edit-menu.php:
|
79 |
msgid "Run snippet everywhere"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: php/admin-menus/class-edit-menu.php:
|
83 |
msgid "Only run in administration area"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: php/admin-menus/class-edit-menu.php:
|
87 |
msgid "Only run on site front-end"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: php/admin-menus/class-edit-menu.php:
|
91 |
msgid "Scope"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: php/admin-menus/class-edit-menu.php:
|
95 |
msgid "Sharing"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: php/admin-menus/class-edit-menu.php:
|
99 |
msgid "Allow this snippet to be activated on individual sites on the network"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: php/admin-menus/class-edit-menu.php:
|
103 |
#, php-format
|
104 |
msgid "The snippet has been deactivated due to an error on line %d:"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: php/admin-menus/class-edit-menu.php:
|
108 |
msgid "The snippet has been deactivated due to an error in the code."
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: php/admin-menus/class-edit-menu.php:
|
112 |
msgid "An error occurred when saving the snippet."
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: php/admin-menus/class-edit-menu.php:
|
116 |
msgid "Snippet <strong>added</strong>."
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: php/admin-menus/class-edit-menu.php:
|
120 |
msgid "Snippet <strong>updated</strong>."
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: php/admin-menus/class-edit-menu.php:
|
124 |
msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: php/admin-menus/class-edit-menu.php:
|
128 |
msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: php/admin-menus/class-edit-menu.php:
|
132 |
msgid "Snippet <strong>updated</strong> and <strong>deactivated</strong>."
|
133 |
msgstr ""
|
134 |
|
135 |
#: php/admin-menus/class-import-menu.php:15
|
|
|
136 |
msgid "Import"
|
137 |
msgstr ""
|
138 |
|
@@ -163,14 +165,19 @@ msgstr[1] ""
|
|
163 |
msgid "An error occurred when processing the import file."
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: php/admin-menus/class-manage-menu.php:22
|
167 |
-
|
|
|
168 |
msgstr ""
|
169 |
|
170 |
#: php/admin-menus/class-manage-menu.php:23
|
171 |
-
#: php/admin-menus/class-manage-menu.php:39
|
172 |
-
#: php/
|
173 |
-
|
|
|
|
|
|
|
|
|
174 |
msgid "Snippets"
|
175 |
msgstr ""
|
176 |
|
@@ -207,7 +214,7 @@ msgid "Selected snippets <strong>deleted</strong>."
|
|
207 |
msgstr ""
|
208 |
|
209 |
#: php/admin-menus/class-settings-menu.php:16
|
210 |
-
|
211 |
msgid "Settings"
|
212 |
msgstr ""
|
213 |
|
@@ -215,6 +222,10 @@ msgstr ""
|
|
215 |
msgid "Snippets Settings"
|
216 |
msgstr ""
|
217 |
|
|
|
|
|
|
|
|
|
218 |
#: php/class-admin.php:110
|
219 |
msgid "Manage your existing snippets"
|
220 |
msgstr ""
|
@@ -288,7 +299,7 @@ msgid ""
|
|
288 |
"Snippets are similar to plugins - they both extend and expand the "
|
289 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
290 |
"of code, and do not put as much load on your server. Here you can manage "
|
291 |
-
"your existing snippets and
|
292 |
"deactivating, deleting and exporting."
|
293 |
msgstr ""
|
294 |
|
@@ -412,7 +423,7 @@ msgid ""
|
|
412 |
"Snippets will be added to the database along with your existing snippets. "
|
413 |
"Regardless of whether the snippets were active on the previous site, "
|
414 |
"imported snippets are always inactive until activated using the <a href=\"%s"
|
415 |
-
"\">
|
416 |
msgstr ""
|
417 |
|
418 |
#: php/class-contextual-help.php:127
|
@@ -466,7 +477,7 @@ msgstr ""
|
|
466 |
|
467 |
#: php/class-export.php:96
|
468 |
msgid ""
|
469 |
-
"7. You will then have to visit the 'Snippets:
|
470 |
"activate desired snippets."
|
471 |
msgstr ""
|
472 |
|
@@ -502,14 +513,17 @@ msgid "Export"
|
|
502 |
msgstr ""
|
503 |
|
504 |
#: php/class-list-table.php:151 php/class-list-table.php:214
|
505 |
-
#: php/class-list-table.php:372 php/views/edit.php:
|
506 |
msgid "Delete"
|
507 |
msgstr ""
|
508 |
|
509 |
#: php/class-list-table.php:158 php/class-list-table.php:224
|
510 |
-
msgid ""
|
511 |
-
|
512 |
-
|
|
|
|
|
|
|
513 |
msgstr ""
|
514 |
|
515 |
#: php/class-list-table.php:244
|
@@ -521,7 +535,7 @@ msgstr ""
|
|
521 |
msgid "Shared on Network"
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: php/class-list-table.php:322
|
525 |
msgid "Name"
|
526 |
msgstr ""
|
527 |
|
@@ -741,7 +755,7 @@ msgstr ""
|
|
741 |
msgid "Editor Preview"
|
742 |
msgstr ""
|
743 |
|
744 |
-
#: php/settings/settings.php:
|
745 |
msgid "Settings saved."
|
746 |
msgstr ""
|
747 |
|
@@ -750,8 +764,8 @@ msgctxt "snippet"
|
|
750 |
msgid "Add New"
|
751 |
msgstr ""
|
752 |
|
753 |
-
#: php/views/edit.php:
|
754 |
-
msgid "
|
755 |
msgstr ""
|
756 |
|
757 |
#: php/views/edit.php:54
|
@@ -767,9 +781,7 @@ msgid "Save Changes and Deactivate"
|
|
767 |
msgstr ""
|
768 |
|
769 |
#: php/views/edit.php:118
|
770 |
-
msgid ""
|
771 |
-
"You are about to permanently delete this snippet.\n"
|
772 |
-
"'Cancel' to stop, 'OK' to delete."
|
773 |
msgstr ""
|
774 |
|
775 |
#: php/views/import.php:21
|
@@ -781,8 +793,8 @@ msgstr ""
|
|
781 |
#: php/views/import.php:23
|
782 |
#, php-format
|
783 |
msgid ""
|
784 |
-
"You will need to go to the <a href=\"%s\">
|
785 |
-
"
|
786 |
msgstr ""
|
787 |
|
788 |
#: php/views/import.php:25
|
6 |
#, fuzzy
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
+
"Project-Id-Version: code-snippets 2.8.0\n"
|
10 |
"Report-Msgid-Bugs-To: \n"
|
11 |
+
"POT-Creation-Date: 2016-12-14 00:27+1100\n"
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
27 |
msgid "Edit Snippet"
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: php/admin-menus/class-edit-menu.php:37
|
31 |
+
msgctxt "menu label"
|
32 |
msgid "Add New"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: php/admin-menus/class-edit-menu.php:38 php/views/edit.php:31
|
36 |
msgid "Add New Snippet"
|
37 |
msgstr ""
|
38 |
|
68 |
msgid "Description"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: php/admin-menus/class-edit-menu.php:334 php/class-list-table.php:325
|
72 |
msgid "Tags"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: php/admin-menus/class-edit-menu.php:338
|
76 |
msgid "Enter a list of tags; separated by commas"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: php/admin-menus/class-edit-menu.php:358
|
80 |
msgid "Run snippet everywhere"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: php/admin-menus/class-edit-menu.php:359
|
84 |
msgid "Only run in administration area"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: php/admin-menus/class-edit-menu.php:360
|
88 |
msgid "Only run on site front-end"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: php/admin-menus/class-edit-menu.php:364
|
92 |
msgid "Scope"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: php/admin-menus/class-edit-menu.php:384
|
96 |
msgid "Sharing"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: php/admin-menus/class-edit-menu.php:388
|
100 |
msgid "Allow this snippet to be activated on individual sites on the network"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: php/admin-menus/class-edit-menu.php:448
|
104 |
#, php-format
|
105 |
msgid "The snippet has been deactivated due to an error on line %d:"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: php/admin-menus/class-edit-menu.php:453
|
109 |
msgid "The snippet has been deactivated due to an error in the code."
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: php/admin-menus/class-edit-menu.php:460
|
113 |
msgid "An error occurred when saving the snippet."
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: php/admin-menus/class-edit-menu.php:465
|
117 |
msgid "Snippet <strong>added</strong>."
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: php/admin-menus/class-edit-menu.php:466
|
121 |
msgid "Snippet <strong>updated</strong>."
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: php/admin-menus/class-edit-menu.php:467
|
125 |
msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: php/admin-menus/class-edit-menu.php:468
|
129 |
msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: php/admin-menus/class-edit-menu.php:469
|
133 |
msgid "Snippet <strong>updated</strong> and <strong>deactivated</strong>."
|
134 |
msgstr ""
|
135 |
|
136 |
#: php/admin-menus/class-import-menu.php:15
|
137 |
+
msgctxt "menu label"
|
138 |
msgid "Import"
|
139 |
msgstr ""
|
140 |
|
165 |
msgid "An error occurred when processing the import file."
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: php/admin-menus/class-manage-menu.php:22
|
169 |
+
msgctxt "menu label"
|
170 |
+
msgid "All Snippets"
|
171 |
msgstr ""
|
172 |
|
173 |
#: php/admin-menus/class-manage-menu.php:23
|
174 |
+
#: php/admin-menus/class-manage-menu.php:39 php/class-admin.php:52
|
175 |
+
#: php/class-admin.php:111 php/views/manage.php:19
|
176 |
+
msgid "Snippets"
|
177 |
+
msgstr ""
|
178 |
+
|
179 |
+
#: php/admin-menus/class-manage-menu.php:40
|
180 |
+
msgctxt "top-level menu label"
|
181 |
msgid "Snippets"
|
182 |
msgstr ""
|
183 |
|
214 |
msgstr ""
|
215 |
|
216 |
#: php/admin-menus/class-settings-menu.php:16
|
217 |
+
msgctxt "menu label"
|
218 |
msgid "Settings"
|
219 |
msgstr ""
|
220 |
|
222 |
msgid "Snippets Settings"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: php/admin-menus/class-settings-menu.php:36 php/views/edit.php:135
|
226 |
+
msgid "Settings"
|
227 |
+
msgstr ""
|
228 |
+
|
229 |
#: php/class-admin.php:110
|
230 |
msgid "Manage your existing snippets"
|
231 |
msgstr ""
|
299 |
"Snippets are similar to plugins - they both extend and expand the "
|
300 |
"functionality of WordPress. Snippets are more light-weight, just a few lines "
|
301 |
"of code, and do not put as much load on your server. Here you can manage "
|
302 |
+
"your existing snippets and perform tasks on them such as activating, "
|
303 |
"deactivating, deleting and exporting."
|
304 |
msgstr ""
|
305 |
|
423 |
"Snippets will be added to the database along with your existing snippets. "
|
424 |
"Regardless of whether the snippets were active on the previous site, "
|
425 |
"imported snippets are always inactive until activated using the <a href=\"%s"
|
426 |
+
"\">All Snippets</a> page.</p>"
|
427 |
msgstr ""
|
428 |
|
429 |
#: php/class-contextual-help.php:127
|
477 |
|
478 |
#: php/class-export.php:96
|
479 |
msgid ""
|
480 |
+
"7. You will then have to visit the 'Snippets: All Snippets' admin menu and "
|
481 |
"activate desired snippets."
|
482 |
msgstr ""
|
483 |
|
513 |
msgstr ""
|
514 |
|
515 |
#: php/class-list-table.php:151 php/class-list-table.php:214
|
516 |
+
#: php/class-list-table.php:372 php/views/edit.php:124
|
517 |
msgid "Delete"
|
518 |
msgstr ""
|
519 |
|
520 |
#: php/class-list-table.php:158 php/class-list-table.php:224
|
521 |
+
msgid "You are about to permanently delete the selected item."
|
522 |
+
msgstr ""
|
523 |
+
|
524 |
+
#: php/class-list-table.php:159 php/class-list-table.php:225
|
525 |
+
#: php/views/edit.php:119
|
526 |
+
msgid "'Cancel' to stop, 'OK' to delete."
|
527 |
msgstr ""
|
528 |
|
529 |
#: php/class-list-table.php:244
|
535 |
msgid "Shared on Network"
|
536 |
msgstr ""
|
537 |
|
538 |
+
#: php/class-list-table.php:322 php/views/edit.php:48
|
539 |
msgid "Name"
|
540 |
msgstr ""
|
541 |
|
755 |
msgid "Editor Preview"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: php/settings/settings.php:176
|
759 |
msgid "Settings saved."
|
760 |
msgstr ""
|
761 |
|
764 |
msgid "Add New"
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: php/views/edit.php:49
|
768 |
+
msgid "Enter title here"
|
769 |
msgstr ""
|
770 |
|
771 |
#: php/views/edit.php:54
|
781 |
msgstr ""
|
782 |
|
783 |
#: php/views/edit.php:118
|
784 |
+
msgid "You are about to permanently delete this snippet."
|
|
|
|
|
785 |
msgstr ""
|
786 |
|
787 |
#: php/views/import.php:21
|
793 |
#: php/views/import.php:23
|
794 |
#, php-format
|
795 |
msgid ""
|
796 |
+
"You will need to go to the <a href=\"%s\">All Snippets</a> page to activate "
|
797 |
+
"the imported snippets."
|
798 |
msgstr ""
|
799 |
|
800 |
#: php/views/import.php:25
|
license.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
Copyright (c) 2012-
|
2 |
|
3 |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
4 |
|
1 |
+
Copyright (c) 2012-2016 Shea Bunge
|
2 |
|
3 |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
4 |
|
php/admin-menus/class-edit-menu.php
CHANGED
@@ -26,17 +26,17 @@ class Code_Snippets_Edit_Menu extends Code_Snippets_Admin_Menu {
|
|
26 |
*/
|
27 |
public function register() {
|
28 |
|
|
|
|
|
|
|
|
|
|
|
29 |
/* Add New Snippet menu */
|
30 |
$this->add_menu(
|
31 |
code_snippets()->get_menu_slug( 'add' ),
|
32 |
-
|
33 |
__( 'Add New Snippet', 'code-snippets' )
|
34 |
);
|
35 |
-
|
36 |
-
/* Add edit menu if we are currently editing a snippet */
|
37 |
-
if ( isset( $_REQUEST['page'] ) && code_snippets()->get_menu_slug( 'edit' ) === $_REQUEST['page'] ) {
|
38 |
-
parent::register();
|
39 |
-
}
|
40 |
}
|
41 |
|
42 |
/**
|
@@ -178,7 +178,7 @@ class Code_Snippets_Edit_Menu extends Code_Snippets_Admin_Menu {
|
|
178 |
$m = '<h2>' . __( "Don't Panic", 'code-snippets' ) . '</h2>';
|
179 |
$m .= '<p>' . sprintf( __( 'The code snippet you are trying to save produced a fatal error on line %d:', 'code_snippets' ), $error['line'] ) . '</p>';
|
180 |
$m .= '<strong>' . $error['message'] . '</strong>';
|
181 |
-
$m .= '<p>' . __( 'The previous version of the snippet is unchanged, and the rest of this site should be functioning normally as before.' ) . '</p>';
|
182 |
$m .= '<p>' . __( 'Please use the back button in your browser to return to the previous page and try to fix the code error.', 'code-snippets' );
|
183 |
$m .= ' ' . __( 'If you prefer, you can close this page and discard the changes you just made. No changes will be made to this site.', 'code-snippets' ) . '</p>';
|
184 |
|
@@ -328,17 +328,19 @@ class Code_Snippets_Edit_Menu extends Code_Snippets_Admin_Menu {
|
|
328 |
* @param Snippet $snippet the snippet currently being edited
|
329 |
*/
|
330 |
function render_tags_editor( Snippet $snippet ) {
|
|
|
331 |
?>
|
332 |
<label for="snippet_tags" style="cursor: auto;">
|
333 |
<h3><?php esc_html_e( 'Tags', 'code-snippets' ); ?></h3>
|
334 |
</label>
|
335 |
|
336 |
<input type="text" id="snippet_tags" name="snippet_tags" style="width: 100%;"
|
337 |
-
placeholder="<?php esc_html_e( 'Enter a list of tags; separated by commas', 'code-snippets' ); ?>"
|
|
|
338 |
|
339 |
<script type="text/javascript">
|
340 |
jQuery('#snippet_tags').tagit({
|
341 |
-
availableTags:
|
342 |
allowSpaces: true,
|
343 |
removeConfirmation: true
|
344 |
});
|
26 |
*/
|
27 |
public function register() {
|
28 |
|
29 |
+
/* Add edit menu if we are currently editing a snippet */
|
30 |
+
if ( isset( $_REQUEST['page'] ) && code_snippets()->get_menu_slug( 'edit' ) === $_REQUEST['page'] ) {
|
31 |
+
parent::register();
|
32 |
+
}
|
33 |
+
|
34 |
/* Add New Snippet menu */
|
35 |
$this->add_menu(
|
36 |
code_snippets()->get_menu_slug( 'add' ),
|
37 |
+
_x( 'Add New', 'menu label', 'code-snippets' ),
|
38 |
__( 'Add New Snippet', 'code-snippets' )
|
39 |
);
|
|
|
|
|
|
|
|
|
|
|
40 |
}
|
41 |
|
42 |
/**
|
178 |
$m = '<h2>' . __( "Don't Panic", 'code-snippets' ) . '</h2>';
|
179 |
$m .= '<p>' . sprintf( __( 'The code snippet you are trying to save produced a fatal error on line %d:', 'code_snippets' ), $error['line'] ) . '</p>';
|
180 |
$m .= '<strong>' . $error['message'] . '</strong>';
|
181 |
+
$m .= '<p>' . __( 'The previous version of the snippet is unchanged, and the rest of this site should be functioning normally as before.', 'code-snippets' ) . '</p>';
|
182 |
$m .= '<p>' . __( 'Please use the back button in your browser to return to the previous page and try to fix the code error.', 'code-snippets' );
|
183 |
$m .= ' ' . __( 'If you prefer, you can close this page and discard the changes you just made. No changes will be made to this site.', 'code-snippets' ) . '</p>';
|
184 |
|
328 |
* @param Snippet $snippet the snippet currently being edited
|
329 |
*/
|
330 |
function render_tags_editor( Snippet $snippet ) {
|
331 |
+
|
332 |
?>
|
333 |
<label for="snippet_tags" style="cursor: auto;">
|
334 |
<h3><?php esc_html_e( 'Tags', 'code-snippets' ); ?></h3>
|
335 |
</label>
|
336 |
|
337 |
<input type="text" id="snippet_tags" name="snippet_tags" style="width: 100%;"
|
338 |
+
placeholder="<?php esc_html_e( 'Enter a list of tags; separated by commas', 'code-snippets' ); ?>"
|
339 |
+
value="<?php echo esc_attr( $snippet->tags_list ); ?>" />
|
340 |
|
341 |
<script type="text/javascript">
|
342 |
jQuery('#snippet_tags').tagit({
|
343 |
+
availableTags: <?php echo json_encode( get_all_snippet_tags() ); ?>,
|
344 |
allowSpaces: true,
|
345 |
removeConfirmation: true
|
346 |
});
|
php/admin-menus/class-import-menu.php
CHANGED
@@ -12,7 +12,7 @@ class Code_Snippets_Import_Menu extends Code_Snippets_Admin_Menu {
|
|
12 |
*/
|
13 |
function __construct() {
|
14 |
parent::__construct( 'import',
|
15 |
-
|
16 |
__( 'Import Snippets', 'code-snippets' )
|
17 |
);
|
18 |
|
12 |
*/
|
13 |
function __construct() {
|
14 |
parent::__construct( 'import',
|
15 |
+
_x( 'Import', 'menu label', 'code-snippets' ),
|
16 |
__( 'Import Snippets', 'code-snippets' )
|
17 |
);
|
18 |
|
php/admin-menus/class-manage-menu.php
CHANGED
@@ -19,7 +19,7 @@ class Code_Snippets_Manage_Menu extends Code_Snippets_Admin_Menu {
|
|
19 |
public function __construct() {
|
20 |
|
21 |
parent::__construct( 'manage',
|
22 |
-
|
23 |
__( 'Snippets', 'code-snippets' )
|
24 |
);
|
25 |
|
@@ -37,7 +37,7 @@ class Code_Snippets_Manage_Menu extends Code_Snippets_Admin_Menu {
|
|
37 |
/* Register the top-level menu */
|
38 |
add_menu_page(
|
39 |
__( 'Snippets', 'code-snippets' ),
|
40 |
-
|
41 |
code_snippets()->get_cap(),
|
42 |
code_snippets()->get_menu_slug(),
|
43 |
array( $this, 'render' ),
|
19 |
public function __construct() {
|
20 |
|
21 |
parent::__construct( 'manage',
|
22 |
+
_x( 'All Snippets', 'menu label', 'code-snippets' ),
|
23 |
__( 'Snippets', 'code-snippets' )
|
24 |
);
|
25 |
|
37 |
/* Register the top-level menu */
|
38 |
add_menu_page(
|
39 |
__( 'Snippets', 'code-snippets' ),
|
40 |
+
_x( 'Snippets', 'top-level menu label', 'code-snippets' ),
|
41 |
code_snippets()->get_cap(),
|
42 |
code_snippets()->get_menu_slug(),
|
43 |
array( $this, 'render' ),
|
php/admin-menus/class-settings-menu.php
CHANGED
@@ -13,7 +13,7 @@ class Code_Snippets_Settings_Menu extends Code_Snippets_Admin_Menu {
|
|
13 |
public function __construct() {
|
14 |
|
15 |
parent::__construct( 'settings',
|
16 |
-
|
17 |
__( 'Snippets Settings', 'code-snippets' )
|
18 |
);
|
19 |
}
|
@@ -22,7 +22,7 @@ class Code_Snippets_Settings_Menu extends Code_Snippets_Admin_Menu {
|
|
22 |
parent::load();
|
23 |
|
24 |
if ( is_network_admin() ) {
|
25 |
-
wp_redirect(
|
26 |
exit;
|
27 |
}
|
28 |
}
|
13 |
public function __construct() {
|
14 |
|
15 |
parent::__construct( 'settings',
|
16 |
+
_x( 'Settings', 'menu label', 'code-snippets' ),
|
17 |
__( 'Snippets Settings', 'code-snippets' )
|
18 |
);
|
19 |
}
|
22 |
parent::load();
|
23 |
|
24 |
if ( is_network_admin() ) {
|
25 |
+
wp_redirect( code_snippets()->get_menu_url( 'settings', 'admin' ) );
|
26 |
exit;
|
27 |
}
|
28 |
}
|
php/class-admin.php
CHANGED
@@ -108,7 +108,7 @@ class Code_Snippets_Admin {
|
|
108 |
'<a href="%1$s" title="%2$s">%3$s</a>',
|
109 |
code_snippets()->get_menu_url(),
|
110 |
__( 'Manage your existing snippets', 'code-snippets' ),
|
111 |
-
__( '
|
112 |
) );
|
113 |
|
114 |
return $links;
|
108 |
'<a href="%1$s" title="%2$s">%3$s</a>',
|
109 |
code_snippets()->get_menu_url(),
|
110 |
__( 'Manage your existing snippets', 'code-snippets' ),
|
111 |
+
__( 'Snippets', 'code-snippets' )
|
112 |
) );
|
113 |
|
114 |
return $links;
|
php/class-contextual-help.php
CHANGED
@@ -53,7 +53,7 @@ class Code_Snippets_Contextual_Help {
|
|
53 |
$this->screen->add_help_tab( array(
|
54 |
'id' => 'overview',
|
55 |
'title' => __( 'Overview', 'code-snippets' ),
|
56 |
-
'content' => '<p>' . __( 'Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can manage your existing snippets and
|
57 |
) );
|
58 |
|
59 |
$this->screen->add_help_tab( array(
|
@@ -119,7 +119,7 @@ class Code_Snippets_Contextual_Help {
|
|
119 |
'id' => 'import',
|
120 |
'title' => __( 'Importing', 'code-snippets' ),
|
121 |
'content' => '<p>' . __( 'You can load your snippets from a code snippets (.xml) export file using this page.', 'code-snippets' ) .
|
122 |
-
sprintf( __( 'Snippets will be added to the database along with your existing snippets. Regardless of whether the snippets were active on the previous site, imported snippets are always inactive until activated using the <a href="%s">
|
123 |
) );
|
124 |
|
125 |
$this->screen->add_help_tab( array(
|
53 |
$this->screen->add_help_tab( array(
|
54 |
'id' => 'overview',
|
55 |
'title' => __( 'Overview', 'code-snippets' ),
|
56 |
+
'content' => '<p>' . __( 'Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can manage your existing snippets and perform tasks on them such as activating, deactivating, deleting and exporting.', 'code-snippets' ) . '</p>',
|
57 |
) );
|
58 |
|
59 |
$this->screen->add_help_tab( array(
|
119 |
'id' => 'import',
|
120 |
'title' => __( 'Importing', 'code-snippets' ),
|
121 |
'content' => '<p>' . __( 'You can load your snippets from a code snippets (.xml) export file using this page.', 'code-snippets' ) .
|
122 |
+
sprintf( __( 'Snippets will be added to the database along with your existing snippets. Regardless of whether the snippets were active on the previous site, imported snippets are always inactive until activated using the <a href="%s">All Snippets</a> page.</p>', 'code-snippets' ), $manage_url ) . '</p>',
|
123 |
) );
|
124 |
|
125 |
$this->screen->add_help_tab( array(
|
php/class-export.php
CHANGED
@@ -93,7 +93,7 @@ class Code_Snippets_Export {
|
|
93 |
__( '4. Click on the "Code Snippets" importer in the list', 'code-snippets' ),
|
94 |
__( '5. Upload this file using the form provided on that page.', 'code-snippets' ),
|
95 |
__( '6. Code Snippets will then import all of the snippets and associated information contained in this file into your site.', 'code-snippets' ),
|
96 |
-
__( "7. You will then have to visit the 'Snippets:
|
97 |
);
|
98 |
|
99 |
/* Add each line as a comment element */
|
93 |
__( '4. Click on the "Code Snippets" importer in the list', 'code-snippets' ),
|
94 |
__( '5. Upload this file using the form provided on that page.', 'code-snippets' ),
|
95 |
__( '6. Code Snippets will then import all of the snippets and associated information contained in this file into your site.', 'code-snippets' ),
|
96 |
+
__( "7. You will then have to visit the 'Snippets: All Snippets' admin menu and activate desired snippets.", 'code-snippets' ),
|
97 |
);
|
98 |
|
99 |
/* Add each line as a comment element */
|
php/class-list-table.php
CHANGED
@@ -134,7 +134,7 @@ class Code_Snippets_List_Table extends WP_List_Table {
|
|
134 |
$actions['edit'] = sprintf(
|
135 |
$link_format,
|
136 |
__( 'Edit', 'code-snippets' ),
|
137 |
-
get_snippet_edit_url( $snippet->id )
|
138 |
);
|
139 |
|
140 |
$actions['export'] = sprintf(
|
@@ -155,8 +155,8 @@ class Code_Snippets_List_Table extends WP_List_Table {
|
|
155 |
) ) ),
|
156 |
esc_js( sprintf(
|
157 |
'return confirm("%s");',
|
158 |
-
__(
|
159 |
-
|
160 |
) )
|
161 |
);
|
162 |
|
@@ -194,7 +194,7 @@ class Code_Snippets_List_Table extends WP_List_Table {
|
|
194 |
$actions['edit'] = sprintf(
|
195 |
$link_format,
|
196 |
__( 'Edit', 'code-snippets' ),
|
197 |
-
get_snippet_edit_url( $snippet->id, 'network' )
|
198 |
);
|
199 |
|
200 |
$actions['export'] = sprintf(
|
@@ -205,7 +205,7 @@ class Code_Snippets_List_Table extends WP_List_Table {
|
|
205 |
'action' => 'export',
|
206 |
'id' => $snippet->id,
|
207 |
),
|
208 |
-
|
209 |
)
|
210 |
);
|
211 |
|
@@ -217,12 +217,12 @@ class Code_Snippets_List_Table extends WP_List_Table {
|
|
217 |
'action' => 'delete',
|
218 |
'id' => $snippet->id,
|
219 |
),
|
220 |
-
|
221 |
),
|
222 |
esc_js( sprintf(
|
223 |
'return confirm("%s");',
|
224 |
-
__(
|
225 |
-
|
226 |
) )
|
227 |
);
|
228 |
|
@@ -249,7 +249,7 @@ class Code_Snippets_List_Table extends WP_List_Table {
|
|
249 |
|
250 |
$out = sprintf(
|
251 |
'<a href="%s"><strong>%s</strong></a>',
|
252 |
-
get_snippet_edit_url( $snippet->id, $snippet->network ? 'network' : 'admin' ),
|
253 |
$title
|
254 |
);
|
255 |
|
@@ -684,7 +684,7 @@ class Code_Snippets_List_Table extends WP_List_Table {
|
|
684 |
public function no_items() {
|
685 |
printf(
|
686 |
__( 'You do not appear to have any snippets available at this time. <a href="%s">Add New→</a>', 'code-snippets' ),
|
687 |
-
|
688 |
);
|
689 |
}
|
690 |
|
134 |
$actions['edit'] = sprintf(
|
135 |
$link_format,
|
136 |
__( 'Edit', 'code-snippets' ),
|
137 |
+
code_snippets()->get_snippet_edit_url( $snippet->id )
|
138 |
);
|
139 |
|
140 |
$actions['export'] = sprintf(
|
155 |
) ) ),
|
156 |
esc_js( sprintf(
|
157 |
'return confirm("%s");',
|
158 |
+
__( 'You are about to permanently delete the selected item.', 'code-snippets' ) . "\n" .
|
159 |
+
__( "'Cancel' to stop, 'OK' to delete.", 'code-snippets' )
|
160 |
) )
|
161 |
);
|
162 |
|
194 |
$actions['edit'] = sprintf(
|
195 |
$link_format,
|
196 |
__( 'Edit', 'code-snippets' ),
|
197 |
+
code_snippets()->get_snippet_edit_url( $snippet->id, 'network' )
|
198 |
);
|
199 |
|
200 |
$actions['export'] = sprintf(
|
205 |
'action' => 'export',
|
206 |
'id' => $snippet->id,
|
207 |
),
|
208 |
+
code_snippets()->get_menu_url( 'manage', 'network' )
|
209 |
)
|
210 |
);
|
211 |
|
217 |
'action' => 'delete',
|
218 |
'id' => $snippet->id,
|
219 |
),
|
220 |
+
code_snippets()->get_menu_url( 'manage', 'network' )
|
221 |
),
|
222 |
esc_js( sprintf(
|
223 |
'return confirm("%s");',
|
224 |
+
__( 'You are about to permanently delete the selected item.', 'code-snippets' ) . "\n" .
|
225 |
+
__( "'Cancel' to stop, 'OK' to delete.", 'code-snippets' )
|
226 |
) )
|
227 |
);
|
228 |
|
249 |
|
250 |
$out = sprintf(
|
251 |
'<a href="%s"><strong>%s</strong></a>',
|
252 |
+
code_snippets()->get_snippet_edit_url( $snippet->id, $snippet->network ? 'network' : 'admin' ),
|
253 |
$title
|
254 |
);
|
255 |
|
684 |
public function no_items() {
|
685 |
printf(
|
686 |
__( 'You do not appear to have any snippets available at this time. <a href="%s">Add New→</a>', 'code-snippets' ),
|
687 |
+
code_snippets()->get_menu_url( 'add' )
|
688 |
);
|
689 |
}
|
690 |
|
php/editor.php
CHANGED
@@ -46,7 +46,7 @@ function code_snippets_get_editor_atts( $override_atts, $json_encode ) {
|
|
46 |
* @uses wp_enqueue_script() to add the scripts to the queue
|
47 |
*/
|
48 |
function code_snippets_enqueue_codemirror() {
|
49 |
-
$codemirror_version = '5.
|
50 |
$url = plugin_dir_url( CODE_SNIPPETS_FILE );
|
51 |
|
52 |
/* Remove other CodeMirror styles */
|
@@ -79,3 +79,27 @@ function code_snippets_enqueue_codemirror() {
|
|
79 |
);
|
80 |
}
|
81 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
* @uses wp_enqueue_script() to add the scripts to the queue
|
47 |
*/
|
48 |
function code_snippets_enqueue_codemirror() {
|
49 |
+
$codemirror_version = '5.21.0';
|
50 |
$url = plugin_dir_url( CODE_SNIPPETS_FILE );
|
51 |
|
52 |
/* Remove other CodeMirror styles */
|
79 |
);
|
80 |
}
|
81 |
}
|
82 |
+
|
83 |
+
/**
|
84 |
+
* Retrieve a list of the available CodeMirror themes
|
85 |
+
* @return array the available themes
|
86 |
+
*/
|
87 |
+
function code_snippets_get_available_themes() {
|
88 |
+
static $themes = null;
|
89 |
+
|
90 |
+
if ( ! is_null( $themes ) ) {
|
91 |
+
return $themes;
|
92 |
+
}
|
93 |
+
|
94 |
+
$themes = array();
|
95 |
+
$themes_dir = plugin_dir_path( CODE_SNIPPETS_FILE ) . 'css/min/cmthemes/';
|
96 |
+
$theme_files = glob( $themes_dir . '*.css' );
|
97 |
+
|
98 |
+
foreach ( $theme_files as $i => $theme ) {
|
99 |
+
$theme = str_replace( $themes_dir, '', $theme );
|
100 |
+
$theme = str_replace( '.css', '', $theme );
|
101 |
+
$themes[] = $theme;
|
102 |
+
}
|
103 |
+
|
104 |
+
return $themes;
|
105 |
+
}
|
php/settings/editor-preview.php
CHANGED
@@ -23,12 +23,9 @@ function code_snippets_editor_settings_preview_assets( $hook ) {
|
|
23 |
code_snippets_enqueue_codemirror();
|
24 |
|
25 |
/* Enqueue ALL themes */
|
26 |
-
$
|
27 |
-
$themes = glob( $themes_dir . '*.css' );
|
28 |
|
29 |
foreach ( $themes as $theme ) {
|
30 |
-
$theme = str_replace( $themes_dir, '', $theme );
|
31 |
-
$theme = str_replace( '.css', '', $theme );
|
32 |
|
33 |
wp_enqueue_style(
|
34 |
'code-snippets-codemirror-theme-' . $theme,
|
23 |
code_snippets_enqueue_codemirror();
|
24 |
|
25 |
/* Enqueue ALL themes */
|
26 |
+
$themes = code_snippets_get_available_themes();
|
|
|
27 |
|
28 |
foreach ( $themes as $theme ) {
|
|
|
|
|
29 |
|
30 |
wp_enqueue_style(
|
31 |
'code-snippets-codemirror-theme-' . $theme,
|
php/settings/settings-fields.php
CHANGED
@@ -55,14 +55,14 @@ function code_snippets_get_settings_fields() {
|
|
55 |
'enable_tags' => array(
|
56 |
'name' => __( 'Enable Snippet Tags', 'code-snippets' ),
|
57 |
'type' => 'checkbox',
|
58 |
-
'label' => __( 'Show snippet tags on admin pages' ),
|
59 |
'default' => true,
|
60 |
),
|
61 |
|
62 |
'enable_description' => array(
|
63 |
'name' => __( 'Enable Snippet Descriptions', 'code-snippets' ),
|
64 |
'type' => 'checkbox',
|
65 |
-
'label' => __( 'Show snippet descriptions on admin pages' ),
|
66 |
'default' => true,
|
67 |
),
|
68 |
'disable_prism' => array(
|
55 |
'enable_tags' => array(
|
56 |
'name' => __( 'Enable Snippet Tags', 'code-snippets' ),
|
57 |
'type' => 'checkbox',
|
58 |
+
'label' => __( 'Show snippet tags on admin pages', 'code-snippets' ),
|
59 |
'default' => true,
|
60 |
),
|
61 |
|
62 |
'enable_description' => array(
|
63 |
'name' => __( 'Enable Snippet Descriptions', 'code-snippets' ),
|
64 |
'type' => 'checkbox',
|
65 |
+
'label' => __( 'Show snippet descriptions on admin pages', 'code-snippets' ),
|
66 |
'default' => true,
|
67 |
),
|
68 |
'disable_prism' => array(
|
php/settings/settings.php
CHANGED
@@ -152,8 +152,19 @@ function code_snippets_settings_validate( array $input ) {
|
|
152 |
$settings[ $section_id ][ $field_id ] = absint( $input[ $section_id ][ $field_id ] );
|
153 |
break;
|
154 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
default:
|
156 |
-
|
|
|
157 |
}
|
158 |
}
|
159 |
}
|
152 |
$settings[ $section_id ][ $field_id ] = absint( $input[ $section_id ][ $field_id ] );
|
153 |
break;
|
154 |
|
155 |
+
case 'codemirror_theme_select':
|
156 |
+
$available_themes = code_snippets_get_available_themes();
|
157 |
+
$selected_theme = $input[ $section_id ][ $field_id ];
|
158 |
+
|
159 |
+
if ( in_array( $selected_theme, $available_themes ) ) {
|
160 |
+
$settings[ $section_id ][ $field_id ] = $selected_theme;
|
161 |
+
}
|
162 |
+
|
163 |
+
break;
|
164 |
+
|
165 |
default:
|
166 |
+
break;
|
167 |
+
|
168 |
}
|
169 |
}
|
170 |
}
|
php/snippet-ops.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* Functions to
|
5 |
*
|
6 |
* @package Code_Snippets
|
7 |
*/
|
@@ -12,7 +12,7 @@
|
|
12 |
* @since 2.0
|
13 |
*
|
14 |
* @uses $wpdb to query the database for snippets
|
15 |
-
* @uses
|
16 |
*
|
17 |
* @param array $ids The IDs of the snippets to fetch
|
18 |
* @param bool|null $multisite Retrieve multisite-wide or site-wide snippets?
|
@@ -21,12 +21,12 @@
|
|
21 |
function get_snippets( array $ids = array(), $multisite = null ) {
|
22 |
/** @var wpdb $wpdb */
|
23 |
global $wpdb;
|
24 |
-
$table =
|
25 |
$sql = "SELECT * FROM $table";
|
26 |
$ids_count = count( $ids );
|
27 |
|
28 |
if ( 1 == $ids_count ) {
|
29 |
-
return get_snippet( $ids[0] );
|
30 |
}
|
31 |
|
32 |
if ( $ids_count > 1 ) {
|
@@ -58,7 +58,7 @@ function get_all_snippet_tags() {
|
|
58 |
|
59 |
/* Grab all tags from the database */
|
60 |
$tags = array();
|
61 |
-
$table =
|
62 |
$all_tags = $wpdb->get_col( "SELECT `tags` FROM $table" );
|
63 |
|
64 |
/* Merge all tags into a single array */
|
@@ -86,6 +86,7 @@ function code_snippets_build_tags_array( $tags ) {
|
|
86 |
|
87 |
/* If the tags are set as a string, convert them into an array */
|
88 |
if ( is_string( $tags ) ) {
|
|
|
89 |
$tags = str_replace( ', ', ',', $tags );
|
90 |
$tags = explode( ',', $tags );
|
91 |
}
|
@@ -102,7 +103,7 @@ function code_snippets_build_tags_array( $tags ) {
|
|
102 |
* @since 2.0
|
103 |
*
|
104 |
* @uses $wpdb to query the database for snippets
|
105 |
-
* @uses
|
106 |
*
|
107 |
* @param int $id The ID of the snippet to retrieve. 0 to build a new snippet
|
108 |
* @param boolean|null $multisite Retrieve a multisite-wide or site-wide snippet?
|
@@ -113,7 +114,7 @@ function get_snippet( $id = 0, $multisite = null ) {
|
|
113 |
global $wpdb;
|
114 |
|
115 |
$id = absint( $id );
|
116 |
-
$table =
|
117 |
|
118 |
if ( 0 !== $id ) {
|
119 |
|
@@ -147,7 +148,7 @@ function get_snippet( $id = 0, $multisite = null ) {
|
|
147 |
function activate_snippet( $id, $multisite = null ) {
|
148 |
/** @var wpdb $wpdb */
|
149 |
global $wpdb;
|
150 |
-
$table =
|
151 |
|
152 |
$wpdb->update(
|
153 |
$table,
|
@@ -179,7 +180,7 @@ function activate_snippet( $id, $multisite = null ) {
|
|
179 |
function deactivate_snippet( $id, $multisite = null ) {
|
180 |
/** @var wpdb $wpdb */
|
181 |
global $wpdb;
|
182 |
-
$table =
|
183 |
|
184 |
/* Set the snippet to active */
|
185 |
|
@@ -217,7 +218,7 @@ function deactivate_snippet( $id, $multisite = null ) {
|
|
217 |
*
|
218 |
* @since 2.0
|
219 |
* @uses $wpdb to access the database
|
220 |
-
* @uses
|
221 |
*
|
222 |
* @param int $id The ID of the snippet to delete
|
223 |
* @param bool|null $multisite Delete from site-wide or network-wide table?
|
@@ -227,7 +228,7 @@ function delete_snippet( $id, $multisite = null ) {
|
|
227 |
global $wpdb;
|
228 |
|
229 |
$wpdb->delete(
|
230 |
-
|
231 |
array( 'id' => $id ),
|
232 |
array( '%d' )
|
233 |
);
|
@@ -241,7 +242,7 @@ function delete_snippet( $id, $multisite = null ) {
|
|
241 |
* @since 2.0
|
242 |
*
|
243 |
* @uses $wpdb to update/add the snippet to the database
|
244 |
-
* @uses
|
245 |
*
|
246 |
* @param Snippet $snippet The snippet to add/update to the database
|
247 |
* @return int The ID of the snippet
|
@@ -250,7 +251,7 @@ function save_snippet( Snippet $snippet ) {
|
|
250 |
/** @var wpdb $wpdb */
|
251 |
global $wpdb;
|
252 |
|
253 |
-
$table =
|
254 |
|
255 |
/* Build array of data to insert */
|
256 |
$data = array(
|
@@ -344,14 +345,14 @@ function import_snippets( $file, $multisite = null ) {
|
|
344 |
*
|
345 |
* @since 2.0
|
346 |
* @uses Code_Snippets_Export to export selected snippets
|
347 |
-
* @uses
|
348 |
*
|
349 |
* @param array $ids The IDs of the snippets to export
|
350 |
* @param bool|null $multisite Is the snippet a network-wide or site-wide snippet?
|
351 |
* @param string $format Export to xml or php?
|
352 |
*/
|
353 |
function export_snippets( $ids, $multisite = null, $format = 'xml' ) {
|
354 |
-
$table =
|
355 |
|
356 |
if ( ! class_exists( 'Code_Snippets_Export' ) ) {
|
357 |
require_once plugin_dir_path( CODE_SNIPPETS_FILE ) . 'php/class-export.php';
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* Functions to perform snippet operations
|
5 |
*
|
6 |
* @package Code_Snippets
|
7 |
*/
|
12 |
* @since 2.0
|
13 |
*
|
14 |
* @uses $wpdb to query the database for snippets
|
15 |
+
* @uses code_snippets()->db->get_table_name() to dynamically retrieve the snippet table name
|
16 |
*
|
17 |
* @param array $ids The IDs of the snippets to fetch
|
18 |
* @param bool|null $multisite Retrieve multisite-wide or site-wide snippets?
|
21 |
function get_snippets( array $ids = array(), $multisite = null ) {
|
22 |
/** @var wpdb $wpdb */
|
23 |
global $wpdb;
|
24 |
+
$table = code_snippets()->db->get_table_name( $multisite );
|
25 |
$sql = "SELECT * FROM $table";
|
26 |
$ids_count = count( $ids );
|
27 |
|
28 |
if ( 1 == $ids_count ) {
|
29 |
+
return array( get_snippet( $ids[0] ) );
|
30 |
}
|
31 |
|
32 |
if ( $ids_count > 1 ) {
|
58 |
|
59 |
/* Grab all tags from the database */
|
60 |
$tags = array();
|
61 |
+
$table = code_snippets()->db->get_table_name();
|
62 |
$all_tags = $wpdb->get_col( "SELECT `tags` FROM $table" );
|
63 |
|
64 |
/* Merge all tags into a single array */
|
86 |
|
87 |
/* If the tags are set as a string, convert them into an array */
|
88 |
if ( is_string( $tags ) ) {
|
89 |
+
$tags = strip_tags( $tags );
|
90 |
$tags = str_replace( ', ', ',', $tags );
|
91 |
$tags = explode( ',', $tags );
|
92 |
}
|
103 |
* @since 2.0
|
104 |
*
|
105 |
* @uses $wpdb to query the database for snippets
|
106 |
+
* @uses code_snippets()->db->get_table_name() to dynamically retrieve the snippet table name
|
107 |
*
|
108 |
* @param int $id The ID of the snippet to retrieve. 0 to build a new snippet
|
109 |
* @param boolean|null $multisite Retrieve a multisite-wide or site-wide snippet?
|
114 |
global $wpdb;
|
115 |
|
116 |
$id = absint( $id );
|
117 |
+
$table = code_snippets()->db->get_table_name( $multisite );
|
118 |
|
119 |
if ( 0 !== $id ) {
|
120 |
|
148 |
function activate_snippet( $id, $multisite = null ) {
|
149 |
/** @var wpdb $wpdb */
|
150 |
global $wpdb;
|
151 |
+
$table = code_snippets()->db->get_table_name( $multisite );
|
152 |
|
153 |
$wpdb->update(
|
154 |
$table,
|
180 |
function deactivate_snippet( $id, $multisite = null ) {
|
181 |
/** @var wpdb $wpdb */
|
182 |
global $wpdb;
|
183 |
+
$table = code_snippets()->db->get_table_name( $multisite );
|
184 |
|
185 |
/* Set the snippet to active */
|
186 |
|
218 |
*
|
219 |
* @since 2.0
|
220 |
* @uses $wpdb to access the database
|
221 |
+
* @uses code_snippets()->db->get_table_name() to dynamically retrieve the name of the snippet table
|
222 |
*
|
223 |
* @param int $id The ID of the snippet to delete
|
224 |
* @param bool|null $multisite Delete from site-wide or network-wide table?
|
228 |
global $wpdb;
|
229 |
|
230 |
$wpdb->delete(
|
231 |
+
code_snippets()->db->get_table_name( $multisite ),
|
232 |
array( 'id' => $id ),
|
233 |
array( '%d' )
|
234 |
);
|
242 |
* @since 2.0
|
243 |
*
|
244 |
* @uses $wpdb to update/add the snippet to the database
|
245 |
+
* @uses code_snippets()->db->get_table_name() To dynamically retrieve the name of the snippet table
|
246 |
*
|
247 |
* @param Snippet $snippet The snippet to add/update to the database
|
248 |
* @return int The ID of the snippet
|
251 |
/** @var wpdb $wpdb */
|
252 |
global $wpdb;
|
253 |
|
254 |
+
$table = code_snippets()->db->get_table_name( $snippet->network );
|
255 |
|
256 |
/* Build array of data to insert */
|
257 |
$data = array(
|
345 |
*
|
346 |
* @since 2.0
|
347 |
* @uses Code_Snippets_Export to export selected snippets
|
348 |
+
* @uses code_snippets()->db->get_table_name() to dynamically retrieve the name of the snippet table
|
349 |
*
|
350 |
* @param array $ids The IDs of the snippets to export
|
351 |
* @param bool|null $multisite Is the snippet a network-wide or site-wide snippet?
|
352 |
* @param string $format Export to xml or php?
|
353 |
*/
|
354 |
function export_snippets( $ids, $multisite = null, $format = 'xml' ) {
|
355 |
+
$table = code_snippets()->db->get_table_name( $multisite );
|
356 |
|
357 |
if ( ! class_exists( 'Code_Snippets_Export' ) ) {
|
358 |
require_once plugin_dir_path( CODE_SNIPPETS_FILE ) . 'php/class-export.php';
|
php/views/edit.php
CHANGED
@@ -24,7 +24,7 @@ $snippet = get_snippet( $edit_id );
|
|
24 |
if ( $edit_id ) {
|
25 |
esc_html_e( 'Edit Snippet', 'code-snippets' );
|
26 |
printf( ' <a href="%1$s" class="page-title-action add-new-h2">%2$s</a>',
|
27 |
-
|
28 |
esc_html_x( 'Add New', 'snippet', 'code-snippets' )
|
29 |
);
|
30 |
} else {
|
@@ -32,7 +32,7 @@ $snippet = get_snippet( $edit_id );
|
|
32 |
}
|
33 |
?></h1>
|
34 |
|
35 |
-
<form method="post" action="" style="margin-top: 10px;">
|
36 |
<?php
|
37 |
/* Output the hidden fields */
|
38 |
|
@@ -45,8 +45,8 @@ $snippet = get_snippet( $edit_id );
|
|
45 |
?>
|
46 |
<div id="titlediv">
|
47 |
<div id="titlewrap">
|
48 |
-
<label for="title" style="display: none;"><?php _e( 'Name
|
49 |
-
<input id="title" type="text" autocomplete="off" name="snippet_name" value="<?php echo esc_attr( $snippet->name ); ?>" placeholder="<?php _e( '
|
50 |
</div>
|
51 |
</div>
|
52 |
|
@@ -115,7 +115,8 @@ $snippet = get_snippet( $edit_id );
|
|
115 |
$confirm_delete_js = esc_js(
|
116 |
sprintf(
|
117 |
'return confirm("%s");',
|
118 |
-
__(
|
|
|
119 |
)
|
120 |
);
|
121 |
|
@@ -152,6 +153,12 @@ $snippet = get_snippet( $edit_id );
|
|
152 |
?>;
|
153 |
atts['viewportMargin'] = Infinity;
|
154 |
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
CodeMirror.fromTextArea(document.getElementById('snippet_code'), atts);
|
156 |
})();
|
157 |
</script>
|
24 |
if ( $edit_id ) {
|
25 |
esc_html_e( 'Edit Snippet', 'code-snippets' );
|
26 |
printf( ' <a href="%1$s" class="page-title-action add-new-h2">%2$s</a>',
|
27 |
+
code_snippets()->get_menu_url( 'add' ),
|
28 |
esc_html_x( 'Add New', 'snippet', 'code-snippets' )
|
29 |
);
|
30 |
} else {
|
32 |
}
|
33 |
?></h1>
|
34 |
|
35 |
+
<form method="post" id="snippet-form" action="" style="margin-top: 10px;">
|
36 |
<?php
|
37 |
/* Output the hidden fields */
|
38 |
|
45 |
?>
|
46 |
<div id="titlediv">
|
47 |
<div id="titlewrap">
|
48 |
+
<label for="title" style="display: none;"><?php _e( 'Name', 'code-snippets' ); ?></label>
|
49 |
+
<input id="title" type="text" autocomplete="off" name="snippet_name" value="<?php echo esc_attr( $snippet->name ); ?>" placeholder="<?php _e( 'Enter title here', 'code-snippets' ); ?>" />
|
50 |
</div>
|
51 |
</div>
|
52 |
|
115 |
$confirm_delete_js = esc_js(
|
116 |
sprintf(
|
117 |
'return confirm("%s");',
|
118 |
+
__( 'You are about to permanently delete this snippet.', 'code-snippets' ) . "\n" .
|
119 |
+
__( "'Cancel' to stop, 'OK' to delete.", 'code-snippets' )
|
120 |
)
|
121 |
);
|
122 |
|
153 |
?>;
|
154 |
atts['viewportMargin'] = Infinity;
|
155 |
|
156 |
+
atts['extraKeys'] = {
|
157 |
+
'Ctrl-Enter': function (cm) {
|
158 |
+
document.getElementById('snippet-form').submit();
|
159 |
+
},
|
160 |
+
};
|
161 |
+
|
162 |
CodeMirror.fromTextArea(document.getElementById('snippet_code'), atts);
|
163 |
})();
|
164 |
</script>
|
php/views/import.php
CHANGED
@@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
|
21 |
<p><?php _e( 'Howdy! Upload your Code Snippets export file and we’ll import the snippets to this site.', 'code-snippets' ); ?></p>
|
22 |
|
23 |
-
<p><?php printf( __( 'You will need to go to the <a href="%s">
|
24 |
|
25 |
<p><?php _e( 'Choose a Code Snippets (.xml) file to upload, then click Upload file and import.', 'code-snippets' ); ?></p>
|
26 |
|
20 |
|
21 |
<p><?php _e( 'Howdy! Upload your Code Snippets export file and we’ll import the snippets to this site.', 'code-snippets' ); ?></p>
|
22 |
|
23 |
+
<p><?php printf( __( 'You will need to go to the <a href="%s">All Snippets</a> page to activate the imported snippets.', 'code-snippets' ), code_snippets_get_menu_url( 'manage' ) ); ?></p>
|
24 |
|
25 |
<p><?php _e( 'Choose a Code Snippets (.xml) file to upload, then click Upload file and import.', 'code-snippets' ); ?></p>
|
26 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: bungeshea
|
|
3 |
Donate link: https://bungeshea.com/donate/
|
4 |
Tags: code-snippets, snippets, code, php, network, multisite
|
5 |
Requires at least: 3.6
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.
|
8 |
License: MIT
|
9 |
License URI: license.txt
|
10 |
|
@@ -26,7 +26,8 @@ If you have any feedback, issues, or suggestions for improvements please leave a
|
|
26 |
|
27 |
Code Snippets can be used in these different languages thanks to the following translators:
|
28 |
|
29 |
-
* German - [
|
|
|
30 |
* Slovak - [Ján Fajčák](http://wp.sk)
|
31 |
* Russian - [Alexander Samsonov](http://www.wordpressplugins.ru/administration/code-snippets.html)
|
32 |
* Chinese - [Jincheng Shan](http://shanjincheng.com)
|
@@ -59,7 +60,7 @@ Network Activating Code Snippets through the Network Dashboard will enable a spe
|
|
59 |
= How can I insert my snippet into the post text editor? =
|
60 |
Snippets that you add to this plugin are not meant to be inserted into the text editor. Instead, they are run on your site just as if they were added to your functions.php file.
|
61 |
|
62 |
-
= Do I need to include the
|
63 |
No, just copy all the content inside those tags. If you accidentally forget (or just like being lazy), the tags will be stripped from the beginning and end of the snippet when you save it. You can, however, use those tags *inside* your snippets to start and end HTML sections
|
64 |
|
65 |
= Help! I just activated a snippet, and my whole site broke! =
|
@@ -74,17 +75,6 @@ You can try activating 'safe mode'. All snippets will not execute while safe mod
|
|
74 |
= Is there a way to add a snippet but not run it right away? =
|
75 |
Yes. Just add it but do not activate it yet.
|
76 |
|
77 |
-
= What do I use to write my snippets? =
|
78 |
-
The [CodeMirror](http://codemirror.net) source-code editor will add line numbers, syntax highlighting, bracket matching, search, tabulate and other cool features to the code editor.
|
79 |
-
|
80 |
-
= Can I preform search and replace commands in the code editor? =
|
81 |
-
|
82 |
-
* __Ctrl-F / Cmd-F__ : Start searching
|
83 |
-
* __Ctrl-G / Cmd-G__ : Find next
|
84 |
-
* __Shift-Ctrl-G / Shift-Cmd-G__ : Find previous
|
85 |
-
* __Shift-Ctrl-F / Cmd-Option-F__ : Replace
|
86 |
-
* __Shift-Ctrl-R / Shift-Cmd-Option-F__ : Replace all
|
87 |
-
|
88 |
= Will I lose my snippets if I change the theme or upgrade WordPress? =
|
89 |
No, the snippets are stored in the WordPress database and are independent of the theme and unaffected by WordPress upgrades.
|
90 |
|
@@ -118,7 +108,29 @@ That's fantastic! Fork the [repository on GitHub](http://github.com/sheabunge/co
|
|
118 |
|
119 |
== Changelog ==
|
120 |
|
121 |
-
= 2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
* Fixed plugin translations being loaded
|
123 |
* Increase default snippets per page so that all are usually shown
|
124 |
* Fixed description field not being imported
|
@@ -129,30 +141,29 @@ That's fantastic! Fork the [repository on GitHub](http://github.com/sheabunge/co
|
|
129 |
* Updated CodeMirror to version 5.17.0
|
130 |
* Fixed a minor XSS vulnerability discovered by Burak Kelebek [[#](https://wordpress.org/support/topic/security-vulnerability-20)]
|
131 |
|
132 |
-
= 2.6.1 =
|
133 |
-
* Updated German translation by [Mario Siegmann](http://web-alltag.de
|
134 |
* Fixed error catching not working correctly
|
135 |
* Updated error catching to work with snippets including functions and classes
|
136 |
-
* Updated CodeMirror to version 5.11
|
137 |
* Fixed editor autoresizing
|
138 |
|
139 |
-
= 2.6.0 =
|
140 |
* Reconfigured plugin to use classloader and converted a lot of functional code into OOP code
|
141 |
* Updated CodeMirror to version 5.10.0
|
142 |
* Added `[code_snippets]` shortcode for embedding snippet code in a post
|
143 |
* Fixed broken snippet search feature [[#](https://wordpress.org/support/topic/search-is-not-working-6)]
|
144 |
* Added front-end syntax highlighting for shortcode using [PrismJS](http://prismjs.com)
|
145 |
|
146 |
-
= 2.5.1 =
|
147 |
* Fixed: Ensure errors are fatal before catching them during error checking
|
148 |
* Fixed: Escape the snippet name on the edit page to ensure it displays correctly
|
149 |
* Fixed: Exclude snippets with named functions from error checking so they do not run twice
|
150 |
|
151 |
-
= 2.5.0 =
|
152 |
* Added: Detect parse and fatal errors in code when saving a snippet, and display a user-friendly message
|
153 |
* Fixed: Updated access of some methods in Code_Snippets_List_Table class to match updated WP_List_Table class
|
154 |
|
155 |
-
= 2.4.2 =
|
156 |
* Added query variable to activate safe mode
|
157 |
* Fixed settings not saving
|
158 |
* Fixed snippet descriptions not displaying on manage menu
|
@@ -163,10 +174,10 @@ That's fantastic! Fork the [repository on GitHub](http://github.com/sheabunge/co
|
|
163 |
* Updated editor preview updating code to use vanilla JavaScript instead of jQuery
|
164 |
* Fixed: Deactivate a shared network snippet on all subsites when it looses its sharing status
|
165 |
|
166 |
-
= 2.4.1 =
|
167 |
-
* Fixed CodeMirror themes not being detected on settings page
|
168 |
|
169 |
-
= 2.4.0 =
|
170 |
* Added ability to share network snippets to individual sites on WordPress multisite
|
171 |
* Improved code directory and class structure
|
172 |
* Remove legacy code for pre-3.6 compatibility
|
@@ -180,7 +191,7 @@ That's fantastic! Fork the [repository on GitHub](http://github.com/sheabunge/co
|
|
180 |
* Updated CodeMirror to version 5.6
|
181 |
* Removed snippet settings page from network admin
|
182 |
|
183 |
-
= 2.3.0 =
|
184 |
* Removed nested functions
|
185 |
* Added icons for admin and front-end snippets to manage table
|
186 |
* Improved settings retrieval by caching settings
|
@@ -189,24 +200,24 @@ That's fantastic! Fork the [repository on GitHub](http://github.com/sheabunge/co
|
|
189 |
* Fixed errors in string translation
|
190 |
* Fixed bug in import process ([#32](https://github.com/sheabunge/code-snippets/issues/32))
|
191 |
|
192 |
-
= 2.2.3 =
|
193 |
* Fixed broken call to `export_snippet()` function
|
194 |
* Added support for importing and exporting snippet scope
|
195 |
* Fixed duplicate primary key database error
|
196 |
* Improved database table structure
|
197 |
|
198 |
-
= 2.2.2 =
|
199 |
* Polyfilled array_replace_recursive() function for PHP 5.2
|
200 |
* Updated references to old plugin site
|
201 |
* Resolved JavaScript error on edit snippet pages
|
202 |
* Made minor updates to French translation file
|
203 |
* Added statuses for snippet scopes on manage snippets table
|
204 |
|
205 |
-
= 2.2.1 =
|
206 |
* Fixed the default values of new setting not being applied
|
207 |
* Fixed missing background of tags input
|
208 |
|
209 |
-
= 2.2.0 =
|
210 |
* Introduced CodeSniffer testing on code
|
211 |
* Fixed description heading disappearing when media buttons enabled
|
212 |
* Added snippet scope selector
|
@@ -214,36 +225,31 @@ That's fantastic! Fork the [repository on GitHub](http://github.com/sheabunge/co
|
|
214 |
* Made CodeMirror theme names more readable
|
215 |
* Fixed bug causing translations to not be loaded
|
216 |
|
217 |
-
= 2.1.0 =
|
218 |
* Added additional setting descriptions
|
219 |
* Added settings for code and description editor height
|
220 |
* Updated CodeMirror to version 5.2
|
221 |
* Fixed not escaping the request URL when using query arg functions
|
222 |
* Improved efficiency of settings component
|
223 |
|
224 |
-
= 2.0.3 =
|
225 |
-
* Updated German translation by [Joerg Knoerchen](http://www.
|
226 |
|
227 |
-
= 2.0.2 =
|
228 |
* Fix error in table creation code
|
229 |
* Remove settings database option when plugin is uninstalled
|
230 |
|
231 |
-
= 2.0.1 =
|
232 |
-
|
233 |
-
*
|
234 |
-
* Fix snippets per page option not saving
|
235 |
-
|
236 |
-
= 2.0 =
|
237 |
-
|
238 |
-
__Highlights__
|
239 |
|
|
|
|
|
240 |
* Better import/export functionality
|
241 |
* New settings page with code editor settings
|
242 |
* Code rewritten for cleaner and more efficient code
|
243 |
* Lots of new translations
|
244 |
-
|
245 |
-
__Added__
|
246 |
-
|
247 |
* Added link to Code Snippets importer under Snippets admin menu
|
248 |
* Added settings component and admin page
|
249 |
* Added support for different CodeMirror themes
|
@@ -255,9 +261,7 @@ __Added__
|
|
255 |
* Added Russian translation by Alexander Samsonov
|
256 |
* Added Slovak translation by [Ján Fajčák] from [WordPress Slovakia](http://wp.sk)
|
257 |
* Added setting to always save and activate snippets by default
|
258 |
-
|
259 |
-
__Changed__
|
260 |
-
|
261 |
* Added braces to single-line conditionals in line with [new coding standards](https://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/)
|
262 |
* Split up large classes into separate functions
|
263 |
* Improved plugin file structure
|
@@ -265,19 +269,25 @@ __Changed__
|
|
265 |
* Updated CodeMirror library to version 5.0
|
266 |
* Rewritten import/export functionality to use DOMDocument
|
267 |
* Merged Code_Snippets_Export_PHP class into Code_Snippets_Export class
|
268 |
-
|
269 |
-
__Deprecated__
|
270 |
-
|
271 |
* Removed old admin style support
|
272 |
* Removed backwards-compatible support
|
273 |
-
|
274 |
-
__Fixed__
|
275 |
-
|
276 |
* Fixed incompatibility errors with PHP 5.2
|
277 |
* Fixed empty MO translation files
|
278 |
* Removed duplicate MySQL primary key indexing
|
279 |
|
280 |
-
= 1.9 =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
281 |
* Add and remove network capabilities as super admins are added and removed
|
282 |
* Updated MP6 icon implementation
|
283 |
* Replaced buggy trim `<?php` and `?>` functionality with a much more reliable regex method ([#](http://wordpress.org/support/topic/character-gets-cut))
|
@@ -301,7 +311,9 @@ __Fixed__
|
|
301 |
* Fixed CodeMirror incompatibility with the WP Editor plugin
|
302 |
* Fixed CodeMirror incompatibility with the Debug Bar Console plugin
|
303 |
|
304 |
-
= 1.8.1 =
|
|
|
|
|
305 |
* Compiled all CodeMirror scripts into a single file
|
306 |
* Use Sass + Compass for CSS
|
307 |
* Use Grunt for build automation
|
@@ -309,48 +321,50 @@ __Fixed__
|
|
309 |
* Fixed code typo that was breaking export files
|
310 |
* Updated CodeMirror to 3.15
|
311 |
|
312 |
-
= 1.8 =
|
313 |
* Allow no snippet name or code to be set
|
314 |
* Prevented an error on fresh multisite installations
|
315 |
* Refactored code to use best practices
|
316 |
* Improved database table creation method: on a single-site install, the snippets table will always be created. On a multisite install, the network snippets table will always be created; the site-specific table will always be created for the main site; for sub-sites the snippets table will only be created on a visit to a snippets admin page.
|
317 |
* Updated to CodeMirror 3.14
|
318 |
-
* Changes to
|
319 |
* Added error message handling for import snippets page
|
320 |
* Don't encode HTML entities in database
|
321 |
|
322 |
-
= 1.7.1.2 =
|
323 |
-
* Correct path to admin menu icon
|
324 |
|
325 |
-
= 1.7.1.1 =
|
326 |
-
*
|
327 |
|
328 |
-
= 1.7.1 =
|
329 |
* Fix a bug with snippet being set as deactivated when saved
|
330 |
-
* Updated PHP Documentation completely. [View online](http://bungeshea.github.io/code-snippets/api)
|
331 |
* Only load admin functions when viewing dashboard
|
332 |
* Added German translation thanks to [David Decker](http://deckerweb.de)
|
333 |
* Allow or deny site administrators access to snippet admin menus. Set your preference in the **Enable Administration Menus** setting under the *Settings > Network Settings* network admin menu.
|
334 |
* Improve database table creation and upgrade process
|
335 |
* Optimized to use less database queries
|
336 |
|
337 |
-
= 1.7 =
|
338 |
* Improved plugin API
|
339 |
* Fixed a bug with saving snippets per page option ([#](http://wordpress.org/support/topic/plugin-code-snippets-snippets-per-page-does-not-work#post-3710991))
|
340 |
* Updated CodeMirror to version 3.11
|
341 |
* Allow plugin to be activated on individual sites on multisite ([#](http://wordpress.org/support/topic/dont-work-at-multisite))
|
342 |
* Slimmed down the description visual editor
|
343 |
* Added icon for the new MP6 admin UI ([#](http://wordpress.org/support/topic/icon-disappears-with-mp6))
|
344 |
-
* Strip PHP tags from the beginning and end of a snippet
|
345 |
* Changed to [MIT license](http://opensource.org/licenses/mit-license.php)
|
346 |
* Removed HTML, CSS and JavaScript CodeMirror modes that were messing things up
|
|
|
|
|
347 |
* Made everything leaner, faster, and better
|
348 |
|
349 |
-
= 1.6.1 =
|
350 |
* Fixed a bug with permissions not being applied on install ([#](http://wordpress.org/support/topic/permissions-problem-after-install))
|
351 |
* Fixed a bug in the uninstall method ([#](http://wordpress.org/support/topic/bug-in-delete-script))
|
352 |
|
353 |
-
= 1.6 =
|
354 |
* Updated code editor to use CodeMirror 3
|
355 |
* Improved compatibility with Clean Options plugin
|
356 |
* Code improvements and optimization
|
@@ -364,7 +378,7 @@ __Fixed__
|
|
364 |
* Store multisite only options in site options table
|
365 |
* Fixed compatibility bugs with WordPress 3.5
|
366 |
|
367 |
-
= 1.5 =
|
368 |
* Updated CodeMirror to version 2.33
|
369 |
* Updated the 'Manage Snippets' page to use the WP_List_Table class
|
370 |
* Added 'Screen Options' tab to 'Manage Snippets' page
|
@@ -378,39 +392,45 @@ __Fixed__
|
|
378 |
* Lengthened snippet name field to 64 characters ([#](http://wordpress.org/support/topic/plugin-code-snippets-snippet-title-limited-to-36-characters))
|
379 |
* Added i18n
|
380 |
|
381 |
-
= 1.4 =
|
382 |
* Added interface to Network Dashboard
|
383 |
* Updated uninstall to support multisite
|
384 |
* Replaced EditArea with [CodeMirror](http://codemirror.net)
|
385 |
* Small improvements
|
386 |
|
387 |
-
= 1.3.2 =
|
388 |
* Fixed a bug with version 1.3.1
|
389 |
|
390 |
-
= 1.3.1 =
|
391 |
* Changed plugin website URI
|
392 |
* Cleaned up some code
|
393 |
|
394 |
-
= 1.3 =
|
395 |
* Added export option to 'Manage Snippets' page
|
396 |
* Added 'Import Snippets' page
|
397 |
|
398 |
-
= 1.2 =
|
399 |
* Minor improvements
|
400 |
* Added code highlighting
|
401 |
* Removed 'Uninstall Plugin' page
|
402 |
* Data will now be cleaned up when plugin is deleted through WordPress admin
|
403 |
|
404 |
-
= 1.1 =
|
405 |
* Fixed a permissions bug with `DISALLOW_FILE_EDIT` being set to true ([#](http://wordpress.org/support/topic/plugin-code-snippets-cant-add-new))
|
406 |
* Fixed a bug with the page title reading 'Add New Snippet' on the 'Edit Snippets' page
|
407 |
* Fixed a bug not allowing the plugin to be Network Activated ([#](http://wordpress.org/support/topic/plugin-code-snippets-network-activate-does-not-create-snippets-tables))
|
408 |
|
409 |
-
= 1.0 =
|
410 |
* Stable version released.
|
411 |
|
412 |
== Upgrade Notice ==
|
413 |
|
|
|
|
|
|
|
|
|
|
|
|
|
414 |
= 2.7.0 =
|
415 |
Fix translation loading and description importing
|
416 |
|
3 |
Donate link: https://bungeshea.com/donate/
|
4 |
Tags: code-snippets, snippets, code, php, network, multisite
|
5 |
Requires at least: 3.6
|
6 |
+
Tested up to: 4.7
|
7 |
+
Stable tag: 2.8.0
|
8 |
License: MIT
|
9 |
License URI: license.txt
|
10 |
|
26 |
|
27 |
Code Snippets can be used in these different languages thanks to the following translators:
|
28 |
|
29 |
+
* German - [Mario Siegmann](http://web-alltag.de/), [Joerg Knoerchen](http://www.sensorgrafie.de/), and [David Decker](http://deckerweb.de)
|
30 |
+
* Dutch - [Sander Spies](https://github.com/sander1)
|
31 |
* Slovak - [Ján Fajčák](http://wp.sk)
|
32 |
* Russian - [Alexander Samsonov](http://www.wordpressplugins.ru/administration/code-snippets.html)
|
33 |
* Chinese - [Jincheng Shan](http://shanjincheng.com)
|
60 |
= How can I insert my snippet into the post text editor? =
|
61 |
Snippets that you add to this plugin are not meant to be inserted into the text editor. Instead, they are run on your site just as if they were added to your functions.php file.
|
62 |
|
63 |
+
= Do I need to include the <?php, <? or ?> tags in my snippet? =
|
64 |
No, just copy all the content inside those tags. If you accidentally forget (or just like being lazy), the tags will be stripped from the beginning and end of the snippet when you save it. You can, however, use those tags *inside* your snippets to start and end HTML sections
|
65 |
|
66 |
= Help! I just activated a snippet, and my whole site broke! =
|
75 |
= Is there a way to add a snippet but not run it right away? =
|
76 |
Yes. Just add it but do not activate it yet.
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
= Will I lose my snippets if I change the theme or upgrade WordPress? =
|
79 |
No, the snippets are stored in the WordPress database and are independent of the theme and unaffected by WordPress upgrades.
|
80 |
|
108 |
|
109 |
== Changelog ==
|
110 |
|
111 |
+
= 2.8.0 (14 Dec 2016) =
|
112 |
+
* Fixed Italian translation errors. Props to @arsenalemusica
|
113 |
+
* Renamed 'Manage' admin menu label to 'All Snippets' to keep in line with other admin menu labels
|
114 |
+
* Renamed placeholder on snippet name field to 'Enter title here'
|
115 |
+
* Removed CodeMirror search functionality
|
116 |
+
* Moved 'Edit Snippet' admin menu above 'Add New' menu
|
117 |
+
* Made pressing Ctrl-Enter in the code editor save the snippet
|
118 |
+
* Updated CodeMirror to version 5.21.0
|
119 |
+
|
120 |
+
= 2.7.3 (24 Oct 2016) =
|
121 |
+
* Updated CodeMirror to version 5.10.0
|
122 |
+
* Fixed a few strings not being translated
|
123 |
+
|
124 |
+
= 2.7.2 (1 Oct 2016) =
|
125 |
+
* Updated German translation by [Mario Siegmann](http://web-alltag.de)
|
126 |
+
|
127 |
+
= 2.7.1 (30 Sep 2016) =
|
128 |
+
* Added Dutch translation by Sander Spies
|
129 |
+
* Ensured that the editor theme setting is properly validated. Thanks to [Netsparker](https://www.netsparker.com) for reporting.
|
130 |
+
* Ensured that snippet tags are properly escaped. Thanks to [Netsparker](https://www.netsparker.com) for reporting.
|
131 |
+
* Updated CodeMirror to version 5.19.0
|
132 |
+
|
133 |
+
= 2.7.0 (23 July 2016) =
|
134 |
* Fixed plugin translations being loaded
|
135 |
* Increase default snippets per page so that all are usually shown
|
136 |
* Fixed description field not being imported
|
141 |
* Updated CodeMirror to version 5.17.0
|
142 |
* Fixed a minor XSS vulnerability discovered by Burak Kelebek [[#](https://wordpress.org/support/topic/security-vulnerability-20)]
|
143 |
|
144 |
+
= 2.6.1 (10 Feb 2016) =
|
145 |
+
* Updated German translation by [Mario Siegmann](http://web-alltag.de)
|
146 |
* Fixed error catching not working correctly
|
147 |
* Updated error catching to work with snippets including functions and classes
|
|
|
148 |
* Fixed editor autoresizing
|
149 |
|
150 |
+
= 2.6.0 (31 Dec 2015) =
|
151 |
* Reconfigured plugin to use classloader and converted a lot of functional code into OOP code
|
152 |
* Updated CodeMirror to version 5.10.0
|
153 |
* Added `[code_snippets]` shortcode for embedding snippet code in a post
|
154 |
* Fixed broken snippet search feature [[#](https://wordpress.org/support/topic/search-is-not-working-6)]
|
155 |
* Added front-end syntax highlighting for shortcode using [PrismJS](http://prismjs.com)
|
156 |
|
157 |
+
= 2.5.1 (11 Oct 2016) =
|
158 |
* Fixed: Ensure errors are fatal before catching them during error checking
|
159 |
* Fixed: Escape the snippet name on the edit page to ensure it displays correctly
|
160 |
* Fixed: Exclude snippets with named functions from error checking so they do not run twice
|
161 |
|
162 |
+
= 2.5.0 (8 Oct 2015) =
|
163 |
* Added: Detect parse and fatal errors in code when saving a snippet, and display a user-friendly message
|
164 |
* Fixed: Updated access of some methods in Code_Snippets_List_Table class to match updated WP_List_Table class
|
165 |
|
166 |
+
= 2.4.2 (27 Sep 2015) =
|
167 |
* Added query variable to activate safe mode
|
168 |
* Fixed settings not saving
|
169 |
* Fixed snippet descriptions not displaying on manage menu
|
174 |
* Updated editor preview updating code to use vanilla JavaScript instead of jQuery
|
175 |
* Fixed: Deactivate a shared network snippet on all subsites when it looses its sharing status
|
176 |
|
177 |
+
= 2.4.1 (17 Sep 2015) =
|
178 |
+
* Fixed CodeMirror themes not being detected on settings page [[#](https://wordpress.org/support/topic/updated-to-240-now-i-cant-switch-theme)]
|
179 |
|
180 |
+
= 2.4.0 (17 Sep 2015) =
|
181 |
* Added ability to share network snippets to individual sites on WordPress multisite
|
182 |
* Improved code directory and class structure
|
183 |
* Remove legacy code for pre-3.6 compatibility
|
191 |
* Updated CodeMirror to version 5.6
|
192 |
* Removed snippet settings page from network admin
|
193 |
|
194 |
+
= 2.3.0 (20 May 2015) =
|
195 |
* Removed nested functions
|
196 |
* Added icons for admin and front-end snippets to manage table
|
197 |
* Improved settings retrieval by caching settings
|
200 |
* Fixed errors in string translation
|
201 |
* Fixed bug in import process ([#32](https://github.com/sheabunge/code-snippets/issues/32))
|
202 |
|
203 |
+
= 2.2.3 (13 May 2015) =
|
204 |
* Fixed broken call to `export_snippet()` function
|
205 |
* Added support for importing and exporting snippet scope
|
206 |
* Fixed duplicate primary key database error
|
207 |
* Improved database table structure
|
208 |
|
209 |
+
= 2.2.2 (11 May 2015) =
|
210 |
* Polyfilled array_replace_recursive() function for PHP 5.2
|
211 |
* Updated references to old plugin site
|
212 |
* Resolved JavaScript error on edit snippet pages
|
213 |
* Made minor updates to French translation file
|
214 |
* Added statuses for snippet scopes on manage snippets table
|
215 |
|
216 |
+
= 2.2.1 (10 May 2015) =
|
217 |
* Fixed the default values of new setting not being applied
|
218 |
* Fixed missing background of tags input
|
219 |
|
220 |
+
= 2.2.0 (10 May 2015) =
|
221 |
* Introduced CodeSniffer testing on code
|
222 |
* Fixed description heading disappearing when media buttons enabled
|
223 |
* Added snippet scope selector
|
225 |
* Made CodeMirror theme names more readable
|
226 |
* Fixed bug causing translations to not be loaded
|
227 |
|
228 |
+
= 2.1.0 (09 May 2015) =
|
229 |
* Added additional setting descriptions
|
230 |
* Added settings for code and description editor height
|
231 |
* Updated CodeMirror to version 5.2
|
232 |
* Fixed not escaping the request URL when using query arg functions
|
233 |
* Improved efficiency of settings component
|
234 |
|
235 |
+
= 2.0.3 (17 Mar 2015) =
|
236 |
+
* Updated German translation by [Joerg Knoerchen](http://www.sensorgrafie.de/)
|
237 |
|
238 |
+
= 2.0.2 (05 Mar 2015) =
|
239 |
* Fix error in table creation code
|
240 |
* Remove settings database option when plugin is uninstalled
|
241 |
|
242 |
+
= 2.0.1 (25 Feb 2015) =
|
243 |
+
* Fixed table creation code not running on upgrade
|
244 |
+
* Fixed snippets per page option not saving
|
|
|
|
|
|
|
|
|
|
|
245 |
|
246 |
+
= 2.0 (24 Feb 2015) =
|
247 |
+
* __Highlights:__
|
248 |
* Better import/export functionality
|
249 |
* New settings page with code editor settings
|
250 |
* Code rewritten for cleaner and more efficient code
|
251 |
* Lots of new translations
|
252 |
+
* __Added:__
|
|
|
|
|
253 |
* Added link to Code Snippets importer under Snippets admin menu
|
254 |
* Added settings component and admin page
|
255 |
* Added support for different CodeMirror themes
|
261 |
* Added Russian translation by Alexander Samsonov
|
262 |
* Added Slovak translation by [Ján Fajčák] from [WordPress Slovakia](http://wp.sk)
|
263 |
* Added setting to always save and activate snippets by default
|
264 |
+
* __Changed:__
|
|
|
|
|
265 |
* Added braces to single-line conditionals in line with [new coding standards](https://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/)
|
266 |
* Split up large classes into separate functions
|
267 |
* Improved plugin file structure
|
269 |
* Updated CodeMirror library to version 5.0
|
270 |
* Rewritten import/export functionality to use DOMDocument
|
271 |
* Merged Code_Snippets_Export_PHP class into Code_Snippets_Export class
|
272 |
+
* __Deprecated:__
|
|
|
|
|
273 |
* Removed old admin style support
|
274 |
* Removed backwards-compatible support
|
275 |
+
* __Fixed:__
|
|
|
|
|
276 |
* Fixed incompatibility errors with PHP 5.2
|
277 |
* Fixed empty MO translation files
|
278 |
* Removed duplicate MySQL primary key indexing
|
279 |
|
280 |
+
= 1.9.1.1 (3 Jan 2014) =
|
281 |
+
* Add capability check to site snippets importer
|
282 |
+
|
283 |
+
= 1.9.1 (2 Jan 2014) =
|
284 |
+
* Use an icon font for menu icon instead of embedded SVG
|
285 |
+
* Use Sass (libsass) instead of Compass
|
286 |
+
* Unminify CodeMirror scripts
|
287 |
+
* Fixes for the WP 3.8 interface
|
288 |
+
* Fix 'enable snippets menu for site admins' multisite setting
|
289 |
+
|
290 |
+
= 1.9 (11 Nov 2013) =
|
291 |
* Add and remove network capabilities as super admins are added and removed
|
292 |
* Updated MP6 icon implementation
|
293 |
* Replaced buggy trim `<?php` and `?>` functionality with a much more reliable regex method ([#](http://wordpress.org/support/topic/character-gets-cut))
|
311 |
* Fixed CodeMirror incompatibility with the WP Editor plugin
|
312 |
* Fixed CodeMirror incompatibility with the Debug Bar Console plugin
|
313 |
|
314 |
+
= 1.8.1.1 (18 Aug 2013) =
|
315 |
+
|
316 |
+
= 1.8.1 (29 July 2013) =
|
317 |
* Compiled all CodeMirror scripts into a single file
|
318 |
* Use Sass + Compass for CSS
|
319 |
* Use Grunt for build automation
|
321 |
* Fixed code typo that was breaking export files
|
322 |
* Updated CodeMirror to 3.15
|
323 |
|
324 |
+
= 1.8 (9 July 2013) =
|
325 |
* Allow no snippet name or code to be set
|
326 |
* Prevented an error on fresh multisite installations
|
327 |
* Refactored code to use best practices
|
328 |
* Improved database table creation method: on a single-site install, the snippets table will always be created. On a multisite install, the network snippets table will always be created; the site-specific table will always be created for the main site; for sub-sites the snippets table will only be created on a visit to a snippets admin page.
|
329 |
* Updated to CodeMirror 3.14
|
330 |
+
* Changes to filter and action hook API
|
331 |
* Added error message handling for import snippets page
|
332 |
* Don't encode HTML entities in database
|
333 |
|
334 |
+
= 1.7.1.2 (3 May 2013) =
|
335 |
+
* Correct path to admin menu icon. Fixes [#8](https://github.com/sheabunge/code-snippets/issues/8)
|
336 |
|
337 |
+
= 1.7.1.1 (29 April 2013) =
|
338 |
+
* Fixed a bug with custom capabilities and admin menus
|
339 |
|
340 |
+
= 1.7.1 (22 April 2013) =
|
341 |
* Fix a bug with snippet being set as deactivated when saved
|
342 |
+
* Updated PHP Documentation completely. [[View online](http://bungeshea.github.io/code-snippets/api)]
|
343 |
* Only load admin functions when viewing dashboard
|
344 |
* Added German translation thanks to [David Decker](http://deckerweb.de)
|
345 |
* Allow or deny site administrators access to snippet admin menus. Set your preference in the **Enable Administration Menus** setting under the *Settings > Network Settings* network admin menu.
|
346 |
* Improve database table creation and upgrade process
|
347 |
* Optimized to use less database queries
|
348 |
|
349 |
+
= 1.7 (26 Mar 2013) =
|
350 |
* Improved plugin API
|
351 |
* Fixed a bug with saving snippets per page option ([#](http://wordpress.org/support/topic/plugin-code-snippets-snippets-per-page-does-not-work#post-3710991))
|
352 |
* Updated CodeMirror to version 3.11
|
353 |
* Allow plugin to be activated on individual sites on multisite ([#](http://wordpress.org/support/topic/dont-work-at-multisite))
|
354 |
* Slimmed down the description visual editor
|
355 |
* Added icon for the new MP6 admin UI ([#](http://wordpress.org/support/topic/icon-disappears-with-mp6))
|
356 |
+
* Strip PHP tags from the beginning and end of a snippet on save ([#](http://wordpress.org/support/topic/php-tags))
|
357 |
* Changed to [MIT license](http://opensource.org/licenses/mit-license.php)
|
358 |
* Removed HTML, CSS and JavaScript CodeMirror modes that were messing things up
|
359 |
+
* Change label in admin menu when editing a snippet
|
360 |
+
* Improved admin styling
|
361 |
* Made everything leaner, faster, and better
|
362 |
|
363 |
+
= 1.6.1 (29 Dec 2012) =
|
364 |
* Fixed a bug with permissions not being applied on install ([#](http://wordpress.org/support/topic/permissions-problem-after-install))
|
365 |
* Fixed a bug in the uninstall method ([#](http://wordpress.org/support/topic/bug-in-delete-script))
|
366 |
|
367 |
+
= 1.6 (22 Dec 2012) =
|
368 |
* Updated code editor to use CodeMirror 3
|
369 |
* Improved compatibility with Clean Options plugin
|
370 |
* Code improvements and optimization
|
378 |
* Store multisite only options in site options table
|
379 |
* Fixed compatibility bugs with WordPress 3.5
|
380 |
|
381 |
+
= 1.5 (18 Sep 2012) =
|
382 |
* Updated CodeMirror to version 2.33
|
383 |
* Updated the 'Manage Snippets' page to use the WP_List_Table class
|
384 |
* Added 'Screen Options' tab to 'Manage Snippets' page
|
392 |
* Lengthened snippet name field to 64 characters ([#](http://wordpress.org/support/topic/plugin-code-snippets-snippet-title-limited-to-36-characters))
|
393 |
* Added i18n
|
394 |
|
395 |
+
= 1.4 (20 Aug 2012) =
|
396 |
* Added interface to Network Dashboard
|
397 |
* Updated uninstall to support multisite
|
398 |
* Replaced EditArea with [CodeMirror](http://codemirror.net)
|
399 |
* Small improvements
|
400 |
|
401 |
+
= 1.3.2 (17 Aug 2012) =
|
402 |
* Fixed a bug with version 1.3.1
|
403 |
|
404 |
+
= 1.3.1 (17 Aug 2012) =
|
405 |
* Changed plugin website URI
|
406 |
* Cleaned up some code
|
407 |
|
408 |
+
= 1.3 (1 Aug 2012) =
|
409 |
* Added export option to 'Manage Snippets' page
|
410 |
* Added 'Import Snippets' page
|
411 |
|
412 |
+
= 1.2 (29 July 2012) =
|
413 |
* Minor improvements
|
414 |
* Added code highlighting
|
415 |
* Removed 'Uninstall Plugin' page
|
416 |
* Data will now be cleaned up when plugin is deleted through WordPress admin
|
417 |
|
418 |
+
= 1.1 (24 June 2012) =
|
419 |
* Fixed a permissions bug with `DISALLOW_FILE_EDIT` being set to true ([#](http://wordpress.org/support/topic/plugin-code-snippets-cant-add-new))
|
420 |
* Fixed a bug with the page title reading 'Add New Snippet' on the 'Edit Snippets' page
|
421 |
* Fixed a bug not allowing the plugin to be Network Activated ([#](http://wordpress.org/support/topic/plugin-code-snippets-network-activate-does-not-create-snippets-tables))
|
422 |
|
423 |
+
= 1.0 (13 June 2012) =
|
424 |
* Stable version released.
|
425 |
|
426 |
== Upgrade Notice ==
|
427 |
|
428 |
+
= 2.8.0 =
|
429 |
+
Interface tweaks
|
430 |
+
|
431 |
+
= 2.7.2 =
|
432 |
+
Update to German translation by Mario Siegmann
|
433 |
+
|
434 |
= 2.7.0 =
|
435 |
Fix translation loading and description importing
|
436 |
|