jekyll-theme-hydejack 7.5.2 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (328) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -4
  3. data/README.md +139 -86
  4. data/_includes/body/analytics.html +36 -0
  5. data/_includes/{comments.html → body/comments.html} +0 -0
  6. data/_includes/{footer.html → body/footer.html} +4 -2
  7. data/_includes/body/index.html +22 -0
  8. data/_includes/body/main.html +18 -0
  9. data/_includes/{menu.html → body/menu.html} +1 -0
  10. data/_includes/{nav.html → body/nav.html} +0 -0
  11. data/_includes/body/scripts.html +22 -0
  12. data/_includes/{sidebar.html → body/sidebar.html} +19 -6
  13. data/_includes/{about.html → components/about.html} +1 -1
  14. data/_includes/{author.html → components/author.html} +3 -3
  15. data/_includes/{avatar-tag.html → components/avatar-tag.html} +0 -0
  16. data/_includes/{srcset-img.html → components/hy-img.html} +24 -8
  17. data/_includes/{link.html → components/link.html} +0 -0
  18. data/_includes/{message.html → components/message.html} +0 -0
  19. data/_includes/{pagination.html → components/pagination.html} +2 -2
  20. data/_includes/{post-list-item.html → components/post-list-item.html} +0 -0
  21. data/_includes/{post.html → components/post.html} +21 -10
  22. data/_includes/{related-posts.html → components/related-posts.html} +1 -1
  23. data/_includes/components/social-list-item.html +40 -0
  24. data/_includes/components/social.html +23 -0
  25. data/_includes/{tag-list.html → components/tag-list.html} +0 -0
  26. data/_includes/head/index.html +9 -0
  27. data/_includes/head/links.html +7 -5
  28. data/_includes/head/meta.html +3 -3
  29. data/_includes/{page-style.html → head/page-style.html} +1 -1
  30. data/_includes/head/scripts.html +10 -39
  31. data/_includes/head/styles.html +42 -15
  32. data/_includes/header.txt +1 -1
  33. data/_includes/my-body.html +42 -0
  34. data/_includes/my-scripts.html +55 -0
  35. data/_includes/scripts/load-js.js +60 -0
  36. data/_includes/scripts/load-js.min.js +1 -0
  37. data/_includes/{smart-url → smart-url.txt} +0 -0
  38. data/_includes/styles/inline.scss +15 -19
  39. data/_includes/styles/style.scss +20 -17
  40. data/_includes/templates/animation.html +1 -1
  41. data/_includes/templates/back.html +1 -1
  42. data/_includes/templates/cookies-banner.html +1 -1
  43. data/_includes/templates/error.html +1 -1
  44. data/_includes/{templates.html → templates/index.html} +1 -2
  45. data/_includes/templates/loading.html +1 -1
  46. data/_includes/templates/permalink.html +1 -1
  47. data/_layouts/about.html +29 -30
  48. data/_layouts/base.html +20 -62
  49. data/_layouts/blog.html +20 -22
  50. data/_layouts/compress.html +1 -1
  51. data/_layouts/default.html +13 -18
  52. data/_layouts/home.html +11 -16
  53. data/_layouts/list.html +13 -18
  54. data/_layouts/not-found.html +11 -16
  55. data/_layouts/page.html +12 -17
  56. data/_layouts/post.html +15 -20
  57. data/_layouts/redirect.html +11 -16
  58. data/_sass/_mixins.scss +10 -15
  59. data/_sass/_spinner.scss +10 -15
  60. data/_sass/_variables.scss +35 -19
  61. data/_sass/hydejack/__inline/_avatar.scss +33 -32
  62. data/_sass/hydejack/__inline/_base.scss +30 -68
  63. data/_sass/hydejack/__inline/_break-layout.scss +19 -26
  64. data/_sass/hydejack/__inline/_content.scss +29 -34
  65. data/_sass/hydejack/__inline/_footer.scss +19 -26
  66. data/_sass/hydejack/__inline/_images.scss +38 -0
  67. data/_sass/hydejack/__inline/_katex.scss +19 -26
  68. data/_sass/hydejack/__inline/_links.scss +45 -0
  69. data/_sass/hydejack/__inline/_mark-external.scss +19 -26
  70. data/_sass/hydejack/__inline/_menu.scss +28 -35
  71. data/_sass/hydejack/__inline/_sidebar.scss +76 -76
  72. data/_sass/hydejack/__inline/_social.scss +25 -31
  73. data/_sass/hydejack/__inline/_utilities.scss +42 -0
  74. data/_sass/hydejack/__link/_avatar.scss +29 -28
  75. data/_sass/hydejack/__link/_base.scss +19 -83
  76. data/_sass/hydejack/__link/_break-layout.scss +35 -34
  77. data/_sass/hydejack/__link/_content.scss +19 -26
  78. data/_sass/hydejack/__link/_footer.scss +19 -26
  79. data/_sass/hydejack/__link/_images.scss +84 -0
  80. data/_sass/hydejack/__link/_katex.scss +19 -26
  81. data/_sass/hydejack/__link/_links.scss +53 -0
  82. data/_sass/hydejack/__link/_mark-external.scss +19 -26
  83. data/_sass/hydejack/__link/_menu.scss +29 -50
  84. data/_sass/hydejack/__link/_sidebar.scss +71 -118
  85. data/_sass/hydejack/__link/_social.scss +19 -26
  86. data/_sass/hydejack/__link/_utilities.scss +51 -0
  87. data/_sass/hydejack/_avatar.pre.scss +26 -20
  88. data/_sass/hydejack/_base.pre.scss +22 -88
  89. data/_sass/hydejack/_break-layout.pre.scss +26 -23
  90. data/_sass/hydejack/_content.pre.scss +20 -23
  91. data/_sass/hydejack/_footer.pre.scss +10 -15
  92. data/_sass/hydejack/_images.pre.scss +77 -0
  93. data/_sass/hydejack/_katex.pre.scss +10 -15
  94. data/_sass/hydejack/_links.pre.scss +47 -0
  95. data/_sass/hydejack/_mark-external.pre.scss +10 -15
  96. data/_sass/hydejack/_menu.pre.scss +31 -38
  97. data/_sass/hydejack/_sidebar.pre.scss +98 -116
  98. data/_sass/hydejack/_social.pre.scss +16 -20
  99. data/_sass/hydejack/_utilities.pre.scss +43 -0
  100. data/_sass/my-variables.scss +0 -8
  101. data/_sass/pooleparty/__inline/_base.scss +19 -28
  102. data/_sass/pooleparty/__inline/_code.scss +19 -26
  103. data/_sass/pooleparty/__inline/_footer.scss +19 -26
  104. data/_sass/pooleparty/__inline/_footnotes.scss +19 -26
  105. data/_sass/pooleparty/__inline/_message.scss +19 -26
  106. data/_sass/pooleparty/__inline/_pagination.scss +19 -26
  107. data/_sass/pooleparty/__inline/_posts.scss +19 -26
  108. data/_sass/pooleparty/__inline/_read-more.scss +25 -0
  109. data/_sass/pooleparty/__inline/_related.scss +19 -26
  110. data/_sass/pooleparty/__inline/_table.scss +19 -26
  111. data/_sass/pooleparty/__inline/_type.scss +25 -39
  112. data/_sass/pooleparty/__link/_base.scss +19 -26
  113. data/_sass/pooleparty/__link/_code.scss +19 -26
  114. data/_sass/pooleparty/__link/_footer.scss +19 -26
  115. data/_sass/pooleparty/__link/_footnotes.scss +30 -26
  116. data/_sass/pooleparty/__link/_message.scss +19 -26
  117. data/_sass/pooleparty/__link/_pagination.scss +19 -26
  118. data/_sass/pooleparty/__link/_posts.scss +20 -27
  119. data/_sass/pooleparty/__link/_read-more.scss +45 -0
  120. data/_sass/pooleparty/__link/_related.scss +19 -26
  121. data/_sass/pooleparty/__link/_table.scss +19 -26
  122. data/_sass/pooleparty/__link/_type.scss +27 -48
  123. data/_sass/pooleparty/_base.pre.scss +10 -17
  124. data/_sass/pooleparty/_code.pre.scss +10 -15
  125. data/_sass/pooleparty/_footer.pre.scss +10 -15
  126. data/_sass/pooleparty/_footnotes.pre.scss +21 -15
  127. data/_sass/pooleparty/_message.pre.scss +10 -15
  128. data/_sass/pooleparty/_pagination.pre.scss +10 -15
  129. data/_sass/pooleparty/_posts.pre.scss +11 -16
  130. data/_sass/pooleparty/_read-more.pre.scss +36 -0
  131. data/_sass/pooleparty/_related.pre.scss +10 -15
  132. data/_sass/pooleparty/_table.pre.scss +10 -15
  133. data/_sass/pooleparty/_type.pre.scss +24 -50
  134. data/assets/Resume.pdf +0 -0
  135. data/assets/bower.json +3 -3
  136. data/assets/bower_components/fontfaceobserver/.bower.json +33 -0
  137. data/assets/bower_components/fontfaceobserver/.gitignore +2 -0
  138. data/assets/bower_components/fontfaceobserver/.travis.yml +16 -0
  139. data/assets/bower_components/fontfaceobserver/Gruntfile.js +101 -0
  140. data/assets/bower_components/fontfaceobserver/LICENSE +23 -0
  141. data/assets/bower_components/fontfaceobserver/bower.json +22 -0
  142. data/assets/bower_components/fontfaceobserver/exports.js +8 -0
  143. data/assets/bower_components/fontfaceobserver/externs-commonjs.js +10 -0
  144. data/assets/bower_components/fontfaceobserver/externs.js +15 -0
  145. data/assets/bower_components/fontfaceobserver/fontfaceobserver.js +12 -0
  146. data/assets/bower_components/fontfaceobserver/fontfaceobserver.standalone.js +8 -0
  147. data/assets/bower_components/fontfaceobserver/package.json +57 -0
  148. data/assets/bower_components/fontfaceobserver/src/descriptors.js +10 -0
  149. data/assets/bower_components/fontfaceobserver/src/observer.js +349 -0
  150. data/assets/bower_components/fontfaceobserver/src/ruler.js +130 -0
  151. data/assets/bower_components/fontfaceobserver/test/assets/index.html +8 -0
  152. data/assets/bower_components/fontfaceobserver/test/assets/late.css +1 -0
  153. data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.eot +0 -0
  154. data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.ttf +0 -0
  155. data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.woff +0 -0
  156. data/assets/bower_components/fontfaceobserver/test/assets/subset.eot +0 -0
  157. data/assets/bower_components/fontfaceobserver/test/assets/subset.ttf +0 -0
  158. data/assets/bower_components/fontfaceobserver/test/assets/subset.woff +0 -0
  159. data/assets/bower_components/fontfaceobserver/test/deps.js +5 -0
  160. data/assets/bower_components/fontfaceobserver/test/index.html +97 -0
  161. data/assets/bower_components/fontfaceobserver/test/observer-test.js +465 -0
  162. data/assets/bower_components/fontfaceobserver/test/ruler-test.js +112 -0
  163. data/assets/bower_components/fontfaceobserver/vendor/google/base.js +1489 -0
  164. data/assets/bower_components/katex/.bower.json +7 -6
  165. data/assets/bower_components/katex/dist/contrib/auto-render.js +790 -0
  166. data/assets/bower_components/katex/dist/contrib/auto-render.min.js +1 -1
  167. data/assets/bower_components/katex/dist/contrib/copy-tex.css +12 -0
  168. data/assets/bower_components/katex/dist/contrib/copy-tex.js +174 -0
  169. data/assets/bower_components/katex/dist/contrib/copy-tex.min.css +1 -0
  170. data/assets/bower_components/katex/dist/contrib/copy-tex.min.js +1 -0
  171. data/assets/bower_components/katex/dist/contrib/mathtex-script-type.js +113 -0
  172. data/assets/bower_components/katex/dist/contrib/mathtex-script-type.min.js +1 -0
  173. data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.ttf +0 -0
  174. data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff +0 -0
  175. data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  176. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  177. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  178. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  179. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  180. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  181. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  182. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  183. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  184. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  185. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  186. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  187. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  188. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.ttf +0 -0
  189. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff +0 -0
  190. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff2 +0 -0
  191. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  192. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  193. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  194. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.ttf +0 -0
  195. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff +0 -0
  196. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff2 +0 -0
  197. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.ttf +0 -0
  198. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff +0 -0
  199. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff2 +0 -0
  200. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.ttf +0 -0
  201. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff +0 -0
  202. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff2 +0 -0
  203. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  204. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  205. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  206. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  207. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  208. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  209. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  210. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  211. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  212. data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.ttf +0 -0
  213. data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff +0 -0
  214. data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff2 +0 -0
  215. data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.ttf +0 -0
  216. data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff +0 -0
  217. data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  218. data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.ttf +0 -0
  219. data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff +0 -0
  220. data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  221. data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.ttf +0 -0
  222. data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff +0 -0
  223. data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  224. data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.ttf +0 -0
  225. data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff +0 -0
  226. data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  227. data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  228. data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  229. data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  230. data/assets/bower_components/katex/dist/katex.css +129 -209
  231. data/assets/bower_components/katex/dist/katex.js +14381 -9023
  232. data/assets/bower_components/katex/dist/katex.min.css +1 -1
  233. data/assets/bower_components/katex/dist/katex.min.js +1 -6
  234. data/assets/bower_components/katex/flow-typed/match-at.js +3 -0
  235. data/assets/bower_components/katex/flow-typed/object-assign.js +6 -0
  236. data/assets/bower_components/katex/package-lock.json +13848 -0
  237. data/assets/css/hydejack-8.0.0.css +3 -0
  238. data/assets/img/default-1.jpg +0 -0
  239. data/assets/img/example-content-ii.jpg +0 -0
  240. data/assets/img/example-content-iii.jpg +0 -0
  241. data/assets/img/hydejack-8.jpg +0 -0
  242. data/assets/img/hydejack-8@0,25x.jpg +0 -0
  243. data/assets/img/hydejack-8@0,5x.jpg +0 -0
  244. data/assets/img/projects/hy-drawer.svg +12 -0
  245. data/assets/img/projects/hy-img.svg +17 -0
  246. data/assets/img/projects/hy-push-state.svg +13 -0
  247. data/assets/img/resume.png +0 -0
  248. data/assets/img/sidebar-bg.jpg +0 -0
  249. data/assets/img/swipe.svg +22 -0
  250. data/assets/img/w3m.png +0 -0
  251. data/assets/js/hydejack-8.0.0.js +46 -0
  252. data/assets/js/sw.js +318 -0
  253. data/assets/manifest.json +4 -3
  254. data/assets/version.json +1 -1
  255. data/licenses/Apache-2.0.md +1 -4
  256. data/licenses/GPL-3.0.md +1 -4
  257. data/licenses/MIT.md +1 -4
  258. data/licenses/PRO.md +2 -6
  259. data/licenses/README.md +10 -0
  260. data/licenses/W3C.md +31 -0
  261. metadata +107 -94
  262. data/_includes/blog.html +0 -5
  263. data/_includes/body.html +0 -25
  264. data/_includes/head.html +0 -5
  265. data/_includes/scripts/load-js-deferred.js +0 -68
  266. data/_includes/scripts/load-js-deferred.min.js +0 -1
  267. data/_includes/social-list-item.html +0 -34
  268. data/_includes/social.html +0 -20
  269. data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.eot +0 -0
  270. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.eot +0 -0
  271. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.eot +0 -0
  272. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.eot +0 -0
  273. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.eot +0 -0
  274. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.eot +0 -0
  275. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.eot +0 -0
  276. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.eot +0 -0
  277. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.eot +0 -0
  278. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  279. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  280. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  281. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.eot +0 -0
  282. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.eot +0 -0
  283. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.ttf +0 -0
  284. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.woff +0 -0
  285. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.woff2 +0 -0
  286. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.eot +0 -0
  287. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.eot +0 -0
  288. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.eot +0 -0
  289. data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.eot +0 -0
  290. data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.eot +0 -0
  291. data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.eot +0 -0
  292. data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.eot +0 -0
  293. data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.eot +0 -0
  294. data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.eot +0 -0
  295. data/assets/bower_components/webfontloader/.bower.json +0 -38
  296. data/assets/bower_components/webfontloader/CHANGELOG +0 -419
  297. data/assets/bower_components/webfontloader/Gemfile +0 -3
  298. data/assets/bower_components/webfontloader/LICENSE +0 -176
  299. data/assets/bower_components/webfontloader/Rakefile +0 -269
  300. data/assets/bower_components/webfontloader/bower.json +0 -23
  301. data/assets/bower_components/webfontloader/browsers.json +0 -133
  302. data/assets/bower_components/webfontloader/externs.js +0 -19
  303. data/assets/bower_components/webfontloader/package.json +0 -37
  304. data/assets/bower_components/webfontloader/src/closure.js +0 -2
  305. data/assets/bower_components/webfontloader/src/core/cssclassname.js +0 -46
  306. data/assets/bower_components/webfontloader/src/core/domhelper.js +0 -405
  307. data/assets/bower_components/webfontloader/src/core/eventdispatcher.js +0 -195
  308. data/assets/bower_components/webfontloader/src/core/font.js +0 -140
  309. data/assets/bower_components/webfontloader/src/core/fontmodule.js +0 -16
  310. data/assets/bower_components/webfontloader/src/core/fontmoduleloader.js +0 -47
  311. data/assets/bower_components/webfontloader/src/core/fontruler.js +0 -60
  312. data/assets/bower_components/webfontloader/src/core/fontwatcher.js +0 -171
  313. data/assets/bower_components/webfontloader/src/core/fontwatchrunner.js +0 -249
  314. data/assets/bower_components/webfontloader/src/core/initialize.js +0 -97
  315. data/assets/bower_components/webfontloader/src/core/nativefontwatchrunner.js +0 -69
  316. data/assets/bower_components/webfontloader/src/core/stylesheetwaiter.js +0 -48
  317. data/assets/bower_components/webfontloader/src/core/webfont.js +0 -97
  318. data/assets/bower_components/webfontloader/src/modules.yml +0 -34
  319. data/assets/bower_components/webfontloader/src/modules/custom.js +0 -63
  320. data/assets/bower_components/webfontloader/src/modules/fontdeck.js +0 -66
  321. data/assets/bower_components/webfontloader/src/modules/google/fontapiparser.js +0 -181
  322. data/assets/bower_components/webfontloader/src/modules/google/fontapiurlbuilder.js +0 -77
  323. data/assets/bower_components/webfontloader/src/modules/google/googlefontapi.js +0 -54
  324. data/assets/bower_components/webfontloader/src/modules/monotype.js +0 -110
  325. data/assets/bower_components/webfontloader/src/modules/typekit.js +0 -73
  326. data/assets/bower_components/webfontloader/webfontloader.gemspec +0 -191
  327. data/assets/bower_components/webfontloader/webfontloader.js +0 -17
  328. data/assets/js/hydejack-7.5.2.js +0 -249
