fomantic-ui 2.9.1-beta.20 → 2.9.1-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. package/.eslintrc.js +2 -1
  2. package/.github/workflows/ci.yml +1 -1
  3. package/.stylelintrc.js +34 -21
  4. package/dist/components/accordion.css +1 -1
  5. package/dist/components/accordion.js +1 -1
  6. package/dist/components/accordion.min.css +1 -1
  7. package/dist/components/accordion.min.js +1 -1
  8. package/dist/components/ad.css +1 -1
  9. package/dist/components/ad.min.css +1 -1
  10. package/dist/components/api.js +1 -6
  11. package/dist/components/api.min.js +2 -2
  12. package/dist/components/breadcrumb.css +1 -1
  13. package/dist/components/breadcrumb.min.css +1 -1
  14. package/dist/components/button.css +1 -1
  15. package/dist/components/button.min.css +1 -1
  16. package/dist/components/calendar.css +1 -1
  17. package/dist/components/calendar.js +36 -29
  18. package/dist/components/calendar.min.css +1 -1
  19. package/dist/components/calendar.min.js +2 -2
  20. package/dist/components/card.css +1 -1
  21. package/dist/components/card.min.css +1 -1
  22. package/dist/components/checkbox.css +1 -1
  23. package/dist/components/checkbox.js +1 -1
  24. package/dist/components/checkbox.min.css +1 -1
  25. package/dist/components/checkbox.min.js +1 -1
  26. package/dist/components/comment.css +1 -1
  27. package/dist/components/comment.min.css +1 -1
  28. package/dist/components/container.css +1 -1
  29. package/dist/components/container.min.css +1 -1
  30. package/dist/components/dimmer.css +1 -1
  31. package/dist/components/dimmer.js +1 -1
  32. package/dist/components/dimmer.min.css +1 -1
  33. package/dist/components/dimmer.min.js +1 -1
  34. package/dist/components/divider.css +1 -1
  35. package/dist/components/divider.min.css +1 -1
  36. package/dist/components/dropdown.css +1 -1
  37. package/dist/components/dropdown.js +2 -2
  38. package/dist/components/dropdown.min.css +1 -1
  39. package/dist/components/dropdown.min.js +2 -2
  40. package/dist/components/embed.css +1 -1
  41. package/dist/components/embed.js +1 -1
  42. package/dist/components/embed.min.css +1 -1
  43. package/dist/components/embed.min.js +1 -1
  44. package/dist/components/feed.css +1 -1
  45. package/dist/components/feed.min.css +1 -1
  46. package/dist/components/flag.css +1 -1
  47. package/dist/components/flag.min.css +1 -1
  48. package/dist/components/flyout.css +1 -1
  49. package/dist/components/flyout.js +1 -1
  50. package/dist/components/flyout.min.css +1 -1
  51. package/dist/components/flyout.min.js +1 -1
  52. package/dist/components/form.css +1 -1
  53. package/dist/components/form.js +1 -1
  54. package/dist/components/form.min.css +1 -1
  55. package/dist/components/form.min.js +1 -1
  56. package/dist/components/grid.css +1 -1
  57. package/dist/components/grid.min.css +1 -1
  58. package/dist/components/header.css +1 -1
  59. package/dist/components/header.min.css +1 -1
  60. package/dist/components/icon.css +1 -1
  61. package/dist/components/icon.min.css +1 -1
  62. package/dist/components/image.css +1 -1
  63. package/dist/components/image.min.css +1 -1
  64. package/dist/components/input.css +1 -1
  65. package/dist/components/input.min.css +1 -1
  66. package/dist/components/item.css +1 -1
  67. package/dist/components/item.min.css +1 -1
  68. package/dist/components/label.css +1 -1
  69. package/dist/components/label.min.css +1 -1
  70. package/dist/components/list.css +1 -1
  71. package/dist/components/list.min.css +1 -1
  72. package/dist/components/loader.css +1 -1
  73. package/dist/components/loader.min.css +1 -1
  74. package/dist/components/message.css +1 -1
  75. package/dist/components/message.min.css +1 -1
  76. package/dist/components/modal.css +1 -1
  77. package/dist/components/modal.js +1 -1
  78. package/dist/components/modal.min.css +1 -1
  79. package/dist/components/modal.min.js +1 -1
  80. package/dist/components/nag.css +1 -1
  81. package/dist/components/nag.js +1 -1
  82. package/dist/components/nag.min.css +1 -1
  83. package/dist/components/nag.min.js +1 -1
  84. package/dist/components/placeholder.css +1 -1
  85. package/dist/components/placeholder.min.css +1 -1
  86. package/dist/components/popup.css +1 -1
  87. package/dist/components/popup.js +4 -4
  88. package/dist/components/popup.min.css +1 -1
  89. package/dist/components/popup.min.js +2 -2
  90. package/dist/components/progress.css +1 -1
  91. package/dist/components/progress.js +2 -2
  92. package/dist/components/progress.min.css +1 -1
  93. package/dist/components/progress.min.js +2 -2
  94. package/dist/components/rail.css +1 -1
  95. package/dist/components/rail.min.css +1 -1
  96. package/dist/components/rating.css +1 -1
  97. package/dist/components/rating.js +1 -1
  98. package/dist/components/rating.min.css +1 -1
  99. package/dist/components/rating.min.js +1 -1
  100. package/dist/components/reset.css +1 -1
  101. package/dist/components/reset.min.css +1 -1
  102. package/dist/components/reveal.css +1 -1
  103. package/dist/components/reveal.min.css +1 -1
  104. package/dist/components/search.css +1 -1
  105. package/dist/components/search.js +2 -2
  106. package/dist/components/search.min.css +1 -1
  107. package/dist/components/search.min.js +2 -2
  108. package/dist/components/segment.css +1 -1
  109. package/dist/components/segment.min.css +1 -1
  110. package/dist/components/shape.css +1 -1
  111. package/dist/components/shape.js +1 -1
  112. package/dist/components/shape.min.css +1 -1
  113. package/dist/components/shape.min.js +1 -1
  114. package/dist/components/sidebar.css +1 -1
  115. package/dist/components/sidebar.js +1 -1
  116. package/dist/components/sidebar.min.css +1 -1
  117. package/dist/components/sidebar.min.js +1 -1
  118. package/dist/components/site.css +1 -1
  119. package/dist/components/site.js +1 -1
  120. package/dist/components/site.min.css +1 -1
  121. package/dist/components/site.min.js +1 -1
  122. package/dist/components/slider.js +1 -1
  123. package/dist/components/slider.min.js +1 -1
  124. package/dist/components/state.js +1 -1
  125. package/dist/components/state.min.js +1 -1
  126. package/dist/components/statistic.css +1 -1
  127. package/dist/components/statistic.min.css +1 -1
  128. package/dist/components/step.css +1 -1
  129. package/dist/components/step.min.css +1 -1
  130. package/dist/components/sticky.css +1 -1
  131. package/dist/components/sticky.js +1 -1
  132. package/dist/components/sticky.min.css +1 -1
  133. package/dist/components/sticky.min.js +1 -1
  134. package/dist/components/tab.css +1 -1
  135. package/dist/components/tab.js +1 -1
  136. package/dist/components/tab.min.css +1 -1
  137. package/dist/components/tab.min.js +1 -1
  138. package/dist/components/table.css +1 -1
  139. package/dist/components/table.min.css +1 -1
  140. package/dist/components/text.css +1 -1
  141. package/dist/components/text.min.css +1 -1
  142. package/dist/components/toast.css +1 -1
  143. package/dist/components/toast.js +1 -1
  144. package/dist/components/toast.min.css +1 -1
  145. package/dist/components/toast.min.js +1 -1
  146. package/dist/components/transition.css +30 -40
  147. package/dist/components/transition.js +1 -1
  148. package/dist/components/transition.min.css +1 -1
  149. package/dist/components/transition.min.js +1 -1
  150. package/dist/components/visibility.js +3 -3
  151. package/dist/components/visibility.min.js +2 -2
  152. package/dist/semantic.css +79 -79
  153. package/dist/semantic.js +69 -67
  154. package/dist/semantic.min.css +1 -1
  155. package/dist/semantic.min.js +2 -2
  156. package/package.json +3 -3
  157. package/src/_site/collections/menu.overrides +1 -1
  158. package/src/_site/elements/flag.variables +2 -2
  159. package/src/_site/globals/site.variables +1 -1
  160. package/src/definitions/behaviors/api.js +0 -5
  161. package/src/definitions/behaviors/visibility.js +2 -2
  162. package/src/definitions/collections/breadcrumb.less +0 -1
  163. package/src/definitions/collections/form.less +0 -8
  164. package/src/definitions/collections/grid.less +0 -3
  165. package/src/definitions/collections/menu.less +2 -10
  166. package/src/definitions/collections/message.less +5 -5
  167. package/src/definitions/elements/button.less +0 -22
  168. package/src/definitions/elements/divider.less +0 -8
  169. package/src/definitions/elements/emoji.less +0 -1
  170. package/src/definitions/elements/icon.less +0 -8
  171. package/src/definitions/elements/image.less +0 -2
  172. package/src/definitions/elements/input.less +0 -10
  173. package/src/definitions/elements/label.less +0 -31
  174. package/src/definitions/elements/list.less +0 -4
  175. package/src/definitions/elements/loader.less +0 -3
  176. package/src/definitions/elements/reveal.less +0 -2
  177. package/src/definitions/elements/segment.less +0 -6
  178. package/src/definitions/elements/step.less +0 -3
  179. package/src/definitions/modules/calendar.js +35 -28
  180. package/src/definitions/modules/checkbox.less +0 -15
  181. package/src/definitions/modules/dimmer.less +0 -6
  182. package/src/definitions/modules/dropdown.js +1 -1
  183. package/src/definitions/modules/dropdown.less +1 -15
  184. package/src/definitions/modules/embed.less +0 -1
  185. package/src/definitions/modules/flyout.less +0 -4
  186. package/src/definitions/modules/modal.less +0 -6
  187. package/src/definitions/modules/nag.less +0 -9
  188. package/src/definitions/modules/popup.js +3 -3
  189. package/src/definitions/modules/popup.less +0 -12
  190. package/src/definitions/modules/progress.js +1 -1
  191. package/src/definitions/modules/progress.less +0 -3
  192. package/src/definitions/modules/search.js +1 -1
  193. package/src/definitions/modules/search.less +0 -12
  194. package/src/definitions/modules/shape.less +0 -4
  195. package/src/definitions/modules/sidebar.less +0 -3
  196. package/src/definitions/modules/sticky.less +1 -0
  197. package/src/definitions/modules/tab.less +0 -5
  198. package/src/definitions/views/ad.less +0 -1
  199. package/src/definitions/views/card.less +1 -5
  200. package/src/definitions/views/item.less +0 -1
  201. package/src/themes/amazon/elements/button.overrides +23 -24
  202. package/src/themes/amazon/elements/button.variables +11 -11
  203. package/src/themes/amazon/globals/site.variables +2 -3
  204. package/src/themes/basic/collections/table.overrides +0 -1
  205. package/src/themes/basic/collections/table.variables +3 -3
  206. package/src/themes/basic/elements/button.overrides +0 -1
  207. package/src/themes/basic/elements/button.variables +2 -2
  208. package/src/themes/basic/elements/icon.overrides +12 -13
  209. package/src/themes/basic/elements/icon.variables +13 -13
  210. package/src/themes/basic/elements/step.overrides +2 -2
  211. package/src/themes/basic/elements/step.variables +2 -2
  212. package/src/themes/basic/globals/reset.overrides +1 -1
  213. package/src/themes/basic/globals/reset.variables +1 -1
  214. package/src/themes/basic/views/card.overrides +0 -1
  215. package/src/themes/basic/views/card.variables +3 -3
  216. package/src/themes/bookish/elements/header.overrides +3 -3
  217. package/src/themes/bookish/elements/header.variables +2 -2
  218. package/src/themes/bootstrap3/elements/button.variables +7 -8
  219. package/src/themes/chubby/collections/form.overrides +9 -9
  220. package/src/themes/chubby/collections/form.variables +3 -3
  221. package/src/themes/chubby/collections/menu.variables +1 -1
  222. package/src/themes/chubby/elements/button.overrides +7 -9
  223. package/src/themes/chubby/elements/button.variables +2 -2
  224. package/src/themes/chubby/elements/header.variables +3 -3
  225. package/src/themes/chubby/modules/accordion.overrides +2 -2
  226. package/src/themes/chubby/modules/accordion.variables +3 -3
  227. package/src/themes/chubby/views/comment.overrides +5 -5
  228. package/src/themes/chubby/views/comment.variables +4 -4
  229. package/src/themes/classic/collections/table.variables +2 -2
  230. package/src/themes/classic/elements/button.variables +20 -21
  231. package/src/themes/classic/elements/header.variables +3 -3
  232. package/src/themes/classic/modules/progress.variables +1 -1
  233. package/src/themes/classic/views/card.overrides +14 -14
  234. package/src/themes/classic/views/card.variables +4 -4
  235. package/src/themes/colored/modules/checkbox.variables +1 -1
  236. package/src/themes/default/collections/breadcrumb.variables +4 -4
  237. package/src/themes/default/collections/form.variables +12 -12
  238. package/src/themes/default/collections/grid.overrides +0 -1
  239. package/src/themes/default/collections/grid.variables +14 -16
  240. package/src/themes/default/collections/menu.variables +19 -31
  241. package/src/themes/default/collections/message.variables +83 -84
  242. package/src/themes/default/collections/table.variables +16 -18
  243. package/src/themes/default/elements/button.variables +30 -31
  244. package/src/themes/default/elements/container.variables +4 -5
  245. package/src/themes/default/elements/divider.overrides +8 -9
  246. package/src/themes/default/elements/divider.variables +4 -5
  247. package/src/themes/default/elements/emoji.overrides +0 -1
  248. package/src/themes/default/elements/emoji.variables +3555 -3555
  249. package/src/themes/default/elements/flag.variables +1594 -1594
  250. package/src/themes/default/elements/header.overrides +0 -1
  251. package/src/themes/default/elements/header.variables +16 -16
  252. package/src/themes/default/elements/icon.variables +2002 -2004
  253. package/src/themes/default/elements/image.variables +6 -7
  254. package/src/themes/default/elements/input.variables +10 -10
  255. package/src/themes/default/elements/label.variables +19 -20
  256. package/src/themes/default/elements/list.variables +16 -16
  257. package/src/themes/default/elements/loader.variables +15 -16
  258. package/src/themes/default/elements/placeholder.variables +6 -7
  259. package/src/themes/default/elements/rail.variables +4 -5
  260. package/src/themes/default/elements/segment.variables +18 -22
  261. package/src/themes/default/elements/step.overrides +4 -4
  262. package/src/themes/default/elements/step.variables +14 -16
  263. package/src/themes/default/elements/text.variables +2 -3
  264. package/src/themes/default/globals/colors.less +22 -22
  265. package/src/themes/default/globals/reset.overrides +57 -57
  266. package/src/themes/default/globals/reset.variables +1 -1
  267. package/src/themes/default/globals/site.variables +861 -875
  268. package/src/themes/default/globals/variation.variables +0 -3
  269. package/src/themes/default/modules/accordion.overrides +11 -11
  270. package/src/themes/default/modules/accordion.variables +14 -15
  271. package/src/themes/default/modules/chatroom.variables +1 -1
  272. package/src/themes/default/modules/checkbox.overrides +6 -7
  273. package/src/themes/default/modules/checkbox.variables +17 -22
  274. package/src/themes/default/modules/dimmer.variables +7 -8
  275. package/src/themes/default/modules/dropdown.overrides +17 -17
  276. package/src/themes/default/modules/dropdown.variables +20 -21
  277. package/src/themes/default/modules/embed.variables +9 -10
  278. package/src/themes/default/modules/flyout.variables +6 -6
  279. package/src/themes/default/modules/modal.variables +18 -18
  280. package/src/themes/default/modules/nag.variables +10 -13
  281. package/src/themes/default/modules/popup.variables +12 -13
  282. package/src/themes/default/modules/progress.variables +10 -11
  283. package/src/themes/default/modules/rating.variables +10 -11
  284. package/src/themes/default/modules/search.variables +9 -11
  285. package/src/themes/default/modules/shape.variables +6 -6
  286. package/src/themes/default/modules/sidebar.variables +4 -4
  287. package/src/themes/default/modules/slider.variables +48 -49
  288. package/src/themes/default/modules/sticky.variables +1 -1
  289. package/src/themes/default/modules/toast.variables +1 -1
  290. package/src/themes/default/modules/transition.overrides +936 -915
  291. package/src/themes/default/views/card.variables +20 -22
  292. package/src/themes/default/views/comment.variables +6 -8
  293. package/src/themes/default/views/feed.variables +6 -6
  294. package/src/themes/default/views/item.variables +6 -9
  295. package/src/themes/default/views/statistic.variables +8 -8
  296. package/src/themes/duo/elements/loader.variables +1 -1
  297. package/src/themes/famfamfam/elements/flag.overrides +263 -268
  298. package/src/themes/famfamfam/elements/flag.variables +3 -3
  299. package/src/themes/fixed-width/collections/grid.variables +1 -1
  300. package/src/themes/fixed-width/modules/modal.variables +3 -5
  301. package/src/themes/flat/collections/form.overrides +9 -9
  302. package/src/themes/flat/collections/form.variables +4 -5
  303. package/src/themes/flat/globals/site.variables +61 -66
  304. package/src/themes/github/collections/breadcrumb.variables +0 -1
  305. package/src/themes/github/collections/form.overrides +7 -8
  306. package/src/themes/github/collections/form.variables +12 -13
  307. package/src/themes/github/collections/grid.variables +1 -2
  308. package/src/themes/github/collections/menu.overrides +2 -2
  309. package/src/themes/github/collections/menu.variables +11 -12
  310. package/src/themes/github/collections/message.overrides +3 -3
  311. package/src/themes/github/collections/message.variables +5 -5
  312. package/src/themes/github/collections/table.variables +1 -1
  313. package/src/themes/github/elements/button.overrides +0 -1
  314. package/src/themes/github/elements/button.variables +14 -14
  315. package/src/themes/github/elements/header.variables +2 -2
  316. package/src/themes/github/elements/icon.overrides +179 -179
  317. package/src/themes/github/elements/icon.variables +10 -10
  318. package/src/themes/github/elements/image.variables +1 -1
  319. package/src/themes/github/elements/input.overrides +16 -16
  320. package/src/themes/github/elements/input.variables +3 -3
  321. package/src/themes/github/elements/label.overrides +3 -3
  322. package/src/themes/github/elements/label.variables +0 -1
  323. package/src/themes/github/elements/segment.variables +2 -3
  324. package/src/themes/github/elements/step.overrides +13 -13
  325. package/src/themes/github/elements/step.variables +2 -2
  326. package/src/themes/github/globals/site.variables +2 -2
  327. package/src/themes/github/modules/dropdown.overrides +18 -19
  328. package/src/themes/github/modules/dropdown.variables +1 -1
  329. package/src/themes/github/modules/popup.variables +0 -2
  330. package/src/themes/instagram/views/card.overrides +3 -4
  331. package/src/themes/instagram/views/card.variables +3 -4
  332. package/src/themes/joypixels/elements/emoji.overrides +0 -2
  333. package/src/themes/joypixels/elements/emoji.variables +3554 -3554
  334. package/src/themes/material/collections/menu.variables +1 -1
  335. package/src/themes/material/elements/button.overrides +6 -8
  336. package/src/themes/material/elements/button.variables +28 -28
  337. package/src/themes/material/elements/header.overrides +2 -2
  338. package/src/themes/material/elements/header.variables +2 -4
  339. package/src/themes/material/elements/icon.overrides +932 -932
  340. package/src/themes/material/elements/icon.variables +11 -11
  341. package/src/themes/material/globals/site.variables +78 -79
  342. package/src/themes/material/modules/dropdown.overrides +1 -1
  343. package/src/themes/material/modules/dropdown.variables +1 -1
  344. package/src/themes/material/modules/modal.overrides +2 -2
  345. package/src/themes/material/modules/modal.variables +1 -2
  346. package/src/themes/pulsar/elements/loader.overrides +58 -58
  347. package/src/themes/raised/elements/button.variables +8 -8
  348. package/src/themes/resetcss/globals/reset.overrides +115 -33
  349. package/src/themes/resetcss/globals/reset.variables +1 -1
  350. package/src/themes/round/elements/button.variables +11 -14
  351. package/src/themes/rtl/globals/site.variables +5 -6
  352. package/src/themes/striped/modules/progress.overrides +20 -16
  353. package/src/themes/systemfont/globals/reset.overrides +1 -1
  354. package/src/themes/systemfont/globals/site.variables +5 -5
  355. package/src/themes/timeline/views/feed.overrides +12 -12
  356. package/src/themes/timeline/views/feed.variables +4 -4
  357. package/src/themes/twitter/elements/button.overrides +4 -5
  358. package/src/themes/twitter/elements/button.variables +6 -7
  359. package/src/themes/twitter/elements/emoji.variables +3555 -3555
  360. package/tasks/docs/metadata.js +2 -2
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.1-beta.20+d4987bf
2
+ * # Fomantic UI - 2.9.1-beta.21+2722e1b
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -8,4 +8,4 @@
8
8
  * https://opensource.org/licenses/MIT
