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,874 @@
1
+ define( [
2
+ "./core",
3
+ "./var/document",
4
+ "./var/documentElement",
5
+ "./var/isFunction",
6
+ "./var/rnothtmlwhite",
7
+ "./var/rcheckableType",
8
+ "./var/slice",
9
+ "./data/var/acceptData",
10
+ "./data/var/dataPriv",
11
+ "./core/nodeName",
12
+
13
+ "./core/init",
14
+ "./selector"
15
+ ], function( jQuery, document, documentElement, isFunction, rnothtmlwhite,
16
+ rcheckableType, slice, acceptData, dataPriv, nodeName ) {
17
+
18
+ "use strict";
19
+
20
+ var rtypenamespace = /^([^.]*)(?:\.(.+)|)/;
21
+
22
+ function returnTrue() {
23
+ return true;
24
+ }
25
+
26
+ function returnFalse() {
27
+ return false;
28
+ }
29
+
30
+ // Support: IE <=9 - 11+
31
+ // focus() and blur() are asynchronous, except when they are no-op.
32
+ // So expect focus to be synchronous when the element is already active,
33
+ // and blur to be synchronous when the element is not already active.
34
+ // (focus and blur are always synchronous in other supported browsers,
35
+ // this just defines when we can count on it).
36
+ function expectSync( elem, type ) {
37
+ return ( elem === safeActiveElement() ) === ( type === "focus" );
38
+ }
39
+
40
+ // Support: IE <=9 only
41
+ // Accessing document.activeElement can throw unexpectedly
42
+ // https://bugs.jquery.com/ticket/13393
43
+ function safeActiveElement() {
44
+ try {
45
+ return document.activeElement;
46
+ } catch ( err ) { }
47
+ }
48
+
49
+ function on( elem, types, selector, data, fn, one ) {
50
+ var origFn, type;
51
+
52
+ // Types can be a map of types/handlers
53
+ if ( typeof types === "object" ) {
54
+
55
+ // ( types-Object, selector, data )
56
+ if ( typeof selector !== "string" ) {
57
+
58
+ // ( types-Object, data )
59
+ data = data || selector;
60
+ selector = undefined;
61
+ }
62
+ for ( type in types ) {
63
+ on( elem, type, selector, data, types[ type ], one );
64
+ }
65
+ return elem;
66
+ }
67
+
68
+ if ( data == null && fn == null ) {
69
+
70
+ // ( types, fn )
71
+ fn = selector;
72
+ data = selector = undefined;
73
+ } else if ( fn == null ) {
74
+ if ( typeof selector === "string" ) {
75
+
76
+ // ( types, selector, fn )
77
+ fn = data;
78
+ data = undefined;
79
+ } else {
80
+
81
+ // ( types, data, fn )
82
+ fn = data;
83
+ data = selector;
84
+ selector = undefined;
85
+ }
86
+ }
87
+ if ( fn === false ) {
88
+ fn = returnFalse;
89
+ } else if ( !fn ) {
90
+ return elem;
91
+ }
92
+
93
+ if ( one === 1 ) {
94
+ origFn = fn;
95
+ fn = function( event ) {
96
+
97
+ // Can use an empty set, since event contains the info
98
+ jQuery().off( event );
99
+ return origFn.apply( this, arguments );
100
+ };
101
+
102
+ // Use same guid so caller can remove using origFn
103
+ fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );
104
+ }
105
+ return elem.each( function() {
106
+ jQuery.event.add( this, types, fn, data, selector );
107
+ } );
108
+ }
109
+
110
+ /*
111
+ * Helper functions for managing events -- not part of the public interface.
112
+ * Props to Dean Edwards' addEvent library for many of the ideas.
113
+ */
114
+ jQuery.event = {
115
+
116
+ global: {},
117
+
118
+ add: function( elem, types, handler, data, selector ) {
119
+
120
+ var handleObjIn, eventHandle, tmp,
121
+ events, t, handleObj,
122
+ special, handlers, type, namespaces, origType,
123
+ elemData = dataPriv.get( elem );
124
+
125
+ // Only attach events to objects that accept data
126
+ if ( !acceptData( elem ) ) {
127
+ return;
128
+ }
129
+
130
+ // Caller can pass in an object of custom data in lieu of the handler
131
+ if ( handler.handler ) {
132
+ handleObjIn = handler;
133
+ handler = handleObjIn.handler;
134
+ selector = handleObjIn.selector;
135
+ }
136
+
137
+ // Ensure that invalid selectors throw exceptions at attach time
138
+ // Evaluate against documentElement in case elem is a non-element node (e.g., document)
139
+ if ( selector ) {
140
+ jQuery.find.matchesSelector( documentElement, selector );
141
+ }
142
+
143
+ // Make sure that the handler has a unique ID, used to find/remove it later
144
+ if ( !handler.guid ) {
145
+ handler.guid = jQuery.guid++;
146
+ }
147
+
148
+ // Init the element's event structure and main handler, if this is the first
149
+ if ( !( events = elemData.events ) ) {
150
+ events = elemData.events = Object.create( null );
151
+ }
152
+ if ( !( eventHandle = elemData.handle ) ) {
153
+ eventHandle = elemData.handle = function( e ) {
154
+
155
+ // Discard the second event of a jQuery.event.trigger() and
156
+ // when an event is called after a page has unloaded
157
+ return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ?
158
+ jQuery.event.dispatch.apply( elem, arguments ) : undefined;
159
+ };
160
+ }
161
+
162
+ // Handle multiple events separated by a space
163
+ types = ( types || "" ).match( rnothtmlwhite ) || [ "" ];
164
+ t = types.length;
165
+ while ( t-- ) {
166
+ tmp = rtypenamespace.exec( types[ t ] ) || [];
167
+ type = origType = tmp[ 1 ];
168
+ namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort();
169
+
170
+ // There *must* be a type, no attaching namespace-only handlers
171
+ if ( !type ) {
172
+ continue;
173
+ }
174
+
175
+ // If event changes its type, use the special event handlers for the changed type
176
+ special = jQuery.event.special[ type ] || {};
177
+
178
+ // If selector defined, determine special event api type, otherwise given type
179
+ type = ( selector ? special.delegateType : special.bindType ) || type;
180
+
181
+ // Update special based on newly reset type
182
+ special = jQuery.event.special[ type ] || {};
183
+
184
+ // handleObj is passed to all event handlers
185
+ handleObj = jQuery.extend( {
186
+ type: type,
187
+ origType: origType,
188
+ data: data,
189
+ handler: handler,
190
+ guid: handler.guid,
191
+ selector: selector,
192
+ needsContext: selector && jQuery.expr.match.needsContext.test( selector ),
193
+ namespace: namespaces.join( "." )
194
+ }, handleObjIn );
195
+
196
+ // Init the event handler queue if we're the first
197
+ if ( !( handlers = events[ type ] ) ) {
198
+ handlers = events[ type ] = [];
199
+ handlers.delegateCount = 0;
200
+
201
+ // Only use addEventListener if the special events handler returns false
202
+ if ( !special.setup ||
203
+ special.setup.call( elem, data, namespaces, eventHandle ) === false ) {
204
+
205
+ if ( elem.addEventListener ) {
206
+ elem.addEventListener( type, eventHandle );
207
+ }
208
+ }
209
+ }
210
+
211
+ if ( special.add ) {
212
+ special.add.call( elem, handleObj );
213
+
214
+ if ( !handleObj.handler.guid ) {
215
+ handleObj.handler.guid = handler.guid;
216
+ }
217
+ }
218
+
219
+ // Add to the element's handler list, delegates in front
220
+ if ( selector ) {
221
+ handlers.splice( handlers.delegateCount++, 0, handleObj );
222
+ } else {
223
+ handlers.push( handleObj );
224
+ }
225
+
226
+ // Keep track of which events have ever been used, for event optimization
227
+ jQuery.event.global[ type ] = true;
228
+ }
229
+
230
+ },
231
+
232
+ // Detach an event or set of events from an element
233
+ remove: function( elem, types, handler, selector, mappedTypes ) {
234
+
235
+ var j, origCount, tmp,
236
+ events, t, handleObj,
237
+ special, handlers, type, namespaces, origType,
238
+ elemData = dataPriv.hasData( elem ) && dataPriv.get( elem );
239
+
240
+ if ( !elemData || !( events = elemData.events ) ) {
241
+ return;
242
+ }
243
+
244
+ // Once for each type.namespace in types; type may be omitted
245
+ types = ( types || "" ).match( rnothtmlwhite ) || [ "" ];
246
+ t = types.length;
247
+ while ( t-- ) {
248
+ tmp = rtypenamespace.exec( types[ t ] ) || [];
249
+ type = origType = tmp[ 1 ];
250
+ namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort();
251
+
252
+ // Unbind all events (on this namespace, if provided) for the element
253
+ if ( !type ) {
254
+ for ( type in events ) {
255
+ jQuery.event.remove( elem, type + types[ t ], handler, selector, true );
256
+ }
257
+ continue;
258
+ }
259
+
260
+ special = jQuery.event.special[ type ] || {};
261
+ type = ( selector ? special.delegateType : special.bindType ) || type;
262
+ handlers = events[ type ] || [];
263
+ tmp = tmp[ 2 ] &&
264
+ new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" );
265
+
266
+ // Remove matching events
267
+ origCount = j = handlers.length;
268
+ while ( j-- ) {
269
+ handleObj = handlers[ j ];
270
+
271
+ if ( ( mappedTypes || origType === handleObj.origType ) &&
272
+ ( !handler || handler.guid === handleObj.guid ) &&
273
+ ( !tmp || tmp.test( handleObj.namespace ) ) &&
274
+ ( !selector || selector === handleObj.selector ||
275
+ selector === "**" && handleObj.selector ) ) {
276
+ handlers.splice( j, 1 );
277
+
278
+ if ( handleObj.selector ) {
279
+ handlers.delegateCount--;
280
+ }
281
+ if ( special.remove ) {
282
+ special.remove.call( elem, handleObj );
283
+ }
284
+ }
285
+ }
286
+
287
+ // Remove generic event handler if we removed something and no more handlers exist
288
+ // (avoids potential for endless recursion during removal of special event handlers)
289
+ if ( origCount && !handlers.length ) {
290
+ if ( !special.teardown ||
291
+ special.teardown.call( elem, namespaces, elemData.handle ) === false ) {
292
+
293
+ jQuery.removeEvent( elem, type, elemData.handle );
294
+ }
295
+
296
+ delete events[ type ];
297
+ }
298
+ }
299
+
300
+ // Remove data and the expando if it's no longer used
301
+ if ( jQuery.isEmptyObject( events ) ) {
302
+ dataPriv.remove( elem, "handle events" );
303
+ }
304
+ },
305
+
306
+ dispatch: function( nativeEvent ) {
307
+
308
+ var i, j, ret, matched, handleObj, handlerQueue,
309
+ args = new Array( arguments.length ),
310
+
311
+ // Make a writable jQuery.Event from the native event object
312
+ event = jQuery.event.fix( nativeEvent ),
313
+
314
+ handlers = (
315
+ dataPriv.get( this, "events" ) || Object.create( null )
316
+ )[ event.type ] || [],
317
+ special = jQuery.event.special[ event.type ] || {};
318
+
319
+ // Use the fix-ed jQuery.Event rather than the (read-only) native event
320
+ args[ 0 ] = event;
321
+
322
+ for ( i = 1; i < arguments.length; i++ ) {
323
+ args[ i ] = arguments[ i ];
324
+ }
325
+
326
+ event.delegateTarget = this;
327
+
328
+ // Call the preDispatch hook for the mapped type, and let it bail if desired
329
+ if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {
330
+ return;
331
+ }
332
+
333
+ // Determine handlers
334
+ handlerQueue = jQuery.event.handlers.call( this, event, handlers );
335
+
336
+ // Run delegates first; they may want to stop propagation beneath us
337
+ i = 0;
338
+ while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) {
339
+ event.currentTarget = matched.elem;
340
+
341
+ j = 0;
342
+ while ( ( handleObj = matched.handlers[ j++ ] ) &&
343
+ !event.isImmediatePropagationStopped() ) {
344
+
345
+ // If the event is namespaced, then each handler is only invoked if it is
346
+ // specially universal or its namespaces are a superset of the event's.
347
+ if ( !event.rnamespace || handleObj.namespace === false ||
348
+ event.rnamespace.test( handleObj.namespace ) ) {
349
+
350
+ event.handleObj = handleObj;
351
+ event.data = handleObj.data;
352
+
353
+ ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle ||
354
+ handleObj.handler ).apply( matched.elem, args );
355
+
356
+ if ( ret !== undefined ) {
357
+ if ( ( event.result = ret ) === false ) {
358
+ event.preventDefault();
359
+ event.stopPropagation();
360
+ }
361
+ }
362
+ }
363
+ }
364
+ }
365
+
366
+ // Call the postDispatch hook for the mapped type
367
+ if ( special.postDispatch ) {
368
+ special.postDispatch.call( this, event );
369
+ }
370
+
371
+ return event.result;
372
+ },
373
+
374
+ handlers: function( event, handlers ) {
375
+ var i, handleObj, sel, matchedHandlers, matchedSelectors,
376
+ handlerQueue = [],
377
+ delegateCount = handlers.delegateCount,
378
+ cur = event.target;
379
+
380
+ // Find delegate handlers
381
+ if ( delegateCount &&
382
+
383
+ // Support: IE <=9
384
+ // Black-hole SVG <use> instance trees (trac-13180)
385
+ cur.nodeType &&
386
+
387
+ // Support: Firefox <=42
388
+ // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)
389
+ // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click
390
+ // Support: IE 11 only
391
+ // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343)
392
+ !( event.type === "click" && event.button >= 1 ) ) {
393
+
394
+ for ( ; cur !== this; cur = cur.parentNode || this ) {
395
+
396
+ // Don't check non-elements (#13208)
397
+ // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
398
+ if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) {
399
+ matchedHandlers = [];
400
+ matchedSelectors = {};
401
+ for ( i = 0; i < delegateCount; i++ ) {
402
+ handleObj = handlers[ i ];
403
+
404
+ // Don't conflict with Object.prototype properties (#13203)
405
+ sel = handleObj.selector + " ";
406
+
407
+ if ( matchedSelectors[ sel ] === undefined ) {
408
+ matchedSelectors[ sel ] = handleObj.needsContext ?
409
+ jQuery( sel, this ).index( cur ) > -1 :
410
+ jQuery.find( sel, this, null, [ cur ] ).length;
411
+ }
412
+ if ( matchedSelectors[ sel ] ) {
413
+ matchedHandlers.push( handleObj );
414
+ }
415
+ }
416
+ if ( matchedHandlers.length ) {
417
+ handlerQueue.push( { elem: cur, handlers: matchedHandlers } );
418
+ }
419
+ }
420
+ }
421
+ }
422
+
423
+ // Add the remaining (directly-bound) handlers
424
+ cur = this;
425
+ if ( delegateCount < handlers.length ) {
426
+ handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } );
427
+ }
428
+
429
+ return handlerQueue;
430
+ },
431
+
432
+ addProp: function( name, hook ) {
433
+ Object.defineProperty( jQuery.Event.prototype, name, {
434
+ enumerable: true,
435
+ configurable: true,
436
+
437
+ get: isFunction( hook ) ?
438
+ function() {
439
+ if ( this.originalEvent ) {
440
+ return hook( this.originalEvent );
441
+ }
442
+ } :
443
+ function() {
444
+ if ( this.originalEvent ) {
445
+ return this.originalEvent[ name ];
446
+ }
447
+ },
448
+
449
+ set: function( value ) {
450
+ Object.defineProperty( this, name, {
451
+ enumerable: true,
452
+ configurable: true,
453
+ writable: true,
454
+ value: value
455
+ } );
456
+ }
457
+ } );
458
+ },
459
+
460
+ fix: function( originalEvent ) {
461
+ return originalEvent[ jQuery.expando ] ?
462
+ originalEvent :
463
+ new jQuery.Event( originalEvent );
464
+ },
465
+
466
+ special: {
467
+ load: {
468
+
469
+ // Prevent triggered image.load events from bubbling to window.load
470
+ noBubble: true
471
+ },
472
+ click: {
473
+
474
+ // Utilize native event to ensure correct state for checkable inputs
475
+ setup: function( data ) {
476
+
477
+ // For mutual compressibility with _default, replace `this` access with a local var.
478
+ // `|| data` is dead code meant only to preserve the variable through minification.
479
+ var el = this || data;
480
+
481
+ // Claim the first handler
482
+ if ( rcheckableType.test( el.type ) &&
483
+ el.click && nodeName( el, "input" ) ) {
484
+
485
+ // dataPriv.set( el, "click", ... )
486
+ leverageNative( el, "click", returnTrue );
487
+ }
488
+
489
+ // Return false to allow normal processing in the caller
490
+ return false;
491
+ },
492
+ trigger: function( data ) {
493
+
494
+ // For mutual compressibility with _default, replace `this` access with a local var.
495
+ // `|| data` is dead code meant only to preserve the variable through minification.
496
+ var el = this || data;
497
+
498
+ // Force setup before triggering a click
499
+ if ( rcheckableType.test( el.type ) &&
500
+ el.click && nodeName( el, "input" ) ) {
501
+
502
+ leverageNative( el, "click" );
503
+ }
504
+
505
+ // Return non-false to allow normal event-path propagation
506
+ return true;
507
+ },
508
+
509
+ // For cross-browser consistency, suppress native .click() on links
510
+ // Also prevent it if we're currently inside a leveraged native-event stack
511
+ _default: function( event ) {
512
+ var target = event.target;
513
+ return rcheckableType.test( target.type ) &&
514
+ target.click && nodeName( target, "input" ) &&
515
+ dataPriv.get( target, "click" ) ||
516
+ nodeName( target, "a" );
517
+ }
518
+ },
519
+
520
+ beforeunload: {
521
+ postDispatch: function( event ) {
522
+
523
+ // Support: Firefox 20+
524
+ // Firefox doesn't alert if the returnValue field is not set.
525
+ if ( event.result !== undefined && event.originalEvent ) {
526
+ event.originalEvent.returnValue = event.result;
527
+ }
528
+ }
529
+ }
530
+ }
531
+ };
532
+
533
+ // Ensure the presence of an event listener that handles manually-triggered
534
+ // synthetic events by interrupting progress until reinvoked in response to
535
+ // *native* events that it fires directly, ensuring that state changes have
536
+ // already occurred before other listeners are invoked.
537
+ function leverageNative( el, type, expectSync ) {
538
+
539
+ // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add
540
+ if ( !expectSync ) {
541
+ if ( dataPriv.get( el, type ) === undefined ) {
542
+ jQuery.event.add( el, type, returnTrue );
543
+ }
544
+ return;
545
+ }
546
+
547
+ // Register the controller as a special universal handler for all event namespaces
548
+ dataPriv.set( el, type, false );
549
+ jQuery.event.add( el, type, {
550
+ namespace: false,
551
+ handler: function( event ) {
552
+ var notAsync, result,
553
+ saved = dataPriv.get( this, type );
554
+
555
+ if ( ( event.isTrigger & 1 ) && this[ type ] ) {
556
+
557
+ // Interrupt processing of the outer synthetic .trigger()ed event
558
+ // Saved data should be false in such cases, but might be a leftover capture object
559
+ // from an async native handler (gh-4350)
560
+ if ( !saved.length ) {
561
+
562
+ // Store arguments for use when handling the inner native event
563
+ // There will always be at least one argument (an event object), so this array
564
+ // will not be confused with a leftover capture object.
565
+ saved = slice.call( arguments );
566
+ dataPriv.set( this, type, saved );
567
+
568
+ // Trigger the native event and capture its result
569
+ // Support: IE <=9 - 11+
570
+ // focus() and blur() are asynchronous
571
+ notAsync = expectSync( this, type );
572
+ this[ type ]();
573
+ result = dataPriv.get( this, type );
574
+ if ( saved !== result || notAsync ) {
575
+ dataPriv.set( this, type, false );
576
+ } else {
577
+ result = {};
578
+ }
579
+ if ( saved !== result ) {
580
+
581
+ // Cancel the outer synthetic event
582
+ event.stopImmediatePropagation();
583
+ event.preventDefault();
584
+
585
+ // Support: Chrome 86+
586
+ // In Chrome, if an element having a focusout handler is blurred by
587
+ // clicking outside of it, it invokes the handler synchronously. If
588
+ // that handler calls `.remove()` on the element, the data is cleared,
589
+ // leaving `result` undefined. We need to guard against this.
590
+ return result && result.value;
591
+ }
592
+
593
+ // If this is an inner synthetic event for an event with a bubbling surrogate
594
+ // (focus or blur), assume that the surrogate already propagated from triggering the
595
+ // native event and prevent that from happening again here.
596
+ // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the
597
+ // bubbling surrogate propagates *after* the non-bubbling base), but that seems
598
+ // less bad than duplication.
599
+ } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) {
600
+ event.stopPropagation();
601
+ }
602
+
603
+ // If this is a native event triggered above, everything is now in order
604
+ // Fire an inner synthetic event with the original arguments
605
+ } else if ( saved.length ) {
606
+
607
+ // ...and capture the result
608
+ dataPriv.set( this, type, {
609
+ value: jQuery.event.trigger(
610
+
611
+ // Support: IE <=9 - 11+
612
+ // Extend with the prototype to reset the above stopImmediatePropagation()
613
+ jQuery.extend( saved[ 0 ], jQuery.Event.prototype ),
614
+ saved.slice( 1 ),
615
+ this
616
+ )
617
+ } );
618
+
619
+ // Abort handling of the native event
620
+ event.stopImmediatePropagation();
621
+ }
622
+ }
623
+ } );
624
+ }
625
+
626
+ jQuery.removeEvent = function( elem, type, handle ) {
627
+
628
+ // This "if" is needed for plain objects
629
+ if ( elem.removeEventListener ) {
630
+ elem.removeEventListener( type, handle );
631
+ }
632
+ };
633
+
634
+ jQuery.Event = function( src, props ) {
635
+
636
+ // Allow instantiation without the 'new' keyword
637
+ if ( !( this instanceof jQuery.Event ) ) {
638
+ return new jQuery.Event( src, props );
639
+ }
640
+
641
+ // Event object
642
+ if ( src && src.type ) {
643
+ this.originalEvent = src;
644
+ this.type = src.type;
645
+
646
+ // Events bubbling up the document may have been marked as prevented
647
+ // by a handler lower down the tree; reflect the correct value.
648
+ this.isDefaultPrevented = src.defaultPrevented ||
649
+ src.defaultPrevented === undefined &&
650
+
651
+ // Support: Android <=2.3 only
652
+ src.returnValue === false ?
653
+ returnTrue :
654
+ returnFalse;
655
+
656
+ // Create target properties
657
+ // Support: Safari <=6 - 7 only
658
+ // Target should not be a text node (#504, #13143)
659
+ this.target = ( src.target && src.target.nodeType === 3 ) ?
660
+ src.target.parentNode :
661
+ src.target;
662
+
663
+ this.currentTarget = src.currentTarget;
664
+ this.relatedTarget = src.relatedTarget;
665
+
666
+ // Event type
667
+ } else {
668
+ this.type = src;
669
+ }
670
+
671
+ // Put explicitly provided properties onto the event object
672
+ if ( props ) {
673
+ jQuery.extend( this, props );
674
+ }
675
+
676
+ // Create a timestamp if incoming event doesn't have one
677
+ this.timeStamp = src && src.timeStamp || Date.now();
678
+
679
+ // Mark it as fixed
680
+ this[ jQuery.expando ] = true;
681
+ };
682
+
683
+ // jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
684
+ // https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
685
+ jQuery.Event.prototype = {
686
+ constructor: jQuery.Event,
687
+ isDefaultPrevented: returnFalse,
688
+ isPropagationStopped: returnFalse,
689
+ isImmediatePropagationStopped: returnFalse,
690
+ isSimulated: false,
691
+
692
+ preventDefault: function() {
693
+ var e = this.originalEvent;
694
+
695
+ this.isDefaultPrevented = returnTrue;
696
+
697
+ if ( e && !this.isSimulated ) {
698
+ e.preventDefault();
699
+ }
700
+ },
701
+ stopPropagation: function() {
702
+ var e = this.originalEvent;
703
+
704
+ this.isPropagationStopped = returnTrue;
705
+
706
+ if ( e && !this.isSimulated ) {
707
+ e.stopPropagation();
708
+ }
709
+ },
710
+ stopImmediatePropagation: function() {
711
+ var e = this.originalEvent;
712
+
713
+ this.isImmediatePropagationStopped = returnTrue;
714
+
715
+ if ( e && !this.isSimulated ) {
716
+ e.stopImmediatePropagation();
717
+ }
718
+
719
+ this.stopPropagation();
720
+ }
721
+ };
722
+
723
+ // Includes all common event props including KeyEvent and MouseEvent specific props
724
+ jQuery.each( {
725
+ altKey: true,
726
+ bubbles: true,
727
+ cancelable: true,
728
+ changedTouches: true,
729
+ ctrlKey: true,
730
+ detail: true,
731
+ eventPhase: true,
732
+ metaKey: true,
733
+ pageX: true,
734
+ pageY: true,
735
+ shiftKey: true,
736
+ view: true,
737
+ "char": true,
738
+ code: true,
739
+ charCode: true,
740
+ key: true,
741
+ keyCode: true,
742
+ button: true,
743
+ buttons: true,
744
+ clientX: true,
745
+ clientY: true,
746
+ offsetX: true,
747
+ offsetY: true,
748
+ pointerId: true,
749
+ pointerType: true,
750
+ screenX: true,
751
+ screenY: true,
752
+ targetTouches: true,
753
+ toElement: true,
754
+ touches: true,
755
+ which: true
756
+ }, jQuery.event.addProp );
757
+
758
+ jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) {
759
+ jQuery.event.special[ type ] = {
760
+
761
+ // Utilize native event if possible so blur/focus sequence is correct
762
+ setup: function() {
763
+
764
+ // Claim the first handler
765
+ // dataPriv.set( this, "focus", ... )
766
+ // dataPriv.set( this, "blur", ... )
767
+ leverageNative( this, type, expectSync );
768
+
769
+ // Return false to allow normal processing in the caller
770
+ return false;
771
+ },
772
+ trigger: function() {
773
+
774
+ // Force setup before trigger
775
+ leverageNative( this, type );
776
+
777
+ // Return non-false to allow normal event-path propagation
778
+ return true;
779
+ },
780
+
781
+ // Suppress native focus or blur as it's already being fired
782
+ // in leverageNative.
783
+ _default: function() {
784
+ return true;
785
+ },
786
+
787
+ delegateType: delegateType
788
+ };
789
+ } );
790
+
791
+ // Create mouseenter/leave events using mouseover/out and event-time checks
792
+ // so that event delegation works in jQuery.
793
+ // Do the same for pointerenter/pointerleave and pointerover/pointerout
794
+ //
795
+ // Support: Safari 7 only
796
+ // Safari sends mouseenter too often; see:
797
+ // https://bugs.chromium.org/p/chromium/issues/detail?id=470258
798
+ // for the description of the bug (it existed in older Chrome versions as well).
799
+ jQuery.each( {
800
+ mouseenter: "mouseover",
801
+ mouseleave: "mouseout",
802
+ pointerenter: "pointerover",
803
+ pointerleave: "pointerout"
804
+ }, function( orig, fix ) {
805
+ jQuery.event.special[ orig ] = {
806
+ delegateType: fix,
807
+ bindType: fix,
808
+
809
+ handle: function( event ) {
810
+ var ret,
811
+ target = this,
812
+ related = event.relatedTarget,
813
+ handleObj = event.handleObj;
814
+
815
+ // For mouseenter/leave call the handler if related is outside the target.
816
+ // NB: No relatedTarget if the mouse left/entered the browser window
817
+ if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {
818
+ event.type = handleObj.origType;
819
+ ret = handleObj.handler.apply( this, arguments );
820
+ event.type = fix;
821
+ }
822
+ return ret;
823
+ }
824
+ };
825
+ } );
826
+
827
+ jQuery.fn.extend( {
828
+
829
+ on: function( types, selector, data, fn ) {
830
+ return on( this, types, selector, data, fn );
831
+ },
832
+ one: function( types, selector, data, fn ) {
833
+ return on( this, types, selector, data, fn, 1 );
834
+ },
835
+ off: function( types, selector, fn ) {
836
+ var handleObj, type;
837
+ if ( types && types.preventDefault && types.handleObj ) {
838
+
839
+ // ( event ) dispatched jQuery.Event
840
+ handleObj = types.handleObj;
841
+ jQuery( types.delegateTarget ).off(
842
+ handleObj.namespace ?
843
+ handleObj.origType + "." + handleObj.namespace :
844
+ handleObj.origType,
845
+ handleObj.selector,
846
+ handleObj.handler
847
+ );
848
+ return this;
849
+ }
850
+ if ( typeof types === "object" ) {
851
+
852
+ // ( types-object [, selector] )
853
+ for ( type in types ) {
854
+ this.off( type, selector, types[ type ] );
855
+ }
856
+ return this;
857
+ }
858
+ if ( selector === false || typeof selector === "function" ) {
859
+
860
+ // ( types [, fn] )
861
+ fn = selector;
862
+ selector = undefined;
863
+ }
864
+ if ( fn === false ) {
865
+ fn = returnFalse;
866
+ }
867
+ return this.each( function() {
868
+ jQuery.event.remove( this, types, fn, selector );
869
+ } );
870
+ }
871
+ } );
872
+
873
+ return jQuery;
874
+ } );