├── .editorconfig ├── .gitignore ├── .jshintrc ├── CONTRIBUTING.md ├── Gruntfile.js ├── LICENSE.md ├── README.md ├── bootstrap ├── css │ ├── bootstrap-theme.css │ ├── bootstrap-theme.css.map │ ├── bootstrap-theme.min.css │ ├── bootstrap.css │ ├── bootstrap.css.map │ └── bootstrap.min.css ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ └── glyphicons-halflings-regular.woff └── js │ ├── bootstrap.js │ └── bootstrap.min.js ├── css-gradient-generator.jquery.json ├── dist ├── css-gradient-generator.css ├── css-gradient-generator.js ├── css-gradient-generator.min.css └── css-gradient-generator.min.js ├── gradient.php ├── index.html ├── package.json ├── resources ├── LICENSE.md ├── bootstrap-colorpickersliders │ ├── bootstrap.colorpickersliders.css │ └── bootstrap.colorpickersliders.js ├── bootstrap-touchspin │ └── bootstrap.touchspin.js ├── favicon.ico ├── icomoon │ ├── sprites-000.png │ ├── sprites-999.png │ ├── sprites-fff.png │ ├── sprites-old.css │ └── sprites.css ├── img.old │ ├── bg-color.png │ ├── bg-menu-selected.png │ ├── bg-menu.png │ ├── bootstrap-duallistbox.png │ ├── jquery-colorpickersliders.png │ ├── virtuosoft-logo.png │ └── virtuosoft-logo2.png ├── jquery-1.11.0.min.js ├── jquery-1.11.0.min.map ├── jquery.base64 │ └── jquery.base64.min.js ├── modernizr │ └── modernizr-custom.min.js ├── prettify │ ├── lang-apollo.js │ ├── lang-clj.js │ ├── lang-css.js │ ├── lang-go.js │ ├── lang-hs.js │ ├── lang-lisp.js │ ├── lang-lua.js │ ├── lang-ml.js │ ├── lang-n.js │ ├── lang-proto.js │ ├── lang-scala.js │ ├── lang-sql.js │ ├── lang-tex.js │ ├── lang-vb.js │ ├── lang-vhdl.js │ ├── lang-wiki.js │ ├── lang-xq.js │ ├── lang-yaml.js │ ├── prettify.css │ └── prettify.js ├── qrcode │ └── qrcode.min.js ├── site.css ├── syntaxhighlighter │ └── 3.0.83 │ │ ├── shBrushCss.js │ │ ├── shBrushJScript.js │ │ ├── shCore.css │ │ ├── shCore.js │ │ └── shThemeDefault.css ├── tinycolor │ └── tinycolor.js └── zeroclipboard │ ├── ZeroClipboard.js │ ├── ZeroClipboard.min.js │ └── ZeroClipboard.swf ├── src ├── css-gradient-generator.css └── css-gradient-generator.js └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- 1 | # This file is for unifying the coding style for different editors and IDEs 2 | # editorconfig.org 3 | 4 | root = true 5 | 6 | [*] 7 | indent_style = space 8 | indent_size = 2 9 | end_of_line = lf 10 | charset = utf-8 11 | trim_trailing_whitespace = true 12 | insert_final_newline = true 13 | 14 | [*.md] 15 | trim_trailing_whitespace = false 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .hg 2 | .git 3 | .hgignore 4 | .hgtags 5 | .idea 6 | nbproject 7 | node_modules 8 | index_demo_site.html 9 | _gradients 10 | 11 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "boss": true, 3 | "curly": true, 4 | "eqeqeq": true, 5 | "eqnull": true, 6 | "expr": true, 7 | "immed": true, 8 | "noarg": true, 9 | "onevar": false, 10 | "quotmark": "single", 11 | "smarttabs": true, 12 | "trailing": true, 13 | "unused": true, 14 | "node": true, 15 | "globals": { 16 | "document": true, 17 | "window": true, 18 | "localStorage": true, 19 | "$": true, 20 | "jQuery": true 21 | }, 22 | "exported": ["CSSGradientEditor"] 23 | } 24 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Before sending a pull request remember to follow [jQuery Core Style Guide](http://contribute.jquery.org/style-guide/js/). 4 | 5 | 1. Fork it! 6 | 2. Create your feature branch: `git checkout -b my-new-feature` 7 | 3. Make your changes on the `src` folder, never on the `dist` folder. 8 | 4. Commit your changes: `git commit -m 'Add some feature'` 9 | 5. Push to the branch: `git push origin my-new-feature` 10 | 6. Submit a pull request :D 11 | -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function (grunt) { 2 | 3 | grunt.initConfig({ 4 | 5 | // Import package manifest 6 | pkg: grunt.file.readJSON("css-gradient-generator.jquery.json"), 7 | 8 | // Banner definitions 9 | meta: { 10 | banner: "/*\n" + 11 | " * <%= pkg.title || pkg.name %>\n" + 12 | " * v<%= pkg.version %>\n" + 13 | " * <%= pkg.description %>\n" + 14 | " * <%= pkg.homepage %>\n" + 15 | " *\n" + 16 | " * Made by Virtuosoft:\n" + 17 | " * István Ujj-Mészáros - https://github.com/istvan-ujjmeszaros\n" + 18 | " * Ferenc Fapál - http://twitter.com/fwoodpaul\n" + 19 | " *\n" + 20 | " * Thanks for the following persons:\n" + 21 | " * Tibor Szász - https://github.com/kowdermeister\n" + 22 | " * László Sotus - https://github.com/Lacisan\n" + 23 | " *\n" + 24 | " * Under <%= pkg.licenses[0].type %> License\n" + 25 | " * To view a copy of this license, visit\n" + 26 | " * http://creativecommons.org/licenses/by-nc-sa/4.0/deed.en_US.\n" + 27 | " */\n" 28 | }, 29 | 30 | // Concat definitions 31 | concat: { 32 | js: { 33 | src: ["src/css-gradient-generator.js"], 34 | dest: "dist/css-gradient-generator.js" 35 | }, 36 | css: { 37 | src: ["src/css-gradient-generator.css"], 38 | dest: "dist/css-gradient-generator.css" 39 | }, 40 | options: { 41 | banner: "<%= meta.banner %>" 42 | } 43 | }, 44 | 45 | // Lint definitions 46 | jshint: { 47 | files: ["src/css-gradient-generator.js"], 48 | options: { 49 | jshintrc: ".jshintrc" 50 | } 51 | }, 52 | 53 | // Minify definitions 54 | uglify: { 55 | js: { 56 | src: ["dist/css-gradient-generator.js"], 57 | dest: "dist/css-gradient-generator.min.js" 58 | }, 59 | options: { 60 | banner: "<%= meta.banner %>" 61 | } 62 | }, 63 | 64 | cssmin: { 65 | css: { 66 | src: ["dist/css-gradient-generator.css"], 67 | dest: "dist/css-gradient-generator.min.css" 68 | }, 69 | options: { 70 | banner: "<%= meta.banner %>" 71 | } 72 | } 73 | }); 74 | 75 | grunt.loadNpmTasks("grunt-contrib-concat"); 76 | grunt.loadNpmTasks("grunt-contrib-jshint"); 77 | grunt.loadNpmTasks("grunt-contrib-uglify"); 78 | grunt.loadNpmTasks("grunt-contrib-cssmin"); 79 | 80 | grunt.registerTask("default", ["jshint", "concat", "uglify", "cssmin"]); 81 | grunt.registerTask("travis", ["jshint"]); 82 | 83 | }; 84 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | CSS Gradient Generator 2 | 3 | CSS gradient generator with the best browser support. Three different layouts to meet Your requirement (from simple linear to complex radial gradients). 4 | 5 | - https://github.com/Virtuosoft/css-gradient-generator 6 | - http://www.virtuosoft.eu/tools/css-gradient-generator/ 7 | 8 | Copyright 2015-2022 István Ujj-Mészáros 9 | 10 | This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. 11 | 12 | https://creativecommons.org/licenses/by-nc-sa/4.0/ 13 | 14 | Unless required by applicable law or agreed to in writing, software 15 | distributed under the License is distributed on an "AS IS" BASIS, 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | See the License for the specific language governing permissions and 18 | limitations under the License. 19 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CSS Gradient Generator 2 | 3 | CSS gradient generator with the best browser support. Three different layouts to meet Your requirement (from simple linear to complex radial gradients). 4 | 5 | - [Website](http://www.virtuosoft.eu/tools/css-gradient-generator/) 6 | 7 | Please report issues and feel free to make feature suggestions as well. 8 | -------------------------------------------------------------------------------- /bootstrap/css/bootstrap-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.1.0 (http://getbootstrap.com) 3 | * Copyright 2011-2014 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | 7 | .btn-default, 8 | .btn-primary, 9 | .btn-success, 10 | .btn-info, 11 | .btn-warning, 12 | .btn-danger { 13 | text-shadow: 0 -1px 0 rgba(0, 0, 0, .2); 14 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); 15 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); 16 | } 17 | .btn-default:active, 18 | .btn-primary:active, 19 | .btn-success:active, 20 | .btn-info:active, 21 | .btn-warning:active, 22 | .btn-danger:active, 23 | .btn-default.active, 24 | .btn-primary.active, 25 | .btn-success.active, 26 | .btn-info.active, 27 | .btn-warning.active, 28 | .btn-danger.active { 29 | -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); 30 | box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); 31 | } 32 | .btn:active, 33 | .btn.active { 34 | background-image: none; 35 | } 36 | .btn-default { 37 | text-shadow: 0 1px 0 #fff; 38 | background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%); 39 | background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%); 40 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0); 41 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 42 | background-repeat: repeat-x; 43 | border-color: #dbdbdb; 44 | border-color: #ccc; 45 | } 46 | .btn-default:hover, 47 | .btn-default:focus { 48 | background-color: #e0e0e0; 49 | background-position: 0 -15px; 50 | } 51 | .btn-default:active, 52 | .btn-default.active { 53 | background-color: #e0e0e0; 54 | border-color: #dbdbdb; 55 | } 56 | .btn-primary { 57 | background-image: -webkit-linear-gradient(top, #428bca 0%, #2d6ca2 100%); 58 | background-image: linear-gradient(to bottom, #428bca 0%, #2d6ca2 100%); 59 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0); 60 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 61 | background-repeat: repeat-x; 62 | border-color: #2b669a; 63 | } 64 | .btn-primary:hover, 65 | .btn-primary:focus { 66 | background-color: #2d6ca2; 67 | background-position: 0 -15px; 68 | } 69 | .btn-primary:active, 70 | .btn-primary.active { 71 | background-color: #2d6ca2; 72 | border-color: #2b669a; 73 | } 74 | .btn-success { 75 | background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%); 76 | background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%); 77 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0); 78 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 79 | background-repeat: repeat-x; 80 | border-color: #3e8f3e; 81 | } 82 | .btn-success:hover, 83 | .btn-success:focus { 84 | background-color: #419641; 85 | background-position: 0 -15px; 86 | } 87 | .btn-success:active, 88 | .btn-success.active { 89 | background-color: #419641; 90 | border-color: #3e8f3e; 91 | } 92 | .btn-info { 93 | background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%); 94 | background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%); 95 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0); 96 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 97 | background-repeat: repeat-x; 98 | border-color: #28a4c9; 99 | } 100 | .btn-info:hover, 101 | .btn-info:focus { 102 | background-color: #2aabd2; 103 | background-position: 0 -15px; 104 | } 105 | .btn-info:active, 106 | .btn-info.active { 107 | background-color: #2aabd2; 108 | border-color: #28a4c9; 109 | } 110 | .btn-warning { 111 | background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%); 112 | background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%); 113 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0); 114 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 115 | background-repeat: repeat-x; 116 | border-color: #e38d13; 117 | } 118 | .btn-warning:hover, 119 | .btn-warning:focus { 120 | background-color: #eb9316; 121 | background-position: 0 -15px; 122 | } 123 | .btn-warning:active, 124 | .btn-warning.active { 125 | background-color: #eb9316; 126 | border-color: #e38d13; 127 | } 128 | .btn-danger { 129 | background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%); 130 | background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%); 131 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0); 132 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 133 | background-repeat: repeat-x; 134 | border-color: #b92c28; 135 | } 136 | .btn-danger:hover, 137 | .btn-danger:focus { 138 | background-color: #c12e2a; 139 | background-position: 0 -15px; 140 | } 141 | .btn-danger:active, 142 | .btn-danger.active { 143 | background-color: #c12e2a; 144 | border-color: #b92c28; 145 | } 146 | .thumbnail, 147 | .img-thumbnail { 148 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075); 149 | box-shadow: 0 1px 2px rgba(0, 0, 0, .075); 150 | } 151 | .dropdown-menu > li > a:hover, 152 | .dropdown-menu > li > a:focus { 153 | background-color: #e8e8e8; 154 | background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); 155 | background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); 156 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); 157 | background-repeat: repeat-x; 158 | } 159 | .dropdown-menu > .active > a, 160 | .dropdown-menu > .active > a:hover, 161 | .dropdown-menu > .active > a:focus { 162 | background-color: #357ebd; 163 | background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%); 164 | background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%); 165 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0); 166 | background-repeat: repeat-x; 167 | } 168 | .navbar-default { 169 | background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%); 170 | background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%); 171 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0); 172 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 173 | background-repeat: repeat-x; 174 | border-radius: 4px; 175 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075); 176 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075); 177 | } 178 | .navbar-default .navbar-nav > .active > a { 179 | background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%); 180 | background-image: linear-gradient(to bottom, #ebebeb 0%, #f3f3f3 100%); 181 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0); 182 | background-repeat: repeat-x; 183 | -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075); 184 | box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075); 185 | } 186 | .navbar-brand, 187 | .navbar-nav > li > a { 188 | text-shadow: 0 1px 0 rgba(255, 255, 255, .25); 189 | } 190 | .navbar-inverse { 191 | background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%); 192 | background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%); 193 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0); 194 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 195 | background-repeat: repeat-x; 196 | } 197 | .navbar-inverse .navbar-nav > .active > a { 198 | background-image: -webkit-linear-gradient(top, #222 0%, #282828 100%); 199 | background-image: linear-gradient(to bottom, #222 0%, #282828 100%); 200 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0); 201 | background-repeat: repeat-x; 202 | -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25); 203 | box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25); 204 | } 205 | .navbar-inverse .navbar-brand, 206 | .navbar-inverse .navbar-nav > li > a { 207 | text-shadow: 0 -1px 0 rgba(0, 0, 0, .25); 208 | } 209 | .navbar-static-top, 210 | .navbar-fixed-top, 211 | .navbar-fixed-bottom { 212 | border-radius: 0; 213 | } 214 | .alert { 215 | text-shadow: 0 1px 0 rgba(255, 255, 255, .2); 216 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05); 217 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05); 218 | } 219 | .alert-success { 220 | background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%); 221 | background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%); 222 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0); 223 | background-repeat: repeat-x; 224 | border-color: #b2dba1; 225 | } 226 | .alert-info { 227 | background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%); 228 | background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%); 229 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0); 230 | background-repeat: repeat-x; 231 | border-color: #9acfea; 232 | } 233 | .alert-warning { 234 | background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%); 235 | background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%); 236 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0); 237 | background-repeat: repeat-x; 238 | border-color: #f5e79e; 239 | } 240 | .alert-danger { 241 | background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%); 242 | background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%); 243 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0); 244 | background-repeat: repeat-x; 245 | border-color: #dca7a7; 246 | } 247 | .progress { 248 | background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%); 249 | background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%); 250 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0); 251 | background-repeat: repeat-x; 252 | } 253 | .progress-bar { 254 | background-image: -webkit-linear-gradient(top, #428bca 0%, #3071a9 100%); 255 | background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%); 256 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0); 257 | background-repeat: repeat-x; 258 | } 259 | .progress-bar-success { 260 | background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%); 261 | background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%); 262 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0); 263 | background-repeat: repeat-x; 264 | } 265 | .progress-bar-info { 266 | background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); 267 | background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%); 268 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0); 269 | background-repeat: repeat-x; 270 | } 271 | .progress-bar-warning { 272 | background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); 273 | background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%); 274 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0); 275 | background-repeat: repeat-x; 276 | } 277 | .progress-bar-danger { 278 | background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%); 279 | background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%); 280 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0); 281 | background-repeat: repeat-x; 282 | } 283 | .list-group { 284 | border-radius: 4px; 285 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075); 286 | box-shadow: 0 1px 2px rgba(0, 0, 0, .075); 287 | } 288 | .list-group-item.active, 289 | .list-group-item.active:hover, 290 | .list-group-item.active:focus { 291 | text-shadow: 0 -1px 0 #3071a9; 292 | background-image: -webkit-linear-gradient(top, #428bca 0%, #3278b3 100%); 293 | background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%); 294 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0); 295 | background-repeat: repeat-x; 296 | border-color: #3278b3; 297 | } 298 | .panel { 299 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05); 300 | box-shadow: 0 1px 2px rgba(0, 0, 0, .05); 301 | } 302 | .panel-default > .panel-heading { 303 | background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); 304 | background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); 305 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); 306 | background-repeat: repeat-x; 307 | } 308 | .panel-primary > .panel-heading { 309 | background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%); 310 | background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%); 311 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0); 312 | background-repeat: repeat-x; 313 | } 314 | .panel-success > .panel-heading { 315 | background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); 316 | background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%); 317 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0); 318 | background-repeat: repeat-x; 319 | } 320 | .panel-info > .panel-heading { 321 | background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); 322 | background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%); 323 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0); 324 | background-repeat: repeat-x; 325 | } 326 | .panel-warning > .panel-heading { 327 | background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); 328 | background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%); 329 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0); 330 | background-repeat: repeat-x; 331 | } 332 | .panel-danger > .panel-heading { 333 | background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%); 334 | background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%); 335 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0); 336 | background-repeat: repeat-x; 337 | } 338 | .well { 339 | background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%); 340 | background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%); 341 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0); 342 | background-repeat: repeat-x; 343 | border-color: #dcdcdc; 344 | -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1); 345 | box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1); 346 | } 347 | /*# sourceMappingURL=bootstrap-theme.css.map */ 348 | -------------------------------------------------------------------------------- /bootstrap/css/bootstrap-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.1.0 (http://getbootstrap.com) 3 | * Copyright 2011-2014 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | 7 | .btn-default,.btn-primary,.btn-success,.btn-info,.btn-warning,.btn-danger{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-default:active,.btn-primary:active,.btn-success:active,.btn-info:active,.btn-warning:active,.btn-danger:active,.btn-default.active,.btn-primary.active,.btn-success.active,.btn-info.active,.btn-warning.active,.btn-danger.active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn:active,.btn.active{background-image:none}.btn-default{background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#dbdbdb;text-shadow:0 1px 0 #fff;border-color:#ccc}.btn-default:hover,.btn-default:focus{background-color:#e0e0e0;background-position:0 -15px}.btn-default:active,.btn-default.active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-primary{background-image:-webkit-linear-gradient(top,#428bca 0,#2d6ca2 100%);background-image:linear-gradient(to bottom,#428bca 0,#2d6ca2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#2b669a}.btn-primary:hover,.btn-primary:focus{background-color:#2d6ca2;background-position:0 -15px}.btn-primary:active,.btn-primary.active{background-color:#2d6ca2;border-color:#2b669a}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#3e8f3e}.btn-success:hover,.btn-success:focus{background-color:#419641;background-position:0 -15px}.btn-success:active,.btn-success.active{background-color:#419641;border-color:#3e8f3e}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#28a4c9}.btn-info:hover,.btn-info:focus{background-color:#2aabd2;background-position:0 -15px}.btn-info:active,.btn-info.active{background-color:#2aabd2;border-color:#28a4c9}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#e38d13}.btn-warning:hover,.btn-warning:focus{background-color:#eb9316;background-position:0 -15px}.btn-warning:active,.btn-warning.active{background-color:#eb9316;border-color:#e38d13}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#b92c28}.btn-danger:hover,.btn-danger:focus{background-color:#c12e2a;background-position:0 -15px}.btn-danger:active,.btn-danger.active{background-color:#c12e2a;border-color:#b92c28}.thumbnail,.img-thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-color:#e8e8e8}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);background-color:#357ebd}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-default .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f3f3f3 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f3f3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.navbar-inverse .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#222 0,#282828 100%);background-image:linear-gradient(to bottom,#222 0,#282828 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-static-top,.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}.alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);border-color:#b2dba1}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);border-color:#9acfea}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);border-color:#f5e79e}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);border-color:#dca7a7}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0)}.progress-bar{background-image:-webkit-linear-gradient(top,#428bca 0,#3071a9 100%);background-image:linear-gradient(to bottom,#428bca 0,#3071a9 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0)}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0)}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0)}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0)}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{text-shadow:0 -1px 0 #3071a9;background-image:-webkit-linear-gradient(top,#428bca 0,#3278b3 100%);background-image:linear-gradient(to bottom,#428bca 0,#3278b3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0);border-color:#3278b3}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0)}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0)}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0)}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0)}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);border-color:#dcdcdc;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)} -------------------------------------------------------------------------------- /bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /css-gradient-generator.jquery.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "css-gradient-generator", 3 | "title": "CSS Gradient Generator", 4 | "description": "CSS gradient generator with the best browser support. Three different layouts to meet Your requirement (from simple linear to complex radial gradients).", 5 | "keywords": [ 6 | "generator", 7 | "css", 8 | "bootstrap", 9 | "responsive", 10 | "widget" 11 | ], 12 | "version": "2.2.1", 13 | "author": { 14 | "name": "Istvan Ujj-Meszaros", 15 | "url": "https://github.com/istvan-ujjmeszaros" 16 | }, 17 | "licenses": [ 18 | { 19 | "type": "CC BY-NC-SA 4.0", 20 | "url": "https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en_US" 21 | } 22 | ], 23 | "homepage": "https://www.virtuosoft.eu/tools/css-gradient-generator/", 24 | "demo": "https://www.virtuosoft.eu/tools/css-gradient-generator/", 25 | "docs": "https://www.virtuosoft.eu/tools/css-gradient-generator/", 26 | "download": "https://github.com/istvan-ujjmeszaros/css-gradient-generator/archive/master.zip", 27 | "dependencies": { 28 | "jquery": ">=1.7" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /dist/css-gradient-generator.min.css: -------------------------------------------------------------------------------- 1 | @import url(https://fonts.googleapis.com/css?family=Droid+Sans|Monda);@media (min-width:768px){.container{width:100%}}body{font-family:'Droid Sans',sans-serif}.row.license{margin-bottom:15px;font-size:12px}.row.header{font-size:12px}.row.toolbar{margin-bottom:20px}h1{font-size:36px}h2{font-size:24px}h3{font-size:21px}h4{font-size:18px}h5{font-size:16px}.well h1,.well h2,.well h3,.well h4,.well h5{font-size:15px}.fb_iframe_widget{z-index:3}h1,h2,h3,h4,h5,h6{font-family:Monda}.css-gradient-editor-container{width:100%;padding-bottom:0;margin-top:15px}.btn.btn-hover{background-color:transparent;color:#333}.well.light{background:#fff;margin:0 0 10px;padding:5px}.well.light h2{font-size:15px;font-weight:700;padding:10px;margin:0;border-bottom:1px dotted #ddd}.well.light .content{background:#fcfcfc;padding:15px 15px 5px;margin:0}.well.light .content p{margin:0 0 10px}.css-gradient-editor-container .css-gradient-editor-colorpickerarea{max-width:370px;margin-top:20px}.css-gradient-editor-container .css-gradient-editor-preferences{clear:both}.css-gradient-editor-container .css-gradient-editor-preview-container{width:100%;position:relative}.css-gradient-editor-container .css-gradient-editor-preview-container .css-gradient-controls{position:absolute;right:5px;top:5px}.css-gradient-editor-container .css-gradient-editor-preview-container .css-gradient-controls .btn{background:rgba(0,0,0,.2);-webkit-box-shadow:none;box-shadow:none;border:none;border-radius:3px;padding:5px 5px 5px 9px}.css-gradient-editor-container .css-gradient-editor-colorstops-advanced{width:100%;clear:both}.css-gradient-editor-container .css-gradient-editor-common-preferences{margin-bottom:15px}.css-gradient-editor-container .css-gradient-editor-preview-container .css-gradient-editor-preview{height:197px;max-width:100%;border:1px solid #ddd}.css-gradient-editor-container .css-gradient-editor-preview-container .css-gradient-editor-preview div{height:100%;padding:5px;font-family:"Courier New",monospace;position:relative}.css-gradient-editor-container .css-gradient-editor-cssoutput-container,.css-gradient-editor-textarea-exportall,.css-gradient-editor-textarea-import{width:100%;border-color:#ddd;font-size:12px}.css-gradient-editor-textarea-exportall,.css-gradient-editor-textarea-import{height:200px;overflow:auto}.css-gradient-editor-container .color-stop div,.css-gradient-editor-container .css-gradient-editor-preset,.css-gradient-editor-container .css-gradient-editor-preview{background:#fff url(data:image/gif;base64,R0lGODlhBgAGAIABAMPDw////yH5BAEKAAEALAAAAAAGAAYAAAIKhIMGGMrs0pGgAAA7) repeat}.css-gradient-editor-container .color-stop div{width:100%;height:100%;border-radius:99px}.css-gradient-editor-container .css-gradient-editor-stopeditor{width:auto;height:15px;border:1px solid #fff;margin:5px 0 20px;-webkit-border-radius:9999px;-moz-border-radius:9999px;border-radius:9999px;background:#d1d4d6;box-shadow:inset 0 0 7px rgba(0,0,0,.1)}.css-gradient-editor-container .css-gradient-editor-stopeditor span{display:block;width:100%;height:100%}.css-gradient-editor-container .css-gradient-editor-stoppointmarkers{width:auto;height:30px;border:1px solid transparent;margin:0 0;position:relative;cursor:crosshair;top:-20px}.css-gradient-editor-container .css-gradient-editor-opacityarea{width:auto;height:20px;background-color:rgba(255,255,255,.2);border:1px solid transparent;margin:0 7px;position:relative}.css-gradient-editor-container .color-stop{position:absolute;width:25px;height:25px;margin-left:-11px;border:1px solid #ddd;cursor:move;-webkit-box-shadow:0 0 3px rgba(0,0,0,.1);-moz-box-shadow:0 0 3px rgba(0,0,0,.1);box-shadow:0 0 3px rgba(0,0,0,.1);border-radius:9999px;overflow:hidden;padding:3px;background:#fff}.css-gradient-editor-container .selected{border-color:#777;-webkit-box-shadow:0 0 5px #fa8000;-moz-box-shadow:0 0 5px #fa8000;box-shadow:0 0 5px #fa8000;z-index:2}.css-gradient-editor-container .css-gradient-editor-swatches li.actual .css-gradient-editor-preset{border-color:#777;-webkit-box-shadow:0 0 5px #fa8000;-moz-box-shadow:0 0 5px #fa8000;box-shadow:0 0 5px #fa8000}.css-gradient-editor-container .color-stop span{display:block;border-radius:9999px;-webkit-box-shadow:inset 0 0 3px rgba(0,0,0,.1);-moz-box-shadow:inset 0 0 3px rgba(0,0,0,.1);box-shadow:inset 0 0 3px rgba(0,0,0,.1)}.css-gradient-editor-container .sp-palette-container{float:right;min-width:161px}.css-gradient-editor-container .css-gradient-editor-linear-direction{color:#ccc}.css-gradient-editor-linear-direction-implicit{width:120px;position:relative;display:inline-block}.css-gradient-editor-linear-direction-implicit .btn{margin:0 6px 0 0}.css-gradient-editor-linear-direction-explicit{display:inline-block;margin-left:20px}.css-gradient-editor-container .css-gradient-editor-linear-direction button{width:31px}.css-gradient-editor-container .css-gradient-editor-linear-direction .btn-row{margin:0 0 10px 0}.css-gradient-editor-container span[class*=css-gradient-editor-direction-]{width:20px;height:20px;border:1px solid #ccc;border-radius:5px;position:relative}.css-gradient-editor-container .css-gradient-editor-direction-right{margin-left:41px}.css-gradient-editor-container .css-gradient-editor-controller.css-gradient-editor-direction-angle-input{width:auto;height:auto;border:none}.css-gradient-editor-container .css-gradient-editor-controller,.css-gradient-editor-container .css-gradient-editor-controller .btn{color:#707070;cursor:pointer}.css-gradient-editor-container .css-gradient-editor-controller.active,.css-gradient-editor-container .css-gradient-editor-controller.active .btn,.css-gradient-editor-container .css-gradient-editor-controller.active .input-group-addon,.css-gradient-editor-container .css-gradient-editor-controller:hover .bootstrap-touchspin .btn,.css-gradient-editor-container .css-gradient-editor-controller:hover .bootstrap-touchspin .input-group-addon{color:#fff;background-color:#3396e7}.css-gradient-editor-container .css-gradient-editor-controller.css-gradient-editor-size-explicit.active,.css-gradient-editor-container .css-gradient-editor-controller.css-gradient-editor-size-explicit:hover{background-color:transparent}.css-gradient-editor-container .css-gradient-editor-controller.active .bootstrap-touchspin .btn,.css-gradient-editor-container .css-gradient-editor-controller.active .bootstrap-touchspin .input-group-addon,.css-gradient-editor-container .css-gradient-editor-controller.active.css-gradient-editor-direction-angle,.css-gradient-editor-container .css-gradient-editor-controller.css-gradient-editor-direction-angle:hover,.css-gradient-editor-container .css-gradient-editor-controller:hover .bootstrap-touchspin .btn,.css-gradient-editor-container .css-gradient-editor-controller:hover .bootstrap-touchspin .input-group-addon{border-color:#05619c}.css-gradient-editor-container span.css-gradient-editor-direction-angle{width:40px;height:40px;border-radius:40px;margin-left:45px;margin-bottom:24px;background:#fff;display:block;border-width:2px}.css-gradient-editor-container .css-gradient-editor-direction-angle-input .bootstrap-touchspin{width:125px}.css-gradient-editor-container .css-gradient-editor-direction-angle-input .bootstrap-touchspin .input-group-addon{width:19px}.css-gradient-editor-container .css-gradient-editor-direction-angle span{display:block;width:2px;height:15px;position:absolute;left:17px;bottom:17px;background-color:#ccc;-ms-transform:rotate(0);-webkit-transform:rotate(0);transform:rotate(0);-ms-transform-origin:1px 14px;-webkit-transform-origin:1px 14px;transform-origin:1px 14px}.css-gradient-editor-container .css-gradient-editor-direction-angle.active span,.css-gradient-editor-container .css-gradient-editor-direction-angle:hover span{background-color:#0867a6}.css-gradient-editor-container .css-gradient-editor-direction-angle.active,.css-gradient-editor-container .css-gradient-editor-direction-angle:hover{background-color:#fff}.css-gradient-editor-container span.css-gradient-editor-direction-angle-input input,.css-gradient-editor-container span.css-gradient-editor-position-horizontal-explicit input,.css-gradient-editor-container span.css-gradient-editor-position-vertical-explicit input,.css-gradient-editor-container span.css-gradient-editor-size-explicit input{border:1px solid #ccc;border-radius:5px;color:#707070;outline:0;text-align:center}.css-gradient-editor-container span.css-gradient-editor-direction-angle-input.active input,.css-gradient-editor-container span.css-gradient-editor-direction-angle-input:hover input,.css-gradient-editor-container span.css-gradient-editor-position-horizontal-explicit.active input,.css-gradient-editor-container span.css-gradient-editor-position-horizontal-explicit:hover input,.css-gradient-editor-container span.css-gradient-editor-position-vertical-explicit.active input,.css-gradient-editor-container span.css-gradient-editor-position-vertical-explicit:hover input,.css-gradient-editor-container span.css-gradient-editor-size-explicit.active input,.css-gradient-editor-container span.css-gradient-editor-size-explicit:hover input{color:#0867a6;border-color:#0867a6}.css-gradient-editor-container .bootstrap-touchspin{width:150px}.css-gradient-editor-container .css-gradient-editor-size-explicit .bootstrap-touchspin{display:inline-table}.css-gradient-editor-container input{border:1px solid #ccc;border-radius:0;color:#000;outline:0;text-align:center}.css-gradient-editor-container .input-group-addon{border-radius:0}.css-gradient-editor-container .css-gradient-editor-stop-point-color{width:165px;margin:2px 10px 2px 0;float:left}.css-gradient-editor-container .css-gradient-editor-stoppointdata{margin-bottom:10px;border:1px solid #bbc1ca;padding:4px;background:#fff;width:100%;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:0;position:relative}.css-gradient-editor-container .css-gradient-editor-stoppointdata.active{background-color:#dadada}.css-gradient-editor-container .css-gradient-editor-stoppointdata label{margin:0 0 0 5px;font-size:11px;font-weight:400;display:none}.css-gradient-editor-container .css-gradient-editor-stoppointdata .css-gradient-editor-stop-point-delete{background:0;border:0;padding:2px;box-shadow:none;color:#707070;margin-top:4px}.css-gradient-editor-container .css-gradient-editor-stoppointdata .css-gradient-editor-stop-point-delete:hover{color:#333}.css-gradient-editor-container .css-gradient-editor-stoppointdata .bootstrap-touchspin{width:10px;max-width:200px;float:left;margin:2px 10px 2px 0}.css-gradient-editor-container .bootstrap-touchspin input{width:70px;min-width:60px;max-width:100px}.bootstrap-touchspin.input-group>.input-group-addon{height:auto}@media (max-width:425px){.css-gradient-editor-stoppointdata .css-gradient-editor-stop-point-color{margin-bottom:10px}.css-gradient-editor-container .css-gradient-editor-stoppointdata .css-gradient-editor-stop-point-delete{margin-top:8px;margin-bottom:15px}}.css-gradient-editor-container .color-stop.overflow{opacity:.5;left:100%!important}.css-gradient-editor-container .color-stop.underflow{opacity:.5;left:0!important}.css-gradient-editor-container .form-group{margin:0;padding:10px 0 5px}.css-gradient-editor-container .form-group:last-of-type{border:0;margin-bottom:-15px}.css-gradient-editor-container .form-group .controls{margin:0 0 5px}.css-gradient-editor-container .form-group .controls label{width:48px;font-size:11px;font-weight:400;display:none;padding:2px 5px;border:1px solid #dadada;color:#707070;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.css-gradient-editor-container .form-group .btn-group{vertical-align:top}.css-gradient-editor-container .nav-tabs{border-bottom:0}.css-gradient-editor-container .nav-tabs>li>a{font-size:14px;line-height:17px;font-weight:700;-webkit-box-shadow:inset 0 -3px 5px rgba(0,0,0,.1);-moz-box-shadow:inset 0 -3px 5px rgba(0,0,0,.1);box-shadow:inset 0 -3px 5px rgba(0,0,0,.1);text-shadow:1px 1px 0 #fff;padding:8px 15px;margin-top:3px;margin-left:3px;color:#707070}.css-gradient-editor-container .nav-tabs>li>a,.css-gradient-editor-container .nav-tabs>li>a:hover{border:1px solid #ddd}.css-gradient-editor-container .nav-tabs>li>a:focus{outline:0}.css-gradient-editor-container .nav-tabs>li.active>a,.css-gradient-editor-container .nav-tabs>li.active>a:focus,.css-gradient-editor-container .nav-tabs>li.active>a:hover{border-color:#ddd;border-bottom:2px solid #fff;padding:10px 15px;margin-bottom:-2px;margin-top:0;margin-left:0;color:#000;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.css-gradient-editor-container .tab-content.show{padding:10px;margin:0}.css-gradient-editor-container .css-gradient-editor-preferences .tab-content{padding-bottom:20px}.css-gradient-editor-container .css-gradient-editor-preset.current{margin-right:5px;width:29px;height:29px;top:1px;border-color:#dadada;cursor:default}.css-gradient-editor-container .css-gradient-editor-preset{width:31px;height:31px;display:inline-block;cursor:pointer;border-color:#ccc;position:relative;overflow:hidden;outline:0}.css-gradient-editor-container .css-gradient-editor-preset span{position:absolute;left:-226px;top:-226px;right:0;bottom:0;width:480px;height:480px;-ms-transform:scale(.062);-webkit-transform:scale(.062);transform:scale(.062)}.css-gradient-editor-container .content.css-gradient-editor-swatches{max-height:197px;overflow:auto;margin-right:-6px}.css-gradient-editor-container .css-gradient-editor-swatches ul{width:auto;padding:0;list-style-type:none}.css-gradient-editor-container .css-gradient-editor-swatches li{float:left;margin:7px 7px 0 0}.css-gradient-editor-preview-resize-handler{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAD1BMVEUAAABoaGh0dHSBgYGUlJTA37BnAAAAAXRSTlMAQObYZgAAACxJREFUGNNjoBEQVEDiCBkgcZQdSDYKiBBGARHCKCAizSgIghoFQVCjSDMNABFuBQVxKa6zAAAAAElFTkSuQmCC);background-position:bottom right;background-repeat:no-repeat;display:block;width:24px;height:24px;position:absolute;bottom:0;right:0;cursor:se-resize}.css-gradient-editor-colorstops-advanced,.css-gradient-editor-colorstops-easy{padding:0 15px}.btn{border-radius:0}.btn-default,.btn-default:focus,.btn-default:hover{border-color:#ccc}.btn-default.active,.btn-default:active,.open .dropdown-toggle.btn-default{border-color:#cfcfcf}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{border-color:#ccc;color:#aaa}.css-gradient-editor-stoppointlist{margin-bottom:20px}.btn-primary{background-color:#3396e7;border-color:#3396e7}.btn-primary.active,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#1489d8;border-color:#1489d8}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#7cafdb;border-color:transparent}.input-group-addon{border-color:#ccc}.panel{border:1px solid #dadada;-moz-box-shadow:none;-webkit-box-shadow:0 0 67px 0 rgba(0,0,0,.13),0 10px 7px -10px rgba(0,0,0,.93);box-shadow:0 0 67px 0 rgba(0,0,0,.13),0 10px 7px -10px rgba(0,0,0,.93);border-radius:0;background-color:#fff;margin-bottom:30px}.panel-title{font-size:14px;line-height:22px}.panel-heading{border-color:#dadada;padding:3px 15px}.panel-title{font-size:18px;color:#555;line-height:31px}.panel-body{border:none}.form-control{font-size:13px;-webkit-transition:none;transition:none;-webkit-box-shadow:none;box-shadow:none}.coloroffset-popover-container .popover{max-width:500px;padding:0;border-color:#dadada;border-radius:0;-webkit-box-shadow:rgba(0,0,0,.25) 0 0 57px 0,rgba(0,0,0,.933333) 0 10px 7px -5px;box-shadow:rgba(0,0,0,.25) 0 0 57px 0,rgba(0,0,0,.933333) 0 10px 7px -5px}.coloroffset-popover-container .popover-title{font-size:13px;line-height:17px;background-color:#fff;border-bottom:1px solid #dadada;padding:6px 14px;border-radius:0}.coloroffset-container{width:361px}.slider-container{display:inline-block;width:100%;padding:5px 0;border-radius:2px;margin:6px 0;position:relative}.slider-container .slider-inner{width:100%;height:7px;background-color:#d2d5db;box-shadow:inset 0 0 7px rgba(0,0,0,.3),inset 0 1px 4px -1px}.slider-container:last-of-type{margin-bottom:0}.slider-container .slider-controller{position:absolute;width:25px;height:25px;margin-top:-9px;margin-left:-13px;cursor:move;overflow:hidden;padding:4px 2px}.slider-container .slider-controller:after{content:"";display:block;width:100%;height:100%;border-radius:2px;background-color:#585858;background:-webkit-linear-gradient(top left,#54585f 0,#3e4249 100%);background:linear-gradient(to bottom right,#54585f 0,#3e4249 100%);box-shadow:0 0 3px 0 rgba(0,0,0,.5),0 3px 3px -1px rgba(0,0,0,.3)}.offset-hue.slider-container .slider-inner{background:linear-gradient(to right,#ff98ba 0,#ff9ba9 3.7%,#ff9d98 7.4%,#ff9e85 11.1%,#ffa06b 14.8%,#ffa23d 18.5%,#f0ac01 22.2%,#d4b803 25.9%,#b5c100 29.6%,#90ca18 33.3%,#64d03e 37%,#00d560 40.7%,#00d28e 44.4%,#00d0ac 48.1%,#00cec1 51.8%,#0fcdd1 55.5%,#13cbe0 59.2%,#01c9ef 63%,#0fc7fe 66.6%,#52c3ff 70.3%,#7bbdff 74.1%,#96b8ff 77.7%,#afb1ff 81.5%,#caa8ff 85.2%,#ec99ff 88.9%,#ff91ec 92.6%,#ff96cf 96.3%,#ff98ba 100%)}.offset-chroma.slider-container .slider-inner{background:linear-gradient(to right,#8f8f8f,red)}.offset-lightness.slider-container .slider-inner{background:linear-gradient(to right,#000,#fff)}.btn-primary.zeroclipboard-is-hover{background-color:#1489d8;border-color:#285e8e}.btn-primary.zeroclipboard-is-active{background-color:#1489d8;border-color:#285e8e;background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 10px rgba(0,0,0,.2),inset 0 -3px 10px rgba(0,0,0,.2);box-shadow:inset 0 3px 10px rgba(0,0,0,.2),inset 0 -3px 10px rgba(0,0,0,.2)}label{font-weight:400;font-size:14px}.syntaxhighlighter{padding:1px}.css-gradient-editor-container .css-gradient-editor-preview-container .css-gradient-editor-preview.preview-popout{position:fixed;left:0;top:0;width:100px;height:100px;max-width:100%;z-index:1030;-webkit-box-shadow:rgba(0,0,0,.25) 0 0 57px 0,rgba(0,0,0,.933333) 0 10px 7px -5px;box-shadow:rgba(0,0,0,.25) 0 0 57px 0,rgba(0,0,0,.933333) 0 10px 7px -5px;border:none}.css-gradient-editor-container .css-gradient-editor-preview-container .css-gradient-editor-preview.preview-sticky{position:fixed;top:0;left:0;right:0;width:auto!important;z-index:1030;-webkit-box-shadow:rgba(0,0,0,.25) 0 0 57px 0,rgba(0,0,0,.933333) 0 10px 7px -5px;box-shadow:rgba(0,0,0,.25) 0 0 57px 0,rgba(0,0,0,.933333) 0 10px 7px -5px;border:none;border-bottom:1px solid #ddd}.css-gradient-editor-container .css-gradient-editor-preview-container .css-gradient-editor-preview.preview-sticky.buggyfixed{position:relative}.btn-info{border:1px solid transparent}.btn-group .btn{border-color:#fff}.css-gradient-editor-layout-selector small{display:block}.css-gradient-editor-layout-selector .btn{background-color:transparent;color:#3396e7;color:#2f75ad;white-space:normal}.css-gradient-editor-layout-selector .btn.active,.css-gradient-editor-layout-selector .btn:active,.css-gradient-editor-layout-selector .btn:hover{background-color:#3396e7;color:#fff}.css-gradient-editor-layout-selector .btn.active,.css-gradient-editor-layout-selector .btn:active{box-shadow:inset 0 3px 10px rgba(0,0,0,.1),inset 0 -3px 10px rgba(0,0,0,.1)}@media (max-width:991px){.css-gradient-editor-container .css-gradient-editor-stopeditor{margin:30px 0}}#permalinkqr canvas,#permalinkqr img{margin:0 auto;max-width:80%;max-height:80%}label{padding:4px 15px}.css-gradient-editor-container .css-gradient-editor-controller{display:inline-block}.ajax-loader{width:100%;min-width:50px;min-height:30px;background-color:#fff!important;background-image:url(data:image/gif;base64,R0lGODlhKwALAPEAAP///zOW55rL8jOW5yH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAKwALAAACMoSOCMuW2diD88UKG95W88uF4DaGWFmhZid93pq+pwxnLUnXh8ou+sSz+T64oCAyTBUAACH5BAkKAAAALAAAAAArAAsAAAI9xI4IyyAPYWOxmoTHrHzzmGHe94xkmJifyqFKQ0pwLLgHa82xrekkDrIBZRQab1jyfY7KTtPimixiUsevAAAh+QQJCgAAACwAAAAAKwALAAACPYSOCMswD2FjqZpqW9xv4g8KE7d54XmMpNSgqLoOpgvC60xjNonnyc7p+VKamKw1zDCMR8rp8pksYlKorgAAIfkECQoAAAAsAAAAACsACwAAAkCEjgjLltnYmJS6Bxt+sfq5ZUyoNJ9HHlEqdCfFrqn7DrE2m7Wdj/2y45FkQ13t5itKdshFExC8YCLOEBX6AhQAADsAAAAAAAAAAAA=)!important;background-repeat:no-repeat!important;background-position:center center!important;filter:none!important}.hero-unit{margin:0 0 28px}.hero-unit ul{list-style-type:none}.hero-unit ul li{font-size:14px}css-gradient-editor-container.layout-simple .hide-element{visibility:hidden}@media (max-width:992px){.hero-unit ul li{font-size:13px}}.gradient-preferences-advanced,.gradient-preferences-easy{display:none}.layout-simple .gradient-preferences-advanced{display:none}.layout-simple .gradient-preferences-easy{display:block}.layout-advanced .gradient-preferences-advanced,.layout-expert .gradient-preferences-advanced{display:block}.layout-advanced .css-gradient-editor-linear-direction-explicit,.layout-advanced .css-gradient-editor-position-horizontal-explicit,.layout-advanced .css-gradient-editor-position-vertical-explicit,.layout-advanced .css-gradient-editor-radial-shape,.layout-advanced .css-gradient-editor-size-explicit,.layout-advanced .gradient-preferences-easy,.layout-expert .gradient-preferences-easy{display:none}.gradient-preferences-easy{padding:0 15px}.gradient-preferences-easy input{width:100%;margin:10px auto;display:block;padding:20px 0}.layout-simple .css-gradient-editor-linear-direction-implicit{width:110px;position:relative;display:block;margin:30px auto;text-align:center}.layout-simple .css-gradient-editor-linear-direction-implicit .btn-row{clear:both}.layout-simple .css-gradient-editor-linear-direction-implicit .btn{margin:5px 0;text-align:center;width:31px}.layout-simple .css-gradient-editor-direction-left{float:left}.layout-simple .css-gradient-editor-direction-right{float:right}.layout-warning-box{display:block;margin:0 15px 15px;font-size:12px;line-height:24px;font-weight:700;text-align:center}.layout-warning-box .label-warning{background-color:#f9edbe;border:1px solid #f0c36d;color:#333;border-top-left-radius:2px;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:2px;-webkit-box-shadow:rgba(0,0,0,.2) 0 2px 4px;box-shadow:rgba(0,0,0,.2) 0 2px 4px;margin:0 auto 15px}.layout-warning-advanced,.layout-warning-expert{display:none} -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "css-gradient-generator", 3 | "title": "CSS Gradient Generator", 4 | "description": "CSS gradient generator with the best browser support. Three different layouts to meet Your requirement (from simple linear to complex radial gradients).", 5 | "author": { 6 | "name": "Istvan Ujj-Meszaros", 7 | "url": "https://github.com/istvan-ujjmeszaros" 8 | }, 9 | "contributors": [], 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/istvan-ujjmeszaros/css-gradient-generator" 13 | }, 14 | "license": "CC BY-NC-SA 4.0", 15 | "homepage": "https://www.virtuosoft.eu/tools/css-gradient-generator/", 16 | "version": "2.2.1", 17 | "devDependencies": { 18 | "grunt": "~1.4.1", 19 | "grunt-cli": "~1.4.3", 20 | "grunt-contrib-jshint": "~3.1.1", 21 | "grunt-contrib-concat": "~2.0.0", 22 | "grunt-contrib-uglify": "~5.0.1", 23 | "grunt-contrib-cssmin": "~4.0.0" 24 | }, 25 | "scripts": { 26 | "test": "grunt travis --verbose" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /resources/LICENSE.md: -------------------------------------------------------------------------------- 1 | This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/deed.en_US. 2 | -------------------------------------------------------------------------------- /resources/bootstrap-colorpickersliders/bootstrap.colorpickersliders.css: -------------------------------------------------------------------------------- 1 | .cp-container { 2 | width: auto; 3 | position: relative; 4 | box-sizing: border-box; 5 | } 6 | 7 | .cp-container .cp-transparency, 8 | .cp-container .cp-swatches .cp-swatch { 9 | background:url(data:image/gif;base64,R0lGODlhBgAGAIABAMPDw////yH5BAEKAAEALAAAAAAGAAYAAAIKhIMGGMrs0pGgAAA7) repeat; 10 | } 11 | 12 | .cp-container .cp-slider, 13 | .cp-container .cp-preview { 14 | width: auto; 15 | height: 26px; 16 | border: 1px solid #dadada; 17 | margin: 0 4px; 18 | margin-bottom: 5pt; 19 | position: relative; 20 | } 21 | 22 | .cp-container .cp-slider { 23 | cursor: ew-resize; 24 | -webkit-user-select: none; 25 | -moz-user-select: none; 26 | -ms-user-select: none; 27 | user-select: none; 28 | } 29 | 30 | .cp-container .cp-preview { 31 | height: 39px; 32 | } 33 | 34 | .cp-container .cp-slider span, 35 | .cp-container .cp-preview input { 36 | display: block; 37 | width: 100%; 38 | height: 100%; 39 | text-align: center; 40 | font-family: sans-serif; 41 | line-height: 26px; 42 | font-size: 14px; 43 | } 44 | 45 | .cp-container .cp-preview input { 46 | line-height: 39px; 47 | padding: 0; 48 | outline: none; 49 | box-shadow: none; 50 | border: none; 51 | border-radius: 0; 52 | background: none; 53 | } 54 | 55 | .cp-container .cp-marker { 56 | position: absolute; 57 | display: block; 58 | width: 11px; 59 | height: 10px; 60 | margin-left: -5px; 61 | top: -2px; 62 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAMAAABVLlSxAAAAtFBMVEUAAAB1dXVsbGxwcHBqampoaGj+/v7r6+vw8PBmZmb6+vp/f39kZGTh4eGxsbHT09NlZWXX19dgYGBfX1/W1tb7+/vx8fHZ2dna2tqBgYFnZ2fg4ODe3t7j4+Pi4uL39/eampro6Ojl5eXy8vLt7e3p6emgoKCmpqatra1ra2v19fXm5ubz8/Pv7+9hYWFjY2N5eXlvb29zc3Ps7Ozd3d2ysrKCgoKDg4P9/f2zs7P4+Pj///83Bdu/AAAAAXRSTlMAQObYZgAAAGlJREFUeNo9ylcbgWAAhuG3ZZQoEkkhDe099P3//9Xg6j56Dh6cjkm623IsnTNIDsqlEsN1HBVI5evdDMtN0FOQKt14lWrArzLcnpZjvx9nshcA342jviO1hlHuTdlgVnzIt8VfNubiNwzmhAsoIAkssgAAAABJRU5ErkJggg==); 63 | } 64 | 65 | .cp-container.cp-unconvertible-cie-color .cp-slider.cp-cielightness .cp-marker, 66 | .cp-container.cp-unconvertible-cie-color .cp-slider.cp-ciechroma .cp-marker, 67 | .cp-container.cp-unconvertible-cie-color .cp-slider.cp-ciehue .cp-marker { 68 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAMAAABVLlSxAAAAvVBMVEUAAADLy8u8vLzZ2dlgYGDe3t5sbGxoaGjr6+vb29tqamrCwsJmZmZkZGTW1tbExMTw8PDj4+Pa2tpfX1/z8/PU1NTp6enX19fg4OBwcHDc3NzJycn4+Pj7+/v6+vrd3d3h4eH+/v6lpaWmpqaampqgoKBlZWWzs7Orq6tra2uxsbGBgYF1dXVnZ2d/f3/T09PMzMxhYWFjY2P19fXv7+9vb2/l5eVzc3P////n5+eysrKDg4OCgoJ5eXnoAACu7h75AAAAAXRSTlMAQObYZgAAAG1JREFUeNo1ytsaQkAAReGdkpRKRUTofEANBoOY93+sfMp/tS4WNqM4mSvSdJztEJPFkETyJNUYEmMtzvhApfsQN89cCXxJ3WOD1yXfRlx3Cv8NPK+pZedFFaCVnQ+8rGp02Kl8fPDX3Nvs/YYvAnQLhiGwga0AAAAASUVORK5CYII=); 69 | } 70 | 71 | .cp-container .cp-swatches ul { 72 | width: auto; 73 | margin: -7px -7px 0 0; 74 | padding: 0; 75 | list-style-type: none; 76 | } 77 | 78 | .cp-container .cp-swatches li { 79 | float: left; 80 | margin: 7px 7px 0 0; 81 | } 82 | 83 | .cp-swatches button { 84 | float: left; 85 | margin: 7px 7px 0 0; 86 | width: 26px; 87 | height: 26px; 88 | display: inline-block; 89 | font-size: 12px; 90 | padding: 0; 91 | } 92 | 93 | .cp-container .cp-swatch { 94 | width: 26px; 95 | height: 26px; 96 | display: inline-block; 97 | cursor: pointer; 98 | border-color: #ccc; 99 | position: relative; 100 | overflow: hidden; 101 | outline: none; 102 | padding: 0; 103 | } 104 | 105 | .cp-container .cp-swatch span { 106 | display: block; 107 | width: 100%; 108 | height: 100%; 109 | } 110 | 111 | .cp-container .cp-swatches .cp-swatch.actual { 112 | border-color: #777; 113 | -webkit-box-shadow: 0 0 5px rgb(250, 128, 0); 114 | -moz-box-shadow: 0 0 5px rgb(250, 128, 0); 115 | box-shadow: 0 0 5px rgb(250, 128, 0); 116 | } 117 | 118 | .cp-popover-container .popover { 119 | max-width: 1000px; 120 | } 121 | 122 | .popover-content .cp-container { 123 | width: 263px; 124 | } 125 | 126 | .popover-content .cp-container.cp-container-sm { 127 | width: 208px; 128 | } 129 | 130 | .popover-content .cp-container.cp-container-sm .cp-swatch, 131 | .popover-content .cp-container.cp-container-sm .cp-swatches button { 132 | width: 23px; 133 | height: 23px; 134 | } 135 | 136 | .popover-content .cp-container.cp-container-lg { 137 | width: 369px; 138 | } 139 | 140 | .popover-content .cp-container.cp-container-lg .cp-swatch, 141 | .popover-content .cp-container.cp-container-lg .cp-swatches button { 142 | width: 27px; 143 | height: 27px; 144 | } 145 | -------------------------------------------------------------------------------- /resources/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/favicon.ico -------------------------------------------------------------------------------- /resources/icomoon/sprites-000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/icomoon/sprites-000.png -------------------------------------------------------------------------------- /resources/icomoon/sprites-999.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/icomoon/sprites-999.png -------------------------------------------------------------------------------- /resources/icomoon/sprites-fff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/icomoon/sprites-fff.png -------------------------------------------------------------------------------- /resources/icomoon/sprites-old.css: -------------------------------------------------------------------------------- 1 | [class*="pngicon-"] { 2 | display: inline-block; 3 | width: 14px; 4 | height: 14px; 5 | background-image: url(sprites-000.png); 6 | background-repeat: no-repeat; 7 | position: relative; 8 | top: 2px; 9 | left: -2px; 10 | } 11 | .btn-primary [class*="pngicon-"] { 12 | background-image: url(sprites-fff.png); 13 | } 14 | .css-gradient-editor-controller [class*="pngicon-"] { 15 | background-image: url(sprites-999.png); 16 | } 17 | .css-gradient-editor-controller:hover [class*="pngicon-"], 18 | .css-gradient-editor-controller.active [class*="pngicon-"] { 19 | background-image: url(sprites-fff.png); 20 | } 21 | .pngicon-qrcode { 22 | background-position: 0 0; 23 | width: 14px; 24 | } 25 | .pngicon-copy { 26 | background-position: -30px 0; 27 | width: 14px; 28 | } 29 | .pngicon-file-css { 30 | background-position: -60px 0; 31 | width: 14px; 32 | } 33 | .pngicon-undo { 34 | background-position: -90px 0; 35 | width: 14px; 36 | } 37 | .pngicon-redo { 38 | background-position: -120px 0; 39 | width: 14px; 40 | } 41 | .pngicon-new tab { 42 | background-position: -150px 0; 43 | width: 14px; 44 | } 45 | .pngicon-wrench { 46 | background-position: -180px 0; 47 | width: 14px; 48 | } 49 | .pngicon-cogs { 50 | background-position: -210px 0; 51 | width: 14px; 52 | } 53 | .pngicon-disk { 54 | background-position: -240px 0; 55 | width: 14px; 56 | } 57 | .pngicon-remove { 58 | background-position: -270px 0; 59 | width: 15px; 60 | } 61 | .pngicon-share { 62 | background-position: -301px 0; 63 | width: 14px; 64 | } 65 | .pngicon-arrow-up-left { 66 | background-position: -331px 0; 67 | width: 14px; 68 | } 69 | .pngicon-arrow-down-left { 70 | background-position: -361px 0; 71 | width: 14px; 72 | } 73 | .pngicon-arrow-up-right { 74 | background-position: -391px 0; 75 | width: 14px; 76 | } 77 | .pngicon-arrow-down-right { 78 | background-position: -421px 0; 79 | width: 14px; 80 | } 81 | .pngicon-arrow-up { 82 | background-position: -451px 0; 83 | width: 14px; 84 | } 85 | .pngicon-arrow-down { 86 | background-position: 0 -30px; 87 | } 88 | .pngicon-arrow-left { 89 | background-position: -30px -30px; 90 | } 91 | .pngicon-arrow-right { 92 | background-position: -60px -30px; 93 | } 94 | .pngicon-plus { 95 | background-position: -90px -30px; 96 | } 97 | .pngicon-settings { 98 | background-position: -120px -30px; 99 | } 100 | .pngicon-collapse { 101 | background-position: -150px -30px; 102 | } 103 | .pngicon-popup { 104 | background-position: -180px -30px; 105 | } 106 | .pngicon-remove2 { 107 | background-position: -210px -30px; 108 | } 109 | .pngicon-random { 110 | background-position: -240px -30px; 111 | } 112 | .pngicon-picture { 113 | width: 15px; 114 | background-position: -270px -30px; 115 | } 116 | -------------------------------------------------------------------------------- /resources/icomoon/sprites.css: -------------------------------------------------------------------------------- 1 | [class*="pngicon-"] { 2 | display: inline-block; 3 | width: 14px; 4 | height: 14px; 5 | background-image: url(sprites-000.png); 6 | background-repeat: no-repeat; 7 | position: relative; 8 | top: 2px; 9 | left: -2px; 10 | } 11 | .btn-primary [class*="pngicon-"] { 12 | background-image: url(sprites-fff.png); 13 | } 14 | .css-gradient-editor-controller [class*="pngicon-"] { 15 | background-image: url(sprites-999.png); 16 | } 17 | .css-gradient-editor-controller:hover [class*="pngicon-"], 18 | .css-gradient-editor-controller.active [class*="pngicon-"] { 19 | background-image: url(sprites-fff.png); 20 | } 21 | .pngicon-qrcode { 22 | background-position: 0 0; 23 | width: 14px; 24 | } 25 | .pngicon-copy { 26 | background-position: -30px 0; 27 | width: 14px; 28 | } 29 | .pngicon-file-css { 30 | background-position: -60px 0; 31 | width: 14px; 32 | } 33 | .pngicon-undo { 34 | background-position: -90px 0; 35 | width: 14px; 36 | } 37 | .pngicon-redo { 38 | background-position: -120px 0; 39 | width: 14px; 40 | } 41 | .pngicon-new tab { 42 | background-position: -150px 0; 43 | width: 14px; 44 | } 45 | .pngicon-wrench { 46 | background-position: -180px 0; 47 | width: 14px; 48 | } 49 | .pngicon-cogs { 50 | background-position: -210px 0; 51 | width: 14px; 52 | } 53 | .pngicon-disk { 54 | background-position: -240px 0; 55 | width: 14px; 56 | } 57 | .pngicon-remove { 58 | background-position: -270px 0; 59 | width: 15px; 60 | } 61 | .pngicon-share { 62 | background-position: -301px 0; 63 | width: 14px; 64 | } 65 | .pngicon-arrow-up-left { 66 | background-position: -331px 0; 67 | width: 14px; 68 | } 69 | .pngicon-arrow-down-left { 70 | background-position: -361px 0; 71 | width: 14px; 72 | } 73 | .pngicon-arrow-up-right { 74 | background-position: -391px 0; 75 | width: 14px; 76 | } 77 | .pngicon-arrow-down-right { 78 | background-position: -421px 0; 79 | width: 14px; 80 | } 81 | .pngicon-arrow-up { 82 | background-position: -451px 0; 83 | width: 14px; 84 | } 85 | .pngicon-arrow-down { 86 | background-position: 0 -30px; 87 | } 88 | .pngicon-arrow-left { 89 | background-position: -30px -30px; 90 | } 91 | .pngicon-arrow-right { 92 | background-position: -60px -30px; 93 | } 94 | .pngicon-plus { 95 | background-position: -90px -30px; 96 | } 97 | .pngicon-settings { 98 | background-position: -120px -30px; 99 | } 100 | .pngicon-collapse { 101 | background-position: -150px -30px; 102 | } 103 | .pngicon-popup { 104 | background-position: -180px -30px; 105 | } 106 | .pngicon-remove2 { 107 | background-position: -210px -30px; 108 | } 109 | .pngicon-random { 110 | background-position: -240px -30px; 111 | } 112 | .pngicon-picture { 113 | width: 15px; 114 | background-position: -270px -30px; 115 | } 116 | .pngicon-export { 117 | background-position: -301px -30px; 118 | } 119 | .pngicon-arrow-up2 { 120 | background-position: -331px -30px; 121 | } 122 | .pngicon-arrow-down2 { 123 | background-position: -361px -30px; 124 | } 125 | -------------------------------------------------------------------------------- /resources/img.old/bg-color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/img.old/bg-color.png -------------------------------------------------------------------------------- /resources/img.old/bg-menu-selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/img.old/bg-menu-selected.png -------------------------------------------------------------------------------- /resources/img.old/bg-menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/img.old/bg-menu.png -------------------------------------------------------------------------------- /resources/img.old/bootstrap-duallistbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/img.old/bootstrap-duallistbox.png -------------------------------------------------------------------------------- /resources/img.old/jquery-colorpickersliders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/img.old/jquery-colorpickersliders.png -------------------------------------------------------------------------------- /resources/img.old/virtuosoft-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/img.old/virtuosoft-logo.png -------------------------------------------------------------------------------- /resources/img.old/virtuosoft-logo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/img.old/virtuosoft-logo2.png -------------------------------------------------------------------------------- /resources/jquery.base64/jquery.base64.min.js: -------------------------------------------------------------------------------- 1 | "use strict";jQuery.base64=(function($){var _PADCHAR="=",_ALPHA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_VERSION="1.0";function _getbyte64(s,i){var idx=_ALPHA.indexOf(s.charAt(i));if(idx===-1){throw"Cannot decode base64"}return idx}function _decode(s){var pads=0,i,b10,imax=s.length,x=[];s=String(s);if(imax===0){return s}if(imax%4!==0){throw"Cannot decode base64"}if(s.charAt(imax-1)===_PADCHAR){pads=1;if(s.charAt(imax-2)===_PADCHAR){pads=2}imax-=4}for(i=0;i>16,(b10>>8)&255,b10&255))}switch(pads){case 1:b10=(_getbyte64(s,i)<<18)|(_getbyte64(s,i+1)<<12)|(_getbyte64(s,i+2)<<6);x.push(String.fromCharCode(b10>>16,(b10>>8)&255));break;case 2:b10=(_getbyte64(s,i)<<18)|(_getbyte64(s,i+1)<<12);x.push(String.fromCharCode(b10>>16));break}return x.join("")}function _getbyte(s,i){var x=s.charCodeAt(i);if(x>255){throw"INVALID_CHARACTER_ERR: DOM Exception 5"}return x}function _encode(s){if(arguments.length!==1){throw"SyntaxError: exactly one argument required"}s=String(s);var i,b10,x=[],imax=s.length-s.length%3;if(s.length===0){return s}for(i=0;i>18));x.push(_ALPHA.charAt((b10>>12)&63));x.push(_ALPHA.charAt((b10>>6)&63));x.push(_ALPHA.charAt(b10&63))}switch(s.length-imax){case 1:b10=_getbyte(s,i)<<16;x.push(_ALPHA.charAt(b10>>18)+_ALPHA.charAt((b10>>12)&63)+_PADCHAR+_PADCHAR);break;case 2:b10=(_getbyte(s,i)<<16)|(_getbyte(s,i+1)<<8);x.push(_ALPHA.charAt(b10>>18)+_ALPHA.charAt((b10>>12)&63)+_ALPHA.charAt((b10>>6)&63)+_PADCHAR);break}return x.join("")}return{decode:_decode,encode:_encode,VERSION:_VERSION}}(jQuery)); -------------------------------------------------------------------------------- /resources/modernizr/modernizr-custom.min.js: -------------------------------------------------------------------------------- 1 | /* Modernizr 2.6.2 (Custom Build) | MIT & BSD 2 | * Build: http://modernizr.com/download/#-fontface-csstransitions-shiv-cssclasses-teststyles-testprop-testallprops-domprefixes-load 3 | */ 4 | ;window.Modernizr=function(a,b,c){function y(a){j.cssText=a}function z(a,b){return y(prefixes.join(a+";")+(b||""))}function A(a,b){return typeof a===b}function B(a,b){return!!~(""+a).indexOf(b)}function C(a,b){for(var d in a){var e=a[d];if(!B(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function D(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:A(f,"function")?f.bind(d||b):f}return!1}function E(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+n.join(d+" ")+d).split(" ");return A(b,"string")||A(b,"undefined")?C(e,b):(e=(a+" "+o.join(d+" ")+d).split(" "),D(e,b,c))}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m="Webkit Moz O ms",n=m.split(" "),o=m.toLowerCase().split(" "),p={},q={},r={},s=[],t=s.slice,u,v=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["­",'"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},w={}.hasOwnProperty,x;!A(w,"undefined")&&!A(w.call,"undefined")?x=function(a,b){return w.call(a,b)}:x=function(a,b){return b in a&&A(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=t.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(t.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(t.call(arguments)))};return e}),p.csstransitions=function(){return E("transition")},p.fontface=function(){var a;return v('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a};for(var F in p)x(p,F)&&(u=F.toLowerCase(),e[u]=p[F](),s.push((e[u]?"":"no-")+u));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)x(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},y(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._domPrefixes=o,e._cssomPrefixes=n,e.testProp=function(a){return C([a])},e.testAllProps=E,e.testStyles=v,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+s.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /resources/prettify/lang-go.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/prettify/lang-go.js -------------------------------------------------------------------------------- /resources/prettify/lang-hs.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t-\r ]+/,null,"\t\n \r "],["str",/^"(?:[^\n\f\r"\\]|\\[\S\s])*(?:"|$)/,null,'"'],["str",/^'(?:[^\n\f\r'\\]|\\[^&])'?/,null,"'"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)/i,null,"0123456789"]],[["com",/^(?:--+[^\n\f\r]*|{-(?:[^-]|-+[^}-])*-})/],["kwd",/^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^\d'A-Za-z]|$)/, 2 | null],["pln",/^(?:[A-Z][\w']*\.)*[A-Za-z][\w']*/],["pun",/^[^\d\t-\r "'A-Za-z]+/]]),["hs"]); 3 | -------------------------------------------------------------------------------- /resources/prettify/lang-lisp.js: -------------------------------------------------------------------------------- 1 | var a=null; 2 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,a,"("],["clo",/^\)+/,a,")"],["com",/^;[^\n\r]*/,a,";"],["pln",/^[\t\n\r \xa0]+/,a,"\t\n\r \xa0"],["str",/^"(?:[^"\\]|\\[\S\s])*(?:"|$)/,a,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/,a], 3 | ["lit",/^[+-]?(?:[#0]x[\da-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[de][+-]?\d+)?)/i],["lit",/^'(?:-*(?:\w|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?)?/],["pln",/^-*(?:[_a-z]|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?/i],["pun",/^[^\w\t\n\r "'-);\\\xa0]+/]]),["cl","el","lisp","scm"]); 4 | -------------------------------------------------------------------------------- /resources/prettify/lang-lua.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/prettify/lang-lua.js -------------------------------------------------------------------------------- /resources/prettify/lang-ml.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/prettify/lang-ml.js -------------------------------------------------------------------------------- /resources/prettify/lang-n.js: -------------------------------------------------------------------------------- 1 | var a=null; 2 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:'(?:[^\n\r'\\]|\\.)*'|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,a,'"'],["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,a,"#"],["pln",/^\s+/,a," \r\n\t\xa0"]],[["str",/^@"(?:[^"]|"")*(?:"|$)/,a],["str",/^<#[^#>]*(?:#>|$)/,a],["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,a],["com",/^\/\/[^\n\r]*/,a],["com",/^\/\*[\S\s]*?(?:\*\/|$)/, 3 | a],["kwd",/^(?:abstract|and|as|base|catch|class|def|delegate|enum|event|extern|false|finally|fun|implements|interface|internal|is|macro|match|matches|module|mutable|namespace|new|null|out|override|params|partial|private|protected|public|ref|sealed|static|struct|syntax|this|throw|true|try|type|typeof|using|variant|virtual|volatile|when|where|with|assert|assert2|async|break|checked|continue|do|else|ensures|for|foreach|if|late|lock|new|nolate|otherwise|regexp|repeat|requires|return|surroundwith|unchecked|unless|using|while|yield)\b/, 4 | a],["typ",/^(?:array|bool|byte|char|decimal|double|float|int|list|long|object|sbyte|short|string|ulong|uint|ufloat|ulong|ushort|void)\b/,a],["lit",/^@[$_a-z][\w$@]*/i,a],["typ",/^@[A-Z]+[a-z][\w$@]*/,a],["pln",/^'?[$_a-z][\w$@]*/i,a],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,a,"0123456789"],["pun",/^.[^\s\w"-$'./@`]*/,a]]),["n","nemerle"]); 5 | -------------------------------------------------------------------------------- /resources/prettify/lang-proto.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.sourceDecorator({keywords:"bytes,default,double,enum,extend,extensions,false,group,import,max,message,option,optional,package,repeated,required,returns,rpc,service,syntax,to,true",types:/^(bool|(double|s?fixed|[su]?int)(32|64)|float|string)\b/,cStyleComments:!0}),["proto"]); 2 | -------------------------------------------------------------------------------- /resources/prettify/lang-scala.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/prettify/lang-scala.js -------------------------------------------------------------------------------- /resources/prettify/lang-sql.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/prettify/lang-sql.js -------------------------------------------------------------------------------- /resources/prettify/lang-tex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/prettify/lang-tex.js -------------------------------------------------------------------------------- /resources/prettify/lang-vb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/prettify/lang-vb.js -------------------------------------------------------------------------------- /resources/prettify/lang-vhdl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/prettify/lang-vhdl.js -------------------------------------------------------------------------------- /resources/prettify/lang-wiki.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istvan-ujjmeszaros/css-gradient-generator/8e31ace6746ecff9ac9ed4e01093eef968200eb7/resources/prettify/lang-wiki.js -------------------------------------------------------------------------------- /resources/prettify/lang-xq.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["var pln",/^\$[\w-]+/,null,"$"]],[["pln",/^[\s=][<>][\s=]/],["lit",/^@[\w-]+/],["tag",/^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["com",/^\(:[\S\s]*?:\)/],["pln",/^[(),/;[\]{}]$/],["str",/^(?:"(?:[^"\\{]|\\[\S\s])*(?:"|$)|'(?:[^'\\{]|\\[\S\s])*(?:'|$))/,null,"\"'"],["kwd",/^(?:xquery|where|version|variable|union|typeswitch|treat|to|then|text|stable|sortby|some|self|schema|satisfies|returns|return|ref|processing-instruction|preceding-sibling|preceding|precedes|parent|only|of|node|namespace|module|let|item|intersect|instance|in|import|if|function|for|follows|following-sibling|following|external|except|every|else|element|descending|descendant-or-self|descendant|define|default|declare|comment|child|cast|case|before|attribute|assert|ascending|as|ancestor-or-self|ancestor|after|eq|order|by|or|and|schema-element|document-node|node|at)\b/], 2 | ["typ",/^(?:xs:yearMonthDuration|xs:unsignedLong|xs:time|xs:string|xs:short|xs:QName|xs:Name|xs:long|xs:integer|xs:int|xs:gYearMonth|xs:gYear|xs:gMonthDay|xs:gDay|xs:float|xs:duration|xs:double|xs:decimal|xs:dayTimeDuration|xs:dateTime|xs:date|xs:byte|xs:boolean|xs:anyURI|xf:yearMonthDuration)\b/,null],["fun pln",/^(?:xp:dereference|xinc:node-expand|xinc:link-references|xinc:link-expand|xhtml:restructure|xhtml:clean|xhtml:add-lists|xdmp:zip-manifest|xdmp:zip-get|xdmp:zip-create|xdmp:xquery-version|xdmp:word-convert|xdmp:with-namespaces|xdmp:version|xdmp:value|xdmp:user-roles|xdmp:user-last-login|xdmp:user|xdmp:url-encode|xdmp:url-decode|xdmp:uri-is-file|xdmp:uri-format|xdmp:uri-content-type|xdmp:unquote|xdmp:unpath|xdmp:triggers-database|xdmp:trace|xdmp:to-json|xdmp:tidy|xdmp:subbinary|xdmp:strftime|xdmp:spawn-in|xdmp:spawn|xdmp:sleep|xdmp:shutdown|xdmp:set-session-field|xdmp:set-response-encoding|xdmp:set-response-content-type|xdmp:set-response-code|xdmp:set-request-time-limit|xdmp:set|xdmp:servers|xdmp:server-status|xdmp:server-name|xdmp:server|xdmp:security-database|xdmp:security-assert|xdmp:schema-database|xdmp:save|xdmp:role-roles|xdmp:role|xdmp:rethrow|xdmp:restart|xdmp:request-timestamp|xdmp:request-status|xdmp:request-cancel|xdmp:request|xdmp:redirect-response|xdmp:random|xdmp:quote|xdmp:query-trace|xdmp:query-meters|xdmp:product-edition|xdmp:privilege-roles|xdmp:privilege|xdmp:pretty-print|xdmp:powerpoint-convert|xdmp:platform|xdmp:permission|xdmp:pdf-convert|xdmp:path|xdmp:octal-to-integer|xdmp:node-uri|xdmp:node-replace|xdmp:node-kind|xdmp:node-insert-child|xdmp:node-insert-before|xdmp:node-insert-after|xdmp:node-delete|xdmp:node-database|xdmp:mul64|xdmp:modules-root|xdmp:modules-database|xdmp:merging|xdmp:merge-cancel|xdmp:merge|xdmp:md5|xdmp:logout|xdmp:login|xdmp:log-level|xdmp:log|xdmp:lock-release|xdmp:lock-acquire|xdmp:load|xdmp:invoke-in|xdmp:invoke|xdmp:integer-to-octal|xdmp:integer-to-hex|xdmp:http-put|xdmp:http-post|xdmp:http-options|xdmp:http-head|xdmp:http-get|xdmp:http-delete|xdmp:hosts|xdmp:host-status|xdmp:host-name|xdmp:host|xdmp:hex-to-integer|xdmp:hash64|xdmp:hash32|xdmp:has-privilege|xdmp:groups|xdmp:group-serves|xdmp:group-servers|xdmp:group-name|xdmp:group-hosts|xdmp:group|xdmp:get-session-field-names|xdmp:get-session-field|xdmp:get-response-encoding|xdmp:get-response-code|xdmp:get-request-username|xdmp:get-request-user|xdmp:get-request-url|xdmp:get-request-protocol|xdmp:get-request-path|xdmp:get-request-method|xdmp:get-request-header-names|xdmp:get-request-header|xdmp:get-request-field-names|xdmp:get-request-field-filename|xdmp:get-request-field-content-type|xdmp:get-request-field|xdmp:get-request-client-certificate|xdmp:get-request-client-address|xdmp:get-request-body|xdmp:get-current-user|xdmp:get-current-roles|xdmp:get|xdmp:function-name|xdmp:function-module|xdmp:function|xdmp:from-json|xdmp:forests|xdmp:forest-status|xdmp:forest-restore|xdmp:forest-restart|xdmp:forest-name|xdmp:forest-delete|xdmp:forest-databases|xdmp:forest-counts|xdmp:forest-clear|xdmp:forest-backup|xdmp:forest|xdmp:filesystem-file|xdmp:filesystem-directory|xdmp:exists|xdmp:excel-convert|xdmp:eval-in|xdmp:eval|xdmp:estimate|xdmp:email|xdmp:element-content-type|xdmp:elapsed-time|xdmp:document-set-quality|xdmp:document-set-property|xdmp:document-set-properties|xdmp:document-set-permissions|xdmp:document-set-collections|xdmp:document-remove-properties|xdmp:document-remove-permissions|xdmp:document-remove-collections|xdmp:document-properties|xdmp:document-locks|xdmp:document-load|xdmp:document-insert|xdmp:document-get-quality|xdmp:document-get-properties|xdmp:document-get-permissions|xdmp:document-get-collections|xdmp:document-get|xdmp:document-forest|xdmp:document-delete|xdmp:document-add-properties|xdmp:document-add-permissions|xdmp:document-add-collections|xdmp:directory-properties|xdmp:directory-locks|xdmp:directory-delete|xdmp:directory-create|xdmp:directory|xdmp:diacritic-less|xdmp:describe|xdmp:default-permissions|xdmp:default-collections|xdmp:databases|xdmp:database-restore-validate|xdmp:database-restore-status|xdmp:database-restore-cancel|xdmp:database-restore|xdmp:database-name|xdmp:database-forests|xdmp:database-backup-validate|xdmp:database-backup-status|xdmp:database-backup-purge|xdmp:database-backup-cancel|xdmp:database-backup|xdmp:database|xdmp:collection-properties|xdmp:collection-locks|xdmp:collection-delete|xdmp:collation-canonical-uri|xdmp:castable-as|xdmp:can-grant-roles|xdmp:base64-encode|xdmp:base64-decode|xdmp:architecture|xdmp:apply|xdmp:amp-roles|xdmp:amp|xdmp:add64|xdmp:add-response-header|xdmp:access|trgr:trigger-set-recursive|trgr:trigger-set-permissions|trgr:trigger-set-name|trgr:trigger-set-module|trgr:trigger-set-event|trgr:trigger-set-description|trgr:trigger-remove-permissions|trgr:trigger-module|trgr:trigger-get-permissions|trgr:trigger-enable|trgr:trigger-disable|trgr:trigger-database-online-event|trgr:trigger-data-event|trgr:trigger-add-permissions|trgr:remove-trigger|trgr:property-content|trgr:pre-commit|trgr:post-commit|trgr:get-trigger-by-id|trgr:get-trigger|trgr:document-scope|trgr:document-content|trgr:directory-scope|trgr:create-trigger|trgr:collection-scope|trgr:any-property-content|thsr:set-entry|thsr:remove-term|thsr:remove-synonym|thsr:remove-entry|thsr:query-lookup|thsr:lookup|thsr:load|thsr:insert|thsr:expand|thsr:add-synonym|spell:suggest-detailed|spell:suggest|spell:remove-word|spell:make-dictionary|spell:load|spell:levenshtein-distance|spell:is-correct|spell:insert|spell:double-metaphone|spell:add-word|sec:users-collection|sec:user-set-roles|sec:user-set-password|sec:user-set-name|sec:user-set-description|sec:user-set-default-permissions|sec:user-set-default-collections|sec:user-remove-roles|sec:user-privileges|sec:user-get-roles|sec:user-get-description|sec:user-get-default-permissions|sec:user-get-default-collections|sec:user-doc-permissions|sec:user-doc-collections|sec:user-add-roles|sec:unprotect-collection|sec:uid-for-name|sec:set-realm|sec:security-version|sec:security-namespace|sec:security-installed|sec:security-collection|sec:roles-collection|sec:role-set-roles|sec:role-set-name|sec:role-set-description|sec:role-set-default-permissions|sec:role-set-default-collections|sec:role-remove-roles|sec:role-privileges|sec:role-get-roles|sec:role-get-description|sec:role-get-default-permissions|sec:role-get-default-collections|sec:role-doc-permissions|sec:role-doc-collections|sec:role-add-roles|sec:remove-user|sec:remove-role-from-users|sec:remove-role-from-role|sec:remove-role-from-privileges|sec:remove-role-from-amps|sec:remove-role|sec:remove-privilege|sec:remove-amp|sec:protect-collection|sec:privileges-collection|sec:privilege-set-roles|sec:privilege-set-name|sec:privilege-remove-roles|sec:privilege-get-roles|sec:privilege-add-roles|sec:priv-doc-permissions|sec:priv-doc-collections|sec:get-user-names|sec:get-unique-elem-id|sec:get-role-names|sec:get-role-ids|sec:get-privilege|sec:get-distinct-permissions|sec:get-collection|sec:get-amp|sec:create-user-with-role|sec:create-user|sec:create-role|sec:create-privilege|sec:create-amp|sec:collections-collection|sec:collection-set-permissions|sec:collection-remove-permissions|sec:collection-get-permissions|sec:collection-add-permissions|sec:check-admin|sec:amps-collection|sec:amp-set-roles|sec:amp-remove-roles|sec:amp-get-roles|sec:amp-doc-permissions|sec:amp-doc-collections|sec:amp-add-roles|search:unparse|search:suggest|search:snippet|search:search|search:resolve-nodes|search:resolve|search:remove-constraint|search:parse|search:get-default-options|search:estimate|search:check-options|prof:value|prof:reset|prof:report|prof:invoke|prof:eval|prof:enable|prof:disable|prof:allowed|ppt:clean|pki:template-set-request|pki:template-set-name|pki:template-set-key-type|pki:template-set-key-options|pki:template-set-description|pki:template-in-use|pki:template-get-version|pki:template-get-request|pki:template-get-name|pki:template-get-key-type|pki:template-get-key-options|pki:template-get-id|pki:template-get-description|pki:need-certificate|pki:is-temporary|pki:insert-trusted-certificates|pki:insert-template|pki:insert-signed-certificates|pki:insert-certificate-revocation-list|pki:get-trusted-certificate-ids|pki:get-template-ids|pki:get-template-certificate-authority|pki:get-template-by-name|pki:get-template|pki:get-pending-certificate-requests-xml|pki:get-pending-certificate-requests-pem|pki:get-pending-certificate-request|pki:get-certificates-for-template-xml|pki:get-certificates-for-template|pki:get-certificates|pki:get-certificate-xml|pki:get-certificate-pem|pki:get-certificate|pki:generate-temporary-certificate-if-necessary|pki:generate-temporary-certificate|pki:generate-template-certificate-authority|pki:generate-certificate-request|pki:delete-template|pki:delete-certificate|pki:create-template|pdf:make-toc|pdf:insert-toc-headers|pdf:get-toc|pdf:clean|p:status-transition|p:state-transition|p:remove|p:pipelines|p:insert|p:get-by-id|p:get|p:execute|p:create|p:condition|p:collection|p:action|ooxml:runs-merge|ooxml:package-uris|ooxml:package-parts-insert|ooxml:package-parts|msword:clean|mcgm:polygon|mcgm:point|mcgm:geospatial-query-from-elements|mcgm:geospatial-query|mcgm:circle|math:tanh|math:tan|math:sqrt|math:sinh|math:sin|math:pow|math:modf|math:log10|math:log|math:ldexp|math:frexp|math:fmod|math:floor|math:fabs|math:exp|math:cosh|math:cos|math:ceil|math:atan2|math:atan|math:asin|math:acos|map:put|map:map|map:keys|map:get|map:delete|map:count|map:clear|lnk:to|lnk:remove|lnk:insert|lnk:get|lnk:from|lnk:create|kml:polygon|kml:point|kml:interior-polygon|kml:geospatial-query-from-elements|kml:geospatial-query|kml:circle|kml:box|gml:polygon|gml:point|gml:interior-polygon|gml:geospatial-query-from-elements|gml:geospatial-query|gml:circle|gml:box|georss:point|georss:geospatial-query|georss:circle|geo:polygon|geo:point|geo:interior-polygon|geo:geospatial-query-from-elements|geo:geospatial-query|geo:circle|geo:box|fn:zero-or-one|fn:years-from-duration|fn:year-from-dateTime|fn:year-from-date|fn:upper-case|fn:unordered|fn:true|fn:translate|fn:trace|fn:tokenize|fn:timezone-from-time|fn:timezone-from-dateTime|fn:timezone-from-date|fn:sum|fn:subtract-dateTimes-yielding-yearMonthDuration|fn:subtract-dateTimes-yielding-dayTimeDuration|fn:substring-before|fn:substring-after|fn:substring|fn:subsequence|fn:string-to-codepoints|fn:string-pad|fn:string-length|fn:string-join|fn:string|fn:static-base-uri|fn:starts-with|fn:seconds-from-time|fn:seconds-from-duration|fn:seconds-from-dateTime|fn:round-half-to-even|fn:round|fn:root|fn:reverse|fn:resolve-uri|fn:resolve-QName|fn:replace|fn:remove|fn:QName|fn:prefix-from-QName|fn:position|fn:one-or-more|fn:number|fn:not|fn:normalize-unicode|fn:normalize-space|fn:node-name|fn:node-kind|fn:nilled|fn:namespace-uri-from-QName|fn:namespace-uri-for-prefix|fn:namespace-uri|fn:name|fn:months-from-duration|fn:month-from-dateTime|fn:month-from-date|fn:minutes-from-time|fn:minutes-from-duration|fn:minutes-from-dateTime|fn:min|fn:max|fn:matches|fn:lower-case|fn:local-name-from-QName|fn:local-name|fn:last|fn:lang|fn:iri-to-uri|fn:insert-before|fn:index-of|fn:in-scope-prefixes|fn:implicit-timezone|fn:idref|fn:id|fn:hours-from-time|fn:hours-from-duration|fn:hours-from-dateTime|fn:floor|fn:false|fn:expanded-QName|fn:exists|fn:exactly-one|fn:escape-uri|fn:escape-html-uri|fn:error|fn:ends-with|fn:encode-for-uri|fn:empty|fn:document-uri|fn:doc-available|fn:doc|fn:distinct-values|fn:distinct-nodes|fn:default-collation|fn:deep-equal|fn:days-from-duration|fn:day-from-dateTime|fn:day-from-date|fn:data|fn:current-time|fn:current-dateTime|fn:current-date|fn:count|fn:contains|fn:concat|fn:compare|fn:collection|fn:codepoints-to-string|fn:codepoint-equal|fn:ceiling|fn:boolean|fn:base-uri|fn:avg|fn:adjust-time-to-timezone|fn:adjust-dateTime-to-timezone|fn:adjust-date-to-timezone|fn:abs|feed:unsubscribe|feed:subscription|feed:subscribe|feed:request|feed:item|feed:description|excel:clean|entity:enrich|dom:set-pipelines|dom:set-permissions|dom:set-name|dom:set-evaluation-context|dom:set-domain-scope|dom:set-description|dom:remove-pipeline|dom:remove-permissions|dom:remove|dom:get|dom:evaluation-context|dom:domains|dom:domain-scope|dom:create|dom:configuration-set-restart-user|dom:configuration-set-permissions|dom:configuration-set-evaluation-context|dom:configuration-set-default-domain|dom:configuration-get|dom:configuration-create|dom:collection|dom:add-pipeline|dom:add-permissions|dls:retention-rules|dls:retention-rule-remove|dls:retention-rule-insert|dls:retention-rule|dls:purge|dls:node-expand|dls:link-references|dls:link-expand|dls:documents-query|dls:document-versions-query|dls:document-version-uri|dls:document-version-query|dls:document-version-delete|dls:document-version-as-of|dls:document-version|dls:document-update|dls:document-unmanage|dls:document-set-quality|dls:document-set-property|dls:document-set-properties|dls:document-set-permissions|dls:document-set-collections|dls:document-retention-rules|dls:document-remove-properties|dls:document-remove-permissions|dls:document-remove-collections|dls:document-purge|dls:document-manage|dls:document-is-managed|dls:document-insert-and-manage|dls:document-include-query|dls:document-history|dls:document-get-permissions|dls:document-extract-part|dls:document-delete|dls:document-checkout-status|dls:document-checkout|dls:document-checkin|dls:document-add-properties|dls:document-add-permissions|dls:document-add-collections|dls:break-checkout|dls:author-query|dls:as-of-query|dbk:convert|dbg:wait|dbg:value|dbg:stopped|dbg:stop|dbg:step|dbg:status|dbg:stack|dbg:out|dbg:next|dbg:line|dbg:invoke|dbg:function|dbg:finish|dbg:expr|dbg:eval|dbg:disconnect|dbg:detach|dbg:continue|dbg:connect|dbg:clear|dbg:breakpoints|dbg:break|dbg:attached|dbg:attach|cvt:save-converted-documents|cvt:part-uri|cvt:destination-uri|cvt:basepath|cvt:basename|cts:words|cts:word-query-weight|cts:word-query-text|cts:word-query-options|cts:word-query|cts:word-match|cts:walk|cts:uris|cts:uri-match|cts:train|cts:tokenize|cts:thresholds|cts:stem|cts:similar-query-weight|cts:similar-query-nodes|cts:similar-query|cts:shortest-distance|cts:search|cts:score|cts:reverse-query-weight|cts:reverse-query-nodes|cts:reverse-query|cts:remainder|cts:registered-query-weight|cts:registered-query-options|cts:registered-query-ids|cts:registered-query|cts:register|cts:query|cts:quality|cts:properties-query-query|cts:properties-query|cts:polygon-vertices|cts:polygon|cts:point-longitude|cts:point-latitude|cts:point|cts:or-query-queries|cts:or-query|cts:not-query-weight|cts:not-query-query|cts:not-query|cts:near-query-weight|cts:near-query-queries|cts:near-query-options|cts:near-query-distance|cts:near-query|cts:highlight|cts:geospatial-co-occurrences|cts:frequency|cts:fitness|cts:field-words|cts:field-word-query-weight|cts:field-word-query-text|cts:field-word-query-options|cts:field-word-query-field-name|cts:field-word-query|cts:field-word-match|cts:entity-highlight|cts:element-words|cts:element-word-query-weight|cts:element-word-query-text|cts:element-word-query-options|cts:element-word-query-element-name|cts:element-word-query|cts:element-word-match|cts:element-values|cts:element-value-ranges|cts:element-value-query-weight|cts:element-value-query-text|cts:element-value-query-options|cts:element-value-query-element-name|cts:element-value-query|cts:element-value-match|cts:element-value-geospatial-co-occurrences|cts:element-value-co-occurrences|cts:element-range-query-weight|cts:element-range-query-value|cts:element-range-query-options|cts:element-range-query-operator|cts:element-range-query-element-name|cts:element-range-query|cts:element-query-query|cts:element-query-element-name|cts:element-query|cts:element-pair-geospatial-values|cts:element-pair-geospatial-value-match|cts:element-pair-geospatial-query-weight|cts:element-pair-geospatial-query-region|cts:element-pair-geospatial-query-options|cts:element-pair-geospatial-query-longitude-name|cts:element-pair-geospatial-query-latitude-name|cts:element-pair-geospatial-query-element-name|cts:element-pair-geospatial-query|cts:element-pair-geospatial-boxes|cts:element-geospatial-values|cts:element-geospatial-value-match|cts:element-geospatial-query-weight|cts:element-geospatial-query-region|cts:element-geospatial-query-options|cts:element-geospatial-query-element-name|cts:element-geospatial-query|cts:element-geospatial-boxes|cts:element-child-geospatial-values|cts:element-child-geospatial-value-match|cts:element-child-geospatial-query-weight|cts:element-child-geospatial-query-region|cts:element-child-geospatial-query-options|cts:element-child-geospatial-query-element-name|cts:element-child-geospatial-query-child-name|cts:element-child-geospatial-query|cts:element-child-geospatial-boxes|cts:element-attribute-words|cts:element-attribute-word-query-weight|cts:element-attribute-word-query-text|cts:element-attribute-word-query-options|cts:element-attribute-word-query-element-name|cts:element-attribute-word-query-attribute-name|cts:element-attribute-word-query|cts:element-attribute-word-match|cts:element-attribute-values|cts:element-attribute-value-ranges|cts:element-attribute-value-query-weight|cts:element-attribute-value-query-text|cts:element-attribute-value-query-options|cts:element-attribute-value-query-element-name|cts:element-attribute-value-query-attribute-name|cts:element-attribute-value-query|cts:element-attribute-value-match|cts:element-attribute-value-geospatial-co-occurrences|cts:element-attribute-value-co-occurrences|cts:element-attribute-range-query-weight|cts:element-attribute-range-query-value|cts:element-attribute-range-query-options|cts:element-attribute-range-query-operator|cts:element-attribute-range-query-element-name|cts:element-attribute-range-query-attribute-name|cts:element-attribute-range-query|cts:element-attribute-pair-geospatial-values|cts:element-attribute-pair-geospatial-value-match|cts:element-attribute-pair-geospatial-query-weight|cts:element-attribute-pair-geospatial-query-region|cts:element-attribute-pair-geospatial-query-options|cts:element-attribute-pair-geospatial-query-longitude-name|cts:element-attribute-pair-geospatial-query-latitude-name|cts:element-attribute-pair-geospatial-query-element-name|cts:element-attribute-pair-geospatial-query|cts:element-attribute-pair-geospatial-boxes|cts:document-query-uris|cts:document-query|cts:distance|cts:directory-query-uris|cts:directory-query-depth|cts:directory-query|cts:destination|cts:deregister|cts:contains|cts:confidence|cts:collections|cts:collection-query-uris|cts:collection-query|cts:collection-match|cts:classify|cts:circle-radius|cts:circle-center|cts:circle|cts:box-west|cts:box-south|cts:box-north|cts:box-east|cts:box|cts:bearing|cts:arc-intersection|cts:and-query-queries|cts:and-query-options|cts:and-query|cts:and-not-query-positive-query|cts:and-not-query-negative-query|cts:and-not-query|css:get|css:convert|cpf:success|cpf:failure|cpf:document-set-state|cpf:document-set-processing-status|cpf:document-set-last-updated|cpf:document-set-error|cpf:document-get-state|cpf:document-get-processing-status|cpf:document-get-last-updated|cpf:document-get-error|cpf:check-transition|alert:spawn-matching-actions|alert:rule-user-id-query|alert:rule-set-user-id|alert:rule-set-query|alert:rule-set-options|alert:rule-set-name|alert:rule-set-description|alert:rule-set-action|alert:rule-remove|alert:rule-name-query|alert:rule-insert|alert:rule-id-query|alert:rule-get-user-id|alert:rule-get-query|alert:rule-get-options|alert:rule-get-name|alert:rule-get-id|alert:rule-get-description|alert:rule-get-action|alert:rule-action-query|alert:remove-triggers|alert:make-rule|alert:make-log-action|alert:make-config|alert:make-action|alert:invoke-matching-actions|alert:get-my-rules|alert:get-all-rules|alert:get-actions|alert:find-matching-rules|alert:create-triggers|alert:config-set-uri|alert:config-set-trigger-ids|alert:config-set-options|alert:config-set-name|alert:config-set-description|alert:config-set-cpf-domain-names|alert:config-set-cpf-domain-ids|alert:config-insert|alert:config-get-uri|alert:config-get-trigger-ids|alert:config-get-options|alert:config-get-name|alert:config-get-id|alert:config-get-description|alert:config-get-cpf-domain-names|alert:config-get-cpf-domain-ids|alert:config-get|alert:config-delete|alert:action-set-options|alert:action-set-name|alert:action-set-module-root|alert:action-set-module-db|alert:action-set-module|alert:action-set-description|alert:action-remove|alert:action-insert|alert:action-get-options|alert:action-get-name|alert:action-get-module-root|alert:action-get-module-db|alert:action-get-module|alert:action-get-description|zero-or-one|years-from-duration|year-from-dateTime|year-from-date|upper-case|unordered|true|translate|trace|tokenize|timezone-from-time|timezone-from-dateTime|timezone-from-date|sum|subtract-dateTimes-yielding-yearMonthDuration|subtract-dateTimes-yielding-dayTimeDuration|substring-before|substring-after|substring|subsequence|string-to-codepoints|string-pad|string-length|string-join|string|static-base-uri|starts-with|seconds-from-time|seconds-from-duration|seconds-from-dateTime|round-half-to-even|round|root|reverse|resolve-uri|resolve-QName|replace|remove|QName|prefix-from-QName|position|one-or-more|number|not|normalize-unicode|normalize-space|node-name|node-kind|nilled|namespace-uri-from-QName|namespace-uri-for-prefix|namespace-uri|name|months-from-duration|month-from-dateTime|month-from-date|minutes-from-time|minutes-from-duration|minutes-from-dateTime|min|max|matches|lower-case|local-name-from-QName|local-name|last|lang|iri-to-uri|insert-before|index-of|in-scope-prefixes|implicit-timezone|idref|id|hours-from-time|hours-from-duration|hours-from-dateTime|floor|false|expanded-QName|exists|exactly-one|escape-uri|escape-html-uri|error|ends-with|encode-for-uri|empty|document-uri|doc-available|doc|distinct-values|distinct-nodes|default-collation|deep-equal|days-from-duration|day-from-dateTime|day-from-date|data|current-time|current-dateTime|current-date|count|contains|concat|compare|collection|codepoints-to-string|codepoint-equal|ceiling|boolean|base-uri|avg|adjust-time-to-timezone|adjust-dateTime-to-timezone|adjust-date-to-timezone|abs)\b/], 3 | ["pln",/^[\w:-]+/],["pln",/^[\t\n\r \xa0]+/]]),["xq","xquery"]); 4 | -------------------------------------------------------------------------------- /resources/prettify/lang-yaml.js: -------------------------------------------------------------------------------- 1 | var a=null; 2 | PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:>?|]+/,a,":|>?"],["dec",/^%(?:YAML|TAG)[^\n\r#]+/,a,"%"],["typ",/^&\S+/,a,"&"],["typ",/^!\S*/,a,"!"],["str",/^"(?:[^"\\]|\\.)*(?:"|$)/,a,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,a,"'"],["com",/^#[^\n\r]*/,a,"#"],["pln",/^\s+/,a," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\n\r]|$)/],["pun",/^-/],["kwd",/^\w+:[\n\r ]/],["pln",/^\w+/]]),["yaml","yml"]); 3 | -------------------------------------------------------------------------------- /resources/prettify/prettify.css: -------------------------------------------------------------------------------- 1 | .pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:10px;border:1px solid #e7e7e7}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} -------------------------------------------------------------------------------- /resources/prettify/prettify.js: -------------------------------------------------------------------------------- 1 | var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; 2 | (function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a= 3 | [],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m), 9 | l=[],p={},d=0,g=e.length;d=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, 10 | q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/, 11 | q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g, 12 | "");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a), 13 | a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e} 14 | for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], 18 | "catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"], 19 | H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], 20 | J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+ 21 | I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]), 22 | ["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css", 23 | /^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}), 24 | ["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes", 25 | hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p=0){var k=k.match(g),f,b;if(b= 26 | !k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}pd;d++){var f=this.data.charCodeAt(d);f>65536?(b[0]=240|(1835008&f)>>>18,b[1]=128|(258048&f)>>>12,b[2]=128|(4032&f)>>>6,b[3]=128|63&f):f>2048?(b[0]=224|(61440&f)>>>12,b[1]=128|(4032&f)>>>6,b[2]=128|63&f):f>128?(b[0]=192|(1984&f)>>>6,b[1]=128|63&f):b[0]=f,this.parsedData=this.parsedData.concat(b)}this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function b(a,b){this.typeNumber=a,this.errorCorrectLevel=b,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function i(a,b){if(void 0==a.length)throw new Error(a.length+"/"+b);for(var c=0;c=f;f++){var h=0;switch(b){case d.L:h=l[f][0];break;case d.M:h=l[f][1];break;case d.Q:h=l[f][2];break;case d.H:h=l[f][3]}if(h>=e)break;c++}if(c>l.length)throw new Error("Too long data");return c}function s(a){var b=encodeURI(a).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return b.length+(b.length!=a?3:0)}a.prototype={getLength:function(){return this.parsedData.length},write:function(a){for(var b=0,c=this.parsedData.length;c>b;b++)a.put(this.parsedData[b],8)}},b.prototype={addData:function(b){var c=new a(b);this.dataList.push(c),this.dataCache=null},isDark:function(a,b){if(0>a||this.moduleCount<=a||0>b||this.moduleCount<=b)throw new Error(a+","+b);return this.modules[a][b]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(a,c){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var d=0;d=7&&this.setupTypeNumber(a),null==this.dataCache&&(this.dataCache=b.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,c)},setupPositionProbePattern:function(a,b){for(var c=-1;7>=c;c++)if(!(-1>=a+c||this.moduleCount<=a+c))for(var d=-1;7>=d;d++)-1>=b+d||this.moduleCount<=b+d||(this.modules[a+c][b+d]=c>=0&&6>=c&&(0==d||6==d)||d>=0&&6>=d&&(0==c||6==c)||c>=2&&4>=c&&d>=2&&4>=d?!0:!1)},getBestMaskPattern:function(){for(var a=0,b=0,c=0;8>c;c++){this.makeImpl(!0,c);var d=f.getLostPoint(this);(0==c||a>d)&&(a=d,b=c)}return b},createMovieClip:function(a,b,c){var d=a.createEmptyMovieClip(b,c),e=1;this.make();for(var f=0;f=g;g++)for(var h=-2;2>=h;h++)this.modules[d+g][e+h]=-2==g||2==g||-2==h||2==h||0==g&&0==h?!0:!1}},setupTypeNumber:function(a){for(var b=f.getBCHTypeNumber(this.typeNumber),c=0;18>c;c++){var d=!a&&1==(1&b>>c);this.modules[Math.floor(c/3)][c%3+this.moduleCount-8-3]=d}for(var c=0;18>c;c++){var d=!a&&1==(1&b>>c);this.modules[c%3+this.moduleCount-8-3][Math.floor(c/3)]=d}},setupTypeInfo:function(a,b){for(var c=this.errorCorrectLevel<<3|b,d=f.getBCHTypeInfo(c),e=0;15>e;e++){var g=!a&&1==(1&d>>e);6>e?this.modules[e][8]=g:8>e?this.modules[e+1][8]=g:this.modules[this.moduleCount-15+e][8]=g}for(var e=0;15>e;e++){var g=!a&&1==(1&d>>e);8>e?this.modules[8][this.moduleCount-e-1]=g:9>e?this.modules[8][15-e-1+1]=g:this.modules[8][15-e-1]=g}this.modules[this.moduleCount-8][8]=!a},mapData:function(a,b){for(var c=-1,d=this.moduleCount-1,e=7,g=0,h=this.moduleCount-1;h>0;h-=2)for(6==h&&h--;;){for(var i=0;2>i;i++)if(null==this.modules[d][h-i]){var j=!1;g>>e));var k=f.getMask(b,d,h-i);k&&(j=!j),this.modules[d][h-i]=j,e--,-1==e&&(g++,e=7)}if(d+=c,0>d||this.moduleCount<=d){d-=c,c=-c;break}}}},b.PAD0=236,b.PAD1=17,b.createData=function(a,c,d){for(var e=j.getRSBlocks(a,c),g=new k,h=0;h8*l)throw new Error("code length overflow. ("+g.getLengthInBits()+">"+8*l+")");for(g.getLengthInBits()+4<=8*l&&g.put(0,4);0!=g.getLengthInBits()%8;)g.putBit(!1);for(;;){if(g.getLengthInBits()>=8*l)break;if(g.put(b.PAD0,8),g.getLengthInBits()>=8*l)break;g.put(b.PAD1,8)}return b.createBytes(g,e)},b.createBytes=function(a,b){for(var c=0,d=0,e=0,g=new Array(b.length),h=new Array(b.length),j=0;j=0?p.get(q):0}}for(var r=0,m=0;mm;m++)for(var j=0;jm;m++)for(var j=0;j=0;)b^=f.G15<=0;)b^=f.G18<>>=1;return b},getPatternPosition:function(a){return f.PATTERN_POSITION_TABLE[a-1]},getMask:function(a,b,c){switch(a){case e.PATTERN000:return 0==(b+c)%2;case e.PATTERN001:return 0==b%2;case e.PATTERN010:return 0==c%3;case e.PATTERN011:return 0==(b+c)%3;case e.PATTERN100:return 0==(Math.floor(b/2)+Math.floor(c/3))%2;case e.PATTERN101:return 0==b*c%2+b*c%3;case e.PATTERN110:return 0==(b*c%2+b*c%3)%2;case e.PATTERN111:return 0==(b*c%3+(b+c)%2)%2;default:throw new Error("bad maskPattern:"+a)}},getErrorCorrectPolynomial:function(a){for(var b=new i([1],0),c=0;a>c;c++)b=b.multiply(new i([1,g.gexp(c)],0));return b},getLengthInBits:function(a,b){if(b>=1&&10>b)switch(a){case c.MODE_NUMBER:return 10;case c.MODE_ALPHA_NUM:return 9;case c.MODE_8BIT_BYTE:return 8;case c.MODE_KANJI:return 8;default:throw new Error("mode:"+a)}else if(27>b)switch(a){case c.MODE_NUMBER:return 12;case c.MODE_ALPHA_NUM:return 11;case c.MODE_8BIT_BYTE:return 16;case c.MODE_KANJI:return 10;default:throw new Error("mode:"+a)}else{if(!(41>b))throw new Error("type:"+b);switch(a){case c.MODE_NUMBER:return 14;case c.MODE_ALPHA_NUM:return 13;case c.MODE_8BIT_BYTE:return 16;case c.MODE_KANJI:return 12;default:throw new Error("mode:"+a)}}},getLostPoint:function(a){for(var b=a.getModuleCount(),c=0,d=0;b>d;d++)for(var e=0;b>e;e++){for(var f=0,g=a.isDark(d,e),h=-1;1>=h;h++)if(!(0>d+h||d+h>=b))for(var i=-1;1>=i;i++)0>e+i||e+i>=b||(0!=h||0!=i)&&g==a.isDark(d+h,e+i)&&f++;f>5&&(c+=3+f-5)}for(var d=0;b-1>d;d++)for(var e=0;b-1>e;e++){var j=0;a.isDark(d,e)&&j++,a.isDark(d+1,e)&&j++,a.isDark(d,e+1)&&j++,a.isDark(d+1,e+1)&&j++,(0==j||4==j)&&(c+=3)}for(var d=0;b>d;d++)for(var e=0;b-6>e;e++)a.isDark(d,e)&&!a.isDark(d,e+1)&&a.isDark(d,e+2)&&a.isDark(d,e+3)&&a.isDark(d,e+4)&&!a.isDark(d,e+5)&&a.isDark(d,e+6)&&(c+=40);for(var e=0;b>e;e++)for(var d=0;b-6>d;d++)a.isDark(d,e)&&!a.isDark(d+1,e)&&a.isDark(d+2,e)&&a.isDark(d+3,e)&&a.isDark(d+4,e)&&!a.isDark(d+5,e)&&a.isDark(d+6,e)&&(c+=40);for(var k=0,e=0;b>e;e++)for(var d=0;b>d;d++)a.isDark(d,e)&&k++;var l=Math.abs(100*k/b/b-50)/5;return c+=10*l}},g={glog:function(a){if(1>a)throw new Error("glog("+a+")");return g.LOG_TABLE[a]},gexp:function(a){for(;0>a;)a+=255;for(;a>=256;)a-=255;return g.EXP_TABLE[a]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},h=0;8>h;h++)g.EXP_TABLE[h]=1<h;h++)g.EXP_TABLE[h]=g.EXP_TABLE[h-4]^g.EXP_TABLE[h-5]^g.EXP_TABLE[h-6]^g.EXP_TABLE[h-8];for(var h=0;255>h;h++)g.LOG_TABLE[g.EXP_TABLE[h]]=h;i.prototype={get:function(a){return this.num[a]},getLength:function(){return this.num.length},multiply:function(a){for(var b=new Array(this.getLength()+a.getLength()-1),c=0;cf;f++)for(var g=c[3*f+0],h=c[3*f+1],i=c[3*f+2],k=0;g>k;k++)e.push(new j(h,i));return e},j.getRsBlockTable=function(a,b){switch(b){case d.L:return j.RS_BLOCK_TABLE[4*(a-1)+0];case d.M:return j.RS_BLOCK_TABLE[4*(a-1)+1];case d.Q:return j.RS_BLOCK_TABLE[4*(a-1)+2];case d.H:return j.RS_BLOCK_TABLE[4*(a-1)+3];default:return void 0}},k.prototype={get:function(a){var b=Math.floor(a/8);return 1==(1&this.buffer[b]>>>7-a%8)},put:function(a,b){for(var c=0;b>c;c++)this.putBit(1==(1&a>>>b-c-1))},getLengthInBits:function(){return this.length},putBit:function(a){var b=Math.floor(this.length/8);this.buffer.length<=b&&this.buffer.push(0),a&&(this.buffer[b]|=128>>>this.length%8),this.length++}};var l=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]],o=function(){var a=function(a,b){this._el=a,this._htOption=b};return a.prototype.draw=function(a){function g(a,b){var c=document.createElementNS("http://www.w3.org/2000/svg",a);for(var d in b)b.hasOwnProperty(d)&&c.setAttribute(d,b[d]);return c}var b=this._htOption,c=this._el,d=a.getModuleCount();Math.floor(b.width/d),Math.floor(b.height/d),this.clear();var h=g("svg",{viewBox:"0 0 "+String(d)+" "+String(d),width:"100%",height:"100%",fill:b.colorLight});h.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),c.appendChild(h),h.appendChild(g("rect",{fill:b.colorDark,width:"1",height:"1",id:"template"}));for(var i=0;d>i;i++)for(var j=0;d>j;j++)if(a.isDark(i,j)){var k=g("use",{x:String(i),y:String(j)});k.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),h.appendChild(k)}},a.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},a}(),p="svg"===document.documentElement.tagName.toLowerCase(),q=p?o:m()?function(){function a(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}function d(a,b){var c=this;if(c._fFail=b,c._fSuccess=a,null===c._bSupportDataURI){var d=document.createElement("img"),e=function(){c._bSupportDataURI=!1,c._fFail&&_fFail.call(c)},f=function(){c._bSupportDataURI=!0,c._fSuccess&&c._fSuccess.call(c)};return d.onabort=e,d.onerror=e,d.onload=f,d.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",void 0}c._bSupportDataURI===!0&&c._fSuccess?c._fSuccess.call(c):c._bSupportDataURI===!1&&c._fFail&&c._fFail.call(c)}if(this._android&&this._android<=2.1){var b=1/window.devicePixelRatio,c=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(a,d,e,f,g,h,i,j){if("nodeName"in a&&/img/i.test(a.nodeName))for(var l=arguments.length-1;l>=1;l--)arguments[l]=arguments[l]*b;else"undefined"==typeof j&&(arguments[1]*=b,arguments[2]*=b,arguments[3]*=b,arguments[4]*=b);c.apply(this,arguments)}}var e=function(a,b){this._bIsPainted=!1,this._android=n(),this._htOption=b,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=b.width,this._elCanvas.height=b.height,a.appendChild(this._elCanvas),this._el=a,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return e.prototype.draw=function(a){var b=this._elImage,c=this._oContext,d=this._htOption,e=a.getModuleCount(),f=d.width/e,g=d.height/e,h=Math.round(f),i=Math.round(g);b.style.display="none",this.clear();for(var j=0;e>j;j++)for(var k=0;e>k;k++){var l=a.isDark(j,k),m=k*f,n=j*g;c.strokeStyle=l?d.colorDark:d.colorLight,c.lineWidth=1,c.fillStyle=l?d.colorDark:d.colorLight,c.fillRect(m,n,f,g),c.strokeRect(Math.floor(m)+.5,Math.floor(n)+.5,h,i),c.strokeRect(Math.ceil(m)-.5,Math.ceil(n)-.5,h,i)}this._bIsPainted=!0},e.prototype.makeImage=function(){this._bIsPainted&&d.call(this,a)},e.prototype.isPainted=function(){return this._bIsPainted},e.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},e.prototype.round=function(a){return a?Math.floor(1e3*a)/1e3:a},e}():function(){var a=function(a,b){this._el=a,this._htOption=b};return a.prototype.draw=function(a){for(var b=this._htOption,c=this._el,d=a.getModuleCount(),e=Math.floor(b.width/d),f=Math.floor(b.height/d),g=[''],h=0;d>h;h++){g.push("");for(var i=0;d>i;i++)g.push('');g.push("")}g.push("
"),c.innerHTML=g.join("");var j=c.childNodes[0],k=(b.width-j.offsetWidth)/2,l=(b.height-j.offsetHeight)/2;k>0&&l>0&&(j.style.margin=l+"px "+k+"px")},a.prototype.clear=function(){this._el.innerHTML=""},a}();QRCode=function(a,b){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:d.H},"string"==typeof b&&(b={text:b}),b)for(var c in b)this._htOption[c]=b[c];"string"==typeof a&&(a=document.getElementById(a)),this._android=n(),this._el=a,this._oQRCode=null,this._oDrawing=new q(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},QRCode.prototype.makeCode=function(a){this._oQRCode=new b(r(a,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(a),this._oQRCode.make(),this._el.title=a,this._oDrawing.draw(this._oQRCode),this.makeImage()},QRCode.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},QRCode.prototype.clear=function(){this._oDrawing.clear()},QRCode.CorrectLevel=d}(); -------------------------------------------------------------------------------- /resources/site.css: -------------------------------------------------------------------------------- 1 | 2 | /*@import url(http://fonts.googleapis.com/css?family=PT+Sans&subset=latin-ext,latin);*/ 3 | 4 | @media (min-width: 1200px) { 5 | .container { 6 | width: auto; 7 | max-width: 1380px; 8 | } 9 | } 10 | 11 | body { 12 | font-family: Arial, 'PT Sans', Ubuntu, Helvetica, sans-serif; 13 | color: #313131; 14 | /*padding-top: 70px;*/ 15 | } 16 | 17 | h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { 18 | font-family: Arial, 'PT Sans', Ubuntu, Helvetica, sans-serif; 19 | font-weight: normal; 20 | } 21 | 22 | h1 .badge { 23 | vertical-align: super; 24 | text-shadow: none; 25 | } 26 | 27 | hr { 28 | border-color: #ccc; 29 | } 30 | 31 | a, 32 | a:hover { 33 | color: #ee3d00; 34 | } 35 | 36 | p { 37 | margin-bottom: 15px; 38 | } 39 | 40 | h1 { 41 | font-family: "Century Gothic", Arial, 'PT Sans', Ubuntu, Helvetica, sans-serif; 42 | } 43 | 44 | h2 { 45 | font-family: "Century Gothic", Arial, 'PT Sans', Ubuntu, Helvetica, sans-serif; 46 | margin: 30px 0 20px; 47 | } 48 | 49 | h3 { 50 | margin-top: 25px; 51 | font-weight: bold; 52 | } 53 | 54 | h1 small, 55 | h2 small, 56 | h3 small, 57 | h4 small, 58 | h5 small, 59 | h6 small { 60 | font-size: 0.75em; 61 | } 62 | 63 | .dl-horizontal dt { 64 | width: 200px; 65 | } 66 | 67 | .dl-horizontal dd { 68 | margin-left: 220px; 69 | } 70 | 71 | small { 72 | font-size: 12px; 73 | } 74 | 75 | .navbar-brand { 76 | padding: 5px 0px 5px; 77 | } 78 | 79 | .navbar-default { 80 | font-family: "Century Gothic", Arial, sans-serif; 81 | background: rgba(22, 31, 37, 0.96); 82 | color: #fff; 83 | text-transform: uppercase; 84 | border: none; 85 | /*box-shadow: 0px 0px 1px rgba(0,0,0,0.9);*/ 86 | /*background-image: linear-gradient(to top, rgb(62, 86, 112) 0%, rgb(69, 94, 122) 100%)*/; 87 | } 88 | 89 | .navbar-default .navbar-nav > .dropdown > a .caret, 90 | .navbar-default .navbar-nav > .dropdown > a:hover .caret, 91 | .navbar-default .navbar-nav > .dropdown > a:focus .caret { 92 | border-top-color: #fff; 93 | border-bottom-color: #fff; 94 | } 95 | 96 | .navbar > .container .navbar-brand { 97 | margin-left: 0; 98 | margin-right: 15px; 99 | } 100 | 101 | .navbar .nav > li > a { 102 | color: #fff; 103 | } 104 | 105 | .navbar-default .navbar-brand, 106 | .navbar-default .navbar-brand:hover, 107 | .navbar-default .navbar-brand:focus { 108 | color: #fff; 109 | } 110 | 111 | .navbar .nav > .active { 112 | } 113 | 114 | .navbar .nav > .active > a, 115 | .navbar .nav > .active > a:hover, 116 | .navbar .nav > .active > a:focus, 117 | .navbar .nav li.dropdown.active > .dropdown-toggle, 118 | .navbar .nav li.dropdown.open.active > .dropdown-toggle { 119 | background: rgba(235,245,255,0.15); 120 | color: #fff; 121 | /*height: 65px;*/ 122 | } 123 | 124 | .navbar .nav > li > a:focus, 125 | .navbar .nav > li > a:hover, 126 | .navbar .nav li.dropdown.open > .dropdown-toggle { 127 | background: rgba(235,245,255,0.15); 128 | color: #fff; 129 | } 130 | 131 | 132 | .dropdown-menu { 133 | border-radius: 0; 134 | padding: 10px 0; 135 | } 136 | 137 | .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-submenu:hover > a, .dropdown-submenu:focus > a, 138 | .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus { 139 | background: #555f66; 140 | color: #fff; 141 | } 142 | 143 | .nav-tabs .open .dropdown-toggle, .nav-pills .open .dropdown-toggle, .nav > li.dropdown.open.active > a:hover { 144 | border: none; 145 | } 146 | 147 | .dropdown-menu > li > a { 148 | padding: 10px 20px; 149 | color: #585858; 150 | } 151 | 152 | .navbar .followus { 153 | display: none; 154 | float: right; 155 | color: white; 156 | margin-top: 15px; 157 | margin-right: 10px; 158 | } 159 | 160 | .panel { 161 | border-radius: 10px; 162 | background: #f5f5f5; 163 | box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2); 164 | -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2); 165 | -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2); 166 | } 167 | 168 | .panel-heading { 169 | border-bottom: 1px solid #ddd; 170 | color: #4d4d4d; 171 | font-size: 14px; 172 | margin: 0; 173 | } 174 | 175 | .panel-heading a { 176 | color: #4d4d4d; 177 | } 178 | 179 | .panel-body { 180 | border-top: 1px solid #fff; 181 | } 182 | 183 | .abstract { 184 | min-height: 60px; 185 | } 186 | 187 | .btn-info { 188 | border: none; 189 | background: #ee3d00; 190 | color: #fff; 191 | box-shadow: none; 192 | text-shadow: none; 193 | } 194 | 195 | .btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .btn-info.disabled, .btn-info[disabled] { 196 | background: #a5360f; 197 | } 198 | 199 | .socialbuttons, 200 | .addthis_toolbox { 201 | min-height: 25px; 202 | } 203 | 204 | .socialbuttons .addthis_toolbox { 205 | width: 498px; 206 | display: inline-block; 207 | } 208 | 209 | .socialbuttons .addthis_toolbox.loaded { 210 | width: 450px; 211 | } 212 | 213 | .socialbuttons-virtuosoft .addthis_toolbox { 214 | margin-left: 20px; 215 | width: 110px; 216 | } 217 | 218 | .socialbuttons { 219 | white-space: nowrap; 220 | } 221 | 222 | .row-fluid .socialbuttons { 223 | margin-bottom: 15px; 224 | } 225 | 226 | .navbar .socialbuttons { 227 | float: right; 228 | height: 20px; 229 | width: 220px; 230 | white-space: nowrap; 231 | margin-top: 15px; 232 | } 233 | 234 | .navbar .btn-navbar { 235 | background: #474747; 236 | -webkit-box-shadow: none; 237 | -moz-box-shadow: none; 238 | box-shadow: none; 239 | } 240 | 241 | .navbar .btn-navbar { 242 | background: #a5360f; 243 | border: none; 244 | border-radius: 0; 245 | } 246 | 247 | .navbar .btn-navbar:hover, .navbar .btn-navbar:focus, .navbar .btn-navbar:active, .navbar .btn-navbar.active, .navbar .btn-navbar.disabled, .navbar .btn-navbar[disabled] { 248 | background: #474747; 249 | } 250 | 251 | .nav-collapse .nav > li > a, .nav-collapse .dropdown-menu a { 252 | border-radius: 0; 253 | } 254 | 255 | 256 | /* woodpaul on board */ 257 | .hero-unit { 258 | text-align: center; 259 | margin: 0 0 50px; 260 | } 261 | 262 | .hero-unit h1 { 263 | text-align: center; 264 | text-shadow: 1px 1px 0px rgba(255,255,255,1); 265 | } 266 | 267 | .hero-unit h1 small { 268 | display: block; 269 | } 270 | 271 | .hero-unit .btn { 272 | margin: 0; 273 | } 274 | 275 | .socialbuttons { 276 | text-align: center; 277 | margin: 30px 0; 278 | } 279 | 280 | .socialbuttons-virtuosoft { 281 | text-align: right; 282 | min-height: 25px; 283 | vertical-align: top; 284 | width: auto; 285 | } 286 | 287 | .navbar .socialbuttons { 288 | margin: 15px 0 0 0; 289 | } 290 | 291 | .socialbuttons iframe { 292 | display: inline-block; 293 | } 294 | 295 | .socialbuttons .share-github { 296 | position: relative; 297 | top: -5px; 298 | } 299 | 300 | .socialbuttons .addthis_button_facebook_like { 301 | margin: 0 30px 0 0; 302 | } 303 | 304 | hr{ 305 | background-color: transparent; 306 | border-top: 1px solid #ddd; 307 | border-bottom: 1px solid #fff; 308 | } 309 | 310 | .controls-row { 311 | margin: 0 0 10px; 312 | } 313 | 314 | /* table */ 315 | .table thead th { 316 | font-family: "Century Gothic", Arial, sans-serif; 317 | text-transform: uppercase; 318 | font-weight: normal; 319 | background-color: #bc451b; 320 | color: #fff; 321 | vertical-align: middle!important; 322 | } 323 | 324 | code { 325 | padding: 1px 4px; 326 | } 327 | 328 | /* footer */ 329 | footer { 330 | margin: 50px 50px 0; 331 | /*background-color: #181818;*/ 332 | padding: 10px 0; 333 | font-size: 12px; 334 | color: #333; 335 | text-align: right; 336 | border-top: 1px solid #ddd; 337 | } 338 | 339 | footer ul { 340 | margin: 0; 341 | color: #666; 342 | } 343 | 344 | footer ul li { 345 | display: inline-block; 346 | margin: 0 10px; 347 | color: #333; 348 | } 349 | 350 | @media (min-width: 768px) { 351 | .navbar-collapse { 352 | float: left; 353 | } 354 | 355 | .dropdown:hover .dropdown-menu { 356 | display: block; 357 | } 358 | } 359 | 360 | @media (max-width: 1000px) { 361 | .navbar .followus { 362 | display: none; 363 | } 364 | } 365 | 366 | @media (max-width: 767px) { 367 | body { 368 | padding-top: 0; 369 | } 370 | 371 | .navbar-fixed-top { 372 | position: initial; 373 | } 374 | 375 | .navbar-default .navbar-nav .open .dropdown-menu > li > a { 376 | color: #fff; 377 | } 378 | 379 | .navbar-collapse { 380 | background: #000; 381 | color: #fff; 382 | } 383 | 384 | .navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle, 385 | .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus, 386 | .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { 387 | background: rgba(255,255,255,.2); 388 | color: #fff; 389 | height: auto; 390 | } 391 | 392 | .navbar-fixed-top > .container { 393 | position: relative; 394 | } 395 | 396 | .navbar > .container .navbar-brand { 397 | margin-left: 15px; 398 | } 399 | 400 | .navbar .socialbuttons { 401 | position: absolute; 402 | right: 100px; 403 | top: 0; 404 | width: 200px; 405 | margin-top: 12px; 406 | } 407 | } 408 | 409 | @media (min-width: 1100px) { 410 | .socialbuttons-virtuosoft { 411 | display: inline-block; 412 | position: fixed; 413 | right: 10px; 414 | top: 9px; 415 | z-index: 1030; 416 | color: #fff; 417 | } 418 | 419 | #link-gpf { 420 | background-color: #fff; 421 | padding: 0; 422 | margin: 0 2px; 423 | } 424 | } 425 | 426 | .socialbuttons-virtuosoft .smallbuttons { 427 | margin-top: 5px; 428 | } 429 | 430 | .vs-socialicon { 431 | display: inline-block; 432 | width: 32px; 433 | height: 32px; 434 | margin-right: 5px; 435 | margin-top: 9px; 436 | background-image: url(//cdn.virtuosoft.eu/virtuosoft.eu/socialicons.png); 437 | } 438 | 439 | #vs-fb { 440 | background-position: 0 0; 441 | } 442 | 443 | #vs-tw { 444 | background-position: -32px 0; 445 | } 446 | 447 | #vs-gp { 448 | background-position: -64px 0; 449 | } 450 | 451 | .vs-social-navbar { 452 | display: block; 453 | } 454 | .vs-social-contenttop { 455 | display: none; 456 | text-align: right; 457 | } 458 | 459 | @media (max-width: 767px) { 460 | .vs-social-navbar { 461 | display: none; 462 | } 463 | .vs-social-contenttop { 464 | display: block; 465 | } 466 | } 467 | 468 | .well.light { 469 | background: #fff; 470 | margin: 0 0 10px; 471 | padding:5px; 472 | } 473 | 474 | .well.light .header h1,.well.light .header h2,.well.light .header h3 { 475 | font-size: 15px; 476 | font-weight: bold; 477 | padding: 10px; 478 | margin: 0; 479 | border-bottom: 1px dotted #ddd; 480 | } 481 | 482 | .well.light .header h1 { 483 | font-size: 25px; 484 | } 485 | 486 | .well.light .content { 487 | background: #fcfcfc; 488 | padding: 15px 15px 5px; 489 | margin: 0; 490 | } 491 | 492 | .well.light .content p { 493 | margin: 0 0 10px; 494 | } 495 | 496 | .article-content img { 497 | border-radius: 5px; 498 | box-shadow: 0px 6px 8px -2px; 499 | } 500 | 501 | img.pull-left { 502 | margin: 0 10px 10px 0; 503 | } 504 | 505 | img.pull-right { 506 | margin: 0 0 10px 10px; 507 | } 508 | 509 | img.centered { 510 | margin: 0 auto 10px auto; 511 | } 512 | 513 | .nopadding { 514 | padding: 15px 0 !important; 515 | } 516 | 517 | .btn-primary { 518 | background-color: #3396E7; 519 | border-color: #0867a6; 520 | } 521 | 522 | .btn-primary.disabled, 523 | .btn-primary[disabled], 524 | fieldset[disabled] .btn-primary, 525 | .btn-primary.disabled:hover, 526 | .btn-primary[disabled]:hover, 527 | fieldset[disabled] .btn-primary:hover, 528 | .btn-primary.disabled:focus, 529 | .btn-primary[disabled]:focus, 530 | fieldset[disabled] .btn-primary:focus, 531 | .btn-primary.disabled:active, 532 | .btn-primary[disabled]:active, 533 | fieldset[disabled] .btn-primary:active, 534 | .btn-primary.disabled.active, 535 | .btn-primary[disabled].active, 536 | fieldset[disabled] .btn-primary.active { 537 | background-color: #7CAFDB; 538 | border-color: transparent; 539 | } 540 | 541 | .btn:active, .btn.active { 542 | background-image: none; 543 | outline: 0; 544 | -webkit-box-shadow: inset 0 3px 10px rgba(0,0,0,0.2),inset 0 -3px 10px rgba(0,0,0,0.2); 545 | box-shadow: inset 0 3px 10px rgba(0,0,0,0.2),inset 0 -3px 10px rgba(0,0,0,0.2); 546 | } 547 | 548 | .recommend { 549 | margin-bottom: 15px; 550 | } 551 | 552 | @media (max-width: 767px) { 553 | .recommend { 554 | margin-right: 15px; 555 | } 556 | } 557 | 558 | /* xs, sm */ 559 | body { 560 | font-size: 16px; 561 | line-height: 1.25em; 562 | } 563 | 564 | h1 { 565 | font-size: 32px; 566 | line-height: 1.25em; 567 | } 568 | h2 { 569 | font-size: 26px; 570 | line-height: 1.15384615em; 571 | } 572 | h3 { 573 | font-size: 22px; 574 | line-height: 1.13636364em; 575 | } 576 | h4, h5, h6 { 577 | font-size: 18px; 578 | line-height: 1.11111111em; 579 | } 580 | 581 | /* md */ 582 | @media (min-width: 992px) { 583 | body { 584 | font-size: 16px; 585 | line-height: 1.375em; 586 | } 587 | h1 { 588 | font-size: 40px; 589 | line-height: 1.125em; 590 | } 591 | h2 { 592 | font-size: 32px; 593 | line-height: 1.25em; 594 | } 595 | h3 { 596 | font-size: 24px; 597 | line-height: 1.25em; 598 | } 599 | h4, h5, h6 { 600 | font-size: 18px; 601 | line-height: 1.22222222em; 602 | } 603 | } 604 | 605 | /* lg */ 606 | @media (min-width: 1200px) { 607 | body { 608 | font-size: 16px; 609 | line-height: 1.375em; 610 | } 611 | h1 { 612 | font-size: 48px; 613 | line-height: 1.05em; 614 | } 615 | h2 { 616 | font-size: 36px; 617 | line-height: 1.25em; 618 | } 619 | h3 { 620 | font-size: 28px; 621 | line-height: 1.25em; 622 | } 623 | h4, h5, h6 { 624 | font-size: 18px; 625 | line-height: 1.22222222em; 626 | } 627 | } 628 | -------------------------------------------------------------------------------- /resources/syntaxhighlighter/3.0.83/shBrushCss.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | function getKeywordsCSS(str) 25 | { 26 | return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b'; 27 | }; 28 | 29 | function getValuesCSS(str) 30 | { 31 | return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b'; 32 | }; 33 | 34 | var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' + 35 | 'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' + 36 | 'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' + 37 | 'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' + 38 | 'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' + 39 | 'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' + 40 | 'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' + 41 | 'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' + 42 | 'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' + 43 | 'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' + 44 | 'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' + 45 | 'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' + 46 | 'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' + 47 | 'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index'; 48 | 49 | var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+ 50 | 'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+ 51 | 'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double '+ 52 | 'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+ 53 | 'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+ 54 | 'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+ 55 | 'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+ 56 | 'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+ 57 | 'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+ 58 | 'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+ 59 | 'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+ 60 | 'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+ 61 | 'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+ 62 | 'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow'; 63 | 64 | var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif'; 65 | 66 | this.regexList = [ 67 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments 68 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings 69 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings 70 | { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors 71 | { regex: /(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)/g, css: 'value' }, // sizes 72 | { regex: /!important/g, css: 'color3' }, // !important 73 | { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords 74 | { regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values 75 | { regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts 76 | ]; 77 | 78 | this.forHtmlScript({ 79 | left: /(<|<)\s*style.*?(>|>)/gi, 80 | right: /(<|<)\/\s*style\s*(>|>)/gi 81 | }); 82 | }; 83 | 84 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 85 | Brush.aliases = ['css']; 86 | 87 | SyntaxHighlighter.brushes.CSS = Brush; 88 | 89 | // CommonJS 90 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 91 | })(); 92 | -------------------------------------------------------------------------------- /resources/syntaxhighlighter/3.0.83/shBrushJScript.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'break case catch continue ' + 25 | 'default delete do else false ' + 26 | 'for function if in instanceof ' + 27 | 'new null return super switch ' + 28 | 'this throw true try typeof var while with' 29 | ; 30 | 31 | var r = SyntaxHighlighter.regexLib; 32 | 33 | this.regexList = [ 34 | { regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings 35 | { regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings 36 | { regex: r.singleLineCComments, css: 'comments' }, // one line comments 37 | { regex: r.multiLineCComments, css: 'comments' }, // multiline comments 38 | { regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion 39 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords 40 | ]; 41 | 42 | this.forHtmlScript(r.scriptScriptTags); 43 | }; 44 | 45 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 46 | Brush.aliases = ['js', 'jscript', 'javascript']; 47 | 48 | SyntaxHighlighter.brushes.JScript = Brush; 49 | 50 | // CommonJS 51 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 52 | })(); 53 | -------------------------------------------------------------------------------- /resources/syntaxhighlighter/3.0.83/shCore.css: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | .syntaxhighlighter a, 18 | .syntaxhighlighter div, 19 | .syntaxhighlighter code, 20 | .syntaxhighlighter table, 21 | .syntaxhighlighter table td, 22 | .syntaxhighlighter table tr, 23 | .syntaxhighlighter table tbody, 24 | .syntaxhighlighter table thead, 25 | .syntaxhighlighter table caption, 26 | .syntaxhighlighter textarea { 27 | -moz-border-radius: 0 0 0 0 !important; 28 | -webkit-border-radius: 0 0 0 0 !important; 29 | background: none !important; 30 | border: 0 !important; 31 | bottom: auto !important; 32 | float: none !important; 33 | height: auto !important; 34 | left: auto !important; 35 | line-height: 1.1em !important; 36 | margin: 0 !important; 37 | outline: 0 !important; 38 | overflow: visible !important; 39 | padding: 0 !important; 40 | position: static !important; 41 | right: auto !important; 42 | text-align: left !important; 43 | top: auto !important; 44 | vertical-align: baseline !important; 45 | width: auto !important; 46 | box-sizing: content-box !important; 47 | font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; 48 | font-weight: normal !important; 49 | font-style: normal !important; 50 | font-size: 1em !important; 51 | min-height: inherit !important; 52 | min-height: auto !important; 53 | } 54 | 55 | .syntaxhighlighter { 56 | width: 100% !important; 57 | margin: 1em 0 1em 0 !important; 58 | position: relative !important; 59 | overflow: auto !important; 60 | font-size: 1em !important; 61 | max-height: 100%; 62 | } 63 | .syntaxhighlighter.source { 64 | overflow: hidden !important; 65 | } 66 | .syntaxhighlighter .bold { 67 | font-weight: bold !important; 68 | } 69 | .syntaxhighlighter .italic { 70 | font-style: italic !important; 71 | } 72 | .syntaxhighlighter .line { 73 | white-space: pre !important; 74 | } 75 | .syntaxhighlighter table { 76 | width: 100% !important; 77 | } 78 | .syntaxhighlighter table caption { 79 | text-align: left !important; 80 | padding: .5em 0 0.5em 1em !important; 81 | } 82 | .syntaxhighlighter table td.code { 83 | width: 100% !important; 84 | } 85 | .syntaxhighlighter table td.code .container { 86 | position: relative !important; 87 | } 88 | .syntaxhighlighter table td.code .container textarea { 89 | box-sizing: border-box !important; 90 | position: absolute !important; 91 | left: 0 !important; 92 | top: 0 !important; 93 | width: 100% !important; 94 | height: 100% !important; 95 | border: none !important; 96 | background: white !important; 97 | padding-left: 1em !important; 98 | overflow: hidden !important; 99 | white-space: pre !important; 100 | } 101 | .syntaxhighlighter table td.gutter .line { 102 | text-align: right !important; 103 | padding: 0 0.5em 0 1em !important; 104 | } 105 | .syntaxhighlighter table td.code .line { 106 | padding: 0 1em !important; 107 | } 108 | .syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line { 109 | padding-left: 0em !important; 110 | } 111 | .syntaxhighlighter.show { 112 | display: block !important; 113 | } 114 | .syntaxhighlighter.collapsed table { 115 | display: none !important; 116 | } 117 | .syntaxhighlighter.collapsed .toolbar { 118 | padding: 0.1em 0.8em 0em 0.8em !important; 119 | font-size: 1em !important; 120 | position: static !important; 121 | width: auto !important; 122 | height: auto !important; 123 | } 124 | .syntaxhighlighter.collapsed .toolbar span { 125 | display: inline !important; 126 | margin-right: 1em !important; 127 | } 128 | .syntaxhighlighter.collapsed .toolbar span a { 129 | padding: 0 !important; 130 | display: none !important; 131 | } 132 | .syntaxhighlighter.collapsed .toolbar span a.expandSource { 133 | display: inline !important; 134 | } 135 | .syntaxhighlighter .toolbar { 136 | position: absolute !important; 137 | right: 1px !important; 138 | top: 1px !important; 139 | width: 11px !important; 140 | height: 11px !important; 141 | font-size: 10px !important; 142 | z-index: 10 !important; 143 | } 144 | .syntaxhighlighter .toolbar span.title { 145 | display: inline !important; 146 | } 147 | .syntaxhighlighter .toolbar a { 148 | display: block !important; 149 | text-align: center !important; 150 | text-decoration: none !important; 151 | padding-top: 1px !important; 152 | } 153 | .syntaxhighlighter .toolbar a.expandSource { 154 | display: none !important; 155 | } 156 | .syntaxhighlighter.ie { 157 | font-size: .9em !important; 158 | padding: 1px 0 1px 0 !important; 159 | } 160 | .syntaxhighlighter.ie .toolbar { 161 | line-height: 8px !important; 162 | } 163 | .syntaxhighlighter.ie .toolbar a { 164 | padding-top: 0px !important; 165 | } 166 | .syntaxhighlighter.printing .line.alt1 .content, 167 | .syntaxhighlighter.printing .line.alt2 .content, 168 | .syntaxhighlighter.printing .line.highlighted .number, 169 | .syntaxhighlighter.printing .line.highlighted.alt1 .content, 170 | .syntaxhighlighter.printing .line.highlighted.alt2 .content { 171 | background: none !important; 172 | } 173 | .syntaxhighlighter.printing .line .number { 174 | color: #bbbbbb !important; 175 | } 176 | .syntaxhighlighter.printing .line .content { 177 | color: black !important; 178 | } 179 | .syntaxhighlighter.printing .toolbar { 180 | display: none !important; 181 | } 182 | .syntaxhighlighter.printing a { 183 | text-decoration: none !important; 184 | } 185 | .syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a { 186 | color: black !important; 187 | } 188 | .syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a { 189 | color: #008200 !important; 190 | } 191 | .syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a { 192 | color: blue !important; 193 | } 194 | .syntaxhighlighter.printing .keyword { 195 | color: #006699 !important; 196 | font-weight: bold !important; 197 | } 198 | .syntaxhighlighter.printing .preprocessor { 199 | color: gray !important; 200 | } 201 | .syntaxhighlighter.printing .variable { 202 | color: #aa7700 !important; 203 | } 204 | .syntaxhighlighter.printing .value { 205 | color: #009900 !important; 206 | } 207 | .syntaxhighlighter.printing .functions { 208 | color: #ff1493 !important; 209 | } 210 | .syntaxhighlighter.printing .constants { 211 | color: #0066cc !important; 212 | } 213 | .syntaxhighlighter.printing .script { 214 | font-weight: bold !important; 215 | } 216 | .syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a { 217 | color: gray !important; 218 | } 219 | .syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a { 220 | color: #ff1493 !important; 221 | } 222 | .syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a { 223 | color: red !important; 224 | } 225 | .syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a { 226 | color: black !important; 227 | } 228 | -------------------------------------------------------------------------------- /resources/syntaxhighlighter/3.0.83/shCore.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('K M;I(M)1S 2U("2a\'t 4k M 4K 2g 3l 4G 4H");(6(){6 r(f,e){I(!M.1R(f))1S 3m("3s 15 4R");K a=f.1w;f=M(f.1m,t(f)+(e||""));I(a)f.1w={1m:a.1m,19:a.19?a.19.1a(0):N};H f}6 t(f){H(f.1J?"g":"")+(f.4s?"i":"")+(f.4p?"m":"")+(f.4v?"x":"")+(f.3n?"y":"")}6 B(f,e,a,b){K c=u.L,d,h,g;v=R;5K{O(;c--;){g=u[c];I(a&g.3r&&(!g.2p||g.2p.W(b))){g.2q.12=e;I((h=g.2q.X(f))&&h.P===e){d={3k:g.2b.W(b,h,a),1C:h};1N}}}}5v(i){1S i}5q{v=11}H d}6 p(f,e,a){I(3b.Z.1i)H f.1i(e,a);O(a=a||0;a-1},3d:6(g){e+=g}};c1&&p(e,"")>-1){a=15(J.1m,n.Q.W(t(J),"g",""));n.Q.W(f.1a(e.P),a,6(){O(K c=1;c<14.L-2;c++)I(14[c]===1d)e[c]=1d})}I(J.1w&&J.1w.19)O(K b=1;be.P&&J.12--}H e};I(!D)15.Z.1A=6(f){(f=n.X.W(J,f))&&J.1J&&!f[0].L&&J.12>f.P&&J.12--;H!!f};1r.Z.1C=6(f){M.1R(f)||(f=15(f));I(f.1J){K e=n.1C.1p(J,14);f.12=0;H e}H f.X(J)};1r.Z.Q=6(f,e){K a=M.1R(f),b,c;I(a&&1j e.58()==="3f"&&e.1i("${")===-1&&y)H n.Q.1p(J,14);I(a){I(f.1w)b=f.1w.19}Y f+="";I(1j e==="6")c=n.Q.W(J,f,6(){I(b){14[0]=1f 1r(14[0]);O(K d=0;dd.L-3;){i=1r.Z.1a.W(g,-1)+i;g=1Q.3i(g/10)}H(g?d[g]||"":"$")+i}Y{g=+i;I(g<=d.L-3)H d[g];g=b?p(b,i):-1;H g>-1?d[g+1]:h}})})}I(a&&f.1J)f.12=0;H c};1r.Z.1e=6(f,e){I(!M.1R(f))H n.1e.1p(J,14);K a=J+"",b=[],c=0,d,h;I(e===1d||+e<0)e=5D;Y{e=1Q.3i(+e);I(!e)H[]}O(f=M.3c(f);d=f.X(a);){I(f.12>c){b.U(a.1a(c,d.P));d.L>1&&d.P=e)1N}f.12===d.P&&f.12++}I(c===a.L){I(!n.1A.W(f,"")||h)b.U("")}Y b.U(a.1a(c));H b.L>e?b.1a(0,e):b};M.1h(/\\(\\?#[^)]*\\)/,6(f){H n.1A.W(A,f.2S.1a(f.P+f[0].L))?"":"(?:)"});M.1h(/\\((?!\\?)/,6(){J.19.U(N);H"("});M.1h(/\\(\\?<([$\\w]+)>/,6(f){J.19.U(f[1]);J.2N=R;H"("});M.1h(/\\\\k<([\\w$]+)>/,6(f){K e=p(J.19,f[1]);H e>-1?"\\\\"+(e+1)+(3R(f.2S.3a(f.P+f[0].L))?"":"(?:)"):f[0]});M.1h(/\\[\\^?]/,6(f){H f[0]==="[]"?"\\\\b\\\\B":"[\\\\s\\\\S]"});M.1h(/^\\(\\?([5A]+)\\)/,6(f){J.3d(f[1]);H""});M.1h(/(?:\\s+|#.*)+/,6(f){H n.1A.W(A,f.2S.1a(f.P+f[0].L))?"":"(?:)"},M.1B,6(){H J.2K("x")});M.1h(/\\./,6(){H"[\\\\s\\\\S]"},M.1B,6(){H J.2K("s")})})();1j 2e!="1d"&&(2e.M=M);K 1v=6(){6 r(a,b){a.1l.1i(b)!=-1||(a.1l+=" "+b)}6 t(a){H a.1i("3e")==0?a:"3e"+a}6 B(a){H e.1Y.2A[t(a)]}6 p(a,b,c){I(a==N)H N;K d=c!=R?a.3G:[a.2G],h={"#":"1c",".":"1l"}[b.1o(0,1)]||"3h",g,i;g=h!="3h"?b.1o(1):b.5u();I((a[h]||"").1i(g)!=-1)H a;O(a=0;d&&a\'+c+""});H a}6 n(a,b){a.1e("\\n");O(K c="",d=0;d<50;d++)c+=" ";H a=v(a,6(h){I(h.1i("\\t")==-1)H h;O(K g=0;(g=h.1i("\\t"))!=-1;)h=h.1o(0,g)+c.1o(0,b-g%b)+h.1o(g+1,h.L);H h})}6 x(a){H a.Q(/^\\s+|\\s+$/g,"")}6 D(a,b){I(a.Pb.P)H 1;Y I(a.Lb.L)H 1;H 0}6 y(a,b){6 c(k){H k[0]}O(K d=N,h=[],g=b.2D?b.2D:c;(d=b.1I.X(a))!=N;){K i=g(d,b);I(1j i=="3f")i=[1f e.2L(i,d.P,b.23)];h=h.1O(i)}H h}6 E(a){K b=/(.*)((&1G;|&1y;).*)/;H a.Q(e.3A.3M,6(c){K d="",h=N;I(h=b.X(c)){c=h[1];d=h[2]}H\'\'+c+""+d})}6 z(){O(K a=1E.36("1k"),b=[],c=0;c<1z 4I="1Z://2y.3L.3K/4L/5L"><3J><4N 1Z-4M="5G-5M" 6K="2O/1z; 6J=6I-8" /><1t>6L 1v<3B 1L="25-6M:6Q,6P,6O,6N-6F;6y-2f:#6x;2f:#6w;25-22:6v;2O-3D:3C;">1v3v 3.0.76 (72 73 3x)1Z://3u.2w/1v70 17 6U 71.6T 6X-3x 6Y 6D.6t 61 60 J 1k, 5Z 5R 5V <2R/>5U 5T 5S!\'}},1Y:{2j:N,2A:{}},1U:{},3A:{6n:/\\/\\*[\\s\\S]*?\\*\\//2c,6m:/\\/\\/.*$/2c,6l:/#.*$/2c,6k:/"([^\\\\"\\n]|\\\\.)*"/g,6o:/\'([^\\\\\'\\n]|\\\\.)*\'/g,6p:1f M(\'"([^\\\\\\\\"]|\\\\\\\\.)*"\',"3z"),6s:1f M("\'([^\\\\\\\\\']|\\\\\\\\.)*\'","3z"),6q:/(&1y;|<)!--[\\s\\S]*?--(&1G;|>)/2c,3M:/\\w+:\\/\\/[\\w-.\\/?%&=:@;]*/g,6a:{18:/(&1y;|<)\\?=?/g,1b:/\\?(&1G;|>)/g},69:{18:/(&1y;|<)%=?/g,1b:/%(&1G;|>)/g},6d:{18:/(&1y;|<)\\s*1k.*?(&1G;|>)/2T,1b:/(&1y;|<)\\/\\s*1k\\s*(&1G;|>)/2T}},16:{1H:6(a){6 b(i,k){H e.16.2o(i,k,e.13.1x[k])}O(K c=\'\',d=e.16.2x,h=d.2X,g=0;g";H c},2o:6(a,b,c){H\'<2W>\'+c+""},2b:6(a){K b=a.1F,c=b.1l||"";b=B(p(b,".20",R).1c);K d=6(h){H(h=15(h+"6f(\\\\w+)").X(c))?h[1]:N}("6g");b&&d&&e.16.2x[d].2B(b);a.3N()},2x:{2X:["21","2P"],21:{1H:6(a){I(a.V("2l")!=R)H"";K b=a.V("1t");H e.16.2o(a,"21",b?b:e.13.1x.21)},2B:6(a){a=1E.6j(t(a.1c));a.1l=a.1l.Q("47","")}},2P:{2B:6(){K a="68=0";a+=", 18="+(31.30-33)/2+", 32="+(31.2Z-2Y)/2+", 30=33, 2Z=2Y";a=a.Q(/^,/,"");a=1P.6Z("","38",a);a.2C();K b=a.1E;b.6W(e.13.1x.37);b.6V();a.2C()}}}},35:6(a,b){K c;I(b)c=[b];Y{c=1E.36(e.13.34);O(K d=[],h=0;h(.*?))\\\\]$"),s=1f M("(?<27>[\\\\w-]+)\\\\s*:\\\\s*(?<1T>[\\\\w-%#]+|\\\\[.*?\\\\]|\\".*?\\"|\'.*?\')\\\\s*;?","g");(j=s.X(k))!=N;){K o=j.1T.Q(/^[\'"]|[\'"]$/g,"");I(o!=N&&m.1A(o)){o=m.X(o);o=o.2V.L>0?o.2V.1e(/\\s*,\\s*/):[]}l[j.27]=o}g={1F:g,1n:C(i,l)};g.1n.1D!=N&&d.U(g)}H d},1M:6(a,b){K c=J.35(a,b),d=N,h=e.13;I(c.L!==0)O(K g=0;g")==o-3){m=m.4h(0,o-3);s=R}l=s?m:l}I((i.1t||"")!="")k.1t=i.1t;k.1D=j;d.2Q(k);b=d.2F(l);I((i.1c||"")!="")b.1c=i.1c;i.2G.74(b,i)}}},2E:6(a){w(1P,"4k",6(){e.1M(a)})}};e.2E=e.2E;e.1M=e.1M;e.2L=6(a,b,c){J.1T=a;J.P=b;J.L=a.L;J.23=c;J.1V=N};e.2L.Z.1q=6(){H J.1T};e.4l=6(a){6 b(j,l){O(K m=0;md)1N;Y I(g.P==c.P&&g.L>c.L)a[b]=N;Y I(g.P>=c.P&&g.P\'+c+""},3Q:6(a,b){K c="",d=a.1e("\\n").L,h=2u(J.V("2i-1s")),g=J.V("2z-1s-2t");I(g==R)g=(h+d-1).1q().L;Y I(3R(g)==R)g=0;O(K i=0;i\'+j+"":"")+i)}H a},4f:6(a){H a?"<4a>"+a+"":""},4b:6(a,b){6 c(l){H(l=l?l.1V||g:g)?l+" ":""}O(K d=0,h="",g=J.V("1D",""),i=0;i|&1y;2R\\s*\\/?&1G;/2T;I(e.13.46==R)b=b.Q(h,"\\n");I(e.13.44==R)b=b.Q(h,"");b=b.1e("\\n");h=/^\\s*/;g=4Q;O(K i=0;i0;i++){K k=b[i];I(x(k).L!=0){k=h.X(k);I(k==N){a=a;1N a}g=1Q.4q(k[0].L,g)}}I(g>0)O(i=0;i\'+(J.V("16")?e.16.1H(J):"")+\'<3Z 5z="0" 5H="0" 5J="0">\'+J.4f(J.V("1t"))+"<3T><3P>"+(1u?\'<2d 1g="1u">\'+J.3Q(a)+"":"")+\'<2d 1g="17">\'+b+""},2F:6(a){I(a===N)a="";J.17=a;K b=J.3Y("T");b.3X=J.1H(a);J.V("16")&&w(p(b,".16"),"5c",e.16.2b);J.V("3V-17")&&w(p(b,".17"),"56",f);H b},2Q:6(a){J.1c=""+1Q.5d(1Q.5n()*5k).1q();e.1Y.2A[t(J.1c)]=J;J.1n=C(e.2v,a||{});I(J.V("2k")==R)J.1n.16=J.1n.1u=11},5j:6(a){a=a.Q(/^\\s+|\\s+$/g,"").Q(/\\s+/g,"|");H"\\\\b(?:"+a+")\\\\b"},5f:6(a){J.28={18:{1I:a.18,23:"1k"},1b:{1I:a.1b,23:"1k"},17:1f M("(?<18>"+a.18.1m+")(?<17>.*?)(?<1b>"+a.1b.1m+")","5o")}}};H e}();1j 2e!="1d"&&(2e.1v=1v);',62,441,'||||||function|||||||||||||||||||||||||||||||||||||return|if|this|var|length|XRegExp|null|for|index|replace|true||div|push|getParam|call|exec|else|prototype||false|lastIndex|config|arguments|RegExp|toolbar|code|left|captureNames|slice|right|id|undefined|split|new|class|addToken|indexOf|typeof|script|className|source|params|substr|apply|toString|String|line|title|gutter|SyntaxHighlighter|_xregexp|strings|lt|html|test|OUTSIDE_CLASS|match|brush|document|target|gt|getHtml|regex|global|join|style|highlight|break|concat|window|Math|isRegExp|throw|value|brushes|brushName|space|alert|vars|http|syntaxhighlighter|expandSource|size|css|case|font|Fa|name|htmlScript|dA|can|handler|gm|td|exports|color|in|href|first|discoveredBrushes|light|collapse|object|cache|getButtonHtml|trigger|pattern|getLineHtml|nbsp|numbers|parseInt|defaults|com|items|www|pad|highlighters|execute|focus|func|all|getDiv|parentNode|navigator|INSIDE_CLASS|regexList|hasFlag|Match|useScriptTags|hasNamedCapture|text|help|init|br|input|gi|Error|values|span|list|250|height|width|screen|top|500|tagName|findElements|getElementsByTagName|aboutDialog|_blank|appendChild|charAt|Array|copyAsGlobal|setFlag|highlighter_|string|attachEvent|nodeName|floor|backref|output|the|TypeError|sticky|Za|iterate|freezeTokens|scope|type|textarea|alexgorbatchev|version|margin|2010|005896|gs|regexLib|body|center|align|noBrush|require|childNodes|DTD|xhtml1|head|org|w3|url|preventDefault|container|tr|getLineNumbersHtml|isNaN|userAgent|tbody|isLineHighlighted|quick|void|innerHTML|create|table|links|auto|smart|tab|stripBrs|tabs|bloggerMode|collapsed|plain|getCodeLinesHtml|caption|getMatchesHtml|findMatches|figureOutLineNumbers|removeNestedMatches|getTitleHtml|brushNotHtmlScript|substring|createElement|Highlighter|load|HtmlScript|Brush|pre|expand|multiline|min|Can|ignoreCase|find|blur|extended|toLowerCase|aliases|addEventListener|innerText|textContent|wasn|select|createTextNode|removeChild|option|same|frame|xmlns|dtd|twice|1999|equiv|meta|htmlscript|transitional|1E3|expected|PUBLIC|DOCTYPE|on|W3C|XHTML|TR|EN|Transitional||configured|srcElement|Object|after|run|dblclick|matchChain|valueOf|constructor|default|switch|click|round|execAt|forHtmlScript|token|gimy|functions|getKeywords|1E6|escape|within|random|sgi|another|finally|supply|MSIE|ie|toUpperCase|catch|returnValue|definition|event|border|imsx|constructing|one|Infinity|from|when|Content|cellpadding|flags|cellspacing|try|xhtml|Type|spaces|2930402|hosted_button_id|lastIndexOf|donate|active|development|keep|to|xclick|_s|Xml|please|like|you|paypal|cgi|cmd|webscr|bin|highlighted|scrollbars|aspScriptTags|phpScriptTags|sort|max|scriptScriptTags|toolbar_item|_|command|command_|number|getElementById|doubleQuotedString|singleLinePerlComments|singleLineCComments|multiLineCComments|singleQuotedString|multiLineDoubleQuotedString|xmlComments|alt|multiLineSingleQuotedString|If|https|1em|000|fff|background|5em|xx|bottom|75em|Gorbatchev|large|serif|CDATA|continue|utf|charset|content|About|family|sans|Helvetica|Arial|Geneva|3em|nogutter|Copyright|syntax|close|write|2004|Alex|open|JavaScript|highlighter|July|02|replaceChild|offset|83'.split('|'),0,{})) 18 | -------------------------------------------------------------------------------- /resources/syntaxhighlighter/3.0.83/shThemeDefault.css: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | .syntaxhighlighter { 18 | background-color: white !important; 19 | } 20 | .syntaxhighlighter .line.alt1 { 21 | background-color: white !important; 22 | } 23 | .syntaxhighlighter .line.alt2 { 24 | background-color: white !important; 25 | } 26 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 27 | background-color: #e0e0e0 !important; 28 | } 29 | .syntaxhighlighter .line.highlighted.number { 30 | color: black !important; 31 | } 32 | .syntaxhighlighter table caption { 33 | color: black !important; 34 | } 35 | .syntaxhighlighter .gutter { 36 | color: #afafaf !important; 37 | } 38 | .syntaxhighlighter .gutter .line { 39 | border-right: 3px solid #6ce26c !important; 40 | } 41 | .syntaxhighlighter .gutter .line.highlighted { 42 | background-color: #6ce26c !important; 43 | color: white !important; 44 | } 45 | .syntaxhighlighter.printing .line .content { 46 | border: none !important; 47 | } 48 | .syntaxhighlighter.collapsed { 49 | overflow: visible !important; 50 | } 51 | .syntaxhighlighter.collapsed .toolbar { 52 | color: blue !important; 53 | background: white !important; 54 | border: 1px solid #6ce26c !important; 55 | } 56 | .syntaxhighlighter.collapsed .toolbar a { 57 | color: blue !important; 58 | } 59 | .syntaxhighlighter.collapsed .toolbar a:hover { 60 | color: red !important; 61 | } 62 | .syntaxhighlighter .toolbar { 63 | color: white !important; 64 | background: #6ce26c !important; 65 | border: none !important; 66 | } 67 | .syntaxhighlighter .toolbar a { 68 | color: white !important; 69 | } 70 | .syntaxhighlighter .toolbar a:hover { 71 | color: black !important; 72 | } 73 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 74 | color: black !important; 75 | } 76 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 77 | color: #008200 !important; 78 | } 79 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 80 | color: blue !important; 81 | } 82 | .syntaxhighlighter .keyword { 83 | color: #006699 !important; 84 | } 85 | .syntaxhighlighter .preprocessor { 86 | color: gray !important; 87 | } 88 | .syntaxhighlighter .variable { 89 | color: #aa7700 !important; 90 | } 91 | .syntaxhighlighter .value { 92 | color: #009900 !important; 93 | } 94 | .syntaxhighlighter .functions { 95 | color: #ff1493 !important; 96 | } 97 | .syntaxhighlighter .constants { 98 | color: #0066cc !important; 99 | } 100 | .syntaxhighlighter .script { 101 | font-weight: bold !important; 102 | color: #006699 !important; 103 | background-color: none !important; 104 | } 105 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 106 | color: gray !important; 107 | } 108 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 109 | color: #ff1493 !important; 110 | } 111 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 112 | color: red !important; 113 | } 114 | 115 | .syntaxhighlighter .keyword { 116 | font-weight: bold !important; 117 | } 118 | -------------------------------------------------------------------------------- /resources/zeroclipboard/ZeroClipboard.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * ZeroClipboard 3 | * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. 4 | * Copyright (c) 2013 Jon Rohan, James M. Greene 5 | * Licensed MIT 6 | * http://zeroclipboard.org/ 7 | * v1.2.3 8 | */ 9 | (function() { 10 | "use strict"; 11 | var _camelizeCssPropName = function() { 12 | var matcherRegex = /\-([a-z])/g, replacerFn = function(match, group) { 13 | return group.toUpperCase(); 14 | }; 15 | return function(prop) { 16 | return prop.replace(matcherRegex, replacerFn); 17 | }; 18 | }(); 19 | var _getStyle = function(el, prop) { 20 | var value, camelProp, tagName, possiblePointers, i, len; 21 | if (window.getComputedStyle) { 22 | value = window.getComputedStyle(el, null).getPropertyValue(prop); 23 | } else { 24 | camelProp = _camelizeCssPropName(prop); 25 | if (el.currentStyle) { 26 | value = el.currentStyle[camelProp]; 27 | } else { 28 | value = el.style[camelProp]; 29 | } 30 | } 31 | if (prop === "cursor") { 32 | if (!value || value === "auto") { 33 | tagName = el.tagName.toLowerCase(); 34 | possiblePointers = [ "a" ]; 35 | for (i = 0, len = possiblePointers.length; i < len; i++) { 36 | if (tagName === possiblePointers[i]) { 37 | return "pointer"; 38 | } 39 | } 40 | } 41 | } 42 | return value; 43 | }; 44 | var _elementMouseOver = function(event) { 45 | if (!ZeroClipboard.prototype._singleton) return; 46 | if (!event) { 47 | event = window.event; 48 | } 49 | var target; 50 | if (this !== window) { 51 | target = this; 52 | } else if (event.target) { 53 | target = event.target; 54 | } else if (event.srcElement) { 55 | target = event.srcElement; 56 | } 57 | ZeroClipboard.prototype._singleton.setCurrent(target); 58 | }; 59 | var _addEventHandler = function(element, method, func) { 60 | if (element.addEventListener) { 61 | element.addEventListener(method, func, false); 62 | } else if (element.attachEvent) { 63 | element.attachEvent("on" + method, func); 64 | } 65 | }; 66 | var _removeEventHandler = function(element, method, func) { 67 | if (element.removeEventListener) { 68 | element.removeEventListener(method, func, false); 69 | } else if (element.detachEvent) { 70 | element.detachEvent("on" + method, func); 71 | } 72 | }; 73 | var _addClass = function(element, value) { 74 | if (element.addClass) { 75 | element.addClass(value); 76 | return element; 77 | } 78 | if (value && typeof value === "string") { 79 | var classNames = (value || "").split(/\s+/); 80 | if (element.nodeType === 1) { 81 | if (!element.className) { 82 | element.className = value; 83 | } else { 84 | var className = " " + element.className + " ", setClass = element.className; 85 | for (var c = 0, cl = classNames.length; c < cl; c++) { 86 | if (className.indexOf(" " + classNames[c] + " ") < 0) { 87 | setClass += " " + classNames[c]; 88 | } 89 | } 90 | element.className = setClass.replace(/^\s+|\s+$/g, ""); 91 | } 92 | } 93 | } 94 | return element; 95 | }; 96 | var _removeClass = function(element, value) { 97 | if (element.removeClass) { 98 | element.removeClass(value); 99 | return element; 100 | } 101 | if (value && typeof value === "string" || value === undefined) { 102 | var classNames = (value || "").split(/\s+/); 103 | if (element.nodeType === 1 && element.className) { 104 | if (value) { 105 | var className = (" " + element.className + " ").replace(/[\n\t]/g, " "); 106 | for (var c = 0, cl = classNames.length; c < cl; c++) { 107 | className = className.replace(" " + classNames[c] + " ", " "); 108 | } 109 | element.className = className.replace(/^\s+|\s+$/g, ""); 110 | } else { 111 | element.className = ""; 112 | } 113 | } 114 | } 115 | return element; 116 | }; 117 | var _getZoomFactor = function() { 118 | var rect, physicalWidth, logicalWidth, zoomFactor = 1; 119 | if (typeof document.body.getBoundingClientRect === "function") { 120 | rect = document.body.getBoundingClientRect(); 121 | physicalWidth = rect.right - rect.left; 122 | logicalWidth = document.body.offsetWidth; 123 | zoomFactor = Math.round(physicalWidth / logicalWidth * 100) / 100; 124 | } 125 | return zoomFactor; 126 | }; 127 | var _getDOMObjectPosition = function(obj) { 128 | var info = { 129 | left: 0, 130 | top: 0, 131 | width: 0, 132 | height: 0, 133 | zIndex: 999999999 134 | }; 135 | var zi = _getStyle(obj, "z-index"); 136 | if (zi && zi !== "auto") { 137 | info.zIndex = parseInt(zi, 10); 138 | } 139 | if (obj.getBoundingClientRect) { 140 | var rect = obj.getBoundingClientRect(); 141 | var pageXOffset, pageYOffset, zoomFactor; 142 | if ("pageXOffset" in window && "pageYOffset" in window) { 143 | pageXOffset = window.pageXOffset; 144 | pageYOffset = window.pageYOffset; 145 | } else { 146 | zoomFactor = _getZoomFactor(); 147 | pageXOffset = Math.round(document.documentElement.scrollLeft / zoomFactor); 148 | pageYOffset = Math.round(document.documentElement.scrollTop / zoomFactor); 149 | } 150 | var leftBorderWidth = document.documentElement.clientLeft || 0; 151 | var topBorderWidth = document.documentElement.clientTop || 0; 152 | info.left = rect.left + pageXOffset - leftBorderWidth; 153 | info.top = rect.top + pageYOffset - topBorderWidth; 154 | info.width = "width" in rect ? rect.width : rect.right - rect.left; 155 | info.height = "height" in rect ? rect.height : rect.bottom - rect.top; 156 | } 157 | return info; 158 | }; 159 | var _noCache = function(path, options) { 160 | var useNoCache = !(options && options.useNoCache === false); 161 | if (useNoCache) { 162 | return (path.indexOf("?") === -1 ? "?" : "&") + "nocache=" + new Date().getTime(); 163 | } else { 164 | return ""; 165 | } 166 | }; 167 | var _vars = function(options) { 168 | var str = []; 169 | var origins = []; 170 | if (options.trustedOrigins) { 171 | if (typeof options.trustedOrigins === "string") { 172 | origins.push(options.trustedOrigins); 173 | } else if (typeof options.trustedOrigins === "object" && "length" in options.trustedOrigins) { 174 | origins = origins.concat(options.trustedOrigins); 175 | } 176 | } 177 | if (options.trustedDomains) { 178 | if (typeof options.trustedDomains === "string") { 179 | origins.push(options.trustedDomains); 180 | } else if (typeof options.trustedDomains === "object" && "length" in options.trustedDomains) { 181 | origins = origins.concat(options.trustedDomains); 182 | } 183 | } 184 | if (origins.length) { 185 | str.push("trustedOrigins=" + encodeURIComponent(origins.join(","))); 186 | } 187 | if (typeof options.amdModuleId === "string" && options.amdModuleId) { 188 | str.push("amdModuleId=" + encodeURIComponent(options.amdModuleId)); 189 | } 190 | if (typeof options.cjsModuleId === "string" && options.cjsModuleId) { 191 | str.push("cjsModuleId=" + encodeURIComponent(options.cjsModuleId)); 192 | } 193 | return str.join("&"); 194 | }; 195 | var _inArray = function(elem, array) { 196 | if (array.indexOf) { 197 | return array.indexOf(elem); 198 | } 199 | for (var i = 0, length = array.length; i < length; i++) { 200 | if (array[i] === elem) { 201 | return i; 202 | } 203 | } 204 | return -1; 205 | }; 206 | var _prepGlue = function(elements) { 207 | if (typeof elements === "string") throw new TypeError("ZeroClipboard doesn't accept query strings."); 208 | if (!elements.length) return [ elements ]; 209 | return elements; 210 | }; 211 | var _dispatchCallback = function(func, element, instance, args, async) { 212 | if (async) { 213 | window.setTimeout(function() { 214 | func.call(element, instance, args); 215 | }, 0); 216 | } else { 217 | func.call(element, instance, args); 218 | } 219 | }; 220 | var ZeroClipboard = function(elements, options) { 221 | if (elements) (ZeroClipboard.prototype._singleton || this).glue(elements); 222 | if (ZeroClipboard.prototype._singleton) return ZeroClipboard.prototype._singleton; 223 | ZeroClipboard.prototype._singleton = this; 224 | this.options = {}; 225 | for (var kd in _defaults) this.options[kd] = _defaults[kd]; 226 | for (var ko in options) this.options[ko] = options[ko]; 227 | this.handlers = {}; 228 | if (ZeroClipboard.detectFlashSupport()) _bridge(); 229 | }; 230 | var currentElement, gluedElements = []; 231 | ZeroClipboard.prototype.setCurrent = function(element) { 232 | currentElement = element; 233 | this.reposition(); 234 | var titleAttr = element.getAttribute("title"); 235 | if (titleAttr) { 236 | this.setTitle(titleAttr); 237 | } 238 | var useHandCursor = this.options.forceHandCursor === true || _getStyle(element, "cursor") === "pointer"; 239 | _setHandCursor.call(this, useHandCursor); 240 | return this; 241 | }; 242 | ZeroClipboard.prototype.setText = function(newText) { 243 | if (newText && newText !== "") { 244 | this.options.text = newText; 245 | if (this.ready()) this.flashBridge.setText(newText); 246 | } 247 | return this; 248 | }; 249 | ZeroClipboard.prototype.setTitle = function(newTitle) { 250 | if (newTitle && newTitle !== "") this.htmlBridge.setAttribute("title", newTitle); 251 | return this; 252 | }; 253 | ZeroClipboard.prototype.setSize = function(width, height) { 254 | if (this.ready()) this.flashBridge.setSize(width, height); 255 | return this; 256 | }; 257 | ZeroClipboard.prototype.setHandCursor = function(enabled) { 258 | enabled = typeof enabled === "boolean" ? enabled : !!enabled; 259 | _setHandCursor.call(this, enabled); 260 | this.options.forceHandCursor = enabled; 261 | return this; 262 | }; 263 | var _setHandCursor = function(enabled) { 264 | if (this.ready()) this.flashBridge.setHandCursor(enabled); 265 | }; 266 | ZeroClipboard.version = "1.2.3"; 267 | var _defaults = { 268 | moviePath: "ZeroClipboard.swf", 269 | trustedOrigins: null, 270 | text: null, 271 | hoverClass: "zeroclipboard-is-hover", 272 | activeClass: "zeroclipboard-is-active", 273 | allowScriptAccess: "sameDomain", 274 | useNoCache: true, 275 | forceHandCursor: false 276 | }; 277 | ZeroClipboard.setDefaults = function(options) { 278 | for (var ko in options) _defaults[ko] = options[ko]; 279 | }; 280 | ZeroClipboard.destroy = function() { 281 | ZeroClipboard.prototype._singleton.unglue(gluedElements); 282 | var bridge = ZeroClipboard.prototype._singleton.htmlBridge; 283 | bridge && bridge.parentNode.removeChild(bridge); 284 | delete ZeroClipboard.prototype._singleton; 285 | }; 286 | ZeroClipboard.detectFlashSupport = function() { 287 | var hasFlash = false; 288 | if (typeof ActiveXObject === "function") { 289 | try { 290 | if (new ActiveXObject("ShockwaveFlash.ShockwaveFlash")) { 291 | hasFlash = true; 292 | } 293 | } catch (error) {} 294 | } 295 | if (!hasFlash && navigator.mimeTypes["application/x-shockwave-flash"]) { 296 | hasFlash = true; 297 | } 298 | return hasFlash; 299 | }; 300 | var _amdModuleId = null; 301 | var _cjsModuleId = null; 302 | var _bridge = function() { 303 | var flashBridge, len; 304 | var client = ZeroClipboard.prototype._singleton; 305 | var container = document.getElementById("global-zeroclipboard-html-bridge"); 306 | if (!container) { 307 | var opts = {}; 308 | for (var ko in client.options) opts[ko] = client.options[ko]; 309 | opts.amdModuleId = _amdModuleId; 310 | opts.cjsModuleId = _cjsModuleId; 311 | var flashvars = _vars(opts); 312 | var html = ' '; 313 | container = document.createElement("div"); 314 | container.id = "global-zeroclipboard-html-bridge"; 315 | container.setAttribute("class", "global-zeroclipboard-container"); 316 | container.setAttribute("data-clipboard-ready", false); 317 | container.style.position = "absolute"; 318 | container.style.left = "-9999px"; 319 | container.style.top = "-9999px"; 320 | container.style.width = "15px"; 321 | container.style.height = "15px"; 322 | container.style.zIndex = "9999"; 323 | container.innerHTML = html; 324 | document.body.appendChild(container); 325 | } 326 | client.htmlBridge = container; 327 | flashBridge = document["global-zeroclipboard-flash-bridge"]; 328 | if (flashBridge && (len = flashBridge.length)) { 329 | flashBridge = flashBridge[len - 1]; 330 | } 331 | client.flashBridge = flashBridge || container.children[0].lastElementChild; 332 | }; 333 | ZeroClipboard.prototype.resetBridge = function() { 334 | this.htmlBridge.style.left = "-9999px"; 335 | this.htmlBridge.style.top = "-9999px"; 336 | this.htmlBridge.removeAttribute("title"); 337 | this.htmlBridge.removeAttribute("data-clipboard-text"); 338 | _removeClass(currentElement, this.options.activeClass); 339 | currentElement = null; 340 | this.options.text = null; 341 | return this; 342 | }; 343 | ZeroClipboard.prototype.ready = function() { 344 | var ready = this.htmlBridge.getAttribute("data-clipboard-ready"); 345 | return ready === "true" || ready === true; 346 | }; 347 | ZeroClipboard.prototype.reposition = function() { 348 | if (!currentElement) return false; 349 | var pos = _getDOMObjectPosition(currentElement); 350 | this.htmlBridge.style.top = pos.top + "px"; 351 | this.htmlBridge.style.left = pos.left + "px"; 352 | this.htmlBridge.style.width = pos.width + "px"; 353 | this.htmlBridge.style.height = pos.height + "px"; 354 | this.htmlBridge.style.zIndex = pos.zIndex + 1; 355 | this.setSize(pos.width, pos.height); 356 | return this; 357 | }; 358 | ZeroClipboard.dispatch = function(eventName, args) { 359 | ZeroClipboard.prototype._singleton.receiveEvent(eventName, args); 360 | }; 361 | ZeroClipboard.prototype.on = function(eventName, func) { 362 | var events = eventName.toString().split(/\s/g); 363 | for (var i = 0; i < events.length; i++) { 364 | eventName = events[i].toLowerCase().replace(/^on/, ""); 365 | if (!this.handlers[eventName]) this.handlers[eventName] = func; 366 | } 367 | if (this.handlers.noflash && !ZeroClipboard.detectFlashSupport()) { 368 | this.receiveEvent("onNoFlash", null); 369 | } 370 | return this; 371 | }; 372 | ZeroClipboard.prototype.addEventListener = ZeroClipboard.prototype.on; 373 | ZeroClipboard.prototype.off = function(eventName, func) { 374 | var events = eventName.toString().split(/\s/g); 375 | for (var i = 0; i < events.length; i++) { 376 | eventName = events[i].toLowerCase().replace(/^on/, ""); 377 | for (var event in this.handlers) { 378 | if (event === eventName && this.handlers[event] === func) { 379 | delete this.handlers[event]; 380 | } 381 | } 382 | } 383 | return this; 384 | }; 385 | ZeroClipboard.prototype.removeEventListener = ZeroClipboard.prototype.off; 386 | ZeroClipboard.prototype.receiveEvent = function(eventName, args) { 387 | eventName = eventName.toString().toLowerCase().replace(/^on/, ""); 388 | var element = currentElement; 389 | var performCallbackAsync = true; 390 | switch (eventName) { 391 | case "load": 392 | if (args && parseFloat(args.flashVersion.replace(",", ".").replace(/[^0-9\.]/gi, "")) < 10) { 393 | this.receiveEvent("onWrongFlash", { 394 | flashVersion: args.flashVersion 395 | }); 396 | return; 397 | } 398 | this.htmlBridge.setAttribute("data-clipboard-ready", true); 399 | break; 400 | 401 | case "mouseover": 402 | _addClass(element, this.options.hoverClass); 403 | break; 404 | 405 | case "mouseout": 406 | _removeClass(element, this.options.hoverClass); 407 | this.resetBridge(); 408 | break; 409 | 410 | case "mousedown": 411 | _addClass(element, this.options.activeClass); 412 | break; 413 | 414 | case "mouseup": 415 | _removeClass(element, this.options.activeClass); 416 | break; 417 | 418 | case "datarequested": 419 | var targetId = element.getAttribute("data-clipboard-target"), targetEl = !targetId ? null : document.getElementById(targetId); 420 | if (targetEl) { 421 | var textContent = targetEl.value || targetEl.textContent || targetEl.innerText; 422 | if (textContent) this.setText(textContent); 423 | } else { 424 | var defaultText = element.getAttribute("data-clipboard-text"); 425 | if (defaultText) this.setText(defaultText); 426 | } 427 | performCallbackAsync = false; 428 | break; 429 | 430 | case "complete": 431 | this.options.text = null; 432 | break; 433 | } 434 | if (this.handlers[eventName]) { 435 | var func = this.handlers[eventName]; 436 | if (typeof func === "string" && typeof window[func] === "function") { 437 | func = window[func]; 438 | } 439 | if (typeof func === "function") { 440 | _dispatchCallback(func, element, this, args, performCallbackAsync); 441 | } 442 | } 443 | }; 444 | ZeroClipboard.prototype.glue = function(elements) { 445 | elements = _prepGlue(elements); 446 | for (var i = 0; i < elements.length; i++) { 447 | if (_inArray(elements[i], gluedElements) == -1) { 448 | gluedElements.push(elements[i]); 449 | _addEventHandler(elements[i], "mouseover", _elementMouseOver); 450 | } 451 | } 452 | return this; 453 | }; 454 | ZeroClipboard.prototype.unglue = function(elements) { 455 | elements = _prepGlue(elements); 456 | for (var i = 0; i < elements.length; i++) { 457 | _removeEventHandler(elements[i], "mouseover", _elementMouseOver); 458 | var arrayIndex = _inArray(elements[i], gluedElements); 459 | if (arrayIndex != -1) gluedElements.splice(arrayIndex, 1); 460 | } 461 | return this; 462 | }; 463 | if (typeof define === "function" && define.amd) { 464 | define([ "require", "exports", "module" ], function(require, exports, module) { 465 | _amdModuleId = module && module.id || null; 466 | return ZeroClipboard; 467 | }); 468 | } else if (typeof module === "object" && module && typeof module.exports === "object" && module.exports) { 469 | _cjsModuleId = module.id || null; 470 | module.exports = ZeroClipboard; 471 | } else { 472 | window.ZeroClipboard = ZeroClipboard; 473 | } 474 | })(); -------------------------------------------------------------------------------- /resources/zeroclipboard/ZeroClipboard.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * ZeroClipboard 3 | * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. 4 | * Copyright (c) 2013 Jon Rohan, James M. Greene 5 | * Licensed MIT 6 | * http://zeroclipboard.org/ 7 | * v1.2.3 8 | */ 9 | !function(){"use strict";var a,b=function(){var a=/\-([a-z])/g,b=function(a,b){return b.toUpperCase()};return function(c){return c.replace(a,b)}}(),c=function(a,c){var d,e,f,g,h,i;if(window.getComputedStyle?d=window.getComputedStyle(a,null).getPropertyValue(c):(e=b(c),d=a.currentStyle?a.currentStyle[e]:a.style[e]),"cursor"===c&&(!d||"auto"===d))for(f=a.tagName.toLowerCase(),g=["a"],h=0,i=g.length;i>h;h++)if(f===g[h])return"pointer";return d},d=function(a){if(p.prototype._singleton){a||(a=window.event);var b;this!==window?b=this:a.target?b=a.target:a.srcElement&&(b=a.srcElement),p.prototype._singleton.setCurrent(b)}},e=function(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c)},f=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,!1):a.detachEvent&&a.detachEvent("on"+b,c)},g=function(a,b){if(a.addClass)return a.addClass(b),a;if(b&&"string"==typeof b){var c=(b||"").split(/\s+/);if(1===a.nodeType)if(a.className){for(var d=" "+a.className+" ",e=a.className,f=0,g=c.length;g>f;f++)d.indexOf(" "+c[f]+" ")<0&&(e+=" "+c[f]);a.className=e.replace(/^\s+|\s+$/g,"")}else a.className=b}return a},h=function(a,b){if(a.removeClass)return a.removeClass(b),a;if(b&&"string"==typeof b||void 0===b){var c=(b||"").split(/\s+/);if(1===a.nodeType&&a.className)if(b){for(var d=(" "+a.className+" ").replace(/[\n\t]/g," "),e=0,f=c.length;f>e;e++)d=d.replace(" "+c[e]+" "," ");a.className=d.replace(/^\s+|\s+$/g,"")}else a.className=""}return a},i=function(){var a,b,c,d=1;return"function"==typeof document.body.getBoundingClientRect&&(a=document.body.getBoundingClientRect(),b=a.right-a.left,c=document.body.offsetWidth,d=Math.round(100*(b/c))/100),d},j=function(a){var b={left:0,top:0,width:0,height:0,zIndex:999999999},d=c(a,"z-index");if(d&&"auto"!==d&&(b.zIndex=parseInt(d,10)),a.getBoundingClientRect){var e,f,g,h=a.getBoundingClientRect();"pageXOffset"in window&&"pageYOffset"in window?(e=window.pageXOffset,f=window.pageYOffset):(g=i(),e=Math.round(document.documentElement.scrollLeft/g),f=Math.round(document.documentElement.scrollTop/g));var j=document.documentElement.clientLeft||0,k=document.documentElement.clientTop||0;b.left=h.left+e-j,b.top=h.top+f-k,b.width="width"in h?h.width:h.right-h.left,b.height="height"in h?h.height:h.bottom-h.top}return b},k=function(a,b){var c=!(b&&b.useNoCache===!1);return c?(-1===a.indexOf("?")?"?":"&")+"nocache="+(new Date).getTime():""},l=function(a){var b=[],c=[];return a.trustedOrigins&&("string"==typeof a.trustedOrigins?c.push(a.trustedOrigins):"object"==typeof a.trustedOrigins&&"length"in a.trustedOrigins&&(c=c.concat(a.trustedOrigins))),a.trustedDomains&&("string"==typeof a.trustedDomains?c.push(a.trustedDomains):"object"==typeof a.trustedDomains&&"length"in a.trustedDomains&&(c=c.concat(a.trustedDomains))),c.length&&b.push("trustedOrigins="+encodeURIComponent(c.join(","))),"string"==typeof a.amdModuleId&&a.amdModuleId&&b.push("amdModuleId="+encodeURIComponent(a.amdModuleId)),"string"==typeof a.cjsModuleId&&a.cjsModuleId&&b.push("cjsModuleId="+encodeURIComponent(a.cjsModuleId)),b.join("&")},m=function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;d>c;c++)if(b[c]===a)return c;return-1},n=function(a){if("string"==typeof a)throw new TypeError("ZeroClipboard doesn't accept query strings.");return a.length?a:[a]},o=function(a,b,c,d,e){e?window.setTimeout(function(){a.call(b,c,d)},0):a.call(b,c,d)},p=function(a,b){if(a&&(p.prototype._singleton||this).glue(a),p.prototype._singleton)return p.prototype._singleton;p.prototype._singleton=this,this.options={};for(var c in s)this.options[c]=s[c];for(var d in b)this.options[d]=b[d];this.handlers={},p.detectFlashSupport()&&v()},q=[];p.prototype.setCurrent=function(b){a=b,this.reposition();var d=b.getAttribute("title");d&&this.setTitle(d);var e=this.options.forceHandCursor===!0||"pointer"===c(b,"cursor");return r.call(this,e),this},p.prototype.setText=function(a){return a&&""!==a&&(this.options.text=a,this.ready()&&this.flashBridge.setText(a)),this},p.prototype.setTitle=function(a){return a&&""!==a&&this.htmlBridge.setAttribute("title",a),this},p.prototype.setSize=function(a,b){return this.ready()&&this.flashBridge.setSize(a,b),this},p.prototype.setHandCursor=function(a){return a="boolean"==typeof a?a:!!a,r.call(this,a),this.options.forceHandCursor=a,this};var r=function(a){this.ready()&&this.flashBridge.setHandCursor(a)};p.version="1.2.3";var s={moviePath:"ZeroClipboard.swf",trustedOrigins:null,text:null,hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",allowScriptAccess:"sameDomain",useNoCache:!0,forceHandCursor:!1};p.setDefaults=function(a){for(var b in a)s[b]=a[b]},p.destroy=function(){p.prototype._singleton.unglue(q);var a=p.prototype._singleton.htmlBridge;a.parentNode.removeChild(a),delete p.prototype._singleton},p.detectFlashSupport=function(){var a=!1;if("function"==typeof ActiveXObject)try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash")&&(a=!0)}catch(b){}return!a&&navigator.mimeTypes["application/x-shockwave-flash"]&&(a=!0),a};var t=null,u=null,v=function(){var a,b,c=p.prototype._singleton,d=document.getElementById("global-zeroclipboard-html-bridge");if(!d){var e={};for(var f in c.options)e[f]=c.options[f];e.amdModuleId=t,e.cjsModuleId=u;var g=l(e),h=' ';d=document.createElement("div"),d.id="global-zeroclipboard-html-bridge",d.setAttribute("class","global-zeroclipboard-container"),d.setAttribute("data-clipboard-ready",!1),d.style.position="absolute",d.style.left="-9999px",d.style.top="-9999px",d.style.width="15px",d.style.height="15px",d.style.zIndex="9999",d.innerHTML=h,document.body.appendChild(d)}c.htmlBridge=d,a=document["global-zeroclipboard-flash-bridge"],a&&(b=a.length)&&(a=a[b-1]),c.flashBridge=a||d.children[0].lastElementChild};p.prototype.resetBridge=function(){return this.htmlBridge.style.left="-9999px",this.htmlBridge.style.top="-9999px",this.htmlBridge.removeAttribute("title"),this.htmlBridge.removeAttribute("data-clipboard-text"),h(a,this.options.activeClass),a=null,this.options.text=null,this},p.prototype.ready=function(){var a=this.htmlBridge.getAttribute("data-clipboard-ready");return"true"===a||a===!0},p.prototype.reposition=function(){if(!a)return!1;var b=j(a);return this.htmlBridge.style.top=b.top+"px",this.htmlBridge.style.left=b.left+"px",this.htmlBridge.style.width=b.width+"px",this.htmlBridge.style.height=b.height+"px",this.htmlBridge.style.zIndex=b.zIndex+1,this.setSize(b.width,b.height),this},p.dispatch=function(a,b){p.prototype._singleton.receiveEvent(a,b)},p.prototype.on=function(a,b){for(var c=a.toString().split(/\s/g),d=0;d