9
9
  *
10
10
  */
11
- !function(k,E,F,D){"use strict";function O(e){return"function"==typeof e&&"number"!=typeof e.nodeType}E=void 0!==E&&E.Math==Math?E:globalThis,k.fn.search=function(R){var S,x=k(this),C=x.selector||"",w=(new Date).getTime(),T=[],A=R,j="string"==typeof A,q=[].slice.call(arguments,1);return k(this).each(function(){var l=k.isPlainObject(R)?k.extend(!0,{},k.fn.search.settings,R):k.extend({},k.fn.search.settings),d=l.className,c=l.metadata,n=l.regExp,i=l.fields,f=l.selector,g=l.error,e=l.namespace,r="."+e,t=e+"-module",p=k(this),h=p.find(f.prompt),s=p.find(f.searchButton),a=p.find(f.results),o=p.find(f.result),u=(p.find(f.category),this),m=p.data(t),v=!1,y=!1,b={initialize:function(){b.verbose("Initializing module"),b.get.settings(),b.determine.searchFields(),b.bind.events(),b.set.type(),b.create.results(),b.instantiate()},instantiate:function(){b.verbose("Storing instance of module",b),m=b,p.data(t,b)},destroy:function(){b.verbose("Destroying instance"),p.off(r).removeData(t)},refresh:function(){b.debug("Refreshing selector cache"),h=p.find(f.prompt),s=p.find(f.searchButton),p.find(f.category),a=p.find(f.results),o=p.find(f.result)},refreshResults:function(){a=p.find(f.results),o=p.find(f.result)},bind:{events:function(){b.verbose("Binding events to search"),l.automatic&&(p.on(b.get.inputEvent()+r,f.prompt,b.event.input),h.attr("autocomplete",b.is.chrome()?"fomantic-search":"off")),p.on("focus"+r,f.prompt,b.event.focus).on("blur"+r,f.prompt,b.event.blur).on("keydown"+r,f.prompt,b.handleKeyboard).on("click"+r,f.searchButton,b.query).on("mousedown"+r,f.results,b.event.result.mousedown).on("mouseup"+r,f.results,b.event.result.mouseup).on("click"+r,f.result,b.event.result.click)}},determine:{searchFields:function(){R&&R.searchFields!==D&&(l.searchFields=R.searchFields)}},event:{input:function(){l.searchDelay?(clearTimeout(b.timer),b.timer=setTimeout(function(){b.is.focused()&&b.query()},l.searchDelay)):b.query()},focus:function(){b.set.focus(),l.searchOnFocus&&b.has.minimumCharacters()&&b.query(function(){b.can.show()&&b.showResults()})},blur:function(e){function t(){b.cancel.query(),b.remove.focus(),b.timer=setTimeout(b.hideResults,l.hideDelay)}var s=F.activeElement===this;s||(y=!1,b.resultsClicked?(b.debug("Determining if user action caused search to close"),p.one("click.close"+r,f.results,function(e){b.is.inMessage(e)||v?h.trigger("focus"):(v=!1,b.is.animating()||b.is.hidden()||t())})):(b.debug("Input blurred without user action, closing results"),t()))},result:{mousedown:function(){b.resultsClicked=!0},mouseup:function(){b.resultsClicked=!1},click:function(e){b.debug("Search result selected");var t=k(this),s=t.find(f.title).eq(0),n=t.is("a[href]")?t:t.find("a[href]").eq(0),r=n.attr("href")||!1,i=n.attr("target")||!1,s=0<s.length&&s.text(),a=b.get.results(),t=t.data(c.result)||b.get.result(s,a),o=b.get.value();if(O(l.onSelect)&&!1===l.onSelect.call(u,t,a))return b.debug("Custom onSelect callback cancelled default select action"),void(v=!0);b.hideResults(),s&&b.get.value()===o&&b.set.value(s),r&&(e.preventDefault(),b.verbose("Opening search link found in result",n),"_blank"==i||e.ctrlKey?E.open(r):E.location.href=r)}}},ensureVisible:function(e){var t,s,n;0!==e.length&&(e=(t=e.position().top)+e.outerHeight(!0),s=a.scrollTop(),n=a.height(),t<0?a.scrollTop(s+t):n<e&&a.scrollTop(s+(e-n)))},handleKeyboard:function(e){var t,s=p.find(f.result),n=p.find(f.category),r=s.filter("."+d.active),i=s.index(r),a=s.length,r=0<r.length,o=e.which,c=13,u=38,l=40;if(o==27&&(b.is.visible()?b.hideResults():(b.verbose("Escape key pressed, blurring search field"),h.trigger("blur")),e.stopPropagation(),y=!0),b.is.visible())if(o==c){if(b.verbose("Enter key pressed, selecting active result"),0<s.filter("."+d.active).length)return b.event.result.click.call(s.filter("."+d.active),e),e.preventDefault(),!1}else o==u&&r?(b.verbose("Up key pressed, changing active result"),t=i-1<0?i:i-1,n.removeClass(d.active),s.removeClass(d.active).eq(t).addClass(d.active).closest(n).addClass(d.active),b.ensureVisible(s.eq(t)),e.preventDefault()):o==l&&(b.verbose("Down key pressed, changing active result"),t=a<=i+1?i:i+1,n.removeClass(d.active),s.removeClass(d.active).eq(t).addClass(d.active).closest(n).addClass(d.active),b.ensureVisible(s.eq(t)),e.preventDefault());else o==c&&(b.verbose("Enter key pressed, executing query"),b.query(),b.set.buttonPressed(),h.one("keyup",b.remove.buttonFocus))},setup:{api:function(n,r){var e={debug:l.debug,on:!1,cache:l.cache,action:"search",urlData:{query:n}};k.extend(!0,e,l.apiSettings,{onSuccess:function(e,t,s){b.parse.response.call(u,e,n),r(),l.apiSettings&&"function"==typeof l.apiSettings.onSuccess&&l.apiSettings.onSuccess.call(this,e,t,s)},onFailure:function(e,t,s){b.displayMessage(g.serverError),r(),l.apiSettings&&"function"==typeof l.apiSettings.onFailure&&l.apiSettings.onFailure.call(this,e,t,s)},onAbort:function(e,t,s){l.apiSettings&&"function"==typeof l.apiSettings.onAbort&&l.apiSettings.onAbort.call(this,e,t,s)},onError:function(e,t,s){b.error(),l.apiSettings&&"function"==typeof l.apiSettings.onError&&l.apiSettings.onError.call(this,e,t,s)}}),b.verbose("Setting up API request",e),p.api(e)}},can:{useAPI:function(){return k.fn.api!==D},show:function(){return b.is.focused()&&!b.is.visible()&&!b.is.empty()},transition:function(){return l.transition&&k.fn.transition!==D&&p.transition("is supported")}},is:{animating:function(){return a.hasClass(d.animating)},chrome:function(){return!!E.chrome&&!E.StyleMedia},hidden:function(){return a.hasClass(d.hidden)},inMessage:function(e){var t;if(e.target)return t=k(e.target),k.contains(F.documentElement,e.target)&&0<t.closest(f.message).length},empty:function(){return""===a.html()},visible:function(){return 0<a.filter(":visible").length},focused:function(){return 0<h.filter(":focus").length}},get:{settings:function(){k.isPlainObject(R)&&R.searchFullText&&(l.fullTextSearch=R.searchFullText,b.error(l.error.oldSearchSyntax,u)),l.ignoreDiacritics&&!String.prototype.normalize&&(l.ignoreDiacritics=!1,b.error(g.noNormalize,u))},inputEvent:function(){var e=h[0];return e!==D&&e.oninput!==D?"input":e!==D&&e.onpropertychange!==D?"propertychange":"keyup"},value:function(){return h.val()},results:function(){return p.data(c.results)},result:function(s,e){var n=!1;return s=s!==D?s:b.get.value(),e=e!==D?e:b.get.results(),"category"===l.type?(b.debug("Finding result that matches",s),k.each(e,function(e,t){if(Array.isArray(t.results)&&(n=b.search.object(s,t.results)[0]))return!1})):(b.debug("Finding result in results object",s),n=b.search.object(s,e)[0]),n||!1}},select:{firstResult:function(){b.verbose("Selecting first result"),o.first().addClass(d.active)}},set:{focus:function(){p.addClass(d.focus)},loading:function(){p.addClass(d.loading)},value:function(e){b.verbose("Setting search input value",e),h.val(e)},type:function(e){e=e||l.type,d[e]&&p.addClass(d[e])},buttonPressed:function(){s.addClass(d.pressed)}},remove:{loading:function(){p.removeClass(d.loading)},focus:function(){p.removeClass(d.focus)},buttonPressed:function(){s.removeClass(d.pressed)},diacritics:function(e){return l.ignoreDiacritics?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}},query:function(e){e=O(e)?e:function(){};var t=b.get.value(),s=b.read.cache(t);e=e||function(){},b.has.minimumCharacters()?(s?(b.debug("Reading result from cache",t),b.save.results(s.results),b.addResults(s.html),b.inject.id(s.results),e()):(b.debug("Querying for",t),k.isPlainObject(l.source)||Array.isArray(l.source)?(b.search.local(t),e()):b.can.useAPI()?b.search.remote(t,e):(b.error(g.source),e())),l.onSearchQuery.call(u,t)):b.hideResults()},search:{local:function(e){var t,s=b.search.object(e,l.source);b.set.loading(),b.save.results(s),b.debug("Returned full local search results",s),0<l.maxResults&&(b.debug("Using specified max results",s),s=s.slice(0,l.maxResults)),"category"==l.type&&(s=b.create.categoryResults(s)),t=b.generateResults({results:s}),b.remove.loading(),b.addResults(t),b.inject.id(s),b.write.cache(e,{html:t,results:s})},remote:function(e,t){t=O(t)?t:function(){},p.api("is loading")&&p.api("abort"),b.setup.api(e,t),p.api("query")},object:function(r,t,e){r=b.remove.diacritics(String(r));function i(e,t){var s=-1==k.inArray(t,a),n=-1==k.inArray(t,c),r=-1==k.inArray(t,o);s&&n&&r&&e.push(t)}var a=[],o=[],c=[],s=r.replace(n.escape,"\\$&"),u=new RegExp(n.beginsWith+s,"i");return t=t||l.source,e=e!==D?e:l.searchFields,Array.isArray(e)||(e=[e]),t===D||!1===t?(b.error(g.source),[]):(k.each(e,function(e,n){k.each(t,function(e,t){var s;"string"!=typeof t[n]&&"number"!=typeof t[n]||(-1!==(s="string"==typeof t[n]?b.remove.diacritics(t[n]):t[n].toString()).search(u)?i(a,t):"exact"===l.fullTextSearch&&b.exactSearch(r,s)?i(o,t):!0===l.fullTextSearch&&b.fuzzySearch(r,s)&&i(c,t))})}),k.merge(o,c),k.merge(a,o),a)}},exactSearch:function(e,t){return e=e.toLowerCase(),-1<(t=t.toLowerCase()).indexOf(e)},fuzzySearch:function(e,t){var s=t.length,n=e.length;if("string"!=typeof e)return!1;if(e=e.toLowerCase(),t=t.toLowerCase(),s<n)return!1;if(n===s)return e===t;e:for(var r=0,i=0;r<n;r++){for(var a=e.charCodeAt(r);i<s;)if(t.charCodeAt(i++)===a)continue e;return!1}return!0},parse:{response:function(e,t){Array.isArray(e)&&((s={})[i.results]=e,e=s);var s=b.generateResults(e);b.verbose("Parsing server response",e),e!==D&&t!==D&&e[i.results]!==D&&(b.addResults(s),b.inject.id(e[i.results]),b.write.cache(t,{html:s,results:e[i.results]}),b.save.results(e[i.results]))}},cancel:{query:function(){b.can.useAPI()&&p.api("abort")}},has:{minimumCharacters:function(){return b.get.value().length>=l.minCharacters},results:function(){return 0!==a.length&&""!=a.html()}},clear:{cache:function(e){var t=p.data(c.cache);e?t&&t[e]&&(b.debug("Removing value from cache",e),delete t[e],p.data(c.cache,t)):(b.debug("Clearing cache",e),p.removeData(c.cache))}},read:{cache:function(e){var t=p.data(c.cache);return!!l.cache&&(b.verbose("Checking cache for generated html for query",e),"object"==typeof t&&t[e]!==D&&t[e])}},create:{categoryResults:function(e){var s={};return k.each(e,function(e,t){t.category&&(s[t.category]===D?(b.verbose("Creating new category of results",t.category),s[t.category]={name:t.category,results:[t]}):s[t.category].results.push(t))}),s},id:function(e,t){var s,e=e+1;return t!==D?(t=String.fromCharCode(97+t),b.verbose("Creating category result id",s=t+e)):b.verbose("Creating result id",s=e),s},results:function(){0===a.length&&(a=k("<div />").addClass(d.results).appendTo(p))}},inject:{result:function(e,t,s){b.verbose("Injecting result into results");s=(s!==D?a.children().eq(s).children(f.results).first():a).children(f.result).eq(t);b.verbose("Injecting results metadata",s),s.data(c.result,e)},id:function(e){b.debug("Injecting unique ids into results");var s=0,n=0;return"category"===l.type?k.each(e,function(e,t){0<t.results.length&&(n=0,k.each(t.results,function(e,t){t.id===D&&(t.id=b.create.id(n,s)),b.inject.result(t,n,s),n++}),s++)}):k.each(e,function(e,t){t.id===D&&(t.id=b.create.id(n)),b.inject.result(t,n),n++}),e}},save:{results:function(e){b.verbose("Saving current search results to metadata",e),p.data(c.results,e)}},write:{cache:function(e,t){var s=p.data(c.cache)!==D?p.data(c.cache):{};l.cache&&(b.verbose("Writing generated html to cache",e,t),s[e]=t,p.data(c.cache,s))}},addResults:function(e){if(O(l.onResultsAdd)&&!1===l.onResultsAdd.call(a,e))return b.debug("onResultsAdd callback cancelled default action"),!1;e?(a.html(e),b.refreshResults(),l.selectFirstResult&&b.select.firstResult(),b.showResults()):b.hideResults(function(){a.empty()})},showResults:function(e){e=O(e)?e:function(){},y||!b.is.visible()&&b.has.results()&&(b.can.transition()?(b.debug("Showing results with css animations"),a.transition({animation:l.transition+" in",debug:l.debug,verbose:l.verbose,silent:l.silent,duration:l.duration,onShow:function(){var e=p.find(f.result).eq(0);b.ensureVisible(e)},onComplete:function(){e()},queue:!0})):(b.debug("Showing results with javascript"),a.stop().fadeIn(l.duration,l.easing)),l.onResultsOpen.call(a))},hideResults:function(e){e=O(e)?e:function(){},b.is.visible()&&(b.can.transition()?(b.debug("Hiding results with css animations"),a.transition({animation:l.transition+" out",debug:l.debug,verbose:l.verbose,silent:l.silent,duration:l.duration,onComplete:function(){e()},queue:!0})):(b.debug("Hiding results with javascript"),a.stop().fadeOut(l.duration,l.easing)),l.onResultsClose.call(a))},generateResults:function(e){b.debug("Generating html from response",e);var t=l.templates[l.type],s=k.isPlainObject(e[i.results])&&!k.isEmptyObject(e[i.results]),n=Array.isArray(e[i.results])&&0<e[i.results].length,r="";return s||n?(0<l.maxResults&&(s?"standard"==l.type&&b.error(g.maxResults):e[i.results]=e[i.results].slice(0,l.maxResults)),O(t)?r=t(e,i,l.preserveHTML):b.error(g.noTemplate,!1)):l.showNoResults&&(r=b.displayMessage(g.noResults,"empty",g.noResultsHeader)),l.onResults.call(u,e),r},displayMessage:function(e,t,s){return b.debug("Displaying message",e,t=t||"standard",s),b.addResults(l.templates.message(e,t,s)),l.templates.message(e,t,s)},setting:function(e,t){if(k.isPlainObject(e))k.extend(!0,l,e);else{if(t===D)return l[e];l[e]=t}},internal:function(e,t){if(k.isPlainObject(e))k.extend(!0,b,e);else{if(t===D)return b[e];b[e]=t}},debug:function(){!l.silent&&l.debug&&(l.performance?b.performance.log(arguments):(b.debug=Function.prototype.bind.call(console.info,console,l.name+":"),b.debug.apply(console,arguments)))},verbose:function(){!l.silent&&l.verbose&&l.debug&&(l.performance?b.performance.log(arguments):(b.verbose=Function.prototype.bind.call(console.info,console,l.name+":"),b.verbose.apply(console,arguments)))},error:function(){l.silent||(b.error=Function.prototype.bind.call(console.error,console,l.name+":"),b.error.apply(console,arguments))},performance:{log:function(e){var t,s;l.performance&&(s=(t=(new Date).getTime())-(w||t),w=t,T.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:u,"Execution Time":s})),clearTimeout(b.performance.timer),b.performance.timer=setTimeout(b.performance.display,500)},display:function(){var e=l.name+":",s=0;w=!1,clearTimeout(b.performance.timer),k.each(T,function(e,t){s+=t["Execution Time"]}),e+=" "+s+"ms",C&&(e+=" '"+C+"'"),1<x.length&&(e+=" ("+x.length+")"),(console.group!==D||console.table!==D)&&0<T.length&&(console.groupCollapsed(e),console.table?console.table(T):k.each(T,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),T=[]}},invoke:function(n,e,t){var r,i,s,a=m;return e=e||q,t=t||u,"string"==typeof n&&a!==D&&(n=n.split(/[\. ]/),r=n.length-1,k.each(n,function(e,t){var s=e!=r?t+n[e+1].charAt(0).toUpperCase()+n[e+1].slice(1):n;if(k.isPlainObject(a[s])&&e!=r)a=a[s];else{if(a[s]!==D)return i=a[s],!1;{if(!k.isPlainObject(a[t])||e==r)return a[t]!==D&&(i=a[t]),!1;a=a[t]}}})),O(i)?s=i.apply(t,e):i!==D&&(s=i),Array.isArray(S)?S.push(s):S!==D?S=[S,s]:s!==D&&(S=s),i}};j?(m===D&&b.initialize(),b.invoke(A)):(m!==D&&m.invoke("destroy"),b.initialize())}),S!==D?S:this},k.fn.search.settings={name:"Search",namespace:"search",silent:!1,debug:!1,verbose:!1,performance:!0,type:"standard",minCharacters:1,selectFirstResult:!1,apiSettings:!1,source:!1,searchOnFocus:!0,searchFields:["id","title","description"],displayField:"",fullTextSearch:"exact",ignoreDiacritics:!1,automatic:!0,hideDelay:0,searchDelay:200,maxResults:7,cache:!0,showNoResults:!0,preserveHTML:!0,transition:"scale",duration:200,easing:"easeOutExpo",onSelect:!1,onResultsAdd:!1,onSearchQuery:function(e){},onResults:function(e){},onResultsOpen:function(){},onResultsClose:function(){},className:{animating:"animating",active:"active",category:"category",empty:"empty",focus:"focus",hidden:"hidden",loading:"loading",results:"results",pressed:"down"},error:{source:"Cannot search. No source used, and Semantic API module was not included",noResultsHeader:"No Results",noResults:"Your search returned no results",logging:"Error in debug logging, exiting.",noEndpoint:"No search endpoint was specified",noTemplate:"A valid template name was not specified.",oldSearchSyntax:"searchFullText setting has been renamed fullTextSearch for consistency, please adjust your settings.",serverError:"There was an issue querying the server.",maxResults:"Results must be an array to use maxResults setting",method:"The method you called is not defined.",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.'},metadata:{cache:"cache",results:"results",result:"result"},regExp:{escape:/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,beginsWith:"(?:s|^)"},fields:{categories:"results",categoryName:"name",categoryResults:"results",description:"description",image:"image",price:"price",results:"results",title:"title",url:"url",action:"action",actionText:"text",actionURL:"url"},selector:{prompt:".prompt",searchButton:".search.button",results:".results",message:".results > .message",category:".category",result:".result",title:".title, .name"},templates:{escape:function(e,t){if(t)return e;var s={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};return/[&<>"'`]/.test(e)?(e=e.replace(/&(?![a-z0-9#]{1,12};)/gi,"&amp;")).replace(/[<>"'`]/g,function(e){return s[e]}):e},message:function(e,t,s){var n="";return e!==D&&t!==D&&(n+='<div class="message '+t+'">',s&&(n+='<div class="header">'+s+"</div>"),n=n+' <div class="description">'+e+"</div></div>"),n},category:function(e,s,n){var r="",i=k.fn.search.settings.templates.escape;return e[s.categoryResults]!==D&&(k.each(e[s.categoryResults],function(e,t){t[s.results]!==D&&0<t.results.length&&(r+='<div class="category">',t[s.categoryName]!==D&&(r+='<div class="name">'+i(t[s.categoryName],n)+"</div>"),r+='<div class="results">',k.each(t.results,function(e,t){t[s.url]?r+='<a class="result" href="'+t[s.url].replace(/"/g,"")+'">':r+='<a class="result">',t[s.image]!==D&&(r+='<div class="image"> <img src="'+t[s.image].replace(/"/g,"")+'"></div>'),r+='<div class="content">',t[s.price]!==D&&(r+='<div class="price">'+i(t[s.price],n)+"</div>"),t[s.title]!==D&&(r+='<div class="title">'+i(t[s.title],n)+"</div>"),t[s.description]!==D&&(r+='<div class="description">'+i(t[s.description],n)+"</div>"),r+="</div></a>"}),r+="</div></div>")}),e[s.action]&&(!1===s.actionURL?r+='<div class="action">'+i(e[s.action][s.actionText],n)+"</div>":r+='<a href="'+e[s.action][s.actionURL].replace(/"/g,"")+'" class="action">'+i(e[s.action][s.actionText],n)+"</a>"),r)},standard:function(e,s,n){var r="",i=k.fn.search.settings.templates.escape;return e[s.results]!==D&&(k.each(e[s.results],function(e,t){t[s.url]?r+='<a class="result" href="'+t[s.url].replace(/"/g,"")+'">':r+='<a class="result">',t[s.image]!==D&&(r+='<div class="image"> <img src="'+t[s.image].replace(/"/g,"")+'"></div>'),r+='<div class="content">',t[s.price]!==D&&(r+='<div class="price">'+i(t[s.price],n)+"</div>"),t[s.title]!==D&&(r+='<div class="title">'+i(t[s.title],n)+"</div>"),t[s.description]!==D&&(r+='<div class="description">'+i(t[s.description],n)+"</div>"),r+="</div></a>"}),e[s.action]&&(!1===s.actionURL?r+='<div class="action">'+i(e[s.action][s.actionText],n)+"</div>":r+='<a href="'+e[s.action][s.actionURL].replace(/"/g,"")+'" class="action">'+i(e[s.action][s.actionText],n)+"</a>"),r)}}},k.extend(k.easing,{easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)}})}(jQuery,window,document);
11
+ !function(k,E,F,D){"use strict";function O(e){return"function"==typeof e&&"number"!=typeof e.nodeType}E=void 0!==E&&E.Math==Math?E:globalThis,k.fn.search=function(R){var S,x=k(this),C=x.selector||"",w=(new Date).getTime(),T=[],A=R,j="string"==typeof A,q=[].slice.call(arguments,1);return k(this).each(function(){var l=k.isPlainObject(R)?k.extend(!0,{},k.fn.search.settings,R):k.extend({},k.fn.search.settings),d=l.className,c=l.metadata,n=l.regExp,i=l.fields,f=l.selector,g=l.error,e=l.namespace,r="."+e,t=e+"-module",p=k(this),h=p.find(f.prompt),s=p.find(f.searchButton),a=p.find(f.results),o=p.find(f.result),u=(p.find(f.category),this),m=p.data(t),v=!1,y=!1,b={initialize:function(){b.verbose("Initializing module"),b.get.settings(),b.determine.searchFields(),b.bind.events(),b.set.type(),b.create.results(),b.instantiate()},instantiate:function(){b.verbose("Storing instance of module",b),m=b,p.data(t,b)},destroy:function(){b.verbose("Destroying instance"),p.off(r).removeData(t)},refresh:function(){b.debug("Refreshing selector cache"),h=p.find(f.prompt),s=p.find(f.searchButton),p.find(f.category),a=p.find(f.results),o=p.find(f.result)},refreshResults:function(){a=p.find(f.results),o=p.find(f.result)},bind:{events:function(){b.verbose("Binding events to search"),l.automatic&&(p.on(b.get.inputEvent()+r,f.prompt,b.event.input),h.attr("autocomplete",b.is.chrome()?"fomantic-search":"off")),p.on("focus"+r,f.prompt,b.event.focus).on("blur"+r,f.prompt,b.event.blur).on("keydown"+r,f.prompt,b.handleKeyboard).on("click"+r,f.searchButton,b.query).on("mousedown"+r,f.results,b.event.result.mousedown).on("mouseup"+r,f.results,b.event.result.mouseup).on("click"+r,f.result,b.event.result.click)}},determine:{searchFields:function(){R&&R.searchFields!==D&&(l.searchFields=R.searchFields)}},event:{input:function(){l.searchDelay?(clearTimeout(b.timer),b.timer=setTimeout(function(){b.is.focused()&&b.query()},l.searchDelay)):b.query()},focus:function(){b.set.focus(),l.searchOnFocus&&b.has.minimumCharacters()&&b.query(function(){b.can.show()&&b.showResults()})},blur:function(e){function t(){b.cancel.query(),b.remove.focus(),b.timer=setTimeout(b.hideResults,l.hideDelay)}var s=F.activeElement===this;s||(y=!1,b.resultsClicked?(b.debug("Determining if user action caused search to close"),p.one("click.close"+r,f.results,function(e){b.is.inMessage(e)||v?h.trigger("focus"):(v=!1,b.is.animating()||b.is.hidden()||t())})):(b.debug("Input blurred without user action, closing results"),t()))},result:{mousedown:function(){b.resultsClicked=!0},mouseup:function(){b.resultsClicked=!1},click:function(e){b.debug("Search result selected");var t=k(this),s=t.find(f.title).eq(0),n=t.is("a[href]")?t:t.find("a[href]").eq(0),r=n.attr("href")||!1,i=n.attr("target")||!1,s=0<s.length&&s.text(),a=b.get.results(),t=t.data(c.result)||b.get.result(s,a),o=b.get.value();if(O(l.onSelect)&&!1===l.onSelect.call(u,t,a))return b.debug("Custom onSelect callback cancelled default select action"),void(v=!0);b.hideResults(),s&&b.get.value()===o&&b.set.value(s),r&&(e.preventDefault(),b.verbose("Opening search link found in result",n),"_blank"==i||e.ctrlKey?E.open(r):E.location.href=r)}}},ensureVisible:function(e){var t,s,n;0!==e.length&&(e=(t=e.position().top)+e.outerHeight(!0),s=a.scrollTop(),n=a.height(),t<0?a.scrollTop(s+t):n<e&&a.scrollTop(s+(e-n)))},handleKeyboard:function(e){var t,s=p.find(f.result),n=p.find(f.category),r=s.filter("."+d.active),i=s.index(r),a=s.length,r=0<r.length,o=e.which,c=13,u=38,l=40;if(o==27&&(b.is.visible()?b.hideResults():(b.verbose("Escape key pressed, blurring search field"),h.trigger("blur")),e.stopPropagation(),y=!0),b.is.visible())if(o==c){if(b.verbose("Enter key pressed, selecting active result"),0<s.filter("."+d.active).length)return b.event.result.click.call(s.filter("."+d.active),e),e.preventDefault(),!1}else o==u&&r?(b.verbose("Up key pressed, changing active result"),t=i-1<0?i:i-1,n.removeClass(d.active),s.removeClass(d.active).eq(t).addClass(d.active).closest(n).addClass(d.active),b.ensureVisible(s.eq(t)),e.preventDefault()):o==l&&(b.verbose("Down key pressed, changing active result"),t=a<=i+1?i:i+1,n.removeClass(d.active),s.removeClass(d.active).eq(t).addClass(d.active).closest(n).addClass(d.active),b.ensureVisible(s.eq(t)),e.preventDefault());else o==c&&(b.verbose("Enter key pressed, executing query"),b.query(),b.set.buttonPressed(),h.one("keyup",b.remove.buttonFocus))},setup:{api:function(n,r){var e={debug:l.debug,on:!1,cache:l.cache,action:"search",urlData:{query:n}};k.extend(!0,e,l.apiSettings,{onSuccess:function(e,t,s){b.parse.response.call(u,e,n),r(),l.apiSettings&&"function"==typeof l.apiSettings.onSuccess&&l.apiSettings.onSuccess.call(this,e,t,s)},onFailure:function(e,t,s){b.displayMessage(g.serverError),r(),l.apiSettings&&"function"==typeof l.apiSettings.onFailure&&l.apiSettings.onFailure.call(this,e,t,s)},onAbort:function(e,t,s){l.apiSettings&&"function"==typeof l.apiSettings.onAbort&&l.apiSettings.onAbort.call(this,e,t,s)},onError:function(e,t,s){b.error(),l.apiSettings&&"function"==typeof l.apiSettings.onError&&l.apiSettings.onError.call(this,e,t,s)}}),b.verbose("Setting up API request",e),p.api(e)}},can:{useAPI:function(){return k.fn.api!==D},show:function(){return b.is.focused()&&!b.is.visible()&&!b.is.empty()},transition:function(){return l.transition&&k.fn.transition!==D&&p.transition("is supported")}},is:{animating:function(){return a.hasClass(d.animating)},chrome:function(){return!!E.chrome&&!E.StyleMedia},hidden:function(){return a.hasClass(d.hidden)},inMessage:function(e){var t;if(e.target)return t=k(e.target),k.contains(F.documentElement,e.target)&&0<t.closest(f.message).length},empty:function(){return""===a.html()},visible:function(){return 0<a.filter(":visible").length},focused:function(){return 0<h.filter(":focus").length}},get:{settings:function(){k.isPlainObject(R)&&R.searchFullText&&(l.fullTextSearch=R.searchFullText,b.error(l.error.oldSearchSyntax,u)),l.ignoreDiacritics&&!String.prototype.normalize&&(l.ignoreDiacritics=!1,b.error(g.noNormalize,u))},inputEvent:function(){var e=h[0];return e!==D&&e.oninput!==D?"input":e!==D&&e.onpropertychange!==D?"propertychange":"keyup"},value:function(){return h.val()},results:function(){return p.data(c.results)},result:function(s,e){var n=!1;return s=s!==D?s:b.get.value(),e=e!==D?e:b.get.results(),"category"===l.type?(b.debug("Finding result that matches",s),k.each(e,function(e,t){if(Array.isArray(t.results)&&(n=b.search.object(s,t.results)[0]))return!1})):(b.debug("Finding result in results object",s),n=b.search.object(s,e)[0]),n||!1}},select:{firstResult:function(){b.verbose("Selecting first result"),o.first().addClass(d.active)}},set:{focus:function(){p.addClass(d.focus)},loading:function(){p.addClass(d.loading)},value:function(e){b.verbose("Setting search input value",e),h.val(e)},type:function(e){e=e||l.type,d[e]&&p.addClass(d[e])},buttonPressed:function(){s.addClass(d.pressed)}},remove:{loading:function(){p.removeClass(d.loading)},focus:function(){p.removeClass(d.focus)},buttonPressed:function(){s.removeClass(d.pressed)},diacritics:function(e){return l.ignoreDiacritics?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}},query:function(e){e=O(e)?e:function(){};var t=b.get.value(),s=b.read.cache(t);e=e||function(){},b.has.minimumCharacters()?(s?(b.debug("Reading result from cache",t),b.save.results(s.results),b.addResults(s.html),b.inject.id(s.results),e()):(b.debug("Querying for",t),k.isPlainObject(l.source)||Array.isArray(l.source)?(b.search.local(t),e()):b.can.useAPI()?b.search.remote(t,e):(b.error(g.source),e())),l.onSearchQuery.call(u,t)):b.hideResults()},search:{local:function(e){var t,s=b.search.object(e,l.source);b.set.loading(),b.save.results(s),b.debug("Returned full local search results",s),0<l.maxResults&&(b.debug("Using specified max results",s),s=s.slice(0,l.maxResults)),"category"==l.type&&(s=b.create.categoryResults(s)),t=b.generateResults({results:s}),b.remove.loading(),b.addResults(t),b.inject.id(s),b.write.cache(e,{html:t,results:s})},remote:function(e,t){t=O(t)?t:function(){},p.api("is loading")&&p.api("abort"),b.setup.api(e,t),p.api("query")},object:function(r,t,e){r=b.remove.diacritics(String(r));function i(e,t){var s=-1==k.inArray(t,a),n=-1==k.inArray(t,c),r=-1==k.inArray(t,o);s&&n&&r&&e.push(t)}var a=[],o=[],c=[],s=r.replace(n.escape,"\\$&"),u=new RegExp(n.beginsWith+s,"i");return t=t||l.source,e=e!==D?e:l.searchFields,Array.isArray(e)||(e=[e]),t===D||!1===t?(b.error(g.source),[]):(k.each(e,function(e,n){k.each(t,function(e,t){var s;"string"!=typeof t[n]&&"number"!=typeof t[n]||(-1!==(s="string"==typeof t[n]?b.remove.diacritics(t[n]):t[n].toString()).search(u)?i(a,t):"exact"===l.fullTextSearch&&b.exactSearch(r,s)?i(o,t):!0===l.fullTextSearch&&b.fuzzySearch(r,s)&&i(c,t))})}),k.merge(o,c),k.merge(a,o),a)}},exactSearch:function(e,t){return e=e.toLowerCase(),-1<(t=t.toLowerCase()).indexOf(e)},fuzzySearch:function(e,t){var s=t.length,n=e.length;if("string"!=typeof e)return!1;if(e=e.toLowerCase(),t=t.toLowerCase(),s<n)return!1;if(n===s)return e===t;e:for(var r=0,i=0;r<n;r++){for(var a=e.charCodeAt(r);i<s;)if(t.charCodeAt(i++)===a)continue e;return!1}return!0},parse:{response:function(e,t){Array.isArray(e)&&((s={})[i.results]=e,e=s);var s=b.generateResults(e);b.verbose("Parsing server response",e),e!==D&&t!==D&&e[i.results]!==D&&(b.addResults(s),b.inject.id(e[i.results]),b.write.cache(t,{html:s,results:e[i.results]}),b.save.results(e[i.results]))}},cancel:{query:function(){b.can.useAPI()&&p.api("abort")}},has:{minimumCharacters:function(){return b.get.value().length>=l.minCharacters},results:function(){return 0!==a.length&&""!=a.html()}},clear:{cache:function(e){var t=p.data(c.cache);e?t&&t[e]&&(b.debug("Removing value from cache",e),delete t[e],p.data(c.cache,t)):(b.debug("Clearing cache",e),p.removeData(c.cache))}},read:{cache:function(e){var t=p.data(c.cache);return!!l.cache&&(b.verbose("Checking cache for generated html for query",e),"object"==typeof t&&t[e]!==D&&t[e])}},create:{categoryResults:function(e){var s={};return k.each(e,function(e,t){t.category&&(s[t.category]===D?(b.verbose("Creating new category of results",t.category),s[t.category]={name:t.category,results:[t]}):s[t.category].results.push(t))}),s},id:function(e,t){var s,e=e+1;return t!==D?(t=String.fromCharCode(97+t),b.verbose("Creating category result id",s=t+e)):b.verbose("Creating result id",s=e),s},results:function(){0===a.length&&(a=k("<div />").addClass(d.results).appendTo(p))}},inject:{result:function(e,t,s){b.verbose("Injecting result into results");s=(s!==D?a.children().eq(s).children(f.results).first():a).children(f.result).eq(t);b.verbose("Injecting results metadata",s),s.data(c.result,e)},id:function(e){b.debug("Injecting unique ids into results");var s=0,n=0;return"category"===l.type?k.each(e,function(e,t){0<t.results.length&&(n=0,k.each(t.results,function(e,t){t.id===D&&(t.id=b.create.id(n,s)),b.inject.result(t,n,s),n++}),s++)}):k.each(e,function(e,t){t.id===D&&(t.id=b.create.id(n)),b.inject.result(t,n),n++}),e}},save:{results:function(e){b.verbose("Saving current search results to metadata",e),p.data(c.results,e)}},write:{cache:function(e,t){var s=p.data(c.cache)!==D?p.data(c.cache):{};l.cache&&(b.verbose("Writing generated html to cache",e,t),s[e]=t,p.data(c.cache,s))}},addResults:function(e){if(O(l.onResultsAdd)&&!1===l.onResultsAdd.call(a,e))return b.debug("onResultsAdd callback cancelled default action"),!1;e?(a.html(e),b.refreshResults(),l.selectFirstResult&&b.select.firstResult(),b.showResults()):b.hideResults(function(){a.empty()})},showResults:function(e){e=O(e)?e:function(){},y||!b.is.visible()&&b.has.results()&&(b.can.transition()?(b.debug("Showing results with css animations"),a.transition({animation:l.transition+" in",debug:l.debug,verbose:l.verbose,silent:l.silent,duration:l.duration,onShow:function(){var e=p.find(f.result).eq(0);b.ensureVisible(e)},onComplete:function(){e()},queue:!0})):(b.debug("Showing results with javascript"),a.stop().fadeIn(l.duration,l.easing)),l.onResultsOpen.call(a))},hideResults:function(e){e=O(e)?e:function(){},b.is.visible()&&(b.can.transition()?(b.debug("Hiding results with css animations"),a.transition({animation:l.transition+" out",debug:l.debug,verbose:l.verbose,silent:l.silent,duration:l.duration,onComplete:function(){e()},queue:!0})):(b.debug("Hiding results with javascript"),a.stop().fadeOut(l.duration,l.easing)),l.onResultsClose.call(a))},generateResults:function(e){b.debug("Generating html from response",e);var t=l.templates[l.type],s=k.isPlainObject(e[i.results])&&!k.isEmptyObject(e[i.results]),n=Array.isArray(e[i.results])&&0<e[i.results].length,r="";return s||n?(0<l.maxResults&&(s?"standard"==l.type&&b.error(g.maxResults):e[i.results]=e[i.results].slice(0,l.maxResults)),O(t)?r=t(e,i,l.preserveHTML):b.error(g.noTemplate,!1)):l.showNoResults&&(r=b.displayMessage(g.noResults,"empty",g.noResultsHeader)),l.onResults.call(u,e),r},displayMessage:function(e,t,s){return b.debug("Displaying message",e,t=t||"standard",s),b.addResults(l.templates.message(e,t,s)),l.templates.message(e,t,s)},setting:function(e,t){if(k.isPlainObject(e))k.extend(!0,l,e);else{if(t===D)return l[e];l[e]=t}},internal:function(e,t){if(k.isPlainObject(e))k.extend(!0,b,e);else{if(t===D)return b[e];b[e]=t}},debug:function(){!l.silent&&l.debug&&(l.performance?b.performance.log(arguments):(b.debug=Function.prototype.bind.call(console.info,console,l.name+":"),b.debug.apply(console,arguments)))},verbose:function(){!l.silent&&l.verbose&&l.debug&&(l.performance?b.performance.log(arguments):(b.verbose=Function.prototype.bind.call(console.info,console,l.name+":"),b.verbose.apply(console,arguments)))},error:function(){l.silent||(b.error=Function.prototype.bind.call(console.error,console,l.name+":"),b.error.apply(console,arguments))},performance:{log:function(e){var t,s;l.performance&&(s=(t=(new Date).getTime())-(w||t),w=t,T.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:u,"Execution Time":s})),clearTimeout(b.performance.timer),b.performance.timer=setTimeout(b.performance.display,500)},display:function(){var e=l.name+":",s=0;w=!1,clearTimeout(b.performance.timer),k.each(T,function(e,t){s+=t["Execution Time"]}),e+=" "+s+"ms",C&&(e+=" '"+C+"'"),1<x.length&&(e+=" ("+x.length+")"),(console.group!==D||console.table!==D)&&0<T.length&&(console.groupCollapsed(e),console.table?console.table(T):k.each(T,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),T=[]}},invoke:function(n,e,t){var r,i,s,a=m;return e=e||q,t=t||u,"string"==typeof n&&a!==D&&(n=n.split(/[\. ]/),r=n.length-1,k.each(n,function(e,t){var s=e!=r?t+n[e+1].charAt(0).toUpperCase()+n[e+1].slice(1):n;if(k.isPlainObject(a[s])&&e!=r)a=a[s];else{if(a[s]!==D)return i=a[s],!1;{if(!k.isPlainObject(a[t])||e==r)return a[t]!==D&&(i=a[t]),!1;a=a[t]}}})),O(i)?s=i.apply(t,e):i!==D&&(s=i),Array.isArray(S)?S.push(s):S!==D?S=[S,s]:s!==D&&(S=s),i}};j?(m===D&&b.initialize(),b.invoke(A)):(m!==D&&m.invoke("destroy"),b.initialize())}),S!==D?S:this},k.fn.search.settings={name:"Search",namespace:"search",silent:!1,debug:!1,verbose:!1,performance:!0,type:"standard",minCharacters:1,selectFirstResult:!1,apiSettings:!1,source:!1,searchOnFocus:!0,searchFields:["id","title","description"],displayField:"",fullTextSearch:"exact",ignoreDiacritics:!1,automatic:!0,hideDelay:0,searchDelay:200,maxResults:7,cache:!0,showNoResults:!0,preserveHTML:!0,transition:"scale",duration:200,easing:"easeOutExpo",onSelect:!1,onResultsAdd:!1,onSearchQuery:function(e){},onResults:function(e){},onResultsOpen:function(){},onResultsClose:function(){},className:{animating:"animating",active:"active",category:"category",empty:"empty",focus:"focus",hidden:"hidden",loading:"loading",results:"results",pressed:"down"},error:{source:"Cannot search. No source used, and Semantic API module was not included",noResultsHeader:"No Results",noResults:"Your search returned no results",logging:"Error in debug logging, exiting.",noEndpoint:"No search endpoint was specified",noTemplate:"A valid template name was not specified.",oldSearchSyntax:"searchFullText setting has been renamed fullTextSearch for consistency, please adjust your settings.",serverError:"There was an issue querying the server.",maxResults:"Results must be an array to use maxResults setting",method:"The method you called is not defined.",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.'},metadata:{cache:"cache",results:"results",result:"result"},regExp:{escape:/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,beginsWith:"(?:\\s|^)"},fields:{categories:"results",categoryName:"name",categoryResults:"results",description:"description",image:"image",price:"price",results:"results",title:"title",url:"url",action:"action",actionText:"text",actionURL:"url"},selector:{prompt:".prompt",searchButton:".search.button",results:".results",message:".results > .message",category:".category",result:".result",title:".title, .name"},templates:{escape:function(e,t){if(t)return e;var s={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};return/[&<>"'`]/.test(e)?(e=e.replace(/&(?![a-z0-9#]{1,12};)/gi,"&amp;")).replace(/[<>"'`]/g,function(e){return s[e]}):e},message:function(e,t,s){var n="";return e!==D&&t!==D&&(n+='<div class="message '+t+'">',s&&(n+='<div class="header">'+s+"</div>"),n=n+' <div class="description">'+e+"</div></div>"),n},category:function(e,s,n){var r="",i=k.fn.search.settings.templates.escape;return e[s.categoryResults]!==D&&(k.each(e[s.categoryResults],function(e,t){t[s.results]!==D&&0<t.results.length&&(r+='<div class="category">',t[s.categoryName]!==D&&(r+='<div class="name">'+i(t[s.categoryName],n)+"</div>"),r+='<div class="results">',k.each(t.results,function(e,t){t[s.url]?r+='<a class="result" href="'+t[s.url].replace(/"/g,"")+'">':r+='<a class="result">',t[s.image]!==D&&(r+='<div class="image"> <img src="'+t[s.image].replace(/"/g,"")+'"></div>'),r+='<div class="content">',t[s.price]!==D&&(r+='<div class="price">'+i(t[s.price],n)+"</div>"),t[s.title]!==D&&(r+='<div class="title">'+i(t[s.title],n)+"</div>"),t[s.description]!==D&&(r+='<div class="description">'+i(t[s.description],n)+"</div>"),r+="</div></a>"}),r+="</div></div>")}),e[s.action]&&(!1===s.actionURL?r+='<div class="action">'+i(e[s.action][s.actionText],n)+"</div>":r+='<a href="'+e[s.action][s.actionURL].replace(/"/g,"")+'" class="action">'+i(e[s.action][s.actionText],n)+"</a>"),r)},standard:function(e,s,n){var r="",i=k.fn.search.settings.templates.escape;return e[s.results]!==D&&(k.each(e[s.results],function(e,t){t[s.url]?r+='<a class="result" href="'+t[s.url].replace(/"/g,"")+'">':r+='<a class="result">',t[s.image]!==D&&(r+='<div class="image"> <img src="'+t[s.image].replace(/"/g,"")+'"></div>'),r+='<div class="content">',t[s.price]!==D&&(r+='<div class="price">'+i(t[s.price],n)+"</div>"),t[s.title]!==D&&(r+='<div class="title">'+i(t[s.title],n)+"</div>"),t[s.description]!==D&&(r+='<div class="description">'+i(t[s.description],n)+"</div>"),r+="</div></a>"}),e[s.action]&&(!1===s.actionURL?r+='<div class="action">'+i(e[s.action][s.actionText],n)+"</div>":r+='<a href="'+e[s.action][s.actionURL].replace(/"/g,"")+'" class="action">'+i(e[s.action][s.actionText],n)+"</a>"),r)}}},k.extend(k.easing,{easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)}})}(jQuery,window,document);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Segment
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Segment
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Segment
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Segment
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Shape
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Shape
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Shape
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Shape
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Shape
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Shape
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.1-beta.20+d4987bf
2
+ * # Fomantic UI - 2.9.1-beta.21+2722e1b
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Sidebar
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Sidebar
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Sidebar
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Sidebar
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Sidebar
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Sidebar
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.1-beta.20+d4987bf
2
+ * # Fomantic UI - 2.9.1-beta.21+2722e1b
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Site
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Site
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Site
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Site
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Site
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Site
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.1-beta.20+d4987bf
2
+ * # Fomantic UI - 2.9.1-beta.21+2722e1b
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Slider
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Slider
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.1-beta.20+d4987bf
2
+ * # Fomantic UI - 2.9.1-beta.21+2722e1b
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - State
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - State
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.1-beta.20+d4987bf
2
+ * # Fomantic UI - 2.9.1-beta.21+2722e1b
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Statistic
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Statistic
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Statistic
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Statistic
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Step
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Step
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Step
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Step
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Sticky
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Sticky
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Sticky
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Sticky
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Sticky
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Sticky
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.1-beta.20+d4987bf
2
+ * # Fomantic UI - 2.9.1-beta.21+2722e1b
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Tab
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Tab
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Tab
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Tab
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Tab
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Tab
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.1-beta.20+d4987bf
2
+ * # Fomantic UI - 2.9.1-beta.21+2722e1b
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Table
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Table
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Table
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Table
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Text
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Text
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Text
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Text
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Toast
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Toast
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Toast
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Toast
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Toast
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Toast
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.1-beta.20+d4987bf
2
+ * # Fomantic UI - 2.9.1-beta.21+2722e1b
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Transition
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Transition
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -234,10 +234,9 @@
234
234
  by Nick Pettit - https://github.com/nickpettit/glide
