uswds-jekyll 3.0.0 → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (756) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +345 -240
  3. data/_includes/analytics.html +7 -10
  4. data/_includes/components/banner.html +36 -13
  5. data/_includes/components/footer--big.html +142 -0
  6. data/_includes/components/footer--default.html +104 -0
  7. data/_includes/components/footer--slim.html +93 -0
  8. data/_includes/components/github-edit.html +3 -0
  9. data/_includes/components/graphic-list.html +13 -11
  10. data/_includes/components/header.html +161 -0
  11. data/_includes/components/hero.html +6 -13
  12. data/_includes/components/search.html +31 -0
  13. data/_includes/footer.html +7 -1
  14. data/_includes/header.html +1 -5
  15. data/_includes/meta.html +7 -1
  16. data/_includes/project-list.html +14 -0
  17. data/_includes/scripts.html +7 -5
  18. data/_includes/sidenav.html +23 -20
  19. data/_includes/styles.html +5 -9
  20. data/_includes/subnav.html +1 -1
  21. data/_includes/team-list.html +13 -0
  22. data/_layouts/default.html +40 -4
  23. data/_layouts/home.html +5 -26
  24. data/_layouts/page.html +19 -13
  25. data/_layouts/post.html +2 -14
  26. data/_layouts/project.html +23 -0
  27. data/_layouts/team-member.html +34 -0
  28. data/_sass/_uswds-theme-custom-styles.scss +0 -0
  29. data/_sass/_uswds-theme-override-settings.scss +2 -0
  30. data/_sass/_uswds-theme-packages.scss +1 -0
  31. data/_sass/_uswds-theme-settings.scss +0 -0
  32. data/_sass/uswds/components/_all.scss +8 -0
  33. data/_sass/uswds/components/_alt-color-section.scss +34 -0
  34. data/_sass/uswds/components/_card.scss +63 -0
  35. data/_sass/uswds/components/_footer.scss +16 -502
  36. data/_sass/uswds/components/_header.scss +30 -198
  37. data/_sass/uswds/components/_hero.scss +37 -29
  38. data/_sass/uswds/components/_nav-buttons.scss +24 -0
  39. data/_sass/uswds/components/_side-nav.scss +48 -0
  40. data/_sass/uswds/components/_site-width.scss +6 -0
  41. data/_sass/uswds/components/_top-nav.scss +84 -0
  42. data/_sass/uswds/components/_usa-banner.scss +30 -0
  43. data/_sass/uswds/custom/_uswds-theme-custom-styles.scss +47 -0
  44. data/_sass/uswds/settings/_uswds-conversion-variables.scss +0 -0
  45. data/_sass/uswds/src/base/_accessibility.scss +3 -0
  46. data/_sass/uswds/src/base/_body.scss +5 -0
  47. data/_sass/uswds/src/components/_accordions.scss +116 -0
  48. data/_sass/uswds/src/components/_alerts.scss +144 -0
  49. data/_sass/uswds/src/components/_banner.scss +226 -0
  50. data/_sass/uswds/src/components/_button-groups.scss +134 -0
  51. data/_sass/uswds/src/components/_card.scss +346 -0
  52. data/_sass/uswds/src/components/_checklist.scss +17 -0
  53. data/_sass/uswds/src/components/_footer.scss +349 -0
  54. data/_sass/uswds/src/components/_forms.scss +54 -0
  55. data/_sass/uswds/src/components/_graphic-list.scss +42 -0
  56. data/_sass/uswds/src/components/_header.scss +287 -0
  57. data/_sass/uswds/src/components/_hero.scss +32 -0
  58. data/_sass/uswds/src/components/_layout.scss +15 -0
  59. data/_sass/uswds/src/components/_media-block.scss +7 -0
  60. data/_sass/uswds/src/components/_megamenu.scss +42 -0
  61. data/_sass/uswds/src/components/_nav-container.scss +7 -0
  62. data/_sass/uswds/src/components/_navbar.scss +16 -0
  63. data/_sass/uswds/src/components/_navigation.scss +348 -0
  64. data/_sass/uswds/src/components/_search.scss +98 -0
  65. data/_sass/uswds/src/components/_section.scss +38 -0
  66. data/_sass/uswds/src/components/_sidenav.scss +19 -0
  67. data/_sass/uswds/{components → src/components}/_skipnav.scss +7 -6
  68. data/_sass/uswds/{core → src/core}/_defaults.scss +1 -1
  69. data/_sass/uswds/src/core/_deprecated.scss +33 -0
  70. data/_sass/uswds/src/core/_functions.scss +1323 -0
  71. data/_sass/uswds/src/core/_notifications.scss +86 -0
  72. data/_sass/uswds/src/core/_properties.scss +687 -0
  73. data/_sass/uswds/src/core/_system-tokens.scss +1673 -0
  74. data/_sass/uswds/src/core/_variables.scss +534 -0
  75. data/_sass/uswds/src/core/mixins/_add-aspect.scss +17 -0
  76. data/_sass/uswds/src/core/mixins/_add-background-svg.scss +9 -0
  77. data/_sass/uswds/src/core/mixins/_add-bar.scss +43 -0
  78. data/_sass/uswds/src/core/mixins/_add-checkbox-placeholder.scss +15 -0
  79. data/_sass/uswds/src/core/mixins/_add-kerning.scss +4 -0
  80. data/_sass/uswds/src/core/mixins/_add-knockout-font-smoothing.scss +9 -0
  81. data/_sass/uswds/src/core/mixins/_add-list-reset.scss +15 -0
  82. data/_sass/uswds/src/core/mixins/_add-responsive-site-margins.scss +6 -0
  83. data/_sass/uswds/src/core/mixins/_add-success-mark.scss +7 -0
  84. data/_sass/uswds/src/core/mixins/_all.scss +86 -0
  85. data/_sass/uswds/src/core/mixins/_at-media.scss +36 -0
  86. data/_sass/uswds/src/core/mixins/_border-box-sizing.scss +19 -0
  87. data/_sass/uswds/src/core/mixins/_button-disabled.scss +17 -0
  88. data/_sass/uswds/src/core/mixins/_button-unstyled.scss +20 -0
  89. data/_sass/uswds/src/core/mixins/_clearfix.scss +7 -0
  90. data/_sass/uswds/src/core/mixins/_embed-container.scss +3 -0
  91. data/_sass/uswds/src/core/mixins/_external-link.scss +21 -0
  92. data/_sass/uswds/src/core/mixins/_focus.scss +14 -0
  93. data/_sass/uswds/src/core/mixins/_font-face.scss +103 -0
  94. data/_sass/uswds/src/core/mixins/_icon.scss +64 -0
  95. data/_sass/uswds/src/core/mixins/_layout-grid.scss +128 -0
  96. data/_sass/uswds/src/core/mixins/_media-block-img.scss +4 -0
  97. data/_sass/uswds/{elements/_figure.scss → src/core/mixins/_media-link.scss} +0 -8
  98. data/_sass/uswds/src/core/mixins/_nav-list.scss +95 -0
  99. data/_sass/uswds/src/core/mixins/_override-prose.scss +6 -0
  100. data/_sass/uswds/src/core/mixins/_screen-reader.scss +23 -0
  101. data/_sass/uswds/src/core/mixins/_typography.scss +161 -0
  102. data/_sass/uswds/src/core/mixins/_unstyled-list.scss +11 -0
  103. data/_sass/uswds/src/core/mixins/_usa-list-styles.scss +10 -0
  104. data/_sass/uswds/src/core/mixins/_usa-table-styles.scss +8 -0
  105. data/_sass/uswds/src/core/mixins/_usa-typography.scss +54 -0
  106. data/_sass/uswds/src/core/mixins/_utility-builder.scss +369 -0
  107. data/_sass/uswds/src/core/mixins/layout-grid/_grid-container.scss +14 -0
  108. data/_sass/uswds/src/core/mixins/layout-grid/_grid-row.scss +7 -0
  109. data/_sass/uswds/src/core/mixins/utilities/_align-items.scss +11 -0
  110. data/_sass/uswds/src/core/mixins/utilities/_background-color.scss +9 -0
  111. data/_sass/uswds/src/core/mixins/utilities/_border-color.scss +11 -0
  112. data/_sass/uswds/src/core/mixins/utilities/_border-radius.scss +55 -0
  113. data/_sass/uswds/src/core/mixins/utilities/_border-width.scss +32 -0
  114. data/_sass/uswds/src/core/mixins/utilities/_border.scss +142 -0
  115. data/_sass/uswds/src/core/mixins/utilities/_bottom.scss +10 -0
  116. data/_sass/uswds/src/core/mixins/utilities/_circle.scss +9 -0
  117. data/_sass/uswds/src/core/mixins/utilities/_color.scss +10 -0
  118. data/_sass/uswds/src/core/mixins/utilities/_cursor.scss +10 -0
  119. data/_sass/uswds/src/core/mixins/utilities/_display.scss +11 -0
  120. data/_sass/uswds/src/core/mixins/utilities/_flex-direction.scss +10 -0
  121. data/_sass/uswds/src/core/mixins/utilities/_flex.scss +50 -0
  122. data/_sass/uswds/src/core/mixins/utilities/_float.scss +10 -0
  123. data/_sass/uswds/src/core/mixins/utilities/_font-weight.scss +10 -0
  124. data/_sass/uswds/src/core/mixins/utilities/_font.scss +42 -0
  125. data/_sass/uswds/src/core/mixins/utilities/_height.scss +11 -0
  126. data/_sass/uswds/src/core/mixins/utilities/_justify-content.scss +10 -0
  127. data/_sass/uswds/src/core/mixins/utilities/_left.scss +10 -0
  128. data/_sass/uswds/src/core/mixins/utilities/_line-height.scss +13 -0
  129. data/_sass/uswds/src/core/mixins/utilities/_margin.scss +85 -0
  130. data/_sass/uswds/src/core/mixins/utilities/_max-height.scss +10 -0
  131. data/_sass/uswds/src/core/mixins/utilities/_max-width.scss +10 -0
  132. data/_sass/uswds/src/core/mixins/utilities/_measure.scss +10 -0
  133. data/_sass/uswds/src/core/mixins/utilities/_min-height.scss +10 -0
  134. data/_sass/uswds/src/core/mixins/utilities/_min-width.scss +10 -0
  135. data/_sass/uswds/src/core/mixins/utilities/_order.scss +10 -0
  136. data/_sass/uswds/src/core/mixins/utilities/_outline-color.scss +10 -0
  137. data/_sass/uswds/src/core/mixins/utilities/_outline.scss +35 -0
  138. data/_sass/uswds/src/core/mixins/utilities/_overflow.scss +28 -0
  139. data/_sass/uswds/src/core/mixins/utilities/_padding.scss +49 -0
  140. data/_sass/uswds/src/core/mixins/utilities/_pin.scss +82 -0
  141. data/_sass/uswds/src/core/mixins/utilities/_position.scss +10 -0
  142. data/_sass/uswds/src/core/mixins/utilities/_right.scss +10 -0
  143. data/_sass/uswds/src/core/mixins/utilities/_shadow.scss +10 -0
  144. data/_sass/uswds/src/core/mixins/utilities/_square.scss +7 -0
  145. data/_sass/uswds/src/core/mixins/utilities/_text-align.scss +10 -0
  146. data/_sass/uswds/src/core/mixins/utilities/_text-decoration-color.scss +10 -0
  147. data/_sass/uswds/src/core/mixins/utilities/_text-decoration.scss +17 -0
  148. data/_sass/uswds/src/core/mixins/utilities/_text-indent.scss +10 -0
  149. data/_sass/uswds/src/core/mixins/utilities/_text.scss +72 -0
  150. data/_sass/uswds/src/core/mixins/utilities/_top.scss +10 -0
  151. data/_sass/uswds/src/core/mixins/utilities/_vertical-align.scss +10 -0
  152. data/_sass/uswds/src/core/mixins/utilities/_white-space.scss +10 -0
  153. data/_sass/uswds/src/core/mixins/utilities/_width.scss +11 -0
  154. data/_sass/uswds/src/core/mixins/utilities/_z-index.scss +10 -0
  155. data/_sass/uswds/src/core/placeholders/_all.scss +2 -0
  156. data/_sass/uswds/src/core/placeholders/_list.scss +18 -0
  157. data/_sass/uswds/src/core/placeholders/_table.scss +58 -0
  158. data/_sass/uswds/src/core/system-tokens/_blue-cool.scss +26 -0
  159. data/_sass/uswds/src/core/system-tokens/_blue-warm.scss +26 -0
  160. data/_sass/uswds/src/core/system-tokens/_blue.scss +26 -0
  161. data/_sass/uswds/src/core/system-tokens/_cyan.scss +26 -0
  162. data/_sass/uswds/src/core/system-tokens/_gold.scss +26 -0
  163. data/_sass/uswds/src/core/system-tokens/_gray-cool.scss +18 -0
  164. data/_sass/uswds/src/core/system-tokens/_gray-warm.scss +18 -0
  165. data/_sass/uswds/src/core/system-tokens/_gray.scss +19 -0
  166. data/_sass/uswds/src/core/system-tokens/_green-cool.scss +26 -0
  167. data/_sass/uswds/src/core/system-tokens/_green-warm.scss +26 -0
  168. data/_sass/uswds/src/core/system-tokens/_green.scss +26 -0
  169. data/_sass/uswds/src/core/system-tokens/_indigo-cool.scss +26 -0
  170. data/_sass/uswds/src/core/system-tokens/_indigo-warm.scss +26 -0
  171. data/_sass/uswds/src/core/system-tokens/_indigo.scss +26 -0
  172. data/_sass/uswds/src/core/system-tokens/_magenta.scss +26 -0
  173. data/_sass/uswds/src/core/system-tokens/_mint-cool.scss +26 -0
  174. data/_sass/uswds/src/core/system-tokens/_mint.scss +26 -0
  175. data/_sass/uswds/src/core/system-tokens/_orange-warm.scss +26 -0
  176. data/_sass/uswds/src/core/system-tokens/_orange.scss +26 -0
  177. data/_sass/uswds/src/core/system-tokens/_red-cool.scss +26 -0
  178. data/_sass/uswds/src/core/system-tokens/_red-warm.scss +26 -0
  179. data/_sass/uswds/src/core/system-tokens/_red.scss +26 -0
  180. data/_sass/uswds/src/core/system-tokens/_violet-warm.scss +26 -0
  181. data/_sass/uswds/src/core/system-tokens/_violet.scss +26 -0
  182. data/_sass/uswds/src/core/system-tokens/_yellow.scss +26 -0
  183. data/_sass/uswds/src/elements/_buttons.scss +217 -0
  184. data/_sass/uswds/{elements → src/elements}/_embed.scss +0 -4
  185. data/_sass/uswds/src/elements/_figure.scss +7 -0
  186. data/_sass/uswds/src/elements/_layout-grid.scss +159 -0
  187. data/_sass/uswds/src/elements/_table.scss +7 -0
  188. data/_sass/uswds/src/elements/_tags.scss +18 -0
  189. data/_sass/uswds/src/elements/form-controls/_all.scss +9 -0
  190. data/_sass/uswds/src/elements/form-controls/_character-count.scss +9 -0
  191. data/_sass/uswds/src/elements/form-controls/_checkbox-and-radio.scss +115 -0
  192. data/_sass/uswds/src/elements/form-controls/_combo-box.scss +55 -0
  193. data/_sass/uswds/src/elements/form-controls/_date-input.scss +31 -0
  194. data/_sass/uswds/src/elements/form-controls/_dropdown.scss +25 -0
  195. data/_sass/uswds/src/elements/form-controls/_file-input.scss +4 -0
  196. data/_sass/uswds/src/elements/form-controls/_global.scss +84 -0
  197. data/_sass/uswds/src/elements/form-controls/_range-input.scss +89 -0
  198. data/_sass/uswds/src/elements/form-controls/_text-input.scss +13 -0
  199. data/_sass/uswds/src/elements/typography/_content.scss +62 -0
  200. data/_sass/uswds/src/elements/typography/_links.scss +15 -0
  201. data/_sass/uswds/src/elements/typography/_list.scss +14 -0
  202. data/_sass/uswds/src/elements/typography/_prose.scss +6 -0
  203. data/_sass/uswds/src/global/_focus.scss +24 -0
  204. data/_sass/uswds/src/global/_font-face.scss +11 -0
  205. data/_sass/uswds/src/global/_sizing.scss +14 -0
  206. data/_sass/uswds/src/global/_typography.scss +32 -0
  207. data/_sass/uswds/src/lib/_normalize.scss +349 -0
  208. data/_sass/uswds/src/packages/_form-controls.scss +4 -0
  209. data/_sass/uswds/src/packages/_form-templates.scss +8 -0
  210. data/_sass/uswds/src/packages/_global.scss +7 -0
  211. data/_sass/uswds/src/packages/_layout-grid.scss +4 -0
  212. data/_sass/uswds/src/packages/_required.scss +21 -0
  213. data/_sass/uswds/src/packages/_typography.scss +7 -0
  214. data/_sass/uswds/src/packages/_usa-accordion.scss +4 -0
  215. data/_sass/uswds/src/packages/_usa-alert.scss +4 -0
  216. data/_sass/uswds/src/packages/_usa-banner.scss +7 -0
  217. data/_sass/uswds/src/packages/_usa-button-group.scss +2 -0
  218. data/_sass/uswds/src/packages/_usa-button.scss +4 -0
  219. data/_sass/uswds/src/packages/_usa-card.scss +4 -0
  220. data/_sass/uswds/src/packages/_usa-checklist.scss +4 -0
  221. data/_sass/uswds/src/packages/_usa-footer.scss +10 -0
  222. data/_sass/uswds/src/packages/_usa-header.scss +13 -0
  223. data/_sass/uswds/src/packages/_usa-hero.scss +6 -0
  224. data/_sass/uswds/src/packages/_usa-media-block.scss +5 -0
  225. data/_sass/uswds/src/packages/_usa-megamenu.scss +4 -0
  226. data/_sass/uswds/src/packages/_usa-nav-container.scss +4 -0
  227. data/_sass/uswds/src/packages/_usa-nav.scss +5 -0
  228. data/_sass/uswds/src/packages/_usa-navbar.scss +4 -0
  229. data/_sass/uswds/src/packages/_usa-search.scss +8 -0
  230. data/_sass/uswds/src/packages/_usa-sidenav.scss +4 -0
  231. data/_sass/uswds/src/packages/_usa-skipnav.scss +4 -0
  232. data/_sass/uswds/src/packages/_usa-table.scss +4 -0
  233. data/_sass/uswds/src/packages/_usa-tag.scss +4 -0
  234. data/_sass/uswds/src/packages/_uswds-components.scss +44 -0
  235. data/_sass/uswds/src/packages/_uswds-fonts.scss +2 -0
  236. data/_sass/uswds/src/packages/_uswds-utilities.scss +6 -0
  237. data/_sass/uswds/src/packages/_validation.scss +8 -0
  238. data/_sass/uswds/src/settings/_settings-color.scss +133 -0
  239. data/_sass/uswds/src/settings/_settings-components.scss +85 -0
  240. data/_sass/uswds/src/settings/_settings-general.scss +101 -0
  241. data/_sass/uswds/src/settings/_settings-spacing.scss +93 -0
  242. data/_sass/uswds/src/settings/_settings-typography.scss +422 -0
  243. data/_sass/uswds/src/settings/_settings-utilities.scss +853 -0
  244. data/_sass/uswds/src/theme/_uswds-theme-color.scss +133 -0
  245. data/_sass/uswds/src/theme/_uswds-theme-components.scss +85 -0
  246. data/_sass/uswds/src/theme/_uswds-theme-custom-styles.scss +21 -0
  247. data/_sass/uswds/src/theme/_uswds-theme-general.scss +101 -0
  248. data/_sass/uswds/src/theme/_uswds-theme-spacing.scss +93 -0
  249. data/_sass/uswds/src/theme/_uswds-theme-typography.scss +422 -0
  250. data/_sass/uswds/src/theme/_uswds-theme-utilities.scss +854 -0
  251. data/_sass/uswds/src/theme/styles.scss +72 -0
  252. data/_sass/uswds/src/uswds.scss +17 -0
  253. data/_sass/uswds/src/utilities/palettes/_all.scss +41 -0
  254. data/_sass/uswds/src/utilities/palettes/_default-palettes.scss +72 -0
  255. data/_sass/uswds/src/utilities/palettes/_font-palettes.scss +2762 -0
  256. data/_sass/uswds/src/utilities/palettes/_palette-registry.scss +46 -0
  257. data/_sass/uswds/src/utilities/palettes/_spacing-palettes.scss +135 -0
  258. data/_sass/uswds/src/utilities/palettes/colors/_all-colors-palettes.scss +56 -0
  259. data/_sass/uswds/src/utilities/palettes/colors/_black-transparent-palettes.scss +16 -0
  260. data/_sass/uswds/src/utilities/palettes/colors/_blue-cool-palettes.scss +69 -0
  261. data/_sass/uswds/src/utilities/palettes/colors/_blue-palettes.scss +66 -0
  262. data/_sass/uswds/src/utilities/palettes/colors/_blue-warm-palettes.scss +69 -0
  263. data/_sass/uswds/src/utilities/palettes/colors/_cyan-palettes.scss +66 -0
  264. data/_sass/uswds/src/utilities/palettes/colors/_gold-palettes.scss +66 -0
  265. data/_sass/uswds/src/utilities/palettes/colors/_gray-cool-palettes.scss +40 -0
  266. data/_sass/uswds/src/utilities/palettes/colors/_gray-palettes.scss +40 -0
  267. data/_sass/uswds/src/utilities/palettes/colors/_gray-warm-palettes.scss +40 -0
  268. data/_sass/uswds/src/utilities/palettes/colors/_green-cool-palettes.scss +69 -0
  269. data/_sass/uswds/src/utilities/palettes/colors/_green-palettes.scss +66 -0
  270. data/_sass/uswds/src/utilities/palettes/colors/_green-warm-palettes.scss +69 -0
  271. data/_sass/uswds/src/utilities/palettes/colors/_indigo-cool-palettes.scss +70 -0
  272. data/_sass/uswds/src/utilities/palettes/colors/_indigo-palettes.scss +66 -0
  273. data/_sass/uswds/src/utilities/palettes/colors/_indigo-warm-palettes.scss +70 -0
  274. data/_sass/uswds/src/utilities/palettes/colors/_magenta-palettes.scss +67 -0
  275. data/_sass/uswds/src/utilities/palettes/colors/_mint-cool-palettes.scss +69 -0
  276. data/_sass/uswds/src/utilities/palettes/colors/_mint-palettes.scss +66 -0
  277. data/_sass/uswds/src/utilities/palettes/colors/_orange-palettes.scss +66 -0
  278. data/_sass/uswds/src/utilities/palettes/colors/_orange-warm-palettes.scss +70 -0
  279. data/_sass/uswds/src/utilities/palettes/colors/_red-cool-palettes.scss +68 -0
  280. data/_sass/uswds/src/utilities/palettes/colors/_red-palettes.scss +66 -0
  281. data/_sass/uswds/src/utilities/palettes/colors/_red-warm-palettes.scss +68 -0
  282. data/_sass/uswds/src/utilities/palettes/colors/_violet-palettes.scss +66 -0
  283. data/_sass/uswds/src/utilities/palettes/colors/_violet-warm-palettes.scss +70 -0
  284. data/_sass/uswds/src/utilities/palettes/colors/_white-transparent-palettes.scss +16 -0
  285. data/_sass/uswds/src/utilities/palettes/colors/_yellow-palettes.scss +66 -0
  286. data/_sass/uswds/src/utilities/rules/_all.scss +56 -0
  287. data/_sass/uswds/src/utilities/rules/_package.scss +61 -0
  288. data/_sass/uswds/src/utilities/rules/add-aspect.scss +84 -0
  289. data/_sass/uswds/src/utilities/rules/add-list-reset.scss +39 -0
  290. data/_sass/uswds/src/utilities/rules/align-items.scss +30 -0
  291. data/_sass/uswds/src/utilities/rules/background-color.scss +32 -0
  292. data/_sass/uswds/src/utilities/rules/border-color.scss +32 -0
  293. data/_sass/uswds/src/utilities/rules/border-radius.scss +51 -0
  294. data/_sass/uswds/src/utilities/rules/border-style.scss +30 -0
  295. data/_sass/uswds/src/utilities/rules/border-width.scss +44 -0
  296. data/_sass/uswds/src/utilities/rules/border.scss +47 -0
  297. data/_sass/uswds/src/utilities/rules/bottom.scss +28 -0
  298. data/_sass/uswds/src/utilities/rules/box-shadow.scss +27 -0
  299. data/_sass/uswds/src/utilities/rules/circle.scss +35 -0
  300. data/_sass/uswds/src/utilities/rules/clearfix.scss +35 -0
  301. data/_sass/uswds/src/utilities/rules/color.scss +32 -0
  302. data/_sass/uswds/src/utilities/rules/cursor.scss +26 -0
  303. data/_sass/uswds/src/utilities/rules/display.scss +26 -0
  304. data/_sass/uswds/src/utilities/rules/flex-direction.scss +30 -0
  305. data/_sass/uswds/src/utilities/rules/flex-wrap.scss +27 -0
  306. data/_sass/uswds/src/utilities/rules/flex.scss +32 -0
  307. data/_sass/uswds/src/utilities/rules/float.scss +26 -0
  308. data/_sass/uswds/src/utilities/rules/font-family.scss +38 -0
  309. data/_sass/uswds/src/utilities/rules/font-feature.scss +31 -0
  310. data/_sass/uswds/src/utilities/rules/font-style.scss +29 -0
  311. data/_sass/uswds/src/utilities/rules/font-weight.scss +30 -0
  312. data/_sass/uswds/src/utilities/rules/font.scss +38 -0
  313. data/_sass/uswds/src/utilities/rules/height.scss +26 -0
  314. data/_sass/uswds/src/utilities/rules/justify-content.scss +32 -0
  315. data/_sass/uswds/src/utilities/rules/left.scss +28 -0
  316. data/_sass/uswds/src/utilities/rules/letter-spacing.scss +30 -0
  317. data/_sass/uswds/src/utilities/rules/line-height.scss +30 -0
  318. data/_sass/uswds/src/utilities/rules/margin.scss +70 -0
  319. data/_sass/uswds/src/utilities/rules/max-height.scss +27 -0
  320. data/_sass/uswds/src/utilities/rules/max-width.scss +27 -0
  321. data/_sass/uswds/src/utilities/rules/measure.scss +28 -0
  322. data/_sass/uswds/src/utilities/rules/min-height.scss +27 -0
  323. data/_sass/uswds/src/utilities/rules/min-width.scss +27 -0
  324. data/_sass/uswds/src/utilities/rules/opacity.scss +28 -0
  325. data/_sass/uswds/src/utilities/rules/order.scss +29 -0
  326. data/_sass/uswds/src/utilities/rules/outline-color.scss +33 -0
  327. data/_sass/uswds/src/utilities/rules/outline.scss +30 -0
  328. data/_sass/uswds/src/utilities/rules/overflow.scss +31 -0
  329. data/_sass/uswds/src/utilities/rules/padding.scss +43 -0
  330. data/_sass/uswds/src/utilities/rules/pin.scss +101 -0
  331. data/_sass/uswds/src/utilities/rules/position.scss +27 -0
  332. data/_sass/uswds/src/utilities/rules/right.scss +28 -0
  333. data/_sass/uswds/src/utilities/rules/square.scss +33 -0
  334. data/_sass/uswds/src/utilities/rules/text-align.scss +27 -0
  335. data/_sass/uswds/src/utilities/rules/text-decoration-color.scss +31 -0
  336. data/_sass/uswds/src/utilities/rules/text-decoration.scss +30 -0
  337. data/_sass/uswds/src/utilities/rules/text-indent.scss +30 -0
  338. data/_sass/uswds/src/utilities/rules/text-transform.scss +30 -0
  339. data/_sass/uswds/src/utilities/rules/top.scss +28 -0
  340. data/_sass/uswds/src/utilities/rules/vertical-align.scss +30 -0
  341. data/_sass/uswds/src/utilities/rules/whitespace.scss +27 -0
  342. data/_sass/uswds/src/utilities/rules/width.scss +26 -0
  343. data/_sass/uswds/src/utilities/rules/z-index.scss +28 -0
  344. data/_sass/uswds/src/utilities/utility-fonts.scss +20 -0
  345. data/assets/css/uswds-theme.scss +187 -0
  346. data/assets/img/circle.png +0 -0
  347. data/assets/img/hero.png +0 -0
  348. data/assets/img/project-images/project-placeholder.png +0 -0
  349. data/assets/img/team-images/team-placeholder.png +0 -0
  350. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Black.ttf +0 -0
  351. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Black.woff +0 -0
  352. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Black.woff2 +0 -0
  353. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BlackItalic.ttf +0 -0
  354. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BlackItalic.woff +0 -0
  355. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BlackItalic.woff2 +0 -0
  356. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Bold.ttf +0 -0
  357. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Bold.woff +0 -0
  358. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Bold.woff2 +0 -0
  359. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.ttf +0 -0
  360. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.woff +0 -0
  361. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.woff2 +0 -0
  362. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Italic.ttf +0 -0
  363. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Italic.woff +0 -0
  364. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Italic.woff2 +0 -0
  365. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Light.ttf +0 -0
  366. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Light.woff +0 -0
  367. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Light.woff2 +0 -0
  368. data/assets/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.ttf +0 -0
  369. data/assets/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.woff +0 -0
  370. data/assets/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.woff2 +0 -0
  371. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Regular.ttf +0 -0
  372. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Regular.woff +0 -0
  373. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Regular.woff2 +0 -0
  374. data/assets/uswds/fonts/public-sans/PublicSans-Black.ttf +0 -0
  375. data/assets/uswds/fonts/public-sans/PublicSans-Black.woff +0 -0
  376. data/assets/uswds/fonts/public-sans/PublicSans-Black.woff2 +0 -0
  377. data/assets/uswds/fonts/public-sans/PublicSans-BlackItalic.ttf +0 -0
  378. data/assets/uswds/fonts/public-sans/PublicSans-BlackItalic.woff +0 -0
  379. data/assets/uswds/fonts/public-sans/PublicSans-BlackItalic.woff2 +0 -0
  380. data/assets/uswds/fonts/public-sans/PublicSans-Bold.ttf +0 -0
  381. data/assets/uswds/fonts/public-sans/PublicSans-Bold.woff +0 -0
  382. data/assets/uswds/fonts/public-sans/PublicSans-Bold.woff2 +0 -0
  383. data/assets/uswds/fonts/public-sans/PublicSans-BoldItalic.ttf +0 -0
  384. data/assets/uswds/fonts/public-sans/PublicSans-BoldItalic.woff +0 -0
  385. data/assets/uswds/fonts/public-sans/PublicSans-BoldItalic.woff2 +0 -0
  386. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBold.ttf +0 -0
  387. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBold.woff +0 -0
  388. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBold.woff2 +0 -0
  389. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBoldItalic.ttf +0 -0
  390. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBoldItalic.woff +0 -0
  391. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBoldItalic.woff2 +0 -0
  392. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLight.ttf +0 -0
  393. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLight.woff +0 -0
  394. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLight.woff2 +0 -0
  395. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLightItalic.ttf +0 -0
  396. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLightItalic.woff +0 -0
  397. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLightItalic.woff2 +0 -0
  398. data/assets/uswds/fonts/public-sans/PublicSans-Italic.ttf +0 -0
  399. data/assets/uswds/fonts/public-sans/PublicSans-Italic.woff +0 -0
  400. data/assets/uswds/fonts/public-sans/PublicSans-Italic.woff2 +0 -0
  401. data/assets/uswds/fonts/public-sans/PublicSans-Light.ttf +0 -0
  402. data/assets/uswds/fonts/public-sans/PublicSans-Light.woff +0 -0
  403. data/assets/uswds/fonts/public-sans/PublicSans-Light.woff2 +0 -0
  404. data/assets/uswds/fonts/public-sans/PublicSans-LightItalic.ttf +0 -0
  405. data/assets/uswds/fonts/public-sans/PublicSans-LightItalic.woff +0 -0
  406. data/assets/uswds/fonts/public-sans/PublicSans-LightItalic.woff2 +0 -0
  407. data/assets/uswds/fonts/public-sans/PublicSans-Medium.ttf +0 -0
  408. data/assets/uswds/fonts/public-sans/PublicSans-Medium.woff +0 -0
  409. data/assets/uswds/fonts/public-sans/PublicSans-Medium.woff2 +0 -0
  410. data/assets/uswds/fonts/public-sans/PublicSans-MediumItalic.ttf +0 -0
  411. data/assets/uswds/fonts/public-sans/PublicSans-MediumItalic.woff +0 -0
  412. data/assets/uswds/fonts/public-sans/PublicSans-MediumItalic.woff2 +0 -0
  413. data/assets/uswds/fonts/public-sans/PublicSans-Regular.ttf +0 -0
  414. data/assets/uswds/fonts/public-sans/PublicSans-Regular.woff +0 -0
  415. data/assets/uswds/fonts/public-sans/PublicSans-Regular.woff2 +0 -0
  416. data/assets/uswds/fonts/public-sans/PublicSans-SemiBold.ttf +0 -0
  417. data/assets/uswds/fonts/public-sans/PublicSans-SemiBold.woff +0 -0
  418. data/assets/uswds/fonts/public-sans/PublicSans-SemiBold.woff2 +0 -0
  419. data/assets/uswds/fonts/public-sans/PublicSans-SemiBoldItalic.ttf +0 -0
  420. data/assets/uswds/fonts/public-sans/PublicSans-SemiBoldItalic.woff +0 -0
  421. data/assets/uswds/fonts/public-sans/PublicSans-SemiBoldItalic.woff2 +0 -0
  422. data/assets/uswds/fonts/public-sans/PublicSans-Thin.ttf +0 -0
  423. data/assets/uswds/fonts/public-sans/PublicSans-Thin.woff +0 -0
  424. data/assets/uswds/fonts/public-sans/PublicSans-Thin.woff2 +0 -0
  425. data/assets/uswds/fonts/public-sans/PublicSans-ThinItalic.ttf +0 -0
  426. data/assets/uswds/fonts/public-sans/PublicSans-ThinItalic.woff +0 -0
  427. data/assets/uswds/fonts/public-sans/PublicSans-ThinItalic.woff2 +0 -0
  428. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100.ttf +0 -0
  429. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100.woff +0 -0
  430. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100.woff2 +0 -0
  431. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100italic.ttf +0 -0
  432. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100italic.woff +0 -0
  433. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100italic.woff2 +0 -0
  434. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.ttf +0 -0
  435. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.woff +0 -0
  436. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.woff2 +0 -0
  437. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.ttf +0 -0
  438. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.woff +0 -0
  439. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.woff2 +0 -0
  440. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500.ttf +0 -0
  441. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500.woff +0 -0
  442. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500.woff2 +0 -0
  443. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500italic.ttf +0 -0
  444. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500italic.woff +0 -0
  445. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500italic.woff2 +0 -0
  446. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.ttf +0 -0
  447. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.woff +0 -0
  448. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.woff2 +0 -0
  449. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.ttf +0 -0
  450. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.woff +0 -0
  451. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.woff2 +0 -0
  452. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.ttf +0 -0
  453. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.woff +0 -0
  454. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.woff2 +0 -0
  455. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.ttf +0 -0
  456. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.woff +0 -0
  457. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.woff2 +0 -0
  458. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-black-webfont.ttf +0 -0
  459. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-black-webfont.woff +0 -0
  460. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-black-webfont.woff2 +0 -0
  461. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-blackitalic-webfont.ttf +0 -0
  462. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-blackitalic-webfont.woff +0 -0
  463. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-blackitalic-webfont.woff2 +0 -0
  464. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.ttf +0 -0
  465. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.woff +0 -0
  466. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.woff2 +0 -0
  467. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.ttf +0 -0
  468. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.woff +0 -0
  469. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.woff2 +0 -0
  470. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralight-webfont.ttf +0 -0
  471. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralight-webfont.woff +0 -0
  472. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralight-webfont.woff2 +0 -0
  473. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralightitalic-webfont.ttf +0 -0
  474. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralightitalic-webfont.woff +0 -0
  475. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralightitalic-webfont.woff2 +0 -0
  476. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.ttf +0 -0
  477. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.woff +0 -0
  478. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.woff2 +0 -0
  479. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.ttf +0 -0
  480. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.woff +0 -0
  481. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.woff2 +0 -0
  482. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.ttf +0 -0
  483. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.woff +0 -0
  484. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.woff2 +0 -0
  485. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.ttf +0 -0
  486. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.woff +0 -0
  487. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.woff2 +0 -0
  488. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibold-webfont.ttf +0 -0
  489. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibold-webfont.woff +0 -0
  490. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibold-webfont.woff2 +0 -0
  491. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibolditalic-webfont.ttf +0 -0
  492. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibolditalic-webfont.woff +0 -0
  493. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibolditalic-webfont.woff2 +0 -0
  494. data/assets/uswds/img/alerts/error.svg +4 -17
  495. data/assets/uswds/img/alerts/info.svg +4 -18
  496. data/assets/uswds/img/alerts/success.svg +1 -12
  497. data/assets/uswds/img/alerts/warning.svg +4 -16
  498. data/assets/uswds/img/angle-arrow-down-hover.svg +1 -1
  499. data/assets/uswds/img/angle-arrow-down-primary-hover.svg +1 -1
  500. data/assets/uswds/img/angle-arrow-down-primary.svg +1 -1
  501. data/assets/uswds/img/angle-arrow-down-white.svg +1 -0
  502. data/assets/uswds/img/angle-arrow-down.svg +1 -1
  503. data/assets/uswds/img/angle-arrow-up-primary-hover.svg +1 -1
  504. data/assets/uswds/img/angle-arrow-up-primary.svg +1 -1
  505. data/assets/uswds/img/angle-arrow-up-white.svg +1 -0
  506. data/assets/uswds/img/arrow-both.svg +1 -1
  507. data/assets/uswds/img/arrow-down.svg +1 -1
  508. data/assets/uswds/img/arrow-right.svg +1 -1
  509. data/assets/uswds/img/checkbox-check-print.svg +1 -0
  510. data/assets/uswds/img/circle-124.png +0 -0
  511. data/assets/uswds/img/close-blue-30-alt.svg +3 -0
  512. data/assets/uswds/img/close-blue-40v-alt.svg +3 -0
  513. data/assets/uswds/img/close-blue-50-alt.svg +3 -0
  514. data/assets/uswds/img/close-blue-50v-alt.svg +3 -0
  515. data/assets/uswds/img/close-blue-60-alt.svg +3 -0
  516. data/assets/uswds/img/close-blue-60v-alt.svg +3 -0
  517. data/assets/uswds/img/close-gray-90-alt.svg +3 -0
  518. data/assets/uswds/img/close-primary.svg +1 -16
  519. data/assets/uswds/img/close-white-alt.svg +3 -0
  520. data/assets/uswds/img/close-white.svg +3 -0
  521. data/assets/uswds/img/close.svg +1 -12
  522. data/assets/uswds/img/correct8-alt.png +0 -0
  523. data/assets/uswds/img/correct8-alt.svg +1 -0
  524. data/assets/uswds/img/correct8.svg +1 -1
  525. data/assets/uswds/img/correct9.svg +1 -1
  526. data/assets/uswds/img/external-link-alt-hover.svg +1 -1
  527. data/assets/uswds/img/external-link-alt.svg +1 -1
  528. data/assets/uswds/img/external-link-hover.svg +1 -1
  529. data/assets/uswds/img/external-link.svg +1 -1
  530. data/assets/uswds/img/favicons/favicon-114.png +0 -0
  531. data/assets/uswds/img/favicons/favicon-144.png +0 -0
  532. data/assets/uswds/img/favicons/favicon-16.png +0 -0
  533. data/assets/uswds/img/favicons/favicon-192.png +0 -0
  534. data/assets/uswds/img/favicons/favicon-40.png +0 -0
  535. data/assets/uswds/img/favicons/favicon-57.png +0 -0
  536. data/assets/uswds/img/favicons/favicon-72.png +0 -0
  537. data/assets/uswds/img/favicons/favicon.ico +0 -0
  538. data/assets/uswds/img/favicons/favicon.png +0 -0
  539. data/assets/uswds/img/hero.png +0 -0
  540. data/assets/uswds/img/icon-dot-gov.svg +1 -1
  541. data/assets/uswds/img/icon-https.svg +1 -1
  542. data/assets/uswds/img/minus-alt.svg +1 -1
  543. data/assets/uswds/img/minus.svg +1 -1
  544. data/assets/uswds/img/plus-alt.svg +1 -1
  545. data/assets/uswds/img/plus.svg +1 -1
  546. data/assets/uswds/img/search-alt.svg +1 -1
  547. data/assets/uswds/img/search-primary.svg +1 -12
  548. data/assets/uswds/img/search.svg +1 -1
  549. data/assets/uswds/img/social-icons/facebook25.png +0 -0
  550. data/assets/uswds/img/social-icons/{svg/facebook25.svg → facebook25.svg} +1 -1
  551. data/assets/uswds/img/social-icons/rss25.png +0 -0
  552. data/assets/uswds/img/social-icons/{svg/rss25.svg → rss25.svg} +1 -1
  553. data/assets/uswds/img/social-icons/twitter16.png +0 -0
  554. data/assets/uswds/img/social-icons/{svg/twitter16.svg → twitter16.svg} +1 -1
  555. data/assets/uswds/img/social-icons/youtube15.png +0 -0
  556. data/assets/uswds/img/social-icons/{svg/youtube15.svg → youtube15.svg} +1 -1
  557. data/assets/uswds/js/uswds.js +1716 -844
  558. data/assets/uswds/js/uswds.min.js +1 -1
  559. data/assets/uswds/js/uswds.min.js.map +1 -1
  560. metadata +515 -218
  561. data/_includes/components/footer--medium.html +0 -100
  562. data/_includes/components/header--basic.html +0 -74
  563. data/_includes/components/header--extended.html +0 -89
  564. data/_sass/uswds/_all.scss +0 -1
  565. data/_sass/uswds/components/_accordions.scss +0 -150
  566. data/_sass/uswds/components/_alerts.scss +0 -125
  567. data/_sass/uswds/components/_banner.scss +0 -204
  568. data/_sass/uswds/components/_forms.scss +0 -164
  569. data/_sass/uswds/components/_graphic-list.scss +0 -35
  570. data/_sass/uswds/components/_layout.scss +0 -36
  571. data/_sass/uswds/components/_media-block.scss +0 -12
  572. data/_sass/uswds/components/_navigation.scss +0 -549
  573. data/_sass/uswds/components/_search.scss +0 -111
  574. data/_sass/uswds/components/_section.scss +0 -37
  575. data/_sass/uswds/components/_sidenav.scss +0 -8
  576. data/_sass/uswds/core/_base.scss +0 -35
  577. data/_sass/uswds/core/_fonts.scss +0 -65
  578. data/_sass/uswds/core/_grid-settings.scss +0 -3
  579. data/_sass/uswds/core/_grid.scss +0 -199
  580. data/_sass/uswds/core/_utilities.scss +0 -252
  581. data/_sass/uswds/core/_variables.scss +0 -155
  582. data/_sass/uswds/elements/_buttons.scss +0 -217
  583. data/_sass/uswds/elements/_inputs.scss +0 -351
  584. data/_sass/uswds/elements/_labels.scss +0 -20
  585. data/_sass/uswds/elements/_list.scss +0 -32
  586. data/_sass/uswds/elements/_table.scss +0 -55
  587. data/_sass/uswds/elements/_typography.scss +0 -260
  588. data/_sass/uswds/lib/_bourbon-deprecated-upcoming.scss +0 -411
  589. data/_sass/uswds/lib/_bourbon.scss +0 -87
  590. data/_sass/uswds/lib/_neat-helpers.scss +0 -11
  591. data/_sass/uswds/lib/_neat.scss +0 -23
  592. data/_sass/uswds/lib/_normalize.scss +0 -424
  593. data/_sass/uswds/lib/addons/_border-color.scss +0 -26
  594. data/_sass/uswds/lib/addons/_border-radius.scss +0 -48
  595. data/_sass/uswds/lib/addons/_border-style.scss +0 -25
  596. data/_sass/uswds/lib/addons/_border-width.scss +0 -25
  597. data/_sass/uswds/lib/addons/_buttons.scss +0 -64
  598. data/_sass/uswds/lib/addons/_clearfix.scss +0 -25
  599. data/_sass/uswds/lib/addons/_ellipsis.scss +0 -30
  600. data/_sass/uswds/lib/addons/_font-stacks.scss +0 -31
  601. data/_sass/uswds/lib/addons/_hide-text.scss +0 -27
  602. data/_sass/uswds/lib/addons/_margin.scss +0 -26
  603. data/_sass/uswds/lib/addons/_padding.scss +0 -26
  604. data/_sass/uswds/lib/addons/_position.scss +0 -48
  605. data/_sass/uswds/lib/addons/_prefixer.scss +0 -66
  606. data/_sass/uswds/lib/addons/_retina-image.scss +0 -25
  607. data/_sass/uswds/lib/addons/_size.scss +0 -51
  608. data/_sass/uswds/lib/addons/_text-inputs.scss +0 -113
  609. data/_sass/uswds/lib/addons/_timing-functions.scss +0 -34
  610. data/_sass/uswds/lib/addons/_triangle.scss +0 -63
  611. data/_sass/uswds/lib/addons/_word-wrap.scss +0 -29
  612. data/_sass/uswds/lib/css3/_animation.scss +0 -43
  613. data/_sass/uswds/lib/css3/_appearance.scss +0 -3
  614. data/_sass/uswds/lib/css3/_backface-visibility.scss +0 -3
  615. data/_sass/uswds/lib/css3/_background-image.scss +0 -42
  616. data/_sass/uswds/lib/css3/_background.scss +0 -55
  617. data/_sass/uswds/lib/css3/_border-image.scss +0 -59
  618. data/_sass/uswds/lib/css3/_calc.scss +0 -4
  619. data/_sass/uswds/lib/css3/_columns.scss +0 -47
  620. data/_sass/uswds/lib/css3/_filter.scss +0 -4
  621. data/_sass/uswds/lib/css3/_flex-box.scss +0 -287
  622. data/_sass/uswds/lib/css3/_font-face.scss +0 -24
  623. data/_sass/uswds/lib/css3/_font-feature-settings.scss +0 -4
  624. data/_sass/uswds/lib/css3/_hidpi-media-query.scss +0 -10
  625. data/_sass/uswds/lib/css3/_hyphens.scss +0 -4
  626. data/_sass/uswds/lib/css3/_image-rendering.scss +0 -14
  627. data/_sass/uswds/lib/css3/_keyframes.scss +0 -36
  628. data/_sass/uswds/lib/css3/_linear-gradient.scss +0 -38
  629. data/_sass/uswds/lib/css3/_perspective.scss +0 -8
  630. data/_sass/uswds/lib/css3/_placeholder.scss +0 -8
  631. data/_sass/uswds/lib/css3/_radial-gradient.scss +0 -39
  632. data/_sass/uswds/lib/css3/_selection.scss +0 -42
  633. data/_sass/uswds/lib/css3/_text-decoration.scss +0 -19
  634. data/_sass/uswds/lib/css3/_transform.scss +0 -15
  635. data/_sass/uswds/lib/css3/_transition.scss +0 -71
  636. data/_sass/uswds/lib/css3/_user-select.scss +0 -3
  637. data/_sass/uswds/lib/functions/_assign-inputs.scss +0 -11
  638. data/_sass/uswds/lib/functions/_contains-falsy.scss +0 -20
  639. data/_sass/uswds/lib/functions/_contains.scss +0 -26
  640. data/_sass/uswds/lib/functions/_is-length.scss +0 -11
  641. data/_sass/uswds/lib/functions/_is-light.scss +0 -21
  642. data/_sass/uswds/lib/functions/_is-number.scss +0 -11
  643. data/_sass/uswds/lib/functions/_is-size.scss +0 -13
  644. data/_sass/uswds/lib/functions/_modular-scale.scss +0 -69
  645. data/_sass/uswds/lib/functions/_new-breakpoint.scss +0 -49
  646. data/_sass/uswds/lib/functions/_private.scss +0 -114
  647. data/_sass/uswds/lib/functions/_px-to-em.scss +0 -13
  648. data/_sass/uswds/lib/functions/_px-to-rem.scss +0 -15
  649. data/_sass/uswds/lib/functions/_shade.scss +0 -24
  650. data/_sass/uswds/lib/functions/_strip-units.scss +0 -17
  651. data/_sass/uswds/lib/functions/_tint.scss +0 -24
  652. data/_sass/uswds/lib/functions/_transition-property-name.scss +0 -22
  653. data/_sass/uswds/lib/functions/_unpack.scss +0 -27
  654. data/_sass/uswds/lib/grid/_box-sizing.scss +0 -15
  655. data/_sass/uswds/lib/grid/_direction-context.scss +0 -33
  656. data/_sass/uswds/lib/grid/_display-context.scss +0 -28
  657. data/_sass/uswds/lib/grid/_fill-parent.scss +0 -22
  658. data/_sass/uswds/lib/grid/_media.scss +0 -92
  659. data/_sass/uswds/lib/grid/_omega.scss +0 -87
  660. data/_sass/uswds/lib/grid/_outer-container.scss +0 -34
  661. data/_sass/uswds/lib/grid/_pad.scss +0 -25
  662. data/_sass/uswds/lib/grid/_private.scss +0 -35
  663. data/_sass/uswds/lib/grid/_row.scss +0 -52
  664. data/_sass/uswds/lib/grid/_shift.scss +0 -50
  665. data/_sass/uswds/lib/grid/_span-columns.scss +0 -94
  666. data/_sass/uswds/lib/grid/_to-deprecate.scss +0 -97
  667. data/_sass/uswds/lib/grid/_visual-grid.scss +0 -42
  668. data/_sass/uswds/lib/helpers/_convert-units.scss +0 -21
  669. data/_sass/uswds/lib/helpers/_directional-values.scss +0 -96
  670. data/_sass/uswds/lib/helpers/_font-source-declaration.scss +0 -43
  671. data/_sass/uswds/lib/helpers/_gradient-positions-parser.scss +0 -13
  672. data/_sass/uswds/lib/helpers/_linear-angle-parser.scss +0 -25
  673. data/_sass/uswds/lib/helpers/_linear-gradient-parser.scss +0 -41
  674. data/_sass/uswds/lib/helpers/_linear-positions-parser.scss +0 -61
  675. data/_sass/uswds/lib/helpers/_linear-side-corner-parser.scss +0 -31
  676. data/_sass/uswds/lib/helpers/_radial-arg-parser.scss +0 -69
  677. data/_sass/uswds/lib/helpers/_radial-gradient-parser.scss +0 -50
  678. data/_sass/uswds/lib/helpers/_radial-positions-parser.scss +0 -18
  679. data/_sass/uswds/lib/helpers/_render-gradients.scss +0 -26
  680. data/_sass/uswds/lib/helpers/_shape-size-stripper.scss +0 -10
  681. data/_sass/uswds/lib/helpers/_str-to-num.scss +0 -50
  682. data/_sass/uswds/lib/mixins/_clearfix.scss +0 -25
  683. data/_sass/uswds/lib/settings/_asset-pipeline.scss +0 -7
  684. data/_sass/uswds/lib/settings/_disable-warnings.scss +0 -13
  685. data/_sass/uswds/lib/settings/_grid.scss +0 -51
  686. data/_sass/uswds/lib/settings/_prefixer.scss +0 -9
  687. data/_sass/uswds/lib/settings/_px-to-em.scss +0 -1
  688. data/_sass/uswds/lib/settings/_visual-grid.scss +0 -27
  689. data/_sass/uswds/uswds.scss +0 -41
  690. data/assets/uswds/css/uswds.css +0 -4849
  691. data/assets/uswds/css/uswds.min.css +0 -4
  692. data/assets/uswds/css/uswds.min.css.map +0 -1
  693. data/assets/uswds/fonts/merriweather-bold-webfont.eot +0 -0
  694. data/assets/uswds/fonts/merriweather-bold-webfont.ttf +0 -0
  695. data/assets/uswds/fonts/merriweather-bold-webfont.woff +0 -0
  696. data/assets/uswds/fonts/merriweather-bold-webfont.woff2 +0 -0
  697. data/assets/uswds/fonts/merriweather-italic-webfont.eot +0 -0
  698. data/assets/uswds/fonts/merriweather-italic-webfont.ttf +0 -0
  699. data/assets/uswds/fonts/merriweather-italic-webfont.woff +0 -0
  700. data/assets/uswds/fonts/merriweather-italic-webfont.woff2 +0 -0
  701. data/assets/uswds/fonts/merriweather-light-webfont.eot +0 -0
  702. data/assets/uswds/fonts/merriweather-light-webfont.ttf +0 -0
  703. data/assets/uswds/fonts/merriweather-light-webfont.woff +0 -0
  704. data/assets/uswds/fonts/merriweather-light-webfont.woff2 +0 -0
  705. data/assets/uswds/fonts/merriweather-regular-webfont.eot +0 -0
  706. data/assets/uswds/fonts/merriweather-regular-webfont.ttf +0 -0
  707. data/assets/uswds/fonts/merriweather-regular-webfont.woff +0 -0
  708. data/assets/uswds/fonts/merriweather-regular-webfont.woff2 +0 -0
  709. data/assets/uswds/fonts/sourcesanspro-bold-webfont.eot +0 -0
  710. data/assets/uswds/fonts/sourcesanspro-bold-webfont.ttf +0 -0
  711. data/assets/uswds/fonts/sourcesanspro-bold-webfont.woff +0 -0
  712. data/assets/uswds/fonts/sourcesanspro-bold-webfont.woff2 +0 -0
  713. data/assets/uswds/fonts/sourcesanspro-italic-webfont.eot +0 -0
  714. data/assets/uswds/fonts/sourcesanspro-italic-webfont.ttf +0 -0
  715. data/assets/uswds/fonts/sourcesanspro-italic-webfont.woff +0 -0
  716. data/assets/uswds/fonts/sourcesanspro-italic-webfont.woff2 +0 -0
  717. data/assets/uswds/fonts/sourcesanspro-light-webfont.eot +0 -0
  718. data/assets/uswds/fonts/sourcesanspro-light-webfont.ttf +0 -0
  719. data/assets/uswds/fonts/sourcesanspro-light-webfont.woff +0 -0
  720. data/assets/uswds/fonts/sourcesanspro-light-webfont.woff2 +0 -0
  721. data/assets/uswds/fonts/sourcesanspro-regular-webfont.eot +0 -0
  722. data/assets/uswds/fonts/sourcesanspro-regular-webfont.ttf +0 -0
  723. data/assets/uswds/fonts/sourcesanspro-regular-webfont.woff +0 -0
  724. data/assets/uswds/fonts/sourcesanspro-regular-webfont.woff2 +0 -0
  725. data/assets/uswds/img/alerts/error.png +0 -0
  726. data/assets/uswds/img/alerts/info.png +0 -0
  727. data/assets/uswds/img/alerts/success.png +0 -0
  728. data/assets/uswds/img/alerts/warning.png +0 -0
  729. data/assets/uswds/img/angle-arrow-down-hover.png +0 -0
  730. data/assets/uswds/img/angle-arrow-down-primary-hover.png +0 -0
  731. data/assets/uswds/img/angle-arrow-down-primary.png +0 -0
  732. data/assets/uswds/img/angle-arrow-down.png +0 -0
  733. data/assets/uswds/img/angle-arrow-up-primary-hover.png +0 -0
  734. data/assets/uswds/img/angle-arrow-up-primary.png +0 -0
  735. data/assets/uswds/img/arrow-both.png +0 -0
  736. data/assets/uswds/img/arrow-down.png +0 -0
  737. data/assets/uswds/img/arrow-right.png +0 -0
  738. data/assets/uswds/img/close-primary.png +0 -0
  739. data/assets/uswds/img/close.png +0 -0
  740. data/assets/uswds/img/correct8.png +0 -0
  741. data/assets/uswds/img/correct9.png +0 -0
  742. data/assets/uswds/img/external-link-alt-hover.png +0 -0
  743. data/assets/uswds/img/external-link-alt.png +0 -0
  744. data/assets/uswds/img/external-link-hover.png +0 -0
  745. data/assets/uswds/img/external-link.png +0 -0
  746. data/assets/uswds/img/minus-alt.png +0 -0
  747. data/assets/uswds/img/minus.png +0 -0
  748. data/assets/uswds/img/plus-alt.png +0 -0
  749. data/assets/uswds/img/plus.png +0 -0
  750. data/assets/uswds/img/search-alt.png +0 -0
  751. data/assets/uswds/img/search-primary.png +0 -0
  752. data/assets/uswds/img/search.png +0 -0
  753. data/assets/uswds/img/social-icons/png/facebook25.png +0 -0
  754. data/assets/uswds/img/social-icons/png/rss25.png +0 -0
  755. data/assets/uswds/img/social-icons/png/twitter16.png +0 -0
  756. data/assets/uswds/img/social-icons/png/youtube15.png +0 -0
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15">
2
+ <path fill="none" stroke="#0076D6" stroke-linecap="round" stroke-width="2" d="M0 13.0332964L13.0332964 0M13.0332964 13.0332964L0 0" transform="translate(1 1)"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15">
2
+ <path fill="none" stroke="#2C608A" stroke-linecap="round" stroke-width="2" d="M0 13.0332964L13.0332964 0M13.0332964 13.0332964L0 0" transform="translate(1 1)"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15">
2
+ <path fill="none" stroke="#005EA2" stroke-linecap="round" stroke-width="2" d="M0 13.0332964L13.0332964 0M13.0332964 13.0332964L0 0" transform="translate(1 1)"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15">
2
+ <path fill="none" stroke="#171717" stroke-linecap="round" stroke-width="2" d="M0 13.0332964L13.0332964 0M13.0332964 13.0332964L0 0" transform="translate(1 1)"/>
3
+ </svg>
@@ -1,16 +1 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="15px" height="15px" viewBox="0 0 15 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 43.2 (39069) - http://www.bohemiancoding.com/sketch -->
4
- <title>UI element / Icons / Close</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="UI-components" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="Headers---Mobile" transform="translate(-298.000000, -362.000000)" fill="#0071BB">
9
- <g id="Header---Mobile---Collapse" transform="translate(0.000000, 279.000000)">
10
- <g id="UI-element-/-Icons-/-Close" transform="translate(298.000000, 83.000000)">
11
- <path d="M14.6467778,11.2126037 C14.8818403,11.4476661 15,11.7342663 15,12.0711472 C15,12.4080282 14.8818403,12.6946283 14.6467778,12.9296908 L12.9296908,14.6467778 C12.6933713,14.8830973 12.4067711,15.001257 12.0698902,15.001257 C11.7342663,15.001257 11.4476661,14.8830973 11.2126037,14.6467778 L7.49937149,10.9348026 L3.7873963,14.6467778 C3.55233386,14.8830973 3.26573368,15.001257 2.92885276,15.001257 C2.59197184,15.001257 2.30662868,14.8830973 2.07030923,14.6467778 L0.353222157,12.9296908 C0.116902707,12.6946283 0,12.4080282 0,12.0711472 C0,11.7342663 0.116902707,11.4476661 0.353222157,11.2126037 L4.06519735,7.50062851 L0.353222157,3.78865331 C0.116902707,3.55233386 0,3.2669907 0,2.92885276 C0,2.59322886 0.116902707,2.30662868 0.353222157,2.07156624 L2.07030923,0.353222157 C2.30662868,0.118159725 2.59197184,0 2.92885276,0 C3.26573368,0 3.55233386,0.118159725 3.7873963,0.353222157 L7.49937149,4.06519735 L11.2126037,0.353222157 C11.4476661,0.118159725 11.7342663,0 12.0698902,0 C12.4067711,0 12.6933713,0.118159725 12.9296908,0.353222157 L14.6467778,2.07156624 C14.8818403,2.30662868 15,2.59322886 15,2.92885276 C15,3.2669907 14.8818403,3.55233386 14.6467778,3.78865331 L10.9348026,7.50062851 L14.6467778,11.2126037 Z" id="Fill-15-Copy"></path>
12
- </g>
13
- </g>
14
- </g>
15
- </g>
16
- </svg>
1
+ <svg width="15" height="15" xmlns="http://www.w3.org/2000/svg"><path d="M14.647 11.213c.235.235.353.521.353.858 0 .337-.118.624-.353.859l-1.717 1.717a1.17 1.17 0 0 1-.86.354c-.336 0-.622-.118-.857-.354l-3.714-3.712-3.712 3.712A1.166 1.166 0 0 1 2.93 15c-.337 0-.622-.118-.859-.354L.353 12.93A1.165 1.165 0 0 1 0 12.07c0-.337.117-.623.353-.858L4.065 7.5.353 3.789A1.168 1.168 0 0 1 0 2.929c0-.336.117-.622.353-.857L2.07.353C2.307.118 2.592 0 2.93 0c.337 0 .623.118.858.353L7.5 4.065 11.213.353c.235-.235.521-.353.857-.353.337 0 .623.118.86.353l1.717 1.719c.235.235.353.521.353.857 0 .338-.118.623-.353.86L10.935 7.5l3.712 3.712z" fill="#005ea2" fill-rule="evenodd"/></svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15">
2
+ <path fill="none" stroke="#FFF" stroke-linecap="round" stroke-width="2" d="M0 13.0332964L13.0332964 0M13.0332964 13.0332964L0 0" transform="translate(1 1)"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15">
2
+ <path fill="#FFF" d="M14.6467778,11.2126037 C14.8818403,11.4476661 15,11.7342663 15,12.0711472 C15,12.4080282 14.8818403,12.6946283 14.6467778,12.9296908 L12.9296908,14.6467778 C12.6933713,14.8830973 12.4067711,15.001257 12.0698902,15.001257 C11.7342663,15.001257 11.4476661,14.8830973 11.2126037,14.6467778 L7.49937149,10.9348026 L3.7873963,14.6467778 C3.55233386,14.8830973 3.26573368,15.001257 2.92885276,15.001257 C2.59197184,15.001257 2.30662868,14.8830973 2.07030923,14.6467778 L0.353222157,12.9296908 C0.116902707,12.6946283 0,12.4080282 0,12.0711472 C0,11.7342663 0.116902707,11.4476661 0.353222157,11.2126037 L4.06519735,7.50062851 L0.353222157,3.78865331 C0.116902707,3.55233386 0,3.2669907 0,2.92885276 C0,2.59322886 0.116902707,2.30662868 0.353222157,2.07156624 L2.07030923,0.353222157 C2.30662868,0.118159725 2.59197184,0 2.92885276,0 C3.26573368,0 3.55233386,0.118159725 3.7873963,0.353222157 L7.49937149,4.06519735 L11.2126037,0.353222157 C11.4476661,0.118159725 11.7342663,0 12.0698902,0 C12.4067711,0 12.6933713,0.118159725 12.9296908,0.353222157 L14.6467778,2.07156624 C14.8818403,2.30662868 15,2.59322886 15,2.92885276 C15,3.2669907 14.8818403,3.55233386 14.6467778,3.78865331 L10.9348026,7.50062851 L14.6467778,11.2126037 Z"/>
3
+ </svg>
@@ -1,12 +1 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="15px" height="15px" viewBox="0 0 15 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 43.2 (39069) - http://www.bohemiancoding.com/sketch -->
4
- <title>Fill 15 Copy</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="UI-element-/-Icons-/-Close" fill="#5B616B">
9
- <path d="M14.6467778,11.2126037 C14.8818403,11.4476661 15,11.7342663 15,12.0711472 C15,12.4080282 14.8818403,12.6946283 14.6467778,12.9296908 L12.9296908,14.6467778 C12.6933713,14.8830973 12.4067711,15.001257 12.0698902,15.001257 C11.7342663,15.001257 11.4476661,14.8830973 11.2126037,14.6467778 L7.49937149,10.9348026 L3.7873963,14.6467778 C3.55233386,14.8830973 3.26573368,15.001257 2.92885276,15.001257 C2.59197184,15.001257 2.30662868,14.8830973 2.07030923,14.6467778 L0.353222157,12.9296908 C0.116902707,12.6946283 0,12.4080282 0,12.0711472 C0,11.7342663 0.116902707,11.4476661 0.353222157,11.2126037 L4.06519735,7.50062851 L0.353222157,3.78865331 C0.116902707,3.55233386 0,3.2669907 0,2.92885276 C0,2.59322886 0.116902707,2.30662868 0.353222157,2.07156624 L2.07030923,0.353222157 C2.30662868,0.118159725 2.59197184,0 2.92885276,0 C3.26573368,0 3.55233386,0.118159725 3.7873963,0.353222157 L7.49937149,4.06519735 L11.2126037,0.353222157 C11.4476661,0.118159725 11.7342663,0 12.0698902,0 C12.4067711,0 12.6933713,0.118159725 12.9296908,0.353222157 L14.6467778,2.07156624 C14.8818403,2.30662868 15,2.59322886 15,2.92885276 C15,3.2669907 14.8818403,3.55233386 14.6467778,3.78865331 L10.9348026,7.50062851 L14.6467778,11.2126037 Z" id="Fill-15-Copy"></path>
10
- </g>
11
- </g>
12
- </svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64"><title>close</title><path fill="#565C65" fill-rule="evenodd" d="M57.042 1.15l5.809 5.808a4 4 0 0 1 0 5.657L43.465 32l19.386 19.385a4 4 0 0 1 0 5.657l-5.809 5.809a4 4 0 0 1-5.657 0L32 43.465 12.615 62.851a4 4 0 0 1-5.657 0l-5.809-5.809a4 4 0 0 1 0-5.657L20.535 32 1.149 12.615a4 4 0 0 1 0-5.657l5.809-5.809a4 4 0 0 1 5.657 0L32 20.535 51.385 1.149a4 4 0 0 1 5.657 0z"/></svg>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="65" height="50" viewBox="0 0 65 50"><title>correct8-alt</title><path fill="#171717" fill-rule="evenodd" d="M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 216 146"><path fill="#fff" d="M168.86 37.966l-11.08-11.08c-1.52-1.52-3.367-2.28-5.54-2.28-2.172 0-4.02.76-5.54 2.28L93.254 80.414 69.3 56.38c-1.52-1.522-3.367-2.282-5.54-2.282-2.172 0-4.02.76-5.54 2.28L47.14 67.46c-1.52 1.522-2.28 3.37-2.28 5.542 0 2.172.76 4.02 2.28 5.54l29.493 29.493 11.08 11.08c1.52 1.52 3.368 2.28 5.54 2.28 2.173 0 4.02-.76 5.54-2.28l11.082-11.08L168.86 49.05c1.52-1.52 2.283-3.37 2.283-5.54 0-2.174-.76-4.02-2.28-5.54z"/></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="65" height="50" viewBox="0 0 65 50"><title>correct8</title><path fill="#FFF" fill-rule="evenodd" d="M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 216 146"><path fill="#0071bc" d="M168.86 37.966l-11.08-11.08c-1.52-1.52-3.367-2.28-5.54-2.28-2.172 0-4.02.76-5.54 2.28L93.254 80.414 69.3 56.38c-1.52-1.522-3.367-2.282-5.54-2.282-2.172 0-4.02.76-5.54 2.28L47.14 67.46c-1.52 1.522-2.28 3.37-2.28 5.542 0 2.172.76 4.02 2.28 5.54l29.493 29.493 11.08 11.08c1.52 1.52 3.368 2.28 5.54 2.28 2.173 0 4.02-.76 5.54-2.28l11.082-11.08L168.86 49.05c1.52-1.52 2.283-3.37 2.283-5.54 0-2.174-.76-4.02-2.28-5.54z"/></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="64" height="49" viewBox="0 0 64 49"><title>correct9</title><path fill="#005EA2" fill-rule="evenodd" d="M62.843 6.764l-5.615-5.61C56.458.384 55.52 0 54.42 0c-1.1 0-2.037.385-2.808 1.154l-27.086 27.1-12.14-12.168c-.77-.77-1.706-1.156-2.808-1.156-1.1 0-2.037.385-2.807 1.155l-5.616 5.61C.385 22.465 0 23.401 0 24.501s.385 2.035 1.155 2.804l14.947 14.931 5.616 5.61c.77.77 1.707 1.154 2.807 1.154 1.102 0 2.038-.385 2.808-1.154l5.616-5.61 29.894-29.861c.77-.77 1.157-1.706 1.157-2.805 0-1.1-.385-2.035-1.155-2.804l-.002-.002z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="511.626" height="511.627" viewBox="0 0 511.626 511.627"><g fill="#ffffff"><path d="M392.857 292.354h-18.274c-2.67 0-4.86.855-6.563 2.573-1.718 1.708-2.573 3.897-2.573 6.563v91.36c0 12.564-4.47 23.316-13.415 32.263-8.945 8.945-19.7 13.414-32.264 13.414H82.224c-12.562 0-23.317-4.47-32.264-13.414-8.945-8.946-13.417-19.698-13.417-32.262V155.31c0-12.562 4.47-23.313 13.417-32.26 8.947-8.946 19.702-13.417 32.264-13.417h200.994c2.67 0 4.86-.86 6.57-2.57 1.71-1.713 2.566-3.9 2.566-6.567V82.22c0-2.66-.855-4.852-2.566-6.562-1.71-1.713-3.9-2.568-6.57-2.568H82.224c-22.648 0-42.016 8.042-58.102 24.125C8.042 113.297 0 132.665 0 155.313v237.542c0 22.647 8.042 42.018 24.123 58.095 16.086 16.084 35.454 24.13 58.102 24.13h237.543c22.647 0 42.017-8.046 58.1-24.13 16.086-16.077 24.128-35.447 24.128-58.095v-91.358c0-2.67-.856-4.86-2.574-6.57-1.713-1.718-3.903-2.573-6.565-2.573z"/><path d="M506.2 41.97c-3.618-3.616-7.906-5.423-12.85-5.423H347.17c-4.947 0-9.232 1.807-12.846 5.424-3.617 3.616-5.428 7.9-5.428 12.848s1.81 9.233 5.428 12.85l50.247 50.248-186.146 186.15c-1.906 1.904-2.856 4.094-2.856 6.564 0 2.48.953 4.668 2.856 6.57l32.548 32.545c1.903 1.903 4.093 2.852 6.567 2.852s4.664-.948 6.566-2.852l186.148-186.148 50.25 50.248c3.615 3.617 7.9 5.426 12.848 5.426s9.233-1.808 12.85-5.425c3.618-3.616 5.425-7.898 5.425-12.847V54.818c0-4.952-1.814-9.232-5.428-12.847z"/></g></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="64" height="55" viewBox="0 0 64 55"><title>external-link-alt-hover</title><path fill="#FFF" fill-rule="evenodd" d="M35.226 5c.333 0 .605.106.818.32.212.212.319.485.319.816v2.273c0 .332-.107.604-.32.817-.212.212-.484.32-.817.32H10.227c-1.562 0-2.9.555-4.013 1.668s-1.669 2.45-1.669 4.013v29.545c0 1.563.556 2.9 1.669 4.013s2.45 1.668 4.013 1.668h29.546c1.562 0 2.9-.555 4.013-1.668 1.112-1.113 1.668-2.45 1.668-4.013V33.41c0-.332.106-.604.32-.817.212-.213.484-.32.816-.32h2.273c.331 0 .604.107.817.32.214.213.32.485.32.818v11.363C50 47.591 49 50 46.999 52c-2 2-4.41 3.001-7.226 3.001H10.227C7.41 55 5.001 54 3 51.999c-2-2-3-4.41-3-7.226V15.227c0-2.817 1-5.226 3-7.226C5.001 6 7.41 5 10.227 5zm26.46-5c.627 0 1.17.229 1.627.686.457.458.687 1 .687 1.626v18.501c0 .626-.229 1.168-.687 1.626-.457.458-1 .687-1.626.687-.626 0-1.168-.23-1.626-.687l-6.36-6.36-23.558 23.56c-.24.24-.518.36-.831.36-.313 0-.59-.12-.831-.36l-4.12-4.12a1.142 1.142 0 0 1-.361-.831c0-.313.12-.59.361-.83l23.559-23.56-6.36-6.36c-.457-.457-.686-1-.686-1.626 0-.626.229-1.168.687-1.626.457-.457 1-.686 1.625-.686z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="511.626" height="511.627" viewBox="0 0 511.626 511.627"><g fill="#d6d7d9"><path d="M392.857 292.354h-18.274c-2.67 0-4.86.855-6.563 2.573-1.718 1.708-2.573 3.897-2.573 6.563v91.36c0 12.564-4.47 23.316-13.415 32.263-8.945 8.945-19.7 13.414-32.264 13.414H82.224c-12.562 0-23.317-4.47-32.264-13.414-8.945-8.946-13.417-19.698-13.417-32.262V155.31c0-12.562 4.47-23.313 13.417-32.26 8.947-8.946 19.702-13.417 32.264-13.417h200.994c2.67 0 4.86-.86 6.57-2.57 1.71-1.713 2.566-3.9 2.566-6.567V82.22c0-2.66-.855-4.852-2.566-6.562-1.71-1.713-3.9-2.568-6.57-2.568H82.224c-22.648 0-42.016 8.042-58.102 24.125C8.042 113.297 0 132.665 0 155.313v237.542c0 22.647 8.042 42.018 24.123 58.095 16.086 16.084 35.454 24.13 58.102 24.13h237.543c22.647 0 42.017-8.046 58.1-24.13 16.086-16.077 24.128-35.447 24.128-58.095v-91.358c0-2.67-.856-4.86-2.574-6.57-1.713-1.718-3.903-2.573-6.565-2.573z"/><path d="M506.2 41.97c-3.618-3.616-7.906-5.423-12.85-5.423H347.17c-4.947 0-9.232 1.807-12.846 5.424-3.617 3.616-5.428 7.9-5.428 12.848s1.81 9.233 5.428 12.85l50.247 50.248-186.146 186.15c-1.906 1.904-2.856 4.094-2.856 6.564 0 2.48.953 4.668 2.856 6.57l32.548 32.545c1.903 1.903 4.093 2.852 6.567 2.852s4.664-.948 6.566-2.852l186.148-186.148 50.25 50.248c3.615 3.617 7.9 5.426 12.848 5.426s9.233-1.808 12.85-5.425c3.618-3.616 5.425-7.898 5.425-12.847V54.818c0-4.952-1.814-9.232-5.428-12.847z"/></g></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="64" height="55" viewBox="0 0 64 55"><title>external-link-alt</title><path fill="#A9AEB1" fill-rule="evenodd" d="M35.226 5c.333 0 .605.106.818.32.212.212.319.485.319.816v2.273c0 .332-.107.604-.32.817-.212.212-.484.32-.817.32H10.227c-1.562 0-2.9.555-4.013 1.668s-1.669 2.45-1.669 4.013v29.545c0 1.563.556 2.9 1.669 4.013s2.45 1.668 4.013 1.668h29.546c1.562 0 2.9-.555 4.013-1.668 1.112-1.113 1.668-2.45 1.668-4.013V33.41c0-.332.106-.604.32-.817.212-.213.484-.32.816-.32h2.273c.331 0 .604.107.817.32.214.213.32.485.32.818v11.363C50 47.591 49 50 46.999 52c-2 2-4.41 3.001-7.226 3.001H10.227C7.41 55 5.001 54 3 51.999c-2-2-3-4.41-3-7.226V15.227c0-2.817 1-5.226 3-7.226C5.001 6 7.41 5 10.227 5zm26.46-5c.627 0 1.17.229 1.627.686.457.458.687 1 .687 1.626v18.501c0 .626-.229 1.168-.687 1.626-.457.458-1 .687-1.626.687-.626 0-1.168-.23-1.626-.687l-6.36-6.36-23.558 23.56c-.24.24-.518.36-.831.36-.313 0-.59-.12-.831-.36l-4.12-4.12a1.142 1.142 0 0 1-.361-.831c0-.313.12-.59.361-.83l23.559-23.56-6.36-6.36c-.457-.457-.686-1-.686-1.626 0-.626.229-1.168.687-1.626.457-.457 1-.686 1.625-.686z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="511.626" height="511.627" viewBox="0 0 511.626 511.627"><g fill="#205493"><path d="M392.857 292.354h-18.274c-2.67 0-4.86.855-6.563 2.573-1.718 1.708-2.573 3.897-2.573 6.563v91.36c0 12.564-4.47 23.316-13.415 32.263-8.945 8.945-19.7 13.414-32.264 13.414H82.224c-12.562 0-23.317-4.47-32.264-13.414-8.945-8.946-13.417-19.698-13.417-32.262V155.31c0-12.562 4.47-23.313 13.417-32.26 8.947-8.946 19.702-13.417 32.264-13.417h200.994c2.67 0 4.86-.86 6.57-2.57 1.71-1.713 2.566-3.9 2.566-6.567V82.22c0-2.66-.855-4.852-2.566-6.562-1.71-1.713-3.9-2.568-6.57-2.568H82.224c-22.648 0-42.016 8.042-58.102 24.125C8.042 113.297 0 132.665 0 155.313v237.542c0 22.647 8.042 42.018 24.123 58.095 16.086 16.084 35.454 24.13 58.102 24.13h237.543c22.647 0 42.017-8.046 58.1-24.13 16.086-16.077 24.128-35.447 24.128-58.095v-91.358c0-2.67-.856-4.86-2.574-6.57-1.713-1.718-3.903-2.573-6.565-2.573z"/><path d="M506.2 41.97c-3.618-3.616-7.906-5.423-12.85-5.423H347.17c-4.947 0-9.232 1.807-12.846 5.424-3.617 3.616-5.428 7.9-5.428 12.848s1.81 9.233 5.428 12.85l50.247 50.248-186.146 186.15c-1.906 1.904-2.856 4.094-2.856 6.564 0 2.48.953 4.668 2.856 6.57l32.548 32.545c1.903 1.903 4.093 2.852 6.567 2.852s4.664-.948 6.566-2.852l186.148-186.148 50.25 50.248c3.615 3.617 7.9 5.426 12.848 5.426s9.233-1.808 12.85-5.425c3.618-3.616 5.425-7.898 5.425-12.847V54.818c0-4.952-1.814-9.232-5.428-12.847z"/></g></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="64" height="55" viewBox="0 0 64 55"><title>external-link-hover</title><path fill="#1A4480" fill-rule="evenodd" d="M35.226 5c.333 0 .605.106.818.32.212.212.319.485.319.816v2.273c0 .332-.107.604-.32.817-.212.212-.484.32-.817.32H10.227c-1.562 0-2.9.555-4.013 1.668s-1.669 2.45-1.669 4.013v29.545c0 1.563.556 2.9 1.669 4.013s2.45 1.668 4.013 1.668h29.546c1.562 0 2.9-.555 4.013-1.668 1.112-1.113 1.668-2.45 1.668-4.013V33.41c0-.332.106-.604.32-.817.212-.213.484-.32.816-.32h2.273c.331 0 .604.107.817.32.214.213.32.485.32.818v11.363C50 47.591 49 50 46.999 52c-2 2-4.41 3.001-7.226 3.001H10.227C7.41 55 5.001 54 3 51.999c-2-2-3-4.41-3-7.226V15.227c0-2.817 1-5.226 3-7.226C5.001 6 7.41 5 10.227 5zm26.46-5c.627 0 1.17.229 1.627.686.457.458.687 1 .687 1.626v18.501c0 .626-.229 1.168-.687 1.626-.457.458-1 .687-1.626.687-.626 0-1.168-.23-1.626-.687l-6.36-6.36-23.558 23.56c-.24.24-.518.36-.831.36-.313 0-.59-.12-.831-.36l-4.12-4.12a1.142 1.142 0 0 1-.361-.831c0-.313.12-.59.361-.83l23.559-23.56-6.36-6.36c-.457-.457-.686-1-.686-1.626 0-.626.229-1.168.687-1.626.457-.457 1-.686 1.625-.686z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="511.626" height="511.627" viewBox="0 0 511.626 511.627"><g fill="#0071bc"><path d="M392.857 292.354h-18.274c-2.67 0-4.86.855-6.563 2.573-1.718 1.708-2.573 3.897-2.573 6.563v91.36c0 12.564-4.47 23.316-13.415 32.263-8.945 8.945-19.7 13.414-32.264 13.414H82.224c-12.562 0-23.317-4.47-32.264-13.414-8.945-8.946-13.417-19.698-13.417-32.262V155.31c0-12.562 4.47-23.313 13.417-32.26 8.947-8.946 19.702-13.417 32.264-13.417h200.994c2.67 0 4.86-.86 6.57-2.57 1.71-1.713 2.566-3.9 2.566-6.567V82.22c0-2.66-.855-4.852-2.566-6.562-1.71-1.713-3.9-2.568-6.57-2.568H82.224c-22.648 0-42.016 8.042-58.102 24.125C8.042 113.297 0 132.665 0 155.313v237.542c0 22.647 8.042 42.018 24.123 58.095 16.086 16.084 35.454 24.13 58.102 24.13h237.543c22.647 0 42.017-8.046 58.1-24.13 16.086-16.077 24.128-35.447 24.128-58.095v-91.358c0-2.67-.856-4.86-2.574-6.57-1.713-1.718-3.903-2.573-6.565-2.573z"/><path d="M506.2 41.97c-3.618-3.616-7.906-5.423-12.85-5.423H347.17c-4.947 0-9.232 1.807-12.846 5.424-3.617 3.616-5.428 7.9-5.428 12.848s1.81 9.233 5.428 12.85l50.247 50.248-186.146 186.15c-1.906 1.904-2.856 4.094-2.856 6.564 0 2.48.953 4.668 2.856 6.57l32.548 32.545c1.903 1.903 4.093 2.852 6.567 2.852s4.664-.948 6.566-2.852l186.148-186.148 50.25 50.248c3.615 3.617 7.9 5.426 12.848 5.426s9.233-1.808 12.85-5.425c3.618-3.616 5.425-7.898 5.425-12.847V54.818c0-4.952-1.814-9.232-5.428-12.847z"/></g></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="64" height="55" viewBox="0 0 64 55"><title>external-link</title><path fill="#005EA2" fill-rule="evenodd" d="M35.226 5c.333 0 .605.106.818.32.212.212.319.485.319.816v2.273c0 .332-.107.604-.32.817-.212.212-.484.32-.817.32H10.227c-1.562 0-2.9.555-4.013 1.668s-1.669 2.45-1.669 4.013v29.545c0 1.563.556 2.9 1.669 4.013s2.45 1.668 4.013 1.668h29.546c1.562 0 2.9-.555 4.013-1.668 1.112-1.113 1.668-2.45 1.668-4.013V33.41c0-.332.106-.604.32-.817.212-.213.484-.32.816-.32h2.273c.331 0 .604.107.817.32.214.213.32.485.32.818v11.363C50 47.591 49 50 46.999 52c-2 2-4.41 3.001-7.226 3.001H10.227C7.41 55 5.001 54 3 51.999c-2-2-3-4.41-3-7.226V15.227c0-2.817 1-5.226 3-7.226C5.001 6 7.41 5 10.227 5zm26.46-5c.627 0 1.17.229 1.627.686.457.458.687 1 .687 1.626v18.501c0 .626-.229 1.168-.687 1.626-.457.458-1 .687-1.626.687-.626 0-1.168-.23-1.626-.687l-6.36-6.36-23.558 23.56c-.24.24-.518.36-.831.36-.313 0-.59-.12-.831-.36l-4.12-4.12a1.142 1.142 0 0 1-.361-.831c0-.313.12-.59.361-.83l23.559-23.56-6.36-6.36c-.457-.457-.686-1-.686-1.626 0-.626.229-1.168.687-1.626.457-.457 1-.686 1.625-.686z"/></svg>
Binary file
@@ -1 +1 @@
1
- <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 54 54"><defs><style>.cls-1{fill:#007faa;}.cls-2{fill:none;stroke:#046b99;stroke-miterlimit:10;}</style></defs><title>dot gov icon</title><path class="cls-1" d="M36.5,20.91v1.36H35.15a0.71,0.71,0,0,1-.73.68H18.23a0.71,0.71,0,0,1-.73-0.68H16.14V20.91l10.18-4.07Zm0,13.57v1.36H16.14V34.48a0.71,0.71,0,0,1,.73-0.68h18.9A0.71,0.71,0,0,1,36.5,34.48ZM21.57,23.62v8.14h1.36V23.62h2.71v8.14H27V23.62h2.71v8.14h1.36V23.62h2.71v8.14h0.63a0.71,0.71,0,0,1,.73.68v0.68H17.5V32.45a0.71,0.71,0,0,1,.73-0.68h0.63V23.62h2.71Z"/><circle class="cls-2" cx="27" cy="27.12" r="26"/></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64"><title>icon-dot-gov</title><path fill="#2378C3" fill-rule="evenodd" d="M32 0c17.673 0 32 14.327 32 32 0 17.673-14.327 32-32 32C14.327 64 0 49.673 0 32 0 14.327 14.327 0 32 0zm0 1.208C14.994 1.208 1.208 14.994 1.208 32S14.994 62.792 32 62.792 62.792 49.006 62.792 32 49.006 1.208 32 1.208zm10.59 38.858a.857.857 0 0 1 .882.822v1.642H18.886v-1.642a.857.857 0 0 1 .882-.822H42.59zM25.443 27.774v9.829h1.642v-9.83h3.273v9.83H32v-9.83h3.272v9.83h1.643v-9.83h3.272v9.83h.76a.857.857 0 0 1 .882.821v.821h-21.3v-.809a.857.857 0 0 1 .88-.82h.762v-9.842h3.272zm5.736-8.188l12.293 4.915v1.642h-1.63a.857.857 0 0 1-.882.822H21.41a.857.857 0 0 1-.882-.822h-1.642v-1.642l12.293-4.915z"/></svg>
@@ -1 +1 @@
1
- <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 54 54"><defs><style>.cls-1{fill:#549500;}.cls-2{fill:none;stroke:#458600;stroke-miterlimit:10;}</style></defs><title>https icon</title><path class="cls-1" d="M34.72,34.84a1.29,1.29,0,0,1-1.29,1.29H20.57a1.29,1.29,0,0,1-1.29-1.29V27.12a1.29,1.29,0,0,1,1.29-1.29H21V23.26a6,6,0,0,1,12,0v2.57h0.43a1.29,1.29,0,0,1,1.29,1.29v7.72Zm-4.29-9V23.26a3.43,3.43,0,0,0-6.86,0v2.57h6.86Z"/><circle class="cls-2" cx="27" cy="27.12" r="26"/></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64"><title>icon-https</title><path fill="#719F2A" fill-rule="evenodd" d="M32 0c17.673 0 32 14.327 32 32 0 17.673-14.327 32-32 32C14.327 64 0 49.673 0 32 0 14.327 14.327 0 32 0zm0 1.208C14.994 1.208 1.208 14.994 1.208 32S14.994 62.792 32 62.792 62.792 49.006 62.792 32 49.006 1.208 32 1.208zm0 18.886a7.245 7.245 0 0 1 7.245 7.245v3.103h.52c.86 0 1.557.698 1.557 1.558v9.322c0 .86-.697 1.558-1.557 1.558h-15.53c-.86 0-1.557-.697-1.557-1.558V32c0-.86.697-1.558 1.557-1.558h.52V27.34A7.245 7.245 0 0 1 32 20.094zm0 3.103a4.142 4.142 0 0 0-4.142 4.142v3.103h8.284V27.34A4.142 4.142 0 0 0 32 23.197z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="401.991" height="401.991" viewBox="0 0 401.991 401.991"><path fill="#5B616B" d="M394 154.174c-5.33-5.33-11.806-7.995-19.417-7.995H27.406c-7.61 0-14.084 2.66-19.414 7.99C2.662 159.5 0 165.97 0 173.586v54.82c0 7.617 2.662 14.086 7.992 19.41 5.33 5.332 11.803 7.994 19.414 7.994h347.176c7.61 0 14.086-2.66 19.417-7.993 5.32-5.324 7.99-11.793 7.99-19.41v-54.82c0-7.615-2.66-14.087-7.99-19.413z"/></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="64" height="17" viewBox="0 0 64 17"><title>minus-alt</title><path fill="#565C65" fill-rule="evenodd" d="M62.726 1.195c-.848-.778-1.88-1.167-3.09-1.167H4.362c-1.211 0-2.242.389-3.09 1.167C.422 1.973 0 2.917 0 4.028v8.001c0 1.112.424 2.056 1.272 2.833.849.778 1.88 1.166 3.091 1.166h55.272c1.211 0 2.242-.388 3.091-1.166.847-.777 1.272-1.721 1.272-2.833v-8c0-1.112-.423-2.056-1.272-2.834z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="401.991" height="401.991" viewBox="0 0 401.991 401.991"><path d="M394 154.174c-5.33-5.33-11.806-7.995-19.417-7.995H27.406c-7.61 0-14.084 2.66-19.414 7.99C2.662 159.5 0 165.97 0 173.586v54.82c0 7.617 2.662 14.086 7.992 19.41 5.33 5.332 11.803 7.994 19.414 7.994h347.176c7.61 0 14.086-2.66 19.417-7.993 5.32-5.324 7.99-11.793 7.99-19.41v-54.82c0-7.615-2.66-14.087-7.99-19.413z"/></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="64" height="16" viewBox="0 0 64 16"><title>minus</title><path fill="#171717" fill-rule="evenodd" d="M62.726 1.167C61.878.389 60.846 0 59.636 0H4.362C3.151 0 2.12.388 1.272 1.166.422 1.944 0 2.888 0 4v8c0 1.112.424 2.056 1.272 2.833.849.778 1.88 1.167 3.091 1.167h55.272c1.211 0 2.242-.388 3.091-1.167.847-.777 1.272-1.72 1.272-2.832V4c0-1.111-.423-2.056-1.272-2.833z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="401.994" height="401.994" viewBox="0 0 401.994 401.994"><path fill="#5B616B" d="M394 154.175c-5.33-5.33-11.806-7.994-19.417-7.994H255.81V27.41c0-7.61-2.665-14.084-7.993-19.414C242.487 2.666 236.02 0 228.397 0h-54.81c-7.613 0-14.085 2.663-19.415 7.993-5.33 5.33-7.994 11.803-7.994 19.414v118.775H27.408c-7.612 0-14.085 2.664-19.415 7.994S0 165.973 0 173.59v54.818c0 7.618 2.662 14.086 7.992 19.41 5.33 5.333 11.803 7.995 19.414 7.995h118.77V374.59c0 7.61 2.665 14.09 7.995 19.417 5.33 5.325 11.806 7.987 19.418 7.987H228.4c7.618 0 14.087-2.662 19.418-7.987 5.332-5.33 7.994-11.806 7.994-19.417V255.813h118.77c7.618 0 14.09-2.662 19.417-7.994 5.325-5.33 7.99-11.797 7.99-19.415v-54.82c0-7.615-2.66-14.086-7.993-19.413z"/></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="64" height="65" viewBox="0 0 64 65"><title>plus-alt</title><path fill="#565C65" fill-rule="evenodd" d="M36 .03c1.111 0 2.056.424 2.833 1.271.778.85 1.166 1.88 1.166 3.092v19.635h19.636c1.125 0 2.095.336 2.907 1.007l.184.16c.849.778 1.272 1.722 1.272 2.834v8c0 1.112-.425 2.056-1.272 2.833-.849.778-1.88 1.166-3.091 1.166H39.999v19.636c0 1.126-.335 2.095-1.006 2.907l-.16.184c-.778.849-1.722 1.273-2.833 1.273h-8.001c-1.111 0-2.056-.424-2.834-1.273-.778-.848-1.166-1.879-1.166-3.09V40.027H4.363c-1.125 0-2.094-.334-2.906-1.005l-.185-.161C.424 38.085 0 37.14 0 36.029v-8c0-1.112.424-2.056 1.272-2.834.849-.778 1.88-1.167 3.091-1.167H24V4.393c0-1.126.335-2.095 1.006-2.907l.16-.185C25.944.453 26.889.03 28 .03z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="401.994" height="401.994" viewBox="0 0 401.994 401.994"><path d="M394 154.175c-5.33-5.33-11.806-7.994-19.417-7.994H255.81V27.41c0-7.61-2.665-14.084-7.993-19.414C242.487 2.666 236.02 0 228.397 0h-54.81c-7.613 0-14.085 2.663-19.415 7.993-5.33 5.33-7.994 11.803-7.994 19.414v118.775H27.408c-7.612 0-14.085 2.664-19.415 7.994S0 165.973 0 173.59v54.818c0 7.618 2.662 14.086 7.992 19.41 5.33 5.333 11.803 7.995 19.414 7.995h118.77V374.59c0 7.61 2.665 14.09 7.995 19.417 5.33 5.325 11.806 7.987 19.418 7.987H228.4c7.618 0 14.087-2.662 19.418-7.987 5.332-5.33 7.994-11.806 7.994-19.417V255.813h118.77c7.618 0 14.09-2.662 19.417-7.994 5.325-5.33 7.99-11.797 7.99-19.415v-54.82c0-7.615-2.66-14.086-7.993-19.413z"/></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64"><title>plus</title><path fill="#171717" fill-rule="evenodd" d="M36 0c1.111 0 2.056.425 2.833 1.272.778.849 1.166 1.88 1.166 3.091V24h19.636c1.125 0 2.095.335 2.907 1.006l.184.16c.849.778 1.272 1.723 1.272 2.834v8c0 1.112-.425 2.057-1.272 2.834-.849.778-1.88 1.166-3.091 1.166H39.999v19.636c0 1.125-.335 2.094-1.006 2.906l-.16.185c-.778.848-1.722 1.272-2.833 1.272h-8.001c-1.111 0-2.056-.424-2.834-1.272-.778-.849-1.166-1.88-1.166-3.09V39.998H4.363c-1.125 0-2.094-.335-2.906-1.006l-.185-.16C.424 38.054 0 37.11 0 36v-8.001c0-1.111.424-2.056 1.272-2.834C2.121 24.387 3.152 24 4.363 24H24V4.363c0-1.125.335-2.094 1.006-2.906l.16-.185C25.944.423 26.889 0 28 0z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 216 146"><path fill="#5b616b" d="M172.77 123.025L144.825 95.08c6.735-9.722 10.104-20.56 10.104-32.508 0-7.767-1.51-15.195-4.527-22.283-3.014-7.09-7.088-13.2-12.22-18.336s-11.243-9.207-18.33-12.22c-7.09-3.016-14.52-4.523-22.286-4.523-7.768 0-15.196 1.508-22.284 4.523-7.09 3.014-13.2 7.088-18.332 12.22-5.132 5.134-9.206 11.245-12.22 18.333-3.015 7.088-4.522 14.515-4.522 22.282 0 7.766 1.507 15.192 4.522 22.282 3.014 7.088 7.088 13.197 12.22 18.33 5.134 5.134 11.245 9.207 18.333 12.222 7.09 3.015 14.516 4.522 22.283 4.522 11.95 0 22.786-3.37 32.51-10.105l27.943 27.863c1.955 2.064 4.397 3.096 7.332 3.096 2.824 0 5.27-1.03 7.332-3.096 2.064-2.063 3.096-4.508 3.096-7.332 0-2.877-1.002-5.322-3.013-7.33zm-49.413-34.668C116.214 95.5 107.62 99.07 97.57 99.07c-10.048 0-18.643-3.57-25.786-10.713C64.64 81.214 61.07 72.62 61.07 62.57c0-10.047 3.572-18.643 10.714-25.785C78.926 29.642 87.522 26.07 97.57 26.07c10.048 0 18.643 3.573 25.787 10.715 7.143 7.142 10.715 15.738 10.715 25.786 0 10.05-3.573 18.647-10.715 25.79z"/></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64"><title>search-alt</title><path fill="#565C65" fill-rule="evenodd" d="M39.25 39.25c3.37-3.372 5.06-7.425 5.06-12.174 0-4.74-1.686-8.798-5.06-12.173-3.372-3.37-7.425-5.056-12.174-5.056-4.74 0-8.798 1.686-12.173 5.056-3.37 3.371-5.056 7.433-5.056 12.173 0 4.745 1.686 8.802 5.056 12.173 3.371 3.37 7.433 5.06 12.173 5.06 4.745 0 8.802-1.685 12.173-5.06zm23.325 16.366c.951.947 1.425 2.103 1.425 3.46 0 1.336-.486 2.488-1.463 3.46a4.724 4.724 0 0 1-3.456 1.46c-1.391 0-2.54-.487-3.465-1.46L42.423 49.383a26.334 26.334 0 0 1-15.347 4.77c-3.665 0-7.168-.708-10.517-2.133a27.017 27.017 0 0 1-8.653-5.768 27.046 27.046 0 0 1-5.773-8.657A26.6 26.6 0 0 1 0 27.076c0-3.665.713-7.168 2.133-10.517a27.025 27.025 0 0 1 5.773-8.653 26.961 26.961 0 0 1 8.649-5.773A26.563 26.563 0 0 1 27.076 0c3.67 0 7.177.708 10.522 2.133a27.008 27.008 0 0 1 8.653 5.773 27.093 27.093 0 0 1 5.768 8.653 26.578 26.578 0 0 1 2.134 10.517c0 5.64-1.592 10.752-4.77 15.347l13.192 13.193z"/></svg>
@@ -1,12 +1 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="15px" height="15px" viewBox="0 0 15 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 43.2 (39069) - http://www.bohemiancoding.com/sketch -->
4
- <title>Fill 200 Copy</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="UI-element-/-Icons-/-Search---blue" fill="#0071BC">
9
- <path d="M9.19897377,9.19897377 C9.9895477,8.40935006 10.3848347,7.4581908 10.3848347,6.34644622 C10.3848347,5.23470163 9.9895477,4.28354238 9.19897377,3.49296845 C8.40935006,2.70334474 7.4581908,2.30805777 6.34644622,2.30805777 C5.23470163,2.30805777 4.28354238,2.70334474 3.49296845,3.49296845 C2.70334474,4.28354238 2.30805777,5.23470163 2.30805777,6.34644622 C2.30805777,7.4581908 2.70334474,8.40935006 3.49296845,9.19897377 C4.28354238,9.9895477 5.23470163,10.3848347 6.34644622,10.3848347 C7.4581908,10.3848347 8.40935006,9.9895477 9.19897377,9.19897377 L9.19897377,9.19897377 Z M14.6664766,13.0349677 C14.8888255,13.2573166 15,13.5281262 15,13.8464462 C15,14.159065 14.8859749,14.4289244 14.6569745,14.6569745 C14.4289244,14.8850247 14.159065,14.9990498 13.8464462,14.9990498 C13.5214747,14.9990498 13.2516154,14.8850247 13.0349677,14.6569745 L9.94298746,11.5744964 C8.86735082,12.3194603 7.66913721,12.6919422 6.34644622,12.6919422 C5.48745724,12.6919422 4.66552642,12.5256556 3.88065374,12.1911821 C3.09673128,11.8586089 2.42018244,11.4072596 1.85290764,10.8399848 C1.28468263,10.2717598 0.834283542,9.59616116 0.500760167,8.81128848 C0.167236792,8.02736602 0,7.2054352 0,6.34644622 C0,5.48745724 0.167236792,4.66552642 0.500760167,3.88065374 C0.834283542,3.09673128 1.28468263,2.42018244 1.85290764,1.85290764 C2.42018244,1.28468263 3.09673128,0.833333333 3.88065374,0.500760167 C4.66552642,0.166286583 5.48745724,0 6.34644622,0 C7.2054352,0 8.02831623,0.166286583 8.81223869,0.500760167 C9.59616116,0.833333333 10.2717598,1.28468263 10.8399848,1.85290764 C11.4072596,2.42018244 11.8586089,3.09673128 12.1921323,3.88065374 C12.5256556,4.66552642 12.6928924,5.48745724 12.6928924,6.34644622 C12.6928924,7.668187 12.3194603,8.86640061 11.5744964,9.94298746 L14.6664766,13.0349677 Z" id="Fill-200-Copy"></path>
10
- </g>
11
- </g>
12
- </svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64"><title>search-primary</title><path fill="#005EA2" fill-rule="evenodd" d="M39.25 39.25c3.37-3.372 5.06-7.425 5.06-12.174 0-4.74-1.686-8.798-5.06-12.173-3.372-3.37-7.425-5.056-12.174-5.056-4.74 0-8.798 1.686-12.173 5.056-3.37 3.371-5.056 7.433-5.056 12.173 0 4.745 1.686 8.802 5.056 12.173 3.371 3.37 7.433 5.06 12.173 5.06 4.745 0 8.802-1.685 12.173-5.06zm23.325 16.366c.951.947 1.425 2.103 1.425 3.46 0 1.336-.486 2.488-1.463 3.46a4.724 4.724 0 0 1-3.456 1.46c-1.391 0-2.54-.487-3.465-1.46L42.423 49.383a26.334 26.334 0 0 1-15.347 4.77c-3.665 0-7.168-.708-10.517-2.133a27.017 27.017 0 0 1-8.653-5.768 27.046 27.046 0 0 1-5.773-8.657A26.6 26.6 0 0 1 0 27.076c0-3.665.713-7.168 2.133-10.517a27.025 27.025 0 0 1 5.773-8.653 26.961 26.961 0 0 1 8.649-5.773A26.563 26.563 0 0 1 27.076 0c3.67 0 7.177.708 10.522 2.133a27.008 27.008 0 0 1 8.653 5.773 27.093 27.093 0 0 1 5.768 8.653 26.578 26.578 0 0 1 2.134 10.517c0 5.64-1.592 10.752-4.77 15.347l13.192 13.193z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 216 146"><path fill="#fff" d="M172.77 123.025L144.825 95.08c6.735-9.722 10.104-20.56 10.104-32.508 0-7.767-1.51-15.195-4.527-22.283-3.014-7.09-7.088-13.2-12.22-18.336s-11.243-9.207-18.33-12.22c-7.09-3.016-14.52-4.523-22.286-4.523-7.768 0-15.196 1.508-22.284 4.523-7.09 3.014-13.2 7.088-18.332 12.22-5.132 5.134-9.206 11.245-12.22 18.333-3.015 7.088-4.522 14.515-4.522 22.282 0 7.766 1.507 15.192 4.522 22.282 3.014 7.088 7.088 13.197 12.22 18.33 5.134 5.134 11.245 9.207 18.333 12.222 7.09 3.015 14.516 4.522 22.283 4.522 11.95 0 22.786-3.37 32.51-10.105l27.943 27.863c1.955 2.064 4.397 3.096 7.332 3.096 2.824 0 5.27-1.03 7.332-3.096 2.064-2.063 3.096-4.508 3.096-7.332 0-2.877-1.002-5.322-3.013-7.33zm-49.413-34.668C116.214 95.5 107.62 99.07 97.57 99.07c-10.048 0-18.643-3.57-25.786-10.713C64.64 81.214 61.07 72.62 61.07 62.57c0-10.047 3.572-18.643 10.714-25.785C78.926 29.642 87.522 26.07 97.57 26.07c10.048 0 18.643 3.573 25.787 10.715 7.143 7.142 10.715 15.738 10.715 25.786 0 10.05-3.573 18.647-10.715 25.79z"/></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="65" height="64" viewBox="0 0 65 64"><title>search</title><path fill="#FFF" d="M62.672 55.618L49.48 42.426c3.18-4.59 4.77-9.706 4.77-15.347 0-3.666-.713-7.173-2.137-10.519-1.423-3.347-3.347-6.231-5.77-8.656-2.422-2.425-5.307-4.346-8.652-5.769A26.606 26.606 0 0 0 27.17 0a26.61 26.61 0 0 0-10.52 2.135c-3.347 1.423-6.231 3.346-8.654 5.769-2.423 2.424-4.346 5.309-5.769 8.655A26.6 26.6 0 0 0 .092 27.077c0 3.667.712 7.172 2.135 10.52 1.423 3.345 3.346 6.23 5.769 8.652 2.424 2.424 5.308 4.347 8.655 5.77a26.606 26.606 0 0 0 10.519 2.135c5.641 0 10.757-1.591 15.347-4.77l13.191 13.153c.923.974 2.076 1.462 3.462 1.462 1.333 0 2.487-.487 3.46-1.462.975-.974 1.462-2.128 1.462-3.461 0-1.358-.473-2.513-1.422-3.46l.002.002zM39.345 39.252c-3.372 3.372-7.429 5.057-12.173 5.057s-8.801-1.685-12.173-5.057c-3.373-3.372-5.058-7.43-5.058-12.174 0-4.743 1.686-8.8 5.058-12.172 3.371-3.372 7.43-5.058 12.173-5.058s8.8 1.686 12.173 5.058c3.372 3.371 5.059 7.43 5.059 12.173 0 4.744-1.687 8.803-5.059 12.175v-.002z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="216" height="146" viewBox="0 0 216 146"><path d="M118.348 49.86V38.293c0-1.737.08-3.082.243-4.032.165-.95.53-1.886 1.104-2.81.57-.923 1.494-1.56 2.77-1.914 1.277-.354 2.975-.53 5.094-.53h11.568V5.866H120.63c-10.702 0-18.387 2.54-23.058 7.617-4.67 5.08-7.006 12.56-7.006 22.446v13.93H76.714V73h13.85v67.134h27.784V73h18.494l2.444-23.14h-20.938z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="216" height="146" viewBox="0 0 216 146"><path d="M118.348 49.86V38.293c0-1.737.08-3.082.243-4.032.165-.95.53-1.886 1.104-2.81.57-.923 1.494-1.56 2.77-1.914 1.277-.354 2.975-.53 5.094-.53h11.568V5.866H120.63c-10.702 0-18.387 2.54-23.058 7.617-4.67 5.08-7.006 12.56-7.006 22.446v13.93H76.714V73h13.85v67.134h27.784V73h18.494l2.444-23.14h-20.938z" fill="#1b1b1b"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="216" height="146" viewBox="0 0 216 146"><path d="M66.28 99.072c-4.347 0-8.04 1.52-11.082 4.562-3.04 3.042-4.562 6.735-4.562 11.08 0 4.347 1.52 8.04 4.562 11.08 3.042 3.042 6.736 4.563 11.08 4.563 4.346 0 8.04-1.52 11.08-4.562 3.042-3.042 4.563-6.734 4.563-11.08s-1.52-8.04-4.56-11.08c-3.04-3.042-6.733-4.563-11.08-4.563zm36.01-20.37c-6.138-6.19-13.172-11.12-21.102-14.786-7.93-3.667-16.24-5.853-24.93-6.56h-.408c-1.412 0-2.58.463-3.503 1.386-1.14.977-1.71 2.254-1.71 3.83V73.57c0 1.357.447 2.525 1.343 3.503.896.98 2.023 1.522 3.38 1.63 12.44 1.195 23.07 6.206 31.897 15.032 8.826 8.825 13.837 19.458 15.032 31.896.106 1.36.65 2.488 1.63 3.384.975.897 2.142 1.346 3.5 1.346h11c1.574 0 2.85-.57 3.83-1.71 1.03-1.09 1.492-2.393 1.385-3.914-.707-8.69-2.894-17-6.56-24.93-3.666-7.93-8.595-14.964-14.787-21.102z"/><path d="M155.573 84.04c-5.812-13.01-13.796-24.565-23.953-34.668-10.103-10.157-21.658-18.14-34.667-23.953-13.008-5.814-26.628-9.074-40.86-9.78h-.243c-1.412 0-2.607.49-3.585 1.467-1.086.976-1.63 2.226-1.63 3.747v11.65c0 1.358.477 2.54 1.427 3.544s2.104 1.534 3.462 1.59c11.678.706 22.772 3.477 33.282 8.31 10.51 4.835 19.635 11.12 27.375 18.86 7.74 7.74 14.03 16.866 18.86 27.376 4.837 10.512 7.58 21.604 8.23 33.282.057 1.357.586 2.512 1.59 3.462 1.006.95 2.215 1.427 3.627 1.427h11.65c1.52 0 2.768-.544 3.747-1.632 1.087-1.086 1.574-2.36 1.468-3.828-.704-14.232-3.964-27.852-9.776-40.86z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="216" height="146" viewBox="0 0 216 146"><path d="M66.28 99.072c-4.347 0-8.04 1.52-11.082 4.562-3.04 3.042-4.562 6.735-4.562 11.08 0 4.347 1.52 8.04 4.562 11.08 3.042 3.042 6.736 4.563 11.08 4.563 4.346 0 8.04-1.52 11.08-4.562 3.042-3.042 4.563-6.734 4.563-11.08s-1.52-8.04-4.56-11.08c-3.04-3.042-6.733-4.563-11.08-4.563zm36.01-20.37c-6.138-6.19-13.172-11.12-21.102-14.786-7.93-3.667-16.24-5.853-24.93-6.56h-.408c-1.412 0-2.58.463-3.503 1.386-1.14.977-1.71 2.254-1.71 3.83V73.57c0 1.357.447 2.525 1.343 3.503.896.98 2.023 1.522 3.38 1.63 12.44 1.195 23.07 6.206 31.897 15.032 8.826 8.825 13.837 19.458 15.032 31.896.106 1.36.65 2.488 1.63 3.384.975.897 2.142 1.346 3.5 1.346h11c1.574 0 2.85-.57 3.83-1.71 1.03-1.09 1.492-2.393 1.385-3.914-.707-8.69-2.894-17-6.56-24.93-3.666-7.93-8.595-14.964-14.787-21.102z" fill="#1b1b1b"/><path d="M155.573 84.04c-5.812-13.01-13.796-24.565-23.953-34.668-10.103-10.157-21.658-18.14-34.667-23.953-13.008-5.814-26.628-9.074-40.86-9.78h-.243c-1.412 0-2.607.49-3.585 1.467-1.086.976-1.63 2.226-1.63 3.747v11.65c0 1.358.477 2.54 1.427 3.544s2.104 1.534 3.462 1.59c11.678.706 22.772 3.477 33.282 8.31 10.51 4.835 19.635 11.12 27.375 18.86 7.74 7.74 14.03 16.866 18.86 27.376 4.837 10.512 7.58 21.604 8.23 33.282.057 1.357.586 2.512 1.59 3.462 1.006.95 2.215 1.427 3.627 1.427h11.65c1.52 0 2.768-.544 3.747-1.632 1.087-1.086 1.574-2.36 1.468-3.828-.704-14.232-3.964-27.852-9.776-40.86z" fill="#1b1b1b"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="216" height="146" viewBox="0 0 216 146"><path d="M172.2 33.24c-5.05 2.174-10.103 3.53-15.152 4.076 5.703-3.422 9.56-8.256 11.57-14.502-5.216 3.095-10.783 5.213-16.703 6.354-5.215-5.54-11.623-8.31-19.228-8.31-7.278 0-13.483 2.565-18.617 7.698-5.133 5.133-7.7 11.338-7.7 18.616 0 1.955.218 3.965.653 6.03-10.755-.544-20.844-3.246-30.268-8.107-9.424-4.862-17.422-11.34-23.994-19.432-2.39 4.073-3.582 8.5-3.582 13.28 0 4.508 1.06 8.69 3.178 12.547 2.118 3.856 4.97 6.98 8.555 9.37-4.237-.164-8.202-1.278-11.895-3.342v.326c0 6.355 1.996 11.935 5.988 16.743 3.992 4.808 9.03 7.835 15.113 9.084-2.28.6-4.59.9-6.925.9-1.52 0-3.177-.137-4.97-.407 1.685 5.27 4.78 9.6 9.29 12.995 4.507 3.396 9.613 5.146 15.316 5.256-9.56 7.495-20.45 11.243-32.67 11.243-2.336 0-4.454-.107-6.355-.325 12.22 7.876 25.69 11.813 40.41 11.813 9.344 0 18.116-1.48 26.316-4.44 8.203-2.96 15.21-6.924 21.02-11.895 5.812-4.97 10.823-10.686 15.032-17.15 4.21-6.463 7.345-13.21 9.41-20.245 2.064-7.035 3.096-14.08 3.096-21.143 0-1.52-.027-2.66-.082-3.422 5.163-3.746 9.563-8.282 13.2-13.604z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="216" height="146" viewBox="0 0 216 146"><path d="M172.2 33.24c-5.05 2.174-10.103 3.53-15.152 4.076 5.703-3.422 9.56-8.256 11.57-14.502-5.216 3.095-10.783 5.213-16.703 6.354-5.215-5.54-11.623-8.31-19.228-8.31-7.278 0-13.483 2.565-18.617 7.698-5.133 5.133-7.7 11.338-7.7 18.616 0 1.955.218 3.965.653 6.03-10.755-.544-20.844-3.246-30.268-8.107-9.424-4.862-17.422-11.34-23.994-19.432-2.39 4.073-3.582 8.5-3.582 13.28 0 4.508 1.06 8.69 3.178 12.547 2.118 3.856 4.97 6.98 8.555 9.37-4.237-.164-8.202-1.278-11.895-3.342v.326c0 6.355 1.996 11.935 5.988 16.743 3.992 4.808 9.03 7.835 15.113 9.084-2.28.6-4.59.9-6.925.9-1.52 0-3.177-.137-4.97-.407 1.685 5.27 4.78 9.6 9.29 12.995 4.507 3.396 9.613 5.146 15.316 5.256-9.56 7.495-20.45 11.243-32.67 11.243-2.336 0-4.454-.107-6.355-.325 12.22 7.876 25.69 11.813 40.41 11.813 9.344 0 18.116-1.48 26.316-4.44 8.203-2.96 15.21-6.924 21.02-11.895 5.812-4.97 10.823-10.686 15.032-17.15 4.21-6.463 7.345-13.21 9.41-20.245 2.064-7.035 3.096-14.08 3.096-21.143 0-1.52-.027-2.66-.082-3.422 5.163-3.746 9.563-8.282 13.2-13.604z" fill="#1b1b1b"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="216" height="146" viewBox="0 0 216 146"><path d="M166.254 75.443c-.705-3.205-2.268-5.893-4.684-8.065-2.418-2.172-5.202-3.45-8.353-3.83-9.993-1.085-25.065-1.628-45.218-1.628-20.155 0-35.2.543-45.14 1.63-3.204.38-6 1.656-8.39 3.828-2.39 2.173-3.967 4.86-4.728 8.065-1.412 6.302-2.118 15.807-2.118 28.517 0 12.927.706 22.433 2.118 28.517.707 3.203 2.27 5.893 4.686 8.064 2.416 2.176 5.2 3.425 8.35 3.75C72.776 145.43 87.85 146 108 146s35.225-.57 45.217-1.71c3.15-.327 5.92-1.576 8.31-3.75 2.392-2.17 3.967-4.86 4.727-8.063 1.412-6.302 2.12-15.807 2.12-28.517-.002-12.927-.71-22.433-2.12-28.517zm-84.162 8.23h-8.718v46.358h-8.147V83.677h-8.555v-7.66h25.42v7.66zm21.997 46.358h-7.254v-4.4c-2.933 3.317-5.704 4.97-8.31 4.97-2.5 0-4.075-1.002-4.726-3.01-.433-1.305-.65-3.288-.65-5.95V89.783h7.25v29.656c0 1.737.027 2.688.082 2.85.163 1.142.733 1.712 1.71 1.712 1.467 0 3.016-1.14 4.645-3.422V89.783h7.25v40.248zm27.7-12.055c0 3.965-.246 6.682-.73 8.15-.928 2.984-2.855 4.478-5.788 4.478-2.607 0-5.133-1.493-7.578-4.478v3.91h-7.25v-54.02h7.25v17.68c2.337-2.93 4.86-4.4 7.578-4.4 2.933 0 4.86 1.523 5.785 4.564.486 1.41.73 4.1.73 8.063v16.048zm27.536-6.68h-14.583v7.088c0 3.75 1.248 5.622 3.747 5.622 1.793 0 2.88-.977 3.26-2.934.108-.542.163-2.2.163-4.97h7.414v1.06c0 2.663-.055 4.237-.163 4.728-.162 1.465-.73 2.932-1.71 4.398-1.956 2.88-4.89 4.318-8.8 4.318-3.748 0-6.68-1.384-8.8-4.153-1.574-2.01-2.362-5.16-2.362-9.45v-14.1c0-4.29.76-7.44 2.28-9.45 2.12-2.77 5.025-4.154 8.72-4.154 3.64 0 6.52 1.384 8.635 4.154 1.468 2.01 2.2 5.16 2.2 9.45v8.392z"/><path d="M121.36 95.895c-1.25 0-2.47.6-3.665 1.793v24.522c1.195 1.194 2.416 1.792 3.666 1.792 2.12 0 3.18-1.818 3.18-5.46v-17.188c0-3.64-1.06-5.46-3.18-5.46zm27.05 0c-2.443 0-3.665 1.847-3.665 5.54v3.747h7.332v-3.748c0-3.694-1.223-5.54-3.666-5.54zM77.368 32.508v22.08h8.147v-22.08L95.372 0h-8.31l-5.54 21.428L75.74 0h-8.636c1.52 4.563 3.286 9.64 5.296 15.236 2.553 7.495 4.21 13.253 4.97 17.272zm28.922 22.65c3.747 0 6.625-1.385 8.635-4.155 1.52-2.01 2.28-5.215 2.28-9.614V27.13c0-4.344-.76-7.522-2.28-9.532-2.01-2.77-4.888-4.155-8.636-4.155-3.64 0-6.495 1.385-8.558 4.155-1.52 2.01-2.28 5.188-2.28 9.533v14.26c0 4.346.76 7.55 2.28 9.615 2.064 2.77 4.915 4.155 8.555 4.155zm-3.505-29.494c0-3.748 1.168-5.622 3.504-5.622s3.5 1.874 3.5 5.622v17.11c0 3.802-1.167 5.702-3.503 5.702s-3.505-1.9-3.505-5.703v-17.11zm25.908 29.494c2.717 0 5.515-1.684 8.393-5.052v4.48h7.414V13.933h-7.414v31.04c-1.63 2.337-3.177 3.504-4.645 3.504-.976 0-1.546-.597-1.71-1.792-.053-.11-.08-1.06-.08-2.852v-29.9h-7.414v32.1c0 2.77.218 4.807.652 6.11.707 2.01 2.31 3.016 4.807 3.016z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="216" height="146" viewBox="0 0 216 146"><path d="M166.254 75.443c-.705-3.205-2.268-5.893-4.684-8.065-2.418-2.172-5.202-3.45-8.353-3.83-9.993-1.085-25.065-1.628-45.218-1.628-20.155 0-35.2.543-45.14 1.63-3.204.38-6 1.656-8.39 3.828-2.39 2.173-3.967 4.86-4.728 8.065-1.412 6.302-2.118 15.807-2.118 28.517 0 12.927.706 22.433 2.118 28.517.707 3.203 2.27 5.893 4.686 8.064 2.416 2.176 5.2 3.425 8.35 3.75C72.776 145.43 87.85 146 108 146s35.225-.57 45.217-1.71c3.15-.327 5.92-1.576 8.31-3.75 2.392-2.17 3.967-4.86 4.727-8.063 1.412-6.302 2.12-15.807 2.12-28.517-.002-12.927-.71-22.433-2.12-28.517zm-84.162 8.23h-8.718v46.358h-8.147V83.677h-8.555v-7.66h25.42v7.66zm21.997 46.358h-7.254v-4.4c-2.933 3.317-5.704 4.97-8.31 4.97-2.5 0-4.075-1.002-4.726-3.01-.433-1.305-.65-3.288-.65-5.95V89.783h7.25v29.656c0 1.737.027 2.688.082 2.85.163 1.142.733 1.712 1.71 1.712 1.467 0 3.016-1.14 4.645-3.422V89.783h7.25v40.248zm27.7-12.055c0 3.965-.246 6.682-.73 8.15-.928 2.984-2.855 4.478-5.788 4.478-2.607 0-5.133-1.493-7.578-4.478v3.91h-7.25v-54.02h7.25v17.68c2.337-2.93 4.86-4.4 7.578-4.4 2.933 0 4.86 1.523 5.785 4.564.486 1.41.73 4.1.73 8.063v16.048zm27.536-6.68h-14.583v7.088c0 3.75 1.248 5.622 3.747 5.622 1.793 0 2.88-.977 3.26-2.934.108-.542.163-2.2.163-4.97h7.414v1.06c0 2.663-.055 4.237-.163 4.728-.162 1.465-.73 2.932-1.71 4.398-1.956 2.88-4.89 4.318-8.8 4.318-3.748 0-6.68-1.384-8.8-4.153-1.574-2.01-2.362-5.16-2.362-9.45v-14.1c0-4.29.76-7.44 2.28-9.45 2.12-2.77 5.025-4.154 8.72-4.154 3.64 0 6.52 1.384 8.635 4.154 1.468 2.01 2.2 5.16 2.2 9.45v8.392z" fill="#1b1b1b"/><path d="M121.36 95.895c-1.25 0-2.47.6-3.665 1.793v24.522c1.195 1.194 2.416 1.792 3.666 1.792 2.12 0 3.18-1.818 3.18-5.46v-17.188c0-3.64-1.06-5.46-3.18-5.46zm27.05 0c-2.443 0-3.665 1.847-3.665 5.54v3.747h7.332v-3.748c0-3.694-1.223-5.54-3.666-5.54zM77.368 32.508v22.08h8.147v-22.08L95.372 0h-8.31l-5.54 21.428L75.74 0h-8.636c1.52 4.563 3.286 9.64 5.296 15.236 2.553 7.495 4.21 13.253 4.97 17.272zm28.922 22.65c3.747 0 6.625-1.385 8.635-4.155 1.52-2.01 2.28-5.215 2.28-9.614V27.13c0-4.344-.76-7.522-2.28-9.532-2.01-2.77-4.888-4.155-8.636-4.155-3.64 0-6.495 1.385-8.558 4.155-1.52 2.01-2.28 5.188-2.28 9.533v14.26c0 4.346.76 7.55 2.28 9.615 2.064 2.77 4.915 4.155 8.555 4.155zm-3.505-29.494c0-3.748 1.168-5.622 3.504-5.622s3.5 1.874 3.5 5.622v17.11c0 3.802-1.167 5.702-3.503 5.702s-3.505-1.9-3.505-5.703v-17.11zm25.908 29.494c2.717 0 5.515-1.684 8.393-5.052v4.48h7.414V13.933h-7.414v31.04c-1.63 2.337-3.177 3.504-4.645 3.504-.976 0-1.546-.597-1.71-1.792-.053-.11-.08-1.06-.08-2.852v-29.9h-7.414v32.1c0 2.77.218 4.807.652 6.11.707 2.01 2.31 3.016 4.807 3.016z" fill="#1b1b1b"/></svg>
@@ -1,56 +1,4 @@
1
- (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
2
- 'use strict';
3
-
4
- /**
5
- * Array#filter.
6
- *
7
- * @param {Array} arr
8
- * @param {Function} fn
9
- * @param {Object=} self
10
- * @return {Array}
11
- * @throw TypeError
12
- */
13
-
14
- module.exports = function (arr, fn, self) {
15
- if (arr.filter) return arr.filter(fn, self);
16
- if (void 0 === arr || null === arr) throw new TypeError();
17
- if ('function' != typeof fn) throw new TypeError();
18
- var ret = [];
19
- for (var i = 0; i < arr.length; i++) {
20
- if (!hasOwn.call(arr, i)) continue;
21
- var val = arr[i];
22
- if (fn.call(self, val, i, arr)) ret.push(val);
23
- }
24
- return ret;
25
- };
26
-
27
- var hasOwn = Object.prototype.hasOwnProperty;
28
-
29
- },{}],2:[function(require,module,exports){
30
- /**
31
- * array-foreach
32
- * Array#forEach ponyfill for older browsers
33
- * (Ponyfill: A polyfill that doesn't overwrite the native method)
34
- *
35
- * https://github.com/twada/array-foreach
36
- *
37
- * Copyright (c) 2015-2016 Takuto Wada
38
- * Licensed under the MIT license.
39
- * https://github.com/twada/array-foreach/blob/master/MIT-LICENSE
40
- */
41
- 'use strict';
42
-
43
- module.exports = function forEach(ary, callback, thisArg) {
44
- if (ary.forEach) {
45
- ary.forEach(callback, thisArg);
46
- return;
47
- }
48
- for (var i = 0; i < ary.length; i += 1) {
49
- callback.call(thisArg, ary[i], i, ary);
50
- }
51
- };
52
-
53
- },{}],3:[function(require,module,exports){
1
+ (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
54
2
  "use strict";
55
3
 
56
4
  /*
@@ -65,223 +13,230 @@ module.exports = function forEach(ary, callback, thisArg) {
65
13
  /*global self, document, DOMException */
66
14
 
67
15
  /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */
68
-
69
16
  if ("document" in window.self) {
17
+ // Full polyfill for browsers with no classList support
18
+ // Including IE < Edge missing SVGElement.classList
19
+ if (!("classList" in document.createElement("_")) || document.createElementNS && !("classList" in document.createElementNS("http://www.w3.org/2000/svg", "g"))) {
20
+ (function (view) {
21
+ "use strict";
22
+
23
+ if (!('Element' in view)) return;
24
+
25
+ var classListProp = "classList",
26
+ protoProp = "prototype",
27
+ elemCtrProto = view.Element[protoProp],
28
+ objCtr = Object,
29
+ strTrim = String[protoProp].trim || function () {
30
+ return this.replace(/^\s+|\s+$/g, "");
31
+ },
32
+ arrIndexOf = Array[protoProp].indexOf || function (item) {
33
+ var i = 0,
34
+ len = this.length;
35
+
36
+ for (; i < len; i++) {
37
+ if (i in this && this[i] === item) {
38
+ return i;
39
+ }
40
+ }
41
+
42
+ return -1;
43
+ } // Vendors: please allow content code to instantiate DOMExceptions
44
+ ,
45
+ DOMEx = function DOMEx(type, message) {
46
+ this.name = type;
47
+ this.code = DOMException[type];
48
+ this.message = message;
49
+ },
50
+ checkTokenAndGetIndex = function checkTokenAndGetIndex(classList, token) {
51
+ if (token === "") {
52
+ throw new DOMEx("SYNTAX_ERR", "An invalid or illegal string was specified");
53
+ }
54
+
55
+ if (/\s/.test(token)) {
56
+ throw new DOMEx("INVALID_CHARACTER_ERR", "String contains an invalid character");
57
+ }
58
+
59
+ return arrIndexOf.call(classList, token);
60
+ },
61
+ ClassList = function ClassList(elem) {
62
+ var trimmedClasses = strTrim.call(elem.getAttribute("class") || ""),
63
+ classes = trimmedClasses ? trimmedClasses.split(/\s+/) : [],
64
+ i = 0,
65
+ len = classes.length;
66
+
67
+ for (; i < len; i++) {
68
+ this.push(classes[i]);
69
+ }
70
+
71
+ this._updateClassName = function () {
72
+ elem.setAttribute("class", this.toString());
73
+ };
74
+ },
75
+ classListProto = ClassList[protoProp] = [],
76
+ classListGetter = function classListGetter() {
77
+ return new ClassList(this);
78
+ }; // Most DOMException implementations don't allow calling DOMException's toString()
79
+ // on non-DOMExceptions. Error's toString() is sufficient here.
80
+
81
+
82
+ DOMEx[protoProp] = Error[protoProp];
83
+
84
+ classListProto.item = function (i) {
85
+ return this[i] || null;
86
+ };
87
+
88
+ classListProto.contains = function (token) {
89
+ token += "";
90
+ return checkTokenAndGetIndex(this, token) !== -1;
91
+ };
92
+
93
+ classListProto.add = function () {
94
+ var tokens = arguments,
95
+ i = 0,
96
+ l = tokens.length,
97
+ token,
98
+ updated = false;
99
+
100
+ do {
101
+ token = tokens[i] + "";
102
+
103
+ if (checkTokenAndGetIndex(this, token) === -1) {
104
+ this.push(token);
105
+ updated = true;
106
+ }
107
+ } while (++i < l);
108
+
109
+ if (updated) {
110
+ this._updateClassName();
111
+ }
112
+ };
113
+
114
+ classListProto.remove = function () {
115
+ var tokens = arguments,
116
+ i = 0,
117
+ l = tokens.length,
118
+ token,
119
+ updated = false,
120
+ index;
121
+
122
+ do {
123
+ token = tokens[i] + "";
124
+ index = checkTokenAndGetIndex(this, token);
125
+
126
+ while (index !== -1) {
127
+ this.splice(index, 1);
128
+ updated = true;
129
+ index = checkTokenAndGetIndex(this, token);
130
+ }
131
+ } while (++i < l);
132
+
133
+ if (updated) {
134
+ this._updateClassName();
135
+ }
136
+ };
137
+
138
+ classListProto.toggle = function (token, force) {
139
+ token += "";
140
+ var result = this.contains(token),
141
+ method = result ? force !== true && "remove" : force !== false && "add";
142
+
143
+ if (method) {
144
+ this[method](token);
145
+ }
146
+
147
+ if (force === true || force === false) {
148
+ return force;
149
+ } else {
150
+ return !result;
151
+ }
152
+ };
153
+
154
+ classListProto.toString = function () {
155
+ return this.join(" ");
156
+ };
157
+
158
+ if (objCtr.defineProperty) {
159
+ var classListPropDesc = {
160
+ get: classListGetter,
161
+ enumerable: true,
162
+ configurable: true
163
+ };
164
+
165
+ try {
166
+ objCtr.defineProperty(elemCtrProto, classListProp, classListPropDesc);
167
+ } catch (ex) {
168
+ // IE 8 doesn't support enumerable:true
169
+ // adding undefined to fight this issue https://github.com/eligrey/classList.js/issues/36
170
+ // modernie IE8-MSW7 machine has IE8 8.0.6001.18702 and is affected
171
+ if (ex.number === undefined || ex.number === -0x7FF5EC54) {
172
+ classListPropDesc.enumerable = false;
173
+ objCtr.defineProperty(elemCtrProto, classListProp, classListPropDesc);
174
+ }
175
+ }
176
+ } else if (objCtr[protoProp].__defineGetter__) {
177
+ elemCtrProto.__defineGetter__(classListProp, classListGetter);
178
+ }
179
+ })(window.self);
180
+ } // There is full or partial native classList support, so just check if we need
181
+ // to normalize the add/remove and toggle APIs.
182
+
183
+
184
+ (function () {
185
+ "use strict";
186
+
187
+ var testElement = document.createElement("_");
188
+ testElement.classList.add("c1", "c2"); // Polyfill for IE 10/11 and Firefox <26, where classList.add and
189
+ // classList.remove exist but support only one argument at a time.
190
+
191
+ if (!testElement.classList.contains("c2")) {
192
+ var createMethod = function createMethod(method) {
193
+ var original = DOMTokenList.prototype[method];
194
+
195
+ DOMTokenList.prototype[method] = function (token) {
196
+ var i,
197
+ len = arguments.length;
198
+
199
+ for (i = 0; i < len; i++) {
200
+ token = arguments[i];
201
+ original.call(this, token);
202
+ }
203
+ };
204
+ };
205
+
206
+ createMethod('add');
207
+ createMethod('remove');
208
+ }
209
+
210
+ testElement.classList.toggle("c3", false); // Polyfill for IE 10 and Firefox <24, where classList.toggle does not
211
+ // support the second argument.
70
212
 
71
- // Full polyfill for browsers with no classList support
72
- // Including IE < Edge missing SVGElement.classList
73
- if (!("classList" in document.createElement("_")) || document.createElementNS && !("classList" in document.createElementNS("http://www.w3.org/2000/svg", "g"))) {
74
-
75
- (function (view) {
76
-
77
- "use strict";
78
-
79
- if (!('Element' in view)) return;
80
-
81
- var classListProp = "classList",
82
- protoProp = "prototype",
83
- elemCtrProto = view.Element[protoProp],
84
- objCtr = Object,
85
- strTrim = String[protoProp].trim || function () {
86
- return this.replace(/^\s+|\s+$/g, "");
87
- },
88
- arrIndexOf = Array[protoProp].indexOf || function (item) {
89
- var i = 0,
90
- len = this.length;
91
- for (; i < len; i++) {
92
- if (i in this && this[i] === item) {
93
- return i;
94
- }
95
- }
96
- return -1;
97
- }
98
- // Vendors: please allow content code to instantiate DOMExceptions
99
- ,
100
- DOMEx = function DOMEx(type, message) {
101
- this.name = type;
102
- this.code = DOMException[type];
103
- this.message = message;
104
- },
105
- checkTokenAndGetIndex = function checkTokenAndGetIndex(classList, token) {
106
- if (token === "") {
107
- throw new DOMEx("SYNTAX_ERR", "An invalid or illegal string was specified");
108
- }
109
- if (/\s/.test(token)) {
110
- throw new DOMEx("INVALID_CHARACTER_ERR", "String contains an invalid character");
111
- }
112
- return arrIndexOf.call(classList, token);
113
- },
114
- ClassList = function ClassList(elem) {
115
- var trimmedClasses = strTrim.call(elem.getAttribute("class") || ""),
116
- classes = trimmedClasses ? trimmedClasses.split(/\s+/) : [],
117
- i = 0,
118
- len = classes.length;
119
- for (; i < len; i++) {
120
- this.push(classes[i]);
121
- }
122
- this._updateClassName = function () {
123
- elem.setAttribute("class", this.toString());
124
- };
125
- },
126
- classListProto = ClassList[protoProp] = [],
127
- classListGetter = function classListGetter() {
128
- return new ClassList(this);
129
- };
130
- // Most DOMException implementations don't allow calling DOMException's toString()
131
- // on non-DOMExceptions. Error's toString() is sufficient here.
132
- DOMEx[protoProp] = Error[protoProp];
133
- classListProto.item = function (i) {
134
- return this[i] || null;
135
- };
136
- classListProto.contains = function (token) {
137
- token += "";
138
- return checkTokenAndGetIndex(this, token) !== -1;
139
- };
140
- classListProto.add = function () {
141
- var tokens = arguments,
142
- i = 0,
143
- l = tokens.length,
144
- token,
145
- updated = false;
146
- do {
147
- token = tokens[i] + "";
148
- if (checkTokenAndGetIndex(this, token) === -1) {
149
- this.push(token);
150
- updated = true;
151
- }
152
- } while (++i < l);
153
-
154
- if (updated) {
155
- this._updateClassName();
156
- }
157
- };
158
- classListProto.remove = function () {
159
- var tokens = arguments,
160
- i = 0,
161
- l = tokens.length,
162
- token,
163
- updated = false,
164
- index;
165
- do {
166
- token = tokens[i] + "";
167
- index = checkTokenAndGetIndex(this, token);
168
- while (index !== -1) {
169
- this.splice(index, 1);
170
- updated = true;
171
- index = checkTokenAndGetIndex(this, token);
172
- }
173
- } while (++i < l);
174
-
175
- if (updated) {
176
- this._updateClassName();
177
- }
178
- };
179
- classListProto.toggle = function (token, force) {
180
- token += "";
181
-
182
- var result = this.contains(token),
183
- method = result ? force !== true && "remove" : force !== false && "add";
184
-
185
- if (method) {
186
- this[method](token);
187
- }
188
-
189
- if (force === true || force === false) {
190
- return force;
191
- } else {
192
- return !result;
193
- }
194
- };
195
- classListProto.toString = function () {
196
- return this.join(" ");
197
- };
198
-
199
- if (objCtr.defineProperty) {
200
- var classListPropDesc = {
201
- get: classListGetter,
202
- enumerable: true,
203
- configurable: true
204
- };
205
- try {
206
- objCtr.defineProperty(elemCtrProto, classListProp, classListPropDesc);
207
- } catch (ex) {
208
- // IE 8 doesn't support enumerable:true
209
- // adding undefined to fight this issue https://github.com/eligrey/classList.js/issues/36
210
- // modernie IE8-MSW7 machine has IE8 8.0.6001.18702 and is affected
211
- if (ex.number === undefined || ex.number === -0x7FF5EC54) {
212
- classListPropDesc.enumerable = false;
213
- objCtr.defineProperty(elemCtrProto, classListProp, classListPropDesc);
214
- }
215
- }
216
- } else if (objCtr[protoProp].__defineGetter__) {
217
- elemCtrProto.__defineGetter__(classListProp, classListGetter);
218
- }
219
- })(window.self);
220
- }
221
-
222
- // There is full or partial native classList support, so just check if we need
223
- // to normalize the add/remove and toggle APIs.
224
-
225
- (function () {
226
- "use strict";
227
-
228
- var testElement = document.createElement("_");
229
-
230
- testElement.classList.add("c1", "c2");
231
-
232
- // Polyfill for IE 10/11 and Firefox <26, where classList.add and
233
- // classList.remove exist but support only one argument at a time.
234
- if (!testElement.classList.contains("c2")) {
235
- var createMethod = function createMethod(method) {
236
- var original = DOMTokenList.prototype[method];
237
-
238
- DOMTokenList.prototype[method] = function (token) {
239
- var i,
240
- len = arguments.length;
241
-
242
- for (i = 0; i < len; i++) {
243
- token = arguments[i];
244
- original.call(this, token);
245
- }
246
- };
247
- };
248
- createMethod('add');
249
- createMethod('remove');
250
- }
251
-
252
- testElement.classList.toggle("c3", false);
253
-
254
- // Polyfill for IE 10 and Firefox <24, where classList.toggle does not
255
- // support the second argument.
256
- if (testElement.classList.contains("c3")) {
257
- var _toggle = DOMTokenList.prototype.toggle;
258
-
259
- DOMTokenList.prototype.toggle = function (token, force) {
260
- if (1 in arguments && !this.contains(token) === !force) {
261
- return force;
262
- } else {
263
- return _toggle.call(this, token);
264
- }
265
- };
266
- }
267
-
268
- testElement = null;
269
- })();
213
+ if (testElement.classList.contains("c3")) {
214
+ var _toggle = DOMTokenList.prototype.toggle;
215
+
216
+ DOMTokenList.prototype.toggle = function (token, force) {
217
+ if (1 in arguments && !this.contains(token) === !force) {
218
+ return force;
219
+ } else {
220
+ return _toggle.call(this, token);
221
+ }
222
+ };
223
+ }
224
+
225
+ testElement = null;
226
+ })();
270
227
  }
271
228
 
272
- },{}],4:[function(require,module,exports){
273
- 'use strict';
229
+ },{}],2:[function(require,module,exports){
230
+ "use strict";
274
231
 
275
- var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
232
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
276
233
 
277
234
  /*!
278
235
  * domready (c) Dustin Diaz 2014 - License MIT
279
236
  */
280
237
  !function (name, definition) {
281
-
282
238
  if (typeof module != 'undefined') module.exports = definition();else if (typeof define == 'function' && _typeof(define.amd) == 'object') define(definition);else this[name] = definition();
283
239
  }('domready', function () {
284
-
285
240
  var fns = [],
286
241
  _listener,
287
242
  doc = document,
@@ -292,116 +247,234 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
292
247
  if (!loaded) doc.addEventListener(domContentLoaded, _listener = function listener() {
293
248
  doc.removeEventListener(domContentLoaded, _listener);
294
249
  loaded = 1;
250
+
295
251
  while (_listener = fns.shift()) {
296
252
  _listener();
297
253
  }
298
254
  });
299
-
300
255
  return function (fn) {
301
256
  loaded ? setTimeout(fn, 0) : fns.push(fn);
302
257
  };
303
258
  });
304
259
 
305
- },{}],5:[function(require,module,exports){
306
- 'use strict';
307
-
308
- // <3 Modernizr
260
+ },{}],3:[function(require,module,exports){
261
+ 'use strict'; // <3 Modernizr
309
262
  // https://raw.githubusercontent.com/Modernizr/Modernizr/master/feature-detects/dom/dataset.js
310
263
 
311
264
  function useNative() {
312
- var elem = document.createElement('div');
313
- elem.setAttribute('data-a-b', 'c');
314
-
315
- return Boolean(elem.dataset && elem.dataset.aB === 'c');
265
+ var elem = document.createElement('div');
266
+ elem.setAttribute('data-a-b', 'c');
267
+ return Boolean(elem.dataset && elem.dataset.aB === 'c');
316
268
  }
317
269
 
318
270
  function nativeDataset(element) {
319
- return element.dataset;
271
+ return element.dataset;
320
272
  }
321
273
 
322
274
  module.exports = useNative() ? nativeDataset : function (element) {
323
- var map = {};
324
- var attributes = element.attributes;
325
-
326
- function getter() {
327
- return this.value;
328
- }
329
-
330
- function setter(name, value) {
331
- if (typeof value === 'undefined') {
332
- this.removeAttribute(name);
333
- } else {
334
- this.setAttribute(name, value);
335
- }
336
- }
337
-
338
- for (var i = 0, j = attributes.length; i < j; i++) {
339
- var attribute = attributes[i];
340
-
341
- if (attribute) {
342
- var name = attribute.name;
343
-
344
- if (name.indexOf('data-') === 0) {
345
- var prop = name.slice(5).replace(/-./g, function (u) {
346
- return u.charAt(1).toUpperCase();
347
- });
348
-
349
- var value = attribute.value;
350
-
351
- Object.defineProperty(map, prop, {
352
- enumerable: true,
353
- get: getter.bind({ value: value || '' }),
354
- set: setter.bind(element, name)
355
- });
356
- }
357
- }
358
- }
359
-
360
- return map;
275
+ var map = {};
276
+ var attributes = element.attributes;
277
+
278
+ function getter() {
279
+ return this.value;
280
+ }
281
+
282
+ function setter(name, value) {
283
+ if (typeof value === 'undefined') {
284
+ this.removeAttribute(name);
285
+ } else {
286
+ this.setAttribute(name, value);
287
+ }
288
+ }
289
+
290
+ for (var i = 0, j = attributes.length; i < j; i++) {
291
+ var attribute = attributes[i];
292
+
293
+ if (attribute) {
294
+ var name = attribute.name;
295
+
296
+ if (name.indexOf('data-') === 0) {
297
+ var prop = name.slice(5).replace(/-./g, function (u) {
298
+ return u.charAt(1).toUpperCase();
299
+ });
300
+ var value = attribute.value;
301
+ Object.defineProperty(map, prop, {
302
+ enumerable: true,
303
+ get: getter.bind({
304
+ value: value || ''
305
+ }),
306
+ set: setter.bind(element, name)
307
+ });
308
+ }
309
+ }
310
+ }
311
+
312
+ return map;
361
313
  };
362
314
 
363
- },{}],6:[function(require,module,exports){
364
- 'use strict';
315
+ },{}],4:[function(require,module,exports){
316
+ "use strict";
365
317
 
366
318
  // element-closest | CC0-1.0 | github.com/jonathantneal/closest
367
-
368
319
  (function (ElementProto) {
369
- if (typeof ElementProto.matches !== 'function') {
370
- ElementProto.matches = ElementProto.msMatchesSelector || ElementProto.mozMatchesSelector || ElementProto.webkitMatchesSelector || function matches(selector) {
371
- var element = this;
372
- var elements = (element.document || element.ownerDocument).querySelectorAll(selector);
373
- var index = 0;
374
-
375
- while (elements[index] && elements[index] !== element) {
376
- ++index;
377
- }
378
-
379
- return Boolean(elements[index]);
380
- };
381
- }
382
-
383
- if (typeof ElementProto.closest !== 'function') {
384
- ElementProto.closest = function closest(selector) {
385
- var element = this;
386
-
387
- while (element && element.nodeType === 1) {
388
- if (element.matches(selector)) {
389
- return element;
390
- }
391
-
392
- element = element.parentNode;
393
- }
394
-
395
- return null;
396
- };
397
- }
320
+ if (typeof ElementProto.matches !== 'function') {
321
+ ElementProto.matches = ElementProto.msMatchesSelector || ElementProto.mozMatchesSelector || ElementProto.webkitMatchesSelector || function matches(selector) {
322
+ var element = this;
323
+ var elements = (element.document || element.ownerDocument).querySelectorAll(selector);
324
+ var index = 0;
325
+
326
+ while (elements[index] && elements[index] !== element) {
327
+ ++index;
328
+ }
329
+
330
+ return Boolean(elements[index]);
331
+ };
332
+ }
333
+
334
+ if (typeof ElementProto.closest !== 'function') {
335
+ ElementProto.closest = function closest(selector) {
336
+ var element = this;
337
+
338
+ while (element && element.nodeType === 1) {
339
+ if (element.matches(selector)) {
340
+ return element;
341
+ }
342
+
343
+ element = element.parentNode;
344
+ }
345
+
346
+ return null;
347
+ };
348
+ }
398
349
  })(window.Element.prototype);
399
350
 
400
- },{}],7:[function(require,module,exports){
351
+ },{}],5:[function(require,module,exports){
352
+ "use strict";
353
+
354
+ /* global define, KeyboardEvent, module */
355
+ (function () {
356
+ var keyboardeventKeyPolyfill = {
357
+ polyfill: polyfill,
358
+ keys: {
359
+ 3: 'Cancel',
360
+ 6: 'Help',
361
+ 8: 'Backspace',
362
+ 9: 'Tab',
363
+ 12: 'Clear',
364
+ 13: 'Enter',
365
+ 16: 'Shift',
366
+ 17: 'Control',
367
+ 18: 'Alt',
368
+ 19: 'Pause',
369
+ 20: 'CapsLock',
370
+ 27: 'Escape',
371
+ 28: 'Convert',
372
+ 29: 'NonConvert',
373
+ 30: 'Accept',
374
+ 31: 'ModeChange',
375
+ 32: ' ',
376
+ 33: 'PageUp',
377
+ 34: 'PageDown',
378
+ 35: 'End',
379
+ 36: 'Home',
380
+ 37: 'ArrowLeft',
381
+ 38: 'ArrowUp',
382
+ 39: 'ArrowRight',
383
+ 40: 'ArrowDown',
384
+ 41: 'Select',
385
+ 42: 'Print',
386
+ 43: 'Execute',
387
+ 44: 'PrintScreen',
388
+ 45: 'Insert',
389
+ 46: 'Delete',
390
+ 48: ['0', ')'],
391
+ 49: ['1', '!'],
392
+ 50: ['2', '@'],
393
+ 51: ['3', '#'],
394
+ 52: ['4', '$'],
395
+ 53: ['5', '%'],
396
+ 54: ['6', '^'],
397
+ 55: ['7', '&'],
398
+ 56: ['8', '*'],
399
+ 57: ['9', '('],
400
+ 91: 'OS',
401
+ 93: 'ContextMenu',
402
+ 144: 'NumLock',
403
+ 145: 'ScrollLock',
404
+ 181: 'VolumeMute',
405
+ 182: 'VolumeDown',
406
+ 183: 'VolumeUp',
407
+ 186: [';', ':'],
408
+ 187: ['=', '+'],
409
+ 188: [',', '<'],
410
+ 189: ['-', '_'],
411
+ 190: ['.', '>'],
412
+ 191: ['/', '?'],
413
+ 192: ['`', '~'],
414
+ 219: ['[', '{'],
415
+ 220: ['\\', '|'],
416
+ 221: [']', '}'],
417
+ 222: ["'", '"'],
418
+ 224: 'Meta',
419
+ 225: 'AltGraph',
420
+ 246: 'Attn',
421
+ 247: 'CrSel',
422
+ 248: 'ExSel',
423
+ 249: 'EraseEof',
424
+ 250: 'Play',
425
+ 251: 'ZoomOut'
426
+ }
427
+ }; // Function keys (F1-24).
428
+
429
+ var i;
430
+
431
+ for (i = 1; i < 25; i++) {
432
+ keyboardeventKeyPolyfill.keys[111 + i] = 'F' + i;
433
+ } // Printable ASCII characters.
434
+
435
+
436
+ var letter = '';
437
+
438
+ for (i = 65; i < 91; i++) {
439
+ letter = String.fromCharCode(i);
440
+ keyboardeventKeyPolyfill.keys[i] = [letter.toLowerCase(), letter.toUpperCase()];
441
+ }
442
+
443
+ function polyfill() {
444
+ if (!('KeyboardEvent' in window) || 'key' in KeyboardEvent.prototype) {
445
+ return false;
446
+ } // Polyfill `key` on `KeyboardEvent`.
447
+
448
+
449
+ var proto = {
450
+ get: function get(x) {
451
+ var key = keyboardeventKeyPolyfill.keys[this.which || this.keyCode];
452
+
453
+ if (Array.isArray(key)) {
454
+ key = key[+this.shiftKey];
455
+ }
456
+
457
+ return key;
458
+ }
459
+ };
460
+ Object.defineProperty(KeyboardEvent.prototype, 'key', proto);
461
+ return proto;
462
+ }
463
+
464
+ if (typeof define === 'function' && define.amd) {
465
+ define('keyboardevent-key-polyfill', keyboardeventKeyPolyfill);
466
+ } else if (typeof exports !== 'undefined' && typeof module !== 'undefined') {
467
+ module.exports = keyboardeventKeyPolyfill;
468
+ } else if (window) {
469
+ window.keyboardeventKeyPolyfill = keyboardeventKeyPolyfill;
470
+ }
471
+ })();
472
+
473
+ },{}],6:[function(require,module,exports){
401
474
  (function (global){
402
- 'use strict';
475
+ "use strict";
403
476
 
404
- var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
477
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
405
478
 
406
479
  /**
407
480
  * lodash (Custom Build) <https://lodash.com/>
@@ -414,51 +487,50 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
414
487
 
415
488
  /** Used as the `TypeError` message for "Functions" methods. */
416
489
  var FUNC_ERROR_TEXT = 'Expected a function';
417
-
418
490
  /** Used as references for various `Number` constants. */
419
- var NAN = 0 / 0;
420
491
 
492
+ var NAN = 0 / 0;
421
493
  /** `Object#toString` result references. */
422
- var symbolTag = '[object Symbol]';
423
494
 
495
+ var symbolTag = '[object Symbol]';
424
496
  /** Used to match leading and trailing whitespace. */
425
- var reTrim = /^\s+|\s+$/g;
426
497
 
498
+ var reTrim = /^\s+|\s+$/g;
427
499
  /** Used to detect bad signed hexadecimal string values. */
428
- var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
429
500
 
501
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
430
502
  /** Used to detect binary string values. */
431
- var reIsBinary = /^0b[01]+$/i;
432
503
 
504
+ var reIsBinary = /^0b[01]+$/i;
433
505
  /** Used to detect octal string values. */
434
- var reIsOctal = /^0o[0-7]+$/i;
435
506
 
507
+ var reIsOctal = /^0o[0-7]+$/i;
436
508
  /** Built-in method references without a dependency on `root`. */
437
- var freeParseInt = parseInt;
438
509
 
510
+ var freeParseInt = parseInt;
439
511
  /** Detect free variable `global` from Node.js. */
440
- var freeGlobal = (typeof global === 'undefined' ? 'undefined' : _typeof(global)) == 'object' && global && global.Object === Object && global;
441
512
 
513
+ var freeGlobal = (typeof global === "undefined" ? "undefined" : _typeof(global)) == 'object' && global && global.Object === Object && global;
442
514
  /** Detect free variable `self`. */
443
- var freeSelf = (typeof self === 'undefined' ? 'undefined' : _typeof(self)) == 'object' && self && self.Object === Object && self;
444
515
 
516
+ var freeSelf = (typeof self === "undefined" ? "undefined" : _typeof(self)) == 'object' && self && self.Object === Object && self;
445
517
  /** Used as a reference to the global object. */
446
- var root = freeGlobal || freeSelf || Function('return this')();
447
518
 
519
+ var root = freeGlobal || freeSelf || Function('return this')();
448
520
  /** Used for built-in method references. */
449
- var objectProto = Object.prototype;
450
521
 
522
+ var objectProto = Object.prototype;
451
523
  /**
452
524
  * Used to resolve the
453
525
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
454
526
  * of values.
455
527
  */
456
- var objectToString = objectProto.toString;
457
528
 
529
+ var objectToString = objectProto.toString;
458
530
  /* Built-in method references for those with the same name as other `lodash` methods. */
531
+
459
532
  var nativeMax = Math.max,
460
533
  nativeMin = Math.min;
461
-
462
534
  /**
463
535
  * Gets the timestamp of the number of milliseconds that have elapsed since
464
536
  * the Unix epoch (1 January 1970 00:00:00 UTC).
@@ -475,10 +547,10 @@ var nativeMax = Math.max,
475
547
  * }, _.now());
476
548
  * // => Logs the number of milliseconds it took for the deferred invocation.
477
549
  */
550
+
478
551
  var now = function now() {
479
552
  return root.Date.now();
480
553
  };
481
-
482
554
  /**
483
555
  * Creates a debounced function that delays invoking `func` until after `wait`
484
556
  * milliseconds have elapsed since the last time the debounced function was
@@ -533,6 +605,8 @@ var now = function now() {
533
605
  * // Cancel the trailing debounced invocation.
534
606
  * jQuery(window).on('popstate', debounced.cancel);
535
607
  */
608
+
609
+
536
610
  function debounce(func, wait, options) {
537
611
  var lastArgs,
538
612
  lastThis,
@@ -548,7 +622,9 @@ function debounce(func, wait, options) {
548
622
  if (typeof func != 'function') {
549
623
  throw new TypeError(FUNC_ERROR_TEXT);
550
624
  }
625
+
551
626
  wait = toNumber(wait) || 0;
627
+
552
628
  if (isObject(options)) {
553
629
  leading = !!options.leading;
554
630
  maxing = 'maxWait' in options;
@@ -559,7 +635,6 @@ function debounce(func, wait, options) {
559
635
  function invokeFunc(time) {
560
636
  var args = lastArgs,
561
637
  thisArg = lastThis;
562
-
563
638
  lastArgs = lastThis = undefined;
564
639
  lastInvokeTime = time;
565
640
  result = func.apply(thisArg, args);
@@ -568,10 +643,10 @@ function debounce(func, wait, options) {
568
643
 
569
644
  function leadingEdge(time) {
570
645
  // Reset any `maxWait` timer.
571
- lastInvokeTime = time;
572
- // Start the timer for the trailing edge.
573
- timerId = setTimeout(timerExpired, wait);
574
- // Invoke the leading edge.
646
+ lastInvokeTime = time; // Start the timer for the trailing edge.
647
+
648
+ timerId = setTimeout(timerExpired, wait); // Invoke the leading edge.
649
+
575
650
  return leading ? invokeFunc(time) : result;
576
651
  }
577
652
 
@@ -579,37 +654,37 @@ function debounce(func, wait, options) {
579
654
  var timeSinceLastCall = time - lastCallTime,
580
655
  timeSinceLastInvoke = time - lastInvokeTime,
581
656
  result = wait - timeSinceLastCall;
582
-
583
657
  return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;
584
658
  }
585
659
 
586
660
  function shouldInvoke(time) {
587
661
  var timeSinceLastCall = time - lastCallTime,
588
- timeSinceLastInvoke = time - lastInvokeTime;
589
-
590
- // Either this is the first call, activity has stopped and we're at the
662
+ timeSinceLastInvoke = time - lastInvokeTime; // Either this is the first call, activity has stopped and we're at the
591
663
  // trailing edge, the system time has gone backwards and we're treating
592
664
  // it as the trailing edge, or we've hit the `maxWait` limit.
665
+
593
666
  return lastCallTime === undefined || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;
594
667
  }
595
668
 
596
669
  function timerExpired() {
597
670
  var time = now();
671
+
598
672
  if (shouldInvoke(time)) {
599
673
  return trailingEdge(time);
600
- }
601
- // Restart the timer.
674
+ } // Restart the timer.
675
+
676
+
602
677
  timerId = setTimeout(timerExpired, remainingWait(time));
603
678
  }
604
679
 
605
680
  function trailingEdge(time) {
606
- timerId = undefined;
607
-
608
- // Only invoke if we have `lastArgs` which means `func` has been
681
+ timerId = undefined; // Only invoke if we have `lastArgs` which means `func` has been
609
682
  // debounced at least once.
683
+
610
684
  if (trailing && lastArgs) {
611
685
  return invokeFunc(time);
612
686
  }
687
+
613
688
  lastArgs = lastThis = undefined;
614
689
  return result;
615
690
  }
@@ -618,6 +693,7 @@ function debounce(func, wait, options) {
618
693
  if (timerId !== undefined) {
619
694
  clearTimeout(timerId);
620
695
  }
696
+
621
697
  lastInvokeTime = 0;
622
698
  lastArgs = lastCallTime = lastThis = timerId = undefined;
623
699
  }
@@ -629,7 +705,6 @@ function debounce(func, wait, options) {
629
705
  function debounced() {
630
706
  var time = now(),
631
707
  isInvoking = shouldInvoke(time);
632
-
633
708
  lastArgs = arguments;
634
709
  lastThis = this;
635
710
  lastCallTime = time;
@@ -638,22 +713,25 @@ function debounce(func, wait, options) {
638
713
  if (timerId === undefined) {
639
714
  return leadingEdge(lastCallTime);
640
715
  }
716
+
641
717
  if (maxing) {
642
718
  // Handle invocations in a tight loop.
643
719
  timerId = setTimeout(timerExpired, wait);
644
720
  return invokeFunc(lastCallTime);
645
721
  }
646
722
  }
723
+
647
724
  if (timerId === undefined) {
648
725
  timerId = setTimeout(timerExpired, wait);
649
726
  }
727
+
650
728
  return result;
651
729
  }
730
+
652
731
  debounced.cancel = cancel;
653
732
  debounced.flush = flush;
654
733
  return debounced;
655
734
  }
656
-
657
735
  /**
658
736
  * Checks if `value` is the
659
737
  * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
@@ -679,11 +757,13 @@ function debounce(func, wait, options) {
679
757
  * _.isObject(null);
680
758
  * // => false
681
759
  */
760
+
761
+
682
762
  function isObject(value) {
683
- var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);
763
+ var type = _typeof(value);
764
+
684
765
  return !!value && (type == 'object' || type == 'function');
685
766
  }
686
-
687
767
  /**
688
768
  * Checks if `value` is object-like. A value is object-like if it's not `null`
689
769
  * and has a `typeof` result of "object".
@@ -708,10 +788,11 @@ function isObject(value) {
708
788
  * _.isObjectLike(null);
709
789
  * // => false
710
790
  */
791
+
792
+
711
793
  function isObjectLike(value) {
712
- return !!value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'object';
794
+ return !!value && _typeof(value) == 'object';
713
795
  }
714
-
715
796
  /**
716
797
  * Checks if `value` is classified as a `Symbol` primitive or object.
717
798
  *
@@ -729,10 +810,11 @@ function isObjectLike(value) {
729
810
  * _.isSymbol('abc');
730
811
  * // => false
731
812
  */
813
+
814
+
732
815
  function isSymbol(value) {
733
- return (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'symbol' || isObjectLike(value) && objectToString.call(value) == symbolTag;
816
+ return _typeof(value) == 'symbol' || isObjectLike(value) && objectToString.call(value) == symbolTag;
734
817
  }
735
-
736
818
  /**
737
819
  * Converts `value` to a number.
738
820
  *
@@ -756,20 +838,26 @@ function isSymbol(value) {
756
838
  * _.toNumber('3.2');
757
839
  * // => 3.2
758
840
  */
841
+
842
+
759
843
  function toNumber(value) {
760
844
  if (typeof value == 'number') {
761
845
  return value;
762
846
  }
847
+
763
848
  if (isSymbol(value)) {
764
849
  return NAN;
765
850
  }
851
+
766
852
  if (isObject(value)) {
767
853
  var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
768
854
  value = isObject(other) ? other + '' : other;
769
855
  }
856
+
770
857
  if (typeof value != 'string') {
771
858
  return value === 0 ? value : +value;
772
859
  }
860
+
773
861
  value = value.replace(reTrim, '');
774
862
  var isBinary = reIsBinary.test(value);
775
863
  return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
@@ -779,13 +867,12 @@ module.exports = debounce;
779
867
 
780
868
  }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
781
869
 
782
- },{}],8:[function(require,module,exports){
870
+ },{}],7:[function(require,module,exports){
783
871
  /*
784
872
  object-assign
785
873
  (c) Sindre Sorhus
786
874
  @license MIT
787
875
  */
788
-
789
876
  'use strict';
790
877
  /* eslint-disable no-unused-vars */
791
878
 
@@ -794,90 +881,98 @@ var hasOwnProperty = Object.prototype.hasOwnProperty;
794
881
  var propIsEnumerable = Object.prototype.propertyIsEnumerable;
795
882
 
796
883
  function toObject(val) {
797
- if (val === null || val === undefined) {
798
- throw new TypeError('Object.assign cannot be called with null or undefined');
799
- }
884
+ if (val === null || val === undefined) {
885
+ throw new TypeError('Object.assign cannot be called with null or undefined');
886
+ }
800
887
 
801
- return Object(val);
888
+ return Object(val);
802
889
  }
803
890
 
804
891
  function shouldUseNative() {
805
- try {
806
- if (!Object.assign) {
807
- return false;
808
- }
809
-
810
- // Detect buggy property enumeration order in older V8 versions.
811
-
812
- // https://bugs.chromium.org/p/v8/issues/detail?id=4118
813
- var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
814
- test1[5] = 'de';
815
- if (Object.getOwnPropertyNames(test1)[0] === '5') {
816
- return false;
817
- }
818
-
819
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
820
- var test2 = {};
821
- for (var i = 0; i < 10; i++) {
822
- test2['_' + String.fromCharCode(i)] = i;
823
- }
824
- var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
825
- return test2[n];
826
- });
827
- if (order2.join('') !== '0123456789') {
828
- return false;
829
- }
830
-
831
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
832
- var test3 = {};
833
- 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
834
- test3[letter] = letter;
835
- });
836
- if (Object.keys(Object.assign({}, test3)).join('') !== 'abcdefghijklmnopqrst') {
837
- return false;
838
- }
839
-
840
- return true;
841
- } catch (err) {
842
- // We don't expect any of the above to throw, but better to be safe.
843
- return false;
844
- }
892
+ try {
893
+ if (!Object.assign) {
894
+ return false;
895
+ } // Detect buggy property enumeration order in older V8 versions.
896
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
897
+
898
+
899
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
900
+
901
+ test1[5] = 'de';
902
+
903
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
904
+ return false;
905
+ } // https://bugs.chromium.org/p/v8/issues/detail?id=3056
906
+
907
+
908
+ var test2 = {};
909
+
910
+ for (var i = 0; i < 10; i++) {
911
+ test2['_' + String.fromCharCode(i)] = i;
912
+ }
913
+
914
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
915
+ return test2[n];
916
+ });
917
+
918
+ if (order2.join('') !== '0123456789') {
919
+ return false;
920
+ } // https://bugs.chromium.org/p/v8/issues/detail?id=3056
921
+
922
+
923
+ var test3 = {};
924
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
925
+ test3[letter] = letter;
926
+ });
927
+
928
+ if (Object.keys(Object.assign({}, test3)).join('') !== 'abcdefghijklmnopqrst') {
929
+ return false;
930
+ }
931
+
932
+ return true;
933
+ } catch (err) {
934
+ // We don't expect any of the above to throw, but better to be safe.
935
+ return false;
936
+ }
845
937
  }
846
938
 
847
939
  module.exports = shouldUseNative() ? Object.assign : function (target, source) {
848
- var from;
849
- var to = toObject(target);
850
- var symbols;
851
-
852
- for (var s = 1; s < arguments.length; s++) {
853
- from = Object(arguments[s]);
854
-
855
- for (var key in from) {
856
- if (hasOwnProperty.call(from, key)) {
857
- to[key] = from[key];
858
- }
859
- }
860
-
861
- if (getOwnPropertySymbols) {
862
- symbols = getOwnPropertySymbols(from);
863
- for (var i = 0; i < symbols.length; i++) {
864
- if (propIsEnumerable.call(from, symbols[i])) {
865
- to[symbols[i]] = from[symbols[i]];
866
- }
867
- }
868
- }
869
- }
870
-
871
- return to;
940
+ var from;
941
+ var to = toObject(target);
942
+ var symbols;
943
+
944
+ for (var s = 1; s < arguments.length; s++) {
945
+ from = Object(arguments[s]);
946
+
947
+ for (var key in from) {
948
+ if (hasOwnProperty.call(from, key)) {
949
+ to[key] = from[key];
950
+ }
951
+ }
952
+
953
+ if (getOwnPropertySymbols) {
954
+ symbols = getOwnPropertySymbols(from);
955
+
956
+ for (var i = 0; i < symbols.length; i++) {
957
+ if (propIsEnumerable.call(from, symbols[i])) {
958
+ to[symbols[i]] = from[symbols[i]];
959
+ }
960
+ }
961
+ }
962
+ }
963
+
964
+ return to;
872
965
  };
873
966
 
874
- },{}],9:[function(require,module,exports){
875
- 'use strict';
967
+ },{}],8:[function(require,module,exports){
968
+ "use strict";
876
969
 
877
- var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
970
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
878
971
 
879
972
  var assign = require('object-assign');
973
+
880
974
  var delegate = require('../delegate');
975
+
881
976
  var delegateAll = require('../delegateAll');
882
977
 
883
978
  var DELEGATE_PATTERN = /^(.+):delegate\((.+)\)$/;
@@ -886,13 +981,15 @@ var SPACE = ' ';
886
981
  var getListeners = function getListeners(type, handler) {
887
982
  var match = type.match(DELEGATE_PATTERN);
888
983
  var selector;
984
+
889
985
  if (match) {
890
986
  type = match[1];
891
987
  selector = match[2];
892
988
  }
893
989
 
894
990
  var options;
895
- if ((typeof handler === 'undefined' ? 'undefined' : _typeof(handler)) === 'object') {
991
+
992
+ if (_typeof(handler) === 'object') {
896
993
  options = {
897
994
  capture: popKey(handler, 'capture'),
898
995
  passive: popKey(handler, 'passive')
@@ -901,13 +998,15 @@ var getListeners = function getListeners(type, handler) {
901
998
 
902
999
  var listener = {
903
1000
  selector: selector,
904
- delegate: (typeof handler === 'undefined' ? 'undefined' : _typeof(handler)) === 'object' ? delegateAll(handler) : selector ? delegate(selector, handler) : handler,
1001
+ delegate: _typeof(handler) === 'object' ? delegateAll(handler) : selector ? delegate(selector, handler) : handler,
905
1002
  options: options
906
1003
  };
907
1004
 
908
1005
  if (type.indexOf(SPACE) > -1) {
909
1006
  return type.split(SPACE).map(function (_type) {
910
- return assign({ type: _type }, listener);
1007
+ return assign({
1008
+ type: _type
1009
+ }, listener);
911
1010
  });
912
1011
  } else {
913
1012
  listener.type = type;
@@ -926,7 +1025,6 @@ module.exports = function behavior(events, props) {
926
1025
  var listeners = getListeners(type, events[type]);
927
1026
  return memo.concat(listeners);
928
1027
  }, []);
929
-
930
1028
  return assign({
931
1029
  add: function addBehavior(element) {
932
1030
  listeners.forEach(function (listener) {
@@ -941,7 +1039,7 @@ module.exports = function behavior(events, props) {
941
1039
  }, props);
942
1040
  };
943
1041
 
944
- },{"../delegate":11,"../delegateAll":12,"object-assign":8}],10:[function(require,module,exports){
1042
+ },{"../delegate":10,"../delegateAll":11,"object-assign":7}],9:[function(require,module,exports){
945
1043
  "use strict";
946
1044
 
947
1045
  module.exports = function compose(functions) {
@@ -952,8 +1050,8 @@ module.exports = function compose(functions) {
952
1050
  };
953
1051
  };
954
1052
 
955
- },{}],11:[function(require,module,exports){
956
- 'use strict';
1053
+ },{}],10:[function(require,module,exports){
1054
+ "use strict";
957
1055
 
958
1056
  // polyfill Element.prototype.closest
959
1057
  require('element-closest');
@@ -961,26 +1059,27 @@ require('element-closest');
961
1059
  module.exports = function delegate(selector, fn) {
962
1060
  return function delegation(event) {
963
1061
  var target = event.target.closest(selector);
1062
+
964
1063
  if (target) {
965
1064
  return fn.call(target, event);
966
1065
  }
967
1066
  };
968
1067
  };
969
1068
 
970
- },{"element-closest":6}],12:[function(require,module,exports){
971
- 'use strict';
1069
+ },{"element-closest":4}],11:[function(require,module,exports){
1070
+ "use strict";
972
1071
 
973
1072
  var delegate = require('../delegate');
1073
+
974
1074
  var compose = require('../compose');
975
1075
 
976
1076
  var SPLAT = '*';
977
1077
 
978
1078
  module.exports = function delegateAll(selectors) {
979
- var keys = Object.keys(selectors);
980
-
981
- // XXX optimization: if there is only one handler and it applies to
1079
+ var keys = Object.keys(selectors); // XXX optimization: if there is only one handler and it applies to
982
1080
  // all elements (the "*" CSS selector), then just return that
983
1081
  // handler
1082
+
984
1083
  if (keys.length === 1 && keys[0] === SPLAT) {
985
1084
  return selectors[SPLAT];
986
1085
  }
@@ -992,7 +1091,7 @@ module.exports = function delegateAll(selectors) {
992
1091
  return compose(delegates);
993
1092
  };
994
1093
 
995
- },{"../compose":10,"../delegate":11}],13:[function(require,module,exports){
1094
+ },{"../compose":9,"../delegate":10}],12:[function(require,module,exports){
996
1095
  "use strict";
997
1096
 
998
1097
  module.exports = function ignore(element, fn) {
@@ -1003,7 +1102,66 @@ module.exports = function ignore(element, fn) {
1003
1102
  };
1004
1103
  };
1005
1104
 
1006
- },{}],14:[function(require,module,exports){
1105
+ },{}],13:[function(require,module,exports){
1106
+ "use strict";
1107
+
1108
+ module.exports = {
1109
+ behavior: require('./behavior'),
1110
+ delegate: require('./delegate'),
1111
+ delegateAll: require('./delegateAll'),
1112
+ ignore: require('./ignore'),
1113
+ keymap: require('./keymap')
1114
+ };
1115
+
1116
+ },{"./behavior":8,"./delegate":10,"./delegateAll":11,"./ignore":12,"./keymap":14}],14:[function(require,module,exports){
1117
+ "use strict";
1118
+
1119
+ require('keyboardevent-key-polyfill'); // these are the only relevant modifiers supported on all platforms,
1120
+ // according to MDN:
1121
+ // <https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/getModifierState>
1122
+
1123
+
1124
+ var MODIFIERS = {
1125
+ 'Alt': 'altKey',
1126
+ 'Control': 'ctrlKey',
1127
+ 'Ctrl': 'ctrlKey',
1128
+ 'Shift': 'shiftKey'
1129
+ };
1130
+ var MODIFIER_SEPARATOR = '+';
1131
+
1132
+ var getEventKey = function getEventKey(event, hasModifiers) {
1133
+ var key = event.key;
1134
+
1135
+ if (hasModifiers) {
1136
+ for (var modifier in MODIFIERS) {
1137
+ if (event[MODIFIERS[modifier]] === true) {
1138
+ key = [modifier, key].join(MODIFIER_SEPARATOR);
1139
+ }
1140
+ }
1141
+ }
1142
+
1143
+ return key;
1144
+ };
1145
+
1146
+ module.exports = function keymap(keys) {
1147
+ var hasModifiers = Object.keys(keys).some(function (key) {
1148
+ return key.indexOf(MODIFIER_SEPARATOR) > -1;
1149
+ });
1150
+ return function (event) {
1151
+ var key = getEventKey(event, hasModifiers);
1152
+ return [key, key.toLowerCase()].reduce(function (result, _key) {
1153
+ if (_key in keys) {
1154
+ result = keys[key].call(this, event);
1155
+ }
1156
+
1157
+ return result;
1158
+ }, undefined);
1159
+ };
1160
+ };
1161
+
1162
+ module.exports.MODIFIERS = MODIFIERS;
1163
+
1164
+ },{"keyboardevent-key-polyfill":5}],15:[function(require,module,exports){
1007
1165
  "use strict";
1008
1166
 
1009
1167
  module.exports = function once(listener, options) {
@@ -1011,17 +1169,17 @@ module.exports = function once(listener, options) {
1011
1169
  e.currentTarget.removeEventListener(e.type, wrapped, options);
1012
1170
  return listener.call(this, e);
1013
1171
  };
1172
+
1014
1173
  return wrapped;
1015
1174
  };
1016
1175
 
1017
- },{}],15:[function(require,module,exports){
1176
+ },{}],16:[function(require,module,exports){
1018
1177
  'use strict';
1019
1178
 
1020
- var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
1179
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
1021
1180
 
1022
1181
  var RE_TRIM = /(^\s+)|(\s+$)/g;
1023
1182
  var RE_SPLIT = /\s+/;
1024
-
1025
1183
  var trim = String.prototype.trim ? function (str) {
1026
1184
  return str.trim();
1027
1185
  } : function (str) {
@@ -1034,7 +1192,7 @@ var queryById = function queryById(id) {
1034
1192
 
1035
1193
  module.exports = function resolveIds(ids, doc) {
1036
1194
  if (typeof ids !== 'string') {
1037
- throw new Error('Expected a string but got ' + (typeof ids === 'undefined' ? 'undefined' : _typeof(ids)));
1195
+ throw new Error('Expected a string but got ' + _typeof(ids));
1038
1196
  }
1039
1197
 
1040
1198
  if (!doc) {
@@ -1042,106 +1200,116 @@ module.exports = function resolveIds(ids, doc) {
1042
1200
  }
1043
1201
 
1044
1202
  var getElementById = doc.getElementById ? doc.getElementById.bind(doc) : queryById.bind(doc);
1045
-
1046
- ids = trim(ids).split(RE_SPLIT);
1047
-
1048
- // XXX we can short-circuit here because trimming and splitting a
1203
+ ids = trim(ids).split(RE_SPLIT); // XXX we can short-circuit here because trimming and splitting a
1049
1204
  // string of just whitespace produces an array containing a single,
1050
1205
  // empty string
1206
+
1051
1207
  if (ids.length === 1 && ids[0] === '') {
1052
1208
  return [];
1053
1209
  }
1054
1210
 
1055
1211
  return ids.map(function (id) {
1056
1212
  var el = getElementById(id);
1213
+
1057
1214
  if (!el) {
1058
1215
  throw new Error('no element with id: "' + id + '"');
1059
1216
  }
1217
+
1060
1218
  return el;
1061
1219
  });
1062
1220
  };
1063
1221
 
1064
- },{}],16:[function(require,module,exports){
1065
- 'use strict';
1222
+ },{}],17:[function(require,module,exports){
1223
+ "use strict";
1066
1224
 
1067
1225
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1068
1226
 
1069
- var behavior = require('../utils/behavior');
1070
- var filter = require('array-filter');
1071
- var forEach = require('array-foreach');
1072
- var toggle = require('../utils/toggle');
1073
- var isElementInViewport = require('../utils/is-in-viewport');
1227
+ var select = require("../utils/select");
1228
+
1229
+ var behavior = require("../utils/behavior");
1230
+
1231
+ var toggle = require("../utils/toggle");
1232
+
1233
+ var isElementInViewport = require("../utils/is-in-viewport");
1074
1234
 
1075
- var CLICK = require('../events').CLICK;
1076
- var PREFIX = require('../config').prefix;
1235
+ var _require = require("../events"),
1236
+ CLICK = _require.CLICK;
1077
1237
 
1078
- // XXX match .usa-accordion and .usa-accordion-bordered
1079
- var ACCORDION = '.' + PREFIX + '-accordion, .' + PREFIX + '-accordion-bordered';
1080
- var BUTTON = '.' + PREFIX + '-accordion-button[aria-controls]';
1081
- var EXPANDED = 'aria-expanded';
1082
- var MULTISELECTABLE = 'aria-multiselectable';
1238
+ var _require2 = require("../config"),
1239
+ PREFIX = _require2.prefix;
1083
1240
 
1241
+ var ACCORDION = ".".concat(PREFIX, "-accordion, .").concat(PREFIX, "-accordion--bordered");
1242
+ var BUTTON = ".".concat(PREFIX, "-accordion__button[aria-controls]");
1243
+ var EXPANDED = "aria-expanded";
1244
+ var MULTISELECTABLE = "aria-multiselectable";
1084
1245
  /**
1085
- * Toggle a button's "pressed" state, optionally providing a target
1086
- * state.
1087
- *
1088
- * @param {HTMLButtonElement} button
1246
+ * Get an Array of button elements belonging directly to the given
1247
+ * accordion element.
1248
+ * @param {HTMLElement} accordion
1249
+ * @return {array<HTMLButtonElement>}
1250
+ */
1251
+
1252
+ var getAccordionButtons = function getAccordionButtons(accordion) {
1253
+ var buttons = select(BUTTON, accordion);
1254
+ return buttons.filter(function (button) {
1255
+ return button.closest(ACCORDION) === accordion;
1256
+ });
1257
+ };
1258
+ /**
1259
+ * Toggle a button's "pressed" state, optionally providing a target
1260
+ * state.
1261
+ *
1262
+ * @param {HTMLButtonElement} button
1089
1263
  * @param {boolean?} expanded If no state is provided, the current
1090
1264
  * state will be toggled (from false to true, and vice-versa).
1091
1265
  * @return {boolean} the resulting state
1092
1266
  */
1267
+
1268
+
1093
1269
  var toggleButton = function toggleButton(button, expanded) {
1094
1270
  var accordion = button.closest(ACCORDION);
1271
+ var safeExpanded = expanded;
1272
+
1095
1273
  if (!accordion) {
1096
- throw new Error(BUTTON + ' is missing outer ' + ACCORDION);
1274
+ throw new Error("".concat(BUTTON, " is missing outer ").concat(ACCORDION));
1097
1275
  }
1098
1276
 
1099
- expanded = toggle(button, expanded);
1100
- // XXX multiselectable is opt-in, to preserve legacy behavior
1101
- var multiselectable = accordion.getAttribute(MULTISELECTABLE) === 'true';
1277
+ safeExpanded = toggle(button, expanded); // XXX multiselectable is opt-in, to preserve legacy behavior
1278
+
1279
+ var multiselectable = accordion.getAttribute(MULTISELECTABLE) === "true";
1102
1280
 
1103
- if (expanded && !multiselectable) {
1104
- forEach(getAccordionButtons(accordion), function (other) {
1281
+ if (safeExpanded && !multiselectable) {
1282
+ getAccordionButtons(accordion).forEach(function (other) {
1105
1283
  if (other !== button) {
1106
1284
  toggle(other, false);
1107
1285
  }
1108
1286
  });
1109
1287
  }
1110
1288
  };
1111
-
1112
1289
  /**
1113
1290
  * @param {HTMLButtonElement} button
1114
1291
  * @return {boolean} true
1115
1292
  */
1293
+
1294
+
1116
1295
  var showButton = function showButton(button) {
1117
1296
  return toggleButton(button, true);
1118
1297
  };
1119
-
1120
1298
  /**
1121
1299
  * @param {HTMLButtonElement} button
1122
1300
  * @return {boolean} false
1123
1301
  */
1302
+
1303
+
1124
1304
  var hideButton = function hideButton(button) {
1125
1305
  return toggleButton(button, false);
1126
1306
  };
1127
1307
 
1128
- /**
1129
- * Get an Array of button elements belonging directly to the given
1130
- * accordion element.
1131
- * @param {HTMLElement} accordion
1132
- * @return {array<HTMLButtonElement>}
1133
- */
1134
- var getAccordionButtons = function getAccordionButtons(accordion) {
1135
- return filter(accordion.querySelectorAll(BUTTON), function (button) {
1136
- return button.closest(ACCORDION) === accordion;
1137
- });
1138
- };
1139
-
1140
1308
  var accordion = behavior(_defineProperty({}, CLICK, _defineProperty({}, BUTTON, function (event) {
1141
1309
  event.preventDefault();
1142
1310
  toggleButton(this);
1143
1311
 
1144
- if (this.getAttribute(EXPANDED) === 'true') {
1312
+ if (this.getAttribute(EXPANDED) === "true") {
1145
1313
  // We were just expanded, but if another accordion was also just
1146
1314
  // collapsed, we may no longer be in the viewport. This ensures
1147
1315
  // that we are still visible, so the user isn't confused.
@@ -1149,8 +1317,8 @@ var accordion = behavior(_defineProperty({}, CLICK, _defineProperty({}, BUTTON,
1149
1317
  }
1150
1318
  })), {
1151
1319
  init: function init(root) {
1152
- forEach(root.querySelectorAll(BUTTON), function (button) {
1153
- var expanded = button.getAttribute(EXPANDED) === 'true';
1320
+ select(BUTTON, root).forEach(function (button) {
1321
+ var expanded = button.getAttribute(EXPANDED) === "true";
1154
1322
  toggleButton(button, expanded);
1155
1323
  });
1156
1324
  },
@@ -1161,176 +1329,737 @@ var accordion = behavior(_defineProperty({}, CLICK, _defineProperty({}, BUTTON,
1161
1329
  toggle: toggleButton,
1162
1330
  getButtons: getAccordionButtons
1163
1331
  });
1332
+ module.exports = accordion;
1333
+
1334
+ },{"../config":28,"../events":29,"../utils/behavior":34,"../utils/is-in-viewport":36,"../utils/select":37,"../utils/toggle":40}],18:[function(require,module,exports){
1335
+ "use strict";
1336
+
1337
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1338
+
1339
+ var behavior = require("../utils/behavior");
1340
+
1341
+ var _require = require("../events"),
1342
+ CLICK = _require.CLICK;
1343
+
1344
+ var _require2 = require("../config"),
1345
+ PREFIX = _require2.prefix;
1346
+
1347
+ var HEADER = ".".concat(PREFIX, "-banner__header");
1348
+ var EXPANDED_CLASS = "".concat(PREFIX, "-banner__header--expanded");
1349
+
1350
+ var toggleBanner = function toggleEl(event) {
1351
+ event.preventDefault();
1352
+ this.closest(HEADER).classList.toggle(EXPANDED_CLASS);
1353
+ };
1354
+
1355
+ module.exports = behavior(_defineProperty({}, CLICK, _defineProperty({}, "".concat(HEADER, " [aria-controls]"), toggleBanner)));
1356
+
1357
+ },{"../config":28,"../events":29,"../utils/behavior":34}],19:[function(require,module,exports){
1358
+ "use strict";
1359
+
1360
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1361
+
1362
+ var select = require("../utils/select");
1363
+
1364
+ var behavior = require("../utils/behavior");
1365
+
1366
+ var _require = require("../config"),
1367
+ PREFIX = _require.prefix;
1368
+
1369
+ var CHARACTER_COUNT = ".".concat(PREFIX, "-character-count");
1370
+ var INPUT = ".".concat(PREFIX, "-character-count__field");
1371
+ var MESSAGE = ".".concat(PREFIX, "-character-count__message");
1372
+ var VALIDATION_MESSAGE = "The content is too long.";
1373
+ var MESSAGE_INVALID_CLASS = "".concat(PREFIX, "-character-count__message--invalid");
1374
+ /**
1375
+ * The elements within the character count.
1376
+ * @typedef {Object} CharacterCountElements
1377
+ * @property {HTMLDivElement} characterCountEl
1378
+ * @property {HTMLSpanElement} messageEl
1379
+ */
1164
1380
 
1165
1381
  /**
1166
- * TODO: for 2.0, remove everything below this comment and export the
1167
- * behavior directly:
1382
+ * Returns the root and message element
1383
+ * for an character count input
1168
1384
  *
1169
- * module.exports = behavior({...});
1385
+ * @param {HTMLInputElement|HTMLTextAreaElement} inputEl The character count input element
1386
+ * @returns {CharacterCountElements} elements The root and message element.
1170
1387
  */
1171
- var Accordion = function Accordion(root) {
1172
- this.root = root;
1173
- accordion.on(this.root);
1388
+
1389
+ var getCharacterCountElements = function getCharacterCountElements(inputEl) {
1390
+ var characterCountEl = inputEl.closest(CHARACTER_COUNT);
1391
+
1392
+ if (!characterCountEl) {
1393
+ throw new Error("".concat(INPUT, " is missing outer ").concat(CHARACTER_COUNT));
1394
+ }
1395
+
1396
+ var messageEl = characterCountEl.querySelector(MESSAGE);
1397
+
1398
+ if (!messageEl) {
1399
+ throw new Error("".concat(CHARACTER_COUNT, " is missing inner ").concat(MESSAGE));
1400
+ }
1401
+
1402
+ return {
1403
+ characterCountEl: characterCountEl,
1404
+ messageEl: messageEl
1405
+ };
1174
1406
  };
1407
+ /**
1408
+ * Update the character count component
1409
+ *
1410
+ * @param {HTMLInputElement|HTMLTextAreaElement} inputEl The character count input element
1411
+ */
1175
1412
 
1176
- // copy all of the behavior methods and props to Accordion
1177
- var assign = require('object-assign');
1178
- assign(Accordion, accordion);
1179
1413
 
1180
- Accordion.prototype.show = showButton;
1181
- Accordion.prototype.hide = hideButton;
1414
+ var updateCountMessage = function updateCountMessage(inputEl) {
1415
+ var _getCharacterCountEle = getCharacterCountElements(inputEl),
1416
+ characterCountEl = _getCharacterCountEle.characterCountEl,
1417
+ messageEl = _getCharacterCountEle.messageEl;
1418
+
1419
+ var maxlength = parseInt(characterCountEl.getAttribute("data-maxlength"), 10);
1420
+ if (!maxlength) return;
1421
+ var newMessage = "";
1422
+ var currentLength = inputEl.value.length;
1423
+ var isOverLimit = currentLength && currentLength > maxlength;
1182
1424
 
1183
- Accordion.prototype.remove = function () {
1184
- accordion.off(this.root);
1425
+ if (currentLength === 0) {
1426
+ newMessage = "".concat(maxlength, " characters allowed");
1427
+ } else {
1428
+ var difference = Math.abs(maxlength - currentLength);
1429
+ var characters = "character".concat(difference === 1 ? "" : "s");
1430
+ var guidance = isOverLimit ? "over limit" : "left";
1431
+ newMessage = "".concat(difference, " ").concat(characters, " ").concat(guidance);
1432
+ }
1433
+
1434
+ messageEl.classList.toggle(MESSAGE_INVALID_CLASS, isOverLimit);
1435
+ messageEl.innerHTML = newMessage;
1436
+
1437
+ if (isOverLimit && !inputEl.validationMessage) {
1438
+ inputEl.setCustomValidity(VALIDATION_MESSAGE);
1439
+ }
1440
+
1441
+ if (!isOverLimit && inputEl.validationMessage === VALIDATION_MESSAGE) {
1442
+ inputEl.setCustomValidity("");
1443
+ }
1185
1444
  };
1445
+ /**
1446
+ * Setup the character count component
1447
+ *
1448
+ * @param {HTMLInputElement|HTMLTextAreaElement} inputEl The character count input element
1449
+ */
1186
1450
 
1187
- module.exports = Accordion;
1188
1451
 
1189
- },{"../config":25,"../events":26,"../utils/behavior":30,"../utils/is-in-viewport":31,"../utils/toggle":35,"array-filter":1,"array-foreach":2,"object-assign":8}],17:[function(require,module,exports){
1190
- 'use strict';
1452
+ var setupAttributes = function setupAttributes(inputEl) {
1453
+ var _getCharacterCountEle2 = getCharacterCountElements(inputEl),
1454
+ characterCountEl = _getCharacterCountEle2.characterCountEl;
1455
+
1456
+ var maxlength = inputEl.getAttribute("maxlength");
1457
+ if (!maxlength) return;
1458
+ inputEl.removeAttribute("maxlength");
1459
+ characterCountEl.setAttribute("data-maxlength", maxlength);
1460
+ };
1461
+
1462
+ var characterCount = behavior({
1463
+ input: _defineProperty({}, INPUT, function () {
1464
+ updateCountMessage(this);
1465
+ })
1466
+ }, {
1467
+ init: function init(root) {
1468
+ select(INPUT, root).forEach(function (input) {
1469
+ setupAttributes(input);
1470
+ updateCountMessage(input);
1471
+ });
1472
+ },
1473
+ MESSAGE_INVALID_CLASS: MESSAGE_INVALID_CLASS,
1474
+ VALIDATION_MESSAGE: VALIDATION_MESSAGE
1475
+ });
1476
+ module.exports = characterCount;
1477
+
1478
+ },{"../config":28,"../utils/behavior":34,"../utils/select":37}],20:[function(require,module,exports){
1479
+ "use strict";
1480
+
1481
+ var _CLICK, _behavior;
1191
1482
 
1192
1483
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1193
1484
 
1194
- var behavior = require('../utils/behavior');
1195
- var toggle = require('../utils/toggle');
1485
+ var keymap = require("receptor/keymap");
1196
1486
 
1197
- var CLICK = require('../events').CLICK;
1198
- var PREFIX = require('../config').prefix;
1487
+ var select = require("../utils/select");
1199
1488
 
1200
- var HEADER = '.' + PREFIX + '-banner-header';
1201
- var EXPANDED_CLASS = PREFIX + '-banner-header-expanded';
1489
+ var behavior = require("../utils/behavior");
1202
1490
 
1203
- var toggleBanner = function toggleBanner(event) {
1204
- event.preventDefault();
1205
- this.closest(HEADER).classList.toggle(EXPANDED_CLASS);
1206
- return false;
1491
+ var _require = require("../config"),
1492
+ PREFIX = _require.prefix;
1493
+
1494
+ var _require2 = require("../events"),
1495
+ CLICK = _require2.CLICK;
1496
+
1497
+ var COMBO_BOX = ".".concat(PREFIX, "-combo-box");
1498
+ var INPUT_CLASS = "".concat(PREFIX, "-combo-box__input");
1499
+ var LIST_CLASS = "".concat(PREFIX, "-combo-box__list");
1500
+ var LIST_OPTION_CLASS = "".concat(PREFIX, "-combo-box__list-option");
1501
+ var STATUS_CLASS = "".concat(PREFIX, "-combo-box__status");
1502
+ var LIST_OPTION_FOCUSED_CLASS = "".concat(LIST_OPTION_CLASS, "--focused");
1503
+ var SELECT = ".".concat(PREFIX, "-combo-box__select");
1504
+ var INPUT = ".".concat(INPUT_CLASS);
1505
+ var LIST = ".".concat(LIST_CLASS);
1506
+ var LIST_OPTION = ".".concat(LIST_OPTION_CLASS);
1507
+ var LIST_OPTION_FOCUSED = ".".concat(LIST_OPTION_FOCUSED_CLASS);
1508
+ var STATUS = ".".concat(STATUS_CLASS);
1509
+ /**
1510
+ * Determine if the key code of an event is printable
1511
+ *
1512
+ * @param {number} keyCode The key code of the event
1513
+ * @returns {boolean} true is the key code is printable
1514
+ */
1515
+
1516
+ var isPrintableKeyCode = function isPrintableKeyCode(keyCode) {
1517
+ return keyCode > 47 && keyCode < 58 || // number keys
1518
+ keyCode === 32 || // space
1519
+ keyCode === 8 || // backspace
1520
+ keyCode > 64 && keyCode < 91 || // letter keys
1521
+ keyCode > 95 && keyCode < 112 || // numpad keys
1522
+ keyCode > 185 && keyCode < 193 || // ;=,-./` (in order)
1523
+ keyCode > 218 && keyCode < 223 // [\]' (in order)
1524
+ ;
1207
1525
  };
1526
+ /**
1527
+ * The elements within the combo box.
1528
+ * @typedef {Object} ComboBoxElements
1529
+ * @property {HTMLElement} comboBoxEl
1530
+ * @property {HTMLSelectElement} selectEl
1531
+ * @property {HTMLInputElement} inputEl
1532
+ * @property {HTMLUListElement} listEl
1533
+ * @property {HTMLDivElement} statusEl
1534
+ * @property {HTMLOptionElement} focusedOptionEl
1535
+ */
1208
1536
 
1209
- module.exports = behavior(_defineProperty({}, CLICK, _defineProperty({}, HEADER + ' [aria-controls]', toggleBanner)));
1537
+ /**
1538
+ * Get an object of elements belonging directly to the given
1539
+ * combo box component.
1540
+ *
1541
+ * @param {HTMLElement} el the element within the combo box
1542
+ * @returns {ComboBoxElements} elements
1543
+ */
1210
1544
 
1211
- },{"../config":25,"../events":26,"../utils/behavior":30,"../utils/toggle":35}],18:[function(require,module,exports){
1212
- 'use strict';
1213
1545
 
1214
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1546
+ var getComboBoxElements = function getComboBoxElements(el) {
1547
+ var comboBoxEl = el.closest(COMBO_BOX);
1215
1548
 
1216
- var accordion = require('./accordion');
1217
- var behavior = require('../utils/behavior');
1218
- var debounce = require('lodash.debounce');
1219
- var forEach = require('array-foreach');
1220
- var select = require('../utils/select');
1549
+ if (!comboBoxEl) {
1550
+ throw new Error("Element is missing outer ".concat(COMBO_BOX));
1551
+ }
1221
1552
 
1222
- var CLICK = require('../events').CLICK;
1223
- var PREFIX = require('../config').prefix;
1553
+ var selectEl = comboBoxEl.querySelector(SELECT);
1224
1554
 
1225
- var HIDDEN = 'hidden';
1226
- var SCOPE = '.' + PREFIX + '-footer-big';
1227
- var NAV = SCOPE + ' nav';
1228
- var BUTTON = NAV + ' .' + PREFIX + '-footer-primary-link';
1229
- var LIST = NAV + ' ul';
1555
+ if (!selectEl) {
1556
+ throw new Error("".concat(COMBO_BOX, " is missing inner ").concat(SELECT));
1557
+ }
1230
1558
 
1231
- var HIDE_MAX_WIDTH = 600;
1232
- var DEBOUNCE_RATE = 180;
1559
+ var inputEl = comboBoxEl.querySelector(INPUT);
1560
+ var listEl = comboBoxEl.querySelector(LIST);
1561
+ var statusEl = comboBoxEl.querySelector(STATUS);
1562
+ var focusedOptionEl = comboBoxEl.querySelector(LIST_OPTION_FOCUSED);
1563
+ return {
1564
+ comboBoxEl: comboBoxEl,
1565
+ selectEl: selectEl,
1566
+ inputEl: inputEl,
1567
+ listEl: listEl,
1568
+ statusEl: statusEl,
1569
+ focusedOptionEl: focusedOptionEl
1570
+ };
1571
+ };
1572
+ /**
1573
+ * Enhance a select element into a combo box component.
1574
+ *
1575
+ * @param {HTMLElement} el The initial element within the combo box component
1576
+ */
1577
+
1578
+
1579
+ var enhanceComboBox = function enhanceComboBox(el) {
1580
+ var _getComboBoxElements = getComboBoxElements(el),
1581
+ comboBoxEl = _getComboBoxElements.comboBoxEl,
1582
+ selectEl = _getComboBoxElements.selectEl;
1583
+
1584
+ var selectId = selectEl.id;
1585
+ var listId = "".concat(selectId, "--list");
1586
+ var assistiveHintID = "".concat(selectId, "--assistiveHint");
1587
+ var placeholder = "";
1588
+ var selectedOption;
1589
+ var additionalAttributes = [];
1233
1590
 
1234
- var showPanel = function showPanel() {
1235
- var list = this.closest(LIST);
1236
- list.classList.remove(HIDDEN);
1591
+ for (var i = 0, len = selectEl.options.length; i < len; i += 1) {
1592
+ var optionEl = selectEl.options[i];
1237
1593
 
1238
- // NB: this *should* always succeed because the button
1239
- // selector is scoped to ".{prefix}-footer-big nav"
1240
- var lists = list.closest(NAV).querySelectorAll('ul');
1594
+ if (!placeholder && !optionEl.value) {
1595
+ placeholder = "placeholder=\"".concat(optionEl.text, "\"");
1596
+ }
1597
+
1598
+ if (!selectedOption && optionEl.selected && optionEl.value) {
1599
+ selectedOption = optionEl;
1600
+ }
1241
1601
 
1242
- forEach(lists, function (el) {
1243
- if (el !== list) {
1244
- el.classList.add(HIDDEN);
1602
+ if (placeholder && selectedOption) {
1603
+ break;
1604
+ }
1605
+ }
1606
+
1607
+ selectEl.setAttribute("aria-hidden", "true");
1608
+ selectEl.setAttribute("tabindex", "-1");
1609
+ selectEl.classList.add("usa-sr-only");
1610
+ selectEl.id = "";
1611
+ ["required", "aria-label", "aria-labelledby"].forEach(function (name) {
1612
+ if (selectEl.hasAttribute(name)) {
1613
+ var value = selectEl.getAttribute(name);
1614
+ additionalAttributes.push("".concat(name, "=\"").concat(value, "\""));
1615
+ selectEl.removeAttribute(name);
1245
1616
  }
1246
1617
  });
1618
+ comboBoxEl.insertAdjacentHTML("beforeend", ["<input\n aria-owns=\"".concat(listId, "\"\n aria-autocomplete=\"list\"\n aria-describedby=\"").concat(assistiveHintID, "\"\n aria-expanded=\"false\"\n autocapitalize=\"off\"\n ").concat(placeholder || "", "\n autocomplete=\"off\"\n id=\"").concat(selectId, "\"\n class=\"").concat(INPUT_CLASS, "\"\n type=\"text\"\n role=\"combobox\"\n ").concat(additionalAttributes.join(" "), "\n >"), "<ul\n id=\"".concat(listId, "\"\n class=\"").concat(LIST_CLASS, "\"\n role=\"listbox\"\n hidden>\n </ul>"), "<div class=\"".concat(STATUS_CLASS, " usa-sr-only\" role=\"status\">\n </div>"), "<span id=\"".concat(assistiveHintID, "\" class=\"usa-sr-only\">\n When autocomplete results are available use up and down arrows to review and enter to select.\n Touch device users, explore by touch or with swipe gestures.\n </span>")].join(""));
1619
+
1620
+ if (selectedOption) {
1621
+ var _getComboBoxElements2 = getComboBoxElements(el),
1622
+ inputEl = _getComboBoxElements2.inputEl;
1623
+
1624
+ selectEl.value = selectedOption.value;
1625
+ inputEl.value = selectedOption.text;
1626
+ }
1627
+ };
1628
+ /**
1629
+ * Display the option list of a combo box component.
1630
+ *
1631
+ * @param {HTMLElement} el An element within the combo box component
1632
+ */
1633
+
1634
+
1635
+ var displayList = function displayList(el) {
1636
+ var _getComboBoxElements3 = getComboBoxElements(el),
1637
+ selectEl = _getComboBoxElements3.selectEl,
1638
+ inputEl = _getComboBoxElements3.inputEl,
1639
+ listEl = _getComboBoxElements3.listEl,
1640
+ statusEl = _getComboBoxElements3.statusEl;
1641
+
1642
+ var listOptionBaseId = "".concat(listEl.id, "--option-");
1643
+ var inputValue = (inputEl.value || "").toLowerCase();
1644
+ var options = [];
1645
+
1646
+ for (var i = 0, len = selectEl.options.length; i < len; i += 1) {
1647
+ var optionEl = selectEl.options[i];
1648
+
1649
+ if (optionEl.value && (!inputValue || optionEl.text.toLowerCase().indexOf(inputValue) !== -1)) {
1650
+ options.push(optionEl);
1651
+ }
1652
+ }
1653
+
1654
+ var numOptions = options.length;
1655
+ var optionHtml = options.map(function (option, index) {
1656
+ return "<li\n aria-selected=\"false\"\n aria-setsize=\"".concat(options.length, "\"\n aria-posinset=\"").concat(index + 1, "\"\n id=\"").concat(listOptionBaseId).concat(index, "\"\n class=\"").concat(LIST_OPTION_CLASS, "\"\n tabindex=\"-1\"\n role=\"option\"\n data-option-value=\"").concat(option.value, "\"\n >").concat(option.text, "</li>");
1657
+ }).join("");
1658
+ var noResults = "<li class=\"".concat(LIST_OPTION_CLASS, "--no-results\">No results found</li>");
1659
+ listEl.hidden = false;
1660
+ listEl.innerHTML = numOptions ? optionHtml : noResults;
1661
+ inputEl.setAttribute("aria-expanded", "true");
1662
+ statusEl.innerHTML = numOptions ? "".concat(numOptions, " result").concat(numOptions > 1 ? "s" : "", " available.") : "No results.";
1663
+ };
1664
+ /**
1665
+ * Hide the option list of a combo box component.
1666
+ *
1667
+ * @param {HTMLElement} el An element within the combo box component
1668
+ */
1669
+
1670
+
1671
+ var hideList = function hideList(el) {
1672
+ var _getComboBoxElements4 = getComboBoxElements(el),
1673
+ inputEl = _getComboBoxElements4.inputEl,
1674
+ listEl = _getComboBoxElements4.listEl,
1675
+ statusEl = _getComboBoxElements4.statusEl;
1676
+
1677
+ statusEl.innerHTML = "";
1678
+ inputEl.setAttribute("aria-expanded", "false");
1679
+ inputEl.setAttribute("aria-activedescendant", "");
1680
+ listEl.innerHTML = "";
1681
+ listEl.hidden = true;
1682
+ };
1683
+ /**
1684
+ * Select an option list of the combo box component.
1685
+ *
1686
+ * @param {HTMLElement} listOptionEl The list option being selected
1687
+ */
1688
+
1689
+
1690
+ var selectItem = function selectItem(listOptionEl) {
1691
+ var _getComboBoxElements5 = getComboBoxElements(listOptionEl),
1692
+ comboBoxEl = _getComboBoxElements5.comboBoxEl,
1693
+ selectEl = _getComboBoxElements5.selectEl,
1694
+ inputEl = _getComboBoxElements5.inputEl;
1695
+
1696
+ selectEl.value = listOptionEl.getAttribute("data-option-value");
1697
+ inputEl.value = listOptionEl.textContent;
1698
+ hideList(comboBoxEl);
1699
+ inputEl.focus();
1700
+ };
1701
+ /**
1702
+ * Select an option list of the combo box component based off of
1703
+ * having a current focused list option or
1704
+ * having test that completely matches a list option.
1705
+ * Otherwise it clears the input and select.
1706
+ *
1707
+ * @param {HTMLElement} el An element within the combo box component
1708
+ */
1709
+
1710
+
1711
+ var completeSelection = function completeSelection(el) {
1712
+ var _getComboBoxElements6 = getComboBoxElements(el),
1713
+ selectEl = _getComboBoxElements6.selectEl,
1714
+ inputEl = _getComboBoxElements6.inputEl,
1715
+ statusEl = _getComboBoxElements6.statusEl,
1716
+ focusedOptionEl = _getComboBoxElements6.focusedOptionEl;
1717
+
1718
+ statusEl.textContent = "";
1719
+
1720
+ if (focusedOptionEl) {
1721
+ selectEl.value = focusedOptionEl.getAttribute("data-option-value");
1722
+ inputEl.value = focusedOptionEl.textContent;
1723
+ return;
1724
+ }
1725
+
1726
+ var inputValue = (inputEl.value || "").toLowerCase();
1727
+
1728
+ if (inputValue) {
1729
+ for (var i = 0, len = selectEl.options.length; i < len; i += 1) {
1730
+ var optionEl = selectEl.options[i];
1731
+
1732
+ if (optionEl.text.toLowerCase() === inputValue) {
1733
+ selectEl.value = optionEl.value;
1734
+ inputEl.value = optionEl.text;
1735
+ return;
1736
+ }
1737
+ }
1738
+ }
1739
+
1740
+ selectEl.value = "";
1741
+
1742
+ if (inputEl.value) {
1743
+ inputEl.value = "";
1744
+ }
1247
1745
  };
1746
+ /**
1747
+ * Manage the focused element within the list options when
1748
+ * navigating via keyboard.
1749
+ *
1750
+ * @param {HTMLElement} el An element within the combo box component
1751
+ * @param {HTMLElement} currentEl An element within the combo box component
1752
+ * @param {HTMLElement} nextEl An element within the combo box component
1753
+ */
1754
+
1755
+
1756
+ var highlightOption = function highlightOption(el, currentEl, nextEl) {
1757
+ var _getComboBoxElements7 = getComboBoxElements(el),
1758
+ inputEl = _getComboBoxElements7.inputEl,
1759
+ listEl = _getComboBoxElements7.listEl;
1760
+
1761
+ if (currentEl) {
1762
+ currentEl.classList.remove(LIST_OPTION_FOCUSED_CLASS);
1763
+ currentEl.setAttribute("aria-selected", "false");
1764
+ }
1765
+
1766
+ if (nextEl) {
1767
+ inputEl.setAttribute("aria-activedescendant", nextEl.id);
1768
+ nextEl.setAttribute("aria-selected", "true");
1769
+ nextEl.classList.add(LIST_OPTION_FOCUSED_CLASS);
1770
+ var optionBottom = nextEl.offsetTop + nextEl.offsetHeight;
1771
+ var currentBottom = listEl.scrollTop + listEl.offsetHeight;
1772
+
1773
+ if (optionBottom > currentBottom) {
1774
+ listEl.scrollTop = optionBottom - listEl.offsetHeight;
1775
+ }
1776
+
1777
+ if (nextEl.offsetTop < listEl.scrollTop) {
1778
+ listEl.scrollTop = nextEl.offsetTop;
1779
+ }
1780
+
1781
+ nextEl.focus();
1782
+ } else {
1783
+ inputEl.setAttribute("aria-activedescendant", "");
1784
+ inputEl.focus();
1785
+ }
1786
+ };
1787
+ /**
1788
+ * Handle the enter event within the combo box component.
1789
+ *
1790
+ * @param {KeyboardEvent} event An event within the combo box component
1791
+ */
1792
+
1793
+
1794
+ var handleEnter = function handleEnter(event) {
1795
+ var _getComboBoxElements8 = getComboBoxElements(event.target),
1796
+ comboBoxEl = _getComboBoxElements8.comboBoxEl,
1797
+ inputEl = _getComboBoxElements8.inputEl,
1798
+ listEl = _getComboBoxElements8.listEl;
1799
+
1800
+ var listShown = !listEl.hidden;
1801
+ completeSelection(comboBoxEl);
1802
+
1803
+ if (listShown) {
1804
+ hideList(comboBoxEl);
1805
+ inputEl.focus();
1806
+ event.preventDefault();
1807
+ }
1808
+ };
1809
+ /**
1810
+ * Handle the down event within the combo box component.
1811
+ *
1812
+ * @param {KeyboardEvent} event An event within the combo box component
1813
+ */
1814
+
1815
+
1816
+ var handleEscape = function handleEscape(event) {
1817
+ var _getComboBoxElements9 = getComboBoxElements(event.target),
1818
+ comboBoxEl = _getComboBoxElements9.comboBoxEl,
1819
+ inputEl = _getComboBoxElements9.inputEl;
1820
+
1821
+ hideList(comboBoxEl);
1822
+ inputEl.focus();
1823
+ };
1824
+ /**
1825
+ * Handle the up event within the combo box component.
1826
+ *
1827
+ * @param {KeyboardEvent} event An event within the combo box component
1828
+ */
1829
+
1830
+
1831
+ var handleUp = function handleUp(event) {
1832
+ var _getComboBoxElements10 = getComboBoxElements(event.target),
1833
+ comboBoxEl = _getComboBoxElements10.comboBoxEl,
1834
+ listEl = _getComboBoxElements10.listEl,
1835
+ focusedOptionEl = _getComboBoxElements10.focusedOptionEl;
1836
+
1837
+ var nextOptionEl = focusedOptionEl && focusedOptionEl.previousSibling;
1838
+ var listShown = !listEl.hidden;
1839
+ highlightOption(comboBoxEl, focusedOptionEl, nextOptionEl);
1840
+
1841
+ if (listShown) {
1842
+ event.preventDefault();
1843
+ }
1844
+
1845
+ if (!nextOptionEl) {
1846
+ hideList(comboBoxEl);
1847
+ }
1848
+ };
1849
+ /**
1850
+ * Handle the down event within the combo box component.
1851
+ *
1852
+ * @param {KeyboardEvent} event An event within the combo box component
1853
+ */
1854
+
1855
+
1856
+ var handleDown = function handleDown(event) {
1857
+ var _getComboBoxElements11 = getComboBoxElements(event.target),
1858
+ comboBoxEl = _getComboBoxElements11.comboBoxEl,
1859
+ listEl = _getComboBoxElements11.listEl,
1860
+ focusedOptionEl = _getComboBoxElements11.focusedOptionEl;
1861
+
1862
+ if (listEl.hidden) {
1863
+ displayList(comboBoxEl);
1864
+ }
1865
+
1866
+ var nextOptionEl = focusedOptionEl ? focusedOptionEl.nextSibling : listEl.querySelector(LIST_OPTION);
1867
+
1868
+ if (nextOptionEl) {
1869
+ highlightOption(comboBoxEl, focusedOptionEl, nextOptionEl);
1870
+ }
1871
+
1872
+ event.preventDefault();
1873
+ };
1874
+
1875
+ var comboBox = behavior((_behavior = {}, _defineProperty(_behavior, CLICK, (_CLICK = {}, _defineProperty(_CLICK, INPUT, function () {
1876
+ displayList(this);
1877
+ }), _defineProperty(_CLICK, LIST_OPTION, function () {
1878
+ selectItem(this);
1879
+ }), _CLICK)), _defineProperty(_behavior, "focusout", _defineProperty({}, COMBO_BOX, function (event) {
1880
+ var _getComboBoxElements12 = getComboBoxElements(event.target),
1881
+ comboBoxEl = _getComboBoxElements12.comboBoxEl;
1882
+
1883
+ if (!comboBoxEl.contains(event.relatedTarget)) {
1884
+ completeSelection(comboBoxEl);
1885
+ hideList(comboBoxEl);
1886
+ }
1887
+ })), _defineProperty(_behavior, "keydown", _defineProperty({}, COMBO_BOX, keymap({
1888
+ ArrowUp: handleUp,
1889
+ Up: handleUp,
1890
+ ArrowDown: handleDown,
1891
+ Down: handleDown,
1892
+ Escape: handleEscape,
1893
+ Enter: handleEnter
1894
+ }))), _defineProperty(_behavior, "keyup", _defineProperty({}, INPUT, function (event) {
1895
+ if (isPrintableKeyCode(event.keyCode)) {
1896
+ displayList(this);
1897
+ }
1898
+ })), _behavior), {
1899
+ init: function init(root) {
1900
+ select(SELECT, root).forEach(function (selectEl) {
1901
+ enhanceComboBox(selectEl);
1902
+ });
1903
+ }
1904
+ });
1905
+ module.exports = comboBox;
1906
+
1907
+ },{"../config":28,"../events":29,"../utils/behavior":34,"../utils/select":37,"receptor/keymap":14}],21:[function(require,module,exports){
1908
+ "use strict";
1248
1909
 
1910
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1911
+
1912
+ var debounce = require("lodash.debounce");
1913
+
1914
+ var behavior = require("../utils/behavior");
1915
+
1916
+ var select = require("../utils/select");
1917
+
1918
+ var _require = require("../events"),
1919
+ CLICK = _require.CLICK;
1920
+
1921
+ var _require2 = require("../config"),
1922
+ PREFIX = _require2.prefix;
1923
+
1924
+ var HIDDEN = "hidden";
1925
+ var SCOPE = ".".concat(PREFIX, "-footer--big");
1926
+ var NAV = "".concat(SCOPE, " nav");
1927
+ var BUTTON = "".concat(NAV, " .").concat(PREFIX, "-footer__primary-link");
1928
+ var COLLAPSIBLE = ".".concat(PREFIX, "-footer__primary-content--collapsible");
1929
+ var HIDE_MAX_WIDTH = 480;
1930
+ var DEBOUNCE_RATE = 180;
1931
+
1932
+ function showPanel() {
1933
+ if (window.innerWidth < HIDE_MAX_WIDTH) {
1934
+ var collapseEl = this.closest(COLLAPSIBLE);
1935
+ collapseEl.classList.toggle(HIDDEN); // NB: this *should* always succeed because the button
1936
+ // selector is scoped to ".{prefix}-footer-big nav"
1937
+
1938
+ var collapsibleEls = select(COLLAPSIBLE, collapseEl.closest(NAV));
1939
+ collapsibleEls.forEach(function (el) {
1940
+ if (el !== collapseEl) {
1941
+ el.classList.add(HIDDEN);
1942
+ }
1943
+ });
1944
+ }
1945
+ }
1946
+
1947
+ var lastInnerWidth;
1249
1948
  var resize = debounce(function () {
1949
+ if (lastInnerWidth === window.innerWidth) return;
1950
+ lastInnerWidth = window.innerWidth;
1250
1951
  var hidden = window.innerWidth < HIDE_MAX_WIDTH;
1251
- forEach(select(LIST), function (list) {
1252
- list.classList.toggle(HIDDEN, hidden);
1952
+ select(COLLAPSIBLE).forEach(function (list) {
1953
+ return list.classList.toggle(HIDDEN, hidden);
1253
1954
  });
1254
1955
  }, DEBOUNCE_RATE);
1255
-
1256
1956
  module.exports = behavior(_defineProperty({}, CLICK, _defineProperty({}, BUTTON, showPanel)), {
1257
1957
  // export for use elsewhere
1258
1958
  HIDE_MAX_WIDTH: HIDE_MAX_WIDTH,
1259
1959
  DEBOUNCE_RATE: DEBOUNCE_RATE,
1260
-
1261
- init: function init(target) {
1960
+ init: function init() {
1262
1961
  resize();
1263
- window.addEventListener('resize', resize);
1962
+ window.addEventListener("resize", resize);
1264
1963
  },
1265
-
1266
- teardown: function teardown(target) {
1267
- window.removeEventListener('resize', resize);
1964
+ teardown: function teardown() {
1965
+ window.removeEventListener("resize", resize);
1268
1966
  }
1269
1967
  });
1270
1968
 
1271
- },{"../config":25,"../events":26,"../utils/behavior":30,"../utils/select":32,"./accordion":16,"array-foreach":2,"lodash.debounce":7}],19:[function(require,module,exports){
1272
- 'use strict';
1969
+ },{"../config":28,"../events":29,"../utils/behavior":34,"../utils/select":37,"lodash.debounce":6}],22:[function(require,module,exports){
1970
+ "use strict";
1971
+
1972
+ var accordion = require("./accordion");
1973
+
1974
+ var banner = require("./banner");
1975
+
1976
+ var characterCount = require("./character-count");
1977
+
1978
+ var comboBox = require("./combo-box");
1979
+
1980
+ var footer = require("./footer");
1981
+
1982
+ var navigation = require("./navigation");
1983
+
1984
+ var password = require("./password");
1985
+
1986
+ var search = require("./search");
1987
+
1988
+ var skipnav = require("./skipnav");
1989
+
1990
+ var validator = require("./validator");
1273
1991
 
1274
1992
  module.exports = {
1275
- accordion: require('./accordion'),
1276
- banner: require('./banner'),
1277
- footer: require('./footer'),
1278
- navigation: require('./navigation'),
1279
- password: require('./password'),
1280
- search: require('./search'),
1281
- skipnav: require('./skipnav'),
1282
- validator: require('./validator')
1993
+ accordion: accordion,
1994
+ banner: banner,
1995
+ characterCount: characterCount,
1996
+ comboBox: comboBox,
1997
+ footer: footer,
1998
+ navigation: navigation,
1999
+ password: password,
2000
+ search: search,
2001
+ skipnav: skipnav,
2002
+ validator: validator
1283
2003
  };
1284
2004
 
1285
- },{"./accordion":16,"./banner":17,"./footer":18,"./navigation":20,"./password":21,"./search":22,"./skipnav":23,"./validator":24}],20:[function(require,module,exports){
1286
- 'use strict';
2005
+ },{"./accordion":17,"./banner":18,"./character-count":19,"./combo-box":20,"./footer":21,"./navigation":23,"./password":24,"./search":25,"./skipnav":26,"./validator":27}],23:[function(require,module,exports){
2006
+ "use strict";
1287
2007
 
1288
2008
  var _CLICK;
1289
2009
 
1290
2010
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1291
2011
 
1292
- var behavior = require('../utils/behavior');
1293
- var forEach = require('array-foreach');
1294
- var select = require('../utils/select');
1295
- var accordion = require('./accordion');
2012
+ var behavior = require("../utils/behavior");
2013
+
2014
+ var select = require("../utils/select");
2015
+
2016
+ var toggle = require("../utils/toggle");
1296
2017
 
1297
- var CLICK = require('../events').CLICK;
1298
- var PREFIX = require('../config').prefix;
2018
+ var FocusTrap = require("../utils/focus-trap");
1299
2019
 
1300
- var NAV = '.' + PREFIX + '-nav';
1301
- var NAV_LINKS = NAV + ' a';
1302
- var OPENERS = '.' + PREFIX + '-menu-btn';
1303
- var CLOSE_BUTTON = '.' + PREFIX + '-nav-close';
1304
- var OVERLAY = '.' + PREFIX + '-overlay';
1305
- var CLOSERS = CLOSE_BUTTON + ', .' + PREFIX + '-overlay';
1306
- var TOGGLES = [NAV, OVERLAY].join(', ');
2020
+ var accordion = require("./accordion");
1307
2021
 
1308
- var ACTIVE_CLASS = 'usa-mobile_nav-active';
1309
- var VISIBLE_CLASS = 'is-visible';
2022
+ var _require = require("../events"),
2023
+ CLICK = _require.CLICK;
2024
+
2025
+ var _require2 = require("../config"),
2026
+ PREFIX = _require2.prefix;
2027
+
2028
+ var BODY = "body";
2029
+ var NAV = ".".concat(PREFIX, "-nav");
2030
+ var NAV_LINKS = "".concat(NAV, " a");
2031
+ var NAV_CONTROL = "button.".concat(PREFIX, "-nav__link");
2032
+ var OPENERS = ".".concat(PREFIX, "-menu-btn");
2033
+ var CLOSE_BUTTON = ".".concat(PREFIX, "-nav__close");
2034
+ var OVERLAY = ".".concat(PREFIX, "-overlay");
2035
+ var CLOSERS = "".concat(CLOSE_BUTTON, ", .").concat(PREFIX, "-overlay");
2036
+ var TOGGLES = [NAV, OVERLAY].join(", ");
2037
+ var ACTIVE_CLASS = "usa-js-mobile-nav--active";
2038
+ var VISIBLE_CLASS = "is-visible";
2039
+ var navigation;
2040
+ var navActive;
1310
2041
 
1311
2042
  var isActive = function isActive() {
1312
2043
  return document.body.classList.contains(ACTIVE_CLASS);
1313
2044
  };
1314
2045
 
1315
2046
  var toggleNav = function toggleNav(active) {
1316
- var body = document.body;
1317
- if (typeof active !== 'boolean') {
1318
- active = !isActive();
1319
- }
1320
- body.classList.toggle(ACTIVE_CLASS, active);
1321
-
1322
- forEach(select(TOGGLES), function (el) {
1323
- el.classList.toggle(VISIBLE_CLASS, active);
2047
+ var _document = document,
2048
+ body = _document.body;
2049
+ var safeActive = typeof active === "boolean" ? active : !isActive();
2050
+ body.classList.toggle(ACTIVE_CLASS, safeActive);
2051
+ select(TOGGLES).forEach(function (el) {
2052
+ return el.classList.toggle(VISIBLE_CLASS, safeActive);
1324
2053
  });
1325
-
2054
+ navigation.focusTrap.update(safeActive);
1326
2055
  var closeButton = body.querySelector(CLOSE_BUTTON);
1327
2056
  var menuButton = body.querySelector(OPENERS);
1328
2057
 
1329
- if (active && closeButton) {
2058
+ if (safeActive && closeButton) {
1330
2059
  // The mobile nav was just activated, so focus on the close button,
1331
2060
  // which is just before all the nav elements in the tab order.
1332
2061
  closeButton.focus();
1333
- } else if (!active && document.activeElement === closeButton && menuButton) {
2062
+ } else if (!safeActive && document.activeElement === closeButton && menuButton) {
1334
2063
  // The mobile nav was just deactivated, and focus was on the close
1335
2064
  // button, which is no longer visible. We don't want the focus to
1336
2065
  // disappear into the void, so focus on the menu button if it's
@@ -1339,109 +2068,134 @@ var toggleNav = function toggleNav(active) {
1339
2068
  menuButton.focus();
1340
2069
  }
1341
2070
 
1342
- return active;
2071
+ return safeActive;
1343
2072
  };
1344
2073
 
1345
2074
  var resize = function resize() {
1346
2075
  var closer = document.body.querySelector(CLOSE_BUTTON);
1347
2076
 
1348
2077
  if (isActive() && closer && closer.getBoundingClientRect().width === 0) {
1349
- // The mobile nav is active, but the close box isn't visible, which
1350
- // means the user's viewport has been resized so that it is no longer
1351
- // in mobile mode. Let's make the page state consistent by
1352
- // deactivating the mobile nav.
1353
- toggleNav.call(closer, false);
2078
+ // When the mobile nav is active, and the close box isn't visible,
2079
+ // we know the user's viewport has been resized to be larger.
2080
+ // Let's make the page state consistent by deactivating the mobile nav.
2081
+ navigation.toggleNav.call(closer, false);
1354
2082
  }
1355
2083
  };
1356
2084
 
1357
- var navigation = behavior(_defineProperty({}, CLICK, (_CLICK = {}, _defineProperty(_CLICK, OPENERS, toggleNav), _defineProperty(_CLICK, CLOSERS, toggleNav), _defineProperty(_CLICK, NAV_LINKS, function () {
2085
+ var onMenuClose = function onMenuClose() {
2086
+ return navigation.toggleNav.call(navigation, false);
2087
+ };
2088
+
2089
+ var hideActiveNavDropdown = function hideActiveNavDropdown() {
2090
+ toggle(navActive, false);
2091
+ navActive = null;
2092
+ };
2093
+
2094
+ navigation = behavior(_defineProperty({}, CLICK, (_CLICK = {}, _defineProperty(_CLICK, NAV_CONTROL, function () {
2095
+ // If another nav is open, close it
2096
+ if (navActive && navActive !== this) {
2097
+ hideActiveNavDropdown();
2098
+ } // store a reference to the last clicked nav link element, so we
2099
+ // can hide the dropdown if another element on the page is clicked
2100
+
2101
+
2102
+ if (navActive) {
2103
+ hideActiveNavDropdown();
2104
+ } else {
2105
+ navActive = this;
2106
+ toggle(navActive, true);
2107
+ } // Do this so the event handler on the body doesn't fire
2108
+
2109
+
2110
+ return false;
2111
+ }), _defineProperty(_CLICK, BODY, function () {
2112
+ if (navActive) {
2113
+ hideActiveNavDropdown();
2114
+ }
2115
+ }), _defineProperty(_CLICK, OPENERS, toggleNav), _defineProperty(_CLICK, CLOSERS, toggleNav), _defineProperty(_CLICK, NAV_LINKS, function () {
1358
2116
  // A navigation link has been clicked! We want to collapse any
1359
2117
  // hierarchical navigation UI it's a part of, so that the user
1360
2118
  // can focus on whatever they've just selected.
1361
-
1362
2119
  // Some navigation links are inside accordions; when they're
1363
2120
  // clicked, we want to collapse those accordions.
1364
2121
  var acc = this.closest(accordion.ACCORDION);
2122
+
1365
2123
  if (acc) {
1366
2124
  accordion.getButtons(acc).forEach(function (btn) {
1367
2125
  return accordion.hide(btn);
1368
2126
  });
1369
- }
2127
+ } // If the mobile navigation menu is active, we want to hide it.
2128
+
1370
2129
 
1371
- // If the mobile navigation menu is active, we want to hide it.
1372
2130
  if (isActive()) {
1373
- toggleNav.call(this, false);
2131
+ navigation.toggleNav.call(navigation, false);
1374
2132
  }
1375
2133
  }), _CLICK)), {
1376
- init: function init() {
2134
+ init: function init(root) {
2135
+ var trapContainer = root.querySelector(NAV);
2136
+
2137
+ if (trapContainer) {
2138
+ navigation.focusTrap = FocusTrap(trapContainer, {
2139
+ Escape: onMenuClose
2140
+ });
2141
+ }
2142
+
1377
2143
  resize();
1378
- window.addEventListener('resize', resize, false);
2144
+ window.addEventListener("resize", resize, false);
1379
2145
  },
1380
2146
  teardown: function teardown() {
1381
- window.removeEventListener('resize', resize, false);
1382
- }
2147
+ window.removeEventListener("resize", resize, false);
2148
+ navActive = false;
2149
+ },
2150
+ focusTrap: null,
2151
+ toggleNav: toggleNav
1383
2152
  });
2153
+ module.exports = navigation;
1384
2154
 
1385
- /**
1386
- * TODO for 2.0, remove this statement and export `navigation` directly:
1387
- *
1388
- * module.exports = behavior({...});
1389
- */
1390
- var assign = require('object-assign');
1391
- module.exports = assign(function (el) {
1392
- return navigation.on(el);
1393
- }, navigation);
1394
-
1395
- },{"../config":25,"../events":26,"../utils/behavior":30,"../utils/select":32,"./accordion":16,"array-foreach":2,"object-assign":8}],21:[function(require,module,exports){
1396
- 'use strict';
2155
+ },{"../config":28,"../events":29,"../utils/behavior":34,"../utils/focus-trap":35,"../utils/select":37,"../utils/toggle":40,"./accordion":17}],24:[function(require,module,exports){
2156
+ "use strict";
1397
2157
 
1398
2158
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1399
2159
 
1400
- var behavior = require('../utils/behavior');
1401
- var toggleFormInput = require('../utils/toggle-form-input');
2160
+ var behavior = require("../utils/behavior");
2161
+
2162
+ var toggleFormInput = require("../utils/toggle-form-input");
1402
2163
 
1403
- var CLICK = require('../events').CLICK;
1404
- var PREFIX = require('../config').prefix;
2164
+ var _require = require("../events"),
2165
+ CLICK = _require.CLICK;
1405
2166
 
1406
- var LINK = '.' + PREFIX + '-show_password, .' + PREFIX + '-show_multipassword';
2167
+ var _require2 = require("../config"),
2168
+ PREFIX = _require2.prefix;
1407
2169
 
1408
- var toggle = function toggle(event) {
2170
+ var LINK = ".".concat(PREFIX, "-show-password, .").concat(PREFIX, "-show-multipassword");
2171
+
2172
+ function toggle(event) {
1409
2173
  event.preventDefault();
1410
2174
  toggleFormInput(this);
1411
- };
2175
+ }
1412
2176
 
1413
2177
  module.exports = behavior(_defineProperty({}, CLICK, _defineProperty({}, LINK, toggle)));
1414
2178
 
1415
- },{"../config":25,"../events":26,"../utils/behavior":30,"../utils/toggle-form-input":34}],22:[function(require,module,exports){
1416
- 'use strict';
2179
+ },{"../config":28,"../events":29,"../utils/behavior":34,"../utils/toggle-form-input":39}],25:[function(require,module,exports){
2180
+ "use strict";
1417
2181
 
1418
2182
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1419
2183
 
1420
- var behavior = require('../utils/behavior');
1421
- var forEach = require('array-foreach');
1422
- var ignore = require('receptor/ignore');
1423
- var select = require('../utils/select');
2184
+ var ignore = require("receptor/ignore");
1424
2185
 
1425
- var CLICK = require('../events').CLICK;
1426
- var PREFIX = require('../config').prefix;
2186
+ var behavior = require("../utils/behavior");
1427
2187
 
1428
- var BUTTON = '.js-search-button';
1429
- var FORM = '.js-search-form';
1430
- var INPUT = '[type=search]';
1431
- var CONTEXT = 'header'; // XXX
1432
- var VISUALLY_HIDDEN = PREFIX + '-sr-only';
2188
+ var select = require("../utils/select");
1433
2189
 
1434
- var lastButton = void 0;
2190
+ var _require = require("../events"),
2191
+ CLICK = _require.CLICK;
1435
2192
 
1436
- var showSearch = function showSearch(event) {
1437
- toggleSearch(this, true);
1438
- lastButton = this;
1439
- };
2193
+ var BUTTON = ".js-search-button";
2194
+ var FORM = ".js-search-form";
2195
+ var INPUT = "[type=search]";
2196
+ var CONTEXT = "header"; // XXX
1440
2197
 
1441
- var hideSearch = function hideSearch(event) {
1442
- toggleSearch(this, false);
1443
- lastButton = undefined;
1444
- };
2198
+ var lastButton;
1445
2199
 
1446
2200
  var getForm = function getForm(button) {
1447
2201
  var context = button.closest(CONTEXT);
@@ -1450,125 +2204,133 @@ var getForm = function getForm(button) {
1450
2204
 
1451
2205
  var toggleSearch = function toggleSearch(button, active) {
1452
2206
  var form = getForm(button);
2207
+
1453
2208
  if (!form) {
1454
- throw new Error('No ' + FORM + ' found for search toggle in ' + CONTEXT + '!');
2209
+ throw new Error("No ".concat(FORM, " found for search toggle in ").concat(CONTEXT, "!"));
1455
2210
  }
2211
+ /* eslint-disable no-param-reassign */
2212
+
1456
2213
 
1457
2214
  button.hidden = active;
1458
- form.classList.toggle(VISUALLY_HIDDEN, !active);
2215
+ form.hidden = !active;
2216
+ /* eslint-enable */
2217
+
2218
+ if (!active) {
2219
+ return;
2220
+ }
1459
2221
 
1460
- if (active) {
1461
- var input = form.querySelector(INPUT);
1462
- if (input) {
1463
- input.focus();
2222
+ var input = form.querySelector(INPUT);
2223
+
2224
+ if (input) {
2225
+ input.focus();
2226
+ } // when the user clicks _outside_ of the form w/ignore(): hide the
2227
+ // search, then remove the listener
2228
+
2229
+
2230
+ var listener = ignore(form, function () {
2231
+ if (lastButton) {
2232
+ hideSearch.call(lastButton); // eslint-disable-line no-use-before-define
1464
2233
  }
1465
- // when the user clicks _outside_ of the form w/ignore(): hide the
1466
- // search, then remove the listener
1467
- var listener = ignore(form, function (e) {
1468
- if (lastButton) {
1469
- hideSearch.call(lastButton);
1470
- }
1471
- document.body.removeEventListener(CLICK, listener);
1472
- });
1473
2234
 
1474
- // Normally we would just run this code without a timeout, but
1475
- // IE11 and Edge will actually call the listener *immediately* because
1476
- // they are currently handling this exact type of event, so we'll
1477
- // make sure the browser is done handling the current click event,
1478
- // if any, before we attach the listener.
1479
- setTimeout(function () {
1480
- document.body.addEventListener(CLICK, listener);
1481
- }, 0);
1482
- }
2235
+ document.body.removeEventListener(CLICK, listener);
2236
+ }); // Normally we would just run this code without a timeout, but
2237
+ // IE11 and Edge will actually call the listener *immediately* because
2238
+ // they are currently handling this exact type of event, so we'll
2239
+ // make sure the browser is done handling the current click event,
2240
+ // if any, before we attach the listener.
2241
+
2242
+ setTimeout(function () {
2243
+ document.body.addEventListener(CLICK, listener);
2244
+ }, 0);
1483
2245
  };
1484
2246
 
2247
+ function showSearch() {
2248
+ toggleSearch(this, true);
2249
+ lastButton = this;
2250
+ }
2251
+
2252
+ function hideSearch() {
2253
+ toggleSearch(this, false);
2254
+ lastButton = undefined;
2255
+ }
2256
+
1485
2257
  var search = behavior(_defineProperty({}, CLICK, _defineProperty({}, BUTTON, showSearch)), {
1486
2258
  init: function init(target) {
1487
- forEach(select(BUTTON, target), function (button) {
2259
+ select(BUTTON, target).forEach(function (button) {
1488
2260
  toggleSearch(button, false);
1489
2261
  });
1490
2262
  },
1491
- teardown: function teardown(target) {
2263
+ teardown: function teardown() {
1492
2264
  // forget the last button clicked
1493
2265
  lastButton = undefined;
1494
2266
  }
1495
2267
  });
2268
+ module.exports = search;
1496
2269
 
1497
- /**
1498
- * TODO for 2.0, remove this statement and export `navigation` directly:
1499
- *
1500
- * module.exports = behavior({...});
1501
- */
1502
- var assign = require('object-assign');
1503
- module.exports = assign(function (el) {
1504
- return search.on(el);
1505
- }, search);
1506
-
1507
- },{"../config":25,"../events":26,"../utils/behavior":30,"../utils/select":32,"array-foreach":2,"object-assign":8,"receptor/ignore":13}],23:[function(require,module,exports){
1508
- 'use strict';
2270
+ },{"../events":29,"../utils/behavior":34,"../utils/select":37,"receptor/ignore":12}],26:[function(require,module,exports){
2271
+ "use strict";
1509
2272
 
1510
2273
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1511
2274
 
1512
- var behavior = require('../utils/behavior');
1513
- var once = require('receptor/once');
2275
+ var once = require("receptor/once");
2276
+
2277
+ var behavior = require("../utils/behavior");
2278
+
2279
+ var _require = require("../events"),
2280
+ CLICK = _require.CLICK;
1514
2281
 
1515
- var CLICK = require('../events').CLICK;
1516
- var PREFIX = require('../config').prefix;
1517
- var LINK = '.' + PREFIX + '-skipnav[href^="#"]';
2282
+ var _require2 = require("../config"),
2283
+ PREFIX = _require2.prefix;
1518
2284
 
1519
- var setTabindex = function setTabindex(event) {
2285
+ var LINK = ".".concat(PREFIX, "-skipnav[href^=\"#\"], .").concat(PREFIX, "-footer__return-to-top [href^=\"#\"]");
2286
+ var MAINCONTENT = "main-content";
2287
+
2288
+ function setTabindex() {
1520
2289
  // NB: we know because of the selector we're delegating to below that the
1521
2290
  // href already begins with '#'
1522
- var id = this.getAttribute('href').slice(1);
1523
- var target = document.getElementById(id);
2291
+ var id = this.getAttribute("href");
2292
+ var target = document.getElementById(id === "#" ? MAINCONTENT : id.slice(1));
2293
+
1524
2294
  if (target) {
1525
- target.setAttribute('tabindex', 0);
1526
- target.addEventListener('blur', once(function (event) {
1527
- target.setAttribute('tabindex', -1);
2295
+ target.style.outline = "0";
2296
+ target.setAttribute("tabindex", 0);
2297
+ target.focus();
2298
+ target.addEventListener("blur", once(function () {
2299
+ target.setAttribute("tabindex", -1);
1528
2300
  }));
1529
- } else {
1530
- // throw an error?
2301
+ } else {// throw an error?
1531
2302
  }
1532
- };
2303
+ }
1533
2304
 
1534
2305
  module.exports = behavior(_defineProperty({}, CLICK, _defineProperty({}, LINK, setTabindex)));
1535
2306
 
1536
- },{"../config":25,"../events":26,"../utils/behavior":30,"receptor/once":14}],24:[function(require,module,exports){
1537
- 'use strict';
2307
+ },{"../config":28,"../events":29,"../utils/behavior":34,"receptor/once":15}],27:[function(require,module,exports){
2308
+ "use strict";
1538
2309
 
1539
- var behavior = require('../utils/behavior');
1540
- var validate = require('../utils/validate-input');
1541
- var debounce = require('lodash.debounce');
2310
+ var behavior = require("../utils/behavior");
1542
2311
 
1543
- var change = function change(event) {
1544
- return validate(this);
1545
- };
2312
+ var validate = require("../utils/validate-input");
2313
+
2314
+ function change() {
2315
+ validate(this);
2316
+ }
1546
2317
 
1547
2318
  var validator = behavior({
1548
- 'keyup change': {
1549
- 'input[data-validation-element]': change
2319
+ "keyup change": {
2320
+ "input[data-validation-element]": change
1550
2321
  }
1551
2322
  });
2323
+ module.exports = validator;
1552
2324
 
1553
- /**
1554
- * TODO for 2.0, remove this statement and export `navigation` directly:
1555
- *
1556
- * module.exports = behavior({...});
1557
- */
1558
- var assign = require('object-assign');
1559
- module.exports = assign(function (el) {
1560
- return validator.on(el);
1561
- }, validator);
1562
-
1563
- },{"../utils/behavior":30,"../utils/validate-input":36,"lodash.debounce":7,"object-assign":8}],25:[function(require,module,exports){
1564
- 'use strict';
2325
+ },{"../utils/behavior":34,"../utils/validate-input":41}],28:[function(require,module,exports){
2326
+ "use strict";
1565
2327
 
1566
2328
  module.exports = {
1567
- prefix: 'usa'
2329
+ prefix: "usa"
1568
2330
  };
1569
2331
 
1570
- },{}],26:[function(require,module,exports){
1571
- 'use strict';
2332
+ },{}],29:[function(require,module,exports){
2333
+ "use strict";
1572
2334
 
1573
2335
  module.exports = {
1574
2336
  // This used to be conditionally dependent on whether the
@@ -1583,14 +2345,14 @@ module.exports = {
1583
2345
  // touch and clicks. This meant the conditional effectively dropped
1584
2346
  // support for the user's mouse, frustrating users who preferred
1585
2347
  // it on those systems.
1586
- CLICK: 'click'
2348
+ CLICK: "click"
1587
2349
  };
1588
2350
 
1589
- },{}],27:[function(require,module,exports){
1590
- 'use strict';
2351
+ },{}],30:[function(require,module,exports){
2352
+ "use strict";
1591
2353
 
1592
2354
  var elproto = window.HTMLElement.prototype;
1593
- var HIDDEN = 'hidden';
2355
+ var HIDDEN = "hidden";
1594
2356
 
1595
2357
  if (!(HIDDEN in elproto)) {
1596
2358
  Object.defineProperty(elproto, HIDDEN, {
@@ -1599,7 +2361,7 @@ if (!(HIDDEN in elproto)) {
1599
2361
  },
1600
2362
  set: function set(value) {
1601
2363
  if (value) {
1602
- this.setAttribute(HIDDEN, '');
2364
+ this.setAttribute(HIDDEN, "");
1603
2365
  } else {
1604
2366
  this.removeAttribute(HIDDEN);
1605
2367
  }
@@ -1607,93 +2369,185 @@ if (!(HIDDEN in elproto)) {
1607
2369
  });
1608
2370
  }
1609
2371
 
1610
- },{}],28:[function(require,module,exports){
1611
- 'use strict';
2372
+ },{}],31:[function(require,module,exports){
2373
+ "use strict";
2374
+
1612
2375
  // polyfills HTMLElement.prototype.classList and DOMTokenList
2376
+ require("classlist-polyfill"); // polyfills HTMLElement.prototype.hidden
1613
2377
 
1614
- require('classlist-polyfill');
1615
- // polyfills HTMLElement.prototype.hidden
1616
- require('./element-hidden');
1617
2378
 
1618
- },{"./element-hidden":27,"classlist-polyfill":3}],29:[function(require,module,exports){
1619
- 'use strict';
2379
+ require("./element-hidden");
1620
2380
 
1621
- var domready = require('domready');
2381
+ },{"./element-hidden":30,"classlist-polyfill":1}],32:[function(require,module,exports){
2382
+ "use strict";
1622
2383
 
2384
+ var domready = require("domready");
1623
2385
  /**
1624
2386
  * The 'polyfills' define key ECMAScript 5 methods that may be missing from
1625
2387
  * older browsers, so must be loaded first.
1626
2388
  */
1627
- require('./polyfills');
1628
2389
 
1629
- var uswds = require('./config');
1630
2390
 
1631
- var components = require('./components');
1632
- uswds.components = components;
2391
+ require("./polyfills");
2392
+
2393
+ var uswds = require("./config");
2394
+
2395
+ var components = require("./components");
1633
2396
 
2397
+ uswds.components = components;
1634
2398
  domready(function () {
1635
2399
  var target = document.body;
1636
- for (var name in components) {
1637
- var behavior = components[name];
2400
+ Object.keys(components).forEach(function (key) {
2401
+ var behavior = components[key];
1638
2402
  behavior.on(target);
1639
- }
2403
+ });
1640
2404
  });
1641
-
1642
2405
  module.exports = uswds;
1643
2406
 
1644
- },{"./components":19,"./config":25,"./polyfills":28,"domready":4}],30:[function(require,module,exports){
1645
- 'use strict';
2407
+ },{"./components":22,"./config":28,"./polyfills":31,"domready":2}],33:[function(require,module,exports){
2408
+ "use strict";
2409
+
2410
+ module.exports = function () {
2411
+ var htmlDocument = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : document;
2412
+ return htmlDocument.activeElement;
2413
+ };
2414
+
2415
+ },{}],34:[function(require,module,exports){
2416
+ "use strict";
2417
+
2418
+ var assign = require("object-assign");
2419
+
2420
+ var Behavior = require("receptor/behavior");
2421
+ /**
2422
+ * @name sequence
2423
+ * @param {...Function} seq an array of functions
2424
+ * @return { closure } callHooks
2425
+ */
2426
+ // We use a named function here because we want it to inherit its lexical scope
2427
+ // from the behavior props object, not from the module
1646
2428
 
1647
- var assign = require('object-assign');
1648
- var forEach = require('array-foreach');
1649
- var Behavior = require('receptor/behavior');
1650
2429
 
1651
2430
  var sequence = function sequence() {
1652
- var seq = [].slice.call(arguments);
1653
- return function (target) {
2431
+ for (var _len = arguments.length, seq = new Array(_len), _key = 0; _key < _len; _key++) {
2432
+ seq[_key] = arguments[_key];
2433
+ }
2434
+
2435
+ return function callHooks() {
1654
2436
  var _this = this;
1655
2437
 
1656
- if (!target) {
1657
- target = document.body;
1658
- }
1659
- forEach(seq, function (method) {
1660
- if (typeof _this[method] === 'function') {
2438
+ var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : document.body;
2439
+ seq.forEach(function (method) {
2440
+ if (typeof _this[method] === "function") {
1661
2441
  _this[method].call(_this, target);
1662
2442
  }
1663
2443
  });
1664
2444
  };
1665
2445
  };
1666
-
1667
2446
  /**
1668
2447
  * @name behavior
1669
2448
  * @param {object} events
1670
2449
  * @param {object?} props
1671
2450
  * @return {receptor.behavior}
1672
2451
  */
2452
+
2453
+
1673
2454
  module.exports = function (events, props) {
1674
2455
  return Behavior(events, assign({
1675
- on: sequence('init', 'add'),
1676
- off: sequence('teardown', 'remove')
2456
+ on: sequence("init", "add"),
2457
+ off: sequence("teardown", "remove")
1677
2458
  }, props));
1678
2459
  };
1679
2460
 
1680
- },{"array-foreach":2,"object-assign":8,"receptor/behavior":9}],31:[function(require,module,exports){
2461
+ },{"object-assign":7,"receptor/behavior":8}],35:[function(require,module,exports){
2462
+ "use strict";
2463
+
2464
+ var assign = require("object-assign");
2465
+
2466
+ var _require = require("receptor"),
2467
+ keymap = _require.keymap;
2468
+
2469
+ var behavior = require("./behavior");
2470
+
2471
+ var select = require("./select");
2472
+
2473
+ var activeElement = require("./active-element");
2474
+
2475
+ var FOCUSABLE = 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]';
2476
+
2477
+ var tabHandler = function tabHandler(context) {
2478
+ var focusableElements = select(FOCUSABLE, context);
2479
+ var firstTabStop = focusableElements[0];
2480
+ var lastTabStop = focusableElements[focusableElements.length - 1]; // Special rules for when the user is tabbing forward from the last focusable element,
2481
+ // or when tabbing backwards from the first focusable element
2482
+
2483
+ function tabAhead(event) {
2484
+ if (activeElement() === lastTabStop) {
2485
+ event.preventDefault();
2486
+ firstTabStop.focus();
2487
+ }
2488
+ }
2489
+
2490
+ function tabBack(event) {
2491
+ if (activeElement() === firstTabStop) {
2492
+ event.preventDefault();
2493
+ lastTabStop.focus();
2494
+ }
2495
+ }
2496
+
2497
+ return {
2498
+ firstTabStop: firstTabStop,
2499
+ lastTabStop: lastTabStop,
2500
+ tabAhead: tabAhead,
2501
+ tabBack: tabBack
2502
+ };
2503
+ };
2504
+
2505
+ module.exports = function (context) {
2506
+ var additionalKeyBindings = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
2507
+ var tabEventHandler = tabHandler(context); // TODO: In the future, loop over additional keybindings and pass an array
2508
+ // of functions, if necessary, to the map keys. Then people implementing
2509
+ // the focus trap could pass callbacks to fire when tabbing
2510
+
2511
+ var keyMappings = keymap(assign({
2512
+ Tab: tabEventHandler.tabAhead,
2513
+ "Shift+Tab": tabEventHandler.tabBack
2514
+ }, additionalKeyBindings));
2515
+ var focusTrap = behavior({
2516
+ keydown: keyMappings
2517
+ }, {
2518
+ init: function init() {
2519
+ // TODO: is this desireable behavior? Should the trap always do this by default or should
2520
+ // the component getting decorated handle this?
2521
+ tabEventHandler.firstTabStop.focus();
2522
+ },
2523
+ update: function update(isActive) {
2524
+ if (isActive) {
2525
+ this.on();
2526
+ } else {
2527
+ this.off();
2528
+ }
2529
+ }
2530
+ });
2531
+ return focusTrap;
2532
+ };
2533
+
2534
+ },{"./active-element":33,"./behavior":34,"./select":37,"object-assign":7,"receptor":13}],36:[function(require,module,exports){
1681
2535
  "use strict";
1682
2536
 
1683
2537
  // https://stackoverflow.com/a/7557433
1684
2538
  function isElementInViewport(el) {
1685
2539
  var win = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : window;
1686
2540
  var docEl = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : document.documentElement;
1687
-
1688
2541
  var rect = el.getBoundingClientRect();
1689
-
1690
2542
  return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (win.innerHeight || docEl.clientHeight) && rect.right <= (win.innerWidth || docEl.clientWidth);
1691
2543
  }
1692
2544
 
1693
2545
  module.exports = isElementInViewport;
1694
2546
 
1695
- },{}],32:[function(require,module,exports){
1696
- 'use strict';
2547
+ },{}],37:[function(require,module,exports){
2548
+ "use strict";
2549
+
2550
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
1697
2551
 
1698
2552
  /**
1699
2553
  * @name isElement
@@ -1701,13 +2555,9 @@ module.exports = isElementInViewport;
1701
2555
  * @param {any} value
1702
2556
  * @return {boolean}
1703
2557
  */
1704
-
1705
- var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
1706
-
1707
2558
  var isElement = function isElement(value) {
1708
- return value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && value.nodeType === 1;
2559
+ return value && _typeof(value) === "object" && value.nodeType === 1;
1709
2560
  };
1710
-
1711
2561
  /**
1712
2562
  * @name select
1713
2563
  * @desc selects elements from the DOM by class selector or ID selector.
@@ -1716,22 +2566,23 @@ var isElement = function isElement(value) {
1716
2566
  * in. If not provided, it defaults to the document.
1717
2567
  * @return {HTMLElement[]} - An array of DOM nodes or an empty array.
1718
2568
  */
1719
- module.exports = function select(selector, context) {
1720
2569
 
1721
- if (typeof selector !== 'string') {
2570
+
2571
+ module.exports = function (selector, context) {
2572
+ if (typeof selector !== "string") {
1722
2573
  return [];
1723
2574
  }
1724
2575
 
1725
2576
  if (!context || !isElement(context)) {
1726
- context = window.document;
2577
+ context = window.document; // eslint-disable-line no-param-reassign
1727
2578
  }
1728
2579
 
1729
2580
  var selection = context.querySelectorAll(selector);
1730
2581
  return Array.prototype.slice.call(selection);
1731
2582
  };
1732
2583
 
1733
- },{}],33:[function(require,module,exports){
1734
- 'use strict';
2584
+ },{}],38:[function(require,module,exports){
2585
+ "use strict";
1735
2586
 
1736
2587
  /**
1737
2588
  * Flips given INPUT elements between masked (hiding the field value) and unmasked
@@ -1739,35 +2590,33 @@ module.exports = function select(selector, context) {
1739
2590
  * @param {Boolean} mask - Whether the mask should be applied, hiding the field value
1740
2591
  */
1741
2592
  module.exports = function (field, mask) {
1742
- field.setAttribute('autocapitalize', 'off');
1743
- field.setAttribute('autocorrect', 'off');
1744
- field.setAttribute('type', mask ? 'password' : 'text');
2593
+ field.setAttribute("autocapitalize", "off");
2594
+ field.setAttribute("autocorrect", "off");
2595
+ field.setAttribute("type", mask ? "password" : "text");
1745
2596
  };
1746
2597
 
1747
- },{}],34:[function(require,module,exports){
1748
- 'use strict';
2598
+ },{}],39:[function(require,module,exports){
2599
+ "use strict";
1749
2600
 
1750
- var forEach = require('array-foreach');
1751
- var resolveIdRefs = require('resolve-id-refs');
1752
- var select = require('./select');
1753
- var toggleFieldMask = require('./toggle-field-mask');
2601
+ var resolveIdRefs = require("resolve-id-refs");
1754
2602
 
1755
- var CONTROLS = 'aria-controls';
1756
- var PRESSED = 'aria-pressed';
1757
- var SHOW_ATTR = 'data-show-text';
1758
- var HIDE_ATTR = 'data-hide-text';
2603
+ var toggleFieldMask = require("./toggle-field-mask");
1759
2604
 
2605
+ var CONTROLS = "aria-controls";
2606
+ var PRESSED = "aria-pressed";
2607
+ var SHOW_ATTR = "data-show-text";
2608
+ var HIDE_ATTR = "data-hide-text";
1760
2609
  /**
1761
2610
  * Replace the word "Show" (or "show") with "Hide" (or "hide") in a string.
1762
2611
  * @param {string} showText
1763
2612
  * @return {strong} hideText
1764
2613
  */
2614
+
1765
2615
  var getHideText = function getHideText(showText) {
1766
2616
  return showText.replace(/\bShow\b/i, function (show) {
1767
- return ('S' === show[0] ? 'H' : 'h') + 'ide';
2617
+ return "".concat(show[0] === "S" ? "H" : "h", "ide");
1768
2618
  });
1769
2619
  };
1770
-
1771
2620
  /**
1772
2621
  * Component that decorates an HTML element with the ability to toggle the
1773
2622
  * masked state of an input field (like a password) when clicked.
@@ -1777,14 +2626,15 @@ var getHideText = function getHideText(showText) {
1777
2626
  * @param {HTMLElement} el Parent element containing the fields to be masked
1778
2627
  * @return {boolean}
1779
2628
  */
2629
+
2630
+
1780
2631
  module.exports = function (el) {
1781
2632
  // this is the *target* state:
1782
2633
  // * if the element has the attr and it's !== "true", pressed is true
1783
2634
  // * otherwise, pressed is false
1784
- var pressed = el.hasAttribute(PRESSED) && el.getAttribute(PRESSED) !== 'true';
1785
-
2635
+ var pressed = el.hasAttribute(PRESSED) && el.getAttribute(PRESSED) !== "true";
1786
2636
  var fields = resolveIdRefs(el.getAttribute(CONTROLS));
1787
- forEach(fields, function (field) {
2637
+ fields.forEach(function (field) {
1788
2638
  return toggleFieldMask(field, pressed);
1789
2639
  });
1790
2640
 
@@ -1794,70 +2644,92 @@ module.exports = function (el) {
1794
2644
 
1795
2645
  var showText = el.getAttribute(SHOW_ATTR);
1796
2646
  var hideText = el.getAttribute(HIDE_ATTR) || getHideText(showText);
2647
+ el.textContent = pressed ? showText : hideText; // eslint-disable-line no-param-reassign
1797
2648
 
1798
- el.textContent = pressed ? showText : hideText;
1799
2649
  el.setAttribute(PRESSED, pressed);
1800
2650
  return pressed;
1801
2651
  };
1802
2652
 
1803
- },{"./select":32,"./toggle-field-mask":33,"array-foreach":2,"resolve-id-refs":15}],35:[function(require,module,exports){
1804
- 'use strict';
2653
+ },{"./toggle-field-mask":38,"resolve-id-refs":16}],40:[function(require,module,exports){
2654
+ "use strict";
1805
2655
 
1806
- var EXPANDED = 'aria-expanded';
1807
- var CONTROLS = 'aria-controls';
1808
- var HIDDEN = 'aria-hidden';
2656
+ var EXPANDED = "aria-expanded";
2657
+ var CONTROLS = "aria-controls";
2658
+ var HIDDEN = "hidden";
1809
2659
 
1810
2660
  module.exports = function (button, expanded) {
2661
+ var safeExpanded = expanded;
1811
2662
 
1812
- if (typeof expanded !== 'boolean') {
1813
- expanded = button.getAttribute(EXPANDED) === 'false';
2663
+ if (typeof safeExpanded !== "boolean") {
2664
+ safeExpanded = button.getAttribute(EXPANDED) === "false";
1814
2665
  }
1815
- button.setAttribute(EXPANDED, expanded);
1816
2666
 
2667
+ button.setAttribute(EXPANDED, safeExpanded);
1817
2668
  var id = button.getAttribute(CONTROLS);
1818
2669
  var controls = document.getElementById(id);
2670
+
1819
2671
  if (!controls) {
1820
- throw new Error('No toggle target found with id: "' + id + '"');
2672
+ throw new Error("No toggle target found with id: \"".concat(id, "\""));
1821
2673
  }
1822
2674
 
1823
- controls.setAttribute(HIDDEN, !expanded);
1824
- return expanded;
2675
+ if (safeExpanded) {
2676
+ controls.removeAttribute(HIDDEN);
2677
+ } else {
2678
+ controls.setAttribute(HIDDEN, "");
2679
+ }
2680
+
2681
+ return safeExpanded;
1825
2682
  };
1826
2683
 
1827
- },{}],36:[function(require,module,exports){
1828
- 'use strict';
2684
+ },{}],41:[function(require,module,exports){
2685
+ "use strict";
2686
+
2687
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
2688
+
2689
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
1829
2690
 
1830
- var dataset = require('elem-dataset');
2691
+ function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
1831
2692
 
1832
- var PREFIX = require('../config').prefix;
1833
- var CHECKED = 'aria-checked';
1834
- var CHECKED_CLASS = PREFIX + '-checklist-checked';
2693
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
2694
+
2695
+ var dataset = require("elem-dataset");
2696
+
2697
+ var _require = require("../config"),
2698
+ PREFIX = _require.prefix;
2699
+
2700
+ var CHECKED = "aria-checked";
2701
+ var CHECKED_CLASS = "".concat(PREFIX, "-checklist__item--checked");
1835
2702
 
1836
2703
  module.exports = function validate(el) {
1837
2704
  var data = dataset(el);
1838
2705
  var id = data.validationElement;
1839
- var checkList = id.charAt(0) === '#' ? document.querySelector(id) : document.getElementById(id);
2706
+ var checkList = id.charAt(0) === "#" ? document.querySelector(id) : document.getElementById(id);
1840
2707
 
1841
2708
  if (!checkList) {
1842
- throw new Error('No validation element found with id: "' + id + '"');
2709
+ throw new Error("No validation element found with id: \"".concat(id, "\""));
1843
2710
  }
1844
2711
 
1845
- for (var key in data) {
1846
- if (key.startsWith('validate')) {
1847
- var validatorName = key.substr('validate'.length).toLowerCase();
1848
- var validatorPattern = new RegExp(data[key]);
1849
- var validatorSelector = '[data-validator="' + validatorName + '"]';
2712
+ Object.entries(data).forEach(function (_ref) {
2713
+ var _ref2 = _slicedToArray(_ref, 2),
2714
+ key = _ref2[0],
2715
+ value = _ref2[1];
2716
+
2717
+ if (key.startsWith("validate")) {
2718
+ var validatorName = key.substr("validate".length).toLowerCase();
2719
+ var validatorPattern = new RegExp(value);
2720
+ var validatorSelector = "[data-validator=\"".concat(validatorName, "\"]");
1850
2721
  var validatorCheckbox = checkList.querySelector(validatorSelector);
2722
+
1851
2723
  if (!validatorCheckbox) {
1852
- throw new Error('No validator checkbox found for: "' + validatorName + '"');
2724
+ throw new Error("No validator checkbox found for: \"".concat(validatorName, "\""));
1853
2725
  }
1854
2726
 
1855
2727
  var checked = validatorPattern.test(el.value);
1856
2728
  validatorCheckbox.classList.toggle(CHECKED_CLASS, checked);
1857
2729
  validatorCheckbox.setAttribute(CHECKED, checked);
1858
2730
  }
1859
- }
2731
+ });
1860
2732
  };
1861
2733
 
1862
- },{"../config":25,"elem-dataset":5}]},{},[29])
1863
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJub2RlX21vZHVsZXMvYXJyYXktZmlsdGVyL2luZGV4LmpzIiwibm9kZV9tb2R1bGVzL2FycmF5LWZvcmVhY2gvaW5kZXguanMiLCJub2RlX21vZHVsZXMvY2xhc3NsaXN0LXBvbHlmaWxsL3NyYy9pbmRleC5qcyIsIm5vZGVfbW9kdWxlcy9kb21yZWFkeS9yZWFkeS5qcyIsIm5vZGVfbW9kdWxlcy9lbGVtLWRhdGFzZXQvZGlzdC9pbmRleC5qcyIsIm5vZGVfbW9kdWxlcy9lbGVtZW50LWNsb3Nlc3QvZWxlbWVudC1jbG9zZXN0LmpzIiwibm9kZV9tb2R1bGVzL2xvZGFzaC5kZWJvdW5jZS9pbmRleC5qcyIsIm5vZGVfbW9kdWxlcy9vYmplY3QtYXNzaWduL2luZ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b3JTZWxlY3RvciA9IGBbZGF0YS12YWxpZGF0b3I9XCIke3ZhbGlkYXRvck5hbWV9XCJdYDtcbiAgICAgIGNvbnN0IHZhbGlkYXRvckNoZWNrYm94ID0gY2hlY2tMaXN0LnF1ZXJ5U2VsZWN0b3IodmFsaWRhdG9yU2VsZWN0b3IpO1xuICAgICAgaWYgKCF2YWxpZGF0b3JDaGVja2JveCkge1xuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoXG4gICAgICAgICAgYE5vIHZhbGlkYXRvciBjaGVja2JveCBmb3VuZCBmb3I6IFwiJHt2YWxpZGF0b3JOYW1lfVwiYFxuICAgICAgICApO1xuICAgICAgfVxuXG4gICAgICBjb25zdCBjaGVja2VkID0gdmFsaWRhdG9yUGF0dGVybi50ZXN0KGVsLnZhbHVlKTtcbiAgICAgIHZhbGlkYXRvckNoZWNrYm94LmNsYXNzTGlzdC50b2dnbGUoQ0hFQ0tFRF9DTEFTUywgY2hlY2tlZCk7XG4gICAgICB2YWxpZGF0b3JDaGVja2JveC5zZXRBdHRyaWJ1dGUoQ0hFQ0tFRCwgY2hlY2tlZCk7XG4gICAgfVxuICB9XG59O1xuIl19
2734
+ },{"../config":28,"elem-dataset":3}]},{},[32])
2735
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJub2RlX21vZHVsZXMvY2xhc3NsaXN0LXBvbHlmaWxsL3NyYy9pbmRleC5qcyIsIm5vZGVfbW9kdWxlcy9kb21yZWFkeS9yZWFkeS5qcyIsIm5vZGVfbW9kdWxlcy9lbGVtLWRhdGFzZXQvZGlzdC9pbmRleC5qcyIsIm5vZGVfbW9kdWxlcy9lbGVtZW50LWNsb3Nlc3QvZWxlbWVudC1jbG9zZXN0LmpzIiwibm9kZV9tb2R1bGVzL2tleWJvYXJkZXZlbnQta2V5LXBvbHlmaWxsL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SaWdodCcsXG4gICAgICA0MDogJ0Fycm93RG93bicsXG4gICAgICA0MTogJ1NlbGVjdCcsXG4gICAgICA0MjogJ1ByaW50JyxcbiAgICAgIDQzOiAnRXhlY3V0ZScsXG4gICAgICA0NDogJ1ByaW50U2NyZWVuJyxcbiAgICAgIDQ1OiAnSW5zZXJ0JyxcbiAgICAgIDQ2OiAnRGVsZXRlJyxcbiAgICAgIDQ4OiBbJzAnLCAnKSddLFxuICAgICAgNDk6IFsnMScsICchJ10sXG4gICAgICA1MDogWycyJywgJ0AnXSxcbiAgICAgIDUxOiBbJzMnLCAnIyddLFxuICAgICAgNTI6IFsnNCcsICckJ10sXG4gICAgICA1MzogWyc1JywgJyUnXSxcbiAgICAgIDU0OiBbJzYnLCAnXiddLFxuICAgICAgNTU6IFsnNycsICcmJ10sXG4gICAgICA1NjogWyc4JywgJyonXSxcbiAgICAgIDU3OiBbJzknLCAnKCddLFxuICAgICAgOTE6ICdPUycsXG4gICAgICA5MzogJ0NvbnRleHRNZW51JyxcbiAgICAgIDE0NDogJ051bUxvY2snLFxuICAgICAgMTQ1OiAnU2Nyb2xsTG9jaycsXG4gICAgICAxODE6ICdWb2x1bWVNdXRlJyxcbiAgICAgIDE4MjogJ1ZvbHVtZURvd24nLFxuICAgICAgMTgzOiAnVm9sdW1lVXAnLFxuICAgICAgMTg2OiBbJzsnLCAnOiddLFxuICAgICAgMTg3OiBbJz0nLCAnKyddLFxuICAgICAgMTg4OiBbJywnLCAnPCddLFxuICAgICAgMTg5OiBbJy0nLCAnXyddLFxuICAgICAgMTkwOiBbJy4nLCAnPiddLFxuICAgICAgMTkxOiBbJy8nLCAnPyddLFxuICAgICAgMTkyOiBbJ2AnLCAnfiddLFxuICAgICAgMjE5OiBbJ1snLCAneyddLFxuICAgICAgMjIwOiBbJ1xcXFwnLCAnfCddLFxuICAgICAgMjIxOiBbJ10nLCAnfSddLFxuICAgICAgMjIyOiBbXCInXCIsICdcIiddLFxuICAgICAgMjI0OiAnTWV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ZXZlbnQucmVsYXRlZFRhcmdldCkpIHtcbiAgICAgICAgICBjb21wbGV0ZVNlbGVjdGlvbihjb21ib0JveEVsKTtcbiAgICAgICAgICBoaWRlTGlzdChjb21ib0JveEVsKTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH0sXG4gICAga2V5ZG93bjoge1xuICAgICAgW0NPTUJPX0JPWF06IGtleW1hcCh7XG4gICAgICAgIEFycm93VXA6IGhhbmRsZVVwLFxuICAgICAgICBVcDogaGFuZGxlVXAsXG4gICAgICAgIEFycm93RG93bjogaGFuZGxlRG93bixcbiAgICAgICAgRG93bjogaGFuZGxlRG93bixcbiAgICAgICAgRXNjYXBlOiBoYW5kbGVFc2NhcGUsXG4gICAgICAgIEVudGVyOiBoYW5kbGVFbnRlclxuICAgICAgfSlcbiAgICB9LFxuICAgIGtleXVwOiB7XG4gICAgICBbSU5QVVRdKGV2ZW50KSB7XG4gICAgICAgIGlmIChpc1ByaW50YWJsZUtleUNvZGUoZXZlbnQua2V5Q29kZSkpIHtcbiAgICAgICAgICBkaXNwbGF5TGlzdCh0aGlzKTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfSxcbiAge1xuICAgIGluaXQocm9vdCkge1xuICAgICAgc2VsZWN0KFNFTEVDVCwgcm9vdCkuZm9yRWFjaChzZWxlY3RFbCA9PiB7XG4gICAgICAgIGVuaGFuY2VDb21ib0JveChzZWxlY3RFbCk7XG4gICAgICB9KTtcbiAgICB9XG4gIH1cbik7XG5cbm1vZHVsZS5leHBvcnRzID0gY29tYm9Cb3g7XG4iLCJjb25zdCBkZWJvdW5jZSA9IHJlcXVpcmUoXCJsb2Rhc2guZGVib3VuY2VcIik7XG5jb25zdCBiZWhhdmlvciA9IHJlcXVpcmUoXCIuLi91dGlscy9iZWhhdmlvclwiKTtcbmNvbnN0IHNlbGVjdCA9IHJlcXVpcmUoXCIuLi91dGlscy9zZWxlY3RcIik7XG5jb25zdCB7IENMSUNLIH0gPSByZXF1aXJl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