bedrock_sass 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (534) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -5
  3. data/assets/_vendor/ace/ace.js +21635 -0
  4. data/assets/_vendor/ace/ext-beautify.js +318 -0
  5. data/assets/_vendor/ace/ext-elastic_tabstops_lite.js +277 -0
  6. data/assets/_vendor/ace/ext-emmet.js +1226 -0
  7. data/assets/_vendor/ace/ext-error_marker.js +10 -0
  8. data/assets/_vendor/ace/ext-keybinding_menu.js +189 -0
  9. data/assets/_vendor/ace/ext-language_tools.js +1997 -0
  10. data/assets/_vendor/ace/ext-linking.js +65 -0
  11. data/assets/_vendor/ace/ext-modelist.js +228 -0
  12. data/assets/_vendor/ace/ext-options.js +750 -0
  13. data/assets/_vendor/ace/ext-rtl.js +110 -0
  14. data/assets/_vendor/ace/ext-searchbox.js +512 -0
  15. data/assets/_vendor/ace/ext-settings_menu.js +771 -0
  16. data/assets/_vendor/ace/ext-spellcheck.js +75 -0
  17. data/assets/_vendor/ace/ext-split.js +208 -0
  18. data/assets/_vendor/ace/ext-static_highlight.js +226 -0
  19. data/assets/_vendor/ace/ext-statusbar.js +57 -0
  20. data/assets/_vendor/ace/ext-textarea.js +567 -0
  21. data/assets/_vendor/ace/ext-themelist.js +67 -0
  22. data/assets/_vendor/ace/ext-whitespace.js +210 -0
  23. data/assets/_vendor/ace/keybinding-emacs.js +1165 -0
  24. data/assets/_vendor/ace/keybinding-vim.js +5673 -0
  25. data/assets/_vendor/ace/mode-abap.js +222 -0
  26. data/assets/_vendor/ace/mode-abc.js +267 -0
  27. data/assets/_vendor/ace/mode-actionscript.js +274 -0
  28. data/assets/_vendor/ace/mode-ada.js +138 -0
  29. data/assets/_vendor/ace/mode-apache_conf.js +363 -0
  30. data/assets/_vendor/ace/mode-applescript.js +279 -0
  31. data/assets/_vendor/ace/mode-asciidoc.js +349 -0
  32. data/assets/_vendor/ace/mode-asl.js +422 -0
  33. data/assets/_vendor/ace/mode-assembly_x86.js +193 -0
  34. data/assets/_vendor/ace/mode-autohotkey.js +243 -0
  35. data/assets/_vendor/ace/mode-batchfile.js +230 -0
  36. data/assets/_vendor/ace/mode-bro.js +334 -0
  37. data/assets/_vendor/ace/mode-c9search.js +294 -0
  38. data/assets/_vendor/ace/mode-c_cpp.js +502 -0
  39. data/assets/_vendor/ace/mode-cirru.js +211 -0
  40. data/assets/_vendor/ace/mode-clojure.js +314 -0
  41. data/assets/_vendor/ace/mode-cobol.js +102 -0
  42. data/assets/_vendor/ace/mode-coffee.js +400 -0
  43. data/assets/_vendor/ace/mode-coldfusion.js +2596 -0
  44. data/assets/_vendor/ace/mode-csharp.js +502 -0
  45. data/assets/_vendor/ace/mode-csound_document.js +3749 -0
  46. data/assets/_vendor/ace/mode-csound_orchestra.js +2687 -0
  47. data/assets/_vendor/ace/mode-csound_score.js +454 -0
  48. data/assets/_vendor/ace/mode-csp.js +60 -0
  49. data/assets/_vendor/ace/mode-css.js +723 -0
  50. data/assets/_vendor/ace/mode-curly.js +2564 -0
  51. data/assets/_vendor/ace/mode-d.js +520 -0
  52. data/assets/_vendor/ace/mode-dart.js +703 -0
  53. data/assets/_vendor/ace/mode-diff.js +146 -0
  54. data/assets/_vendor/ace/mode-django.js +2594 -0
  55. data/assets/_vendor/ace/mode-dockerfile.js +498 -0
  56. data/assets/_vendor/ace/mode-dot.js +418 -0
  57. data/assets/_vendor/ace/mode-drools.js +496 -0
  58. data/assets/_vendor/ace/mode-edifact.js +165 -0
  59. data/assets/_vendor/ace/mode-eiffel.js +136 -0
  60. data/assets/_vendor/ace/mode-ejs.js +3026 -0
  61. data/assets/_vendor/ace/mode-elixir.js +501 -0
  62. data/assets/_vendor/ace/mode-elm.js +307 -0
  63. data/assets/_vendor/ace/mode-erlang.js +1009 -0
  64. data/assets/_vendor/ace/mode-forth.js +297 -0
  65. data/assets/_vendor/ace/mode-fortran.js +431 -0
  66. data/assets/_vendor/ace/mode-fsharp.js +314 -0
  67. data/assets/_vendor/ace/mode-ftl.js +1192 -0
  68. data/assets/_vendor/ace/mode-gcode.js +94 -0
  69. data/assets/_vendor/ace/mode-gherkin.js +172 -0
  70. data/assets/_vendor/ace/mode-gitignore.js +60 -0
  71. data/assets/_vendor/ace/mode-glsl.js +579 -0
  72. data/assets/_vendor/ace/mode-gobstones.js +929 -0
  73. data/assets/_vendor/ace/mode-golang.js +414 -0
  74. data/assets/_vendor/ace/mode-graphqlschema.js +214 -0
  75. data/assets/_vendor/ace/mode-groovy.js +986 -0
  76. data/assets/_vendor/ace/mode-haml.js +1555 -0
  77. data/assets/_vendor/ace/mode-handlebars.js +2622 -0
  78. data/assets/_vendor/ace/mode-haskell.js +379 -0
  79. data/assets/_vendor/ace/mode-haskell_cabal.js +142 -0
  80. data/assets/_vendor/ace/mode-haxe.js +386 -0
  81. data/assets/_vendor/ace/mode-hjson.js +353 -0
  82. data/assets/_vendor/ace/mode-html.js +2509 -0
  83. data/assets/_vendor/ace/mode-html_elixir.js +3087 -0
  84. data/assets/_vendor/ace/mode-html_ruby.js +3043 -0
  85. data/assets/_vendor/ace/mode-ini.js +163 -0
  86. data/assets/_vendor/ace/mode-io.js +253 -0
  87. data/assets/_vendor/ace/mode-jack.js +347 -0
  88. data/assets/_vendor/ace/mode-jade.js +2126 -0
  89. data/assets/_vendor/ace/mode-java.js +975 -0
  90. data/assets/_vendor/ace/mode-javascript.js +797 -0
  91. data/assets/_vendor/ace/mode-json.js +327 -0
  92. data/assets/_vendor/ace/mode-jsoniq.js +4940 -0
  93. data/assets/_vendor/ace/mode-jsp.js +1430 -0
  94. data/assets/_vendor/ace/mode-jssm.js +325 -0
  95. data/assets/_vendor/ace/mode-jsx.js +412 -0
  96. data/assets/_vendor/ace/mode-julia.js +303 -0
  97. data/assets/_vendor/ace/mode-kotlin.js +795 -0
  98. data/assets/_vendor/ace/mode-latex.js +297 -0
  99. data/assets/_vendor/ace/mode-less.js +841 -0
  100. data/assets/_vendor/ace/mode-liquid.js +1193 -0
  101. data/assets/_vendor/ace/mode-lisp.js +112 -0
  102. data/assets/_vendor/ace/mode-livescript.js +280 -0
  103. data/assets/_vendor/ace/mode-logiql.js +317 -0
  104. data/assets/_vendor/ace/mode-lsl.js +343 -0
  105. data/assets/_vendor/ace/mode-lua.js +432 -0
  106. data/assets/_vendor/ace/mode-luapage.js +3007 -0
  107. data/assets/_vendor/ace/mode-lucene.js +87 -0
  108. data/assets/_vendor/ace/mode-makefile.js +410 -0
  109. data/assets/_vendor/ace/mode-markdown.js +3189 -0
  110. data/assets/_vendor/ace/mode-mask.js +1802 -0
  111. data/assets/_vendor/ace/mode-matlab.js +264 -0
  112. data/assets/_vendor/ace/mode-maze.js +291 -0
  113. data/assets/_vendor/ace/mode-mel.js +263 -0
  114. data/assets/_vendor/ace/mode-mixal.js +123 -0
  115. data/assets/_vendor/ace/mode-mushcode.js +681 -0
  116. data/assets/_vendor/ace/mode-mysql.js +168 -0
  117. data/assets/_vendor/ace/mode-nix.js +646 -0
  118. data/assets/_vendor/ace/mode-nsis.js +312 -0
  119. data/assets/_vendor/ace/mode-objectivec.js +739 -0
  120. data/assets/_vendor/ace/mode-ocaml.js +422 -0
  121. data/assets/_vendor/ace/mode-pascal.js +205 -0
  122. data/assets/_vendor/ace/mode-perl.js +380 -0
  123. data/assets/_vendor/ace/mode-pgsql.js +1508 -0
  124. data/assets/_vendor/ace/mode-php.js +13088 -0
  125. data/assets/_vendor/ace/mode-php_laravel_blade.js +13289 -0
  126. data/assets/_vendor/ace/mode-pig.js +310 -0
  127. data/assets/_vendor/ace/mode-plain_text.js +33 -0
  128. data/assets/_vendor/ace/mode-powershell.js +418 -0
  129. data/assets/_vendor/ace/mode-praat.js +478 -0
  130. data/assets/_vendor/ace/mode-prolog.js +371 -0
  131. data/assets/_vendor/ace/mode-properties.js +81 -0
  132. data/assets/_vendor/ace/mode-protobuf.js +592 -0
  133. data/assets/_vendor/ace/mode-puppet.js +370 -0
  134. data/assets/_vendor/ace/mode-python.js +273 -0
  135. data/assets/_vendor/ace/mode-r.js +310 -0
  136. data/assets/_vendor/ace/mode-razor.js +2869 -0
  137. data/assets/_vendor/ace/mode-rdoc.js +243 -0
  138. data/assets/_vendor/ace/mode-red.js +450 -0
  139. data/assets/_vendor/ace/mode-redshift.js +361 -0
  140. data/assets/_vendor/ace/mode-rhtml.js +2806 -0
  141. data/assets/_vendor/ace/mode-rst.js +257 -0
  142. data/assets/_vendor/ace/mode-ruby.js +497 -0
  143. data/assets/_vendor/ace/mode-rust.js +279 -0
  144. data/assets/_vendor/ace/mode-sass.js +441 -0
  145. data/assets/_vendor/ace/mode-scad.js +414 -0
  146. data/assets/_vendor/ace/mode-scala.js +982 -0
  147. data/assets/_vendor/ace/mode-scheme.js +232 -0
  148. data/assets/_vendor/ace/mode-scss.js +606 -0
  149. data/assets/_vendor/ace/mode-sh.js +447 -0
  150. data/assets/_vendor/ace/mode-sjs.js +1014 -0
  151. data/assets/_vendor/ace/mode-slim.js +4736 -0
  152. data/assets/_vendor/ace/mode-smarty.js +2635 -0
  153. data/assets/_vendor/ace/mode-snippets.js +207 -0
  154. data/assets/_vendor/ace/mode-soy_template.js +2847 -0
  155. data/assets/_vendor/ace/mode-space.js +168 -0
  156. data/assets/_vendor/ace/mode-sparql.js +320 -0
  157. data/assets/_vendor/ace/mode-sql.js +111 -0
  158. data/assets/_vendor/ace/mode-sqlserver.js +444 -0
  159. data/assets/_vendor/ace/mode-stylus.js +471 -0
  160. data/assets/_vendor/ace/mode-svg.js +1581 -0
  161. data/assets/_vendor/ace/mode-swift.js +390 -0
  162. data/assets/_vendor/ace/mode-tcl.js +383 -0
  163. data/assets/_vendor/ace/mode-terraform.js +398 -0
  164. data/assets/_vendor/ace/mode-tex.js +159 -0
  165. data/assets/_vendor/ace/mode-text.js +10 -0
  166. data/assets/_vendor/ace/mode-textile.js +150 -0
  167. data/assets/_vendor/ace/mode-toml.js +154 -0
  168. data/assets/_vendor/ace/mode-tsx.js +887 -0
  169. data/assets/_vendor/ace/mode-turtle.js +296 -0
  170. data/assets/_vendor/ace/mode-twig.js +2693 -0
  171. data/assets/_vendor/ace/mode-typescript.js +868 -0
  172. data/assets/_vendor/ace/mode-vala.js +676 -0
  173. data/assets/_vendor/ace/mode-vbscript.js +207 -0
  174. data/assets/_vendor/ace/mode-velocity.js +2790 -0
  175. data/assets/_vendor/ace/mode-verilog.js +119 -0
  176. data/assets/_vendor/ace/mode-vhdl.js +118 -0
  177. data/assets/_vendor/ace/mode-wollok.js +911 -0
  178. data/assets/_vendor/ace/mode-xml.js +677 -0
  179. data/assets/_vendor/ace/mode-xquery.js +4922 -0
  180. data/assets/_vendor/ace/mode-yaml.js +300 -0
  181. data/assets/_vendor/ace/snippets/abap.js +15 -0
  182. data/assets/_vendor/ace/snippets/abc.js +46 -0
  183. data/assets/_vendor/ace/snippets/actionscript.js +172 -0
  184. data/assets/_vendor/ace/snippets/ada.js +15 -0
  185. data/assets/_vendor/ace/snippets/apache_conf.js +15 -0
  186. data/assets/_vendor/ace/snippets/applescript.js +15 -0
  187. data/assets/_vendor/ace/snippets/asciidoc.js +15 -0
  188. data/assets/_vendor/ace/snippets/asl.js +14 -0
  189. data/assets/_vendor/ace/snippets/assembly_x86.js +15 -0
  190. data/assets/_vendor/ace/snippets/autohotkey.js +15 -0
  191. data/assets/_vendor/ace/snippets/batchfile.js +15 -0
  192. data/assets/_vendor/ace/snippets/bro.js +15 -0
  193. data/assets/_vendor/ace/snippets/c9search.js +15 -0
  194. data/assets/_vendor/ace/snippets/c_cpp.js +146 -0
  195. data/assets/_vendor/ace/snippets/cirru.js +15 -0
  196. data/assets/_vendor/ace/snippets/clojure.js +105 -0
  197. data/assets/_vendor/ace/snippets/cobol.js +15 -0
  198. data/assets/_vendor/ace/snippets/coffee.js +110 -0
  199. data/assets/_vendor/ace/snippets/coldfusion.js +15 -0
  200. data/assets/_vendor/ace/snippets/csharp.js +15 -0
  201. data/assets/_vendor/ace/snippets/csound_document.js +25 -0
  202. data/assets/_vendor/ace/snippets/csound_orchestra.js +62 -0
  203. data/assets/_vendor/ace/snippets/csound_score.js +15 -0
  204. data/assets/_vendor/ace/snippets/csp.js +15 -0
  205. data/assets/_vendor/ace/snippets/css.js +982 -0
  206. data/assets/_vendor/ace/snippets/curly.js +15 -0
  207. data/assets/_vendor/ace/snippets/d.js +15 -0
  208. data/assets/_vendor/ace/snippets/dart.js +98 -0
  209. data/assets/_vendor/ace/snippets/diff.js +26 -0
  210. data/assets/_vendor/ace/snippets/django.js +123 -0
  211. data/assets/_vendor/ace/snippets/dockerfile.js +15 -0
  212. data/assets/_vendor/ace/snippets/dot.js +15 -0
  213. data/assets/_vendor/ace/snippets/drools.js +34 -0
  214. data/assets/_vendor/ace/snippets/edifact.js +255 -0
  215. data/assets/_vendor/ace/snippets/eiffel.js +15 -0
  216. data/assets/_vendor/ace/snippets/ejs.js +15 -0
  217. data/assets/_vendor/ace/snippets/elixir.js +15 -0
  218. data/assets/_vendor/ace/snippets/elm.js +15 -0
  219. data/assets/_vendor/ace/snippets/erlang.js +175 -0
  220. data/assets/_vendor/ace/snippets/forth.js +15 -0
  221. data/assets/_vendor/ace/snippets/fortran.js +15 -0
  222. data/assets/_vendor/ace/snippets/fsharp.js +15 -0
  223. data/assets/_vendor/ace/snippets/ftl.js +15 -0
  224. data/assets/_vendor/ace/snippets/gcode.js +15 -0
  225. data/assets/_vendor/ace/snippets/gherkin.js +15 -0
  226. data/assets/_vendor/ace/snippets/gitignore.js +15 -0
  227. data/assets/_vendor/ace/snippets/glsl.js +15 -0
  228. data/assets/_vendor/ace/snippets/gobstones.js +49 -0
  229. data/assets/_vendor/ace/snippets/golang.js +15 -0
  230. data/assets/_vendor/ace/snippets/graphqlschema.js +47 -0
  231. data/assets/_vendor/ace/snippets/groovy.js +15 -0
  232. data/assets/_vendor/ace/snippets/haml.js +35 -0
  233. data/assets/_vendor/ace/snippets/handlebars.js +15 -0
  234. data/assets/_vendor/ace/snippets/haskell.js +97 -0
  235. data/assets/_vendor/ace/snippets/haskell_cabal.js +15 -0
  236. data/assets/_vendor/ace/snippets/haxe.js +15 -0
  237. data/assets/_vendor/ace/snippets/hjson.js +15 -0
  238. data/assets/_vendor/ace/snippets/html.js +870 -0
  239. data/assets/_vendor/ace/snippets/html_elixir.js +15 -0
  240. data/assets/_vendor/ace/snippets/html_ruby.js +15 -0
  241. data/assets/_vendor/ace/snippets/ini.js +15 -0
  242. data/assets/_vendor/ace/snippets/io.js +77 -0
  243. data/assets/_vendor/ace/snippets/jack.js +15 -0
  244. data/assets/_vendor/ace/snippets/jade.js +15 -0
  245. data/assets/_vendor/ace/snippets/java.js +255 -0
  246. data/assets/_vendor/ace/snippets/javascript.js +210 -0
  247. data/assets/_vendor/ace/snippets/json.js +15 -0
  248. data/assets/_vendor/ace/snippets/jsoniq.js +76 -0
  249. data/assets/_vendor/ace/snippets/jsp.js +114 -0
  250. data/assets/_vendor/ace/snippets/jssm.js +15 -0
  251. data/assets/_vendor/ace/snippets/jsx.js +15 -0
  252. data/assets/_vendor/ace/snippets/julia.js +15 -0
  253. data/assets/_vendor/ace/snippets/kotlin.js +15 -0
  254. data/assets/_vendor/ace/snippets/latex.js +15 -0
  255. data/assets/_vendor/ace/snippets/less.js +15 -0
  256. data/assets/_vendor/ace/snippets/liquid.js +15 -0
  257. data/assets/_vendor/ace/snippets/lisp.js +15 -0
  258. data/assets/_vendor/ace/snippets/livescript.js +15 -0
  259. data/assets/_vendor/ace/snippets/logiql.js +15 -0
  260. data/assets/_vendor/ace/snippets/lsl.js +1247 -0
  261. data/assets/_vendor/ace/snippets/lua.js +36 -0
  262. data/assets/_vendor/ace/snippets/luapage.js +15 -0
  263. data/assets/_vendor/ace/snippets/lucene.js +15 -0
  264. data/assets/_vendor/ace/snippets/makefile.js +19 -0
  265. data/assets/_vendor/ace/snippets/markdown.js +103 -0
  266. data/assets/_vendor/ace/snippets/mask.js +15 -0
  267. data/assets/_vendor/ace/snippets/matlab.js +15 -0
  268. data/assets/_vendor/ace/snippets/maze.js +24 -0
  269. data/assets/_vendor/ace/snippets/mel.js +15 -0
  270. data/assets/_vendor/ace/snippets/mixal.js +15 -0
  271. data/assets/_vendor/ace/snippets/mushcode.js +15 -0
  272. data/assets/_vendor/ace/snippets/mysql.js +15 -0
  273. data/assets/_vendor/ace/snippets/nix.js +15 -0
  274. data/assets/_vendor/ace/snippets/nsis.js +15 -0
  275. data/assets/_vendor/ace/snippets/objectivec.js +15 -0
  276. data/assets/_vendor/ace/snippets/ocaml.js +15 -0
  277. data/assets/_vendor/ace/snippets/pascal.js +15 -0
  278. data/assets/_vendor/ace/snippets/perl.js +362 -0
  279. data/assets/_vendor/ace/snippets/pgsql.js +15 -0
  280. data/assets/_vendor/ace/snippets/php.js +398 -0
  281. data/assets/_vendor/ace/snippets/php_laravel_blade.js +15 -0
  282. data/assets/_vendor/ace/snippets/pig.js +15 -0
  283. data/assets/_vendor/ace/snippets/plain_text.js +15 -0
  284. data/assets/_vendor/ace/snippets/powershell.js +15 -0
  285. data/assets/_vendor/ace/snippets/praat.js +15 -0
  286. data/assets/_vendor/ace/snippets/prolog.js +15 -0
  287. data/assets/_vendor/ace/snippets/properties.js +15 -0
  288. data/assets/_vendor/ace/snippets/protobuf.js +15 -0
  289. data/assets/_vendor/ace/snippets/puppet.js +15 -0
  290. data/assets/_vendor/ace/snippets/python.js +173 -0
  291. data/assets/_vendor/ace/snippets/r.js +136 -0
  292. data/assets/_vendor/ace/snippets/razor.js +18 -0
  293. data/assets/_vendor/ace/snippets/rdoc.js +15 -0
  294. data/assets/_vendor/ace/snippets/red.js +15 -0
  295. data/assets/_vendor/ace/snippets/redshift.js +15 -0
  296. data/assets/_vendor/ace/snippets/rhtml.js +15 -0
  297. data/assets/_vendor/ace/snippets/rst.js +37 -0
  298. data/assets/_vendor/ace/snippets/ruby.js +943 -0
  299. data/assets/_vendor/ace/snippets/rust.js +15 -0
  300. data/assets/_vendor/ace/snippets/sass.js +15 -0
  301. data/assets/_vendor/ace/snippets/scad.js +15 -0
  302. data/assets/_vendor/ace/snippets/scala.js +15 -0
  303. data/assets/_vendor/ace/snippets/scheme.js +15 -0
  304. data/assets/_vendor/ace/snippets/scss.js +15 -0
  305. data/assets/_vendor/ace/snippets/sh.js +98 -0
  306. data/assets/_vendor/ace/snippets/sjs.js +15 -0
  307. data/assets/_vendor/ace/snippets/slim.js +15 -0
  308. data/assets/_vendor/ace/snippets/smarty.js +15 -0
  309. data/assets/_vendor/ace/snippets/snippets.js +24 -0
  310. data/assets/_vendor/ace/snippets/soy_template.js +15 -0
  311. data/assets/_vendor/ace/snippets/space.js +15 -0
  312. data/assets/_vendor/ace/snippets/sparql.js +15 -0
  313. data/assets/_vendor/ace/snippets/sql.js +41 -0
  314. data/assets/_vendor/ace/snippets/sqlserver.js +84 -0
  315. data/assets/_vendor/ace/snippets/stylus.js +15 -0
  316. data/assets/_vendor/ace/snippets/svg.js +15 -0
  317. data/assets/_vendor/ace/snippets/swift.js +15 -0
  318. data/assets/_vendor/ace/snippets/tcl.js +107 -0
  319. data/assets/_vendor/ace/snippets/terraform.js +15 -0
  320. data/assets/_vendor/ace/snippets/tex.js +205 -0
  321. data/assets/_vendor/ace/snippets/text.js +15 -0
  322. data/assets/_vendor/ace/snippets/textile.js +45 -0
  323. data/assets/_vendor/ace/snippets/toml.js +15 -0
  324. data/assets/_vendor/ace/snippets/tsx.js +15 -0
  325. data/assets/_vendor/ace/snippets/turtle.js +15 -0
  326. data/assets/_vendor/ace/snippets/twig.js +15 -0
  327. data/assets/_vendor/ace/snippets/typescript.js +15 -0
  328. data/assets/_vendor/ace/snippets/vala.js +201 -0
  329. data/assets/_vendor/ace/snippets/vbscript.js +15 -0
  330. data/assets/_vendor/ace/snippets/velocity.js +44 -0
  331. data/assets/_vendor/ace/snippets/verilog.js +15 -0
  332. data/assets/_vendor/ace/snippets/vhdl.js +15 -0
  333. data/assets/_vendor/ace/snippets/wollok.js +99 -0
  334. data/assets/_vendor/ace/snippets/xml.js +15 -0
  335. data/assets/_vendor/ace/snippets/xquery.js +76 -0
  336. data/assets/_vendor/ace/snippets/yaml.js +15 -0
  337. data/assets/_vendor/ace/theme-ambiance.js +185 -0
  338. data/assets/_vendor/ace/theme-chaos.js +164 -0
  339. data/assets/_vendor/ace/theme-chrome.js +136 -0
  340. data/assets/_vendor/ace/theme-clouds.js +103 -0
  341. data/assets/_vendor/ace/theme-clouds_midnight.js +104 -0
  342. data/assets/_vendor/ace/theme-cobalt.js +121 -0
  343. data/assets/_vendor/ace/theme-crimson_editor.js +126 -0
  344. data/assets/_vendor/ace/theme-dawn.js +116 -0
  345. data/assets/_vendor/ace/theme-dracula.js +136 -0
  346. data/assets/_vendor/ace/theme-dreamweaver.js +149 -0
  347. data/assets/_vendor/ace/theme-eclipse.js +106 -0
  348. data/assets/_vendor/ace/theme-github.js +110 -0
  349. data/assets/_vendor/ace/theme-gob.js +120 -0
  350. data/assets/_vendor/ace/theme-gruvbox.js +90 -0
  351. data/assets/_vendor/ace/theme-idle_fingers.js +104 -0
  352. data/assets/_vendor/ace/theme-iplastic.js +129 -0
  353. data/assets/_vendor/ace/theme-katzenmilch.js +129 -0
  354. data/assets/_vendor/ace/theme-kr_theme.js +112 -0
  355. data/assets/_vendor/ace/theme-kuroir.js +69 -0
  356. data/assets/_vendor/ace/theme-merbivore.js +103 -0
  357. data/assets/_vendor/ace/theme-merbivore_soft.js +104 -0
  358. data/assets/_vendor/ace/theme-mono_industrial.js +115 -0
  359. data/assets/_vendor/ace/theme-monokai.js +113 -0
  360. data/assets/_vendor/ace/theme-pastel_on_dark.js +116 -0
  361. data/assets/_vendor/ace/theme-solarized_dark.js +96 -0
  362. data/assets/_vendor/ace/theme-solarized_light.js +99 -0
  363. data/assets/_vendor/ace/theme-sqlserver.js +146 -0
  364. data/assets/_vendor/ace/theme-terminal.js +122 -0
  365. data/assets/_vendor/ace/theme-textmate.js +138 -0
  366. data/assets/_vendor/ace/theme-tomorrow.js +116 -0
  367. data/assets/_vendor/ace/theme-tomorrow_night.js +116 -0
  368. data/assets/_vendor/ace/theme-tomorrow_night_blue.js +114 -0
  369. data/assets/_vendor/ace/theme-tomorrow_night_bright.js +129 -0
  370. data/assets/_vendor/ace/theme-tomorrow_night_eighties.js +116 -0
  371. data/assets/_vendor/ace/theme-twilight.js +117 -0
  372. data/assets/_vendor/ace/theme-vibrant_ink.js +102 -0
  373. data/assets/_vendor/ace/theme-xcode.js +96 -0
  374. data/assets/_vendor/ace/worker-coffee.js +2165 -0
  375. data/assets/_vendor/ace/worker-css.js +8764 -0
  376. data/assets/_vendor/ace/worker-html.js +11614 -0
  377. data/assets/_vendor/ace/worker-javascript.js +12491 -0
  378. data/assets/_vendor/ace/worker-json.js +2396 -0
  379. data/assets/_vendor/ace/worker-lua.js +3637 -0
  380. data/assets/_vendor/ace/worker-php.js +4313 -0
  381. data/assets/_vendor/ace/worker-xml.js +3899 -0
  382. data/assets/_vendor/ace/worker-xquery.js +70688 -0
  383. data/assets/_vendor/motion-ui/_settings.scss +1 -0
  384. data/assets/_vendor/motion-ui/effects/_fade.scss +1 -4
  385. data/assets/_vendor/motion-ui/effects/_hinge.scss +4 -3
  386. data/assets/_vendor/motion-ui/effects/_shake.scss +1 -1
  387. data/assets/_vendor/motion-ui/effects/_slide.scss +4 -3
  388. data/assets/_vendor/motion-ui/effects/_spin.scss +4 -3
  389. data/assets/_vendor/motion-ui/effects/_wiggle.scss +1 -1
  390. data/assets/_vendor/motion-ui/effects/_zoom.scss +2 -2
  391. data/assets/_vendor/motion-ui/motion-ui.scss +2 -0
  392. data/assets/_vendor/motion-ui/transitions/_fade.scss +6 -4
  393. data/assets/_vendor/motion-ui/transitions/_hinge.scss +3 -2
  394. data/assets/_vendor/motion-ui/transitions/_slide.scss +3 -2
  395. data/assets/_vendor/motion-ui/transitions/_spin.scss +2 -1
  396. data/assets/_vendor/motion-ui/transitions/_zoom.scss +6 -4
  397. data/assets/_vendor/motion-ui/util/_animation.scss +1 -1
  398. data/assets/_vendor/motion-ui/util/_args.scss +2 -2
  399. data/assets/_vendor/motion-ui/util/_function.scss +94 -0
  400. data/assets/_vendor/motion-ui/util/_keyframe.scss +5 -5
  401. data/assets/_vendor/motion-ui/util/_series.scss +20 -17
  402. data/assets/_vendor/motion-ui/util/_string.scss +36 -0
  403. data/assets/_vendor/tinymce/plugins/advlist/plugin.js +136 -404
  404. data/assets/_vendor/tinymce/plugins/advlist/plugin.min.js +1 -1
  405. data/assets/_vendor/tinymce/plugins/anchor/plugin.js +103 -323
  406. data/assets/_vendor/tinymce/plugins/anchor/plugin.min.js +1 -1
  407. data/assets/_vendor/tinymce/plugins/autolink/plugin.js +153 -377
  408. data/assets/_vendor/tinymce/plugins/autolink/plugin.min.js +1 -1
  409. data/assets/_vendor/tinymce/plugins/autoresize/plugin.js +145 -427
  410. data/assets/_vendor/tinymce/plugins/autoresize/plugin.min.js +1 -1
  411. data/assets/_vendor/tinymce/plugins/autosave/plugin.js +197 -579
  412. data/assets/_vendor/tinymce/plugins/autosave/plugin.min.js +1 -1
  413. data/assets/_vendor/tinymce/plugins/bbcode/plugin.js +88 -251
  414. data/assets/_vendor/tinymce/plugins/bbcode/plugin.min.js +1 -1
  415. data/assets/_vendor/tinymce/plugins/charmap/plugin.js +1243 -818
  416. data/assets/_vendor/tinymce/plugins/charmap/plugin.min.js +1 -1
  417. data/assets/_vendor/tinymce/plugins/code/plugin.js +82 -326
  418. data/assets/_vendor/tinymce/plugins/code/plugin.min.js +1 -1
  419. data/assets/_vendor/tinymce/plugins/codesample/plugin.js +829 -1444
  420. data/assets/_vendor/tinymce/plugins/codesample/plugin.min.js +1 -1
  421. data/assets/_vendor/tinymce/plugins/colorpicker/plugin.js +111 -257
  422. data/assets/_vendor/tinymce/plugins/colorpicker/plugin.min.js +1 -1
  423. data/assets/_vendor/tinymce/plugins/contextmenu/plugin.js +141 -469
  424. data/assets/_vendor/tinymce/plugins/contextmenu/plugin.min.js +1 -1
  425. data/assets/_vendor/tinymce/plugins/directionality/plugin.js +57 -261
  426. data/assets/_vendor/tinymce/plugins/directionality/plugin.min.js +1 -1
  427. data/assets/_vendor/tinymce/plugins/emoticons/plugin.js +78 -247
  428. data/assets/_vendor/tinymce/plugins/emoticons/plugin.min.js +1 -1
  429. data/assets/_vendor/tinymce/plugins/fullpage/plugin.js +463 -906
  430. data/assets/_vendor/tinymce/plugins/fullpage/plugin.min.js +1 -1
  431. data/assets/_vendor/tinymce/plugins/fullscreen/plugin.js +149 -427
  432. data/assets/_vendor/tinymce/plugins/fullscreen/plugin.min.js +1 -1
  433. data/assets/_vendor/tinymce/plugins/help/plugin.js +634 -1434
  434. data/assets/_vendor/tinymce/plugins/help/plugin.min.js +1 -1
  435. data/assets/_vendor/tinymce/plugins/hr/plugin.js +29 -185
  436. data/assets/_vendor/tinymce/plugins/hr/plugin.min.js +1 -1
  437. data/assets/_vendor/tinymce/plugins/image/plugin.js +1147 -1508
  438. data/assets/_vendor/tinymce/plugins/image/plugin.min.js +1 -1
  439. data/assets/_vendor/tinymce/plugins/imagetools/plugin.js +3319 -4079
  440. data/assets/_vendor/tinymce/plugins/imagetools/plugin.min.js +1 -2
  441. data/assets/_vendor/tinymce/plugins/importcss/plugin.js +230 -543
  442. data/assets/_vendor/tinymce/plugins/importcss/plugin.min.js +1 -1
  443. data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.js +151 -460
  444. data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
  445. data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.js +204 -379
  446. data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.min.js +1 -1
  447. data/assets/_vendor/tinymce/plugins/link/plugin.js +644 -1162
  448. data/assets/_vendor/tinymce/plugins/link/plugin.min.js +1 -1
  449. data/assets/_vendor/tinymce/plugins/lists/plugin.js +1005 -1875
  450. data/assets/_vendor/tinymce/plugins/lists/plugin.min.js +1 -1
  451. data/assets/_vendor/tinymce/plugins/media/plugin.js +1066 -1926
  452. data/assets/_vendor/tinymce/plugins/media/plugin.min.js +1 -1
  453. data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.js +70 -298
  454. data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
  455. data/assets/_vendor/tinymce/plugins/noneditable/plugin.js +96 -294
  456. data/assets/_vendor/tinymce/plugins/noneditable/plugin.min.js +1 -1
  457. data/assets/_vendor/tinymce/plugins/pagebreak/plugin.js +92 -337
  458. data/assets/_vendor/tinymce/plugins/pagebreak/plugin.min.js +1 -1
  459. data/assets/_vendor/tinymce/plugins/paste/plugin.js +1363 -2801
  460. data/assets/_vendor/tinymce/plugins/paste/plugin.min.js +1 -1
  461. data/assets/_vendor/tinymce/plugins/preview/plugin.js +106 -393
  462. data/assets/_vendor/tinymce/plugins/preview/plugin.min.js +1 -1
  463. data/assets/_vendor/tinymce/plugins/print/plugin.js +29 -185
  464. data/assets/_vendor/tinymce/plugins/print/plugin.min.js +1 -1
  465. data/assets/_vendor/tinymce/plugins/save/plugin.js +100 -350
  466. data/assets/_vendor/tinymce/plugins/save/plugin.min.js +1 -1
  467. data/assets/_vendor/tinymce/plugins/searchreplace/plugin.js +491 -865
  468. data/assets/_vendor/tinymce/plugins/searchreplace/plugin.min.js +1 -1
  469. data/assets/_vendor/tinymce/plugins/spellchecker/plugin.js +630 -1292
  470. data/assets/_vendor/tinymce/plugins/spellchecker/plugin.min.js +1 -1
  471. data/assets/_vendor/tinymce/plugins/tabfocus/plugin.js +96 -391
  472. data/assets/_vendor/tinymce/plugins/tabfocus/plugin.min.js +1 -1
  473. data/assets/_vendor/tinymce/plugins/table/plugin.js +9537 -14920
  474. data/assets/_vendor/tinymce/plugins/table/plugin.min.js +1 -5
  475. data/assets/_vendor/tinymce/plugins/template/plugin.js +309 -771
  476. data/assets/_vendor/tinymce/plugins/template/plugin.min.js +1 -1
  477. data/assets/_vendor/tinymce/plugins/textcolor/plugin.js +319 -592
  478. data/assets/_vendor/tinymce/plugins/textcolor/plugin.min.js +1 -1
  479. data/assets/_vendor/tinymce/plugins/textpattern/plugin.js +326 -674
  480. data/assets/_vendor/tinymce/plugins/textpattern/plugin.min.js +1 -1
  481. data/assets/_vendor/tinymce/plugins/toc/plugin.js +199 -530
  482. data/assets/_vendor/tinymce/plugins/toc/plugin.min.js +1 -1
  483. data/assets/_vendor/tinymce/plugins/visualblocks/plugin.js +112 -436
  484. data/assets/_vendor/tinymce/plugins/visualblocks/plugin.min.js +1 -1
  485. data/assets/_vendor/tinymce/plugins/visualchars/plugin.js +428 -1248
  486. data/assets/_vendor/tinymce/plugins/visualchars/plugin.min.js +1 -1
  487. data/assets/_vendor/tinymce/plugins/wordcount/plugin.js +307 -699
  488. data/assets/_vendor/tinymce/plugins/wordcount/plugin.min.js +1 -1
  489. data/assets/_vendor/tinymce/skins/lightgray/content.inline.min.css +1 -1
  490. data/assets/_vendor/tinymce/skins/lightgray/content.min.css +1 -1
  491. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
  492. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.svg +1 -1
  493. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
  494. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
  495. data/assets/_vendor/tinymce/skins/lightgray/skin.min.css +1 -1
  496. data/assets/_vendor/tinymce/skins/lightgray/skin.mobile.min.css +1 -1
  497. data/assets/_vendor/tinymce/themes/inlite/theme.js +9693 -18245
  498. data/assets/_vendor/tinymce/themes/inlite/theme.min.js +1 -5
  499. data/assets/_vendor/tinymce/themes/mobile/theme.js +12629 -22467
  500. data/assets/_vendor/tinymce/themes/mobile/theme.min.js +1 -8
  501. data/assets/_vendor/tinymce/themes/modern/theme.js +9510 -17780
  502. data/assets/_vendor/tinymce/themes/modern/theme.min.js +1 -5
  503. data/assets/_vendor/tinymce/tinymce.js +25087 -42606
  504. data/assets/_vendor/yoastseo/css/_icons.scss +7 -7
  505. data/assets/_vendor/yoastseo/css/_snippet-editor.scss +1 -1
  506. data/assets/bedrock/js/bedrock.js +1 -71697
  507. data/assets/bedrock/scss/_bedrock-components.scss +20 -0
  508. data/assets/bedrock/scss/_bedrock-settings.scss +12 -4
  509. data/assets/bedrock/scss/_foundation-settings.scss +4 -2
  510. data/assets/bedrock/scss/components/ace-editor.scss +21 -0
  511. data/assets/bedrock/scss/components/attachments-grid.scss +18 -15
  512. data/assets/bedrock/scss/components/date-picker.scss +146 -0
  513. data/assets/bedrock/scss/components/dropzone-upload.scss +7 -0
  514. data/assets/bedrock/scss/components/file-input.scss +7 -0
  515. data/assets/bedrock/scss/components/file-preview.scss +36 -0
  516. data/assets/bedrock/scss/components/frame-embed.scss +23 -0
  517. data/assets/bedrock/scss/components/global.scss +27 -0
  518. data/assets/bedrock/scss/components/helper-classes.scss +1 -0
  519. data/assets/bedrock/scss/components/icon-box.scss +38 -0
  520. data/assets/bedrock/scss/components/item-list.scss +66 -0
  521. data/assets/bedrock/scss/components/lists.scss +58 -0
  522. data/assets/bedrock/scss/components/off-canvas-menu.scss +27 -15
  523. data/assets/bedrock/scss/components/place-autocomplete.scss +90 -0
  524. data/assets/bedrock/scss/components/rrule-generator.scss +102 -0
  525. data/assets/bedrock/scss/components/rrule-reveal.scss +14 -0
  526. data/assets/bedrock/scss/components/select-box.scss +1 -0
  527. data/assets/bedrock/scss/components/seo-analysis.scss +5 -0
  528. data/assets/bedrock/scss/components/textarea.scss +14 -2
  529. data/assets/bedrock/scss/components/tiny-mce-editor.scss +5 -16
  530. data/lib/bedrock_sass.rb +5 -0
  531. data/lib/bedrock_sass/version.rb +1 -1
  532. data/lib/tasks/before_assets_precompile.rake +1 -0
  533. metadata +395 -4
  534. data/CODE_OF_CONDUCT.md +0 -74