235
235
  */
236
236
 
237
- /*--------------
238
- Browse
239
- ---------------*/
240
-
237
+ /* --------------
238
+ Browse
239
+ --------------- */
241
240
  .transition.browse {
242
241
  -webkit-animation-duration: 500ms;
243
242
  animation-duration: 500ms;
@@ -392,10 +391,9 @@
392
391
  }
393
392
  }
394
393
 
395
- /*--------------
396
- Drop
397
- ---------------*/
398
-
394
+ /* --------------
395
+ Drop
396
+ --------------- */
399
397
  .drop.transition {
400
398
  -webkit-transform-origin: top center;
401
399
  transform-origin: top center;
@@ -463,10 +461,9 @@
463
461
  }
464
462
  }
465
463
 
466
- /*--------------
467
- Fade
468
- ---------------*/
469
-
464
+ /* --------------
465
+ Fade
466
+ --------------- */
470
467
  .transition.fade.in {
471
468
  -webkit-animation-name: fadeIn;
472
469
  animation-name: fadeIn;
@@ -736,10 +733,9 @@
736
733
  }
737
734
  }
738
735
 
739
- /*--------------
740
- Flips
741
- ---------------*/
742
-
736
+ /* --------------
737
+ Flips
738
+ --------------- */
743
739
  .flip.transition.in,
