jekyll-theme-pirati 7.7.1 → 8.0.0.pre.alpha5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (585) hide show
  1. checksums.yaml +4 -4
  2. data/_data/campaigns.yml +9 -0
  3. data/_data/menu.yml +11 -14
  4. data/_includes/404.html +2 -18
  5. data/_includes/article-infobox.html +5 -1
  6. data/_includes/articles/author.html +4 -4
  7. data/_includes/articles/list-responsive.html +4 -8
  8. data/_includes/articles/pagination.html +21 -22
  9. data/_includes/articles/vertical-article.html +55 -36
  10. data/_includes/avatar.html +9 -0
  11. data/_includes/buttons/basic.html +3 -0
  12. data/_includes/buttons/icon.html +8 -0
  13. data/_includes/buttons/super.html +4 -0
  14. data/_includes/calendar.html +21 -0
  15. data/_includes/candidate-badge.html +48 -24
  16. data/_includes/contact-line.html +4 -0
  17. data/_includes/contacts/residence.html +23 -37
  18. data/_includes/contacts/summary-table.html +64 -58
  19. data/_includes/countdown.html +13 -0
  20. data/_includes/footer.html +88 -124
  21. data/_includes/head.html +3 -5
  22. data/_includes/header.html +138 -65
  23. data/_includes/headline-media.html +14 -20
  24. data/_includes/hero/advanced.html +65 -0
  25. data/_includes/hero/simple.html +13 -0
  26. data/_includes/homepage/banner.html +10 -15
  27. data/_includes/homepage/calendar.html +5 -0
  28. data/_includes/homepage/countdown.html +3 -0
  29. data/_includes/homepage/news.html +9 -0
  30. data/_includes/homepage/social.html +10 -0
  31. data/_includes/js/main.html +10 -18
  32. data/_includes/page-header.html +8 -15
  33. data/_includes/people/list-group.html +2 -8
  34. data/_includes/people/list-responsive.html +2 -5
  35. data/_includes/people/profile-badge.html +53 -45
  36. data/_includes/regions/crossroad.html +51 -57
  37. data/_includes/right-bar/bar_garant.html +2 -13
  38. data/_includes/right-bar/bar_people.html +14 -19
  39. data/_includes/right-bar/bar_profile.html +73 -0
  40. data/_includes/right-bar/bar_program.html +17 -22
  41. data/_includes/right-bar/rbar.html +50 -53
  42. data/_includes/right-bar/rbar_articles.html +13 -20
  43. data/_includes/right-bar/rbar_profiles.html +18 -7
  44. data/_includes/sharebox.html +21 -0
  45. data/_includes/social-icon-group.html +23 -0
  46. data/_layouts/blank-article.html +14 -14
  47. data/_layouts/blank.html +1 -5
  48. data/_layouts/communal-elections.html +167 -82
  49. data/_layouts/contacts.html +62 -85
  50. data/_layouts/default.html +1 -12
  51. data/_layouts/members.html +24 -24
  52. data/_layouts/person.html +35 -25
  53. data/_layouts/pirate-center.html +91 -0
  54. data/_layouts/post.html +56 -95
  55. data/_layouts/program-post.html +5 -1
  56. data/_layouts/regions.html +5 -6
  57. data/_layouts/taglist.html +11 -8
  58. data/assets/img/people/ppp.jpg +0 -0
  59. data/assets/img/people/ppp.png +0 -0
  60. data/assets/img/people/unknown-pirate.svg +48 -3
  61. metadata +22 -528
  62. data/_includes/homepage/news-with-rbar.html +0 -22
  63. data/_includes/js/webpack.html +0 -13
  64. data/_includes/menu.html +0 -43
  65. data/_includes/right-bar/bar_foto.html +0 -30
  66. data/_includes/right-bar/bar_person_contact.html +0 -50
  67. data/_includes/submenu.html +0 -28
  68. data/_sass/foundation-sites/LICENSE +0 -22
  69. data/_sass/foundation-sites/README.md +0 -44
  70. data/_sass/foundation-sites/assets/foundation-flex.scss +0 -3
  71. data/_sass/foundation-sites/assets/foundation-rtl.scss +0 -5
  72. data/_sass/foundation-sites/assets/foundation.scss +0 -3
  73. data/_sass/foundation-sites/code-of-conduct.md +0 -43
  74. data/_sass/foundation-sites/customizer/complete.json +0 -46
  75. data/_sass/foundation-sites/customizer/config.yml +0 -218
  76. data/_sass/foundation-sites/customizer/essential.json +0 -11
  77. data/_sass/foundation-sites/customizer/index.html +0 -169
  78. data/_sass/foundation-sites/dist/foundation-flex.css +0 -4028
  79. data/_sass/foundation-sites/dist/foundation-flex.min.css +0 -2
  80. data/_sass/foundation-sites/dist/foundation-rtl.css +0 -3583
  81. data/_sass/foundation-sites/dist/foundation-rtl.min.css +0 -2
  82. data/_sass/foundation-sites/dist/foundation.css +0 -3578
  83. data/_sass/foundation-sites/dist/foundation.js +0 -9069
  84. data/_sass/foundation-sites/dist/foundation.min.css +0 -2
  85. data/_sass/foundation-sites/dist/foundation.min.js +0 -4
  86. data/_sass/foundation-sites/dist/plugins/foundation.abide.js +0 -600
  87. data/_sass/foundation-sites/dist/plugins/foundation.accordion.js +0 -262
  88. data/_sass/foundation-sites/dist/plugins/foundation.accordionMenu.js +0 -307
  89. data/_sass/foundation-sites/dist/plugins/foundation.core.js +0 -386
  90. data/_sass/foundation-sites/dist/plugins/foundation.drilldown.js +0 -409
  91. data/_sass/foundation-sites/dist/plugins/foundation.dropdown.js +0 -447
  92. data/_sass/foundation-sites/dist/plugins/foundation.dropdownMenu.js +0 -447
  93. data/_sass/foundation-sites/dist/plugins/foundation.equalizer.js +0 -364
  94. data/_sass/foundation-sites/dist/plugins/foundation.interchange.js +0 -227
  95. data/_sass/foundation-sites/dist/plugins/foundation.magellan.js +0 -257
  96. data/_sass/foundation-sites/dist/plugins/foundation.offcanvas.js +0 -438
  97. data/_sass/foundation-sites/dist/plugins/foundation.orbit.js +0 -484
  98. data/_sass/foundation-sites/dist/plugins/foundation.responsiveMenu.js +0 -171
  99. data/_sass/foundation-sites/dist/plugins/foundation.responsiveToggle.js +0 -142
  100. data/_sass/foundation-sites/dist/plugins/foundation.reveal.js +0 -623
  101. data/_sass/foundation-sites/dist/plugins/foundation.slider.js +0 -648
  102. data/_sass/foundation-sites/dist/plugins/foundation.sticky.js +0 -495
  103. data/_sass/foundation-sites/dist/plugins/foundation.tabs.js +0 -348
  104. data/_sass/foundation-sites/dist/plugins/foundation.toggler.js +0 -166
  105. data/_sass/foundation-sites/dist/plugins/foundation.tooltip.js +0 -468
  106. data/_sass/foundation-sites/dist/plugins/foundation.util.box.js +0 -196
  107. data/_sass/foundation-sites/dist/plugins/foundation.util.keyboard.js +0 -123
  108. data/_sass/foundation-sites/dist/plugins/foundation.util.mediaQuery.js +0 -216
  109. data/_sass/foundation-sites/dist/plugins/foundation.util.motion.js +0 -97
  110. data/_sass/foundation-sites/dist/plugins/foundation.util.nest.js +0 -69
  111. data/_sass/foundation-sites/dist/plugins/foundation.util.timerAndImageLoader.js +0 -84
  112. data/_sass/foundation-sites/dist/plugins/foundation.util.touch.js +0 -352
  113. data/_sass/foundation-sites/dist/plugins/foundation.util.triggers.js +0 -243
  114. data/_sass/foundation-sites/docslink.sh +0 -3
  115. data/_sass/foundation-sites/js/foundation.abide.js +0 -543
  116. data/_sass/foundation-sites/js/foundation.accordion.js +0 -237
  117. data/_sass/foundation-sites/js/foundation.accordionMenu.js +0 -274
  118. data/_sass/foundation-sites/js/foundation.core.js +0 -378
  119. data/_sass/foundation-sites/js/foundation.drilldown.js +0 -369
  120. data/_sass/foundation-sites/js/foundation.dropdown.js +0 -409
  121. data/_sass/foundation-sites/js/foundation.dropdownMenu.js +0 -404
  122. data/_sass/foundation-sites/js/foundation.equalizer.js +0 -306
  123. data/_sass/foundation-sites/js/foundation.interchange.js +0 -198
  124. data/_sass/foundation-sites/js/foundation.magellan.js +0 -223
  125. data/_sass/foundation-sites/js/foundation.offcanvas.js +0 -398
  126. data/_sass/foundation-sites/js/foundation.orbit.js +0 -446
  127. data/_sass/foundation-sites/js/foundation.responsiveMenu.js +0 -148
  128. data/_sass/foundation-sites/js/foundation.responsiveToggle.js +0 -119
  129. data/_sass/foundation-sites/js/foundation.reveal.js +0 -576
  130. data/_sass/foundation-sites/js/foundation.slider.js +0 -597
  131. data/_sass/foundation-sites/js/foundation.sticky.js +0 -450
  132. data/_sass/foundation-sites/js/foundation.tabs.js +0 -333
  133. data/_sass/foundation-sites/js/foundation.toggler.js +0 -144
  134. data/_sass/foundation-sites/js/foundation.tooltip.js +0 -444
  135. data/_sass/foundation-sites/js/foundation.util.box.js +0 -195
  136. data/_sass/foundation-sites/js/foundation.util.keyboard.js +0 -115
  137. data/_sass/foundation-sites/js/foundation.util.mediaQuery.js +0 -214
  138. data/_sass/foundation-sites/js/foundation.util.motion.js +0 -99
  139. data/_sass/foundation-sites/js/foundation.util.nest.js +0 -76
  140. data/_sass/foundation-sites/js/foundation.util.timerAndImageLoader.js +0 -86
  141. data/_sass/foundation-sites/js/foundation.util.touch.js +0 -352
  142. data/_sass/foundation-sites/js/foundation.util.triggers.js +0 -239
  143. data/_sass/foundation-sites/node_modules/jquery/AUTHORS.txt +0 -278
  144. data/_sass/foundation-sites/node_modules/jquery/LICENSE.txt +0 -36
  145. data/_sass/foundation-sites/node_modules/jquery/README.md +0 -65
  146. data/_sass/foundation-sites/node_modules/jquery/bower.json +0 -14
  147. data/_sass/foundation-sites/node_modules/jquery/dist/jquery.js +0 -9814
  148. data/_sass/foundation-sites/node_modules/jquery/dist/jquery.min.js +0 -4
  149. data/_sass/foundation-sites/node_modules/jquery/dist/jquery.min.map +0 -1
  150. data/_sass/foundation-sites/node_modules/jquery/external/sizzle/LICENSE.txt +0 -36
  151. data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.js +0 -2143
  152. data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.min.js +0 -3
  153. data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.min.map +0 -1
  154. data/_sass/foundation-sites/node_modules/jquery/package.json +0 -112
  155. data/_sass/foundation-sites/node_modules/jquery/src/ajax.js +0 -845
  156. data/_sass/foundation-sites/node_modules/jquery/src/ajax/jsonp.js +0 -100
  157. data/_sass/foundation-sites/node_modules/jquery/src/ajax/load.js +0 -83
  158. data/_sass/foundation-sites/node_modules/jquery/src/ajax/parseJSON.js +0 -13
  159. data/_sass/foundation-sites/node_modules/jquery/src/ajax/parseXML.js +0 -27
  160. data/_sass/foundation-sites/node_modules/jquery/src/ajax/script.js +0 -68
  161. data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/location.js +0 -3
  162. data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/nonce.js +0 -5
  163. data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/rquery.js +0 -3
  164. data/_sass/foundation-sites/node_modules/jquery/src/ajax/xhr.js +0 -167
  165. data/_sass/foundation-sites/node_modules/jquery/src/attributes.js +0 -11
  166. data/_sass/foundation-sites/node_modules/jquery/src/attributes/attr.js +0 -142
  167. data/_sass/foundation-sites/node_modules/jquery/src/attributes/classes.js +0 -177
  168. data/_sass/foundation-sites/node_modules/jquery/src/attributes/prop.js +0 -125
  169. data/_sass/foundation-sites/node_modules/jquery/src/attributes/support.js +0 -36
  170. data/_sass/foundation-sites/node_modules/jquery/src/attributes/val.js +0 -177
  171. data/_sass/foundation-sites/node_modules/jquery/src/callbacks.js +0 -232
  172. data/_sass/foundation-sites/node_modules/jquery/src/core.js +0 -494
  173. data/_sass/foundation-sites/node_modules/jquery/src/core/access.js +0 -65
  174. data/_sass/foundation-sites/node_modules/jquery/src/core/init.js +0 -134
  175. data/_sass/foundation-sites/node_modules/jquery/src/core/parseHTML.js +0 -41
  176. data/_sass/foundation-sites/node_modules/jquery/src/core/ready.js +0 -103
  177. data/_sass/foundation-sites/node_modules/jquery/src/core/var/rsingleTag.js +0 -5
  178. data/_sass/foundation-sites/node_modules/jquery/src/css.js +0 -502
  179. data/_sass/foundation-sites/node_modules/jquery/src/css/addGetHookIf.js +0 -24
  180. data/_sass/foundation-sites/node_modules/jquery/src/css/adjustCSS.js +0 -65
  181. data/_sass/foundation-sites/node_modules/jquery/src/css/curCSS.js +0 -60
  182. data/_sass/foundation-sites/node_modules/jquery/src/css/defaultDisplay.js +0 -72
  183. data/_sass/foundation-sites/node_modules/jquery/src/css/hiddenVisibleSelectors.js +0 -18
  184. data/_sass/foundation-sites/node_modules/jquery/src/css/showHide.js +0 -48
  185. data/_sass/foundation-sites/node_modules/jquery/src/css/support.js +0 -121
  186. data/_sass/foundation-sites/node_modules/jquery/src/css/var/cssExpand.js +0 -3
  187. data/_sass/foundation-sites/node_modules/jquery/src/css/var/getStyles.js +0 -15
  188. data/_sass/foundation-sites/node_modules/jquery/src/css/var/isHidden.js +0 -16
  189. data/_sass/foundation-sites/node_modules/jquery/src/css/var/rmargin.js +0 -3
  190. data/_sass/foundation-sites/node_modules/jquery/src/css/var/rnumnonpx.js +0 -5
  191. data/_sass/foundation-sites/node_modules/jquery/src/css/var/swap.js +0 -24
  192. data/_sass/foundation-sites/node_modules/jquery/src/data.js +0 -187
  193. data/_sass/foundation-sites/node_modules/jquery/src/data/Data.js +0 -200
  194. data/_sass/foundation-sites/node_modules/jquery/src/data/var/acceptData.js +0 -18
  195. data/_sass/foundation-sites/node_modules/jquery/src/data/var/dataPriv.js +0 -5
  196. data/_sass/foundation-sites/node_modules/jquery/src/data/var/dataUser.js +0 -5
  197. data/_sass/foundation-sites/node_modules/jquery/src/deferred.js +0 -158
  198. data/_sass/foundation-sites/node_modules/jquery/src/deprecated.js +0 -32
  199. data/_sass/foundation-sites/node_modules/jquery/src/dimensions.js +0 -54
  200. data/_sass/foundation-sites/node_modules/jquery/src/effects.js +0 -629
  201. data/_sass/foundation-sites/node_modules/jquery/src/effects/Tween.js +0 -121
  202. data/_sass/foundation-sites/node_modules/jquery/src/effects/animatedSelector.js +0 -13
  203. data/_sass/foundation-sites/node_modules/jquery/src/event.js +0 -711
  204. data/_sass/foundation-sites/node_modules/jquery/src/event/ajax.js +0 -20
  205. data/_sass/foundation-sites/node_modules/jquery/src/event/alias.js +0 -27
  206. data/_sass/foundation-sites/node_modules/jquery/src/event/focusin.js +0 -53
  207. data/_sass/foundation-sites/node_modules/jquery/src/event/support.js +0 -9
  208. data/_sass/foundation-sites/node_modules/jquery/src/event/trigger.js +0 -183
  209. data/_sass/foundation-sites/node_modules/jquery/src/exports/amd.js +0 -24
  210. data/_sass/foundation-sites/node_modules/jquery/src/exports/global.js +0 -26
  211. data/_sass/foundation-sites/node_modules/jquery/src/intro.js +0 -44
  212. data/_sass/foundation-sites/node_modules/jquery/src/jquery.js +0 -37
  213. data/_sass/foundation-sites/node_modules/jquery/src/manipulation.js +0 -481
  214. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/_evalUrl.js +0 -20
  215. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/buildFragment.js +0 -102
  216. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/getAll.js +0 -21
  217. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/setGlobalEval.js +0 -20
  218. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/support.js +0 -33
  219. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rcheckableType.js +0 -3
  220. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rscriptType.js +0 -3
  221. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rtagName.js +0 -3
  222. data/_sass/foundation-sites/node_modules/jquery/src/manipulation/wrapMap.js +0 -27
  223. data/_sass/foundation-sites/node_modules/jquery/src/offset.js +0 -218
  224. data/_sass/foundation-sites/node_modules/jquery/src/outro.js +0 -2
  225. data/_sass/foundation-sites/node_modules/jquery/src/queue.js +0 -143
  226. data/_sass/foundation-sites/node_modules/jquery/src/queue/delay.js +0 -22
  227. data/_sass/foundation-sites/node_modules/jquery/src/selector-native.js +0 -211
  228. data/_sass/foundation-sites/node_modules/jquery/src/selector-sizzle.js +0 -14
  229. data/_sass/foundation-sites/node_modules/jquery/src/selector.js +0 -1
  230. data/_sass/foundation-sites/node_modules/jquery/src/serialize.js +0 -125
  231. data/_sass/foundation-sites/node_modules/jquery/src/traversing.js +0 -175
  232. data/_sass/foundation-sites/node_modules/jquery/src/traversing/findFilter.js +0 -100
  233. data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/dir.js +0 -20
  234. data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/rneedsContext.js +0 -6
  235. data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/siblings.js +0 -15
  236. data/_sass/foundation-sites/node_modules/jquery/src/var/arr.js +0 -3
  237. data/_sass/foundation-sites/node_modules/jquery/src/var/class2type.js +0 -5
  238. data/_sass/foundation-sites/node_modules/jquery/src/var/concat.js +0 -5
  239. data/_sass/foundation-sites/node_modules/jquery/src/var/document.js +0 -3
  240. data/_sass/foundation-sites/node_modules/jquery/src/var/documentElement.js +0 -5
  241. data/_sass/foundation-sites/node_modules/jquery/src/var/hasOwn.js +0 -5
  242. data/_sass/foundation-sites/node_modules/jquery/src/var/indexOf.js +0 -5
  243. data/_sass/foundation-sites/node_modules/jquery/src/var/pnum.js +0 -3
  244. data/_sass/foundation-sites/node_modules/jquery/src/var/push.js +0 -5
  245. data/_sass/foundation-sites/node_modules/jquery/src/var/rcssNum.js +0 -7
  246. data/_sass/foundation-sites/node_modules/jquery/src/var/rnotwhite.js +0 -3
  247. data/_sass/foundation-sites/node_modules/jquery/src/var/slice.js +0 -5
  248. data/_sass/foundation-sites/node_modules/jquery/src/var/support.js +0 -5
  249. data/_sass/foundation-sites/node_modules/jquery/src/var/toString.js +0 -5
  250. data/_sass/foundation-sites/node_modules/jquery/src/wrap.js +0 -79
  251. data/_sass/foundation-sites/package.json +0 -148
  252. data/_sass/foundation-sites/scss/_global.scss +0 -638
  253. data/_sass/foundation-sites/scss/components/_accordion-menu.scss +0 -32
  254. data/_sass/foundation-sites/scss/components/_accordion.scss +0 -129
  255. data/_sass/foundation-sites/scss/components/_badge.scss +0 -55
  256. data/_sass/foundation-sites/scss/components/_breadcrumbs.scss +0 -95
  257. data/_sass/foundation-sites/scss/components/_button-group.scss +0 -195
  258. data/_sass/foundation-sites/scss/components/_button.scss +0 -265
  259. data/_sass/foundation-sites/scss/components/_callout.scss +0 -105
  260. data/_sass/foundation-sites/scss/components/_close-button.scss +0 -61
  261. data/_sass/foundation-sites/scss/components/_drilldown.scss +0 -79
  262. data/_sass/foundation-sites/scss/components/_dropdown-menu.scss +0 -221
  263. data/_sass/foundation-sites/scss/components/_dropdown.scss +0 -65
  264. data/_sass/foundation-sites/scss/components/_flex-video.scss +0 -63
  265. data/_sass/foundation-sites/scss/components/_flex.scss +0 -28
  266. data/_sass/foundation-sites/scss/components/_float.scss +0 -27
  267. data/_sass/foundation-sites/scss/components/_label.scss +0 -56
  268. data/_sass/foundation-sites/scss/components/_media-object.scss +0 -115
  269. data/_sass/foundation-sites/scss/components/_menu-icon.scss +0 -9
  270. data/_sass/foundation-sites/scss/components/_menu.scss +0 -314
  271. data/_sass/foundation-sites/scss/components/_off-canvas.scss +0 -177
  272. data/_sass/foundation-sites/scss/components/_orbit.scss +0 -193
  273. data/_sass/foundation-sites/scss/components/_pagination.scss +0 -162
  274. data/_sass/foundation-sites/scss/components/_progress-bar.scss +0 -64
  275. data/_sass/foundation-sites/scss/components/_reveal.scss +0 -172
  276. data/_sass/foundation-sites/scss/components/_slider.scss +0 -133
  277. data/_sass/foundation-sites/scss/components/_sticky.scss +0 -38
  278. data/_sass/foundation-sites/scss/components/_switch.scss +0 -232
  279. data/_sass/foundation-sites/scss/components/_table.scss +0 -234
  280. data/_sass/foundation-sites/scss/components/_tabs.scss +0 -165
  281. data/_sass/foundation-sites/scss/components/_thumbnail.scss +0 -54
  282. data/_sass/foundation-sites/scss/components/_title-bar.scss +0 -89
  283. data/_sass/foundation-sites/scss/components/_tooltip.scss +0 -104
  284. data/_sass/foundation-sites/scss/components/_top-bar.scss +0 -168
  285. data/_sass/foundation-sites/scss/components/_visibility.scss +0 -132
  286. data/_sass/foundation-sites/scss/forms/_checkbox.scss +0 -40
  287. data/_sass/foundation-sites/scss/forms/_error.scss +0 -84
  288. data/_sass/foundation-sites/scss/forms/_fieldset.scss +0 -54
  289. data/_sass/foundation-sites/scss/forms/_forms.scss +0 -34
  290. data/_sass/foundation-sites/scss/forms/_help-text.scss +0 -30
  291. data/_sass/foundation-sites/scss/forms/_input-group.scss +0 -128
  292. data/_sass/foundation-sites/scss/forms/_label.scss +0 -48
  293. data/_sass/foundation-sites/scss/forms/_meter.scss +0 -109
  294. data/_sass/foundation-sites/scss/forms/_progress.scss +0 -85
  295. data/_sass/foundation-sites/scss/forms/_range.scss +0 -144
  296. data/_sass/foundation-sites/scss/forms/_select.scss +0 -67
  297. data/_sass/foundation-sites/scss/forms/_text.scss +0 -163
  298. data/_sass/foundation-sites/scss/foundation.scss +0 -102
  299. data/_sass/foundation-sites/scss/grid/_classes.scss +0 -151
  300. data/_sass/foundation-sites/scss/grid/_column.scss +0 -126
  301. data/_sass/foundation-sites/scss/grid/_flex-grid.scss +0 -274
  302. data/_sass/foundation-sites/scss/grid/_grid.scss +0 -60
  303. data/_sass/foundation-sites/scss/grid/_gutter.scss +0 -34
  304. data/_sass/foundation-sites/scss/grid/_layout.scss +0 -51
  305. data/_sass/foundation-sites/scss/grid/_position.scss +0 -73
  306. data/_sass/foundation-sites/scss/grid/_row.scss +0 -95
  307. data/_sass/foundation-sites/scss/grid/_size.scss +0 -24
  308. data/_sass/foundation-sites/scss/settings/_settings.scss +0 -567
  309. data/_sass/foundation-sites/scss/typography/_alignment.scss +0 -22
  310. data/_sass/foundation-sites/scss/typography/_base.scss +0 -443
  311. data/_sass/foundation-sites/scss/typography/_helpers.scss +0 -77
  312. data/_sass/foundation-sites/scss/typography/_print.scss +0 -77
  313. data/_sass/foundation-sites/scss/typography/_typography.scss +0 -28
  314. data/_sass/foundation-sites/scss/util/_breakpoint.scss +0 -275
  315. data/_sass/foundation-sites/scss/util/_color.scss +0 -60
  316. data/_sass/foundation-sites/scss/util/_flex.scss +0 -68
  317. data/_sass/foundation-sites/scss/util/_mixins.scss +0 -235
  318. data/_sass/foundation-sites/scss/util/_selector.scss +0 -40
  319. data/_sass/foundation-sites/scss/util/_unit.scss +0 -90
  320. data/_sass/foundation-sites/scss/util/_util.scss +0 -11
  321. data/_sass/foundation-sites/scss/util/_value.scss +0 -107
  322. data/_sass/foundation-sites/vendor/fastclick/LICENSE +0 -22
  323. data/_sass/foundation-sites/vendor/fastclick/README.md +0 -140
  324. data/_sass/foundation-sites/vendor/jquery-placeholder/jquery.placeholder.js +0 -192
  325. data/_sass/foundation-sites/vendor/jquery.autocomplete/content/styles.css +0 -9
  326. data/_sass/foundation-sites/vendor/jquery.autocomplete/devbridge-autocomplete.jquery.json +0 -28
  327. data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/jquery.autocomplete.js +0 -823
  328. data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/jquery.autocomplete.min.js +0 -29
  329. data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/license.txt +0 -21
  330. data/_sass/foundation-sites/vendor/jquery.autocomplete/index.htm +0 -48
  331. data/_sass/foundation-sites/vendor/jquery.autocomplete/license.txt +0 -21
  332. data/_sass/foundation-sites/vendor/jquery.autocomplete/readme.md +0 -165
  333. data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/countries.js +0 -266
  334. data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/demo.js +0 -68
  335. data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/jquery-1.8.2.min.js +0 -2
  336. data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/jquery.mockjax.js +0 -564
  337. data/_sass/foundation-sites/vendor/jquery.autocomplete/src/jquery.autocomplete.d.ts +0 -40
  338. data/_sass/foundation-sites/vendor/jquery.autocomplete/src/jquery.autocomplete.js +0 -823
  339. data/_sass/foundation-sites/vendor/jquery.cookie/jquery.cookie.js +0 -117
  340. data/_sass/foundation-sites/vendor/jquery/AUTHORS.txt +0 -278
  341. data/_sass/foundation-sites/vendor/jquery/LICENSE.txt +0 -36
  342. data/_sass/foundation-sites/vendor/jquery/README.md +0 -65
  343. data/_sass/foundation-sites/vendor/jquery/dist/jquery.js +0 -9842
  344. data/_sass/foundation-sites/vendor/jquery/dist/jquery.min.js +0 -4
  345. data/_sass/foundation-sites/vendor/jquery/dist/jquery.min.map +0 -1
  346. data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.js +0 -7877
  347. data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.min.js +0 -4
  348. data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.min.map +0 -1
  349. data/_sass/foundation-sites/vendor/jquery/sizzle/LICENSE.txt +0 -36
  350. data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.js +0 -2143
  351. data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.min.js +0 -3
  352. data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.min.map +0 -1
  353. data/_sass/foundation-sites/vendor/jquery/src/ajax.js +0 -845
  354. data/_sass/foundation-sites/vendor/jquery/src/ajax/jsonp.js +0 -100
  355. data/_sass/foundation-sites/vendor/jquery/src/ajax/load.js +0 -83
  356. data/_sass/foundation-sites/vendor/jquery/src/ajax/parseJSON.js +0 -13
  357. data/_sass/foundation-sites/vendor/jquery/src/ajax/parseXML.js +0 -27
  358. data/_sass/foundation-sites/vendor/jquery/src/ajax/script.js +0 -68
  359. data/_sass/foundation-sites/vendor/jquery/src/ajax/var/location.js +0 -3
  360. data/_sass/foundation-sites/vendor/jquery/src/ajax/var/nonce.js +0 -5
  361. data/_sass/foundation-sites/vendor/jquery/src/ajax/var/rquery.js +0 -3
  362. data/_sass/foundation-sites/vendor/jquery/src/ajax/xhr.js +0 -167
  363. data/_sass/foundation-sites/vendor/jquery/src/attributes.js +0 -11
  364. data/_sass/foundation-sites/vendor/jquery/src/attributes/attr.js +0 -142
  365. data/_sass/foundation-sites/vendor/jquery/src/attributes/classes.js +0 -177
  366. data/_sass/foundation-sites/vendor/jquery/src/attributes/prop.js +0 -125
  367. data/_sass/foundation-sites/vendor/jquery/src/attributes/support.js +0 -36
  368. data/_sass/foundation-sites/vendor/jquery/src/attributes/val.js +0 -177
  369. data/_sass/foundation-sites/vendor/jquery/src/callbacks.js +0 -232
  370. data/_sass/foundation-sites/vendor/jquery/src/core.js +0 -494
  371. data/_sass/foundation-sites/vendor/jquery/src/core/DOMEval.js +0 -14
  372. data/_sass/foundation-sites/vendor/jquery/src/core/access.js +0 -65
  373. data/_sass/foundation-sites/vendor/jquery/src/core/init.js +0 -134
  374. data/_sass/foundation-sites/vendor/jquery/src/core/parseHTML.js +0 -41
  375. data/_sass/foundation-sites/vendor/jquery/src/core/ready.js +0 -103
  376. data/_sass/foundation-sites/vendor/jquery/src/core/support.js +0 -18
  377. data/_sass/foundation-sites/vendor/jquery/src/core/var/rsingleTag.js +0 -5
  378. data/_sass/foundation-sites/vendor/jquery/src/css.js +0 -515
  379. data/_sass/foundation-sites/vendor/jquery/src/css/addGetHookIf.js +0 -24
  380. data/_sass/foundation-sites/vendor/jquery/src/css/adjustCSS.js +0 -65
  381. data/_sass/foundation-sites/vendor/jquery/src/css/curCSS.js +0 -60
  382. data/_sass/foundation-sites/vendor/jquery/src/css/defaultDisplay.js +0 -72
  383. data/_sass/foundation-sites/vendor/jquery/src/css/hiddenVisibleSelectors.js +0 -18
  384. data/_sass/foundation-sites/vendor/jquery/src/css/showHide.js +0 -48
  385. data/_sass/foundation-sites/vendor/jquery/src/css/support.js +0 -121
  386. data/_sass/foundation-sites/vendor/jquery/src/css/var/cssExpand.js +0 -3
  387. data/_sass/foundation-sites/vendor/jquery/src/css/var/getStyles.js +0 -15
  388. data/_sass/foundation-sites/vendor/jquery/src/css/var/isHidden.js +0 -16
  389. data/_sass/foundation-sites/vendor/jquery/src/css/var/rmargin.js +0 -3
  390. data/_sass/foundation-sites/vendor/jquery/src/css/var/rnumnonpx.js +0 -5
  391. data/_sass/foundation-sites/vendor/jquery/src/css/var/swap.js +0 -24
  392. data/_sass/foundation-sites/vendor/jquery/src/data.js +0 -187
  393. data/_sass/foundation-sites/vendor/jquery/src/data/Data.js +0 -200
  394. data/_sass/foundation-sites/vendor/jquery/src/data/accepts.js +0 -20
  395. data/_sass/foundation-sites/vendor/jquery/src/data/support.js +0 -23
  396. data/_sass/foundation-sites/vendor/jquery/src/data/var/acceptData.js +0 -18
  397. data/_sass/foundation-sites/vendor/jquery/src/data/var/dataPriv.js +0 -5
  398. data/_sass/foundation-sites/vendor/jquery/src/data/var/dataUser.js +0 -5
  399. data/_sass/foundation-sites/vendor/jquery/src/deferred.js +0 -158
  400. data/_sass/foundation-sites/vendor/jquery/src/deferred/exceptionHook.js +0 -19
  401. data/_sass/foundation-sites/vendor/jquery/src/deprecated.js +0 -32
  402. data/_sass/foundation-sites/vendor/jquery/src/dimensions.js +0 -54
  403. data/_sass/foundation-sites/vendor/jquery/src/effects.js +0 -629
  404. data/_sass/foundation-sites/vendor/jquery/src/effects/Tween.js +0 -121
  405. data/_sass/foundation-sites/vendor/jquery/src/effects/animatedSelector.js +0 -13
  406. data/_sass/foundation-sites/vendor/jquery/src/effects/support.js +0 -58
  407. data/_sass/foundation-sites/vendor/jquery/src/event.js +0 -710
  408. data/_sass/foundation-sites/vendor/jquery/src/event/ajax.js +0 -20
  409. data/_sass/foundation-sites/vendor/jquery/src/event/alias.js +0 -27
  410. data/_sass/foundation-sites/vendor/jquery/src/event/focusin.js +0 -53
  411. data/_sass/foundation-sites/vendor/jquery/src/event/support.js +0 -9
  412. data/_sass/foundation-sites/vendor/jquery/src/event/trigger.js +0 -199
  413. data/_sass/foundation-sites/vendor/jquery/src/exports/amd.js +0 -24
  414. data/_sass/foundation-sites/vendor/jquery/src/exports/global.js +0 -26
  415. data/_sass/foundation-sites/vendor/jquery/src/intro.js +0 -44
  416. data/_sass/foundation-sites/vendor/jquery/src/jquery.js +0 -37
  417. data/_sass/foundation-sites/vendor/jquery/src/manipulation.js +0 -481
  418. data/_sass/foundation-sites/vendor/jquery/src/manipulation/_evalUrl.js +0 -20
  419. data/_sass/foundation-sites/vendor/jquery/src/manipulation/buildFragment.js +0 -102
  420. data/_sass/foundation-sites/vendor/jquery/src/manipulation/createSafeFragment.js +0 -20
  421. data/_sass/foundation-sites/vendor/jquery/src/manipulation/getAll.js +0 -21
  422. data/_sass/foundation-sites/vendor/jquery/src/manipulation/setGlobalEval.js +0 -20
  423. data/_sass/foundation-sites/vendor/jquery/src/manipulation/support.js +0 -33
  424. data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/nodeNames.js +0 -5
  425. data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rcheckableType.js +0 -3
  426. data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rleadingWhitespace.js +0 -3
  427. data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rscriptType.js +0 -3
  428. data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rtagName.js +0 -3
  429. data/_sass/foundation-sites/vendor/jquery/src/manipulation/wrapMap.js +0 -27
  430. data/_sass/foundation-sites/vendor/jquery/src/offset.js +0 -218
  431. data/_sass/foundation-sites/vendor/jquery/src/outro.js +0 -2
  432. data/_sass/foundation-sites/vendor/jquery/src/queue.js +0 -143
  433. data/_sass/foundation-sites/vendor/jquery/src/queue/delay.js +0 -22
  434. data/_sass/foundation-sites/vendor/jquery/src/selector-native.js +0 -211
  435. data/_sass/foundation-sites/vendor/jquery/src/selector-sizzle.js +0 -14
  436. data/_sass/foundation-sites/vendor/jquery/src/selector.js +0 -1
  437. data/_sass/foundation-sites/vendor/jquery/src/serialize.js +0 -125
  438. data/_sass/foundation-sites/vendor/jquery/src/support.js +0 -63
  439. data/_sass/foundation-sites/vendor/jquery/src/traversing.js +0 -175
  440. data/_sass/foundation-sites/vendor/jquery/src/traversing/findFilter.js +0 -100
  441. data/_sass/foundation-sites/vendor/jquery/src/traversing/var/dir.js +0 -20
  442. data/_sass/foundation-sites/vendor/jquery/src/traversing/var/rneedsContext.js +0 -6
  443. data/_sass/foundation-sites/vendor/jquery/src/traversing/var/siblings.js +0 -15
  444. data/_sass/foundation-sites/vendor/jquery/src/var/arr.js +0 -3
  445. data/_sass/foundation-sites/vendor/jquery/src/var/class2type.js +0 -5
  446. data/_sass/foundation-sites/vendor/jquery/src/var/concat.js +0 -5
  447. data/_sass/foundation-sites/vendor/jquery/src/var/deletedIds.js +0 -3
  448. data/_sass/foundation-sites/vendor/jquery/src/var/document.js +0 -3
  449. data/_sass/foundation-sites/vendor/jquery/src/var/documentElement.js +0 -5
  450. data/_sass/foundation-sites/vendor/jquery/src/var/hasOwn.js +0 -5
  451. data/_sass/foundation-sites/vendor/jquery/src/var/indexOf.js +0 -5
  452. data/_sass/foundation-sites/vendor/jquery/src/var/pnum.js +0 -3
  453. data/_sass/foundation-sites/vendor/jquery/src/var/push.js +0 -5
  454. data/_sass/foundation-sites/vendor/jquery/src/var/rcssNum.js +0 -7
  455. data/_sass/foundation-sites/vendor/jquery/src/var/rnotwhite.js +0 -3
  456. data/_sass/foundation-sites/vendor/jquery/src/var/slice.js +0 -5
  457. data/_sass/foundation-sites/vendor/jquery/src/var/support.js +0 -5
  458. data/_sass/foundation-sites/vendor/jquery/src/var/toString.js +0 -5
  459. data/_sass/foundation-sites/vendor/jquery/src/wrap.js +0 -79
  460. data/_sass/foundation-sites/vendor/lodash/LICENSE.txt +0 -22
  461. data/_sass/foundation-sites/vendor/lodash/dist/lodash.compat.js +0 -7158
  462. data/_sass/foundation-sites/vendor/lodash/dist/lodash.compat.min.js +0 -92
  463. data/_sass/foundation-sites/vendor/lodash/dist/lodash.js +0 -6786
  464. data/_sass/foundation-sites/vendor/lodash/dist/lodash.min.js +0 -87
  465. data/_sass/foundation-sites/vendor/lodash/dist/lodash.underscore.js +0 -4979
  466. data/_sass/foundation-sites/vendor/lodash/dist/lodash.underscore.min.js +0 -39
  467. data/_sass/foundation-sites/vendor/modernizr/feature-detects/a-download.js +0 -8
  468. data/_sass/foundation-sites/vendor/modernizr/feature-detects/audio-audiodata-api.js +0 -4
  469. data/_sass/foundation-sites/vendor/modernizr/feature-detects/audio-webaudio-api.js +0 -4
  470. data/_sass/foundation-sites/vendor/modernizr/feature-detects/battery-api.js +0 -8
  471. data/_sass/foundation-sites/vendor/modernizr/feature-detects/battery-level.js +0 -11
  472. data/_sass/foundation-sites/vendor/modernizr/feature-detects/blob-constructor.js +0 -10
  473. data/_sass/foundation-sites/vendor/modernizr/feature-detects/canvas-todataurl-type.js +0 -28
  474. data/_sass/foundation-sites/vendor/modernizr/feature-detects/contenteditable.js +0 -9
  475. data/_sass/foundation-sites/vendor/modernizr/feature-detects/contentsecuritypolicy.js +0 -10
  476. data/_sass/foundation-sites/vendor/modernizr/feature-detects/contextmenu.js +0 -11
  477. data/_sass/foundation-sites/vendor/modernizr/feature-detects/cookies.js +0 -15
  478. data/_sass/foundation-sites/vendor/modernizr/feature-detects/cors.js +0 -3
  479. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundposition-shorthand.js +0 -19
  480. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundposition-xy.js +0 -15
  481. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundrepeat.js +0 -31
  482. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundsizecover.js +0 -10
  483. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-boxsizing.js +0 -9
  484. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-calc.js +0 -12
  485. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-cubicbezierrange.js +0 -8
  486. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-displayrunin.js +0 -18
  487. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-displaytable.js +0 -27
  488. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-filters.js +0 -7
  489. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-hyphens.js +0 -205
  490. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-lastchild.js +0 -11
  491. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-mask.js +0 -12
  492. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-mediaqueries.js +0 -3
  493. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-objectfit.js +0 -6
  494. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-overflow-scrolling.js +0 -9
  495. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-pointerevents.js +0 -25
  496. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-positionsticky.js +0 -13
  497. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-regions.js +0 -55
  498. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-remunit.js +0 -19
  499. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-resize.js +0 -8
  500. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-scrollbars.js +0 -19
  501. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-shapes.js +0 -4
  502. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-subpixelfont.js +0 -23
  503. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-supports.js +0 -6
  504. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-userselect.js +0 -10
  505. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vhunit.js +0 -14
  506. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vmaxunit.js +0 -14
  507. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vminunit.js +0 -14
  508. data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vwunit.js +0 -14
  509. data/_sass/foundation-sites/vendor/modernizr/feature-detects/custom-protocol-handler.js +0 -10
  510. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dart.js +0 -6
  511. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dataview-api.js +0 -4
  512. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-classlist.js +0 -4
  513. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-createElement-attrs.js +0 -11
  514. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-dataset.js +0 -9
  515. data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-microdata.js +0 -4
  516. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-datalist.js +0 -12
  517. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-details.js +0 -25
  518. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-output.js +0 -4
  519. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-progress-meter.js +0 -11
  520. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-ruby.js +0 -53
  521. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-time.js +0 -4
  522. data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-track.js +0 -11
  523. data/_sass/foundation-sites/vendor/modernizr/feature-detects/emoji.js +0 -11
  524. data/_sass/foundation-sites/vendor/modernizr/feature-detects/es5-strictmode.js +0 -7
  525. data/_sass/foundation-sites/vendor/modernizr/feature-detects/event-deviceorientation-motion.js +0 -11
  526. data/_sass/foundation-sites/vendor/modernizr/feature-detects/exif-orientation.js +0 -32
  527. data/_sass/foundation-sites/vendor/modernizr/feature-detects/file-api.js +0 -12
  528. data/_sass/foundation-sites/vendor/modernizr/feature-detects/file-filesystem.js +0 -9
  529. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-fileinput.js +0 -13
  530. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-formattribute.js +0 -29
  531. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-inputnumber-l10n.js +0 -32
  532. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-placeholder.js +0 -10
  533. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-speechinput.js +0 -19
  534. data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-validation.js +0 -62
  535. data/_sass/foundation-sites/vendor/modernizr/feature-detects/fullscreen-api.js +0 -10
  536. data/_sass/foundation-sites/vendor/modernizr/feature-detects/gamepad.js +0 -12
  537. data/_sass/foundation-sites/vendor/modernizr/feature-detects/getusermedia.js +0 -5
  538. data/_sass/foundation-sites/vendor/modernizr/feature-detects/ie8compat.js +0 -12
  539. data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-sandbox.js +0 -5
  540. data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-seamless.js +0 -5
  541. data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-srcdoc.js +0 -5
  542. data/_sass/foundation-sites/vendor/modernizr/feature-detects/img-apng.js +0 -26
  543. data/_sass/foundation-sites/vendor/modernizr/feature-detects/img-webp.js +0 -20
  544. data/_sass/foundation-sites/vendor/modernizr/feature-detects/json.js +0 -7
  545. data/_sass/foundation-sites/vendor/modernizr/feature-detects/lists-reversed.js +0 -6
  546. data/_sass/foundation-sites/vendor/modernizr/feature-detects/mathml.js +0 -23
  547. data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-connection.js +0 -22
  548. data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-eventsource.js +0 -5
  549. data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-xhr2.js +0 -13
  550. data/_sass/foundation-sites/vendor/modernizr/feature-detects/notification.js +0 -10
  551. data/_sass/foundation-sites/vendor/modernizr/feature-detects/performance.js +0 -5
  552. data/_sass/foundation-sites/vendor/modernizr/feature-detects/pointerlock-api.js +0 -4
  553. data/_sass/foundation-sites/vendor/modernizr/feature-detects/quota-management-api.js +0 -11
  554. data/_sass/foundation-sites/vendor/modernizr/feature-detects/requestanimationframe.js +0 -7
  555. data/_sass/foundation-sites/vendor/modernizr/feature-detects/script-async.js +0 -3
  556. data/_sass/foundation-sites/vendor/modernizr/feature-detects/script-defer.js +0 -3
  557. data/_sass/foundation-sites/vendor/modernizr/feature-detects/style-scoped.js +0 -6
  558. data/_sass/foundation-sites/vendor/modernizr/feature-detects/svg-filters.js +0 -13
  559. data/_sass/foundation-sites/vendor/modernizr/feature-detects/unicode.js +0 -32
  560. data/_sass/foundation-sites/vendor/modernizr/feature-detects/url-data-uri.js +0 -26
  561. data/_sass/foundation-sites/vendor/modernizr/feature-detects/userdata.js +0 -7
  562. data/_sass/foundation-sites/vendor/modernizr/feature-detects/vibration.js +0 -4
  563. data/_sass/foundation-sites/vendor/modernizr/feature-detects/web-intents.js +0 -6
  564. data/_sass/foundation-sites/vendor/modernizr/feature-detects/webgl-extensions.js +0 -42
  565. data/_sass/foundation-sites/vendor/modernizr/feature-detects/websockets-binary.js +0 -20
  566. data/_sass/foundation-sites/vendor/modernizr/feature-detects/window-framed.js +0 -8
  567. data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-blobworkers.js +0 -66
  568. data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-dataworkers.js +0 -34
  569. data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-sharedworkers.js +0 -3
  570. data/_sass/foundation-sites/vendor/modernizr/grunt.js +0 -69
  571. data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.ai +1 -292
  572. data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.eps +0 -0
  573. data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.pdf +1 -292
  574. data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.png +0 -0
  575. data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.svg +0 -35
  576. data/_sass/foundation-sites/vendor/modernizr/modernizr.js +0 -1406
  577. data/_sass/foundation-sites/vendor/modernizr/readme.md +0 -28
  578. data/assets/js/0.main.fbbba5cee41a3fd5443c.js +0 -56
  579. data/assets/js/0.main.fbbba5cee41a3fd5443c.js.map +0 -1
  580. data/assets/js/main.fbbba5cee41a3fd5443c.0.css +0 -2
  581. data/assets/js/main.fbbba5cee41a3fd5443c.0.css.map +0 -1
  582. data/assets/js/main.fbbba5cee41a3fd5443c.css +0 -6
  583. data/assets/js/main.fbbba5cee41a3fd5443c.css.map +0 -1
  584. data/assets/js/main.fbbba5cee41a3fd5443c.js +0 -1
  585. data/assets/js/main.fbbba5cee41a3fd5443c.js.map +0 -1
