udt-itf-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (639) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +124 -0
  3. data/_data/apis.yml +66 -0
  4. data/_data/calls.yml +6 -0
  5. data/_data/demos.yml +10 -0
  6. data/_data/features.yml +9 -0
  7. data/_data/institutions.yml +61 -0
  8. data/_data/pastevents.yml +146 -0
  9. data/_includes/api/acronyms.md +3 -0
  10. data/_includes/api/anchor_headings.html +152 -0
  11. data/_includes/api/beta.md +7 -0
  12. data/_includes/api/code_header.html +4 -0
  13. data/_includes/api/copyright.md +4 -0
  14. data/_includes/api/copyright2015.md +4 -0
  15. data/_includes/api/copyright2017.md +4 -0
  16. data/_includes/api/editors.md +3 -0
  17. data/_includes/api/links.md +235 -0
  18. data/_includes/api/sub-page_header.html +5 -0
  19. data/_includes/api/toc.html +182 -0
  20. data/_includes/blocks/api-cards.html +27 -0
  21. data/_includes/blocks/cards.html +21 -0
  22. data/_includes/blocks/carousel.html +14 -0
  23. data/_includes/blocks/demos.html +10 -0
  24. data/_includes/blocks/event-cards.html +26 -0
  25. data/_includes/blocks/features.html +9 -0
  26. data/_includes/blocks/hero.html +61 -0
  27. data/_includes/blocks/image-and-text.html +30 -0
  28. data/_includes/blocks/join-newsletter.html +0 -0
  29. data/_includes/blocks/logo-grid.html +14 -0
  30. data/_includes/blocks/news-cards.html +32 -0
  31. data/_includes/blocks/pullquote.html +22 -0
  32. data/_includes/blocks/related-cards.html +0 -0
  33. data/_includes/blocks/steps.html +0 -0
  34. data/_includes/blocks/tabs.html +21 -0
  35. data/_includes/blocks/text-and-text.html +14 -0
  36. data/_includes/content/full-width-image.html +10 -0
  37. data/_includes/content/inline-image.html +13 -0
  38. data/_includes/footer.html +28 -0
  39. data/_includes/head.html +36 -0
  40. data/_includes/misc/button.html +2 -0
  41. data/_includes/misc/community_calendar.html +4 -0
  42. data/_includes/misc/feedback.html +79 -0
  43. data/_includes/misc/google-analytics.html +9 -0
  44. data/_includes/misc/image.html +7 -0
  45. data/_includes/misc/notification.html +15 -0
  46. data/_includes/navbar.html +36 -0
  47. data/_layouts/default.html +35 -0
  48. data/_layouts/event.html +7 -0
  49. data/_layouts/page.html +8 -0
  50. data/_layouts/post.html +7 -0
  51. data/_layouts/spec.html +35 -0
  52. data/_sass/iiifc-theme/api-spec.scss +180 -0
  53. data/_sass/iiifc-theme/base.scss +317 -0
  54. data/_sass/iiifc-theme/bulma-base.scss +15 -0
  55. data/_sass/iiifc-theme/carousel.scss +47 -0
  56. data/_sass/iiifc-theme/fonts.scss +6 -0
  57. data/_sass/iiifc-theme/helpers.scss +43 -0
  58. data/_sass/iiifc-theme/syntax.scss +65 -0
  59. data/_sass/iiifc-theme/typography.scss +41 -0
  60. data/_sass/iiifc-theme/vars.scss +47 -0
  61. data/_sass/node_modules/.yarn-integrity +19 -0
  62. data/_sass/node_modules/bulma/CHANGELOG.md +1539 -0
  63. data/_sass/node_modules/bulma/LICENSE +21 -0
  64. data/_sass/node_modules/bulma/README.md +133 -0
  65. data/_sass/node_modules/bulma/bulma.sass +10 -0
  66. data/_sass/node_modules/bulma/css/bulma-rtl.css +11705 -0
  67. data/_sass/node_modules/bulma/css/bulma-rtl.css.map +1 -0
  68. data/_sass/node_modules/bulma/css/bulma-rtl.min.css +1 -0
  69. data/_sass/node_modules/bulma/css/bulma.css +11705 -0
  70. data/_sass/node_modules/bulma/css/bulma.css.map +1 -0
  71. data/_sass/node_modules/bulma/css/bulma.min.css +1 -0
  72. data/_sass/node_modules/bulma/package.json +56 -0
  73. data/_sass/node_modules/bulma/sass/base/_all.sass +6 -0
  74. data/_sass/node_modules/bulma/sass/base/animations.sass +5 -0
  75. data/_sass/node_modules/bulma/sass/base/generic.sass +145 -0
  76. data/_sass/node_modules/bulma/sass/base/helpers.sass +1 -0
  77. data/_sass/node_modules/bulma/sass/base/minireset.sass +79 -0
  78. data/_sass/node_modules/bulma/sass/components/_all.sass +15 -0
  79. data/_sass/node_modules/bulma/sass/components/breadcrumb.sass +77 -0
  80. data/_sass/node_modules/bulma/sass/components/card.sass +102 -0
  81. data/_sass/node_modules/bulma/sass/components/dropdown.sass +83 -0
  82. data/_sass/node_modules/bulma/sass/components/level.sass +79 -0
  83. data/_sass/node_modules/bulma/sass/components/media.sass +59 -0
  84. data/_sass/node_modules/bulma/sass/components/menu.sass +59 -0
  85. data/_sass/node_modules/bulma/sass/components/message.sass +101 -0
  86. data/_sass/node_modules/bulma/sass/components/modal.sass +117 -0
  87. data/_sass/node_modules/bulma/sass/components/navbar.sass +445 -0
  88. data/_sass/node_modules/bulma/sass/components/pagination.sass +158 -0
  89. data/_sass/node_modules/bulma/sass/components/panel.sass +121 -0
  90. data/_sass/node_modules/bulma/sass/components/tabs.sass +176 -0
  91. data/_sass/node_modules/bulma/sass/elements/_all.sass +16 -0
  92. data/_sass/node_modules/bulma/sass/elements/box.sass +26 -0
  93. data/_sass/node_modules/bulma/sass/elements/button.sass +345 -0
  94. data/_sass/node_modules/bulma/sass/elements/container.sass +29 -0
  95. data/_sass/node_modules/bulma/sass/elements/content.sass +157 -0
  96. data/_sass/node_modules/bulma/sass/elements/form.sass +1 -0
  97. data/_sass/node_modules/bulma/sass/elements/icon.sass +40 -0
  98. data/_sass/node_modules/bulma/sass/elements/image.sass +73 -0
  99. data/_sass/node_modules/bulma/sass/elements/notification.sass +52 -0
  100. data/_sass/node_modules/bulma/sass/elements/other.sass +41 -0
  101. data/_sass/node_modules/bulma/sass/elements/progress.sass +73 -0
  102. data/_sass/node_modules/bulma/sass/elements/table.sass +133 -0
  103. data/_sass/node_modules/bulma/sass/elements/tag.sass +140 -0
  104. data/_sass/node_modules/bulma/sass/elements/title.sass +72 -0
  105. data/_sass/node_modules/bulma/sass/form/_all.sass +9 -0
  106. data/_sass/node_modules/bulma/sass/form/checkbox-radio.sass +22 -0
  107. data/_sass/node_modules/bulma/sass/form/file.sass +182 -0
  108. data/_sass/node_modules/bulma/sass/form/input-textarea.sass +66 -0
  109. data/_sass/node_modules/bulma/sass/form/select.sass +87 -0
  110. data/_sass/node_modules/bulma/sass/form/shared.sass +60 -0
  111. data/_sass/node_modules/bulma/sass/form/tools.sass +215 -0
  112. data/_sass/node_modules/bulma/sass/grid/_all.sass +5 -0
  113. data/_sass/node_modules/bulma/sass/grid/columns.sass +513 -0
  114. data/_sass/node_modules/bulma/sass/grid/tiles.sass +36 -0
  115. data/_sass/node_modules/bulma/sass/helpers/_all.sass +12 -0
  116. data/_sass/node_modules/bulma/sass/helpers/color.sass +39 -0
  117. data/_sass/node_modules/bulma/sass/helpers/flexbox.sass +35 -0
  118. data/_sass/node_modules/bulma/sass/helpers/float.sass +10 -0
  119. data/_sass/node_modules/bulma/sass/helpers/other.sass +14 -0
  120. data/_sass/node_modules/bulma/sass/helpers/overflow.sass +2 -0
  121. data/_sass/node_modules/bulma/sass/helpers/position.sass +7 -0
  122. data/_sass/node_modules/bulma/sass/helpers/spacing.sass +31 -0
  123. data/_sass/node_modules/bulma/sass/helpers/typography.sass +100 -0
  124. data/_sass/node_modules/bulma/sass/helpers/visibility.sass +122 -0
  125. data/_sass/node_modules/bulma/sass/layout/_all.sass +6 -0
  126. data/_sass/node_modules/bulma/sass/layout/footer.sass +11 -0
  127. data/_sass/node_modules/bulma/sass/layout/hero.sass +149 -0
  128. data/_sass/node_modules/bulma/sass/layout/section.sass +15 -0
  129. data/_sass/node_modules/bulma/sass/utilities/_all.sass +9 -0
  130. data/_sass/node_modules/bulma/sass/utilities/animations.sass +1 -0
  131. data/_sass/node_modules/bulma/sass/utilities/controls.sass +49 -0
  132. data/_sass/node_modules/bulma/sass/utilities/derived-variables.sass +110 -0
  133. data/_sass/node_modules/bulma/sass/utilities/extends.sass +22 -0
  134. data/_sass/node_modules/bulma/sass/utilities/functions.sass +115 -0
  135. data/_sass/node_modules/bulma/sass/utilities/initial-variables.sass +78 -0
  136. data/_sass/node_modules/bulma/sass/utilities/mixins.sass +268 -0
  137. data/_sass/node_modules/jquery/AUTHORS.txt +331 -0
  138. data/_sass/node_modules/jquery/LICENSE.txt +20 -0
  139. data/_sass/node_modules/jquery/README.md +62 -0
  140. data/_sass/node_modules/jquery/bower.json +14 -0
  141. data/_sass/node_modules/jquery/dist/jquery.js +10881 -0
  142. data/_sass/node_modules/jquery/dist/jquery.min.js +2 -0
  143. data/_sass/node_modules/jquery/dist/jquery.min.map +1 -0
  144. data/_sass/node_modules/jquery/dist/jquery.slim.js +8782 -0
  145. data/_sass/node_modules/jquery/dist/jquery.slim.min.js +2 -0
  146. data/_sass/node_modules/jquery/dist/jquery.slim.min.map +1 -0
  147. data/_sass/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
  148. data/_sass/node_modules/jquery/external/sizzle/dist/sizzle.js +2478 -0
  149. data/_sass/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
  150. data/_sass/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
  151. data/_sass/node_modules/jquery/package.json +116 -0
  152. data/_sass/node_modules/jquery/src/ajax/jsonp.js +103 -0
  153. data/_sass/node_modules/jquery/src/ajax/load.js +77 -0
  154. data/_sass/node_modules/jquery/src/ajax/script.js +74 -0
  155. data/_sass/node_modules/jquery/src/ajax/var/location.js +5 -0
  156. data/_sass/node_modules/jquery/src/ajax/var/nonce.js +5 -0
  157. data/_sass/node_modules/jquery/src/ajax/var/rquery.js +5 -0
  158. data/_sass/node_modules/jquery/src/ajax/xhr.js +170 -0
  159. data/_sass/node_modules/jquery/src/ajax.js +876 -0
  160. data/_sass/node_modules/jquery/src/attributes/attr.js +141 -0
  161. data/_sass/node_modules/jquery/src/attributes/classes.js +186 -0
  162. data/_sass/node_modules/jquery/src/attributes/prop.js +143 -0
  163. data/_sass/node_modules/jquery/src/attributes/support.js +33 -0
  164. data/_sass/node_modules/jquery/src/attributes/val.js +191 -0
  165. data/_sass/node_modules/jquery/src/attributes.js +13 -0
  166. data/_sass/node_modules/jquery/src/callbacks.js +236 -0
  167. data/_sass/node_modules/jquery/src/core/DOMEval.js +43 -0
  168. data/_sass/node_modules/jquery/src/core/access.js +72 -0
  169. data/_sass/node_modules/jquery/src/core/camelCase.js +23 -0
  170. data/_sass/node_modules/jquery/src/core/init.js +129 -0
  171. data/_sass/node_modules/jquery/src/core/isAttached.js +26 -0
  172. data/_sass/node_modules/jquery/src/core/nodeName.js +13 -0
  173. data/_sass/node_modules/jquery/src/core/parseHTML.js +65 -0
  174. data/_sass/node_modules/jquery/src/core/parseXML.js +35 -0
  175. data/_sass/node_modules/jquery/src/core/ready-no-deferred.js +97 -0
  176. data/_sass/node_modules/jquery/src/core/ready.js +86 -0
  177. data/_sass/node_modules/jquery/src/core/readyException.js +13 -0
  178. data/_sass/node_modules/jquery/src/core/stripAndCollapse.js +14 -0
  179. data/_sass/node_modules/jquery/src/core/support.js +20 -0
  180. data/_sass/node_modules/jquery/src/core/toType.js +20 -0
  181. data/_sass/node_modules/jquery/src/core/var/rsingleTag.js +7 -0
  182. data/_sass/node_modules/jquery/src/core.js +400 -0
  183. data/_sass/node_modules/jquery/src/css/addGetHookIf.js +26 -0
  184. data/_sass/node_modules/jquery/src/css/adjustCSS.js +74 -0
  185. data/_sass/node_modules/jquery/src/css/curCSS.js +65 -0
  186. data/_sass/node_modules/jquery/src/css/finalPropName.js +42 -0
  187. data/_sass/node_modules/jquery/src/css/hiddenVisibleSelectors.js +15 -0
  188. data/_sass/node_modules/jquery/src/css/showHide.js +105 -0
  189. data/_sass/node_modules/jquery/src/css/support.js +152 -0
  190. data/_sass/node_modules/jquery/src/css/var/cssExpand.js +5 -0
  191. data/_sass/node_modules/jquery/src/css/var/getStyles.js +17 -0
  192. data/_sass/node_modules/jquery/src/css/var/isHiddenWithinTree.js +34 -0
  193. data/_sass/node_modules/jquery/src/css/var/rboxStyle.js +7 -0
  194. data/_sass/node_modules/jquery/src/css/var/rnumnonpx.js +7 -0
  195. data/_sass/node_modules/jquery/src/css/var/swap.js +26 -0
  196. data/_sass/node_modules/jquery/src/css.js +494 -0
  197. data/_sass/node_modules/jquery/src/data/Data.js +162 -0
  198. data/_sass/node_modules/jquery/src/data/var/acceptData.js +19 -0
  199. data/_sass/node_modules/jquery/src/data/var/dataPriv.js +7 -0
  200. data/_sass/node_modules/jquery/src/data/var/dataUser.js +7 -0
  201. data/_sass/node_modules/jquery/src/data.js +180 -0
  202. data/_sass/node_modules/jquery/src/deferred/exceptionHook.js +21 -0
  203. data/_sass/node_modules/jquery/src/deferred.js +399 -0
  204. data/_sass/node_modules/jquery/src/deprecated/ajax-event-alias.js +22 -0
  205. data/_sass/node_modules/jquery/src/deprecated/event.js +50 -0
  206. data/_sass/node_modules/jquery/src/deprecated.js +87 -0
  207. data/_sass/node_modules/jquery/src/dimensions.js +60 -0
  208. data/_sass/node_modules/jquery/src/effects/Tween.js +125 -0
  209. data/_sass/node_modules/jquery/src/effects/animatedSelector.js +15 -0
  210. data/_sass/node_modules/jquery/src/effects.js +702 -0
  211. data/_sass/node_modules/jquery/src/event/focusin.js +58 -0
  212. data/_sass/node_modules/jquery/src/event/support.js +11 -0
  213. data/_sass/node_modules/jquery/src/event/trigger.js +199 -0
  214. data/_sass/node_modules/jquery/src/event.js +874 -0
  215. data/_sass/node_modules/jquery/src/exports/amd.js +26 -0
  216. data/_sass/node_modules/jquery/src/exports/global.js +34 -0
  217. data/_sass/node_modules/jquery/src/jquery.js +41 -0
  218. data/_sass/node_modules/jquery/src/manipulation/_evalUrl.js +32 -0
  219. data/_sass/node_modules/jquery/src/manipulation/buildFragment.js +106 -0
  220. data/_sass/node_modules/jquery/src/manipulation/getAll.js +32 -0
  221. data/_sass/node_modules/jquery/src/manipulation/setGlobalEval.js +22 -0
  222. data/_sass/node_modules/jquery/src/manipulation/support.js +41 -0
  223. data/_sass/node_modules/jquery/src/manipulation/var/rscriptType.js +5 -0
  224. data/_sass/node_modules/jquery/src/manipulation/var/rtagName.js +8 -0
  225. data/_sass/node_modules/jquery/src/manipulation/wrapMap.js +30 -0
  226. data/_sass/node_modules/jquery/src/manipulation.js +480 -0
  227. data/_sass/node_modules/jquery/src/offset.js +232 -0
  228. data/_sass/node_modules/jquery/src/queue/delay.js +24 -0
  229. data/_sass/node_modules/jquery/src/queue.js +145 -0
  230. data/_sass/node_modules/jquery/src/selector-native.js +241 -0
  231. data/_sass/node_modules/jquery/src/selector-sizzle.js +19 -0
  232. data/_sass/node_modules/jquery/src/selector.js +3 -0
  233. data/_sass/node_modules/jquery/src/serialize.js +134 -0
  234. data/_sass/node_modules/jquery/src/traversing/findFilter.js +97 -0
  235. data/_sass/node_modules/jquery/src/traversing/var/dir.js +22 -0
  236. data/_sass/node_modules/jquery/src/traversing/var/rneedsContext.js +8 -0
  237. data/_sass/node_modules/jquery/src/traversing/var/siblings.js +17 -0
  238. data/_sass/node_modules/jquery/src/traversing.js +198 -0
  239. data/_sass/node_modules/jquery/src/var/ObjectFunctionString.js +7 -0
  240. data/_sass/node_modules/jquery/src/var/arr.js +5 -0
  241. data/_sass/node_modules/jquery/src/var/class2type.js +6 -0
  242. data/_sass/node_modules/jquery/src/var/document.js +5 -0
  243. data/_sass/node_modules/jquery/src/var/documentElement.js +7 -0
  244. data/_sass/node_modules/jquery/src/var/flat.js +16 -0
  245. data/_sass/node_modules/jquery/src/var/fnToString.js +7 -0
  246. data/_sass/node_modules/jquery/src/var/getProto.js +5 -0
  247. data/_sass/node_modules/jquery/src/var/hasOwn.js +7 -0
  248. data/_sass/node_modules/jquery/src/var/indexOf.js +7 -0
  249. data/_sass/node_modules/jquery/src/var/isFunction.js +17 -0
  250. data/_sass/node_modules/jquery/src/var/isWindow.js +8 -0
  251. data/_sass/node_modules/jquery/src/var/pnum.js +5 -0
  252. data/_sass/node_modules/jquery/src/var/push.js +7 -0
  253. data/_sass/node_modules/jquery/src/var/rcheckableType.js +5 -0
  254. data/_sass/node_modules/jquery/src/var/rcssNum.js +9 -0
  255. data/_sass/node_modules/jquery/src/var/rnothtmlwhite.js +8 -0
  256. data/_sass/node_modules/jquery/src/var/slice.js +7 -0
  257. data/_sass/node_modules/jquery/src/var/support.js +6 -0
  258. data/_sass/node_modules/jquery/src/var/toString.js +7 -0
  259. data/_sass/node_modules/jquery/src/wrap.js +78 -0
  260. data/_sass/node_modules/slick-carousel-no-fonts/.npmignore +2 -0
  261. data/_sass/node_modules/slick-carousel-no-fonts/CONTRIBUTING.markdown +35 -0
  262. data/_sass/node_modules/slick-carousel-no-fonts/ISSUE_TEMPLATE.md +50 -0
  263. data/_sass/node_modules/slick-carousel-no-fonts/LICENSE +20 -0
  264. data/_sass/node_modules/slick-carousel-no-fonts/Makefile +8 -0
  265. data/_sass/node_modules/slick-carousel-no-fonts/README.markdown +287 -0
  266. data/_sass/node_modules/slick-carousel-no-fonts/bower.json +32 -0
  267. data/_sass/node_modules/slick-carousel-no-fonts/component.json +18 -0
  268. data/_sass/node_modules/slick-carousel-no-fonts/index.html +163 -0
  269. data/_sass/node_modules/slick-carousel-no-fonts/package.json +50 -0
  270. data/_sass/node_modules/slick-carousel-no-fonts/slick/ajax-loader.gif +0 -0
  271. data/_sass/node_modules/slick-carousel-no-fonts/slick/config.rb +10 -0
  272. data/_sass/node_modules/slick-carousel-no-fonts/slick/fonts/slick.eot +0 -0
  273. data/_sass/node_modules/slick-carousel-no-fonts/slick/fonts/slick.svg +14 -0
  274. data/_sass/node_modules/slick-carousel-no-fonts/slick/fonts/slick.ttf +0 -0
  275. data/_sass/node_modules/slick-carousel-no-fonts/slick/fonts/slick.woff +0 -0
  276. data/_sass/node_modules/slick-carousel-no-fonts/slick/slick-theme.css +194 -0
  277. data/_sass/node_modules/slick-carousel-no-fonts/slick/slick-theme.less +158 -0
  278. data/_sass/node_modules/slick-carousel-no-fonts/slick/slick-theme.scss +186 -0
  279. data/_sass/node_modules/slick-carousel-no-fonts/slick/slick.css +117 -0
  280. data/_sass/node_modules/slick-carousel-no-fonts/slick/slick.js +2936 -0
  281. data/_sass/node_modules/slick-carousel-no-fonts/slick/slick.less +98 -0
  282. data/_sass/node_modules/slick-carousel-no-fonts/slick/slick.min.js +18 -0
  283. data/_sass/node_modules/slick-carousel-no-fonts/slick/slick.scss +98 -0
  284. data/_sass/node_modules/slick-carousel-no-fonts/slick.jquery.json +34 -0
  285. data/assets/android-chrome-192x192.png +0 -0
  286. data/assets/android-chrome-512x512.png +0 -0
  287. data/assets/apple-touch-icon.png +0 -0
  288. data/assets/browserconfig.xml +9 -0
  289. data/assets/css/ajax-loader.gif +0 -0
  290. data/assets/css/style.scss +4 -0
  291. data/assets/favicon-16x16.png +0 -0
  292. data/assets/favicon-32x32.png +0 -0
  293. data/assets/favicon.ico +0 -0
  294. data/assets/images/defaults/blank-image.png +0 -0
  295. data/assets/images/defaults/just-a-square.png +0 -0
  296. data/assets/images/heroes/event.png +0 -0
  297. data/assets/images/heroes/event.webp +0 -0
  298. data/assets/images/heroes/event@2x.png +0 -0
  299. data/assets/images/heroes/event@2x.webp +0 -0
  300. data/assets/images/heroes/event@3x.png +0 -0
  301. data/assets/images/heroes/event@3x.webp +0 -0
  302. data/assets/images/heroes/event_2.png +0 -0
  303. data/assets/images/heroes/event_2.webp +0 -0
  304. data/assets/images/heroes/event_2@2x.png +0 -0
  305. data/assets/images/heroes/event_2@2x.webp +0 -0
  306. data/assets/images/heroes/hero-1.png +0 -0
  307. data/assets/images/heroes/hero-1.webp +0 -0
  308. data/assets/images/heroes/hero-1@2x.png +0 -0
  309. data/assets/images/heroes/hero-1@2x.webp +0 -0
  310. data/assets/images/heroes/hero-2.png +0 -0
  311. data/assets/images/heroes/hero-2.webp +0 -0
  312. data/assets/images/heroes/hero-2@2x.png +0 -0
  313. data/assets/images/heroes/hero-2@2x.webp +0 -0
  314. data/assets/images/heroes/hero-2@3x.png +0 -0
  315. data/assets/images/heroes/hero-2@3x.webp +0 -0
  316. data/assets/images/heroes/hero-3.png +0 -0
  317. data/assets/images/heroes/hero-3.webp +0 -0
  318. data/assets/images/heroes/hero-3@2x.png +0 -0
  319. data/assets/images/heroes/hero-3@2x.webp +0 -0
  320. data/assets/images/heroes/hero-3@3x.png +0 -0
  321. data/assets/images/heroes/hero-3@3x.webp +0 -0
  322. data/assets/images/heroes/smithsonian_cookbook.jpg +0 -0
  323. data/assets/images/heroes/smithsonian_cookbook.webp +0 -0
  324. data/assets/images/icons/auth-group.png +0 -0
  325. data/assets/images/icons/auth-group.webp +0 -0
  326. data/assets/images/icons/auth-group@2x.png +0 -0
  327. data/assets/images/icons/auth-group@2x.webp +0 -0
  328. data/assets/images/icons/auth-group@3x.png +0 -0
  329. data/assets/images/icons/auth-group@3x.webp +0 -0
  330. data/assets/images/icons/calendar.png +0 -0
  331. data/assets/images/icons/calendar.webp +0 -0
  332. data/assets/images/icons/calendar@2x.png +0 -0
  333. data/assets/images/icons/calendar@2x.webp +0 -0
  334. data/assets/images/icons/calendar@3x.png +0 -0
  335. data/assets/images/icons/calendar@3x.webp +0 -0
  336. data/assets/images/icons/developer.png +0 -0
  337. data/assets/images/icons/developer.webp +0 -0
  338. data/assets/images/icons/developer@2x.png +0 -0
  339. data/assets/images/icons/developer@2x.webp +0 -0
  340. data/assets/images/icons/developer@3x.png +0 -0
  341. data/assets/images/icons/developer@3x.webp +0 -0
  342. data/assets/images/icons/image.png +0 -0
  343. data/assets/images/icons/image.webp +0 -0
  344. data/assets/images/icons/image@2x.png +0 -0
  345. data/assets/images/icons/image@2x.webp +0 -0
  346. data/assets/images/icons/image@3x.png +0 -0
  347. data/assets/images/icons/image@3x.webp +0 -0
  348. data/assets/images/icons/info.png +0 -0
  349. data/assets/images/icons/info.webp +0 -0
  350. data/assets/images/icons/info@2x.png +0 -0
  351. data/assets/images/icons/info@2x.webp +0 -0
  352. data/assets/images/icons/info@3x.png +0 -0
  353. data/assets/images/icons/info@3x.webp +0 -0
  354. data/assets/images/icons/leader.png +0 -0
  355. data/assets/images/icons/leader.webp +0 -0
  356. data/assets/images/icons/leader@2x.png +0 -0
  357. data/assets/images/icons/leader@2x.webp +0 -0
  358. data/assets/images/icons/leader@3x.png +0 -0
  359. data/assets/images/icons/leader@3x.webp +0 -0
  360. data/assets/images/icons/left-arrow.png +0 -0
  361. data/assets/images/icons/left-arrow.webp +0 -0
  362. data/assets/images/icons/left-arrow@2x.png +0 -0
  363. data/assets/images/icons/left-arrow@2x.webp +0 -0
  364. data/assets/images/icons/left-arrow@3x.png +0 -0
  365. data/assets/images/icons/left-arrow@3x.webp +0 -0
  366. data/assets/images/icons/link-group.png +0 -0
  367. data/assets/images/icons/link-group.webp +0 -0
  368. data/assets/images/icons/link-group@2x.png +0 -0
  369. data/assets/images/icons/link-group@2x.webp +0 -0
  370. data/assets/images/icons/link-group@3x.png +0 -0
  371. data/assets/images/icons/link-group@3x.webp +0 -0
  372. data/assets/images/icons/link.png +0 -0
  373. data/assets/images/icons/link.webp +0 -0
  374. data/assets/images/icons/location-info.png +0 -0
  375. data/assets/images/icons/location-info.webp +0 -0
  376. data/assets/images/icons/location-info@2x.png +0 -0
  377. data/assets/images/icons/location-info@2x.webp +0 -0
  378. data/assets/images/icons/location-info@3x.png +0 -0
  379. data/assets/images/icons/location-info@3x.webp +0 -0
  380. data/assets/images/icons/map-pin.png +0 -0
  381. data/assets/images/icons/map-pin.webp +0 -0
  382. data/assets/images/icons/map-pin@2x.png +0 -0
  383. data/assets/images/icons/map-pin@2x.webp +0 -0
  384. data/assets/images/icons/map-pin@3x.png +0 -0
  385. data/assets/images/icons/map-pin@3x.webp +0 -0
  386. data/assets/images/icons/pagination-dots.png +0 -0
  387. data/assets/images/icons/pagination-dots.webp +0 -0
  388. data/assets/images/icons/pagination-dots@2x.png +0 -0
  389. data/assets/images/icons/pagination-dots@2x.webp +0 -0
  390. data/assets/images/icons/pagination-dots@3x.png +0 -0
  391. data/assets/images/icons/pagination-dots@3x.webp +0 -0
  392. data/assets/images/icons/quote.png +0 -0
  393. data/assets/images/icons/quote.webp +0 -0
  394. data/assets/images/icons/quote@2x.png +0 -0
  395. data/assets/images/icons/quote@2x.webp +0 -0
  396. data/assets/images/icons/quote@3x.png +0 -0
  397. data/assets/images/icons/quote@3x.webp +0 -0
  398. data/assets/images/icons/research.png +0 -0
  399. data/assets/images/icons/research.webp +0 -0
  400. data/assets/images/icons/research@2x.png +0 -0
  401. data/assets/images/icons/research@2x.webp +0 -0
  402. data/assets/images/icons/research@3x.png +0 -0
  403. data/assets/images/icons/research@3x.webp +0 -0
  404. data/assets/images/icons/right-arrow.png +0 -0
  405. data/assets/images/icons/right-arrow.webp +0 -0
  406. data/assets/images/icons/right-arrow@2x.png +0 -0
  407. data/assets/images/icons/right-arrow@2x.webp +0 -0
  408. data/assets/images/icons/right-arrow@3x.png +0 -0
  409. data/assets/images/icons/right-arrow@3x.webp +0 -0
  410. data/assets/images/icons/search-group.png +0 -0
  411. data/assets/images/icons/search-group.webp +0 -0
  412. data/assets/images/icons/search-group@2x.png +0 -0
  413. data/assets/images/icons/search-group@2x.webp +0 -0
  414. data/assets/images/icons/search-group@3x.png +0 -0
  415. data/assets/images/icons/search-group@3x.webp +0 -0
  416. data/assets/images/icons/shape.png +0 -0
  417. data/assets/images/icons/shape.webp +0 -0
  418. data/assets/images/icons/shape@2x.png +0 -0
  419. data/assets/images/icons/shape@2x.webp +0 -0
  420. data/assets/images/icons/shape@3x.png +0 -0
  421. data/assets/images/icons/shape@3x.webp +0 -0
  422. data/assets/images/logos/logo-blue.webp +0 -0
  423. data/assets/images/logos/logo-blue@2x.webp +0 -0
  424. data/assets/images/logos/logo-blue@3x.webp +0 -0
  425. data/assets/images/logos/logo-sm.png +0 -0
  426. data/assets/images/logos/logo-white.webp +0 -0
  427. data/assets/images/logos/logo-white@2x.webp +0 -0
  428. data/assets/images/logos/logo-white@3x.webp +0 -0
  429. data/assets/images/zeplin/delivery@3x.jpg +0 -0
  430. data/assets/images/zeplin/delivery@3x.png +0 -0
  431. data/assets/images/zeplin/delivery@3x.webp +0 -0
  432. data/assets/images/zeplin/jpg/delivery.jpg +0 -0
  433. data/assets/images/zeplin/jpg/delivery@2x.jpg +0 -0
  434. data/assets/images/zeplin/jpg/event.jpg +0 -0
  435. data/assets/images/zeplin/jpg/event@2x.jpg +0 -0
  436. data/assets/images/zeplin/jpg/event@3x.jpg +0 -0
  437. data/assets/images/zeplin/jpg/hero-1.jpg +0 -0
  438. data/assets/images/zeplin/jpg/hero-1@2x.jpg +0 -0
  439. data/assets/images/zeplin/jpg/hero-1@3x.jpg +0 -0
  440. data/assets/images/zeplin/jpg/hero-2.jpg +0 -0
  441. data/assets/images/zeplin/jpg/hero-2@2x.jpg +0 -0
  442. data/assets/images/zeplin/jpg/hero-2@3x.jpg +0 -0
  443. data/assets/images/zeplin/jpg/hero-3.jpg +0 -0
  444. data/assets/images/zeplin/jpg/hero-3@2x.jpg +0 -0
  445. data/assets/images/zeplin/jpg/hero-3@3x.jpg +0 -0
  446. data/assets/images/zeplin/jpg/logo-blue.jpg +0 -0
  447. data/assets/images/zeplin/jpg/logo-blue@2x.jpg +0 -0
  448. data/assets/images/zeplin/jpg/logo-blue@3x.jpg +0 -0
  449. data/assets/images/zeplin/jpg/logo-white.jpg +0 -0
  450. data/assets/images/zeplin/jpg/logo-white@2x.jpg +0 -0
  451. data/assets/images/zeplin/jpg/logo-white@3x.jpg +0 -0
  452. data/assets/images/zeplin/jpg/silos-1.jpg +0 -0
  453. data/assets/images/zeplin/jpg/silos-1@2x.jpg +0 -0
  454. data/assets/images/zeplin/jpg/silos-1@3x.jpg +0 -0
  455. data/assets/images/zeplin/jpg/silos-2.jpg +0 -0
  456. data/assets/images/zeplin/jpg/silos-2@2x.jpg +0 -0
  457. data/assets/images/zeplin/jpg/silos-2@3x.jpg +0 -0
  458. data/assets/images/zeplin/jpg/silos-3.jpg +0 -0
  459. data/assets/images/zeplin/jpg/silos-3@2x.jpg +0 -0
  460. data/assets/images/zeplin/jpg/silos-3@3x.jpg +0 -0
  461. data/assets/images/zeplin/png/delivery.png +0 -0
  462. data/assets/images/zeplin/png/delivery@2x.png +0 -0
  463. data/assets/images/zeplin/png/event.png +0 -0
  464. data/assets/images/zeplin/png/event@2x.png +0 -0
  465. data/assets/images/zeplin/png/event@3x.png +0 -0
  466. data/assets/images/zeplin/png/group-11-copy.png +0 -0
  467. data/assets/images/zeplin/png/group-11-copy@2x.png +0 -0
  468. data/assets/images/zeplin/png/group-11-copy@3x.png +0 -0
  469. data/assets/images/zeplin/png/group-19.png +0 -0
  470. data/assets/images/zeplin/png/group-19@2x.png +0 -0
  471. data/assets/images/zeplin/png/group-19@3x.png +0 -0
  472. data/assets/images/zeplin/png/group-24.png +0 -0
  473. data/assets/images/zeplin/png/group-24@2x.png +0 -0
  474. data/assets/images/zeplin/png/group-24@3x.png +0 -0
  475. data/assets/images/zeplin/png/hero-1.png +0 -0
  476. data/assets/images/zeplin/png/hero-1@2x.png +0 -0
  477. data/assets/images/zeplin/png/hero-2.png +0 -0
  478. data/assets/images/zeplin/png/hero-2@2x.png +0 -0
  479. data/assets/images/zeplin/png/hero-2@3x.png +0 -0
  480. data/assets/images/zeplin/png/hero-3.png +0 -0
  481. data/assets/images/zeplin/png/hero-3@2x.png +0 -0
  482. data/assets/images/zeplin/png/hero-3@3x.png +0 -0
  483. data/assets/images/zeplin/png/invalid-name.png +0 -0
  484. data/assets/images/zeplin/png/invalid-name@2x.png +0 -0
  485. data/assets/images/zeplin/png/invalid-name@3x.png +0 -0
  486. data/assets/images/zeplin/png/left-arrow.png +0 -0
  487. data/assets/images/zeplin/png/left-arrow@2x.png +0 -0
  488. data/assets/images/zeplin/png/left-arrow@3x.png +0 -0
  489. data/assets/images/zeplin/png/logo-blue.png +0 -0
  490. data/assets/images/zeplin/png/logo-blue@2x.png +0 -0
  491. data/assets/images/zeplin/png/logo-blue@3x.png +0 -0
  492. data/assets/images/zeplin/png/logo-white.png +0 -0
  493. data/assets/images/zeplin/png/logo-white@2x.png +0 -0
  494. data/assets/images/zeplin/png/logo-white@3x.png +0 -0
  495. data/assets/images/zeplin/png/noun-calendar-3896118.png +0 -0
  496. data/assets/images/zeplin/png/noun-calendar-3896118@2x.png +0 -0
  497. data/assets/images/zeplin/png/noun-calendar-3896118@3x.png +0 -0
  498. data/assets/images/zeplin/png/noun-developer-2549191.png +0 -0
  499. data/assets/images/zeplin/png/noun-developer-2549191@2x.png +0 -0
  500. data/assets/images/zeplin/png/noun-developer-2549191@3x.png +0 -0
  501. data/assets/images/zeplin/png/noun-image-3888103.png +0 -0
  502. data/assets/images/zeplin/png/noun-image-3888103@2x.png +0 -0
  503. data/assets/images/zeplin/png/noun-image-3888103@3x.png +0 -0
  504. data/assets/images/zeplin/png/noun-info-1585217.png +0 -0
  505. data/assets/images/zeplin/png/noun-info-1585217@2x.png +0 -0
  506. data/assets/images/zeplin/png/noun-info-1585217@3x.png +0 -0
  507. data/assets/images/zeplin/png/noun-leader-1478173.png +0 -0
  508. data/assets/images/zeplin/png/noun-leader-1478173@2x.png +0 -0
  509. data/assets/images/zeplin/png/noun-leader-1478173@3x.png +0 -0
  510. data/assets/images/zeplin/png/noun-location-info-261887.png +0 -0
  511. data/assets/images/zeplin/png/noun-location-info-261887@2x.png +0 -0
  512. data/assets/images/zeplin/png/noun-location-info-261887@3x.png +0 -0
  513. data/assets/images/zeplin/png/noun-map-pin-800374.png +0 -0
  514. data/assets/images/zeplin/png/noun-map-pin-800374@2x.png +0 -0
  515. data/assets/images/zeplin/png/noun-map-pin-800374@3x.png +0 -0
  516. data/assets/images/zeplin/png/noun-research-1796671.png +0 -0
  517. data/assets/images/zeplin/png/noun-research-1796671@2x.png +0 -0
  518. data/assets/images/zeplin/png/noun-research-1796671@3x.png +0 -0
  519. data/assets/images/zeplin/png/pagination-dots.png +0 -0
  520. data/assets/images/zeplin/png/pagination-dots@2x.png +0 -0
  521. data/assets/images/zeplin/png/pagination-dots@3x.png +0 -0
  522. data/assets/images/zeplin/png/right-arrow.png +0 -0
  523. data/assets/images/zeplin/png/right-arrow@2x.png +0 -0
  524. data/assets/images/zeplin/png/right-arrow@3x.png +0 -0
  525. data/assets/images/zeplin/png/shape.png +0 -0
  526. data/assets/images/zeplin/png/shape@2x.png +0 -0
  527. data/assets/images/zeplin/png/shape@3x.png +0 -0
  528. data/assets/images/zeplin/png/silos-1.png +0 -0
  529. data/assets/images/zeplin/png/silos-1@2x.png +0 -0
  530. data/assets/images/zeplin/png/silos-1@3x.png +0 -0
  531. data/assets/images/zeplin/png/silos-2.png +0 -0
  532. data/assets/images/zeplin/png/silos-2@2x.png +0 -0
  533. data/assets/images/zeplin/png/silos-2@3x.png +0 -0
  534. data/assets/images/zeplin/png/silos-3.png +0 -0
  535. data/assets/images/zeplin/png/silos-3@2x.png +0 -0
  536. data/assets/images/zeplin/png/silos-3@3x.png +0 -0
  537. data/assets/images/zeplin/svg/group-11-copy.svg +20 -0
  538. data/assets/images/zeplin/svg/group-19.svg +10 -0
  539. data/assets/images/zeplin/svg/group-24.svg +12 -0
  540. data/assets/images/zeplin/svg/invalid-name.svg +7 -0
  541. data/assets/images/zeplin/svg/left-arrow.svg +9 -0
  542. data/assets/images/zeplin/svg/noun-calendar-3896118.svg +9 -0
  543. data/assets/images/zeplin/svg/noun-developer-2549191.svg +11 -0
  544. data/assets/images/zeplin/svg/noun-image-3888103.svg +10 -0
  545. data/assets/images/zeplin/svg/noun-info-1585217.svg +9 -0
  546. data/assets/images/zeplin/svg/noun-leader-1478173.svg +12 -0
  547. data/assets/images/zeplin/svg/noun-location-info-261887.svg +12 -0
  548. data/assets/images/zeplin/svg/noun-map-pin-800374.svg +9 -0
  549. data/assets/images/zeplin/svg/noun-research-1796671.svg +13 -0
  550. data/assets/images/zeplin/svg/pagination-dots.svg +11 -0
  551. data/assets/images/zeplin/svg/right-arrow.svg +9 -0
  552. data/assets/images/zeplin/svg/shape.svg +7 -0
  553. data/assets/images/zeplin/webp/delivery.webp +0 -0
  554. data/assets/images/zeplin/webp/delivery@2x.webp +0 -0
  555. data/assets/images/zeplin/webp/event.webp +0 -0
  556. data/assets/images/zeplin/webp/event@2x.webp +0 -0
  557. data/assets/images/zeplin/webp/event@3x.webp +0 -0
  558. data/assets/images/zeplin/webp/group-11-copy.webp +0 -0
  559. data/assets/images/zeplin/webp/group-11-copy@2x.webp +0 -0
  560. data/assets/images/zeplin/webp/group-11-copy@3x.webp +0 -0
  561. data/assets/images/zeplin/webp/group-19.webp +0 -0
  562. data/assets/images/zeplin/webp/group-19@2x.webp +0 -0
  563. data/assets/images/zeplin/webp/group-19@3x.webp +0 -0
  564. data/assets/images/zeplin/webp/group-24.webp +0 -0
  565. data/assets/images/zeplin/webp/group-24@2x.webp +0 -0
  566. data/assets/images/zeplin/webp/group-24@3x.webp +0 -0
  567. data/assets/images/zeplin/webp/hero-1.webp +0 -0
  568. data/assets/images/zeplin/webp/hero-1@2x.webp +0 -0
  569. data/assets/images/zeplin/webp/hero-2.webp +0 -0
  570. data/assets/images/zeplin/webp/hero-2@2x.webp +0 -0
  571. data/assets/images/zeplin/webp/hero-2@3x.webp +0 -0
  572. data/assets/images/zeplin/webp/hero-3.webp +0 -0
  573. data/assets/images/zeplin/webp/hero-3@2x.webp +0 -0
  574. data/assets/images/zeplin/webp/hero-3@3x.webp +0 -0
  575. data/assets/images/zeplin/webp/invalid-name.webp +0 -0
  576. data/assets/images/zeplin/webp/invalid-name@2x.webp +0 -0
  577. data/assets/images/zeplin/webp/invalid-name@3x.webp +0 -0
  578. data/assets/images/zeplin/webp/left-arrow.webp +0 -0
  579. data/assets/images/zeplin/webp/left-arrow@2x.webp +0 -0
  580. data/assets/images/zeplin/webp/left-arrow@3x.webp +0 -0
  581. data/assets/images/zeplin/webp/logo-blue.webp +0 -0
  582. data/assets/images/zeplin/webp/logo-blue@2x.webp +0 -0
  583. data/assets/images/zeplin/webp/logo-blue@3x.webp +0 -0
  584. data/assets/images/zeplin/webp/logo-white.webp +0 -0
  585. data/assets/images/zeplin/webp/logo-white@2x.webp +0 -0
  586. data/assets/images/zeplin/webp/logo-white@3x.webp +0 -0
  587. data/assets/images/zeplin/webp/noun-calendar-3896118.webp +0 -0
  588. data/assets/images/zeplin/webp/noun-calendar-3896118@2x.webp +0 -0
  589. data/assets/images/zeplin/webp/noun-calendar-3896118@3x.webp +0 -0
  590. data/assets/images/zeplin/webp/noun-developer-2549191.webp +0 -0
  591. data/assets/images/zeplin/webp/noun-developer-2549191@2x.webp +0 -0
  592. data/assets/images/zeplin/webp/noun-developer-2549191@3x.webp +0 -0
  593. data/assets/images/zeplin/webp/noun-image-3888103.webp +0 -0
  594. data/assets/images/zeplin/webp/noun-image-3888103@2x.webp +0 -0
  595. data/assets/images/zeplin/webp/noun-image-3888103@3x.webp +0 -0
  596. data/assets/images/zeplin/webp/noun-info-1585217.webp +0 -0
  597. data/assets/images/zeplin/webp/noun-info-1585217@2x.webp +0 -0
  598. data/assets/images/zeplin/webp/noun-info-1585217@3x.webp +0 -0
  599. data/assets/images/zeplin/webp/noun-leader-1478173.webp +0 -0
  600. data/assets/images/zeplin/webp/noun-leader-1478173@2x.webp +0 -0
  601. data/assets/images/zeplin/webp/noun-leader-1478173@3x.webp +0 -0
  602. data/assets/images/zeplin/webp/noun-location-info-261887.webp +0 -0
  603. data/assets/images/zeplin/webp/noun-location-info-261887@2x.webp +0 -0
  604. data/assets/images/zeplin/webp/noun-location-info-261887@3x.webp +0 -0
  605. data/assets/images/zeplin/webp/noun-map-pin-800374.webp +0 -0
  606. data/assets/images/zeplin/webp/noun-map-pin-800374@2x.webp +0 -0
  607. data/assets/images/zeplin/webp/noun-map-pin-800374@3x.webp +0 -0
  608. data/assets/images/zeplin/webp/noun-research-1796671.webp +0 -0
  609. data/assets/images/zeplin/webp/noun-research-1796671@2x.webp +0 -0
  610. data/assets/images/zeplin/webp/noun-research-1796671@3x.webp +0 -0
  611. data/assets/images/zeplin/webp/pagination-dots.webp +0 -0
  612. data/assets/images/zeplin/webp/pagination-dots@2x.webp +0 -0
  613. data/assets/images/zeplin/webp/pagination-dots@3x.webp +0 -0
  614. data/assets/images/zeplin/webp/right-arrow.webp +0 -0
  615. data/assets/images/zeplin/webp/right-arrow@2x.webp +0 -0
  616. data/assets/images/zeplin/webp/right-arrow@3x.webp +0 -0
  617. data/assets/images/zeplin/webp/shape.webp +0 -0
  618. data/assets/images/zeplin/webp/shape@2x.webp +0 -0
  619. data/assets/images/zeplin/webp/shape@3x.webp +0 -0
  620. data/assets/images/zeplin/webp/silos-1.webp +0 -0
  621. data/assets/images/zeplin/webp/silos-1@2x.webp +0 -0
  622. data/assets/images/zeplin/webp/silos-1@3x.webp +0 -0
  623. data/assets/images/zeplin/webp/silos-2.webp +0 -0
  624. data/assets/images/zeplin/webp/silos-2@2x.webp +0 -0
  625. data/assets/images/zeplin/webp/silos-2@3x.webp +0 -0
  626. data/assets/images/zeplin/webp/silos-3.webp +0 -0
  627. data/assets/images/zeplin/webp/silos-3@2x.webp +0 -0
  628. data/assets/images/zeplin/webp/silos-3@3x.webp +0 -0
  629. data/assets/js/carouselInit.js +8 -0
  630. data/assets/js/copyCodeBlock.js +15 -0
  631. data/assets/js/deleteButton.js +9 -0
  632. data/assets/js/tabSwitch.js +24 -0
  633. data/assets/mstile-150x150.png +0 -0
  634. data/assets/safari-pinned-tab.svg +61 -0
  635. data/assets/site.webmanifest +19 -0
  636. data/lib/iiifc.rb +10 -0
  637. data/lib/tasks/build.rake +41 -0
  638. data/lib/tasks/test.rake +59 -0
  639. metadata +786 -0