744
740
  .flip.transition.out {
745
741
  -webkit-animation-duration: 600ms;
@@ -862,10 +858,9 @@
862
858
  }
863
859
  }
864
860
 
865
- /*--------------
866
- Scale
867
- ---------------*/
868
-
861
+ /* --------------
862
+ Scale
863
+ --------------- */
869
864
  .scale.transition.in {
870
865
  -webkit-animation-name: scaleIn;
871
866
  animation-name: scaleIn;
@@ -925,10 +920,9 @@
925
920
  }
926
921
  }
927
922
 
928
- /*--------------
929
- Fly
930
- ---------------*/
931
-
923
+ /* --------------
924
+ Fly
925
+ --------------- */
932
926
 
933
927
  /* Inward */
934
928
  .transition.fly {
@@ -1384,10 +1378,9 @@
1384
1378
  }
1385
1379
  }
1386
1380
 
1387
- /*--------------
1388
- Slide
1389
- ---------------*/
1390
-
1381
+ /* --------------
1382
+ Slide
1383
+ --------------- */
1391
1384
  .transition.slide.in,
1392
1385
  .transition[class*="slide down"].in {
1393
1386
  -webkit-animation-name: slideInY;
@@ -1539,10 +1532,9 @@
1539
1532
  }
1540
1533
  }