@@ -32,14 +32,15 @@
32
32
  "/metrics",
33
33
  "/static"
34
34
  ],
35
- "version": "0.8.3",
36
- "_release": "0.8.3",
35
+ "version": "0.9.0",
36
+ "_release": "0.9.0",
37
37
  "_resolution": {
38
38
  "type": "version",
39
- "tag": "v0.8.3",
40
- "commit": "420fc66535b751dd0687466188702ca4c6b04258"
39
+ "tag": "v0.9.0",
40
+ "commit": "a4fad9138210d5a4dfe0a786cc116422409d216f"
41
41
  },
42
42
  "_source": "https://github.com/Khan/KaTeX.git",
43
- "_target": "^0.8.3",
44
- "_originalSource": "katex"
43
+ "_target": "^0.9.0",
44
+ "_originalSource": "katex",
45
+ "_direct": true
45
46
  }
@@ -0,0 +1,790 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("katex"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define(["katex"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["renderMathInElement"] = factory(require("katex"));
8
+ else
9
+ root["renderMathInElement"] = factory(root["katex"]);
10
+ })(this, function(__WEBPACK_EXTERNAL_MODULE_38__) {
11
+ return /******/ (function(modules) { // webpackBootstrap
12
+ /******/ // The module cache
13
+ /******/ var installedModules = {};
14
+ /******/
15
+ /******/ // The require function
16
+ /******/ function __webpack_require__(moduleId) {
17
+ /******/
18
+ /******/ // Check if module is in cache
19
+ /******/ if(installedModules[moduleId]) {
20
+ /******/ return installedModules[moduleId].exports;
21
+ /******/ }
22
+ /******/ // Create a new module (and put it into the cache)
23
+ /******/ var module = installedModules[moduleId] = {
24
+ /******/ i: moduleId,
25
+ /******/ l: false,
26
+ /******/ exports: {}
27
+ /******/ };
28
+ /******/
29
+ /******/ // Execute the module function
30
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31
+ /******/
32
+ /******/ // Flag the module as loaded
33
+ /******/ module.l = true;
34
+ /******/
35
+ /******/ // Return the exports of the module
36
+ /******/ return module.exports;
37
+ /******/ }
38
+ /******/
39
+ /******/
40
+ /******/ // expose the modules object (__webpack_modules__)
41
+ /******/ __webpack_require__.m = modules;
42
+ /******/
43
+ /******/ // expose the module cache
44
+ /******/ __webpack_require__.c = installedModules;
45
+ /******/
46
+ /******/ // define getter function for harmony exports
47
+ /******/ __webpack_require__.d = function(exports, name, getter) {
48
+ /******/ if(!__webpack_require__.o(exports, name)) {
49
+ /******/ Object.defineProperty(exports, name, {
50
+ /******/ configurable: false,
51
+ /******/ enumerable: true,
52
+ /******/ get: getter
53
+ /******/ });
54
+ /******/ }
55
+ /******/ };
56
+ /******/
57
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
58
+ /******/ __webpack_require__.n = function(module) {
59
+ /******/ var getter = module && module.__esModule ?
60
+ /******/ function getDefault() { return module['default']; } :
61
+ /******/ function getModuleExports() { return module; };
62
+ /******/ __webpack_require__.d(getter, 'a', getter);
63
+ /******/ return getter;
64
+ /******/ };
65
+ /******/
66
+ /******/ // Object.prototype.hasOwnProperty.call
67
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
68
+ /******/
69
+ /******/ // __webpack_public_path__
70
+ /******/ __webpack_require__.p = "";
71
+ /******/
72
+ /******/ // Load entry module and return exports
73
+ /******/ return __webpack_require__(__webpack_require__.s = 9);
74
+ /******/ })
75
+ /************************************************************************/
76
+ /******/ ([
77
+ /* 0 */
78
+ /***/ (function(module, exports) {
79
+
80
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
81
+ var global = module.exports = typeof window != 'undefined' && window.Math == Math
82
+ ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
83
+ if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
84
+
85
+ /***/ }),
86
+ /* 1 */
87
+ /***/ (function(module, exports) {
88
+
89
+ module.exports = function(it){
90
+ return typeof it === 'object' ? it !== null : typeof it === 'function';
91
+ };
92
+
93
+ /***/ }),
94
+ /* 2 */
95
+ /***/ (function(module, exports, __webpack_require__) {
96
+
97
+ // Thank's IE8 for his funny defineProperty
98
+ module.exports = !__webpack_require__(3)(function(){
99
+ return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
100
+ });
101
+
102
+ /***/ }),
103
+ /* 3 */
104
+ /***/ (function(module, exports) {
105
+
106
+ module.exports = function(exec){
107
+ try {
108
+ return !!exec();
109
+ } catch(e){
110
+ return true;
111
+ }
112
+ };
113
+
114
+ /***/ }),
115
+ /* 4 */
116
+ /***/ (function(module, exports) {
117
+
118
+ var core = module.exports = {version: '2.4.0'};
119
+ if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
120
+
121
+ /***/ }),
122
+ /* 5 */
123
+ /***/ (function(module, exports, __webpack_require__) {
124
+
125
+ // to indexed object, toObject with fallback for non-array-like ES3 strings
126
+ var IObject = __webpack_require__(6)
127
+ , defined = __webpack_require__(7);
128
+ module.exports = function(it){
129
+ return IObject(defined(it));
130
+ };
131
+
132
+ /***/ }),
133
+ /* 6 */
134
+ /***/ (function(module, exports, __webpack_require__) {
135
+
136
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
137
+ var cof = __webpack_require__(27);
138
+ module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
139
+ return cof(it) == 'String' ? it.split('') : Object(it);
140
+ };
141
+
142
+ /***/ }),
143
+ /* 7 */
144
+ /***/ (function(module, exports) {
145
+
146
+ // 7.2.1 RequireObjectCoercible(argument)
147
+ module.exports = function(it){
148
+ if(it == undefined)throw TypeError("Can't call method on " + it);
149
+ return it;
150
+ };
151
+
152
+ /***/ }),
153
+ /* 8 */
154
+ /***/ (function(module, exports) {
155
+
156
+ // 7.1.4 ToInteger
157
+ var ceil = Math.ceil
158
+ , floor = Math.floor;
159
+ module.exports = function(it){
160
+ return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
161
+ };
162
+
163
+ /***/ }),
164
+ /* 9 */
165
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
166
+
167
+ "use strict";
168
+ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
169
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_assign__ = __webpack_require__(10);
170
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_assign___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_assign__);
171
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_katex__ = __webpack_require__(38);
172
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_katex___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_katex__);
173
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__splitAtDelimiters__ = __webpack_require__(39);
174
+
175
+ /* eslint no-console:0 */
176
+
177
+
178
+
179
+
180
+ var splitWithDelimiters = function splitWithDelimiters(text, delimiters) {
181
+ var data = [{ type: "text", data: text }];
182
+ for (var i = 0; i < delimiters.length; i++) {
183
+ var delimiter = delimiters[i];
184
+ data = Object(__WEBPACK_IMPORTED_MODULE_2__splitAtDelimiters__["a" /* default */])(data, delimiter.left, delimiter.right, delimiter.display || false);
185
+ }
186
+ return data;
187
+ };
188
+
189
+ /* Note: optionsCopy is mutated by this method. If it is ever exposed in the
190
+ * API, we should copy it before mutating.
191
+ */
192
+ var renderMathInText = function renderMathInText(text, optionsCopy) {
193
+ var data = splitWithDelimiters(text, optionsCopy.delimiters);
194
+ var fragment = document.createDocumentFragment();
195
+
196
+ for (var i = 0; i < data.length; i++) {
197
+ if (data[i].type === "text") {
198
+ fragment.appendChild(document.createTextNode(data[i].data));
199
+ } else {
200
+ var span = document.createElement("span");
201
+ var math = data[i].data;
202
+ // Override any display mode defined in the settings with that
203
+ // defined by the text itself
204
+ optionsCopy.displayMode = data[i].display;
205
+ try {
206
+ __WEBPACK_IMPORTED_MODULE_1_katex___default.a.render(math, span, optionsCopy);
207
+ } catch (e) {
208
+ if (!(e instanceof __WEBPACK_IMPORTED_MODULE_1_katex___default.a.ParseError)) {
209
+ throw e;
210
+ }
211
+ optionsCopy.errorCallback("KaTeX auto-render: Failed to parse `" + data[i].data + "` with ", e);
212
+ fragment.appendChild(document.createTextNode(data[i].rawData));
213
+ continue;
214
+ }
215
+ fragment.appendChild(span);
216
+ }
217
+ }
218
+
219
+ return fragment;
220
+ };
221
+
222
+ var renderElem = function renderElem(elem, optionsCopy) {
223
+ for (var i = 0; i < elem.childNodes.length; i++) {
224
+ var childNode = elem.childNodes[i];
225
+ if (childNode.nodeType === 3) {
226
+ // Text node
227
+ var frag = renderMathInText(childNode.textContent, optionsCopy);
228
+ i += frag.childNodes.length - 1;
229
+ elem.replaceChild(frag, childNode);
230
+ } else if (childNode.nodeType === 1) {
231
+ // Element node
232
+ var shouldRender = optionsCopy.ignoredTags.indexOf(childNode.nodeName.toLowerCase()) === -1;
233
+
234
+ if (shouldRender) {
235
+ renderElem(childNode, optionsCopy);
236
+ }
237
+ }
238
+ // Otherwise, it's something else, and ignore it.
239
+ }
240
+ };
241
+
242
+ var defaultAutoRenderOptions = {
243
+ delimiters: [{ left: "$$", right: "$$", display: true }, { left: "\\[", right: "\\]", display: true }, { left: "\\(", right: "\\)", display: false }],
244
+
245
+ ignoredTags: ["script", "noscript", "style", "textarea", "pre", "code"],
246
+
247
+ errorCallback: function errorCallback(msg, err) {
248
+ console.error(msg, err);
249
+ }
250
+ };
251
+
252
+ var renderMathInElement = function renderMathInElement(elem, options) {
253
+ if (!elem) {
254
+ throw new Error("No element provided to render");
255
+ }
256
+
257
+ var optionsCopy = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_assign___default()({}, defaultAutoRenderOptions, options);
258
+ renderElem(elem, optionsCopy);
259
+ };
260
+
261
+ /* harmony default export */ __webpack_exports__["default"] = (renderMathInElement);
262
+
263
+ /***/ }),
264
+ /* 10 */
265
+ /***/ (function(module, exports, __webpack_require__) {
266
+
267
+ module.exports = { "default": __webpack_require__(11), __esModule: true };
268
+
269
+ /***/ }),
270
+ /* 11 */
271
+ /***/ (function(module, exports, __webpack_require__) {
272
+
273
+ __webpack_require__(12);
274
+ module.exports = __webpack_require__(4).Object.assign;
275
+
276
+ /***/ }),
277
+ /* 12 */
278
+ /***/ (function(module, exports, __webpack_require__) {
279
+
280
+ // 19.1.3.1 Object.assign(target, source)
281
+ var $export = __webpack_require__(13);
282
+
283
+ $export($export.S + $export.F, 'Object', {assign: __webpack_require__(23)});
284
+
285
+ /***/ }),
286
+ /* 13 */
287
+ /***/ (function(module, exports, __webpack_require__) {
288
+
289
+ var global = __webpack_require__(0)
290
+ , core = __webpack_require__(4)
291
+ , ctx = __webpack_require__(14)
292
+ , hide = __webpack_require__(16)
293
+ , PROTOTYPE = 'prototype';
294
+
295
+ var $export = function(type, name, source){
296
+ var IS_FORCED = type & $export.F
297
+ , IS_GLOBAL = type & $export.G
298
+ , IS_STATIC = type & $export.S
299
+ , IS_PROTO = type & $export.P
300
+ , IS_BIND = type & $export.B
301
+ , IS_WRAP = type & $export.W
302
+ , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
303
+ , expProto = exports[PROTOTYPE]
304
+ , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
305
+ , key, own, out;
306
+ if(IS_GLOBAL)source = name;
307
+ for(key in source){
308
+ // contains in native
309
+ own = !IS_FORCED && target && target[key] !== undefined;
310
+ if(own && key in exports)continue;
311
+ // export native or passed
312
+ out = own ? target[key] : source[key];
313
+ // prevent global pollution for namespaces
314
+ exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
315
+ // bind timers to global for call from export context
316
+ : IS_BIND && own ? ctx(out, global)
317
+ // wrap global constructors for prevent change them in library
318
+ : IS_WRAP && target[key] == out ? (function(C){
319
+ var F = function(a, b, c){
320
+ if(this instanceof C){
321
+ switch(arguments.length){
322
+ case 0: return new C;
323
+ case 1: return new C(a);
324
+ case 2: return new C(a, b);
325
+ } return new C(a, b, c);
326
+ } return C.apply(this, arguments);
327
+ };
328
+ F[PROTOTYPE] = C[PROTOTYPE];
329
+ return F;
330
+ // make static versions for prototype methods
331
+ })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
332
+ // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
333
+ if(IS_PROTO){
334
+ (exports.virtual || (exports.virtual = {}))[key] = out;
335
+ // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
336
+ if(type & $export.R && expProto && !expProto[key])hide(expProto, key, out);
337
+ }
338
+ }
339
+ };
340
+ // type bitmap
341
+ $export.F = 1; // forced
342
+ $export.G = 2; // global
343
+ $export.S = 4; // static
344
+ $export.P = 8; // proto
345
+ $export.B = 16; // bind
346
+ $export.W = 32; // wrap
347
+ $export.U = 64; // safe
348
+ $export.R = 128; // real proto method for `library`
349
+ module.exports = $export;
350
+
351
+ /***/ }),
352
+ /* 14 */
353
+ /***/ (function(module, exports, __webpack_require__) {
354
+
355
+ // optional / simple context binding
356
+ var aFunction = __webpack_require__(15);
357
+ module.exports = function(fn, that, length){
358
+ aFunction(fn);
359
+ if(that === undefined)return fn;
360
+ switch(length){
361
+ case 1: return function(a){
362
+ return fn.call(that, a);
363
+ };
364
+ case 2: return function(a, b){
365
+ return fn.call(that, a, b);
366
+ };
367
+ case 3: return function(a, b, c){
368
+ return fn.call(that, a, b, c);
369
+ };
370
+ }
371
+ return function(/* ...args */){
372
+ return fn.apply(that, arguments);
373
+ };
374
+ };
375
+
376
+ /***/ }),
377
+ /* 15 */
378
+ /***/ (function(module, exports) {
379
+
380
+ module.exports = function(it){
381
+ if(typeof it != 'function')throw TypeError(it + ' is not a function!');
382
+ return it;
383
+ };
384
+
385
+ /***/ }),
386
+ /* 16 */
387
+ /***/ (function(module, exports, __webpack_require__) {
388
+
389
+ var dP = __webpack_require__(17)
390
+ , createDesc = __webpack_require__(22);
391
+ module.exports = __webpack_require__(2) ? function(object, key, value){
392
+ return dP.f(object, key, createDesc(1, value));
393
+ } : function(object, key, value){
394
+ object[key] = value;
395
+ return object;
396
+ };
397
+
398
+ /***/ }),
399
+ /* 17 */
400
+ /***/ (function(module, exports, __webpack_require__) {
401
+
402
+ var anObject = __webpack_require__(18)
403
+ , IE8_DOM_DEFINE = __webpack_require__(19)
404
+ , toPrimitive = __webpack_require__(21)
405
+ , dP = Object.defineProperty;
406
+
407
+ exports.f = __webpack_require__(2) ? Object.defineProperty : function defineProperty(O, P, Attributes){
408
+ anObject(O);
409
+ P = toPrimitive(P, true);
410
+ anObject(Attributes);
411
+ if(IE8_DOM_DEFINE)try {
412
+ return dP(O, P, Attributes);
413
+ } catch(e){ /* empty */ }
414
+ if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');
415
+ if('value' in Attributes)O[P] = Attributes.value;
416
+ return O;
417
+ };
418
+
419
+ /***/ }),
420
+ /* 18 */
421
+ /***/ (function(module, exports, __webpack_require__) {
422
+
423
+ var isObject = __webpack_require__(1);
424
+ module.exports = function(it){
425
+ if(!isObject(it))throw TypeError(it + ' is not an object!');
426
+ return it;
427
+ };
428
+
429
+ /***/ }),
430
+ /* 19 */
431
+ /***/ (function(module, exports, __webpack_require__) {
432
+
433
+ module.exports = !__webpack_require__(2) && !__webpack_require__(3)(function(){
434
+ return Object.defineProperty(__webpack_require__(20)('div'), 'a', {get: function(){ return 7; }}).a != 7;
435
+ });
436
+
437
+ /***/ }),
438
+ /* 20 */
439
+ /***/ (function(module, exports, __webpack_require__) {
440
+
441
+ var isObject = __webpack_require__(1)
442
+ , document = __webpack_require__(0).document
443
+ // in old IE typeof document.createElement is 'object'
444
+ , is = isObject(document) && isObject(document.createElement);
445
+ module.exports = function(it){
446
+ return is ? document.createElement(it) : {};
447
+ };
448
+
449
+ /***/ }),
450
+ /* 21 */
451
+ /***/ (function(module, exports, __webpack_require__) {
452
+
453
+ // 7.1.1 ToPrimitive(input [, PreferredType])
454
+ var isObject = __webpack_require__(1);
455
+ // instead of the ES6 spec version, we didn't implement @@toPrimitive case
456
+ // and the second argument - flag - preferred type is a string
457
+ module.exports = function(it, S){
458
+ if(!isObject(it))return it;
459
+ var fn, val;
460
+ if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
461
+ if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;
462
+ if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
463
+ throw TypeError("Can't convert object to primitive value");
464
+ };
465
+
466
+ /***/ }),
467
+ /* 22 */
468
+ /***/ (function(module, exports) {
469
+
470
+ module.exports = function(bitmap, value){
471
+ return {
472
+ enumerable : !(bitmap & 1),
473
+ configurable: !(bitmap & 2),
474
+ writable : !(bitmap & 4),
475
+ value : value
476
+ };
477
+ };
478
+
479
+ /***/ }),
480
+ /* 23 */
481
+ /***/ (function(module, exports, __webpack_require__) {
482
+
483
+ "use strict";
484
+
485
+ // 19.1.2.1 Object.assign(target, source, ...)
486
+ var getKeys = __webpack_require__(24)
487
+ , gOPS = __webpack_require__(35)
488
+ , pIE = __webpack_require__(36)
489
+ , toObject = __webpack_require__(37)
490
+ , IObject = __webpack_require__(6)
491
+ , $assign = Object.assign;
492
+
493
+ // should work with symbols and should have deterministic property order (V8 bug)
494
+ module.exports = !$assign || __webpack_require__(3)(function(){
495
+ var A = {}
496
+ , B = {}
497
+ , S = Symbol()
498
+ , K = 'abcdefghijklmnopqrst';
499
+ A[S] = 7;
500
+ K.split('').forEach(function(k){ B[k] = k; });
501
+ return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;
502
+ }) ? function assign(target, source){ // eslint-disable-line no-unused-vars
503
+ var T = toObject(target)
504
+ , aLen = arguments.length
505
+ , index = 1
506
+ , getSymbols = gOPS.f
507
+ , isEnum = pIE.f;
508
+ while(aLen > index){
509
+ var S = IObject(arguments[index++])
510
+ , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)
511
+ , length = keys.length
512
+ , j = 0
513
+ , key;
514
+ while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];
515
+ } return T;
516
+ } : $assign;
517
+
518
+ /***/ }),
519
+ /* 24 */
520
+ /***/ (function(module, exports, __webpack_require__) {
521
+
522
+ // 19.1.2.14 / 15.2.3.14 Object.keys(O)
523
+ var $keys = __webpack_require__(25)
524
+ , enumBugKeys = __webpack_require__(34);
525
+
526
+ module.exports = Object.keys || function keys(O){
527
+ return $keys(O, enumBugKeys);
528
+ };
529
+
530
+ /***/ }),
531
+ /* 25 */
532
+ /***/ (function(module, exports, __webpack_require__) {
533
+
534
+ var has = __webpack_require__(26)
535
+ , toIObject = __webpack_require__(5)
536
+ , arrayIndexOf = __webpack_require__(28)(false)
537
+ , IE_PROTO = __webpack_require__(31)('IE_PROTO');
538
+
539
+ module.exports = function(object, names){
540
+ var O = toIObject(object)
541
+ , i = 0
542
+ , result = []
543
+ , key;
544
+ for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);
545
+ // Don't enum bug & hidden keys
546
+ while(names.length > i)if(has(O, key = names[i++])){
547
+ ~arrayIndexOf(result, key) || result.push(key);
548
+ }
549
+ return result;
550
+ };
551
+
552
+ /***/ }),
553
+ /* 26 */
554
+ /***/ (function(module, exports) {
555
+
556
+ var hasOwnProperty = {}.hasOwnProperty;
557
+ module.exports = function(it, key){
558
+ return hasOwnProperty.call(it, key);
559
+ };
560
+
561
+ /***/ }),
562
+ /* 27 */
563
+ /***/ (function(module, exports) {
564
+
565
+ var toString = {}.toString;
566
+
567
+ module.exports = function(it){
568
+ return toString.call(it).slice(8, -1);
569
+ };
570
+
571
+ /***/ }),
572
+ /* 28 */
573
+ /***/ (function(module, exports, __webpack_require__) {
574
+
575
+ // false -> Array#indexOf
576
+ // true -> Array#includes
577
+ var toIObject = __webpack_require__(5)
578
+ , toLength = __webpack_require__(29)
579
+ , toIndex = __webpack_require__(30);
580
+ module.exports = function(IS_INCLUDES){
581
+ return function($this, el, fromIndex){
582
+ var O = toIObject($this)
583
+ , length = toLength(O.length)
584
+ , index = toIndex(fromIndex, length)
585
+ , value;
586
+ // Array#includes uses SameValueZero equality algorithm
587
+ if(IS_INCLUDES && el != el)while(length > index){
588
+ value = O[index++];
589
+ if(value != value)return true;
590
+ // Array#toIndex ignores holes, Array#includes - not
591
+ } else for(;length > index; index++)if(IS_INCLUDES || index in O){
592
+ if(O[index] === el)return IS_INCLUDES || index || 0;
593
+ } return !IS_INCLUDES && -1;
594
+ };
595
+ };
596
+
597
+ /***/ }),
598
+ /* 29 */
599
+ /***/ (function(module, exports, __webpack_require__) {
600
+
601
+ // 7.1.15 ToLength
602
+ var toInteger = __webpack_require__(8)
603
+ , min = Math.min;
604
+ module.exports = function(it){
605
+ return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
606
+ };
607
+
608
+ /***/ }),
609
+ /* 30 */
610
+ /***/ (function(module, exports, __webpack_require__) {
611
+
612
+ var toInteger = __webpack_require__(8)
613
+ , max = Math.max
614
+ , min = Math.min;
615
+ module.exports = function(index, length){
616
+ index = toInteger(index);
617
+ return index < 0 ? max(index + length, 0) : min(index, length);
618
+ };
619
+
620
+ /***/ }),
621
+ /* 31 */
622
+ /***/ (function(module, exports, __webpack_require__) {
623
+
624
+ var shared = __webpack_require__(32)('keys')
625
+ , uid = __webpack_require__(33);
626
+ module.exports = function(key){
627
+ return shared[key] || (shared[key] = uid(key));
628
+ };
629
+
630
+ /***/ }),
631
+ /* 32 */
632
+ /***/ (function(module, exports, __webpack_require__) {
633
+
634
+ var global = __webpack_require__(0)
635
+ , SHARED = '__core-js_shared__'
636
+ , store = global[SHARED] || (global[SHARED] = {});
637
+ module.exports = function(key){
638
+ return store[key] || (store[key] = {});
639
+ };
640
+
641
+ /***/ }),
642
+ /* 33 */
643
+ /***/ (function(module, exports) {
644
+
645
+ var id = 0
646
+ , px = Math.random();
647
+ module.exports = function(key){
648
+ return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
649
+ };
650
+
651
+ /***/ }),
652
+ /* 34 */
653
+ /***/ (function(module, exports) {
654
+
655
+ // IE 8- don't enum bug keys
656
+ module.exports = (
657
+ 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
658
+ ).split(',');
659
+
660
+ /***/ }),
661
+ /* 35 */
662
+ /***/ (function(module, exports) {
663
+
664
+ exports.f = Object.getOwnPropertySymbols;
665
+
666
+ /***/ }),
667
+ /* 36 */
668
+ /***/ (function(module, exports) {
669
+
670
+ exports.f = {}.propertyIsEnumerable;
671
+
672
+ /***/ }),
673
+ /* 37 */
674
+ /***/ (function(module, exports, __webpack_require__) {
675
+
676
+ // 7.1.13 ToObject(argument)
677
+ var defined = __webpack_require__(7);
678
+ module.exports = function(it){
679
+ return Object(defined(it));
680
+ };
681
+
682
+ /***/ }),
683
+ /* 38 */
684
+ /***/ (function(module, exports) {
685
+
686
+ module.exports = __WEBPACK_EXTERNAL_MODULE_38__;
687
+
688
+ /***/ }),
689
+ /* 39 */
690
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
691
+
692
+ "use strict";
693
+ /* eslint no-constant-condition:0 */
694
+ var findEndOfMath = function findEndOfMath(delimiter, text, startIndex) {
695
+ // Adapted from
696
+ // https://github.com/Khan/perseus/blob/master/src/perseus-markdown.jsx
697
+ var index = startIndex;
698
+ var braceLevel = 0;
699
+
700
+ var delimLength = delimiter.length;
701
+
702
+ while (index < text.length) {
703
+ var character = text[index];
704
+
705
+ if (braceLevel <= 0 && text.slice(index, index + delimLength) === delimiter) {
706
+ return index;
707
+ } else if (character === "\\") {
708
+ index++;
709
+ } else if (character === "{") {
710
+ braceLevel++;
711
+ } else if (character === "}") {
712
+ braceLevel--;
713
+ }
714
+
715
+ index++;
716
+ }
717
+
718
+ return -1;
719
+ };
720
+
721
+ var splitAtDelimiters = function splitAtDelimiters(startData, leftDelim, rightDelim, display) {
722
+ var finalData = [];
723
+
724
+ for (var i = 0; i < startData.length; i++) {
725
+ if (startData[i].type === "text") {
726
+ var text = startData[i].data;
727
+
728
+ var lookingForLeft = true;
729
+ var currIndex = 0;
730
+ var nextIndex = void 0;
731
+
732
+ nextIndex = text.indexOf(leftDelim);
733
+ if (nextIndex !== -1) {
734
+ currIndex = nextIndex;
735
+ finalData.push({
736
+ type: "text",
737
+ data: text.slice(0, currIndex)
738
+ });
739
+ lookingForLeft = false;
740
+ }
741
+
742
+ while (true) {
743
+ if (lookingForLeft) {
744
+ nextIndex = text.indexOf(leftDelim, currIndex);
745
+ if (nextIndex === -1) {
746
+ break;
747
+ }
748
+
749
+ finalData.push({
750
+ type: "text",
751
+ data: text.slice(currIndex, nextIndex)
752
+ });
753
+
754
+ currIndex = nextIndex;
755
+ } else {
756
+ nextIndex = findEndOfMath(rightDelim, text, currIndex + leftDelim.length);
757
+ if (nextIndex === -1) {
758
+ break;
759
+ }
760
+
761
+ finalData.push({
762
+ type: "math",
763
+ data: text.slice(currIndex + leftDelim.length, nextIndex),
764
+ rawData: text.slice(currIndex, nextIndex + rightDelim.length),
765
+ display: display
766
+ });
767
+
768
+ currIndex = nextIndex + rightDelim.length;
769
+ }
770
+
771
+ lookingForLeft = !lookingForLeft;
772
+ }
773
+
774
+ finalData.push({
775
+ type: "text",
776
+ data: text.slice(currIndex)
777
+ });
778
+ } else {
779
+ finalData.push(startData[i]);
780
+ }
781
+ }
782
+
783
+ return finalData;
784
+ };
785
+
786
+ /* harmony default export */ __webpack_exports__["a"] = (splitAtDelimiters);
787
+
788
+ /***/ })
789
+ /******/ ])["default"];
790
+ });