@@ -1,40 +0,0 @@
1
-
2
- interface JQueryAutocompleteOptions {
3
- serviceUrl?: string;
4
- lookup?: AutocompleteSuggestion[];
5
- lookupFilter? (suggestion: AutocompleteSuggestion, query: string, queryLowercase: string): any;
6
- onSelect? (suggestion: AutocompleteSuggestion): void;
7
- minChars: number;
8
- maxHeight: number;
9
- deferRequestBy?: number;
10
- width?: number;
11
- params?: Object;
12
- formatResult? (suggestion: AutocompleteSuggestion, currentValue: string): string;
13
- delimiter?: any;
14
- zIndex?: number;
15
- type?: string;
16
- noCache?: bool;
17
- onSearchStart? (query: string): void;
18
- onSearchComplete? (query: string): void;
19
- tabDisabled?: bool;
20
- paramName?: string;
21
- transformResult? (response: any, originalQuery: string): AutocompleteSuggestion[];
22
- autoSelectFirst?: bool;
23
- appendTo: any;
24
- dataType: string;
25
- }
26
-
27
- interface AutocompleteSuggestion {
28
- value: string;
29
- data: any;
30
- }
31
-
32
- interface AutocompleteInstance {
33
- setOptions(options: JQueryAutocompleteOptions): void;
34
- clear(): void;
35
- clearCache(): void;
36
- disable(): void;
37
- enable(): void;
38
- hide(): void;
39
- dispose(): void;
40
- }
@@ -1,823 +0,0 @@
1
- /**
2
- * Ajax Autocomplete for jQuery, version 1.2.9
3
- * (c) 2013 Tomas Kirda
4
- *
5
- * Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
6
- * For details, see the web site: https://github.com/devbridge/jQuery-Autocomplete
7
- *
8
- */
9
-
10
- /*jslint browser: true, white: true, plusplus: true */
11
- /*global define, window, document, jQuery */
12
-
13
- // Expose plugin as an AMD module if AMD loader is present:
14
- (function (factory) {
15
- 'use strict';
16
- if (typeof define === 'function' && define.amd) {
17
- // AMD. Register as an anonymous module.
18
- define(['jquery'], factory);
19
- } else {
20
- // Browser globals
21
- factory(jQuery);
22
- }
23
- }(function ($) {
24
- 'use strict';
25
-
26
- var
27
- utils = (function () {
28
- return {
29
- escapeRegExChars: function (value) {
30
- return value.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
31
- },
32
- createNode: function (containerClass) {
33
- var div = document.createElement('div');
34
- div.className = containerClass;
35
- div.style.position = 'absolute';
36
- div.style.display = 'none';
37
- return div;
38
- }
39
- };
40
- }()),
41
-
42
- keys = {
43
- ESC: 27,
44
- TAB: 9,
45
- RETURN: 13,
46
- LEFT: 37,
47
- UP: 38,
48
- RIGHT: 39,
49
- DOWN: 40
50
- };
51
-
52
- function Autocomplete(el, options) {
53
- var noop = function () { },
54
- that = this,
55
- defaults = {
56
- autoSelectFirst: false,
57
- appendTo: 'body',
58
- serviceUrl: null,
59
- lookup: null,
60
- onSelect: null,
61
- width: 'auto',
62
- minChars: 1,
63
- maxHeight: 300,
64
- deferRequestBy: 0,
65
- params: {},
66
- formatResult: Autocomplete.formatResult,
67
- delimiter: null,
68
- zIndex: 9999,
69
- type: 'GET',
70
- noCache: false,
71
- onSearchStart: noop,
72
- onSearchComplete: noop,
73
- onSearchError: noop,
74
- containerClass: 'autocomplete-suggestions',
75
- tabDisabled: false,
76
- dataType: 'text',
77
- currentRequest: null,
78
- triggerSelectOnValidInput: true,
79
- lookupFilter: function (suggestion, originalQuery, queryLowerCase) {
80
- return suggestion.value.toLowerCase().indexOf(queryLowerCase) !== -1;
81
- },
82
- paramName: 'query',
83
- transformResult: function (response) {
84
- return typeof response === 'string' ? $.parseJSON(response) : response;
85
- }
86
- };
87
-
88
- // Shared variables:
89
- that.element = el;
90
- that.el = $(el);
91
- that.suggestions = [];
92
- that.badQueries = [];
93
- that.selectedIndex = -1;
94
- that.currentValue = that.element.value;
95
- that.intervalId = 0;
96
- that.cachedResponse = {};
97
- that.onChangeInterval = null;
98
- that.onChange = null;
99
- that.isLocal = false;
100
- that.suggestionsContainer = null;
101
- that.options = $.extend({}, defaults, options);
102
- that.classes = {
103
- selected: 'autocomplete-selected',
104
- suggestion: 'autocomplete-suggestion'
105
- };
106
- that.hint = null;
107
- that.hintValue = '';
108
- that.selection = null;
109
-
110
- // Initialize and set options:
111
- that.initialize();
112
- that.setOptions(options);
113
- }
114
-
115
- Autocomplete.utils = utils;
116
-
117
- $.Autocomplete = Autocomplete;
118
-
119
- Autocomplete.formatResult = function (suggestion, currentValue) {
120
- var pattern = '(' + utils.escapeRegExChars(currentValue) + ')';
121
-
122
- return suggestion.value.replace(new RegExp(pattern, 'gi'), '<strong>$1<\/strong>');
123
- };
124
-
125
- Autocomplete.prototype = {
126
-
127
- killerFn: null,
128
-
129
- initialize: function () {
130
- var that = this,
131
- suggestionSelector = '.' + that.classes.suggestion,
132
- selected = that.classes.selected,
133
- options = that.options,
134
- container;
135
-
136
- // Remove autocomplete attribute to prevent native suggestions:
137
- that.element.setAttribute('autocomplete', 'off');
138
-
139
- that.killerFn = function (e) {
140
- if ($(e.target).closest('.' + that.options.containerClass).length === 0) {
141
- that.killSuggestions();
142
- that.disableKillerFn();
143
- }
144
- };
145
-
146
- that.suggestionsContainer = Autocomplete.utils.createNode(options.containerClass);
147
-
148
- container = $(that.suggestionsContainer);
149
-
150
- container.appendTo(options.appendTo);
151
-
152
- // Only set width if it was provided:
153
- if (options.width !== 'auto') {
154
- container.width(options.width);
155
- }
156
-
157
- // Listen for mouse over event on suggestions list:
158
- container.on('mouseover.autocomplete', suggestionSelector, function () {
159
- that.activate($(this).data('index'));
160
- });
161
-
162
- // Deselect active element when mouse leaves suggestions container:
163
- container.on('mouseout.autocomplete', function () {
164
- that.selectedIndex = -1;
165
- container.children('.' + selected).removeClass(selected);
166
- });
167
-
168
- // Listen for click event on suggestions list:
169
- container.on('click.autocomplete', suggestionSelector, function () {
170
- that.select($(this).data('index'));
171
- });
172
-
173
- that.fixPosition();
174
-
175
- that.fixPositionCapture = function () {
176
- if (that.visible) {
177
- that.fixPosition();
178
- }
179
- };
180
-
181
- $(window).on('resize.autocomplete', that.fixPositionCapture);
182
-
183
- that.el.on('keydown.autocomplete', function (e) { that.onKeyPress(e); });
184
- that.el.on('keyup.autocomplete', function (e) { that.onKeyUp(e); });
185
- that.el.on('blur.autocomplete', function () { that.onBlur(); });
186
- that.el.on('focus.autocomplete', function () { that.onFocus(); });
187
- that.el.on('change.autocomplete', function (e) { that.onKeyUp(e); });
188
- },
189
-
190
- onFocus: function () {
191
- var that = this;
192
- that.fixPosition();
193
- if (that.options.minChars <= that.el.val().length) {
194
- that.onValueChange();
195
- }
196
- },
197
-
198
- onBlur: function () {
199
- this.enableKillerFn();
200
- },
201
-
202
- setOptions: function (suppliedOptions) {
203
- var that = this,
204
- options = that.options;
205
-
206
- $.extend(options, suppliedOptions);
207
-
208
- that.isLocal = $.isArray(options.lookup);
209
-
210
- if (that.isLocal) {
211
- options.lookup = that.verifySuggestionsFormat(options.lookup);
212
- }
213
-
214
- // Adjust height, width and z-index:
215
- $(that.suggestionsContainer).css({
216
- 'max-height': options.maxHeight + 'px',
217
- 'width': options.width + 'px',
218
- 'z-index': options.zIndex
219
- });
220
- },
221
-
222
- clearCache: function () {
223
- this.cachedResponse = {};
224
- this.badQueries = [];
225
- },
226
-
227
- clear: function () {
228
- this.clearCache();
229
- this.currentValue = '';
230
- this.suggestions = [];
231
- },
232
-
233
- disable: function () {
234
- var that = this;
235
- that.disabled = true;
236
- if (that.currentRequest) {
237
- that.currentRequest.abort();
238
- }
239
- },
240
-
241
- enable: function () {
242
- this.disabled = false;
243
- },
244
-
245
- fixPosition: function () {
246
- var that = this,
247
- offset,
248
- styles;
249
-
250
- // Don't adjsut position if custom container has been specified:
251
- if (that.options.appendTo !== 'body') {
252
- return;
253
- }
254
-
255
- offset = that.el.offset();
256
-
257
- styles = {
258
- top: (offset.top + that.el.outerHeight()) + 'px',
259
- left: offset.left + 'px'
260
- };
261
-
262
- if (that.options.width === 'auto') {
263
- styles.width = (that.el.outerWidth() - 2) + 'px';
264
- }
265
-
266
- $(that.suggestionsContainer).css(styles);
267
- },
268
-
269
- enableKillerFn: function () {
270
- var that = this;
271
- $(document).on('click.autocomplete', that.killerFn);
272
- },
273
-
274
- disableKillerFn: function () {
275
- var that = this;
276
- $(document).off('click.autocomplete', that.killerFn);
277
- },
278
-
279
- killSuggestions: function () {
280
- var that = this;
281
- that.stopKillSuggestions();
282
- that.intervalId = window.setInterval(function () {
283
- that.hide();
284
- that.stopKillSuggestions();
285
- }, 50);
286
- },
287
-
288
- stopKillSuggestions: function () {
289
- window.clearInterval(this.intervalId);
290
- },
291
-
292
- isCursorAtEnd: function () {
293
- var that = this,
294
- valLength = that.el.val().length,
295
- selectionStart = that.element.selectionStart,
296
- range;
297
-
298
- if (typeof selectionStart === 'number') {
299
- return selectionStart === valLength;
300
- }
301
- if (document.selection) {
302
- range = document.selection.createRange();
303
- range.moveStart('character', -valLength);
304
- return valLength === range.text.length;
305
- }
306
- return true;
307
- },
308
-
309
- onKeyPress: function (e) {
310
- var that = this;
311
-
312
- // If suggestions are hidden and user presses arrow down, display suggestions:
313
- if (!that.disabled && !that.visible && e.which === keys.DOWN && that.currentValue) {
314
- that.suggest();
315
- return;
316
- }
317
-
318
- if (that.disabled || !that.visible) {
319
- return;
320
- }
321
-
322
- switch (e.which) {
323
- case keys.ESC:
324
- that.el.val(that.currentValue);
325
- that.hide();
326
- break;
327
- case keys.RIGHT:
328
- if (that.hint && that.options.onHint && that.isCursorAtEnd()) {
329
- that.selectHint();
330
- break;
331
- }
332
- return;
333
- case keys.TAB:
334
- if (that.hint && that.options.onHint) {
335
- that.selectHint();
336
- return;
337
- }
338
- // Fall through to RETURN
339
- case keys.RETURN:
340
- if (that.selectedIndex === -1) {
341
- that.hide();
342
- return;
343
- }
344
- that.select(that.selectedIndex);
345
- if (e.which === keys.TAB && that.options.tabDisabled === false) {
346
- return;
347
- }
348
- break;
349
- case keys.UP:
350
- that.moveUp();
351
- break;
352
- case keys.DOWN:
353
- that.moveDown();
354
- break;
355
- default:
356
- return;
357
- }
358
-
359
- // Cancel event if function did not return:
360
- e.stopImmediatePropagation();
361
- e.preventDefault();
362
- },
363
-
364
- onKeyUp: function (e) {
365
- var that = this;
366
-
367
- if (that.disabled) {
368
- return;
369
- }
370
-
371
- switch (e.which) {
372
- case keys.UP:
373
- case keys.DOWN:
374
- return;
375
- }
376
-
377
- clearInterval(that.onChangeInterval);
378
-
379
- if (that.currentValue !== that.el.val()) {
380
- that.findBestHint();
381
- if (that.options.deferRequestBy > 0) {
382
- // Defer lookup in case when value changes very quickly:
383
- that.onChangeInterval = setInterval(function () {
384
- that.onValueChange();
385
- }, that.options.deferRequestBy);
386
- } else {
387
- that.onValueChange();
388
- }
389
- }
390
- },
391
-
392
- onValueChange: function () {
393
- var that = this,
394
- options = that.options,
395
- value = that.el.val(),
396
- query = that.getQuery(value),
397
- index;
398
-
399
- if (that.selection) {
400
- that.selection = null;
401
- (options.onInvalidateSelection || $.noop).call(that.element);
402
- }
403
-
404
- clearInterval(that.onChangeInterval);
405
- that.currentValue = value;
406
- that.selectedIndex = -1;
407
-
408
- // Check existing suggestion for the match before proceeding:
409
- if (options.triggerSelectOnValidInput) {
410
- index = that.findSuggestionIndex(query);
411
- if (index !== -1) {
412
- that.select(index);
413
- return;
414
- }
415
- }
416
-
417
- if (query.length < options.minChars) {
418
- that.hide();
419
- } else {
420
- that.getSuggestions(query);
421
- }
422
- },
423
-
424
- findSuggestionIndex: function (query) {
425
- var that = this,
426
- index = -1,
427
- queryLowerCase = query.toLowerCase();
428
-
429
- $.each(that.suggestions, function (i, suggestion) {
430
- if (suggestion.value.toLowerCase() === queryLowerCase) {
431
- index = i;
432
- return false;
433
- }
434
- });
435
-
436
- return index;
437
- },
438
-
439
- getQuery: function (value) {
440
- var delimiter = this.options.delimiter,
441
- parts;
442
-
443
- if (!delimiter) {
444
- return value;
445
- }
446
- parts = value.split(delimiter);
447
- return $.trim(parts[parts.length - 1]);
448
- },
449
-
450
- getSuggestionsLocal: function (query) {
451
- var that = this,
452
- options = that.options,
453
- queryLowerCase = query.toLowerCase(),
454
- filter = options.lookupFilter,
455
- limit = parseInt(options.lookupLimit, 10),
456
- data;
457
-
458
- data = {
459
- suggestions: $.grep(options.lookup, function (suggestion) {
460
- return filter(suggestion, query, queryLowerCase);
461
- })
462
- };
463
-
464
- if (limit && data.suggestions.length > limit) {
465
- data.suggestions = data.suggestions.slice(0, limit);
466
- }
467
-
468
- return data;
469
- },
470
-
471
- getSuggestions: function (q) {
472
- var response,
473
- that = this,
474
- options = that.options,
475
- serviceUrl = options.serviceUrl,
476
- data,
477
- cacheKey;
478
-
479
- options.params[options.paramName] = q;
480
- data = options.ignoreParams ? null : options.params;
481
-
482
- if (that.isLocal) {
483
- response = that.getSuggestionsLocal(q);
484
- } else {
485
- if ($.isFunction(serviceUrl)) {
486
- serviceUrl = serviceUrl.call(that.element, q);
487
- }
488
- cacheKey = serviceUrl + '?' + $.param(data || {});
489
- response = that.cachedResponse[cacheKey];
490
- }
491
-
492
- if (response && $.isArray(response.suggestions)) {
493
- that.suggestions = response.suggestions;
494
- that.suggest();
495
- } else if (!that.isBadQuery(q)) {
496
- if (options.onSearchStart.call(that.element, options.params) === false) {
497
- return;
498
- }
499
- if (that.currentRequest) {
500
- that.currentRequest.abort();
501
- }
502
- that.currentRequest = $.ajax({
503
- url: serviceUrl,
504
- data: data,
505
- type: options.type,
506
- dataType: options.dataType
507
- }).done(function (data) {
508
- that.currentRequest = null;
509
- that.processResponse(data, q, cacheKey);
510
- options.onSearchComplete.call(that.element, q);
511
- }).fail(function (jqXHR, textStatus, errorThrown) {
512
- options.onSearchError.call(that.element, q, jqXHR, textStatus, errorThrown);
513
- });
514
- }
515
- },
516
-
517
- isBadQuery: function (q) {
518
- var badQueries = this.badQueries,
519
- i = badQueries.length;
520
-
521
- while (i--) {
522
- if (q.indexOf(badQueries[i]) === 0) {
523
- return true;
524
- }
525
- }
526
-
527
- return false;
528
- },
529
-
530
- hide: function () {
531
- var that = this;
532
- that.visible = false;
533
- that.selectedIndex = -1;
534
- $(that.suggestionsContainer).hide();
535
- that.signalHint(null);
536
- },
537
-
538
- suggest: function () {
539
- if (this.suggestions.length === 0) {
540
- this.hide();
541
- return;
542
- }
543
-
544
- var that = this,
545
- options = that.options,
546
- formatResult = options.formatResult,
547
- value = that.getQuery(that.currentValue),
548
- className = that.classes.suggestion,
549
- classSelected = that.classes.selected,
550
- container = $(that.suggestionsContainer),
551
- beforeRender = options.beforeRender,
552
- html = '',
553
- index,
554
- width;
555
-
556
- if (options.triggerSelectOnValidInput) {
557
- index = that.findSuggestionIndex(value);
558
- if (index !== -1) {
559
- that.select(index);
560
- return;
561
- }
562
- }
563
-
564
- // Build suggestions inner HTML:
565
- $.each(that.suggestions, function (i, suggestion) {
566
- html += '<div class="' + className + '" data-index="' + i + '">' + formatResult(suggestion, value) + '</div>';
567
- });
568
-
569
- // If width is auto, adjust width before displaying suggestions,
570
- // because if instance was created before input had width, it will be zero.
571
- // Also it adjusts if input width has changed.
572
- // -2px to account for suggestions border.
573
- if (options.width === 'auto') {
574
- width = that.el.outerWidth() - 2;
575
- container.width(width > 0 ? width : 300);
576
- }
577
-
578
- container.html(html);
579
-
580
- // Select first value by default:
581
- if (options.autoSelectFirst) {
582
- that.selectedIndex = 0;
583
- container.children().first().addClass(classSelected);
584
- }
585
-
586
- if ($.isFunction(beforeRender)) {
587
- beforeRender.call(that.element, container);
588
- }
589
-
590
- container.show();
591
- that.visible = true;
592
-
593
- that.findBestHint();
594
- },
595
-
596
- findBestHint: function () {
597
- var that = this,
598
- value = that.el.val().toLowerCase(),
599
- bestMatch = null;
600
-
601
- if (!value) {
602
- return;
603
- }
604
-
605
- $.each(that.suggestions, function (i, suggestion) {
606
- var foundMatch = suggestion.value.toLowerCase().indexOf(value) === 0;
607
- if (foundMatch) {
608
- bestMatch = suggestion;
609
- }
610
- return !foundMatch;
611
- });
612
-
613
- that.signalHint(bestMatch);
614
- },
615
-
616
- signalHint: function (suggestion) {
617
- var hintValue = '',
618
- that = this;
619
- if (suggestion) {
620
- hintValue = that.currentValue + suggestion.value.substr(that.currentValue.length);
621
- }
622
- if (that.hintValue !== hintValue) {
623
- that.hintValue = hintValue;
624
- that.hint = suggestion;
625
- (this.options.onHint || $.noop)(hintValue);
626
- }
627
- },
628
-
629
- verifySuggestionsFormat: function (suggestions) {
630
- // If suggestions is string array, convert them to supported format:
631
- if (suggestions.length && typeof suggestions[0] === 'string') {
632
- return $.map(suggestions, function (value) {
633
- return { value: value, data: null };
634
- });
635
- }
636
-
637
- return suggestions;
638
- },
639
-
640
- processResponse: function (response, originalQuery, cacheKey) {
641
- var that = this,
642
- options = that.options,
643
- result = options.transformResult(response, originalQuery);
644
-
645
- result.suggestions = that.verifySuggestionsFormat(result.suggestions);
646
-
647
- // Cache results if cache is not disabled:
648
- if (!options.noCache) {
649
- that.cachedResponse[cacheKey] = result;
650
- if (result.suggestions.length === 0) {
651
- that.badQueries.push(cacheKey);
652
- }
653
- }
654
-
655
- // Return if originalQuery is not matching current query:
656
- if (originalQuery !== that.getQuery(that.currentValue)) {
657
- return;
658
- }
659
-
660
- that.suggestions = result.suggestions;
661
- that.suggest();
662
- },
663
-
664
- activate: function (index) {
665
- var that = this,
666
- activeItem,
667
- selected = that.classes.selected,
668
- container = $(that.suggestionsContainer),
669
- children = container.children();
670
-
671
- container.children('.' + selected).removeClass(selected);
672
-
673
- that.selectedIndex = index;
674
-
675
- if (that.selectedIndex !== -1 && children.length > that.selectedIndex) {
676
- activeItem = children.get(that.selectedIndex);
677
- $(activeItem).addClass(selected);
678
- return activeItem;
679
- }
680
-
681
- return null;
682
- },
683
-
684
- selectHint: function () {
685
- var that = this,
686
- i = $.inArray(that.hint, that.suggestions);
687
-
688
- that.select(i);
689
- },
690
-
691
- select: function (i) {
692
- var that = this;
693
- that.hide();
694
- that.onSelect(i);
695
- },
696
-
697
- moveUp: function () {
698
- var that = this;
699
-
700
- if (that.selectedIndex === -1) {
701
- return;
702
- }
703
-
704
- if (that.selectedIndex === 0) {
705
- $(that.suggestionsContainer).children().first().removeClass(that.classes.selected);
706
- that.selectedIndex = -1;
707
- that.el.val(that.currentValue);
708
- that.findBestHint();
709
- return;
710
- }
711
-
712
- that.adjustScroll(that.selectedIndex - 1);
713
- },
714
-
715
- moveDown: function () {
716
- var that = this;
717
-
718
- if (that.selectedIndex === (that.suggestions.length - 1)) {
719
- return;
720
- }
721
-
722
- that.adjustScroll(that.selectedIndex + 1);
723
- },
724
-
725
- adjustScroll: function (index) {
726
- var that = this,
727
- activeItem = that.activate(index),
728
- offsetTop,
729
- upperBound,
730
- lowerBound,
731
- heightDelta = 25;
732
-
733
- if (!activeItem) {
734
- return;
735
- }
736
-
737
- offsetTop = activeItem.offsetTop;
738
- upperBound = $(that.suggestionsContainer).scrollTop();
739
- lowerBound = upperBound + that.options.maxHeight - heightDelta;
740
-
741
- if (offsetTop < upperBound) {
742
- $(that.suggestionsContainer).scrollTop(offsetTop);
743
- } else if (offsetTop > lowerBound) {
744
- $(that.suggestionsContainer).scrollTop(offsetTop - that.options.maxHeight + heightDelta);
745
- }
746
-
747
- that.el.val(that.getValue(that.suggestions[index].value));
748
- that.signalHint(null);
749
- },
750
-
751
- onSelect: function (index) {
752
- var that = this,
753
- onSelectCallback = that.options.onSelect,
754
- suggestion = that.suggestions[index];
755
-
756
- that.currentValue = that.getValue(suggestion.value);
757
- that.el.val(that.currentValue);
758
- that.signalHint(null);
759
- that.suggestions = [];
760
- that.selection = suggestion;
761
-
762
- if ($.isFunction(onSelectCallback)) {
763
- onSelectCallback.call(that.element, suggestion);
764
- }
765
- },
766
-
767
- getValue: function (value) {
768
- var that = this,
769
- delimiter = that.options.delimiter,
770
- currentValue,
771
- parts;
772
-
773
- if (!delimiter) {
774
- return value;
775
- }
776
-
777
- currentValue = that.currentValue;
778
- parts = currentValue.split(delimiter);
779
-
780
- if (parts.length === 1) {
781
- return value;
782
- }
783
-
784
- return currentValue.substr(0, currentValue.length - parts[parts.length - 1].length) + value;
785
- },
786
-
787
- dispose: function () {
788
- var that = this;
789
- that.el.off('.autocomplete').removeData('autocomplete');
790
- that.disableKillerFn();
791
- $(window).off('resize.autocomplete', that.fixPositionCapture);
792
- $(that.suggestionsContainer).remove();
793
- }
794
- };
795
-
796
- // Create chainable jQuery plugin:
797
- $.fn.autocomplete = function (options, args) {
798
- var dataKey = 'autocomplete';
799
- // If function invoked without argument return
800
- // instance of the first matched element:
801
- if (arguments.length === 0) {
802
- return this.first().data(dataKey);
803
- }
804
-
805
- return this.each(function () {
806
- var inputElement = $(this),
807
- instance = inputElement.data(dataKey);
808
-
809
- if (typeof options === 'string') {
810
- if (instance && typeof instance[options] === 'function') {
811
- instance[options](args);
812
- }
813
- } else {
814
- // If instance already exists, destroy it:
815
- if (instance && instance.dispose) {
816
- instance.dispose();
817
- }
818
- instance = new Autocomplete(this, options);
819
- inputElement.data(dataKey, instance);
820
- }
821
- });
822
- };
823
- }));