@@ -0,0 +1,60 @@
1
+ define("ace/mode/csp_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
2
+ "use strict";
3
+
4
+ var oop = require("../lib/oop");
5
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
6
+
7
+ var CspHighlightRules = function() {
8
+ var keywordMapper = this.createKeywordMapper({
9
+ "constant.language": "child-src|connect-src|default-src|font-src|frame-src|img-src|manifest-src|media-src|object-src"
10
+ + "|script-src|style-src|worker-src|base-uri|plugin-types|sandbox|disown-opener|form-action|frame-ancestors|report-uri"
11
+ + "|report-to|upgrade-insecure-requests|block-all-mixed-content|require-sri-for|reflected-xss|referrer|policy-uri",
12
+ "variable": "'none'|'self'|'unsafe-inline'|'unsafe-eval'|'strict-dynamic'|'unsafe-hashed-attributes'"
13
+ }, "identifier", true);
14
+
15
+ this.$rules = {
16
+ start: [{
17
+ token: "string.link",
18
+ regex: /https?:[^;\s]*/
19
+ }, {
20
+ token: "operator.punctuation",
21
+ regex: /;/
22
+ }, {
23
+ token: keywordMapper,
24
+ regex: /[^\s;]+/
25
+ }]
26
+ };
27
+ };
28
+
29
+ oop.inherits(CspHighlightRules, TextHighlightRules);
30
+
31
+ exports.CspHighlightRules = CspHighlightRules;
32
+ });
33
+
34
+ define("ace/mode/csp",["require","exports","module","ace/mode/text","ace/mode/csp_highlight_rules","ace/lib/oop"], function(require, exports, module) {
35
+ "use strict";
36
+
37
+ var TextMode = require("./text").Mode;
38
+ var CspHighlightRules = require("./csp_highlight_rules").CspHighlightRules;
39
+ var oop = require("../lib/oop");
40
+
41
+ var Mode = function() {
42
+ this.HighlightRules = CspHighlightRules;
43
+ };
44
+
45
+ oop.inherits(Mode, TextMode);
46
+
47
+ (function() {
48
+ this.$id = "ace/mode/csp";
49
+ }).call(Mode.prototype);
50
+
51
+ exports.Mode = Mode;
52
+ });
53
+ (function() {
54
+ window.require(["ace/mode/csp"], function(m) {
55
+ if (typeof module == "object" && typeof exports == "object" && module) {
56
+ module.exports = m;
57
+ }
58
+ });
59
+ })();
60
+
@@ -0,0 +1,723 @@
1
+ define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"], function(require, exports, module) {
2
+ "use strict";
3
+
4
+ var oop = require("../lib/oop");
5
+ var lang = require("../lib/lang");
6
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
7
+ var supportType = exports.supportType = "align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-repeat|background-size|border|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-shadow|box-sizing|caption-side|clear|clip|color|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|font|font-family|font-size|font-size-adjust|font-stretch|font-style|font-variant|font-weight|hanging-punctuation|height|justify-content|left|letter-spacing|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-bottom|margin-left|margin-right|margin-top|max-height|max-width|max-zoom|min-height|min-width|min-zoom|nav-down|nav-index|nav-left|nav-right|nav-up|opacity|order|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-x|overflow-y|padding|padding-bottom|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|perspective|perspective-origin|position|quotes|resize|right|tab-size|table-layout|text-align|text-align-last|text-decoration|text-decoration-color|text-decoration-line|text-decoration-style|text-indent|text-justify|text-overflow|text-shadow|text-transform|top|transform|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|unicode-bidi|user-select|user-zoom|vertical-align|visibility|white-space|width|word-break|word-spacing|word-wrap|z-index";
8
+ var supportFunction = exports.supportFunction = "rgb|rgba|url|attr|counter|counters";
9
+ var supportConstant = exports.supportConstant = "absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|local|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|mathematical|max-height|max-size|medium|menu|message-box|middle|move|n-resize|ne-resize|newspaper|no-change|no-close-quote|no-drop|no-open-quote|no-repeat|none|normal|not-allowed|nowrap|nw-resize|oblique|open-quote|outset|outside|overline|padding-box|page|pointer|pre-line|pre-wrap|pre|preserve-3d|progress|relative|repeat-x|repeat-y|repeat|replaced|reset-size|ridge|right|round|row-resize|rtl|s-resize|scroll|se-resize|separate|slice|small-caps|small-caption|solid|space|square|start|static|status-bar|step-end|step-start|steps|stretch|strict|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|tb-rl|text-after-edge|text-before-edge|text-bottom|text-size|text-top|text|thick|thin|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|use-script|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|z-index|zero|zoom";
10
+ var supportConstantColor = exports.supportConstantColor = "aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen";
11
+ var supportConstantFonts = exports.supportConstantFonts = "arial|century|comic|courier|cursive|fantasy|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace";
12
+
13
+ var numRe = exports.numRe = "\\-?(?:(?:[0-9]+(?:\\.[0-9]+)?)|(?:\\.[0-9]+))";
14
+ var pseudoElements = exports.pseudoElements = "(\\:+)\\b(after|before|first-letter|first-line|moz-selection|selection)\\b";
15
+ var pseudoClasses = exports.pseudoClasses = "(:)\\b(active|checked|disabled|empty|enabled|first-child|first-of-type|focus|hover|indeterminate|invalid|last-child|last-of-type|link|not|nth-child|nth-last-child|nth-last-of-type|nth-of-type|only-child|only-of-type|required|root|target|valid|visited)\\b";
16
+
17
+ var CssHighlightRules = function() {
18
+
19
+ var keywordMapper = this.createKeywordMapper({
20
+ "support.function": supportFunction,
21
+ "support.constant": supportConstant,
22
+ "support.type": supportType,
23
+ "support.constant.color": supportConstantColor,
24
+ "support.constant.fonts": supportConstantFonts
25
+ }, "text", true);
26
+ this.$rules = {
27
+ "start" : [{
28
+ include : ["strings", "url", "comments"]
29
+ }, {
30
+ token: "paren.lparen",
31
+ regex: "\\{",
32
+ next: "ruleset"
33
+ }, {
34
+ token: "paren.rparen",
35
+ regex: "\\}"
36
+ }, {
37
+ token: "string",
38
+ regex: "@(?!viewport)",
39
+ next: "media"
40
+ }, {
41
+ token: "keyword",
42
+ regex: "#[a-z0-9-_]+"
43
+ }, {
44
+ token: "keyword",
45
+ regex: "%"
46
+ }, {
47
+ token: "variable",
48
+ regex: "\\.[a-z0-9-_]+"
49
+ }, {
50
+ token: "string",
51
+ regex: ":[a-z0-9-_]+"
52
+ }, {
53
+ token : "constant.numeric",
54
+ regex : numRe
55
+ }, {
56
+ token: "constant",
57
+ regex: "[a-z0-9-_]+"
58
+ }, {
59
+ caseInsensitive: true
60
+ }],
61
+
62
+ "media": [{
63
+ include : ["strings", "url", "comments"]
64
+ }, {
65
+ token: "paren.lparen",
66
+ regex: "\\{",
67
+ next: "start"
68
+ }, {
69
+ token: "paren.rparen",
70
+ regex: "\\}",
71
+ next: "start"
72
+ }, {
73
+ token: "string",
74
+ regex: ";",
75
+ next: "start"
76
+ }, {
77
+ token: "keyword",
78
+ regex: "(?:media|supports|document|charset|import|namespace|media|supports|document"
79
+ + "|page|font|keyframes|viewport|counter-style|font-feature-values"
80
+ + "|swash|ornaments|annotation|stylistic|styleset|character-variant)"
81
+ }],
82
+
83
+ "comments" : [{
84
+ token: "comment", // multi line comment
85
+ regex: "\\/\\*",
86
+ push: [{
87
+ token : "comment",
88
+ regex : "\\*\\/",
89
+ next : "pop"
90
+ }, {
91
+ defaultToken : "comment"
92
+ }]
93
+ }],
94
+
95
+ "ruleset" : [{
96
+ regex : "-(webkit|ms|moz|o)-",
97
+ token : "text"
98
+ }, {
99
+ token : "punctuation.operator",
100
+ regex : "[:;]"
101
+ }, {
102
+ token : "paren.rparen",
103
+ regex : "\\}",
104
+ next : "start"
105
+ }, {
106
+ include : ["strings", "url", "comments"]
107
+ }, {
108
+ token : ["constant.numeric", "keyword"],
109
+ regex : "(" + numRe + ")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vm|vw|%)"
110
+ }, {
111
+ token : "constant.numeric",
112
+ regex : numRe
113
+ }, {
114
+ token : "constant.numeric", // hex6 color
115
+ regex : "#[a-f0-9]{6}"
116
+ }, {
117
+ token : "constant.numeric", // hex3 color
118
+ regex : "#[a-f0-9]{3}"
119
+ }, {
120
+ token : ["punctuation", "entity.other.attribute-name.pseudo-element.css"],
121
+ regex : pseudoElements
122
+ }, {
123
+ token : ["punctuation", "entity.other.attribute-name.pseudo-class.css"],
124
+ regex : pseudoClasses
125
+ }, {
126
+ include: "url"
127
+ }, {
128
+ token : keywordMapper,
129
+ regex : "\\-?[a-zA-Z_][a-zA-Z0-9_\\-]*"
130
+ }, {
131
+ caseInsensitive: true
132
+ }],
133
+
134
+ url: [{
135
+ token : "support.function",
136
+ regex : "(?:url(:?-prefix)?|domain|regexp)\\(",
137
+ push: [{
138
+ token : "support.function",
139
+ regex : "\\)",
140
+ next : "pop"
141
+ }, {
142
+ defaultToken: "string"
143
+ }]
144
+ }],
145
+
146
+ strings: [{
147
+ token : "string.start",
148
+ regex : "'",
149
+ push : [{
150
+ token : "string.end",
151
+ regex : "'|$",
152
+ next: "pop"
153
+ }, {
154
+ include : "escapes"
155
+ }, {
156
+ token : "constant.language.escape",
157
+ regex : /\\$/,
158
+ consumeLineEnd: true
159
+ }, {
160
+ defaultToken: "string"
161
+ }]
162
+ }, {
163
+ token : "string.start",
164
+ regex : '"',
165
+ push : [{
166
+ token : "string.end",
167
+ regex : '"|$',
168
+ next: "pop"
169
+ }, {
170
+ include : "escapes"
171
+ }, {
172
+ token : "constant.language.escape",
173
+ regex : /\\$/,
174
+ consumeLineEnd: true
175
+ }, {
176
+ defaultToken: "string"
177
+ }]
178
+ }],
179
+ escapes: [{
180
+ token : "constant.language.escape",
181
+ regex : /\\([a-fA-F\d]{1,6}|[^a-fA-F\d])/
182
+ }]
183
+
184
+ };
185
+
186
+ this.normalizeRules();
187
+ };
188
+
189
+ oop.inherits(CssHighlightRules, TextHighlightRules);
190
+
191
+ exports.CssHighlightRules = CssHighlightRules;
192
+
193
+ });
194
+
195
+ define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"], function(require, exports, module) {
196
+ "use strict";
197
+
198
+ var Range = require("../range").Range;
199
+
200
+ var MatchingBraceOutdent = function() {};
201
+
202
+ (function() {
203
+
204
+ this.checkOutdent = function(line, input) {
205
+ if (! /^\s+$/.test(line))
206
+ return false;
207
+
208
+ return /^\s*\}/.test(input);
209
+ };
210
+
211
+ this.autoOutdent = function(doc, row) {
212
+ var line = doc.getLine(row);
213
+ var match = line.match(/^(\s*\})/);
214
+
215
+ if (!match) return 0;
216
+
217
+ var column = match[1].length;
218
+ var openBracePos = doc.findMatchingBracket({row: row, column: column});
219
+
220
+ if (!openBracePos || openBracePos.row == row) return 0;
221
+
222
+ var indent = this.$getIndent(doc.getLine(openBracePos.row));
223
+ doc.replace(new Range(row, 0, row, column-1), indent);
224
+ };
225
+
226
+ this.$getIndent = function(line) {
227
+ return line.match(/^\s*/)[0];
228
+ };
229
+
230
+ }).call(MatchingBraceOutdent.prototype);
231
+
232
+ exports.MatchingBraceOutdent = MatchingBraceOutdent;
233
+ });
234
+
235
+ define("ace/mode/css_completions",["require","exports","module"], function(require, exports, module) {
236
+ "use strict";
237
+
238
+ var propertyMap = {
239
+ "background": {"#$0": 1},
240
+ "background-color": {"#$0": 1, "transparent": 1, "fixed": 1},
241
+ "background-image": {"url('/$0')": 1},
242
+ "background-repeat": {"repeat": 1, "repeat-x": 1, "repeat-y": 1, "no-repeat": 1, "inherit": 1},
243
+ "background-position": {"bottom":2, "center":2, "left":2, "right":2, "top":2, "inherit":2},
244
+ "background-attachment": {"scroll": 1, "fixed": 1},
245
+ "background-size": {"cover": 1, "contain": 1},
246
+ "background-clip": {"border-box": 1, "padding-box": 1, "content-box": 1},
247
+ "background-origin": {"border-box": 1, "padding-box": 1, "content-box": 1},
248
+ "border": {"solid $0": 1, "dashed $0": 1, "dotted $0": 1, "#$0": 1},
249
+ "border-color": {"#$0": 1},
250
+ "border-style": {"solid":2, "dashed":2, "dotted":2, "double":2, "groove":2, "hidden":2, "inherit":2, "inset":2, "none":2, "outset":2, "ridged":2},
251
+ "border-collapse": {"collapse": 1, "separate": 1},
252
+ "bottom": {"px": 1, "em": 1, "%": 1},
253
+ "clear": {"left": 1, "right": 1, "both": 1, "none": 1},
254
+ "color": {"#$0": 1, "rgb(#$00,0,0)": 1},
255
+ "cursor": {"default": 1, "pointer": 1, "move": 1, "text": 1, "wait": 1, "help": 1, "progress": 1, "n-resize": 1, "ne-resize": 1, "e-resize": 1, "se-resize": 1, "s-resize": 1, "sw-resize": 1, "w-resize": 1, "nw-resize": 1},
256
+ "display": {"none": 1, "block": 1, "inline": 1, "inline-block": 1, "table-cell": 1},
257
+ "empty-cells": {"show": 1, "hide": 1},
258
+ "float": {"left": 1, "right": 1, "none": 1},
259
+ "font-family": {"Arial":2,"Comic Sans MS":2,"Consolas":2,"Courier New":2,"Courier":2,"Georgia":2,"Monospace":2,"Sans-Serif":2, "Segoe UI":2,"Tahoma":2,"Times New Roman":2,"Trebuchet MS":2,"Verdana": 1},
260
+ "font-size": {"px": 1, "em": 1, "%": 1},
261
+ "font-weight": {"bold": 1, "normal": 1},
262
+ "font-style": {"italic": 1, "normal": 1},
263
+ "font-variant": {"normal": 1, "small-caps": 1},
264
+ "height": {"px": 1, "em": 1, "%": 1},
265
+ "left": {"px": 1, "em": 1, "%": 1},
266
+ "letter-spacing": {"normal": 1},
267
+ "line-height": {"normal": 1},
268
+ "list-style-type": {"none": 1, "disc": 1, "circle": 1, "square": 1, "decimal": 1, "decimal-leading-zero": 1, "lower-roman": 1, "upper-roman": 1, "lower-greek": 1, "lower-latin": 1, "upper-latin": 1, "georgian": 1, "lower-alpha": 1, "upper-alpha": 1},
269
+ "margin": {"px": 1, "em": 1, "%": 1},
270
+ "margin-right": {"px": 1, "em": 1, "%": 1},
271
+ "margin-left": {"px": 1, "em": 1, "%": 1},
272
+ "margin-top": {"px": 1, "em": 1, "%": 1},
273
+ "margin-bottom": {"px": 1, "em": 1, "%": 1},
274
+ "max-height": {"px": 1, "em": 1, "%": 1},
275
+ "max-width": {"px": 1, "em": 1, "%": 1},
276
+ "min-height": {"px": 1, "em": 1, "%": 1},
277
+ "min-width": {"px": 1, "em": 1, "%": 1},
278
+ "overflow": {"hidden": 1, "visible": 1, "auto": 1, "scroll": 1},
279
+ "overflow-x": {"hidden": 1, "visible": 1, "auto": 1, "scroll": 1},
280
+ "overflow-y": {"hidden": 1, "visible": 1, "auto": 1, "scroll": 1},
281
+ "padding": {"px": 1, "em": 1, "%": 1},
282
+ "padding-top": {"px": 1, "em": 1, "%": 1},
283
+ "padding-right": {"px": 1, "em": 1, "%": 1},
284
+ "padding-bottom": {"px": 1, "em": 1, "%": 1},
285
+ "padding-left": {"px": 1, "em": 1, "%": 1},
286
+ "page-break-after": {"auto": 1, "always": 1, "avoid": 1, "left": 1, "right": 1},
287
+ "page-break-before": {"auto": 1, "always": 1, "avoid": 1, "left": 1, "right": 1},
288
+ "position": {"absolute": 1, "relative": 1, "fixed": 1, "static": 1},
289
+ "right": {"px": 1, "em": 1, "%": 1},
290
+ "table-layout": {"fixed": 1, "auto": 1},
291
+ "text-decoration": {"none": 1, "underline": 1, "line-through": 1, "blink": 1},
292
+ "text-align": {"left": 1, "right": 1, "center": 1, "justify": 1},
293
+ "text-transform": {"capitalize": 1, "uppercase": 1, "lowercase": 1, "none": 1},
294
+ "top": {"px": 1, "em": 1, "%": 1},
295
+ "vertical-align": {"top": 1, "bottom": 1},
296
+ "visibility": {"hidden": 1, "visible": 1},
297
+ "white-space": {"nowrap": 1, "normal": 1, "pre": 1, "pre-line": 1, "pre-wrap": 1},
298
+ "width": {"px": 1, "em": 1, "%": 1},
299
+ "word-spacing": {"normal": 1},
300
+ "filter": {"alpha(opacity=$0100)": 1},
301
+
302
+ "text-shadow": {"$02px 2px 2px #777": 1},
303
+ "text-overflow": {"ellipsis-word": 1, "clip": 1, "ellipsis": 1},
304
+ "-moz-border-radius": 1,
305
+ "-moz-border-radius-topright": 1,
306
+ "-moz-border-radius-bottomright": 1,
307
+ "-moz-border-radius-topleft": 1,
308
+ "-moz-border-radius-bottomleft": 1,
309
+ "-webkit-border-radius": 1,
310
+ "-webkit-border-top-right-radius": 1,
311
+ "-webkit-border-top-left-radius": 1,
312
+ "-webkit-border-bottom-right-radius": 1,
313
+ "-webkit-border-bottom-left-radius": 1,
314
+ "-moz-box-shadow": 1,
315
+ "-webkit-box-shadow": 1,
316
+ "transform": {"rotate($00deg)": 1, "skew($00deg)": 1},
317
+ "-moz-transform": {"rotate($00deg)": 1, "skew($00deg)": 1},
318
+ "-webkit-transform": {"rotate($00deg)": 1, "skew($00deg)": 1 }
319
+ };
320
+
321
+ var CssCompletions = function() {
322
+
323
+ };
324
+
325
+ (function() {
326
+
327
+ this.completionsDefined = false;
328
+
329
+ this.defineCompletions = function() {
330
+ if (document) {
331
+ var style = document.createElement('c').style;
332
+
333
+ for (var i in style) {
334
+ if (typeof style[i] !== 'string')
335
+ continue;
336
+
337
+ var name = i.replace(/[A-Z]/g, function(x) {
338
+ return '-' + x.toLowerCase();
339
+ });
340
+
341
+ if (!propertyMap.hasOwnProperty(name))
342
+ propertyMap[name] = 1;
343
+ }
344
+ }
345
+
346
+ this.completionsDefined = true;
347
+ };
348
+
349
+ this.getCompletions = function(state, session, pos, prefix) {
350
+ if (!this.completionsDefined) {
351
+ this.defineCompletions();
352
+ }
353
+
354
+ var token = session.getTokenAt(pos.row, pos.column);
355
+
356
+ if (!token)
357
+ return [];
358
+ if (state==='ruleset'){
359
+ var line = session.getLine(pos.row).substr(0, pos.column);
360
+ if (/:[^;]+$/.test(line)) {
361
+ /([\w\-]+):[^:]*$/.test(line);
362
+
363
+ return this.getPropertyValueCompletions(state, session, pos, prefix);
364
+ } else {
365
+ return this.getPropertyCompletions(state, session, pos, prefix);
366
+ }
367
+ }
368
+
369
+ return [];
370
+ };
371
+
372
+ this.getPropertyCompletions = function(state, session, pos, prefix) {
373
+ var properties = Object.keys(propertyMap);
374
+ return properties.map(function(property){
375
+ return {
376
+ caption: property,
377
+ snippet: property + ': $0;',
378
+ meta: "property",
379
+ score: 1000000
380
+ };
381
+ });
382
+ };
383
+
384
+ this.getPropertyValueCompletions = function(state, session, pos, prefix) {
385
+ var line = session.getLine(pos.row).substr(0, pos.column);
386
+ var property = (/([\w\-]+):[^:]*$/.exec(line) || {})[1];
387
+
388
+ if (!property)
389
+ return [];
390
+ var values = [];
391
+ if (property in propertyMap && typeof propertyMap[property] === "object") {
392
+ values = Object.keys(propertyMap[property]);
393
+ }
394
+ return values.map(function(value){
395
+ return {
396
+ caption: value,
397
+ snippet: value,
398
+ meta: "property value",
399
+ score: 1000000
400
+ };
401
+ });
402
+ };
403
+
404
+ }).call(CssCompletions.prototype);
405
+
406
+ exports.CssCompletions = CssCompletions;
407
+ });
408
+
409
+ define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"], function(require, exports, module) {
410
+ "use strict";
411
+
412
+ var oop = require("../../lib/oop");
413
+ var Behaviour = require("../behaviour").Behaviour;
414
+ var CstyleBehaviour = require("./cstyle").CstyleBehaviour;
415
+ var TokenIterator = require("../../token_iterator").TokenIterator;
416
+
417
+ var CssBehaviour = function () {
418
+
419
+ this.inherit(CstyleBehaviour);
420
+
421
+ this.add("colon", "insertion", function (state, action, editor, session, text) {
422
+ if (text === ':' && editor.selection.isEmpty()) {
423
+ var cursor = editor.getCursorPosition();
424
+ var iterator = new TokenIterator(session, cursor.row, cursor.column);
425
+ var token = iterator.getCurrentToken();
426
+ if (token && token.value.match(/\s+/)) {
427
+ token = iterator.stepBackward();
428
+ }
429
+ if (token && token.type === 'support.type') {
430
+ var line = session.doc.getLine(cursor.row);
431
+ var rightChar = line.substring(cursor.column, cursor.column + 1);
432
+ if (rightChar === ':') {
433
+ return {
434
+ text: '',
435
+ selection: [1, 1]
436
+ };
437
+ }
438
+ if (/^(\s+[^;]|\s*$)/.test(line.substring(cursor.column))) {
439
+ return {
440
+ text: ':;',
441
+ selection: [1, 1]
442
+ };
443
+ }
444
+ }
445
+ }
446
+ });
447
+
448
+ this.add("colon", "deletion", function (state, action, editor, session, range) {
449
+ var selected = session.doc.getTextRange(range);
450
+ if (!range.isMultiLine() && selected === ':') {
451
+ var cursor = editor.getCursorPosition();
452
+ var iterator = new TokenIterator(session, cursor.row, cursor.column);
453
+ var token = iterator.getCurrentToken();
454
+ if (token && token.value.match(/\s+/)) {
455
+ token = iterator.stepBackward();
456
+ }
457
+ if (token && token.type === 'support.type') {
458
+ var line = session.doc.getLine(range.start.row);
459
+ var rightChar = line.substring(range.end.column, range.end.column + 1);
460
+ if (rightChar === ';') {
461
+ range.end.column ++;
462
+ return range;
463
+ }
464
+ }
465
+ }
466
+ });
467
+
468
+ this.add("semicolon", "insertion", function (state, action, editor, session, text) {
469
+ if (text === ';' && editor.selection.isEmpty()) {
470
+ var cursor = editor.getCursorPosition();
471
+ var line = session.doc.getLine(cursor.row);
472
+ var rightChar = line.substring(cursor.column, cursor.column + 1);
473
+ if (rightChar === ';') {
474
+ return {
475
+ text: '',
476
+ selection: [1, 1]
477
+ };
478
+ }
479
+ }
480
+ });
481
+
482
+ this.add("!important", "insertion", function (state, action, editor, session, text) {
483
+ if (text === '!' && editor.selection.isEmpty()) {
484
+ var cursor = editor.getCursorPosition();
485
+ var line = session.doc.getLine(cursor.row);
486
+
487
+ if (/^\s*(;|}|$)/.test(line.substring(cursor.column))) {
488
+ return {
489
+ text: '!important',
490
+ selection: [10, 10]
491
+ };
492
+ }
493
+ }
494
+ });
495
+
496
+ };
497
+ oop.inherits(CssBehaviour, CstyleBehaviour);
498
+
499
+ exports.CssBehaviour = CssBehaviour;
500
+ });
501
+
502
+ define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"], function(require, exports, module) {
503
+ "use strict";
504
+
505
+ var oop = require("../../lib/oop");
506
+ var Range = require("../../range").Range;
507
+ var BaseFoldMode = require("./fold_mode").FoldMode;
508
+
509
+ var FoldMode = exports.FoldMode = function(commentRegex) {
510
+ if (commentRegex) {
511
+ this.foldingStartMarker = new RegExp(
512
+ this.foldingStartMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.start)
513
+ );
514
+ this.foldingStopMarker = new RegExp(
515
+ this.foldingStopMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.end)
516
+ );
517
+ }
518
+ };
519
+ oop.inherits(FoldMode, BaseFoldMode);
520
+
521
+ (function() {
522
+
523
+ this.foldingStartMarker = /([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;
524
+ this.foldingStopMarker = /^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;
525
+ this.singleLineBlockCommentRe= /^\s*(\/\*).*\*\/\s*$/;
526
+ this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/;
527
+ this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/;
528
+ this._getFoldWidgetBase = this.getFoldWidget;
529
+ this.getFoldWidget = function(session, foldStyle, row) {
530
+ var line = session.getLine(row);
531
+
532
+ if (this.singleLineBlockCommentRe.test(line)) {
533
+ if (!this.startRegionRe.test(line) && !this.tripleStarBlockCommentRe.test(line))
534
+ return "";
535
+ }
536
+
537
+ var fw = this._getFoldWidgetBase(session, foldStyle, row);
538
+
539
+ if (!fw && this.startRegionRe.test(line))
540
+ return "start"; // lineCommentRegionStart
541
+
542
+ return fw;
543
+ };
544
+
545
+ this.getFoldWidgetRange = function(session, foldStyle, row, forceMultiline) {
546
+ var line = session.getLine(row);
547
+
548
+ if (this.startRegionRe.test(line))
549
+ return this.getCommentRegionBlock(session, line, row);
550
+
551
+ var match = line.match(this.foldingStartMarker);
552
+ if (match) {
553
+ var i = match.index;
554
+
555
+ if (match[1])
556
+ return this.openingBracketBlock(session, match[1], row, i);
557
+
558
+ var range = session.getCommentFoldRange(row, i + match[0].length, 1);
559
+
560
+ if (range && !range.isMultiLine()) {
561
+ if (forceMultiline) {
562
+ range = this.getSectionRange(session, row);
563
+ } else if (foldStyle != "all")
564
+ range = null;
565
+ }
566
+
567
+ return range;
568
+ }
569
+
570
+ if (foldStyle === "markbegin")
571
+ return;
572
+
573
+ var match = line.match(this.foldingStopMarker);
574
+ if (match) {
575
+ var i = match.index + match[0].length;
576
+
577
+ if (match[1])
578
+ return this.closingBracketBlock(session, match[1], row, i);
579
+
580
+ return session.getCommentFoldRange(row, i, -1);
581
+ }
582
+ };
583
+
584
+ this.getSectionRange = function(session, row) {
585
+ var line = session.getLine(row);
586
+ var startIndent = line.search(/\S/);
587
+ var startRow = row;
588
+ var startColumn = line.length;
589
+ row = row + 1;
590
+ var endRow = row;
591
+ var maxRow = session.getLength();
592
+ while (++row < maxRow) {
593
+ line = session.getLine(row);
594
+ var indent = line.search(/\S/);
595
+ if (indent === -1)
596
+ continue;
597
+ if (startIndent > indent)
598
+ break;
599
+ var subRange = this.getFoldWidgetRange(session, "all", row);
600
+
601
+ if (subRange) {
602
+ if (subRange.start.row <= startRow) {
603
+ break;
604
+ } else if (subRange.isMultiLine()) {
605
+ row = subRange.end.row;
606
+ } else if (startIndent == indent) {
607
+ break;
608
+ }
609
+ }
610
+ endRow = row;
611
+ }
612
+
613
+ return new Range(startRow, startColumn, endRow, session.getLine(endRow).length);
614
+ };
615
+ this.getCommentRegionBlock = function(session, line, row) {
616
+ var startColumn = line.search(/\s*$/);
617
+ var maxRow = session.getLength();
618
+ var startRow = row;
619
+
620
+ var re = /^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;
621
+ var depth = 1;
622
+ while (++row < maxRow) {
623
+ line = session.getLine(row);
624
+ var m = re.exec(line);
625
+ if (!m) continue;
626
+ if (m[1]) depth--;
627
+ else depth++;
628
+
629
+ if (!depth) break;
630
+ }
631
+
632
+ var endRow = row;
633
+ if (endRow > startRow) {
634
+ return new Range(startRow, startColumn, endRow, line.length);
635
+ }
636
+ };
637
+
638
+ }).call(FoldMode.prototype);
639
+
640
+ });
641
+
642
+ define("ace/mode/css",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/css_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/css_completions","ace/mode/behaviour/css","ace/mode/folding/cstyle"], function(require, exports, module) {
643
+ "use strict";
644
+
645
+ var oop = require("../lib/oop");
646
+ var TextMode = require("./text").Mode;
647
+ var CssHighlightRules = require("./css_highlight_rules").CssHighlightRules;
648
+ var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
649
+ var WorkerClient = require("../worker/worker_client").WorkerClient;
650
+ var CssCompletions = require("./css_completions").CssCompletions;
651
+ var CssBehaviour = require("./behaviour/css").CssBehaviour;
652
+ var CStyleFoldMode = require("./folding/cstyle").FoldMode;
653
+
654
+ var Mode = function() {
655
+ this.HighlightRules = CssHighlightRules;
656
+ this.$outdent = new MatchingBraceOutdent();
657
+ this.$behaviour = new CssBehaviour();
658
+ this.$completer = new CssCompletions();
659
+ this.foldingRules = new CStyleFoldMode();
660
+ };
661
+ oop.inherits(Mode, TextMode);
662
+
663
+ (function() {
664
+
665
+ this.foldingRules = "cStyle";
666
+ this.blockComment = {start: "/*", end: "*/"};
667
+
668
+ this.getNextLineIndent = function(state, line, tab) {
669
+ var indent = this.$getIndent(line);
670
+ var tokens = this.getTokenizer().getLineTokens(line, state).tokens;
671
+ if (tokens.length && tokens[tokens.length-1].type == "comment") {
672
+ return indent;
673
+ }
674
+
675
+ var match = line.match(/^.*\{\s*$/);
676
+ if (match) {
677
+ indent += tab;
678
+ }
679
+
680
+ return indent;
681
+ };
682
+
683
+ this.checkOutdent = function(state, line, input) {
684
+ return this.$outdent.checkOutdent(line, input);
685
+ };
686
+
687
+ this.autoOutdent = function(state, doc, row) {
688
+ this.$outdent.autoOutdent(doc, row);
689
+ };
690
+
691
+ this.getCompletions = function(state, session, pos, prefix) {
692
+ return this.$completer.getCompletions(state, session, pos, prefix);
693
+ };
694
+
695
+ this.createWorker = function(session) {
696
+ var worker = new WorkerClient(["ace"], "ace/mode/css_worker", "Worker");
697
+ worker.attachToDocument(session.getDocument());
698
+
699
+ worker.on("annotate", function(e) {
700
+ session.setAnnotations(e.data);
701
+ });
702
+
703
+ worker.on("terminate", function() {
704
+ session.clearAnnotations();
705
+ });
706
+
707
+ return worker;
708
+ };
709
+
710
+ this.$id = "ace/mode/css";
711
+ }).call(Mode.prototype);
712
+
713
+ exports.Mode = Mode;
714
+
715
+ });
716
+ (function() {
717
+ window.require(["ace/mode/css"], function(m) {
718
+ if (typeof module == "object" && typeof exports == "object" && module) {
719
+ module.exports = m;
720
+ }
721
+ });
722
+ })();
723
+