1541
1534
 
1542
- /*--------------
1543
- Swing
1544
- ---------------*/
1545
-
1535
+ /* --------------
1536
+ Swing
1537
+ --------------- */
1546
1538
  .transition.swing {
1547
1539
  -webkit-animation-duration: 800ms;
1548
1540
  animation-duration: 800ms;
@@ -1793,10 +1785,9 @@
1793
1785
  }
1794
1786
  }
1795
1787
 
1796
- /*--------------
1797
- Zoom
1798
- ---------------*/
1799
-
1788
+ /* --------------
1789
+ Zoom
1790
+ --------------- */
1800
1791
  .transition.zoom.in {
1801
1792
  -webkit-animation-name: zoomIn;
1802
1793
  animation-name: zoomIn;
@@ -1860,10 +1851,9 @@
1860
1851
  *******************************/
1861
1852
 
1862
1853
 
1863
- /*--------------
1854
+ /* --------------
1864
1855
  Emphasis
1865
- ---------------*/
1866
-
1856
+ --------------- */
1867
1857
  .flash.transition {
1868
1858
  -webkit-animation-duration: 750ms;
1869
1859
  animation-duration: 750ms;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Transition
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Transition
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Transition
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Transition
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.1-beta.20+d4987bf
2
+ * # Fomantic UI - 2.9.1-beta.21+2722e1b
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.20+d4987bf - Visibility
2
+ * # Fomantic-UI 2.9.1-beta.21+2722e1b - Visibility
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -246,8 +246,8 @@
246
246
  ;
247
247
  while (imagesLength--) {
248
248
  cacheImage = document.createElement('img');
249
- cacheImage.onload = handleLoad;
250
- cacheImage.onerror = handleLoad;
249
+ cacheImage.addEventListener('load', handleLoad);
250
+ cacheImage.addEventListener('error', handleLoad);
251
251
  cacheImage.src = images[imagesLength];
252
252
  cache.push(cacheImage);
253
253
  }