vapid 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (433) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.gitmodules +6 -0
  4. data/.rspec +2 -0
  5. data/.rubocop.yml +133 -0
  6. data/.travis.yml +5 -0
  7. data/Gemfile +10 -0
  8. data/README.md +37 -0
  9. data/Rakefile +6 -0
  10. data/bin/console +14 -0
  11. data/bin/setup +8 -0
  12. data/exe/vapid +7 -0
  13. data/lib/vapid.rb +24 -0
  14. data/lib/vapid/assets/javascripts/vapid/admin.coffee +2 -0
  15. data/lib/vapid/assets/stylesheets/vapid/admin.scss +72 -0
  16. data/lib/vapid/builder.rb +70 -0
  17. data/lib/vapid/cli.rb +96 -0
  18. data/lib/vapid/controllers/admin_controller.rb +282 -0
  19. data/lib/vapid/controllers/project_controller.rb +41 -0
  20. data/lib/vapid/db/migrate/20170202182310_create_groups.rb +12 -0
  21. data/lib/vapid/db/migrate/20170202183017_create_records.rb +11 -0
  22. data/lib/vapid/db/migrate/20170202185150_create_users.rb +11 -0
  23. data/lib/vapid/directive.rb +168 -0
  24. data/lib/vapid/directives.rb +30 -0
  25. data/lib/vapid/directives/audio.rb +27 -0
  26. data/lib/vapid/directives/group.rb +71 -0
  27. data/lib/vapid/directives/hide.rb +11 -0
  28. data/lib/vapid/directives/href.rb +11 -0
  29. data/lib/vapid/directives/image.rb +14 -0
  30. data/lib/vapid/directives/richtext.rb +15 -0
  31. data/lib/vapid/directives/show.rb +11 -0
  32. data/lib/vapid/directives/text.rb +24 -0
  33. data/lib/vapid/directives/video.rb +28 -0
  34. data/lib/vapid/generator_template/.gitignore +21 -0
  35. data/lib/vapid/generator_template/Gemfile.tt +13 -0
  36. data/lib/vapid/generator_template/README.md +0 -0
  37. data/lib/vapid/generator_template/assets/favicon.ico +0 -0
  38. data/lib/vapid/generator_template/assets/images/.keep +0 -0
  39. data/lib/vapid/generator_template/assets/javascripts/.keep +0 -0
  40. data/lib/vapid/generator_template/assets/stylesheets/.keep +0 -0
  41. data/lib/vapid/generator_template/assets/stylesheets/application.css +120 -0
  42. data/lib/vapid/generator_template/config.ru +3 -0
  43. data/lib/vapid/generator_template/config/database.yml +12 -0
  44. data/lib/vapid/generator_template/config/settings.yml.tt +11 -0
  45. data/lib/vapid/generator_template/templates/index.html.erb +25 -0
  46. data/lib/vapid/generator_template/templates/layouts/default.html.erb +22 -0
  47. data/lib/vapid/models.rb +18 -0
  48. data/lib/vapid/models/group.rb +36 -0
  49. data/lib/vapid/models/record.rb +30 -0
  50. data/lib/vapid/models/user.rb +16 -0
  51. data/lib/vapid/server.rb +93 -0
  52. data/lib/vapid/settings.rb +13 -0
  53. data/lib/vapid/template.rb +79 -0
  54. data/lib/vapid/template/node.rb +91 -0
  55. data/lib/vapid/template/parser.rb +50 -0
  56. data/lib/vapid/vendor/semantic-ui/.versions +4 -0
  57. data/lib/vapid/vendor/semantic-ui/LICENSE +22 -0
  58. data/lib/vapid/vendor/semantic-ui/README.md +7 -0
  59. data/lib/vapid/vendor/semantic-ui/components/accordion.css +252 -0
  60. data/lib/vapid/vendor/semantic-ui/components/accordion.js +610 -0
  61. data/lib/vapid/vendor/semantic-ui/components/accordion.min.css +9 -0
  62. data/lib/vapid/vendor/semantic-ui/components/accordion.min.js +10 -0
  63. data/lib/vapid/vendor/semantic-ui/components/ad.css +275 -0
  64. data/lib/vapid/vendor/semantic-ui/components/ad.min.css +10 -0
  65. data/lib/vapid/vendor/semantic-ui/components/api.js +1167 -0
  66. data/lib/vapid/vendor/semantic-ui/components/api.min.js +10 -0
  67. data/lib/vapid/vendor/semantic-ui/components/breadcrumb.css +124 -0
  68. data/lib/vapid/vendor/semantic-ui/components/breadcrumb.min.css +9 -0
  69. data/lib/vapid/vendor/semantic-ui/components/button.css +3450 -0
  70. data/lib/vapid/vendor/semantic-ui/components/button.min.css +9 -0
  71. data/lib/vapid/vendor/semantic-ui/components/card.css +964 -0
  72. data/lib/vapid/vendor/semantic-ui/components/card.min.css +9 -0
  73. data/lib/vapid/vendor/semantic-ui/components/checkbox.css +625 -0
  74. data/lib/vapid/vendor/semantic-ui/components/checkbox.js +831 -0
  75. data/lib/vapid/vendor/semantic-ui/components/checkbox.min.css +9 -0
  76. data/lib/vapid/vendor/semantic-ui/components/checkbox.min.js +10 -0
  77. data/lib/vapid/vendor/semantic-ui/components/colorize.js +274 -0
  78. data/lib/vapid/vendor/semantic-ui/components/colorize.min.js +11 -0
  79. data/lib/vapid/vendor/semantic-ui/components/comment.css +270 -0
  80. data/lib/vapid/vendor/semantic-ui/components/comment.min.css +9 -0
  81. data/lib/vapid/vendor/semantic-ui/components/container.css +147 -0
  82. data/lib/vapid/vendor/semantic-ui/components/container.min.css +9 -0
  83. data/lib/vapid/vendor/semantic-ui/components/dimmer.css +200 -0
  84. data/lib/vapid/vendor/semantic-ui/components/dimmer.js +708 -0
  85. data/lib/vapid/vendor/semantic-ui/components/dimmer.min.css +9 -0
  86. data/lib/vapid/vendor/semantic-ui/components/dimmer.min.js +10 -0
  87. data/lib/vapid/vendor/semantic-ui/components/divider.css +260 -0
  88. data/lib/vapid/vendor/semantic-ui/components/divider.min.css +9 -0
  89. data/lib/vapid/vendor/semantic-ui/components/dropdown.css +1442 -0
  90. data/lib/vapid/vendor/semantic-ui/components/dropdown.js +3767 -0
  91. data/lib/vapid/vendor/semantic-ui/components/dropdown.min.css +9 -0
  92. data/lib/vapid/vendor/semantic-ui/components/dropdown.min.js +11 -0
  93. data/lib/vapid/vendor/semantic-ui/components/embed.css +166 -0
  94. data/lib/vapid/vendor/semantic-ui/components/embed.js +696 -0
  95. data/lib/vapid/vendor/semantic-ui/components/embed.min.css +9 -0
  96. data/lib/vapid/vendor/semantic-ui/components/embed.min.js +10 -0
  97. data/lib/vapid/vendor/semantic-ui/components/feed.css +296 -0
  98. data/lib/vapid/vendor/semantic-ui/components/feed.min.css +9 -0
  99. data/lib/vapid/vendor/semantic-ui/components/flag.css +1031 -0
  100. data/lib/vapid/vendor/semantic-ui/components/flag.min.css +9 -0
  101. data/lib/vapid/vendor/semantic-ui/components/form.css +1067 -0
  102. data/lib/vapid/vendor/semantic-ui/components/form.js +1603 -0
  103. data/lib/vapid/vendor/semantic-ui/components/form.min.css +9 -0
  104. data/lib/vapid/vendor/semantic-ui/components/form.min.js +10 -0
  105. data/lib/vapid/vendor/semantic-ui/components/grid.css +2002 -0
  106. data/lib/vapid/vendor/semantic-ui/components/grid.min.css +9 -0
  107. data/lib/vapid/vendor/semantic-ui/components/header.css +721 -0
  108. data/lib/vapid/vendor/semantic-ui/components/header.min.css +9 -0
  109. data/lib/vapid/vendor/semantic-ui/components/icon.css +3292 -0
  110. data/lib/vapid/vendor/semantic-ui/components/icon.min.css +9 -0
  111. data/lib/vapid/vendor/semantic-ui/components/image.css +306 -0
  112. data/lib/vapid/vendor/semantic-ui/components/image.min.css +9 -0
  113. data/lib/vapid/vendor/semantic-ui/components/input.css +510 -0
  114. data/lib/vapid/vendor/semantic-ui/components/input.min.css +9 -0
  115. data/lib/vapid/vendor/semantic-ui/components/item.css +486 -0
  116. data/lib/vapid/vendor/semantic-ui/components/item.min.css +9 -0
  117. data/lib/vapid/vendor/semantic-ui/components/label.css +1307 -0
  118. data/lib/vapid/vendor/semantic-ui/components/label.min.css +9 -0
  119. data/lib/vapid/vendor/semantic-ui/components/list.css +951 -0
  120. data/lib/vapid/vendor/semantic-ui/components/list.min.css +9 -0
  121. data/lib/vapid/vendor/semantic-ui/components/loader.css +347 -0
  122. data/lib/vapid/vendor/semantic-ui/components/loader.min.css +9 -0
  123. data/lib/vapid/vendor/semantic-ui/components/menu.css +2002 -0
  124. data/lib/vapid/vendor/semantic-ui/components/menu.min.css +1 -0
  125. data/lib/vapid/vendor/semantic-ui/components/message.css +477 -0
  126. data/lib/vapid/vendor/semantic-ui/components/message.min.css +9 -0
  127. data/lib/vapid/vendor/semantic-ui/components/modal.css +502 -0
  128. data/lib/vapid/vendor/semantic-ui/components/modal.js +913 -0
  129. data/lib/vapid/vendor/semantic-ui/components/modal.min.css +9 -0
  130. data/lib/vapid/vendor/semantic-ui/components/modal.min.js +10 -0
  131. data/lib/vapid/vendor/semantic-ui/components/nag.css +147 -0
  132. data/lib/vapid/vendor/semantic-ui/components/nag.js +507 -0
  133. data/lib/vapid/vendor/semantic-ui/components/nag.min.css +9 -0
  134. data/lib/vapid/vendor/semantic-ui/components/nag.min.js +10 -0
  135. data/lib/vapid/vendor/semantic-ui/components/popup.css +733 -0
  136. data/lib/vapid/vendor/semantic-ui/components/popup.js +1475 -0
  137. data/lib/vapid/vendor/semantic-ui/components/popup.min.css +9 -0
  138. data/lib/vapid/vendor/semantic-ui/components/popup.min.js +10 -0
  139. data/lib/vapid/vendor/semantic-ui/components/progress.css +516 -0
  140. data/lib/vapid/vendor/semantic-ui/components/progress.js +931 -0
  141. data/lib/vapid/vendor/semantic-ui/components/progress.min.css +9 -0
  142. data/lib/vapid/vendor/semantic-ui/components/progress.min.js +10 -0
  143. data/lib/vapid/vendor/semantic-ui/components/rail.css +152 -0
  144. data/lib/vapid/vendor/semantic-ui/components/rail.min.css +9 -0
  145. data/lib/vapid/vendor/semantic-ui/components/rating.css +263 -0
  146. data/lib/vapid/vendor/semantic-ui/components/rating.js +508 -0
  147. data/lib/vapid/vendor/semantic-ui/components/rating.min.css +9 -0
  148. data/lib/vapid/vendor/semantic-ui/components/rating.min.js +10 -0
  149. data/lib/vapid/vendor/semantic-ui/components/reset.css +424 -0
  150. data/lib/vapid/vendor/semantic-ui/components/reset.min.css +9 -0
  151. data/lib/vapid/vendor/semantic-ui/components/reveal.css +284 -0
  152. data/lib/vapid/vendor/semantic-ui/components/reveal.min.css +9 -0
  153. data/lib/vapid/vendor/semantic-ui/components/search.css +408 -0
  154. data/lib/vapid/vendor/semantic-ui/components/search.js +1442 -0
  155. data/lib/vapid/vendor/semantic-ui/components/search.min.css +9 -0
  156. data/lib/vapid/vendor/semantic-ui/components/search.min.js +10 -0
  157. data/lib/vapid/vendor/semantic-ui/components/segment.css +798 -0
  158. data/lib/vapid/vendor/semantic-ui/components/segment.min.css +9 -0
  159. data/lib/vapid/vendor/semantic-ui/components/shape.css +157 -0
  160. data/lib/vapid/vendor/semantic-ui/components/shape.js +921 -0
  161. data/lib/vapid/vendor/semantic-ui/components/shape.min.css +9 -0
  162. data/lib/vapid/vendor/semantic-ui/components/shape.min.js +10 -0
  163. data/lib/vapid/vendor/semantic-ui/components/sidebar.css +634 -0
  164. data/lib/vapid/vendor/semantic-ui/components/sidebar.js +1036 -0
  165. data/lib/vapid/vendor/semantic-ui/components/sidebar.min.css +9 -0
  166. data/lib/vapid/vendor/semantic-ui/components/sidebar.min.js +10 -0
  167. data/lib/vapid/vendor/semantic-ui/components/site.css +160 -0
  168. data/lib/vapid/vendor/semantic-ui/components/site.js +487 -0
  169. data/lib/vapid/vendor/semantic-ui/components/site.min.css +9 -0
  170. data/lib/vapid/vendor/semantic-ui/components/site.min.js +10 -0
  171. data/lib/vapid/vendor/semantic-ui/components/state.js +708 -0
  172. data/lib/vapid/vendor/semantic-ui/components/state.min.js +10 -0
  173. data/lib/vapid/vendor/semantic-ui/components/statistic.css +569 -0
  174. data/lib/vapid/vendor/semantic-ui/components/statistic.min.css +9 -0
  175. data/lib/vapid/vendor/semantic-ui/components/step.css +623 -0
  176. data/lib/vapid/vendor/semantic-ui/components/step.min.css +9 -0
  177. data/lib/vapid/vendor/semantic-ui/components/sticky.css +78 -0
  178. data/lib/vapid/vendor/semantic-ui/components/sticky.js +942 -0
  179. data/lib/vapid/vendor/semantic-ui/components/sticky.min.css +9 -0
  180. data/lib/vapid/vendor/semantic-ui/components/sticky.min.js +10 -0
  181. data/lib/vapid/vendor/semantic-ui/components/tab.css +91 -0
  182. data/lib/vapid/vendor/semantic-ui/components/tab.js +952 -0
  183. data/lib/vapid/vendor/semantic-ui/components/tab.min.css +9 -0
  184. data/lib/vapid/vendor/semantic-ui/components/tab.min.js +10 -0
  185. data/lib/vapid/vendor/semantic-ui/components/table.css +1108 -0
  186. data/lib/vapid/vendor/semantic-ui/components/table.min.css +9 -0
  187. data/lib/vapid/vendor/semantic-ui/components/transition.css +1964 -0
  188. data/lib/vapid/vendor/semantic-ui/components/transition.js +1095 -0
  189. data/lib/vapid/vendor/semantic-ui/components/transition.min.css +9 -0
  190. data/lib/vapid/vendor/semantic-ui/components/transition.min.js +10 -0
  191. data/lib/vapid/vendor/semantic-ui/components/video.css +125 -0
  192. data/lib/vapid/vendor/semantic-ui/components/video.js +532 -0
  193. data/lib/vapid/vendor/semantic-ui/components/video.min.css +10 -0
  194. data/lib/vapid/vendor/semantic-ui/components/video.min.js +11 -0
  195. data/lib/vapid/vendor/semantic-ui/components/visibility.js +1288 -0
  196. data/lib/vapid/vendor/semantic-ui/components/visibility.min.js +10 -0
  197. data/lib/vapid/vendor/semantic-ui/components/visit.js +517 -0
  198. data/lib/vapid/vendor/semantic-ui/components/visit.min.js +11 -0
  199. data/lib/vapid/vendor/semantic-ui/package.js +34 -0
  200. data/lib/vapid/vendor/semantic-ui/package.json +20 -0
  201. data/lib/vapid/vendor/semantic-ui/semantic.css +36844 -0
  202. data/lib/vapid/vendor/semantic-ui/semantic.js +22617 -0
  203. data/lib/vapid/vendor/semantic-ui/semantic.min.css +364 -0
  204. data/lib/vapid/vendor/semantic-ui/semantic.min.js +19 -0
  205. data/lib/vapid/vendor/semantic-ui/themes/default/assets/fonts/icons.eot +0 -0
  206. data/lib/vapid/vendor/semantic-ui/themes/default/assets/fonts/icons.otf +0 -0
  207. data/lib/vapid/vendor/semantic-ui/themes/default/assets/fonts/icons.svg +2671 -0
  208. data/lib/vapid/vendor/semantic-ui/themes/default/assets/fonts/icons.ttf +0 -0
  209. data/lib/vapid/vendor/semantic-ui/themes/default/assets/fonts/icons.woff +0 -0
  210. data/lib/vapid/vendor/semantic-ui/themes/default/assets/fonts/icons.woff2 +0 -0
  211. data/lib/vapid/vendor/semantic-ui/themes/default/assets/images/flags.png +0 -0
  212. data/lib/vapid/vendor/trix/.blade.yml +45 -0
  213. data/lib/vapid/vendor/trix/.github/ISSUE_TEMPLATE.md +13 -0
  214. data/lib/vapid/vendor/trix/.gitignore +3 -0
  215. data/lib/vapid/vendor/trix/.ruby-version +1 -0
  216. data/lib/vapid/vendor/trix/.travis.yml +6 -0
  217. data/lib/vapid/vendor/trix/CONDUCT.md +79 -0
  218. data/lib/vapid/vendor/trix/Gemfile +17 -0
  219. data/lib/vapid/vendor/trix/Gemfile.lock +152 -0
  220. data/lib/vapid/vendor/trix/LICENSE +20 -0
  221. data/lib/vapid/vendor/trix/README.md +382 -0
  222. data/lib/vapid/vendor/trix/assets/index.html +55 -0
  223. data/lib/vapid/vendor/trix/assets/trix-core.coffee +2 -0
  224. data/lib/vapid/vendor/trix/assets/trix.coffee +3 -0
  225. data/lib/vapid/vendor/trix/assets/trix.scss +5 -0
  226. data/lib/vapid/vendor/trix/assets/trix/banner/index.coffee.erb +3 -0
  227. data/lib/vapid/vendor/trix/assets/trix/banner/index.scss.erb +3 -0
  228. data/lib/vapid/vendor/trix/assets/trix/banner/index.txt.erb +3 -0
  229. data/lib/vapid/vendor/trix/assets/trix/images/README.md +6 -0
  230. data/lib/vapid/vendor/trix/assets/trix/images/attach.svg +5 -0
  231. data/lib/vapid/vendor/trix/assets/trix/images/bold.svg +5 -0
  232. data/lib/vapid/vendor/trix/assets/trix/images/bullets.svg +5 -0
  233. data/lib/vapid/vendor/trix/assets/trix/images/code.svg +5 -0
  234. data/lib/vapid/vendor/trix/assets/trix/images/heading_1.svg +5 -0
  235. data/lib/vapid/vendor/trix/assets/trix/images/italic.svg +5 -0
  236. data/lib/vapid/vendor/trix/assets/trix/images/link.svg +6 -0
  237. data/lib/vapid/vendor/trix/assets/trix/images/nesting_level_decrease.svg +5 -0
  238. data/lib/vapid/vendor/trix/assets/trix/images/nesting_level_increase.svg +5 -0
  239. data/lib/vapid/vendor/trix/assets/trix/images/numbers.svg +5 -0
  240. data/lib/vapid/vendor/trix/assets/trix/images/quote.svg +5 -0
  241. data/lib/vapid/vendor/trix/assets/trix/images/redo.svg +5 -0
  242. data/lib/vapid/vendor/trix/assets/trix/images/remove.svg +4 -0
  243. data/lib/vapid/vendor/trix/assets/trix/images/strike.svg +6 -0
  244. data/lib/vapid/vendor/trix/assets/trix/images/trash.svg +5 -0
  245. data/lib/vapid/vendor/trix/assets/trix/images/undo.svg +5 -0
  246. data/lib/vapid/vendor/trix/assets/trix/stylesheets/attachments.scss +112 -0
  247. data/lib/vapid/vendor/trix/assets/trix/stylesheets/content.scss +88 -0
  248. data/lib/vapid/vendor/trix/assets/trix/stylesheets/editor.scss +8 -0
  249. data/lib/vapid/vendor/trix/assets/trix/stylesheets/icons.scss +14 -0
  250. data/lib/vapid/vendor/trix/assets/trix/stylesheets/media-queries.scss +7 -0
  251. data/lib/vapid/vendor/trix/assets/trix/stylesheets/toolbar.scss +194 -0
  252. data/lib/vapid/vendor/trix/bin/blade +16 -0
  253. data/lib/vapid/vendor/trix/bin/ci +21 -0
  254. data/lib/vapid/vendor/trix/bin/rackup +16 -0
  255. data/lib/vapid/vendor/trix/bin/rake +16 -0
  256. data/lib/vapid/vendor/trix/bin/release +139 -0
  257. data/lib/vapid/vendor/trix/bin/setup +69 -0
  258. data/lib/vapid/vendor/trix/bin/update-status-image +100 -0
  259. data/lib/vapid/vendor/trix/bower.json +34 -0
  260. data/lib/vapid/vendor/trix/config.ru +32 -0
  261. data/lib/vapid/vendor/trix/dist/trix-core.js +11 -0
  262. data/lib/vapid/vendor/trix/dist/trix.css +286 -0
  263. data/lib/vapid/vendor/trix/dist/trix.js +20 -0
  264. data/lib/vapid/vendor/trix/package.json +29 -0
  265. data/lib/vapid/vendor/trix/polyfills/polyfills.coffee +3 -0
  266. data/lib/vapid/vendor/trix/polyfills/set.coffee +24 -0
  267. data/lib/vapid/vendor/trix/polyfills/vendor/CustomElements.js +1029 -0
  268. data/lib/vapid/vendor/trix/polyfills/vendor/README.md +2 -0
  269. data/lib/vapid/vendor/trix/polyfills/vendor/promise.js +228 -0
  270. data/lib/vapid/vendor/trix/src/trix/VERSION +1 -0
  271. data/lib/vapid/vendor/trix/src/trix/config/block_attributes.coffee +37 -0
  272. data/lib/vapid/vendor/trix/src/trix/config/css.coffee +12 -0
  273. data/lib/vapid/vendor/trix/src/trix/config/file_size_formatting.coffee +22 -0
  274. data/lib/vapid/vendor/trix/src/trix/config/index.coffee +9 -0
  275. data/lib/vapid/vendor/trix/src/trix/config/lang.coffee +26 -0
  276. data/lib/vapid/vendor/trix/src/trix/config/selection_elements.coffee +26 -0
  277. data/lib/vapid/vendor/trix/src/trix/config/serialization.coffee +63 -0
  278. data/lib/vapid/vendor/trix/src/trix/config/text_attributes.coffee +25 -0
  279. data/lib/vapid/vendor/trix/src/trix/config/toolbar.coffee +41 -0
  280. data/lib/vapid/vendor/trix/src/trix/config/undo_interval.coffee +7 -0
  281. data/lib/vapid/vendor/trix/src/trix/controllers/attachment_editor_controller.coffee +104 -0
  282. data/lib/vapid/vendor/trix/src/trix/controllers/composition_controller.coffee +117 -0
  283. data/lib/vapid/vendor/trix/src/trix/controllers/controller.coffee +3 -0
  284. data/lib/vapid/vendor/trix/src/trix/controllers/editor_controller.coffee +369 -0
  285. data/lib/vapid/vendor/trix/src/trix/controllers/input/composition_input.coffee +57 -0
  286. data/lib/vapid/vendor/trix/src/trix/controllers/input_controller.coffee +473 -0
  287. data/lib/vapid/vendor/trix/src/trix/controllers/toolbar_controller.coffee +173 -0
  288. data/lib/vapid/vendor/trix/src/trix/core/basic_object.coffee +44 -0
  289. data/lib/vapid/vendor/trix/src/trix/core/collections/element_store.coffee +21 -0
  290. data/lib/vapid/vendor/trix/src/trix/core/collections/hash.coffee +98 -0
  291. data/lib/vapid/vendor/trix/src/trix/core/collections/index.coffee +4 -0
  292. data/lib/vapid/vendor/trix/src/trix/core/collections/object_group.coffee +37 -0
  293. data/lib/vapid/vendor/trix/src/trix/core/collections/object_map.coffee +10 -0
  294. data/lib/vapid/vendor/trix/src/trix/core/helpers/arrays.coffee +34 -0
  295. data/lib/vapid/vendor/trix/src/trix/core/helpers/config.coffee +23 -0
  296. data/lib/vapid/vendor/trix/src/trix/core/helpers/custom_elements.coffee +45 -0
  297. data/lib/vapid/vendor/trix/src/trix/core/helpers/dom.coffee +185 -0
  298. data/lib/vapid/vendor/trix/src/trix/core/helpers/extend.coffee +4 -0
  299. data/lib/vapid/vendor/trix/src/trix/core/helpers/functions.coffee +3 -0
  300. data/lib/vapid/vendor/trix/src/trix/core/helpers/global.coffee +23 -0
  301. data/lib/vapid/vendor/trix/src/trix/core/helpers/index.coffee +10 -0
  302. data/lib/vapid/vendor/trix/src/trix/core/helpers/objects.coffee +11 -0
  303. data/lib/vapid/vendor/trix/src/trix/core/helpers/ranges.coffee +33 -0
  304. data/lib/vapid/vendor/trix/src/trix/core/helpers/selection.coffee +25 -0
  305. data/lib/vapid/vendor/trix/src/trix/core/helpers/strings.coffee +46 -0
  306. data/lib/vapid/vendor/trix/src/trix/core/index.coffee +4 -0
  307. data/lib/vapid/vendor/trix/src/trix/core/object.coffee +33 -0
  308. data/lib/vapid/vendor/trix/src/trix/core/utilities/index.coffee +2 -0
  309. data/lib/vapid/vendor/trix/src/trix/core/utilities/operation.coffee +37 -0
  310. data/lib/vapid/vendor/trix/src/trix/core/utilities/utf16_string.coffee +93 -0
  311. data/lib/vapid/vendor/trix/src/trix/elements/trix_editor_element.coffee +166 -0
  312. data/lib/vapid/vendor/trix/src/trix/elements/trix_toolbar_element.coffee +28 -0
  313. data/lib/vapid/vendor/trix/src/trix/index.coffee.erb +14 -0
  314. data/lib/vapid/vendor/trix/src/trix/inspector/control_element.coffee +60 -0
  315. data/lib/vapid/vendor/trix/src/trix/inspector/debugger.coffee +104 -0
  316. data/lib/vapid/vendor/trix/src/trix/inspector/element.coffee +86 -0
  317. data/lib/vapid/vendor/trix/src/trix/inspector/index.coffee +17 -0
  318. data/lib/vapid/vendor/trix/src/trix/inspector/polyfills/vendor/details-element-polyfill.js +5 -0
  319. data/lib/vapid/vendor/trix/src/trix/inspector/templates/debug.jst.eco +17 -0
  320. data/lib/vapid/vendor/trix/src/trix/inspector/templates/document.jst.eco +33 -0
  321. data/lib/vapid/vendor/trix/src/trix/inspector/templates/performance.jst.eco +10 -0
  322. data/lib/vapid/vendor/trix/src/trix/inspector/templates/render.jst.eco +1 -0
  323. data/lib/vapid/vendor/trix/src/trix/inspector/templates/selection.jst.eco +5 -0
  324. data/lib/vapid/vendor/trix/src/trix/inspector/templates/undo.jst.eco +13 -0
  325. data/lib/vapid/vendor/trix/src/trix/inspector/view.coffee +58 -0
  326. data/lib/vapid/vendor/trix/src/trix/inspector/views/debug_view.coffee +33 -0
  327. data/lib/vapid/vendor/trix/src/trix/inspector/views/document_view.coffee +12 -0
  328. data/lib/vapid/vendor/trix/src/trix/inspector/views/performance_view.coffee +51 -0
  329. data/lib/vapid/vendor/trix/src/trix/inspector/views/render_view.coffee +21 -0
  330. data/lib/vapid/vendor/trix/src/trix/inspector/views/selection_view.coffee +33 -0
  331. data/lib/vapid/vendor/trix/src/trix/inspector/views/undo_view.coffee +12 -0
  332. data/lib/vapid/vendor/trix/src/trix/inspector/watchdog/deserializer.coffee +55 -0
  333. data/lib/vapid/vendor/trix/src/trix/inspector/watchdog/index.coffee +5 -0
  334. data/lib/vapid/vendor/trix/src/trix/inspector/watchdog/player.coffee +60 -0
  335. data/lib/vapid/vendor/trix/src/trix/inspector/watchdog/player_controller.coffee +43 -0
  336. data/lib/vapid/vendor/trix/src/trix/inspector/watchdog/player_element.coffee +32 -0
  337. data/lib/vapid/vendor/trix/src/trix/inspector/watchdog/player_view.coffee +133 -0
  338. data/lib/vapid/vendor/trix/src/trix/inspector/watchdog/recorder.coffee +82 -0
  339. data/lib/vapid/vendor/trix/src/trix/inspector/watchdog/recording.coffee +54 -0
  340. data/lib/vapid/vendor/trix/src/trix/inspector/watchdog/serializer.coffee +61 -0
  341. data/lib/vapid/vendor/trix/src/trix/models/attachment.coffee +157 -0
  342. data/lib/vapid/vendor/trix/src/trix/models/attachment_manager.coffee +24 -0
  343. data/lib/vapid/vendor/trix/src/trix/models/attachment_piece.coffee +47 -0
  344. data/lib/vapid/vendor/trix/src/trix/models/block.coffee +230 -0
  345. data/lib/vapid/vendor/trix/src/trix/models/composition.coffee +521 -0
  346. data/lib/vapid/vendor/trix/src/trix/models/document.coffee +538 -0
  347. data/lib/vapid/vendor/trix/src/trix/models/editor.coffee +141 -0
  348. data/lib/vapid/vendor/trix/src/trix/models/html_parser.coffee +335 -0
  349. data/lib/vapid/vendor/trix/src/trix/models/line_break_insertion.coffee +31 -0
  350. data/lib/vapid/vendor/trix/src/trix/models/location_mapper.coffee +156 -0
  351. data/lib/vapid/vendor/trix/src/trix/models/managed_attachment.coffee +28 -0
  352. data/lib/vapid/vendor/trix/src/trix/models/piece.coffee +95 -0
  353. data/lib/vapid/vendor/trix/src/trix/models/point_mapper.coffee +28 -0
  354. data/lib/vapid/vendor/trix/src/trix/models/selection_manager.coffee +129 -0
  355. data/lib/vapid/vendor/trix/src/trix/models/splittable_list.coffee +168 -0
  356. data/lib/vapid/vendor/trix/src/trix/models/string_piece.coffee +49 -0
  357. data/lib/vapid/vendor/trix/src/trix/models/text.coffee +168 -0
  358. data/lib/vapid/vendor/trix/src/trix/models/undo_manager.coffee +40 -0
  359. data/lib/vapid/vendor/trix/src/trix/observers/mutation_observer.coffee +131 -0
  360. data/lib/vapid/vendor/trix/src/trix/observers/selection_change_observer.coffee +56 -0
  361. data/lib/vapid/vendor/trix/src/trix/operations/file_verification_operation.coffee +15 -0
  362. data/lib/vapid/vendor/trix/src/trix/operations/image_preload_operation.coffee +15 -0
  363. data/lib/vapid/vendor/trix/src/trix/views/attachment_view.coffee +99 -0
  364. data/lib/vapid/vendor/trix/src/trix/views/block_view.coffee +37 -0
  365. data/lib/vapid/vendor/trix/src/trix/views/document_view.coffee +68 -0
  366. data/lib/vapid/vendor/trix/src/trix/views/object_group_view.coffee +23 -0
  367. data/lib/vapid/vendor/trix/src/trix/views/object_view.coffee +86 -0
  368. data/lib/vapid/vendor/trix/src/trix/views/piece_view.coffee +97 -0
  369. data/lib/vapid/vendor/trix/src/trix/views/previewable_attachment_view.coffee +49 -0
  370. data/lib/vapid/vendor/trix/src/trix/views/text_view.coffee +30 -0
  371. data/lib/vapid/vendor/trix/test/.gitignore +1 -0
  372. data/lib/vapid/vendor/trix/test/src/system/attachment_test.coffee +70 -0
  373. data/lib/vapid/vendor/trix/test/src/system/basic_input_test.coffee +68 -0
  374. data/lib/vapid/vendor/trix/test/src/system/block_formatting_test.coffee +602 -0
  375. data/lib/vapid/vendor/trix/test/src/system/caching_test.coffee +21 -0
  376. data/lib/vapid/vendor/trix/test/src/system/composition_input_test.coffee +138 -0
  377. data/lib/vapid/vendor/trix/test/src/system/cursor_movement_test.coffee +54 -0
  378. data/lib/vapid/vendor/trix/test/src/system/custom_element_test.coffee +314 -0
  379. data/lib/vapid/vendor/trix/test/src/system/html_loading_test.coffee +62 -0
  380. data/lib/vapid/vendor/trix/test/src/system/html_replacement_test.coffee +101 -0
  381. data/lib/vapid/vendor/trix/test/src/system/installation_process_test.coffee +59 -0
  382. data/lib/vapid/vendor/trix/test/src/system/list_formatting_test.coffee +70 -0
  383. data/lib/vapid/vendor/trix/test/src/system/mutation_input_test.coffee +73 -0
  384. data/lib/vapid/vendor/trix/test/src/system/pasting_test.coffee +215 -0
  385. data/lib/vapid/vendor/trix/test/src/system/text_formatting_test.coffee +151 -0
  386. data/lib/vapid/vendor/trix/test/src/system/undo_test.coffee +48 -0
  387. data/lib/vapid/vendor/trix/test/src/test.coffee +16 -0
  388. data/lib/vapid/vendor/trix/test/src/test_helpers/assertions.coffee +38 -0
  389. data/lib/vapid/vendor/trix/test/src/test_helpers/editor_helpers.coffee +37 -0
  390. data/lib/vapid/vendor/trix/test/src/test_helpers/fixtures/editor_empty.jst.eco +1 -0
  391. data/lib/vapid/vendor/trix/test/src/test_helpers/fixtures/editor_html.jst.eco +2 -0
  392. data/lib/vapid/vendor/trix/test/src/test_helpers/fixtures/editor_in_table.jst.eco +7 -0
  393. data/lib/vapid/vendor/trix/test/src/test_helpers/fixtures/editor_with_block_styles.jst.eco +6 -0
  394. data/lib/vapid/vendor/trix/test/src/test_helpers/fixtures/editor_with_bold_styles.jst.eco +7 -0
  395. data/lib/vapid/vendor/trix/test/src/test_helpers/fixtures/editor_with_image.jst.eco +2 -0
  396. data/lib/vapid/vendor/trix/test/src/test_helpers/fixtures/editor_with_styled_content.jst.eco +7 -0
  397. data/lib/vapid/vendor/trix/test/src/test_helpers/fixtures/editor_with_toolbar_and_input.jst.eco +5 -0
  398. data/lib/vapid/vendor/trix/test/src/test_helpers/fixtures/fixtures.coffee +536 -0
  399. data/lib/vapid/vendor/trix/test/src/test_helpers/fixtures/logo.png +0 -0
  400. data/lib/vapid/vendor/trix/test/src/test_helpers/index.coffee +18 -0
  401. data/lib/vapid/vendor/trix/test/src/test_helpers/input_helpers.coffee +183 -0
  402. data/lib/vapid/vendor/trix/test/src/test_helpers/selection_helpers.coffee +91 -0
  403. data/lib/vapid/vendor/trix/test/src/test_helpers/test_helpers.coffee +72 -0
  404. data/lib/vapid/vendor/trix/test/src/test_helpers/test_stubs.coffee +31 -0
  405. data/lib/vapid/vendor/trix/test/src/test_helpers/toolbar_helpers.coffee +45 -0
  406. data/lib/vapid/vendor/trix/test/src/unit/attachment_test.coffee +23 -0
  407. data/lib/vapid/vendor/trix/test/src/unit/block_test.coffee +22 -0
  408. data/lib/vapid/vendor/trix/test/src/unit/composition_test.coffee +13 -0
  409. data/lib/vapid/vendor/trix/test/src/unit/document_test.coffee +11 -0
  410. data/lib/vapid/vendor/trix/test/src/unit/document_view_test.coffee +6 -0
  411. data/lib/vapid/vendor/trix/test/src/unit/html_parser_test.coffee +162 -0
  412. data/lib/vapid/vendor/trix/test/src/unit/location_mapper_test.coffee +185 -0
  413. data/lib/vapid/vendor/trix/test/src/unit/mutation_observer_test.coffee +84 -0
  414. data/lib/vapid/vendor/trix/test/src/unit/serialization_test.coffee +7 -0
  415. data/lib/vapid/vendor/trix/test/src/unit/string_change_summary_test.coffee +57 -0
  416. data/lib/vapid/vendor/trix/test/src/unit/text_test.coffee +19 -0
  417. data/lib/vapid/vendor/trix/test/vendor/rangy-core.js +3845 -0
  418. data/lib/vapid/vendor/trix/test/vendor/rangy-textrange.js +1930 -0
  419. data/lib/vapid/version.rb +4 -0
  420. data/lib/vapid/views/admin/install.html.erb +19 -0
  421. data/lib/vapid/views/admin/login.html.erb +11 -0
  422. data/lib/vapid/views/admin/overview/index.html.erb +1 -0
  423. data/lib/vapid/views/admin/records/_form.erb +9 -0
  424. data/lib/vapid/views/admin/records/edit.html.erb +5 -0
  425. data/lib/vapid/views/admin/records/index.html.erb +38 -0
  426. data/lib/vapid/views/admin/records/new.html.erb +3 -0
  427. data/lib/vapid/views/errors/404.html.erb +1 -0
  428. data/lib/vapid/views/errors/500.html.erb +1 -0
  429. data/lib/vapid/views/layouts/admin.html.erb +41 -0
  430. data/lib/vapid/views/layouts/admin_form.html.erb +22 -0
  431. data/lib/vapid/views/layouts/error.html.erb +11 -0
  432. data/vapid.gemspec +48 -0
  433. metadata +811 -0
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * # Semantic UI 2.2.9 - Video
3
+ * http://github.com/semantic-org/semantic-ui/
4
+ *
5
+ *
6
+ * Released under the MIT license
7
+ * http://opensource.org/licenses/MIT
8
+ *
9
+ */.ui.embed{position:relative;max-width:100%;height:0;overflow:hidden;background:#dcddde;padding-bottom:56.25%}.ui.embed embed,.ui.embed iframe,.ui.embed object{position:absolute;border:none;width:100%;height:100%;top:0;left:0;margin:0;padding:0}.ui.embed>.embed{display:none}.ui.embed>.placeholder{position:absolute;cursor:pointer;top:0;left:0;display:block;width:100%;height:100%;background-color:radial-gradient(transparent 45%,rgba(0,0,0,.3))}.ui.embed>.icon{cursor:pointer;position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.ui.embed>.icon:after{position:absolute;top:0;left:0;width:100%;height:100%;z-index:3;content:'';background:-webkit-radial-gradient(transparent 45%,rgba(0,0,0,.3));background:radial-gradient(transparent 45%,rgba(0,0,0,.3));opacity:.5;-webkit-transition:opacity .5s ease;transition:opacity .5s ease}.ui.embed>.icon:before{position:absolute;top:50%;left:50%;z-index:4;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);color:#fff;font-size:6rem;text-shadow:0 2px 10px rgba(34,36,38,.2);-webkit-transition:opacity .5s ease,color .5s ease;transition:opacity .5s ease,color .5s ease;z-index:10}.ui.embed .icon:hover:after{background:-webkit-radial-gradient(transparent 45%,rgba(0,0,0,.3));background:radial-gradient(transparent 45%,rgba(0,0,0,.3));opacity:1}.ui.embed .icon:hover:before{color:#fff}.ui.active.embed>.icon,.ui.active.embed>.placeholder{display:none}.ui.active.embed>.embed{display:block}.ui.square.embed{padding-bottom:100%}.ui[class*="4:3"].embed{padding-bottom:75%}.ui[class*="16:9"].embed{padding-bottom:56.25%}.ui[class*="21:9"].embed{padding-bottom:42.85714286%}
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * # Semantic UI 2.2.9 - Embed
3
+ * http://github.com/semantic-org/semantic-ui/
4
+ *
5
+ *
6
+ * Released under the MIT license
7
+ * http://opensource.org/licenses/MIT
8
+ *
9
+ */
10
+ !function(e,n,o,t){"use strict";n="undefined"!=typeof n&&n.Math==Math?n:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.embed=function(o){var r,a=e(this),i=a.selector||"",c=(new Date).getTime(),l=[],d=arguments[0],u="string"==typeof d,s=[].slice.call(arguments,1);return a.each(function(){var m,p=e.isPlainObject(o)?e.extend(!0,{},e.fn.embed.settings,o):e.extend({},e.fn.embed.settings),f=p.selector,h=p.className,b=p.sources,g=p.error,v=p.metadata,y=p.namespace,w=p.templates,P="."+y,C="module-"+y,E=(e(n),e(this)),U=E.find(f.placeholder),j=E.find(f.icon),S=E.find(f.embed),T=this,x=E.data(C);m={initialize:function(){m.debug("Initializing embed"),m.determine.autoplay(),m.create(),m.bind.events(),m.instantiate()},instantiate:function(){m.verbose("Storing instance of module",m),x=m,E.data(C,m)},destroy:function(){m.verbose("Destroying previous instance of embed"),m.reset(),E.removeData(C).off(P)},refresh:function(){m.verbose("Refreshing selector cache"),U=E.find(f.placeholder),j=E.find(f.icon),S=E.find(f.embed)},bind:{events:function(){m.has.placeholder()&&(m.debug("Adding placeholder events"),E.on("click"+P,f.placeholder,m.createAndShow).on("click"+P,f.icon,m.createAndShow))}},create:function(){var e=m.get.placeholder();e?m.createPlaceholder():m.createAndShow()},createPlaceholder:function(e){var n=m.get.icon(),o=m.get.url();m.generate.embed(o);e=e||m.get.placeholder(),E.html(w.placeholder(e,n)),m.debug("Creating placeholder for embed",e,n)},createEmbed:function(n){m.refresh(),n=n||m.get.url(),S=e("<div/>").addClass(h.embed).html(m.generate.embed(n)).appendTo(E),p.onCreate.call(T,n),m.debug("Creating embed object",S)},changeEmbed:function(e){S.html(m.generate.embed(e))},createAndShow:function(){m.createEmbed(),m.show()},change:function(e,n,o){m.debug("Changing video to ",e,n,o),E.data(v.source,e).data(v.id,n),o?E.data(v.url,o):E.removeData(v.url),m.has.embed()?m.changeEmbed():m.create()},reset:function(){m.debug("Clearing embed and showing placeholder"),m.remove.active(),m.remove.embed(),m.showPlaceholder(),p.onReset.call(T)},show:function(){m.debug("Showing embed"),m.set.active(),p.onDisplay.call(T)},hide:function(){m.debug("Hiding embed"),m.showPlaceholder()},showPlaceholder:function(){m.debug("Showing placeholder image"),m.remove.active(),p.onPlaceholderDisplay.call(T)},get:{id:function(){return p.id||E.data(v.id)},placeholder:function(){return p.placeholder||E.data(v.placeholder)},icon:function(){return p.icon?p.icon:E.data(v.icon)!==t?E.data(v.icon):m.determine.icon()},source:function(e){return p.source?p.source:E.data(v.source)!==t?E.data(v.source):m.determine.source()},type:function(){var e=m.get.source();return b[e]!==t&&b[e].type},url:function(){return p.url?p.url:E.data(v.url)!==t?E.data(v.url):m.determine.url()}},determine:{autoplay:function(){m.should.autoplay()&&(p.autoplay=!0)},source:function(n){var o=!1;return n=n||m.get.url(),n&&e.each(b,function(e,t){if(n.search(t.domain)!==-1)return o=e,!1}),o},icon:function(){var e=m.get.source();return b[e]!==t&&b[e].icon},url:function(){var e,n=p.id||E.data(v.id),o=p.source||E.data(v.source);return e=b[o]!==t&&b[o].url.replace("{id}",n),e&&E.data(v.url,e),e}},set:{active:function(){E.addClass(h.active)}},remove:{active:function(){E.removeClass(h.active)},embed:function(){S.empty()}},encode:{parameters:function(e){var n,o=[];for(n in e)o.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return o.join("&amp;")}},generate:{embed:function(e){m.debug("Generating embed html");var n,o,t=m.get.source();return e=m.get.url(e),e?(o=m.generate.parameters(t),n=w.iframe(e,o)):m.error(g.noURL,E),n},parameters:function(n,o){var r=b[n]&&b[n].parameters!==t?b[n].parameters(p):{};return o=o||p.parameters,o&&(r=e.extend({},r,o)),r=p.onEmbed(r),m.encode.parameters(r)}},has:{embed:function(){return S.length>0},placeholder:function(){return p.placeholder||E.data(v.placeholder)}},should:{autoplay:function(){return"auto"===p.autoplay?p.placeholder||E.data(v.placeholder)!==t:p.autoplay}},is:{video:function(){return"video"==m.get.type()}},setting:function(n,o){if(m.debug("Changing setting",n,o),e.isPlainObject(n))e.extend(!0,p,n);else{if(o===t)return p[n];e.isPlainObject(p[n])?e.extend(!0,p[n],o):p[n]=o}},internal:function(n,o){if(e.isPlainObject(n))e.extend(!0,m,n);else{if(o===t)return m[n];m[n]=o}},debug:function(){!p.silent&&p.debug&&(p.performance?m.performance.log(arguments):(m.debug=Function.prototype.bind.call(console.info,console,p.name+":"),m.debug.apply(console,arguments)))},verbose:function(){!p.silent&&p.verbose&&p.debug&&(p.performance?m.performance.log(arguments):(m.verbose=Function.prototype.bind.call(console.info,console,p.name+":"),m.verbose.apply(console,arguments)))},error:function(){p.silent||(m.error=Function.prototype.bind.call(console.error,console,p.name+":"),m.error.apply(console,arguments))},performance:{log:function(e){var n,o,t;p.performance&&(n=(new Date).getTime(),t=c||n,o=n-t,c=n,l.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:T,"Execution Time":o})),clearTimeout(m.performance.timer),m.performance.timer=setTimeout(m.performance.display,500)},display:function(){var n=p.name+":",o=0;c=!1,clearTimeout(m.performance.timer),e.each(l,function(e,n){o+=n["Execution Time"]}),n+=" "+o+"ms",i&&(n+=" '"+i+"'"),a.length>1&&(n+=" ("+a.length+")"),(console.group!==t||console.table!==t)&&l.length>0&&(console.groupCollapsed(n),console.table?console.table(l):e.each(l,function(e,n){console.log(n.Name+": "+n["Execution Time"]+"ms")}),console.groupEnd()),l=[]}},invoke:function(n,o,a){var i,c,l,d=x;return o=o||s,a=T||a,"string"==typeof n&&d!==t&&(n=n.split(/[\. ]/),i=n.length-1,e.each(n,function(o,r){var a=o!=i?r+n[o+1].charAt(0).toUpperCase()+n[o+1].slice(1):n;if(e.isPlainObject(d[a])&&o!=i)d=d[a];else{if(d[a]!==t)return c=d[a],!1;if(!e.isPlainObject(d[r])||o==i)return d[r]!==t?(c=d[r],!1):(m.error(g.method,n),!1);d=d[r]}})),e.isFunction(c)?l=c.apply(a,o):c!==t&&(l=c),e.isArray(r)?r.push(l):r!==t?r=[r,l]:l!==t&&(r=l),c}},u?(x===t&&m.initialize(),m.invoke(d)):(x!==t&&x.invoke("destroy"),m.initialize())}),r!==t?r:this},e.fn.embed.settings={name:"Embed",namespace:"embed",silent:!1,debug:!1,verbose:!1,performance:!0,icon:!1,source:!1,url:!1,id:!1,autoplay:"auto",color:"#444444",hd:!0,brandedUI:!1,parameters:!1,onDisplay:function(){},onPlaceholderDisplay:function(){},onReset:function(){},onCreate:function(e){},onEmbed:function(e){return e},metadata:{id:"id",icon:"icon",placeholder:"placeholder",source:"source",url:"url"},error:{noURL:"No URL specified",method:"The method you called is not defined"},className:{active:"active",embed:"embed"},selector:{embed:".embed",placeholder:".placeholder",icon:".icon"},sources:{youtube:{name:"youtube",type:"video",icon:"video play",domain:"youtube.com",url:"//www.youtube.com/embed/{id}",parameters:function(e){return{autohide:!e.brandedUI,autoplay:e.autoplay,color:e.color||t,hq:e.hd,jsapi:e.api,modestbranding:!e.brandedUI}}},vimeo:{name:"vimeo",type:"video",icon:"video play",domain:"vimeo.com",url:"//player.vimeo.com/video/{id}",parameters:function(e){return{api:e.api,autoplay:e.autoplay,byline:e.brandedUI,color:e.color||t,portrait:e.brandedUI,title:e.brandedUI}}}},templates:{iframe:function(e,n){var o=e;return n&&(o+="?"+n),'<iframe src="'+o+'" width="100%" height="100%" frameborder="0" scrolling="no" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'},placeholder:function(e,n){var o="";return n&&(o+='<i class="'+n+' icon"></i>'),e&&(o+='<img class="placeholder" src="'+e+'">'),o}},api:!1,onPause:function(){},onPlay:function(){},onStop:function(){}}}(jQuery,window,document);
@@ -0,0 +1,296 @@
1
+ /*!
2
+ * # Semantic UI 2.2.9 - Feed
3
+ * http://github.com/semantic-org/semantic-ui/
4
+ *
5
+ *
6
+ * Released under the MIT license
7
+ * http://opensource.org/licenses/MIT
8
+ *
9
+ */
10
+
11
+
12
+ /*******************************
13
+ Activity Feed
14
+ *******************************/
15
+
16
+ .ui.feed {
17
+ margin: 1em 0em;
18
+ }
19
+ .ui.feed:first-child {
20
+ margin-top: 0em;
21
+ }
22
+ .ui.feed:last-child {
23
+ margin-bottom: 0em;
24
+ }
25
+
26
+
27
+ /*******************************
28
+ Content
29
+ *******************************/
30
+
31
+
32
+ /* Event */
33
+ .ui.feed > .event {
34
+ display: -webkit-box;
35
+ display: -ms-flexbox;
36
+ display: flex;
37
+ -webkit-box-orient: horizontal;
38
+ -webkit-box-direction: normal;
39
+ -ms-flex-direction: row;
40
+ flex-direction: row;
41
+ width: 100%;
42
+ padding: 0.21428571rem 0em;
43
+ margin: 0em;
44
+ background: none;
45
+ border-top: none;
46
+ }
47
+ .ui.feed > .event:first-child {
48
+ border-top: 0px;
49
+ padding-top: 0em;
50
+ }
51
+ .ui.feed > .event:last-child {
52
+ padding-bottom: 0em;
53
+ }
54
+
55
+ /* Event Label */
56
+ .ui.feed > .event > .label {
57
+ display: block;
58
+ -webkit-box-flex: 0;
59
+ -ms-flex: 0 0 auto;
60
+ flex: 0 0 auto;
61
+ width: 2.5em;
62
+ height: auto;
63
+ -ms-flex-item-align: stretch;
64
+ -ms-grid-row-align: stretch;
65
+ align-self: stretch;
66
+ text-align: left;
67
+ }
68
+ .ui.feed > .event > .label .icon {
69
+ opacity: 1;
70
+ font-size: 1.5em;
71
+ width: 100%;
72
+ padding: 0.25em;
73
+ background: none;
74
+ border: none;
75
+ border-radius: none;
76
+ color: rgba(0, 0, 0, 0.6);
77
+ }
78
+ .ui.feed > .event > .label img {
79
+ width: 100%;
80
+ height: auto;
81
+ border-radius: 500rem;
82
+ }
83
+ .ui.feed > .event > .label + .content {
84
+ margin: 0.5em 0em 0.35714286em 1.14285714em;
85
+ }
86
+
87
+ /*--------------
88
+ Content
89
+ ---------------*/
90
+
91
+
92
+ /* Content */
93
+ .ui.feed > .event > .content {
94
+ display: block;
95
+ -webkit-box-flex: 1;
96
+ -ms-flex: 1 1 auto;
97
+ flex: 1 1 auto;
98
+ -ms-flex-item-align: stretch;
99
+ -ms-grid-row-align: stretch;
100
+ align-self: stretch;
101
+ text-align: left;
102
+ word-wrap: break-word;
103
+ }
104
+ .ui.feed > .event:last-child > .content {
105
+ padding-bottom: 0em;
106
+ }
107
+
108
+ /* Link */
109
+ .ui.feed > .event > .content a {
110
+ cursor: pointer;
111
+ }
112
+
113
+ /*--------------
114
+ Date
115
+ ---------------*/
116
+
117
+ .ui.feed > .event > .content .date {
118
+ margin: -0.5rem 0em 0em;
119
+ padding: 0em;
120
+ font-weight: normal;
121
+ font-size: 1em;
122
+ font-style: normal;
123
+ color: rgba(0, 0, 0, 0.4);
124
+ }
125
+
126
+ /*--------------
127
+ Summary
128
+ ---------------*/
129
+
130
+ .ui.feed > .event > .content .summary {
131
+ margin: 0em;
132
+ font-size: 1em;
133
+ font-weight: bold;
134
+ color: rgba(0, 0, 0, 0.87);
135
+ }
136
+
137
+ /* Summary Image */
138
+ .ui.feed > .event > .content .summary img {
139
+ display: inline-block;
140
+ width: auto;
141
+ height: 10em;
142
+ margin: -0.25em 0.25em 0em 0em;
143
+ border-radius: 0.25em;
144
+ vertical-align: middle;
145
+ }
146
+
147
+ /*--------------
148
+ User
149
+ ---------------*/
150
+
151
+ .ui.feed > .event > .content .user {
152
+ display: inline-block;
153
+ font-weight: bold;
154
+ margin-right: 0em;
155
+ vertical-align: baseline;
156
+ }
157
+ .ui.feed > .event > .content .user img {
158
+ margin: -0.25em 0.25em 0em 0em;
159
+ width: auto;
160
+ height: 10em;
161
+ vertical-align: middle;
162
+ }
163
+
164
+ /*--------------
165
+ Inline Date
166
+ ---------------*/
167
+
168
+
169
+ /* Date inside Summary */
170
+ .ui.feed > .event > .content .summary > .date {
171
+ display: inline-block;
172
+ float: none;
173
+ font-weight: normal;
174
+ font-size: 0.85714286em;
175
+ font-style: normal;
176
+ margin: 0em 0em 0em 0.5em;
177
+ padding: 0em;
178
+ color: rgba(0, 0, 0, 0.4);
179
+ }
180
+
181
+ /*--------------
182
+ Extra Summary
183
+ ---------------*/
184
+
185
+ .ui.feed > .event > .content .extra {
186
+ margin: 0.5em 0em 0em;
187
+ background: none;
188
+ padding: 0em;
189
+ color: rgba(0, 0, 0, 0.87);
190
+ }
191
+
192
+ /* Images */
193
+ .ui.feed > .event > .content .extra.images img {
194
+ display: inline-block;
195
+ margin: 0em 0.25em 0em 0em;
196
+ width: 6em;
197
+ }
198
+
199
+ /* Text */
200
+ .ui.feed > .event > .content .extra.text {
201
+ padding: 0em;
202
+ border-left: none;
203
+ font-size: 1em;
204
+ max-width: 500px;
205
+ line-height: 1.4285em;
206
+ }
207
+
208
+ /*--------------
209
+ Meta
210
+ ---------------*/
211
+
212
+ .ui.feed > .event > .content .meta {
213
+ display: inline-block;
214
+ font-size: 0.85714286em;
215
+ margin: 0.5em 0em 0em;
216
+ background: none;
217
+ border: none;
218
+ border-radius: 0;
219
+ box-shadow: none;
220
+ padding: 0em;
221
+ color: rgba(0, 0, 0, 0.6);
222
+ }
223
+ .ui.feed > .event > .content .meta > * {
224
+ position: relative;
225
+ margin-left: 0.75em;
226
+ }
227
+ .ui.feed > .event > .content .meta > *:after {
228
+ content: '';
229
+ color: rgba(0, 0, 0, 0.2);
230
+ top: 0em;
231
+ left: -1em;
232
+ opacity: 1;
233
+ position: absolute;
234
+ vertical-align: top;
235
+ }
236
+ .ui.feed > .event > .content .meta .like {
237
+ color: '';
238
+ -webkit-transition: 0.2s color ease;
239
+ transition: 0.2s color ease;
240
+ }
241
+ .ui.feed > .event > .content .meta .like:hover .icon {
242
+ color: #FF2733;
243
+ }
244
+ .ui.feed > .event > .content .meta .active.like .icon {
245
+ color: #EF404A;
246
+ }
247
+
248
+ /* First element */
249
+ .ui.feed > .event > .content .meta > :first-child {
250
+ margin-left: 0em;
251
+ }
252
+ .ui.feed > .event > .content .meta > :first-child::after {
253
+ display: none;
254
+ }
255
+
256
+ /* Action */
257
+ .ui.feed > .event > .content .meta a,
258
+ .ui.feed > .event > .content .meta > .icon {
259
+ cursor: pointer;
260
+ opacity: 1;
261
+ color: rgba(0, 0, 0, 0.5);
262
+ -webkit-transition: color 0.1s ease;
263
+ transition: color 0.1s ease;
264
+ }
265
+ .ui.feed > .event > .content .meta a:hover,
266
+ .ui.feed > .event > .content .meta a:hover .icon,
267
+ .ui.feed > .event > .content .meta > .icon:hover {
268
+ color: rgba(0, 0, 0, 0.95);
269
+ }
270
+
271
+
272
+ /*******************************
273
+ Variations
274
+ *******************************/
275
+
276
+ .ui.small.feed {
277
+ font-size: 0.92857143rem;
278
+ }
279
+ .ui.feed {
280
+ font-size: 1rem;
281
+ }
282
+ .ui.large.feed {
283
+ font-size: 1.14285714rem;
284
+ }
285
+
286
+
287
+ /*******************************
288
+ Theme Overrides
289
+ *******************************/
290
+
291
+
292
+
293
+ /*******************************
294
+ User Variable Overrides
295
+ *******************************/
296
+
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * # Semantic UI 2.2.9 - Feed
3
+ * http://github.com/semantic-org/semantic-ui/
4
+ *
5
+ *
6
+ * Released under the MIT license
7
+ * http://opensource.org/licenses/MIT
8
+ *
9
+ */.ui.feed{margin:1em 0}.ui.feed:first-child{margin-top:0}.ui.feed:last-child{margin-bottom:0}.ui.feed>.event{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;width:100%;padding:.21428571rem 0;margin:0;background:0 0;border-top:none}.ui.feed>.event:first-child{border-top:0;padding-top:0}.ui.feed>.event:last-child{padding-bottom:0}.ui.feed>.event>.label{display:block;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:2.5em;height:auto;-ms-flex-item-align:stretch;-ms-grid-row-align:stretch;align-self:stretch;text-align:left}.ui.feed>.event>.label .icon{opacity:1;font-size:1.5em;width:100%;padding:.25em;background:0 0;border:none;border-radius:none;color:rgba(0,0,0,.6)}.ui.feed>.event>.label img{width:100%;height:auto;border-radius:500rem}.ui.feed>.event>.label+.content{margin:.5em 0 .35714286em 1.14285714em}.ui.feed>.event>.content{display:block;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;-ms-grid-row-align:stretch;align-self:stretch;text-align:left;word-wrap:break-word}.ui.feed>.event:last-child>.content{padding-bottom:0}.ui.feed>.event>.content a{cursor:pointer}.ui.feed>.event>.content .date{margin:-.5rem 0 0;padding:0;font-weight:400;font-size:1em;font-style:normal;color:rgba(0,0,0,.4)}.ui.feed>.event>.content .summary{margin:0;font-size:1em;font-weight:700;color:rgba(0,0,0,.87)}.ui.feed>.event>.content .summary img{display:inline-block;width:auto;height:10em;margin:-.25em .25em 0 0;border-radius:.25em;vertical-align:middle}.ui.feed>.event>.content .user{display:inline-block;font-weight:700;margin-right:0;vertical-align:baseline}.ui.feed>.event>.content .user img{margin:-.25em .25em 0 0;width:auto;height:10em;vertical-align:middle}.ui.feed>.event>.content .summary>.date{display:inline-block;float:none;font-weight:400;font-size:.85714286em;font-style:normal;margin:0 0 0 .5em;padding:0;color:rgba(0,0,0,.4)}.ui.feed>.event>.content .extra{margin:.5em 0 0;background:0 0;padding:0;color:rgba(0,0,0,.87)}.ui.feed>.event>.content .extra.images img{display:inline-block;margin:0 .25em 0 0;width:6em}.ui.feed>.event>.content .extra.text{padding:0;border-left:none;font-size:1em;max-width:500px;line-height:1.4285em}.ui.feed>.event>.content .meta{display:inline-block;font-size:.85714286em;margin:.5em 0 0;background:0 0;border:none;border-radius:0;box-shadow:none;padding:0;color:rgba(0,0,0,.6)}.ui.feed>.event>.content .meta>*{position:relative;margin-left:.75em}.ui.feed>.event>.content .meta>:after{content:'';color:rgba(0,0,0,.2);top:0;left:-1em;opacity:1;position:absolute;vertical-align:top}.ui.feed>.event>.content .meta .like{color:'';-webkit-transition:.2s color ease;transition:.2s color ease}.ui.feed>.event>.content .meta .like:hover .icon{color:#ff2733}.ui.feed>.event>.content .meta .active.like .icon{color:#ef404a}.ui.feed>.event>.content .meta>:first-child{margin-left:0}.ui.feed>.event>.content .meta>:first-child::after{display:none}.ui.feed>.event>.content .meta a,.ui.feed>.event>.content .meta>.icon{cursor:pointer;opacity:1;color:rgba(0,0,0,.5);-webkit-transition:color .1s ease;transition:color .1s ease}.ui.feed>.event>.content .meta a:hover,.ui.feed>.event>.content .meta a:hover .icon,.ui.feed>.event>.content .meta>.icon:hover{color:rgba(0,0,0,.95)}.ui.small.feed{font-size:.92857143rem}.ui.feed{font-size:1rem}.ui.large.feed{font-size:1.14285714rem}
@@ -0,0 +1,1031 @@
1
+ /*!
2
+ * # Semantic UI 2.2.9 - Flag
3
+ * http://github.com/semantic-org/semantic-ui/
4
+ *
5
+ *
6
+ * Released under the MIT license
7
+ * http://opensource.org/licenses/MIT
8
+ *
9
+ */
10
+
11
+
12
+ /*******************************
13
+ Flag
14
+ *******************************/
15
+
16
+ i.flag:not(.icon) {
17
+ display: inline-block;
18
+ width: 16px;
19
+ height: 11px;
20
+ line-height: 11px;
21
+ vertical-align: baseline;
22
+ margin: 0em 0.5em 0em 0em;
23
+ text-decoration: inherit;
24
+ speak: none;
25
+ font-smoothing: antialiased;
26
+ -webkit-backface-visibility: hidden;
27
+ backface-visibility: hidden;
28
+ }
29
+
30
+ /* Sprite */
31
+ i.flag:not(.icon):before {
32
+ display: inline-block;
33
+ content: '';
34
+ background: url("./../themes/default/assets/images/flags.png") no-repeat -108px -1976px;
35
+ width: 16px;
36
+ height: 11px;
37
+ }
38
+
39
+ /* Flag Sprite Based On http://www.famfamfam.com/lab/icons/flags/ */
40
+
41
+
42
+ /*******************************
43
+ Theme Overrides
44
+ *******************************/
45
+
46
+ i.flag.ad:before,
47
+ i.flag.andorra:before {
48
+ background-position: 0px 0px;
49
+ }
50
+ i.flag.ae:before,
51
+ i.flag.united.arab.emirates:before,
52
+ i.flag.uae:before {
53
+ background-position: 0px -26px;
54
+ }
55
+ i.flag.af:before,
56
+ i.flag.afghanistan:before {
57
+ background-position: 0px -52px;
58
+ }
59
+ i.flag.ag:before,
60
+ i.flag.antigua:before {
61
+ background-position: 0px -78px;
62
+ }
63
+ i.flag.ai:before,
64
+ i.flag.anguilla:before {
65
+ background-position: 0px -104px;
66
+ }
67
+ i.flag.al:before,
68
+ i.flag.albania:before {
69
+ background-position: 0px -130px;
70
+ }
71
+ i.flag.am:before,
72
+ i.flag.armenia:before {
73
+ background-position: 0px -156px;
74
+ }
75
+ i.flag.an:before,
76
+ i.flag.netherlands.antilles:before {
77
+ background-position: 0px -182px;
78
+ }
79
+ i.flag.ao:before,
80
+ i.flag.angola:before {
81
+ background-position: 0px -208px;
82
+ }
83
+ i.flag.ar:before,
84
+ i.flag.argentina:before {
85
+ background-position: 0px -234px;
86
+ }
87
+ i.flag.as:before,
88
+ i.flag.american.samoa:before {
89
+ background-position: 0px -260px;
90
+ }
91
+ i.flag.at:before,
92
+ i.flag.austria:before {
93
+ background-position: 0px -286px;
94
+ }
95
+ i.flag.au:before,
96
+ i.flag.australia:before {
97
+ background-position: 0px -312px;
98
+ }
99
+ i.flag.aw:before,
100
+ i.flag.aruba:before {
101
+ background-position: 0px -338px;
102
+ }
103
+ i.flag.ax:before,
104
+ i.flag.aland.islands:before {
105
+ background-position: 0px -364px;
106
+ }
107
+ i.flag.az:before,
108
+ i.flag.azerbaijan:before {
109
+ background-position: 0px -390px;
110
+ }
111
+ i.flag.ba:before,
112
+ i.flag.bosnia:before {
113
+ background-position: 0px -416px;
114
+ }
115
+ i.flag.bb:before,
116
+ i.flag.barbados:before {
117
+ background-position: 0px -442px;
118
+ }
119
+ i.flag.bd:before,
120
+ i.flag.bangladesh:before {
121
+ background-position: 0px -468px;
122
+ }
123
+ i.flag.be:before,
124
+ i.flag.belgium:before {
125
+ background-position: 0px -494px;
126
+ }
127
+ i.flag.bf:before,
128
+ i.flag.burkina.faso:before {
129
+ background-position: 0px -520px;
130
+ }
131
+ i.flag.bg:before,
132
+ i.flag.bulgaria:before {
133
+ background-position: 0px -546px;
134
+ }
135
+ i.flag.bh:before,
136
+ i.flag.bahrain:before {
137
+ background-position: 0px -572px;
138
+ }
139
+ i.flag.bi:before,
140
+ i.flag.burundi:before {
141
+ background-position: 0px -598px;
142
+ }
143
+ i.flag.bj:before,
144
+ i.flag.benin:before {
145
+ background-position: 0px -624px;
146
+ }
147
+ i.flag.bm:before,
148
+ i.flag.bermuda:before {
149
+ background-position: 0px -650px;
150
+ }
151
+ i.flag.bn:before,
152
+ i.flag.brunei:before {
153
+ background-position: 0px -676px;
154
+ }
155
+ i.flag.bo:before,
156
+ i.flag.bolivia:before {
157
+ background-position: 0px -702px;
158
+ }
159
+ i.flag.br:before,
160
+ i.flag.brazil:before {
161
+ background-position: 0px -728px;
162
+ }
163
+ i.flag.bs:before,
164
+ i.flag.bahamas:before {
165
+ background-position: 0px -754px;
166
+ }
167
+ i.flag.bt:before,
168
+ i.flag.bhutan:before {
169
+ background-position: 0px -780px;
170
+ }
171
+ i.flag.bv:before,
172
+ i.flag.bouvet.island:before {
173
+ background-position: 0px -806px;
174
+ }
175
+ i.flag.bw:before,
176
+ i.flag.botswana:before {
177
+ background-position: 0px -832px;
178
+ }
179
+ i.flag.by:before,
180
+ i.flag.belarus:before {
181
+ background-position: 0px -858px;
182
+ }
183
+ i.flag.bz:before,
184
+ i.flag.belize:before {
185
+ background-position: 0px -884px;
186
+ }
187
+ i.flag.ca:before,
188
+ i.flag.canada:before {
189
+ background-position: 0px -910px;
190
+ }
191
+ i.flag.cc:before,
192
+ i.flag.cocos.islands:before {
193
+ background-position: 0px -962px;
194
+ }
195
+ i.flag.cd:before,
196
+ i.flag.congo:before {
197
+ background-position: 0px -988px;
198
+ }
199
+ i.flag.cf:before,
200
+ i.flag.central.african.republic:before {
201
+ background-position: 0px -1014px;
202
+ }
203
+ i.flag.cg:before,
204
+ i.flag.congo.brazzaville:before {
205
+ background-position: 0px -1040px;
206
+ }
207
+ i.flag.ch:before,
208
+ i.flag.switzerland:before {
209
+ background-position: 0px -1066px;
210
+ }
211
+ i.flag.ci:before,
212
+ i.flag.cote.divoire:before {
213
+ background-position: 0px -1092px;
214
+ }
215
+ i.flag.ck:before,
216
+ i.flag.cook.islands:before {
217
+ background-position: 0px -1118px;
218
+ }
219
+ i.flag.cl:before,
220
+ i.flag.chile:before {
221
+ background-position: 0px -1144px;
222
+ }
223
+ i.flag.cm:before,
224
+ i.flag.cameroon:before {
225
+ background-position: 0px -1170px;
226
+ }
227
+ i.flag.cn:before,
228
+ i.flag.china:before {
229
+ background-position: 0px -1196px;
230
+ }
231
+ i.flag.co:before,
232
+ i.flag.colombia:before {
233
+ background-position: 0px -1222px;
234
+ }
235
+ i.flag.cr:before,
236
+ i.flag.costa.rica:before {
237
+ background-position: 0px -1248px;
238
+ }
239
+ i.flag.cs:before,
240
+ i.flag.serbia:before {
241
+ background-position: 0px -1274px;
242
+ }
243
+ i.flag.cu:before,
244
+ i.flag.cuba:before {
245
+ background-position: 0px -1300px;
246
+ }
247
+ i.flag.cv:before,
248
+ i.flag.cape.verde:before {
249
+ background-position: 0px -1326px;
250
+ }
251
+ i.flag.cx:before,
252
+ i.flag.christmas.island:before {
253
+ background-position: 0px -1352px;
254
+ }
255
+ i.flag.cy:before,
256
+ i.flag.cyprus:before {
257
+ background-position: 0px -1378px;
258
+ }
259
+ i.flag.cz:before,
260
+ i.flag.czech.republic:before {
261
+ background-position: 0px -1404px;
262
+ }
263
+ i.flag.de:before,
264
+ i.flag.germany:before {
265
+ background-position: 0px -1430px;
266
+ }
267
+ i.flag.dj:before,
268
+ i.flag.djibouti:before {
269
+ background-position: 0px -1456px;
270
+ }
271
+ i.flag.dk:before,
272
+ i.flag.denmark:before {
273
+ background-position: 0px -1482px;
274
+ }
275
+ i.flag.dm:before,
276
+ i.flag.dominica:before {
277
+ background-position: 0px -1508px;
278
+ }
279
+ i.flag.do:before,
280
+ i.flag.dominican.republic:before {
281
+ background-position: 0px -1534px;
282
+ }
283
+ i.flag.dz:before,
284
+ i.flag.algeria:before {
285
+ background-position: 0px -1560px;
286
+ }
287
+ i.flag.ec:before,
288
+ i.flag.ecuador:before {
289
+ background-position: 0px -1586px;
290
+ }
291
+ i.flag.ee:before,
292
+ i.flag.estonia:before {
293
+ background-position: 0px -1612px;
294
+ }
295
+ i.flag.eg:before,
296
+ i.flag.egypt:before {
297
+ background-position: 0px -1638px;
298
+ }
299
+ i.flag.eh:before,
300
+ i.flag.western.sahara:before {
301
+ background-position: 0px -1664px;
302
+ }
303
+ i.flag.er:before,
304
+ i.flag.eritrea:before {
305
+ background-position: 0px -1716px;
306
+ }
307
+ i.flag.es:before,
308
+ i.flag.spain:before {
309
+ background-position: 0px -1742px;
310
+ }
311
+ i.flag.et:before,
312
+ i.flag.ethiopia:before {
313
+ background-position: 0px -1768px;
314
+ }
315
+ i.flag.eu:before,
316
+ i.flag.european.union:before {
317
+ background-position: 0px -1794px;
318
+ }
319
+ i.flag.fi:before,
320
+ i.flag.finland:before {
321
+ background-position: 0px -1846px;
322
+ }
323
+ i.flag.fj:before,
324
+ i.flag.fiji:before {
325
+ background-position: 0px -1872px;
326
+ }
327
+ i.flag.fk:before,
328
+ i.flag.falkland.islands:before {
329
+ background-position: 0px -1898px;
330
+ }
331
+ i.flag.fm:before,
332
+ i.flag.micronesia:before {
333
+ background-position: 0px -1924px;
334
+ }
335
+ i.flag.fo:before,
336
+ i.flag.faroe.islands:before {
337
+ background-position: 0px -1950px;
338
+ }
339
+ i.flag.fr:before,
340
+ i.flag.france:before {
341
+ background-position: 0px -1976px;
342
+ }
343
+ i.flag.ga:before,
344
+ i.flag.gabon:before {
345
+ background-position: -36px 0px;
346
+ }
347
+ i.flag.gb:before,
348
+ i.flag.united.kingdom:before {
349
+ background-position: -36px -26px;
350
+ }
351
+ i.flag.gd:before,
352
+ i.flag.grenada:before {
353
+ background-position: -36px -52px;
354
+ }
355
+ i.flag.ge:before,
356
+ i.flag.georgia:before {
357
+ background-position: -36px -78px;
358
+ }
359
+ i.flag.gf:before,
360
+ i.flag.french.guiana:before {
361
+ background-position: -36px -104px;
362
+ }
363
+ i.flag.gh:before,
364
+ i.flag.ghana:before {
365
+ background-position: -36px -130px;
366
+ }
367
+ i.flag.gi:before,
368
+ i.flag.gibraltar:before {
369
+ background-position: -36px -156px;
370
+ }
371
+ i.flag.gl:before,
372
+ i.flag.greenland:before {
373
+ background-position: -36px -182px;
374
+ }
375
+ i.flag.gm:before,
376
+ i.flag.gambia:before {
377
+ background-position: -36px -208px;
378
+ }
379
+ i.flag.gn:before,
380
+ i.flag.guinea:before {
381
+ background-position: -36px -234px;
382
+ }
383
+ i.flag.gp:before,
384
+ i.flag.guadeloupe:before {
385
+ background-position: -36px -260px;
386
+ }
387
+ i.flag.gq:before,
388
+ i.flag.equatorial.guinea:before {
389
+ background-position: -36px -286px;
390
+ }
391
+ i.flag.gr:before,
392
+ i.flag.greece:before {
393
+ background-position: -36px -312px;
394
+ }
395
+ i.flag.gs:before,
396
+ i.flag.sandwich.islands:before {
397
+ background-position: -36px -338px;
398
+ }
399
+ i.flag.gt:before,
400
+ i.flag.guatemala:before {
401
+ background-position: -36px -364px;
402
+ }
403
+ i.flag.gu:before,
404
+ i.flag.guam:before {
405
+ background-position: -36px -390px;
406
+ }
407
+ i.flag.gw:before,
408
+ i.flag.guinea-bissau:before {
409
+ background-position: -36px -416px;
410
+ }
411
+ i.flag.gy:before,
412
+ i.flag.guyana:before {
413
+ background-position: -36px -442px;
414
+ }
415
+ i.flag.hk:before,
416
+ i.flag.hong.kong:before {
417
+ background-position: -36px -468px;
418
+ }
419
+ i.flag.hm:before,
420
+ i.flag.heard.island:before {
421
+ background-position: -36px -494px;
422
+ }
423
+ i.flag.hn:before,
424
+ i.flag.honduras:before {
425
+ background-position: -36px -520px;
426
+ }
427
+ i.flag.hr:before,
428
+ i.flag.croatia:before {
429
+ background-position: -36px -546px;
430
+ }
431
+ i.flag.ht:before,
432
+ i.flag.haiti:before {
433
+ background-position: -36px -572px;
434
+ }
435
+ i.flag.hu:before,
436
+ i.flag.hungary:before {
437
+ background-position: -36px -598px;
438
+ }
439
+ i.flag.id:before,
440
+ i.flag.indonesia:before {
441
+ background-position: -36px -624px;
442
+ }
443
+ i.flag.ie:before,
444
+ i.flag.ireland:before {
445
+ background-position: -36px -650px;
446
+ }
447
+ i.flag.il:before,
448
+ i.flag.israel:before {
449
+ background-position: -36px -676px;
450
+ }
451
+ i.flag.in:before,
452
+ i.flag.india:before {
453
+ background-position: -36px -702px;
454
+ }
455
+ i.flag.io:before,
456
+ i.flag.indian.ocean.territory:before {
457
+ background-position: -36px -728px;
458
+ }
459
+ i.flag.iq:before,
460
+ i.flag.iraq:before {
461
+ background-position: -36px -754px;
462
+ }
463
+ i.flag.ir:before,
464
+ i.flag.iran:before {
465
+ background-position: -36px -780px;
466
+ }
467
+ i.flag.is:before,
468
+ i.flag.iceland:before {
469
+ background-position: -36px -806px;
470
+ }
471
+ i.flag.it:before,
472
+ i.flag.italy:before {
473
+ background-position: -36px -832px;
474
+ }
475
+ i.flag.jm:before,
476
+ i.flag.jamaica:before {
477
+ background-position: -36px -858px;
478
+ }
479
+ i.flag.jo:before,
480
+ i.flag.jordan:before {
481
+ background-position: -36px -884px;
482
+ }
483
+ i.flag.jp:before,
484
+ i.flag.japan:before {
485
+ background-position: -36px -910px;
486
+ }
487
+ i.flag.ke:before,
488
+ i.flag.kenya:before {
489
+ background-position: -36px -936px;
490
+ }
491
+ i.flag.kg:before,
492
+ i.flag.kyrgyzstan:before {
493
+ background-position: -36px -962px;
494
+ }
495
+ i.flag.kh:before,
496
+ i.flag.cambodia:before {
497
+ background-position: -36px -988px;
498
+ }
499
+ i.flag.ki:before,
500
+ i.flag.kiribati:before {
501
+ background-position: -36px -1014px;
502
+ }
503
+ i.flag.km:before,
504
+ i.flag.comoros:before {
505
+ background-position: -36px -1040px;
506
+ }
507
+ i.flag.kn:before,
508
+ i.flag.saint.kitts.and.nevis:before {
509
+ background-position: -36px -1066px;
510
+ }
511
+ i.flag.kp:before,
512
+ i.flag.north.korea:before {
513
+ background-position: -36px -1092px;
514
+ }
515
+ i.flag.kr:before,
516
+ i.flag.south.korea:before {
517
+ background-position: -36px -1118px;
518
+ }
519
+ i.flag.kw:before,
520
+ i.flag.kuwait:before {
521
+ background-position: -36px -1144px;
522
+ }
523
+ i.flag.ky:before,
524
+ i.flag.cayman.islands:before {
525
+ background-position: -36px -1170px;
526
+ }
527
+ i.flag.kz:before,
528
+ i.flag.kazakhstan:before {
529
+ background-position: -36px -1196px;
530
+ }
531
+ i.flag.la:before,
532
+ i.flag.laos:before {
533
+ background-position: -36px -1222px;
534
+ }
535
+ i.flag.lb:before,
536
+ i.flag.lebanon:before {
537
+ background-position: -36px -1248px;
538
+ }
539
+ i.flag.lc:before,
540
+ i.flag.saint.lucia:before {
541
+ background-position: -36px -1274px;
542
+ }
543
+ i.flag.li:before,
544
+ i.flag.liechtenstein:before {
545
+ background-position: -36px -1300px;
546
+ }
547
+ i.flag.lk:before,
548
+ i.flag.sri.lanka:before {
549
+ background-position: -36px -1326px;
550
+ }
551
+ i.flag.lr:before,
552
+ i.flag.liberia:before {
553
+ background-position: -36px -1352px;
554
+ }
555
+ i.flag.ls:before,
556
+ i.flag.lesotho:before {
557
+ background-position: -36px -1378px;
558
+ }
559
+ i.flag.lt:before,
560
+ i.flag.lithuania:before {
561
+ background-position: -36px -1404px;
562
+ }
563
+ i.flag.lu:before,
564
+ i.flag.luxembourg:before {
565
+ background-position: -36px -1430px;
566
+ }
567
+ i.flag.lv:before,
568
+ i.flag.latvia:before {
569
+ background-position: -36px -1456px;
570
+ }
571
+ i.flag.ly:before,
572
+ i.flag.libya:before {
573
+ background-position: -36px -1482px;
574
+ }
575
+ i.flag.ma:before,
576
+ i.flag.morocco:before {
577
+ background-position: -36px -1508px;
578
+ }
579
+ i.flag.mc:before,
580
+ i.flag.monaco:before {
581
+ background-position: -36px -1534px;
582
+ }
583
+ i.flag.md:before,
584
+ i.flag.moldova:before {
585
+ background-position: -36px -1560px;
586
+ }
587
+ i.flag.me:before,
588
+ i.flag.montenegro:before {
589
+ background-position: -36px -1586px;
590
+ }
591
+ i.flag.mg:before,
592
+ i.flag.madagascar:before {
593
+ background-position: -36px -1613px;
594
+ }
595
+ i.flag.mh:before,
596
+ i.flag.marshall.islands:before {
597
+ background-position: -36px -1639px;
598
+ }
599
+ i.flag.mk:before,
600
+ i.flag.macedonia:before {
601
+ background-position: -36px -1665px;
602
+ }
603
+ i.flag.ml:before,
604
+ i.flag.mali:before {
605
+ background-position: -36px -1691px;
606
+ }
607
+ i.flag.mm:before,
608
+ i.flag.myanmar:before,
609
+ i.flag.burma:before {
610
+ background-position: -73px -1821px;
611
+ }
612
+ i.flag.mn:before,
613
+ i.flag.mongolia:before {
614
+ background-position: -36px -1743px;
615
+ }
616
+ i.flag.mo:before,
617
+ i.flag.macau:before {
618
+ background-position: -36px -1769px;
619
+ }
620
+ i.flag.mp:before,
621
+ i.flag.northern.mariana.islands:before {
622
+ background-position: -36px -1795px;
623
+ }
624
+ i.flag.mq:before,
625
+ i.flag.martinique:before {
626
+ background-position: -36px -1821px;
627
+ }
628
+ i.flag.mr:before,
629
+ i.flag.mauritania:before {
630
+ background-position: -36px -1847px;
631
+ }
632
+ i.flag.ms:before,
633
+ i.flag.montserrat:before {
634
+ background-position: -36px -1873px;
635
+ }
636
+ i.flag.mt:before,
637
+ i.flag.malta:before {
638
+ background-position: -36px -1899px;
639
+ }
640
+ i.flag.mu:before,
641
+ i.flag.mauritius:before {
642
+ background-position: -36px -1925px;
643
+ }
644
+ i.flag.mv:before,
645
+ i.flag.maldives:before {
646
+ background-position: -36px -1951px;
647
+ }
648
+ i.flag.mw:before,
649
+ i.flag.malawi:before {
650
+ background-position: -36px -1977px;
651
+ }
652
+ i.flag.mx:before,
653
+ i.flag.mexico:before {
654
+ background-position: -72px 0px;
655
+ }
656
+ i.flag.my:before,
657
+ i.flag.malaysia:before {
658
+ background-position: -72px -26px;
659
+ }
660
+ i.flag.mz:before,
661
+ i.flag.mozambique:before {
662
+ background-position: -72px -52px;
663
+ }
664
+ i.flag.na:before,
665
+ i.flag.namibia:before {
666
+ background-position: -72px -78px;
667
+ }
668
+ i.flag.nc:before,
669
+ i.flag.new.caledonia:before {
670
+ background-position: -72px -104px;
671
+ }
672
+ i.flag.ne:before,
673
+ i.flag.niger:before {
674
+ background-position: -72px -130px;
675
+ }
676
+ i.flag.nf:before,
677
+ i.flag.norfolk.island:before {
678
+ background-position: -72px -156px;
679
+ }
680
+ i.flag.ng:before,
681
+ i.flag.nigeria:before {
682
+ background-position: -72px -182px;
683
+ }
684
+ i.flag.ni:before,
685
+ i.flag.nicaragua:before {
686
+ background-position: -72px -208px;
687
+ }
688
+ i.flag.nl:before,
689
+ i.flag.netherlands:before {
690
+ background-position: -72px -234px;
691
+ }
692
+ i.flag.no:before,
693
+ i.flag.norway:before {
694
+ background-position: -72px -260px;
695
+ }
696
+ i.flag.np:before,
697
+ i.flag.nepal:before {
698
+ background-position: -72px -286px;
699
+ }
700
+ i.flag.nr:before,
701
+ i.flag.nauru:before {
702
+ background-position: -72px -312px;
703
+ }
704
+ i.flag.nu:before,
705
+ i.flag.niue:before {
706
+ background-position: -72px -338px;
707
+ }
708
+ i.flag.nz:before,
709
+ i.flag.new.zealand:before {
710
+ background-position: -72px -364px;
711
+ }
712
+ i.flag.om:before,
713
+ i.flag.oman:before {
714
+ background-position: -72px -390px;
715
+ }
716
+ i.flag.pa:before,
717
+ i.flag.panama:before {
718
+ background-position: -72px -416px;
719
+ }
720
+ i.flag.pe:before,
721
+ i.flag.peru:before {
722
+ background-position: -72px -442px;
723
+ }
724
+ i.flag.pf:before,
725
+ i.flag.french.polynesia:before {
726
+ background-position: -72px -468px;
727
+ }
728
+ i.flag.pg:before,
729
+ i.flag.new.guinea:before {
730
+ background-position: -72px -494px;
731
+ }
732
+ i.flag.ph:before,
733
+ i.flag.philippines:before {
734
+ background-position: -72px -520px;
735
+ }
736
+ i.flag.pk:before,
737
+ i.flag.pakistan:before {
738
+ background-position: -72px -546px;
739
+ }
740
+ i.flag.pl:before,
741
+ i.flag.poland:before {
742
+ background-position: -72px -572px;
743
+ }
744
+ i.flag.pm:before,
745
+ i.flag.saint.pierre:before {
746
+ background-position: -72px -598px;
747
+ }
748
+ i.flag.pn:before,
749
+ i.flag.pitcairn.islands:before {
750
+ background-position: -72px -624px;
751
+ }
752
+ i.flag.pr:before,
753
+ i.flag.puerto.rico:before {
754
+ background-position: -72px -650px;
755
+ }
756
+ i.flag.ps:before,
757
+ i.flag.palestine:before {
758
+ background-position: -72px -676px;
759
+ }
760
+ i.flag.pt:before,
761
+ i.flag.portugal:before {
762
+ background-position: -72px -702px;
763
+ }
764
+ i.flag.pw:before,
765
+ i.flag.palau:before {
766
+ background-position: -72px -728px;
767
+ }
768
+ i.flag.py:before,
769
+ i.flag.paraguay:before {
770
+ background-position: -72px -754px;
771
+ }
772
+ i.flag.qa:before,
773
+ i.flag.qatar:before {
774
+ background-position: -72px -780px;
775
+ }
776
+ i.flag.re:before,
777
+ i.flag.reunion:before {
778
+ background-position: -72px -806px;
779
+ }
780
+ i.flag.ro:before,
781
+ i.flag.romania:before {
782
+ background-position: -72px -832px;
783
+ }
784
+ i.flag.rs:before,
785
+ i.flag.serbia:before {
786
+ background-position: -72px -858px;
787
+ }
788
+ i.flag.ru:before,
789
+ i.flag.russia:before {
790
+ background-position: -72px -884px;
791
+ }
792
+ i.flag.rw:before,
793
+ i.flag.rwanda:before {
794
+ background-position: -72px -910px;
795
+ }
796
+ i.flag.sa:before,
797
+ i.flag.saudi.arabia:before {
798
+ background-position: -72px -936px;
799
+ }
800
+ i.flag.sb:before,
801
+ i.flag.solomon.islands:before {
802
+ background-position: -72px -962px;
803
+ }
804
+ i.flag.sc:before,
805
+ i.flag.seychelles:before {
806
+ background-position: -72px -988px;
807
+ }
808
+ i.flag.gb.sct:before,
809
+ i.flag.scotland:before {
810
+ background-position: -72px -1014px;
811
+ }
812
+ i.flag.sd:before,
813
+ i.flag.sudan:before {
814
+ background-position: -72px -1040px;
815
+ }
816
+ i.flag.se:before,
817
+ i.flag.sweden:before {
818
+ background-position: -72px -1066px;
819
+ }
820
+ i.flag.sg:before,
821
+ i.flag.singapore:before {
822
+ background-position: -72px -1092px;
823
+ }
824
+ i.flag.sh:before,
825
+ i.flag.saint.helena:before {
826
+ background-position: -72px -1118px;
827
+ }
828
+ i.flag.si:before,
829
+ i.flag.slovenia:before {
830
+ background-position: -72px -1144px;
831
+ }
832
+ i.flag.sj:before,
833
+ i.flag.svalbard:before,
834
+ i.flag.jan.mayen:before {
835
+ background-position: -72px -1170px;
836
+ }
837
+ i.flag.sk:before,
838
+ i.flag.slovakia:before {
839
+ background-position: -72px -1196px;
840
+ }
841
+ i.flag.sl:before,
842
+ i.flag.sierra.leone:before {
843
+ background-position: -72px -1222px;
844
+ }
845
+ i.flag.sm:before,
846
+ i.flag.san.marino:before {
847
+ background-position: -72px -1248px;
848
+ }
849
+ i.flag.sn:before,
850
+ i.flag.senegal:before {
851
+ background-position: -72px -1274px;
852
+ }
853
+ i.flag.so:before,
854
+ i.flag.somalia:before {
855
+ background-position: -72px -1300px;
856
+ }
857
+ i.flag.sr:before,
858
+ i.flag.suriname:before {
859
+ background-position: -72px -1326px;
860
+ }
861
+ i.flag.st:before,
862
+ i.flag.sao.tome:before {
863
+ background-position: -72px -1352px;
864
+ }
865
+ i.flag.sv:before,
866
+ i.flag.el.salvador:before {
867
+ background-position: -72px -1378px;
868
+ }
869
+ i.flag.sy:before,
870
+ i.flag.syria:before {
871
+ background-position: -72px -1404px;
872
+ }
873
+ i.flag.sz:before,
874
+ i.flag.swaziland:before {
875
+ background-position: -72px -1430px;
876
+ }
877
+ i.flag.tc:before,
878
+ i.flag.caicos.islands:before {
879
+ background-position: -72px -1456px;
880
+ }
881
+ i.flag.td:before,
882
+ i.flag.chad:before {
883
+ background-position: -72px -1482px;
884
+ }
885
+ i.flag.tf:before,
886
+ i.flag.french.territories:before {
887
+ background-position: -72px -1508px;
888
+ }
889
+ i.flag.tg:before,
890
+ i.flag.togo:before {
891
+ background-position: -72px -1534px;
892
+ }
893
+ i.flag.th:before,
894
+ i.flag.thailand:before {
895
+ background-position: -72px -1560px;
896
+ }
897
+ i.flag.tj:before,
898
+ i.flag.tajikistan:before {
899
+ background-position: -72px -1586px;
900
+ }
901
+ i.flag.tk:before,
902
+ i.flag.tokelau:before {
903
+ background-position: -72px -1612px;
904
+ }
905
+ i.flag.tl:before,
906
+ i.flag.timorleste:before {
907
+ background-position: -72px -1638px;
908
+ }
909
+ i.flag.tm:before,
910
+ i.flag.turkmenistan:before {
911
+ background-position: -72px -1664px;
912
+ }
913
+ i.flag.tn:before,
914
+ i.flag.tunisia:before {
915
+ background-position: -72px -1690px;
916
+ }
917
+ i.flag.to:before,
918
+ i.flag.tonga:before {
919
+ background-position: -72px -1716px;
920
+ }
921
+ i.flag.tr:before,
922
+ i.flag.turkey:before {
923
+ background-position: -72px -1742px;
924
+ }
925
+ i.flag.tt:before,
926
+ i.flag.trinidad:before {
927
+ background-position: -72px -1768px;
928
+ }
929
+ i.flag.tv:before,
930
+ i.flag.tuvalu:before {
931
+ background-position: -72px -1794px;
932
+ }
933
+ i.flag.tw:before,
934
+ i.flag.taiwan:before {
935
+ background-position: -72px -1820px;
936
+ }
937
+ i.flag.tz:before,
938
+ i.flag.tanzania:before {
939
+ background-position: -72px -1846px;
940
+ }
941
+ i.flag.ua:before,
942
+ i.flag.ukraine:before {
943
+ background-position: -72px -1872px;
944
+ }
945
+ i.flag.ug:before,
946
+ i.flag.uganda:before {
947
+ background-position: -72px -1898px;
948
+ }
949
+ i.flag.um:before,
950
+ i.flag.us.minor.islands:before {
951
+ background-position: -72px -1924px;
952
+ }
953
+ i.flag.us:before,
954
+ i.flag.america:before,
955
+ i.flag.united.states:before {
956
+ background-position: -72px -1950px;
957
+ }
958
+ i.flag.uy:before,
959
+ i.flag.uruguay:before {
960
+ background-position: -72px -1976px;
961
+ }
962
+ i.flag.uz:before,
963
+ i.flag.uzbekistan:before {
964
+ background-position: -108px 0px;
965
+ }
966
+ i.flag.va:before,
967
+ i.flag.vatican.city:before {
968
+ background-position: -108px -26px;
969
+ }
970
+ i.flag.vc:before,
971
+ i.flag.saint.vincent:before {
972
+ background-position: -108px -52px;
973
+ }
974
+ i.flag.ve:before,
975
+ i.flag.venezuela:before {
976
+ background-position: -108px -78px;
977
+ }
978
+ i.flag.vg:before,
979
+ i.flag.british.virgin.islands:before {
980
+ background-position: -108px -104px;
981
+ }
982
+ i.flag.vi:before,
983
+ i.flag.us.virgin.islands:before {
984
+ background-position: -108px -130px;
985
+ }
986
+ i.flag.vn:before,
987
+ i.flag.vietnam:before {
988
+ background-position: -108px -156px;
989
+ }
990
+ i.flag.vu:before,
991
+ i.flag.vanuatu:before {
992
+ background-position: -108px -182px;
993
+ }
994
+ i.flag.gb.wls:before,
995
+ i.flag.wales:before {
996
+ background-position: -108px -208px;
997
+ }
998
+ i.flag.wf:before,
999
+ i.flag.wallis.and.futuna:before {
1000
+ background-position: -108px -234px;
1001
+ }
1002
+ i.flag.ws:before,
1003
+ i.flag.samoa:before {
1004
+ background-position: -108px -260px;
1005
+ }
1006
+ i.flag.ye:before,
1007
+ i.flag.yemen:before {
1008
+ background-position: -108px -286px;
1009
+ }
1010
+ i.flag.yt:before,
1011
+ i.flag.mayotte:before {
1012
+ background-position: -108px -312px;
1013
+ }
1014
+ i.flag.za:before,
1015
+ i.flag.south.africa:before {
1016
+ background-position: -108px -338px;
1017
+ }
1018
+ i.flag.zm:before,
1019
+ i.flag.zambia:before {
1020
+ background-position: -108px -364px;
1021
+ }
1022
+ i.flag.zw:before,
1023
+ i.flag.zimbabwe:before {
1024
+ background-position: -108px -390px;
1025
+ }
1026
+
1027
+
1028
+ /*******************************
1029
+ Site Overrides
1030
+ *******************************/
1031
+