@@ -0,0 +1,702 @@
1
+ define( [
2
+ "./core",
3
+ "./core/camelCase",
4
+ "./var/document",
5
+ "./var/isFunction",
6
+ "./var/rcssNum",
7
+ "./var/rnothtmlwhite",
8
+ "./css/var/cssExpand",
9
+ "./css/var/isHiddenWithinTree",
10
+ "./css/adjustCSS",
11
+ "./data/var/dataPriv",
12
+ "./css/showHide",
13
+
14
+ "./core/init",
15
+ "./queue",
16
+ "./deferred",
17
+ "./traversing",
18
+ "./manipulation",
19
+ "./css",
20
+ "./effects/Tween"
21
+ ], function( jQuery, camelCase, document, isFunction, rcssNum, rnothtmlwhite, cssExpand,
22
+ isHiddenWithinTree, adjustCSS, dataPriv, showHide ) {
23
+
24
+ "use strict";
25
+
26
+ var
27
+ fxNow, inProgress,
28
+ rfxtypes = /^(?:toggle|show|hide)$/,
29
+ rrun = /queueHooks$/;
30
+
31
+ function schedule() {
32
+ if ( inProgress ) {
33
+ if ( document.hidden === false && window.requestAnimationFrame ) {
34
+ window.requestAnimationFrame( schedule );
35
+ } else {
36
+ window.setTimeout( schedule, jQuery.fx.interval );
37
+ }
38
+
39
+ jQuery.fx.tick();
40
+ }
41
+ }
42
+
43
+ // Animations created synchronously will run synchronously
44
+ function createFxNow() {
45
+ window.setTimeout( function() {
46
+ fxNow = undefined;
47
+ } );
48
+ return ( fxNow = Date.now() );
49
+ }
50
+
51
+ // Generate parameters to create a standard animation
52
+ function genFx( type, includeWidth ) {
53
+ var which,
54
+ i = 0,
55
+ attrs = { height: type };
56
+
57
+ // If we include width, step value is 1 to do all cssExpand values,
58
+ // otherwise step value is 2 to skip over Left and Right
59
+ includeWidth = includeWidth ? 1 : 0;
60
+ for ( ; i < 4; i += 2 - includeWidth ) {
61
+ which = cssExpand[ i ];
62
+ attrs[ "margin" + which ] = attrs[ "padding" + which ] = type;
63
+ }
64
+
65
+ if ( includeWidth ) {
66
+ attrs.opacity = attrs.width = type;
67
+ }
68
+
69
+ return attrs;
70
+ }
71
+
72
+ function createTween( value, prop, animation ) {
73
+ var tween,
74
+ collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ),
75
+ index = 0,
76
+ length = collection.length;
77
+ for ( ; index < length; index++ ) {
78
+ if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) {
79
+
80
+ // We're done with this property
81
+ return tween;
82
+ }
83
+ }
84
+ }
85
+
86
+ function defaultPrefilter( elem, props, opts ) {
87
+ var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,
88
+ isBox = "width" in props || "height" in props,
89
+ anim = this,
90
+ orig = {},
91
+ style = elem.style,
92
+ hidden = elem.nodeType && isHiddenWithinTree( elem ),
93
+ dataShow = dataPriv.get( elem, "fxshow" );
94
+
95
+ // Queue-skipping animations hijack the fx hooks
96
+ if ( !opts.queue ) {
97
+ hooks = jQuery._queueHooks( elem, "fx" );
98
+ if ( hooks.unqueued == null ) {
99
+ hooks.unqueued = 0;
100
+ oldfire = hooks.empty.fire;
101
+ hooks.empty.fire = function() {
102
+ if ( !hooks.unqueued ) {
103
+ oldfire();
104
+ }
105
+ };
106
+ }
107
+ hooks.unqueued++;
108
+
109
+ anim.always( function() {
110
+
111
+ // Ensure the complete handler is called before this completes
112
+ anim.always( function() {
113
+ hooks.unqueued--;
114
+ if ( !jQuery.queue( elem, "fx" ).length ) {
115
+ hooks.empty.fire();
116
+ }
117
+ } );
118
+ } );
119
+ }
120
+
121
+ // Detect show/hide animations
122
+ for ( prop in props ) {
123
+ value = props[ prop ];
124
+ if ( rfxtypes.test( value ) ) {
125
+ delete props[ prop ];
126
+ toggle = toggle || value === "toggle";
127
+ if ( value === ( hidden ? "hide" : "show" ) ) {
128
+
129
+ // Pretend to be hidden if this is a "show" and
130
+ // there is still data from a stopped show/hide
131
+ if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) {
132
+ hidden = true;
133
+
134
+ // Ignore all other no-op show/hide data
135
+ } else {
136
+ continue;
137
+ }
138
+ }
139
+ orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );
140
+ }
141
+ }
142
+
143
+ // Bail out if this is a no-op like .hide().hide()
144
+ propTween = !jQuery.isEmptyObject( props );
145
+ if ( !propTween && jQuery.isEmptyObject( orig ) ) {
146
+ return;
147
+ }
148
+
149
+ // Restrict "overflow" and "display" styles during box animations
150
+ if ( isBox && elem.nodeType === 1 ) {
151
+
152
+ // Support: IE <=9 - 11, Edge 12 - 15
153
+ // Record all 3 overflow attributes because IE does not infer the shorthand
154
+ // from identically-valued overflowX and overflowY and Edge just mirrors
155
+ // the overflowX value there.
156
+ opts.overflow = [ style.overflow, style.overflowX, style.overflowY ];
157
+
158
+ // Identify a display type, preferring old show/hide data over the CSS cascade
159
+ restoreDisplay = dataShow && dataShow.display;
160
+ if ( restoreDisplay == null ) {
161
+ restoreDisplay = dataPriv.get( elem, "display" );
162
+ }
163
+ display = jQuery.css( elem, "display" );
164
+ if ( display === "none" ) {
165
+ if ( restoreDisplay ) {
166
+ display = restoreDisplay;
167
+ } else {
168
+
169
+ // Get nonempty value(s) by temporarily forcing visibility
170
+ showHide( [ elem ], true );
171
+ restoreDisplay = elem.style.display || restoreDisplay;
172
+ display = jQuery.css( elem, "display" );
173
+ showHide( [ elem ] );
174
+ }
175
+ }
176
+
177
+ // Animate inline elements as inline-block
178
+ if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) {
179
+ if ( jQuery.css( elem, "float" ) === "none" ) {
180
+
181
+ // Restore the original display value at the end of pure show/hide animations
182
+ if ( !propTween ) {
183
+ anim.done( function() {
184
+ style.display = restoreDisplay;
185
+ } );
186
+ if ( restoreDisplay == null ) {
187
+ display = style.display;
188
+ restoreDisplay = display === "none" ? "" : display;
189
+ }
190
+ }
191
+ style.display = "inline-block";
192
+ }
193
+ }
194
+ }
195
+
196
+ if ( opts.overflow ) {
197
+ style.overflow = "hidden";
198
+ anim.always( function() {
199
+ style.overflow = opts.overflow[ 0 ];
200
+ style.overflowX = opts.overflow[ 1 ];
201
+ style.overflowY = opts.overflow[ 2 ];
202
+ } );
203
+ }
204
+
205
+ // Implement show/hide animations
206
+ propTween = false;
207
+ for ( prop in orig ) {
208
+
209
+ // General show/hide setup for this element animation
210
+ if ( !propTween ) {
211
+ if ( dataShow ) {
212
+ if ( "hidden" in dataShow ) {
213
+ hidden = dataShow.hidden;
214
+ }
215
+ } else {
216
+ dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } );
217
+ }
218
+
219
+ // Store hidden/visible for toggle so `.stop().toggle()` "reverses"
220
+ if ( toggle ) {
221
+ dataShow.hidden = !hidden;
222
+ }
223
+
224
+ // Show elements before animating them
225
+ if ( hidden ) {
226
+ showHide( [ elem ], true );
227
+ }
228
+
229
+ /* eslint-disable no-loop-func */
230
+
231
+ anim.done( function() {
232
+
233
+ /* eslint-enable no-loop-func */
234
+
235
+ // The final step of a "hide" animation is actually hiding the element
236
+ if ( !hidden ) {
237
+ showHide( [ elem ] );
238
+ }
239
+ dataPriv.remove( elem, "fxshow" );
240
+ for ( prop in orig ) {
241
+ jQuery.style( elem, prop, orig[ prop ] );
242
+ }
243
+ } );
244
+ }
245
+
246
+ // Per-property setup
247
+ propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );
248
+ if ( !( prop in dataShow ) ) {
249
+ dataShow[ prop ] = propTween.start;
250
+ if ( hidden ) {
251
+ propTween.end = propTween.start;
252
+ propTween.start = 0;
253
+ }
254
+ }
255
+ }
256
+ }
257
+
258
+ function propFilter( props, specialEasing ) {
259
+ var index, name, easing, value, hooks;
260
+
261
+ // camelCase, specialEasing and expand cssHook pass
262
+ for ( index in props ) {
263
+ name = camelCase( index );
264
+ easing = specialEasing[ name ];
265
+ value = props[ index ];
266
+ if ( Array.isArray( value ) ) {
267
+ easing = value[ 1 ];
268
+ value = props[ index ] = value[ 0 ];
269
+ }
270
+
271
+ if ( index !== name ) {
272
+ props[ name ] = value;
273
+ delete props[ index ];
274
+ }
275
+
276
+ hooks = jQuery.cssHooks[ name ];
277
+ if ( hooks && "expand" in hooks ) {
278
+ value = hooks.expand( value );
279
+ delete props[ name ];
280
+
281
+ // Not quite $.extend, this won't overwrite existing keys.
282
+ // Reusing 'index' because we have the correct "name"
283
+ for ( index in value ) {
284
+ if ( !( index in props ) ) {
285
+ props[ index ] = value[ index ];
286
+ specialEasing[ index ] = easing;
287
+ }
288
+ }
289
+ } else {
290
+ specialEasing[ name ] = easing;
291
+ }
292
+ }
293
+ }
294
+
295
+ function Animation( elem, properties, options ) {
296
+ var result,
297
+ stopped,
298
+ index = 0,
299
+ length = Animation.prefilters.length,
300
+ deferred = jQuery.Deferred().always( function() {
301
+
302
+ // Don't match elem in the :animated selector
303
+ delete tick.elem;
304
+ } ),
305
+ tick = function() {
306
+ if ( stopped ) {
307
+ return false;
308
+ }
309
+ var currentTime = fxNow || createFxNow(),
310
+ remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),
311
+
312
+ // Support: Android 2.3 only
313
+ // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)
314
+ temp = remaining / animation.duration || 0,
315
+ percent = 1 - temp,
316
+ index = 0,
317
+ length = animation.tweens.length;
318
+
319
+ for ( ; index < length; index++ ) {
320
+ animation.tweens[ index ].run( percent );
321
+ }
322
+
323
+ deferred.notifyWith( elem, [ animation, percent, remaining ] );
324
+
325
+ // If there's more to do, yield
326
+ if ( percent < 1 && length ) {
327
+ return remaining;
328
+ }
329
+
330
+ // If this was an empty animation, synthesize a final progress notification
331
+ if ( !length ) {
332
+ deferred.notifyWith( elem, [ animation, 1, 0 ] );
333
+ }
334
+
335
+ // Resolve the animation and report its conclusion
336
+ deferred.resolveWith( elem, [ animation ] );
337
+ return false;
338
+ },
339
+ animation = deferred.promise( {
340
+ elem: elem,
341
+ props: jQuery.extend( {}, properties ),
342
+ opts: jQuery.extend( true, {
343
+ specialEasing: {},
344
+ easing: jQuery.easing._default
345
+ }, options ),
346
+ originalProperties: properties,
347
+ originalOptions: options,
348
+ startTime: fxNow || createFxNow(),
349
+ duration: options.duration,
350
+ tweens: [],
351
+ createTween: function( prop, end ) {
352
+ var tween = jQuery.Tween( elem, animation.opts, prop, end,
353
+ animation.opts.specialEasing[ prop ] || animation.opts.easing );
354
+ animation.tweens.push( tween );
355
+ return tween;
356
+ },
357
+ stop: function( gotoEnd ) {
358
+ var index = 0,
359
+
360
+ // If we are going to the end, we want to run all the tweens
361
+ // otherwise we skip this part
362
+ length = gotoEnd ? animation.tweens.length : 0;
363
+ if ( stopped ) {
364
+ return this;
365
+ }
366
+ stopped = true;
367
+ for ( ; index < length; index++ ) {
368
+ animation.tweens[ index ].run( 1 );
369
+ }
370
+
371
+ // Resolve when we played the last frame; otherwise, reject
372
+ if ( gotoEnd ) {
373
+ deferred.notifyWith( elem, [ animation, 1, 0 ] );
374
+ deferred.resolveWith( elem, [ animation, gotoEnd ] );
375
+ } else {
376
+ deferred.rejectWith( elem, [ animation, gotoEnd ] );
377
+ }
378
+ return this;
379
+ }
380
+ } ),
381
+ props = animation.props;
382
+
383
+ propFilter( props, animation.opts.specialEasing );
384
+
385
+ for ( ; index < length; index++ ) {
386
+ result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts );
387
+ if ( result ) {
388
+ if ( isFunction( result.stop ) ) {
389
+ jQuery._queueHooks( animation.elem, animation.opts.queue ).stop =
390
+ result.stop.bind( result );
391
+ }
392
+ return result;
393
+ }
394
+ }
395
+
396
+ jQuery.map( props, createTween, animation );
397
+
398
+ if ( isFunction( animation.opts.start ) ) {
399
+ animation.opts.start.call( elem, animation );
400
+ }
401
+
402
+ // Attach callbacks from options
403
+ animation
404
+ .progress( animation.opts.progress )
405
+ .done( animation.opts.done, animation.opts.complete )
406
+ .fail( animation.opts.fail )
407
+ .always( animation.opts.always );
408
+
409
+ jQuery.fx.timer(
410
+ jQuery.extend( tick, {
411
+ elem: elem,
412
+ anim: animation,
413
+ queue: animation.opts.queue
414
+ } )
415
+ );
416
+
417
+ return animation;
418
+ }
419
+
420
+ jQuery.Animation = jQuery.extend( Animation, {
421
+
422
+ tweeners: {
423
+ "*": [ function( prop, value ) {
424
+ var tween = this.createTween( prop, value );
425
+ adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween );
426
+ return tween;
427
+ } ]
428
+ },
429
+
430
+ tweener: function( props, callback ) {
431
+ if ( isFunction( props ) ) {
432
+ callback = props;
433
+ props = [ "*" ];
434
+ } else {
435
+ props = props.match( rnothtmlwhite );
436
+ }
437
+
438
+ var prop,
439
+ index = 0,
440
+ length = props.length;
441
+
442
+ for ( ; index < length; index++ ) {
443
+ prop = props[ index ];
444
+ Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || [];
445
+ Animation.tweeners[ prop ].unshift( callback );
446
+ }
447
+ },
448
+
449
+ prefilters: [ defaultPrefilter ],
450
+
451
+ prefilter: function( callback, prepend ) {
452
+ if ( prepend ) {
453
+ Animation.prefilters.unshift( callback );
454
+ } else {
455
+ Animation.prefilters.push( callback );
456
+ }
457
+ }
458
+ } );
459
+
460
+ jQuery.speed = function( speed, easing, fn ) {
461
+ var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
462
+ complete: fn || !fn && easing ||
463
+ isFunction( speed ) && speed,
464
+ duration: speed,
465
+ easing: fn && easing || easing && !isFunction( easing ) && easing
466
+ };
467
+
468
+ // Go to the end state if fx are off
469
+ if ( jQuery.fx.off ) {
470
+ opt.duration = 0;
471
+
472
+ } else {
473
+ if ( typeof opt.duration !== "number" ) {
474
+ if ( opt.duration in jQuery.fx.speeds ) {
475
+ opt.duration = jQuery.fx.speeds[ opt.duration ];
476
+
477
+ } else {
478
+ opt.duration = jQuery.fx.speeds._default;
479
+ }
480
+ }
481
+ }
482
+
483
+ // Normalize opt.queue - true/undefined/null -> "fx"
484
+ if ( opt.queue == null || opt.queue === true ) {
485
+ opt.queue = "fx";
486
+ }
487
+
488
+ // Queueing
489
+ opt.old = opt.complete;
490
+
491
+ opt.complete = function() {
492
+ if ( isFunction( opt.old ) ) {
493
+ opt.old.call( this );
494
+ }
495
+
496
+ if ( opt.queue ) {
497
+ jQuery.dequeue( this, opt.queue );
498
+ }
499
+ };
500
+
501
+ return opt;
502
+ };
503
+
504
+ jQuery.fn.extend( {
505
+ fadeTo: function( speed, to, easing, callback ) {
506
+
507
+ // Show any hidden elements after setting opacity to 0
508
+ return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show()
509
+
510
+ // Animate to the value specified
511
+ .end().animate( { opacity: to }, speed, easing, callback );
512
+ },
513
+ animate: function( prop, speed, easing, callback ) {
514
+ var empty = jQuery.isEmptyObject( prop ),
515
+ optall = jQuery.speed( speed, easing, callback ),
516
+ doAnimation = function() {
517
+
518
+ // Operate on a copy of prop so per-property easing won't be lost
519
+ var anim = Animation( this, jQuery.extend( {}, prop ), optall );
520
+
521
+ // Empty animations, or finishing resolves immediately
522
+ if ( empty || dataPriv.get( this, "finish" ) ) {
523
+ anim.stop( true );
524
+ }
525
+ };
526
+
527
+ doAnimation.finish = doAnimation;
528
+
529
+ return empty || optall.queue === false ?
530
+ this.each( doAnimation ) :
531
+ this.queue( optall.queue, doAnimation );
532
+ },
533
+ stop: function( type, clearQueue, gotoEnd ) {
534
+ var stopQueue = function( hooks ) {
535
+ var stop = hooks.stop;
536
+ delete hooks.stop;
537
+ stop( gotoEnd );
538
+ };
539
+
540
+ if ( typeof type !== "string" ) {
541
+ gotoEnd = clearQueue;
542
+ clearQueue = type;
543
+ type = undefined;
544
+ }
545
+ if ( clearQueue ) {
546
+ this.queue( type || "fx", [] );
547
+ }
548
+
549
+ return this.each( function() {
550
+ var dequeue = true,
551
+ index = type != null && type + "queueHooks",
552
+ timers = jQuery.timers,
553
+ data = dataPriv.get( this );
554
+
555
+ if ( index ) {
556
+ if ( data[ index ] && data[ index ].stop ) {
557
+ stopQueue( data[ index ] );
558
+ }
559
+ } else {
560
+ for ( index in data ) {
561
+ if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {
562
+ stopQueue( data[ index ] );
563
+ }
564
+ }
565
+ }
566
+
567
+ for ( index = timers.length; index--; ) {
568
+ if ( timers[ index ].elem === this &&
569
+ ( type == null || timers[ index ].queue === type ) ) {
570
+
571
+ timers[ index ].anim.stop( gotoEnd );
572
+ dequeue = false;
573
+ timers.splice( index, 1 );
574
+ }
575
+ }
576
+
577
+ // Start the next in the queue if the last step wasn't forced.
578
+ // Timers currently will call their complete callbacks, which
579
+ // will dequeue but only if they were gotoEnd.
580
+ if ( dequeue || !gotoEnd ) {
581
+ jQuery.dequeue( this, type );
582
+ }
583
+ } );
584
+ },
585
+ finish: function( type ) {
586
+ if ( type !== false ) {
587
+ type = type || "fx";
588
+ }
589
+ return this.each( function() {
590
+ var index,
591
+ data = dataPriv.get( this ),
592
+ queue = data[ type + "queue" ],
593
+ hooks = data[ type + "queueHooks" ],
594
+ timers = jQuery.timers,
595
+ length = queue ? queue.length : 0;
596
+
597
+ // Enable finishing flag on private data
598
+ data.finish = true;
599
+
600
+ // Empty the queue first
601
+ jQuery.queue( this, type, [] );
602
+
603
+ if ( hooks && hooks.stop ) {
604
+ hooks.stop.call( this, true );
605
+ }
606
+
607
+ // Look for any active animations, and finish them
608
+ for ( index = timers.length; index--; ) {
609
+ if ( timers[ index ].elem === this && timers[ index ].queue === type ) {
610
+ timers[ index ].anim.stop( true );
611
+ timers.splice( index, 1 );
612
+ }
613
+ }
614
+
615
+ // Look for any animations in the old queue and finish them
616
+ for ( index = 0; index < length; index++ ) {
617
+ if ( queue[ index ] && queue[ index ].finish ) {
618
+ queue[ index ].finish.call( this );
619
+ }
620
+ }
621
+
622
+ // Turn off finishing flag
623
+ delete data.finish;
624
+ } );
625
+ }
626
+ } );
627
+
628
+ jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) {
629
+ var cssFn = jQuery.fn[ name ];
630
+ jQuery.fn[ name ] = function( speed, easing, callback ) {
631
+ return speed == null || typeof speed === "boolean" ?
632
+ cssFn.apply( this, arguments ) :
633
+ this.animate( genFx( name, true ), speed, easing, callback );
634
+ };
635
+ } );
636
+
637
+ // Generate shortcuts for custom animations
638
+ jQuery.each( {
639
+ slideDown: genFx( "show" ),
640
+ slideUp: genFx( "hide" ),
641
+ slideToggle: genFx( "toggle" ),
642
+ fadeIn: { opacity: "show" },
643
+ fadeOut: { opacity: "hide" },
644
+ fadeToggle: { opacity: "toggle" }
645
+ }, function( name, props ) {
646
+ jQuery.fn[ name ] = function( speed, easing, callback ) {
647
+ return this.animate( props, speed, easing, callback );
648
+ };
649
+ } );
650
+
651
+ jQuery.timers = [];
652
+ jQuery.fx.tick = function() {
653
+ var timer,
654
+ i = 0,
655
+ timers = jQuery.timers;
656
+
657
+ fxNow = Date.now();
658
+
659
+ for ( ; i < timers.length; i++ ) {
660
+ timer = timers[ i ];
661
+
662
+ // Run the timer and safely remove it when done (allowing for external removal)
663
+ if ( !timer() && timers[ i ] === timer ) {
664
+ timers.splice( i--, 1 );
665
+ }
666
+ }
667
+
668
+ if ( !timers.length ) {
669
+ jQuery.fx.stop();
670
+ }
671
+ fxNow = undefined;
672
+ };
673
+
674
+ jQuery.fx.timer = function( timer ) {
675
+ jQuery.timers.push( timer );
676
+ jQuery.fx.start();
677
+ };
678
+
679
+ jQuery.fx.interval = 13;
680
+ jQuery.fx.start = function() {
681
+ if ( inProgress ) {
682
+ return;
683
+ }
684
+
685
+ inProgress = true;
686
+ schedule();
687
+ };
688
+
689
+ jQuery.fx.stop = function() {
690
+ inProgress = null;
691
+ };
692
+
693
+ jQuery.fx.speeds = {
694
+ slow: 600,
695
+ fast: 200,
696
+
697
+ // Default speed
698
+ _default: 400
699
+ };
700
+
701
+ return jQuery;
702
+ } );