jekyll-theme-hydejack 8.5.1 → 9.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (370) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE.md +9 -3
  3. data/NOTICE.md +289 -0
  4. data/README.md +126 -86
  5. data/_config.yml +73 -0
  6. data/_includes/base-classes +9 -0
  7. data/_includes/body/analytics.html +1 -1
  8. data/_includes/body/comments.html +1 -1
  9. data/_includes/body/footer.html +3 -3
  10. data/_includes/body/index.html +17 -16
  11. data/_includes/body/main.html +3 -13
  12. data/_includes/body/menu.html +3 -14
  13. data/_includes/body/nav.html +4 -4
  14. data/_includes/body/scripts.html +3 -4
  15. data/_includes/body/sidebar-bg.html +13 -0
  16. data/_includes/body/sidebar-sticky.html +25 -0
  17. data/_includes/body/sidebar.html +7 -40
  18. data/_includes/components/about.html +1 -1
  19. data/_includes/components/author.html +3 -3
  20. data/_includes/components/hy-img.html +15 -26
  21. data/_includes/components/link.html +1 -1
  22. data/_includes/components/message.html +1 -1
  23. data/_includes/components/post-list-item.html +3 -3
  24. data/_includes/components/post.html +14 -11
  25. data/_includes/components/related-posts.html +14 -4
  26. data/_includes/components/tag-list.html +5 -1
  27. data/_includes/head/css/inline +1 -0
  28. data/_includes/head/index.html +14 -8
  29. data/_includes/head/links-static.html +27 -0
  30. data/_includes/head/links.html +1 -34
  31. data/_includes/head/meta-static.html +17 -0
  32. data/_includes/head/meta.html +8 -24
  33. data/_includes/head/page-style.html +1 -3
  34. data/_includes/head/scripts.html +12 -7
  35. data/_includes/head/styles-inline.html +19 -0
  36. data/_includes/head/styles-layout.html +4 -0
  37. data/_includes/head/styles-no-inline.html +8 -0
  38. data/_includes/head/styles.html +5 -34
  39. data/_includes/header.txt +1 -1
  40. data/_includes/if-non-null +7 -0
  41. data/_includes/my-body.html +1 -1
  42. data/_includes/my-scripts.html +1 -1
  43. data/_includes/scripts/load-js.min.js +1 -1
  44. data/_includes/scripts/nomodule.js +21 -0
  45. data/_includes/scripts/nomodule.min.js +1 -0
  46. data/_includes/smart-url +1 -0
  47. data/_includes/smart-url.txt +1 -1
  48. data/_includes/styles/common.scss +18 -0
  49. data/_includes/styles/inline.scss +16 -28
  50. data/_includes/styles/page-style.scss +7 -62
  51. data/_includes/styles/style.scss +25 -36
  52. data/_includes/styles/variables.scss +64 -0
  53. data/_includes/templates/animation.html +1 -1
  54. data/_includes/templates/back.html +2 -2
  55. data/_includes/templates/error.html +1 -1
  56. data/_includes/templates/forward.html +2 -2
  57. data/_includes/templates/index.html +10 -11
  58. data/_includes/templates/loading.html +1 -1
  59. data/_includes/templates/permalink.html +2 -2
  60. data/_layouts/about.html +1 -1
  61. data/_layouts/base.html +9 -4
  62. data/_layouts/blog.html +9 -7
  63. data/_layouts/compress.html +1 -1
  64. data/_layouts/default.html +4 -4
  65. data/_layouts/list.html +11 -17
  66. data/_layouts/page.html +1 -0
  67. data/_layouts/post.html +5 -3
  68. data/_sass/_mixins.scss +7 -21
  69. data/_sass/_spinner.scss +1 -1
  70. data/_sass/_syntax.scss +142 -130
  71. data/_sass/_variables.scss +2 -43
  72. data/_sass/html.scss +42 -0
  73. data/_sass/hydejack/__inline__/_avatar.scss +10 -10
  74. data/_sass/hydejack/__inline__/_base.scss +7 -21
  75. data/_sass/hydejack/__inline__/_content.scss +9 -2
  76. data/_sass/hydejack/__inline__/_images.scss +1 -3
  77. data/_sass/hydejack/__inline__/_links.scss +28 -13
  78. data/_sass/hydejack/__inline__/_menu.scss +42 -13
  79. data/_sass/hydejack/__inline__/_sidebar.scss +40 -14
  80. data/_sass/hydejack/__inline__/_social.scss +3 -0
  81. data/_sass/hydejack/__inline__/_toc.scss +55 -0
  82. data/_sass/hydejack/__inline__/_utilities.scss +3 -0
  83. data/_sass/hydejack/__link__/_avatar.scss +0 -4
  84. data/_sass/hydejack/__link__/_base.scss +1 -2
  85. data/_sass/hydejack/__link__/_break-layout.scss +17 -8
  86. data/_sass/hydejack/__link__/_content.scss +1 -0
  87. data/_sass/hydejack/__link__/_footer.scss +6 -8
  88. data/_sass/hydejack/__link__/_images.scss +5 -40
  89. data/_sass/hydejack/__link__/_katex.scss +1 -26
  90. data/_sass/hydejack/__link__/_links.scss +29 -20
  91. data/_sass/hydejack/__link__/_mark-external.scss +2 -7
  92. data/_sass/hydejack/__link__/_menu.scss +63 -8
  93. data/_sass/hydejack/__link__/_sidebar.scss +12 -9
  94. data/_sass/hydejack/__link__/_toc.scss +53 -0
  95. data/_sass/hydejack/__link__/_utilities.scss +3 -0
  96. data/_sass/hydejack/_avatar.pre.scss +10 -12
  97. data/_sass/hydejack/_base.pre.scss +7 -23
  98. data/_sass/hydejack/_break-layout.pre.scss +19 -10
  99. data/_sass/hydejack/_content.pre.scss +10 -2
  100. data/_sass/hydejack/_footer.pre.scss +6 -8
  101. data/_sass/hydejack/_images.pre.scss +6 -42
  102. data/_sass/hydejack/_katex.pre.scss +3 -28
  103. data/_sass/hydejack/_links.pre.scss +49 -19
  104. data/_sass/hydejack/_mark-external.pre.scss +2 -7
  105. data/_sass/hydejack/_menu.pre.scss +91 -22
  106. data/_sass/hydejack/_sidebar.pre.scss +48 -22
  107. data/_sass/hydejack/_social.pre.scss +3 -0
  108. data/_sass/hydejack/_toc.pre.scss +65 -0
  109. data/_sass/hydejack/_utilities.pre.scss +3 -0
  110. data/_sass/my-inline.scss +2 -16
  111. data/_sass/my-style.scss +0 -9
  112. data/_sass/pooleparty/__inline__/_base.scss +10 -9
  113. data/_sass/pooleparty/__inline__/_message.scss +31 -0
  114. data/_sass/pooleparty/__inline__/_posts.scss +19 -2
  115. data/_sass/pooleparty/__inline__/_table.scss +0 -28
  116. data/_sass/pooleparty/__inline__/_type.scss +81 -15
  117. data/_sass/pooleparty/__link__/_base.scss +11 -5
  118. data/_sass/pooleparty/__link__/_code.scss +40 -7
  119. data/_sass/pooleparty/__link__/_footnotes.scss +4 -5
  120. data/_sass/pooleparty/__link__/_pagination.scss +3 -2
  121. data/_sass/pooleparty/__link__/_posts.scss +11 -6
  122. data/_sass/pooleparty/__link__/_read-more.scss +1 -1
  123. data/_sass/pooleparty/__link__/_table.scss +27 -16
  124. data/_sass/pooleparty/__link__/_type.scss +56 -19
  125. data/_sass/pooleparty/_base.pre.scss +25 -18
  126. data/_sass/pooleparty/_code.pre.scss +40 -7
  127. data/_sass/pooleparty/_footnotes.pre.scss +4 -5
  128. data/_sass/pooleparty/_message.pre.scss +33 -2
  129. data/_sass/pooleparty/_pagination.pre.scss +5 -4
  130. data/_sass/pooleparty/_posts.pre.scss +34 -12
  131. data/_sass/pooleparty/_read-more.pre.scss +1 -1
  132. data/_sass/pooleparty/_table.pre.scss +13 -20
  133. data/_sass/pooleparty/_type.pre.scss +100 -35
  134. data/assets/bower_components/MathJax/.bower.json +28 -0
  135. data/assets/bower_components/MathJax/LICENSE +202 -0
  136. data/assets/bower_components/MathJax/bower.json +11 -0
  137. data/assets/bower_components/MathJax/composer.json +14 -0
  138. data/assets/bower_components/MathJax/es5/a11y/assistive-mml.js +1 -0
  139. data/assets/bower_components/MathJax/es5/a11y/complexity.js +1 -0
  140. data/assets/bower_components/MathJax/es5/a11y/explorer.js +1 -0
  141. data/assets/bower_components/MathJax/es5/a11y/semantic-enrich.js +1 -0
  142. data/assets/bower_components/MathJax/es5/adaptors/liteDOM.js +1 -0
  143. data/assets/bower_components/MathJax/es5/core.js +1 -0
  144. data/assets/bower_components/MathJax/es5/input/asciimath.js +1 -0
  145. data/assets/bower_components/MathJax/es5/input/mml.js +1 -0
  146. data/assets/bower_components/MathJax/es5/input/mml/entities.js +1 -0
  147. data/assets/bower_components/MathJax/es5/input/tex-base.js +1 -0
  148. data/assets/bower_components/MathJax/es5/input/tex-full.js +1 -0
  149. data/assets/bower_components/MathJax/es5/input/tex.js +1 -0
  150. data/assets/bower_components/MathJax/es5/input/tex/extensions/action.js +1 -0
  151. data/assets/bower_components/MathJax/es5/input/tex/extensions/all-packages.js +1 -0
  152. data/assets/bower_components/MathJax/es5/input/tex/extensions/ams.js +1 -0
  153. data/assets/bower_components/MathJax/es5/input/tex/extensions/amscd.js +1 -0
  154. data/assets/bower_components/MathJax/es5/input/tex/extensions/autoload.js +1 -0
  155. data/assets/bower_components/MathJax/es5/input/tex/extensions/bbox.js +1 -0
  156. data/assets/bower_components/MathJax/es5/input/tex/extensions/boldsymbol.js +1 -0
  157. data/assets/bower_components/MathJax/es5/input/tex/extensions/braket.js +1 -0
  158. data/assets/bower_components/MathJax/es5/input/tex/extensions/bussproofs.js +1 -0
  159. data/assets/bower_components/MathJax/es5/input/tex/extensions/cancel.js +1 -0
  160. data/assets/bower_components/MathJax/es5/input/tex/extensions/color.js +1 -0
  161. data/assets/bower_components/MathJax/es5/input/tex/extensions/colorV2.js +1 -0
  162. data/assets/bower_components/MathJax/es5/input/tex/extensions/configMacros.js +1 -0
  163. data/assets/bower_components/MathJax/es5/input/tex/extensions/enclose.js +1 -0
  164. data/assets/bower_components/MathJax/es5/input/tex/extensions/extpfeil.js +1 -0
  165. data/assets/bower_components/MathJax/es5/input/tex/extensions/html.js +1 -0
  166. data/assets/bower_components/MathJax/es5/input/tex/extensions/mhchem.js +1 -0
  167. data/assets/bower_components/MathJax/es5/input/tex/extensions/newcommand.js +1 -0
  168. data/assets/bower_components/MathJax/es5/input/tex/extensions/noerrors.js +1 -0
  169. data/assets/bower_components/MathJax/es5/input/tex/extensions/noundefined.js +1 -0
  170. data/assets/bower_components/MathJax/es5/input/tex/extensions/physics.js +1 -0
  171. data/assets/bower_components/MathJax/es5/input/tex/extensions/require.js +1 -0
  172. data/assets/bower_components/MathJax/es5/input/tex/extensions/tagFormat.js +1 -0
  173. data/assets/bower_components/MathJax/es5/input/tex/extensions/unicode.js +1 -0
  174. data/assets/bower_components/MathJax/es5/input/tex/extensions/verb.js +1 -0
  175. data/assets/bower_components/MathJax/es5/latest.js +1 -0
  176. data/assets/bower_components/MathJax/es5/loader.js +1 -0
  177. data/assets/bower_components/MathJax/es5/mml-chtml.js +1 -0
  178. data/assets/bower_components/MathJax/es5/mml-svg.js +1 -0
  179. data/assets/bower_components/MathJax/es5/node-main.js +1 -0
  180. data/assets/bower_components/MathJax/es5/output/chtml.js +1 -0
  181. data/assets/bower_components/MathJax/es5/output/chtml/fonts/tex.js +1 -0
  182. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
  183. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
  184. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
  185. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
  186. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
  187. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
  188. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
  189. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
  190. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
  191. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
  192. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
  193. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
  194. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
  195. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
  196. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
  197. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
  198. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
  199. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
  200. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
  201. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
  202. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
  203. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
  204. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
  205. data/assets/bower_components/MathJax/es5/output/svg.js +1 -0
  206. data/assets/bower_components/MathJax/es5/output/svg/fonts/tex.js +1 -0
  207. data/assets/bower_components/MathJax/es5/sre/mathmaps/en.js +104 -0
  208. data/assets/bower_components/MathJax/es5/sre/mathmaps/es.js +104 -0
  209. data/assets/bower_components/MathJax/es5/sre/mathmaps/fr.js +104 -0
  210. data/assets/bower_components/MathJax/es5/sre/mathmaps/mathmaps_ie.js +410 -0
  211. data/assets/bower_components/MathJax/es5/sre/mathmaps/nemeth.js +104 -0
  212. data/assets/bower_components/MathJax/es5/sre/sre_browser.js +1709 -0
  213. data/assets/bower_components/MathJax/es5/startup.js +1 -0
  214. data/assets/bower_components/MathJax/es5/tex-chtml-full.js +1 -0
  215. data/assets/bower_components/MathJax/es5/tex-chtml.js +1 -0
  216. data/assets/bower_components/MathJax/es5/tex-mml-chtml.js +1 -0
  217. data/assets/bower_components/MathJax/es5/tex-mml-svg.js +1 -0
  218. data/assets/bower_components/MathJax/es5/tex-svg-full.js +1 -0
  219. data/assets/bower_components/MathJax/es5/tex-svg.js +1 -0
  220. data/assets/bower_components/MathJax/es5/ui/menu.js +1 -0
  221. data/assets/bower_components/MathJax/package.json +59 -0
  222. data/assets/bower_components/katex/.bower.json +2 -3
  223. data/assets/css/{hydejack-7.5.2.css → hydejack-9.0.3.css} +0 -0
  224. data/assets/icomoon/fonts/icomoon.eot +0 -0
  225. data/assets/icomoon/fonts/icomoon.svg +8 -2
  226. data/assets/icomoon/fonts/icomoon.ttf +0 -0
  227. data/assets/icomoon/fonts/icomoon.woff +0 -0
  228. data/assets/icomoon/selection.json +1 -1
  229. data/assets/icomoon/style.css +31 -12
  230. data/assets/icons/favicon.ico +0 -0
  231. data/assets/icons/icon-128x128.png +0 -0
  232. data/assets/icons/icon-144x144.png +0 -0
  233. data/assets/icons/icon-152x152.png +0 -0
  234. data/assets/icons/icon-192x192.png +0 -0
  235. data/assets/icons/icon-384x384.png +0 -0
  236. data/assets/icons/icon-512x512.png +0 -0
  237. data/assets/icons/icon-72x72.png +0 -0
  238. data/assets/icons/icon-96x96.png +0 -0
  239. data/assets/img/logo.png +0 -0
  240. data/assets/img/sidebar-bg.jpg +0 -0
  241. data/assets/js/.gitkeep +0 -0
  242. data/assets/js/LEGACY-drawer-hydejack-9.0.2.js +14 -0
  243. data/assets/js/LEGACY-drawer-hydejack-9.0.3.js +14 -0
  244. data/assets/js/LEGACY-fetch-hydejack-9.0.2.js +14 -0
  245. data/assets/js/LEGACY-fetch-hydejack-9.0.3.js +14 -0
  246. data/assets/js/LEGACY-hydejack-9.0.2.js +28 -0
  247. data/assets/js/LEGACY-hydejack-9.0.2.js.map +1 -0
  248. data/assets/js/LEGACY-hydejack-9.0.3.js +28 -0
  249. data/assets/js/LEGACY-navbar-hydejack-9.0.2.js +14 -0
  250. data/assets/js/LEGACY-navbar-hydejack-9.0.3.js +14 -0
  251. data/assets/js/LEGACY-push-state-hydejack-9.0.2.js +14 -0
  252. data/assets/js/LEGACY-push-state-hydejack-9.0.2.js.map +1 -0
  253. data/assets/js/LEGACY-push-state-hydejack-9.0.3.js +14 -0
  254. data/assets/js/LEGACY-resize-observer-hydejack-9.0.2.js +14 -0
  255. data/assets/js/LEGACY-resize-observer-hydejack-9.0.3.js +14 -0
  256. data/assets/js/LEGACY-search-hydejack-9.0.2.js +14 -0
  257. data/assets/js/LEGACY-search-hydejack-9.0.3.js +14 -0
  258. data/assets/js/LEGACY-shadydom-hydejack-9.0.2.js +14 -0
  259. data/assets/js/LEGACY-shadydom-hydejack-9.0.3.js +14 -0
  260. data/assets/js/LEGACY-toc-hydejack-9.0.2.js +14 -0
  261. data/assets/js/LEGACY-toc-hydejack-9.0.3.js +14 -0
  262. data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.2.js +47 -0
  263. data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.3.js +47 -0
  264. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.2.js +78 -0
  265. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.2.js.map +1 -0
  266. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.3.js +215 -0
  267. data/assets/js/LEGACY-vendors~drawer~push-state~search-hydejack-9.0.2.js +151 -0
  268. data/assets/js/LEGACY-vendors~drawer~push-state~search-hydejack-9.0.3.js +151 -0
  269. data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.2.js +14 -0
  270. data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.3.js +14 -0
  271. data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.2.js +14 -0
  272. data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.3.js +14 -0
  273. data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.2.js +33 -0
  274. data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.3.js +33 -0
  275. data/assets/js/LEGACY-vendors~search-hydejack-9.0.2.js +40 -0
  276. data/assets/js/LEGACY-vendors~search-hydejack-9.0.3.js +40 -0
  277. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.2.js +155 -0
  278. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.3.js +155 -0
  279. data/assets/js/LEGACY-vendors~webanimations-hydejack-9.0.2.js +14 -0
  280. data/assets/js/LEGACY-vendors~webanimations-hydejack-9.0.3.js +14 -0
  281. data/assets/js/LEGACY-vendors~webcomponents-hydejack-9.0.2.js +34 -0
  282. data/assets/js/LEGACY-vendors~webcomponents-hydejack-9.0.3.js +34 -0
  283. data/assets/js/LEGACY-webcomponents-hydejack-9.0.2.js +14 -0
  284. data/assets/js/LEGACY-webcomponents-hydejack-9.0.3.js +14 -0
  285. data/assets/js/drawer-hydejack-9.0.2.js +14 -0
  286. data/assets/js/drawer-hydejack-9.0.3.js +14 -0
  287. data/assets/js/fetch-hydejack-9.0.2.js +14 -0
  288. data/assets/js/fetch-hydejack-9.0.3.js +14 -0
  289. data/assets/js/hydejack-9.0.3.js +28 -0
  290. data/assets/js/navbar-hydejack-9.0.2.js +14 -0
  291. data/assets/js/navbar-hydejack-9.0.3.js +14 -0
  292. data/assets/js/push-state-hydejack-9.0.2.js +14 -0
  293. data/assets/js/push-state-hydejack-9.0.2.js.map +1 -0
  294. data/assets/js/push-state-hydejack-9.0.3.js +14 -0
  295. data/assets/js/resize-observer-hydejack-9.0.2.js +14 -0
  296. data/assets/js/resize-observer-hydejack-9.0.3.js +14 -0
  297. data/assets/js/search-hydejack-9.0.2.js +14 -0
  298. data/assets/js/search-hydejack-9.0.3.js +14 -0
  299. data/assets/js/shadydom-hydejack-9.0.2.js +14 -0
  300. data/assets/js/shadydom-hydejack-9.0.3.js +14 -0
  301. data/assets/js/toc-hydejack-9.0.2.js +14 -0
  302. data/assets/js/toc-hydejack-9.0.3.js +14 -0
  303. data/assets/js/vendors~drawer-hydejack-9.0.2.js +47 -0
  304. data/assets/js/vendors~drawer-hydejack-9.0.3.js +47 -0
  305. data/assets/js/vendors~drawer~push-state-hydejack-9.0.2.js +53 -0
  306. data/assets/js/vendors~drawer~push-state-hydejack-9.0.2.js.map +1 -0
  307. data/assets/js/vendors~drawer~push-state-hydejack-9.0.3.js +163 -0
  308. data/assets/js/vendors~drawer~push-state~search-hydejack-9.0.2.js +124 -0
  309. data/assets/js/vendors~drawer~push-state~search-hydejack-9.0.3.js +124 -0
  310. data/assets/js/vendors~intersection-observer-hydejack-9.0.2.js +14 -0
  311. data/assets/js/vendors~intersection-observer-hydejack-9.0.3.js +14 -0
  312. data/assets/js/vendors~push-state-hydejack-9.0.2.js +33 -0
  313. data/assets/js/vendors~push-state-hydejack-9.0.3.js +33 -0
  314. data/assets/js/vendors~search-hydejack-9.0.2.js +40 -0
  315. data/assets/js/vendors~search-hydejack-9.0.3.js +40 -0
  316. data/assets/js/vendors~shadydom-hydejack-9.0.2.js +146 -0
  317. data/assets/js/vendors~shadydom-hydejack-9.0.3.js +146 -0
  318. data/assets/js/vendors~webanimations-hydejack-9.0.2.js +14 -0
  319. data/assets/js/vendors~webanimations-hydejack-9.0.3.js +14 -0
  320. data/assets/js/webcomponents-hydejack-9.0.2.js +14 -0
  321. data/assets/js/webcomponents-hydejack-9.0.3.js +14 -0
  322. data/assets/site.webmanifest +65 -0
  323. data/assets/version.json +3 -2
  324. data/licenses/PRO.md +4 -0
  325. data/licenses/README.md +1 -1
  326. data/licenses/{W3C.md → W3C-20150513.md} +0 -0
  327. metadata +236 -54
  328. data/_includes/scripts.html +0 -33
  329. data/assets/Resume.pdf +0 -0
  330. data/assets/css/hydejack-8.5.1.css +0 -3
  331. data/assets/icons/icon.png +0 -0
  332. data/assets/icons/icon@0,25x.png +0 -0
  333. data/assets/icons/icon@0,5x.png +0 -0
  334. data/assets/icons/icon@0,75x.png +0 -0
  335. data/assets/icons/icon@2x.png +0 -0
  336. data/assets/icons/icon@3x.png +0 -0
  337. data/assets/icons/tile-large.png +0 -0
  338. data/assets/icons/tile-medium.png +0 -0
  339. data/assets/icons/tile-small.png +0 -0
  340. data/assets/icons/tile-wide.png +0 -0
  341. data/assets/ieconfig.xml +0 -15
  342. data/assets/img/blog/COLOURlovers.com-Hydejack.png +0 -0
  343. data/assets/img/blog/blog-layout.jpg +0 -0
  344. data/assets/img/blog/caleb-george-old.jpg +0 -0
  345. data/assets/img/blog/caleb-george.jpg +0 -0
  346. data/assets/img/blog/cover-page.jpg +0 -0
  347. data/assets/img/blog/dark-mode-ii.jpg +0 -0
  348. data/assets/img/blog/dark-mode.jpg +0 -0
  349. data/assets/img/blog/example-content-ii.jpg +0 -0
  350. data/assets/img/blog/example-content-iii.jpg +0 -0
  351. data/assets/img/blog/hydejack-8.png +0 -0
  352. data/assets/img/blog/hydejack-8@0,25x.png +0 -0
  353. data/assets/img/blog/hydejack-8@0,5x.png +0 -0
  354. data/assets/img/blog/lazy-images.jpg +0 -0
  355. data/assets/img/blog/louis-hansel.jpg +0 -0
  356. data/assets/img/blog/resume.png +0 -0
  357. data/assets/img/blog/steve-harvey.jpg +0 -0
  358. data/assets/img/blog/w3m.png +0 -0
  359. data/assets/img/blog/wade-lambert.jpg +0 -0
  360. data/assets/img/docs/google-fonts.png +0 -0
  361. data/assets/img/projects/hy-drawer.svg +0 -12
  362. data/assets/img/projects/hy-img.svg +0 -17
  363. data/assets/img/projects/hy-push-state.svg +0 -13
  364. data/assets/js/hydejack-8.5.1.js +0 -161
  365. data/assets/js/hydejack-legacy-8.5.1.js +0 -190
  366. data/assets/manifest.json +0 -46
  367. data/assets/video/blog-layout.mp4 +0 -0
  368. data/assets/video/cover-page.mp4 +0 -0
  369. data/assets/video/dark-mode.mp4 +0 -0
  370. data/assets/video/lazy-images.mp4 +0 -0
@@ -0,0 +1,14 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[8],{302:function(e,t,n){"use strict";n.r(t);var r=n(330),a=n(300),i=n(152),c=n(148),u=n(310),o=n(332),s=n(333),l=n(12);function f(){var e=b([" <p>","</p> "]);return f=function(){return e},e}function d(){var e=b(['<img\n src="','"\n srcset="','"\n sizes="4.67rem"\n />']);return d=function(){return e},e}function v(){var e=b(['\n <li class="search-item" @click=','>\n <div class="search-img aspect-ratio sixteen-ten">\n ','\n </div>\n <div class="search-text">\n <p>\n <a class="heading" href=',">","</a>\n <small>","</small>\n </p>\n ","\n </div>\n </li>\n "]);return v=function(){return e},e}function p(){var e=b(["\n <ul>\n ","\n </ul>\n "]);return p=function(){return e},e}function b(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function y(e,t,n,r,a,i,c){try{var u=e[i](c),o=u.value}catch(e){return void n(e)}u.done?t(o):Promise.resolve(o).then(r,a)}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,a=!1,i=void 0;try{for(var c,u=e[Symbol.iterator]();!(r=(c=u.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(a)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var j,g=function(e){return e.startsWith(window._baseURL)?e:Object(r.join)(window._baseURL,e)},w=function(e){return e.includes("://")?e:g(e)};(j=regeneratorRuntime.mark((function e(){var t,n,r,b,y,h,j,O,S,k,x,E,L,q;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.u;case 2:if(n=document.getElementById("_pushState"),r=Object(l.m)("_search-template"),b=null===(t=document.getElementById("_hrefSearch"))||void 0===t?void 0:t.href,!r||!b){e.next=28;break}if(y=document.querySelector("#_navbar > .content > .nav-btn-bar"),h=m(r.children,3),j=h[0],O=h[1],S=h[2],j&&O&&S&&y){e.next=10;break}return e.abrupt("return");case 10:if(y.insertBefore(j,y.querySelector(".nav-span")),y.insertBefore(O,y.querySelector(".nav-span")),y.insertBefore(S,y.querySelector(".nav-span")),k=O.querySelector("input[type=search]"),x=O.querySelector("button[type=reset]"),k&&x){e.next=17;break}return e.abrupt("return");case 17:return j.addEventListener("click",(function(){k.focus()})),k.addEventListener("focus",(function(){k.select(),O.classList.add("show"),""!==k.value&&(S.style.display="")})),E=function(){var e;null===(e=document.activeElement)||void 0===e||e.blur(),O.classList.remove("show"),S.style.display="none"},S.style.display="none",x.addEventListener("click",E),null==n||n.addEventListener("hy-push-state-start",E),e.next=25,Object(l.s)(document,"click");case 25:L=new Worker(b),q="",Object(a.a)(k,"keyup").pipe(Object(i.a)((function(e){""===e.target.value&&""===q&&27===e.keyCode&&(e.preventDefault(),E()),q=e.target.value})),Object(c.a)((function(e){return Object(l.t)(L,e.target.value)})),Object(i.a)((function(e){e.length?(Object(u.h)(Object(u.f)(p(),Object(o.a)(e,(function(e){return e.url}),(function(e){return Object(u.f)(v(),(function(){var t;return null==n||null===(t=n.assign)||void 0===t?void 0:t.call(n,e.url)}),e.image?Object(u.f)(d(),w(e.image.src||e.image.path||e.image),Object(s.a)((t=e.image.srcset)?Object.entries(t).map((function(e){var t=m(e,2),n=t[0],r=t[1];return"".concat(w(r)," ").concat(n)})).join(","):void 0)):null,g(e.url),e.title,e.url,e.description?Object(u.f)(f(),e.description):"");var t}))),S),S.style.display=""):S.style.display="none"}))).subscribe();case 28:case"end":return e.stop()}}),e)})),function(){var e=this,t=arguments;return new Promise((function(n,r){var a=j.apply(e,t);function i(e){y(a,n,r,i,c,"next",e)}function c(e){y(a,n,r,i,c,"throw",e)}i(void 0)}))})()}}]);
@@ -0,0 +1,14 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[8],{302:function(e,t,n){"use strict";n.r(t);var r=n(330),a=n(300),i=n(152),c=n(148),u=n(310),o=n(332),s=n(333),l=n(12);function f(){var e=b([" <p>","</p> "]);return f=function(){return e},e}function d(){var e=b(['<img\n src="','"\n srcset="','"\n sizes="4.67rem"\n />']);return d=function(){return e},e}function v(){var e=b(['\n <li class="search-item" @click=','>\n <div class="search-img aspect-ratio sixteen-ten">\n ','\n </div>\n <div class="search-text">\n <p>\n <a class="heading" href=',">","</a>\n <small>","</small>\n </p>\n ","\n </div>\n </li>\n "]);return v=function(){return e},e}function p(){var e=b(["\n <ul>\n ","\n </ul>\n "]);return p=function(){return e},e}function b(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function y(e,t,n,r,a,i,c){try{var u=e[i](c),o=u.value}catch(e){return void n(e)}u.done?t(o):Promise.resolve(o).then(r,a)}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,a=!1,i=void 0;try{for(var c,u=e[Symbol.iterator]();!(r=(c=u.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(a)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var j,g=function(e){return e.startsWith(window._baseURL)?e:Object(r.join)(window._baseURL,e)},w=function(e){return e.includes("://")?e:g(e)};(j=regeneratorRuntime.mark((function e(){var t,n,r,b,y,h,j,O,S,k,x,E,L,q;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.u;case 2:if(n=document.getElementById("_pushState"),r=Object(l.m)("_search-template"),b=null===(t=document.getElementById("_hrefSearch"))||void 0===t?void 0:t.href,!r||!b){e.next=28;break}if(y=document.querySelector("#_navbar > .content > .nav-btn-bar"),h=m(r.children,3),j=h[0],O=h[1],S=h[2],j&&O&&S&&y){e.next=10;break}return e.abrupt("return");case 10:if(y.insertBefore(j,y.querySelector(".nav-span")),y.insertBefore(O,y.querySelector(".nav-span")),y.insertBefore(S,y.querySelector(".nav-span")),k=O.querySelector("input[type=search]"),x=O.querySelector("button[type=reset]"),k&&x){e.next=17;break}return e.abrupt("return");case 17:return j.addEventListener("click",(function(){k.focus()})),k.addEventListener("focus",(function(){k.select(),O.classList.add("show"),""!==k.value&&(S.style.display="")})),E=function(){var e;null===(e=document.activeElement)||void 0===e||e.blur(),O.classList.remove("show"),S.style.display="none"},S.style.display="none",x.addEventListener("click",E),null==n||n.addEventListener("hy-push-state-start",E),e.next=25,Object(l.s)(document,"click");case 25:L=new Worker(b),q="",Object(a.a)(k,"keyup").pipe(Object(i.a)((function(e){""===e.target.value&&""===q&&27===e.keyCode&&(e.preventDefault(),E()),q=e.target.value})),Object(c.a)((function(e){return Object(l.t)(L,e.target.value)})),Object(i.a)((function(e){e.length?(Object(u.h)(Object(u.f)(p(),Object(o.a)(e,(function(e){return e.url}),(function(e){return Object(u.f)(v(),(function(){var t;return null==n||null===(t=n.assign)||void 0===t?void 0:t.call(n,e.url)}),e.image?Object(u.f)(d(),w(e.image.src||e.image.path||e.image),Object(s.a)((t=e.image.srcset)?Object.entries(t).map((function(e){var t=m(e,2),n=t[0],r=t[1];return"".concat(w(r)," ").concat(n)})).join(","):void 0)):null,g(e.url),e.title,e.url,e.description?Object(u.f)(f(),e.description):"");var t}))),S),S.style.display=""):S.style.display="none"}))).subscribe();case 28:case"end":return e.stop()}}),e)})),function(){var e=this,t=arguments;return new Promise((function(n,r){var a=j.apply(e,t);function i(e){y(a,n,r,i,c,"next",e)}function c(e){y(a,n,r,i,c,"throw",e)}i(void 0)}))})()}}]);
@@ -0,0 +1,14 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{341:function(n,w,o){"use strict";o.r(w);o(342),o(346)}}]);
@@ -0,0 +1,14 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[7],{330:function(n,w,o){"use strict";o.r(w);o(331),o(335)}}]);
@@ -0,0 +1,14 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[10],{304:function(t,e,n){"use strict";n.r(e);var r,o=n(300),i=n(64),c=n(334),u=n(149),s=n(325),a=n(31),l=n(327),f=n(148),h=n(118),b=n(152),p=n(335),v=n(12);function d(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var c,u=t[Symbol.iterator]();!(r=(c=u.next()).done)&&(n.push(c.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function j(t,e,n,r,o,i,c){try{var u=t[i](c),s=u.value}catch(t){return void n(t)}u.done?e(s):Promise.resolve(s).then(r,o)}(r=regeneratorRuntime.mark((function t(){var e,n,r,y,j;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v.u;case 2:if(e=Object(v.h)(window.matchMedia(v.b)).pipe(Object(s.a)(window.matchMedia(v.b)),Object(a.a)((function(t){return t.matches}))),n=document.getElementById("_pushState"),r=document.getElementById("_drawer"),n){t.next=7;break}return t.abrupt("return");case 7:if(!r||window._noDrawer){t.next=10;break}return t.next=10,r.initialized;case 10:return t.next=12,n.initialized;case 12:y=window._noPushState?Object(i.a)({}):Object(o.a)(n,"load").pipe(Object(s.a)({})),j=y.pipe(Object(a.a)((function(){return document.querySelector("#markdown-toc")})),Object(l.a)()),Object(c.a)(j,e).pipe(Object(f.a)((function(t){var e=d(t,2),n=e[0],r=e[1];if(!n||!r)return u.a;var o=document.createElement("div");return n.parentNode.insertBefore(o,n),Object(v.d)(o).pipe(Object(h.a)(),Object(a.a)((function(t){return!t.isIntersecting&&t.boundingClientRect.top<0})),Object(b.a)((function(t){t?n.classList.add("affix"):n.classList.remove("affix")})),Object(p.a)((function(){n.classList.remove("affix")})))}))).subscribe(),Object(c.a)(j,e).pipe(Object(f.a)((function(t){var e=d(t,2),n=e[0],r=e[1];if(!n||!r)return u.a;var o=new Set,i=new WeakMap,c=Array.from(n.querySelectorAll("li")).map((function(t){return t.children[0].getAttribute("href")||""})).map((function(t){return document.getElementById(t.substr(1))})).filter((function(t){return!!t})),s=!0;return Object(v.d)(c).pipe(Object(b.a)((function(t){s&&(t.forEach((function(t){var e=t.target,n=t.boundingClientRect;return i.set(e,Object(v.i)()+n.top)})),s=!1),t.forEach((function(t){var e=t.isIntersecting,n=t.target;e?o.add(n):o.delete(n)}));var e=Array.from(o).reduce((function(t,e){return i.get(e)>=i.get(t)?t:e}),null);if(e){n.querySelectorAll("a").forEach((function(t){t.style.fontWeight=""}));var r=n.querySelector('a[href="#'.concat(e.id,'"]'));r&&(r.style.fontWeight="bold")}})),Object(p.a)((function(){n.querySelectorAll("a").forEach((function(t){t.style.fontWeight=""}))})))}))).subscribe();case 16:case"end":return t.stop()}}),t)})),function(){var t=this,e=arguments;return new Promise((function(n,o){var i=r.apply(t,e);function c(t){j(i,n,o,c,u,"next",t)}function u(t){j(i,n,o,c,u,"throw",t)}c(void 0)}))})()},313:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return f}));var r=n(1),o=n(5),i=n(9),c=n(14),u=n(315),s=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return Object(r.e)(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(c.a),a=n(63),l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return Object(r.e)(e,t),e}(i.a),f=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(r.e)(e,t),e.prototype[a.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new u.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new u.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new u.a;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new u.a;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new u.a;return this.hasError?(t.error(this.thrownError),c.a.EMPTY):this.isStopped?(t.complete(),c.a.EMPTY):(this.observers.push(t),new s(this,t))},e.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},e.create=function(t,e){return new h(t,e)},e}(o.a),h=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return Object(r.e)(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):c.a.EMPTY},e}(f)},315:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},325:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(117),o=n(113);function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return Object(o.a)(n)?(t.pop(),function(e){return Object(r.a)(t,e,n)}):function(e){return Object(r.a)(t,e)}}},327:function(t,e,n){"use strict";n.d(e,"a",(function(){return j}));var r=n(1),o=n(313),i=n(5),c=n(9),u=n(14);function s(){return function(t){return t.lift(new l(t))}}var a,l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new f(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),f=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r.connection=null,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(c.a),h=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return Object(r.e)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new u.a).add(this.source.subscribe(new p(this.getSubject(),this))),t.closed&&(this._connection=null,t=u.a.EMPTY)),t},e.prototype.refCount=function(){return s()(this)},e}(i.a),b={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(a=h.prototype)._subscribe},_isComplete:{value:a._isComplete,writable:!0},getSubject:{value:a.getSubject},connect:{value:a.connect},refCount:{value:a.refCount}},p=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(o.b),v=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new v(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o}}(),function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(c.a));var d=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();function y(){return new o.a}function j(){return function(t){return s()((e=y,function(t){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof n)return t.lift(new d(r,n));var o=Object.create(t,b);return o.source=t,o.subjectFactory=r,o})(t));var e,n}}},334:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(1),o=n(113),i=n(68),c=n(47),u=n(46),s=n(114),a={};function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=void 0,r=void 0;return Object(o.a)(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(i.a)(t[0])&&(t=t[0]),Object(s.a)(t,r).lift(new f(n))}var f=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.resultSelector))},t}(),h=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return Object(r.e)(e,t),e.prototype._next=function(t){this.values.push(a),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(Object(u.a)(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){var i=this.values,c=i[n],u=this.toRespond?c===a?--this.toRespond:this.toRespond:0;i[n]=e,0===u&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(c.a)},335:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(1),o=n(9),i=n(14);function c(t){return function(e){return e.lift(new u(t))}}var u=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.callback))},t}(),s=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new i.a(n)),r}return Object(r.e)(e,t),e}(o.a)}}]);
@@ -0,0 +1,14 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[10],{304:function(t,e,n){"use strict";n.r(e);var r,o=n(300),i=n(64),c=n(334),u=n(149),s=n(325),a=n(31),l=n(327),f=n(148),h=n(118),b=n(152),p=n(335),v=n(12);function d(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var c,u=t[Symbol.iterator]();!(r=(c=u.next()).done)&&(n.push(c.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function j(t,e,n,r,o,i,c){try{var u=t[i](c),s=u.value}catch(t){return void n(t)}u.done?e(s):Promise.resolve(s).then(r,o)}(r=regeneratorRuntime.mark((function t(){var e,n,r,y,j;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v.u;case 2:if(e=Object(v.h)(window.matchMedia(v.b)).pipe(Object(s.a)(window.matchMedia(v.b)),Object(a.a)((function(t){return t.matches}))),n=document.getElementById("_pushState"),r=document.getElementById("_drawer"),n){t.next=7;break}return t.abrupt("return");case 7:if(!r||window._noDrawer){t.next=10;break}return t.next=10,r.initialized;case 10:return t.next=12,n.initialized;case 12:y=window._noPushState?Object(i.a)({}):Object(o.a)(n,"load").pipe(Object(s.a)({})),j=y.pipe(Object(a.a)((function(){return document.querySelector("#markdown-toc")})),Object(l.a)()),Object(c.a)(j,e).pipe(Object(f.a)((function(t){var e=d(t,2),n=e[0],r=e[1];if(!n||!r)return u.a;var o=document.createElement("div");return n.parentNode.insertBefore(o,n),Object(v.d)(o).pipe(Object(h.a)(),Object(a.a)((function(t){return!t.isIntersecting&&t.boundingClientRect.top<0})),Object(b.a)((function(t){t?n.classList.add("affix"):n.classList.remove("affix")})),Object(p.a)((function(){n.classList.remove("affix")})))}))).subscribe(),Object(c.a)(j,e).pipe(Object(f.a)((function(t){var e=d(t,2),n=e[0],r=e[1];if(!n||!r)return u.a;var o=new Set,i=new WeakMap,c=Array.from(n.querySelectorAll("li")).map((function(t){return t.children[0].getAttribute("href")||""})).map((function(t){return document.getElementById(t.substr(1))})).filter((function(t){return!!t})),s=!0;return Object(v.d)(c).pipe(Object(b.a)((function(t){s&&(t.forEach((function(t){var e=t.target,n=t.boundingClientRect;return i.set(e,Object(v.i)()+n.top)})),s=!1),t.forEach((function(t){var e=t.isIntersecting,n=t.target;e?o.add(n):o.delete(n)}));var e=Array.from(o).reduce((function(t,e){return i.get(e)>=i.get(t)?t:e}),null);if(e){n.querySelectorAll("a").forEach((function(t){t.style.fontWeight=""}));var r=n.querySelector('a[href="#'.concat(e.id,'"]'));r&&(r.style.fontWeight="bold")}})),Object(p.a)((function(){n.querySelectorAll("a").forEach((function(t){t.style.fontWeight=""}))})))}))).subscribe();case 16:case"end":return t.stop()}}),t)})),function(){var t=this,e=arguments;return new Promise((function(n,o){var i=r.apply(t,e);function c(t){j(i,n,o,c,u,"next",t)}function u(t){j(i,n,o,c,u,"throw",t)}c(void 0)}))})()},313:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return f}));var r=n(1),o=n(5),i=n(9),c=n(14),u=n(315),s=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return Object(r.e)(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(c.a),a=n(63),l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return Object(r.e)(e,t),e}(i.a),f=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(r.e)(e,t),e.prototype[a.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new u.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new u.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new u.a;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new u.a;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new u.a;return this.hasError?(t.error(this.thrownError),c.a.EMPTY):this.isStopped?(t.complete(),c.a.EMPTY):(this.observers.push(t),new s(this,t))},e.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},e.create=function(t,e){return new h(t,e)},e}(o.a),h=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return Object(r.e)(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):c.a.EMPTY},e}(f)},315:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},325:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(117),o=n(113);function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return Object(o.a)(n)?(t.pop(),function(e){return Object(r.a)(t,e,n)}):function(e){return Object(r.a)(t,e)}}},327:function(t,e,n){"use strict";n.d(e,"a",(function(){return j}));var r=n(1),o=n(313),i=n(5),c=n(9),u=n(14);function s(){return function(t){return t.lift(new l(t))}}var a,l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new f(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),f=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r.connection=null,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(c.a),h=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return Object(r.e)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new u.a).add(this.source.subscribe(new p(this.getSubject(),this))),t.closed&&(this._connection=null,t=u.a.EMPTY)),t},e.prototype.refCount=function(){return s()(this)},e}(i.a),b={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(a=h.prototype)._subscribe},_isComplete:{value:a._isComplete,writable:!0},getSubject:{value:a.getSubject},connect:{value:a.connect},refCount:{value:a.refCount}},p=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(o.b),v=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new v(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o}}(),function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(c.a));var d=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();function y(){return new o.a}function j(){return function(t){return s()((e=y,function(t){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof n)return t.lift(new d(r,n));var o=Object.create(t,b);return o.source=t,o.subjectFactory=r,o})(t));var e,n}}},334:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(1),o=n(113),i=n(68),c=n(47),u=n(46),s=n(114),a={};function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=void 0,r=void 0;return Object(o.a)(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(i.a)(t[0])&&(t=t[0]),Object(s.a)(t,r).lift(new f(n))}var f=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.resultSelector))},t}(),h=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return Object(r.e)(e,t),e.prototype._next=function(t){this.values.push(a),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(Object(u.a)(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){var i=this.values,c=i[n],u=this.toRespond?c===a?--this.toRespond:this.toRespond:0;i[n]=e,0===u&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(c.a)},335:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(1),o=n(9),i=n(14);function c(t){return function(e){return e.lift(new u(t))}}var u=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.callback))},t}(),s=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new i.a(n)),r}return Object(r.e)(e,t),e}(o.a)}}]);
@@ -0,0 +1,47 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[11],{334:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(1),i=n(113),o=n(68),a=n(47),c=n(46),u=n(114),s={};function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=void 0,r=void 0;return Object(i.a)(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(o.a)(t[0])&&(t=t[0]),Object(u.a)(t,r).lift(new f(n))}var f=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.resultSelector))},t}(),p=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return Object(r.e)(e,t),e.prototype._next=function(t){this.values.push(s),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(Object(c.a)(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.values,a=o[n],c=this.toRespond?a===s?--this.toRespond:this.toRespond:0;o[n]=e,0===c&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(a.a)},348:function(t,e,n){"use strict";n.r(e),n.d(e,"HyDrawer",(function(){return Yt}));var r=n(322),i=n(310);function o(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,u=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){u=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw o}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
15
+ /**
16
+ * @license
17
+ * Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
18
+ * This code may only be used under the BSD style license found at
19
+ * http://polymer.github.io/LICENSE.txt
20
+ * The complete set of authors may be found at
21
+ * http://polymer.github.io/AUTHORS.txt
22
+ * The complete set of contributors may be found at
23
+ * http://polymer.github.io/CONTRIBUTORS.txt
24
+ * Code distributed by Google as part of the polymer project is also
25
+ * subject to an additional IP rights grant found at
26
+ * http://polymer.github.io/PATENTS.txt
27
+ */
28
+ var u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.classes=new Set,this.changed=!1,this.element=e;var n,r=o((e.getAttribute("class")||"").split(/\s+/));try{for(r.s();!(n=r.n()).done;){var i=n.value;this.classes.add(i)}}catch(t){r.e(t)}finally{r.f()}}var e,n,r;return e=t,(n=[{key:"add",value:function(t){this.classes.add(t),this.changed=!0}},{key:"remove",value:function(t){this.classes.delete(t),this.changed=!0}},{key:"commit",value:function(){if(this.changed){var t="";this.classes.forEach((function(e){return t+=e+" "})),this.element.setAttribute("class",t)}}}])&&c(e.prototype,n),r&&c(e,r),t}(),s=new WeakMap,l=Object(i.e)((function(t){return function(e){if(!(e instanceof i.a)||e instanceof i.c||"class"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var n=e.committer,r=n.element,o=s.get(e);void 0===o&&(r.setAttribute("class",n.strings.join(" ")),s.set(e,o=new Set));var a=r.classList||new u(r);for(var c in o.forEach((function(e){e in t||(a.remove(e),o.delete(e))})),t){var l=t[c];l!=o.has(c)&&(l?(a.add(c),o.add(c)):(a.remove(c),o.delete(c)))}"function"==typeof a.commit&&a.commit()}})),f=new WeakMap,p=Object(i.e)((function(t){return function(e){if(!(e instanceof i.a)||e instanceof i.c||"style"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var n=e.committer,r=n.element.style,o=f.get(e);for(var a in void 0===o&&(r.cssText=n.strings.join(" "),f.set(e,o=new Set)),o.forEach((function(e){e in t||(o.delete(e),-1===e.indexOf("-")?r[e]=null:r.removeProperty(e))})),t)o.add(a),-1===a.indexOf("-")?r[a]=t[a]:r.setProperty(a,t[a])}})),h=n(350),b=n(334),d=n(326),v=n(300),y=n(149),g=n(352),m=n(313),O=n(31),j=n(327),w=n(150),S=n(152),x=n(1),k=n(47),_=n(46);function E(t){return function(e){return e.lift(new T(t))}}var T=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new C(t),r=e.subscribe(n);return r.add(Object(_.a)(n,this.notifier)),r},t}(),C=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return Object(x.e)(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(k.a),A=n(115);function R(t){return void 0===t&&(t=A.a),Object(O.a)((function(e){return new I(e,t.now())}))}var I=function(t,e){this.value=t,this.timestamp=e},$=n(329),P=n(151),V=n(325),M=n(148),D=n(335),X=n(351),z=n(9);function B(t){return function(e){return e.lift(new W(t))}}var W=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new N(t,this.total))},t}(),N=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return Object(x.e)(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(z.a),U=n(309),Y=n(64);function F(t,e,n,r){return n*Math.sin(t/r*(Math.PI/2))+e}function J(t){return("ResizeObserver"in window?Object(U.e)(t):Object(Y.a)({contentRect:{width:t.clientWidth}})).pipe(Object(O.a)((function(t){return t.contentRect.width})))}var H={fromAttribute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.replace(/[\[\]]/g,"").split(",").map(Number)},toAttribute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.join(",")}};var L=n(328),q=n(357);var G=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new K(t,this.notifier,e))},t}(),K=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i.notifications=null,i.retries=null,i.retriesSubscription=null,i.sourceIsBeingSubscribedTo=!0,i}return Object(x.e)(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,t.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){var e;this.notifications=new m.a;try{e=(0,this.notifier)(this.notifications)}catch(e){return t.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=Object(_.a)(this,e)},e}(k.a);var Q=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new Z(t,this.predicate))},t}(),Z=function(t){function e(e,n){var r=t.call(this,e)||this;return r.predicate=n,r.skipping=!0,r.index=0,r}return Object(x.e)(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(z.a);function tt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return et(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return et(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function et(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function nt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var rt=Math.abs.bind(Math),it=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,(n=[{key:"getStartObservable",value:function(){return Object(b.a)(this.$.mouseEvents).pipe(Object(M.a)((function(t){var e=tt(t,1)[0],n=Object(v.a)(document,"touchstart",{passive:!0}).pipe(Object(P.a)((function(t){return 1===t.touches.length})),Object(O.a)((function(t){return t.touches[0]}))),r=e?Object(v.a)(document,"mousedown").pipe(Object(O.a)((function(t){return t.event=t,t}))):y.a;return Object(d.a)(n,r)})))}},{key:"getMoveObservable",value:function(t,e){return Object(b.a)(this.$.mouseEvents,this.$.preventDefault).pipe(Object(M.a)((function(n){var r=tt(n,2),i=r[0],o=r[1],a=Object(v.a)(document,"touchmove",{passive:!o}).pipe(Object(O.a)((function(t){return t.touches[0].event=t,t.touches[0]}))),c=i?Object(v.a)(document,"mousemove",{passive:!o}).pipe(Object(U.l)(Object(d.a)(t.pipe(Object(L.a)(!0)),e.pipe(Object(L.a)(!1)))),Object(O.a)((function(t){return t.event=t,t}))):y.a;return Object(d.a)(a,c)})))}},{key:"getEndObservable",value:function(){return Object(b.a)(this.$.mouseEvents).pipe(Object(M.a)((function(t){var e=tt(t,1)[0],n=Object(v.a)(document,"touchend",{passive:!0}).pipe(Object(P.a)((function(t){return 0===t.touches.length})),Object(O.a)((function(t){return t.changedTouches[0]}))),r=e?Object(v.a)(document,"mouseup",{passive:!0}):y.a;return Object(d.a)(n,r)})))}},{key:"getIsSlidingObservable",value:function(t,e,n){return this.getIsSlidingObservableInner(t,e).pipe(Object(q.a)(1),Object(V.a)(void 0),(r=function(){return n},function(t){return t.lift(new G(r))}));var r}},{key:"getIsSlidingObservableInner",value:function(t,e){var n,r=this;return this.threshold?t.pipe(Object(w.a)(e),(n=function(t){var e=tt(t,2),n=e[0],i=n.clientX,o=n.clientY,a=e[1],c=a.clientX,u=a.clientY;return rt(u-o)<r.threshold&&rt(c-i)<r.threshold},function(t){return t.lift(new Q(n))}),Object(O.a)((function(t){var e=tt(t,2),n=e[0],r=n.clientX,i=n.clientY,o=e[1],a=o.clientX,c=o.clientY;return rt(a-r)>=rt(c-i)}))):t.pipe(Object(w.a)(e),Object(O.a)((function(t){var e=tt(t,2),n=e[0],i=n.clientX,o=n.clientY,a=n.event,c=e[1],u=c.clientX,s=c.clientY,l=rt(u-i)>=rt(s-o);return r.noScroll&&l&&a.preventDefault(),l})))}}])&&nt(e.prototype,n),r&&nt(e,r),t}();function ot(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return at(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return at(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function at(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ct(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var ut=Math.min.bind(Math),st=Math.max.bind(Math),lt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,(n=[{key:"calcIsInRange",value:function(t,e){var n=t.clientX;switch(this.side){case"left":var r=ot(this.range,2),i=r[0],o=r[1];return n>i&&(e||n<o);case"right":var a=window.innerWidth-this.range[0],c=window.innerWidth-this.range[1];return n<a&&(e||n>c);default:throw Error()}}},{key:"calcIsSwipe",value:function(t,e,n,r,i){var o=t.clientX;return e.clientX!==o||n>0&&n<r}},{key:"calcWillOpen",value:function(t,e,n,r,i){switch(this.side){case"left":return i>.15||!(i<-.15)&&n>=r/2;case"right":return-i>.15||!(-i<-.15)&&n<=-r/2;default:throw Error()}}},{key:"calcTranslateX",value:function(t,e,n,r){var i=t.clientX,o=e.clientX;switch(this.side){case"left":return st(0,ut(r,n+(i-o)));case"right":return ut(0,st(-r,n+(i-o)));default:throw Error()}}}])&&ct(e.prototype,n),r&&ct(e,r),t}();function ft(t){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ht(t,e)}function ht(t,e){return(ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function bt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=vt(t);if(e){var i=vt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return dt(this,n)}}function dt(t,e){return!e||"object"!==ft(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function vt(t){return(vt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function yt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function mt(t,e,n){return e&&gt(t.prototype,e),n&&gt(t,n),t}var Ot=function(){function t(){yt(this,t)}return mt(t,[{key:"updateDOM",value:function(t,e){var n=t/e*("left"===this.side?1:-1)||0;this.translateX=t,this.opacity=n,this.updater.updateDOM(t,n)}}]),t}(),jt=function(){function t(e){yt(this,t),this.parent=e}return mt(t,[{key:"contentEl",get:function(){return this.parent.contentEl}},{key:"scrimEl",get:function(){return this.parent.scrimEl}}],[{key:"getUpdaterForPlatform",value:function(t){return"attributeStyleMap"in Element.prototype&&"CSS"in window&&"number"in CSS?new St(t):new wt(t)}}]),t}(),wt=function(t){pt(n,t);var e=bt(n);function n(t){return yt(this,n),e.call(this,t)}return mt(n,[{key:"updateDOM",value:function(t,e){this.contentEl.style.transform="translate(".concat(t,"px, 0px)"),this.scrimEl.style.opacity="".concat(e)}}]),n}(jt),St=function(t){pt(n,t);var e=bt(n);function n(t){var r;return yt(this,n),(r=e.call(this,t)).tvalue=new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]),r.ovalue=CSS.number(1),r}return mt(n,[{key:"updateDOM",value:function(t,e){this.tvalue[0].x.value=t,this.ovalue.value=e,this.contentEl.attributeStyleMap.set("transform",this.tvalue),this.scrimEl.attributeStyleMap.set("opacity",this.ovalue)}}]),n}(jt);function xt(){var t=function(t,e){e||(e=t.slice(0));return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n @media screen {\n :host {\n touch-action: pan-x;\n }\n\n .full-screen {\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n }\n\n .full-height {\n position: fixed;\n top: 0;\n height: 100vh;\n }\n\n .peek {\n left: 0;\n width: var(--hy-drawer-peek-width, 0px);\n visibility: hidden;\n z-index: calc(var(--hy-drawer-z-index, 100) - 1);\n }\n\n .scrim {\n position: fixed;\n top: 0;\n left: 0;\n height: 10vh;\n width: 10vw;\n transform: scale(10);\n transform-origin: top left;\n opacity: 0;\n pointer-events: none;\n background: var(--hy-drawer-scrim-background, rgba(0, 0, 0, 0.5));\n z-index: var(--hy-drawer-z-index, 100);\n -webkit-tap-highlight-color: transparent;\n }\n\n .range {\n position: fixed;\n top: 0;\n height: 100vh;\n z-index: calc(var(--hy-drawer-z-index, 100) + 1);\n }\n\n .grabbing-screen {\n cursor: grabbing;\n z-index: calc(var(--hy-drawer-z-index, 100) + 2);\n }\n\n .wrapper {\n width: var(--hy-drawer-width, 300px);\n background: var(--hy-drawer-background, inherit);\n box-shadow: var(--hy-drawer-box-shadow, 0 0 15px rgba(0, 0, 0, 0.25));\n z-index: calc(var(--hy-drawer-z-index, 100) + 3);\n contain: strict;\n }\n\n .wrapper.left {\n left: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper.right {\n right: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper > .overflow {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n }\n\n .grab {\n cursor: move;\n cursor: grab;\n }\n\n .grabbing {\n cursor: grabbing;\n }\n }\n\n @media print {\n .scrim {\n display: none !important;\n }\n\n .wrapper {\n transform: none !important;\n }\n }\n"]);return xt=function(){return t},t}var kt=Object(r.b)(xt());function _t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Et(){var t=Ct(['<div class="grabbing-screen full-screen"></div>']);return Et=function(){return t},t}function Tt(){var t=Ct(['\n <div class="peek full-height"></div>\n <div\n class="scrim"\n style=',">\n </div>\n ","\n <div\n class=","\n style=",'\n >\n <div class="overflow">\n <slot></slot>\n </div>\n </div>\n ']);return Tt=function(){return t},t}function Ct(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function At(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||It(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rt(t){return function(t){if(Array.isArray(t))return $t(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||It(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function It(t,e){if(t){if("string"==typeof t)return $t(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$t(t,e):void 0}}function $t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Pt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Mt(t,e,n){return(Mt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Wt(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function Dt(t,e){return(Dt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Xt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Wt(t);if(e){var i=Wt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return zt(this,n)}}function zt(t,e){return!e||"object"!==Nt(e)&&"function"!=typeof e?Bt(t):e}function Bt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wt(t){return(Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Nt(t){return(Nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Ut=function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"==typeof Reflect?"undefined":Nt(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},Yt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dt(t,e)}(a,t);var e,n,i,o=Xt(a);function a(){var t;return Pt(this,a),(t=o.apply(this,arguments)).el=Bt(t),t.opened=!1,t.side="left",t.persistent=!1,t.threshold=10,t.noScroll=!1,t.mouseEvents=!1,t.range=[0,100],t.willChange=!1,t._initialized=Object(U.f)(),t.$={},t.upgrade=function(){var e=t.getDrawerWidth(),n=t.$.persistent.pipe(Object(O.a)((function(t){return!t}))),r=t.getStartObservable().pipe(Object(U.h)(n),Object(j.a)()),i={},o=Object(h.a)((function(){return i.translateX$.pipe(Object(O.a)((function(t){return 0!==t})))})),a=r.pipe(Object(w.a)(o),Object(O.a)((function(e){var n;return(n=t).calcIsInRange.apply(n,Rt(e))})),Object(S.a)((function(e){e&&(t.willChange=!0,t.fireEvent("prepare"))})),Object(j.a)()),c=t.getEndObservable().pipe(Object(U.h)(n,a),Object(S.a)((function(){t.mouseEvents&&(t.grabbing=!1)})),Object(j.a)()),u=t.getMoveObservable(r,c).pipe(Object(U.h)(n,a),Object(j.a)()),s=t.getIsSlidingObservable(u,r,c).pipe(Object(S.a)((function(e){t.isSliding=e,e&&t.mouseEvents&&(t.grabbing=!0)}))),l=i.translateX$=Object(h.a)((function(){var n=Object(b.a)(t.$.opened,t.$.side,e).pipe(Object(O.a)((function(t){var e=At(t,3),n=e[0],r=e[1],i=e[2];return n?i*("left"===r?1:-1):0}))),o=u.pipe(Object(U.h)(s),Object(S.a)((function(){return t.scrimClickable=!1})),Object(S.a)((function(e){var n=e.event;return t.noScroll&&n.preventDefault()})),Object(w.a)(r,i.startTranslateX$,e),Object(O.a)((function(e){var n;return(n=t).calcTranslateX.apply(n,Rt(e))})));return Object(d.a)(i.tweenTranslateX$,n,o)})).pipe(Object(j.a)());i.startTranslateX$=l.pipe(E(r));var f=l.pipe(R(),Object($.a)(),Object(P.a)((function(t){var e=At(t,2),n=e[0].timestamp;return e[1].timestamp-n>0})),Object(O.a)((function(t){var e=At(t,2),n=e[0],r=n.value,i=n.timestamp,o=e[1];return(o.value-r)/(o.timestamp-i)})),Object(V.a)(0)),p=c.pipe(Object(w.a)(r,l,e,f),Object(P.a)((function(e){var n;return(n=t).calcIsSwipe.apply(n,Rt(e))})),Object(O.a)((function(e){var n;return(n=t).calcWillOpen.apply(n,Rt(e))}))),g=t.animateTo$.pipe(Object(S.a)((function(){t.willChange=!0,t.fireEvent("prepare")})));i.tweenTranslateX$=Object(d.a)(p,g).pipe(Object(w.a)(l,e),Object(M.a)((function(e){var n=At(e,3),i=n[0],o=n[1],a=n[2],c="left"===t.side?1:-1,u=(i?a*c:0)-o,s=Math.ceil(200+.15*a);return Object(U.m)(F,o,u,s).pipe(Object(D.a)((function(){t.transitioned(i)})),Object(X.a)(r),Object(X.a)(t.$.side.pipe(B(1))),Object(j.a)())}))),l.pipe(Object(w.a)(e),Object(S.a)((function(e){var n;(n=t).updateDOM.apply(n,Rt(e));var r=Bt(t),i=r.translateX,o=r.opacity;t.fireEvent("move",{detail:{translateX:i,opacity:o},bubbles:!1})}))).subscribe(),Object(v.a)(t.scrimEl,"click").pipe(Object(S.a)((function(){return t.close()}))).subscribe(),n.pipe(Object(S.a)((function(e){t.scrimEl.style.display=e?"block":"none"}))).subscribe(),t.$.mouseEvents.pipe(Object(M.a)((function(t){return t?r.pipe(Object(w.a)(a)):y.a})),Object(P.a)((function(t){var e=At(t,2),n=e[0];return e[1]&&null!=n.event})),Object(S.a)((function(t){return At(t,1)[0].event.preventDefault()}))).subscribe(),t.fireEvent("init",{detail:t.opened}),t._initialized.resolve(Bt(t))},t.transitioned=function(e){t.opened=t.scrimClickable=e,t.willChange=!1,t.fireEvent("transitioned",{detail:e})},t}return e=a,(n=[{key:"getDrawerWidth",value:function(){var t=this,e=J(this.contentEl).pipe(Object(S.a)((function(e){return t.fireEvent("content-width-change",{detail:e})}))),n=J(this.peekEl).pipe(Object(S.a)((function(e){return t.fireEvent("peek-width-change",{detail:e})})));return Object(b.a)(e,n).pipe(Object(O.a)((function(t){var e=At(t,2);return e[0]-e[1]})),Object(j.a)())}},{key:"connectedCallback",value:function(){Mt(Wt(a.prototype),"connectedCallback",this).call(this),this.$.opened=new g.a(this.opened),this.$.side=new g.a(this.side),this.$.persistent=new g.a(this.persistent),this.$.preventDefault=new g.a(this.noScroll),this.$.mouseEvents=new g.a(this.mouseEvents),this.scrimClickable=this.opened,this.animateTo$=new m.a,this.updater=jt.getUpdaterForPlatform(this),this.updateComplete.then(this.upgrade)}},{key:"render",value:function(){var t;return Object(r.d)(Tt(),p({willChange:this.willChange?"opacity":"",pointerEvents:this.scrimClickable?"all":""}),this.mouseEvents&&this.grabbing&&!this.scrimClickable?Object(r.d)(Et()):null,l((_t(t={wrapper:!0,"full-height":!0},this.side,!0),_t(t,"grab",this.mouseEvents),_t(t,"grabbing",this.mouseEvents&&this.grabbing),t)),p({willChange:this.willChange?"transform":""}))}},{key:"open",value:function(){this.animateTo$.next(!0)}},{key:"close",value:function(){this.animateTo$.next(!1)}},{key:"toggle",value:function(){this.animateTo$.next(!this.opened)}},{key:"initialized",get:function(){return this._initialized}},{key:"histId",get:function(){return this.id||this.tagName}},{key:"hashId",get:function(){return"#".concat(this.histId,"--opened")}}])&&Vt(e.prototype,n),i&&Vt(e,i),a}(Object(U.b)(U.a,[it,Ot,lt]));
29
+ /**
30
+ * Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
31
+ *
32
+ * This program is free software: you can redistribute it and/or modify
33
+ * it under the terms of the GNU General Public License as published by
34
+ * the Free Software Foundation, either version 3 of the License, or
35
+ * (at your option) any later version.
36
+ *
37
+ * This program is distributed in the hope that it will be useful,
38
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
39
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40
+ * GNU General Public License for more details.
41
+ *
42
+ * You should have received a copy of the GNU General Public License
43
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
44
+ *
45
+ * @license
46
+ * @nocompile
47
+ */Yt.styles=kt,Ut([Object(r.f)(".scrim")],Yt.prototype,"scrimEl",void 0),Ut([Object(r.f)(".wrapper")],Yt.prototype,"contentEl",void 0),Ut([Object(r.f)(".peek")],Yt.prototype,"peekEl",void 0),Ut([Object(r.e)({type:Boolean,reflect:!0})],Yt.prototype,"opened",void 0),Ut([Object(r.e)({type:String,reflect:!0})],Yt.prototype,"side",void 0),Ut([Object(r.e)({type:Boolean,reflect:!0})],Yt.prototype,"persistent",void 0),Ut([Object(r.e)({type:Number,reflect:!0})],Yt.prototype,"threshold",void 0),Ut([Object(r.e)({type:Boolean,reflect:!0})],Yt.prototype,"noScroll",void 0),Ut([Object(r.e)({type:Boolean,reflect:!0})],Yt.prototype,"mouseEvents",void 0),Ut([Object(r.e)({reflect:!0,converter:H,hasChanged:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length!==e.length||t.some((function(t,n){return t!==e[n]}))}})],Yt.prototype,"range",void 0),Ut([Object(r.e)()],Yt.prototype,"scrimClickable",void 0),Ut([Object(r.e)()],Yt.prototype,"grabbing",void 0),Ut([Object(r.e)()],Yt.prototype,"willChange",void 0),Ut([Object(r.e)()],Yt.prototype,"open",null),Ut([Object(r.e)()],Yt.prototype,"close",null),Ut([Object(r.e)()],Yt.prototype,"toggle",null),Yt=Ut([Object(r.c)("hy-drawer")],Yt)},358:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(1),i=n(9),o=n(115),a=n(47),c=n(46),u={leading:!0,trailing:!1};!function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}t.prototype.call=function(t,e){return e.subscribe(new s(t,this.durationSelector,this.leading,this.trailing))}}();var s=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.destination=e,o.durationSelector=n,o._leading=r,o._trailing=i,o._sendValue=null,o._hasValue=!1,o}return Object(r.e)(e,t),e.prototype._next=function(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))},e.prototype.send=function(){var t=this._hasValue,e=this._sendValue;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=null},e.prototype.throttle=function(t){var e=this.tryDurationSelector(t);e&&this.add(this._throttled=Object(c.a)(this,e))},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype.throttlingDone=function(){var t=this._throttled,e=this._trailing;t&&t.unsubscribe(),this._throttled=null,e&&this.send()},e.prototype.notifyNext=function(t,e,n,r,i){this.throttlingDone()},e.prototype.notifyComplete=function(){this.throttlingDone()},e}(a.a);function l(t,e,n){return void 0===e&&(e=o.a),void 0===n&&(n=u),function(r){return r.lift(new f(t,e,!!n.leading,!!n.trailing))}}var f=function(){function t(t,e,n,r){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),p=function(t){function e(e,n,r,i,o){var a=t.call(this,e)||this;return a.duration=n,a.scheduler=r,a.leading=i,a.trailing=o,a.throttled=null,a._hasTrailingValue=!1,a._trailingValue=null,a}return Object(r.e)(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(h,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))},e.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(i.a);function h(t){t.subscriber.clearThrottle()}}}]);
@@ -0,0 +1,47 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[8],{337:function(t,e,n){"use strict";n.r(e),n.d(e,"HyDrawer",(function(){return Yt}));var r=n(318),i=n(307);function o(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,u=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){u=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw o}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
15
+ /**
16
+ * @license
17
+ * Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
18
+ * This code may only be used under the BSD style license found at
19
+ * http://polymer.github.io/LICENSE.txt
20
+ * The complete set of authors may be found at
21
+ * http://polymer.github.io/AUTHORS.txt
22
+ * The complete set of contributors may be found at
23
+ * http://polymer.github.io/CONTRIBUTORS.txt
24
+ * Code distributed by Google as part of the polymer project is also
25
+ * subject to an additional IP rights grant found at
26
+ * http://polymer.github.io/PATENTS.txt
27
+ */
28
+ var u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.classes=new Set,this.changed=!1,this.element=e;var n,r=o((e.getAttribute("class")||"").split(/\s+/));try{for(r.s();!(n=r.n()).done;){var i=n.value;this.classes.add(i)}}catch(t){r.e(t)}finally{r.f()}}var e,n,r;return e=t,(n=[{key:"add",value:function(t){this.classes.add(t),this.changed=!0}},{key:"remove",value:function(t){this.classes.delete(t),this.changed=!0}},{key:"commit",value:function(){if(this.changed){var t="";this.classes.forEach((function(e){return t+=e+" "})),this.element.setAttribute("class",t)}}}])&&c(e.prototype,n),r&&c(e,r),t}(),s=new WeakMap,l=Object(i.c)((function(t){return function(e){if(!(e instanceof i.a)||e instanceof i.b||"class"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var n=e.committer,r=n.element,o=s.get(e);void 0===o&&(r.setAttribute("class",n.strings.join(" ")),s.set(e,o=new Set));var a=r.classList||new u(r);for(var c in o.forEach((function(e){e in t||(a.remove(e),o.delete(e))})),t){var l=t[c];l!=o.has(c)&&(l?(a.add(c),o.add(c)):(a.remove(c),o.delete(c)))}"function"==typeof a.commit&&a.commit()}})),f=new WeakMap,p=Object(i.c)((function(t){return function(e){if(!(e instanceof i.a)||e instanceof i.b||"style"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var n=e.committer,r=n.element.style,o=f.get(e);for(var a in void 0===o&&(r.cssText=n.strings.join(" "),f.set(e,o=new Set)),o.forEach((function(e){e in t||(o.delete(e),-1===e.indexOf("-")?r[e]=null:r.removeProperty(e))})),t)o.add(a),-1===a.indexOf("-")?r[a]=t[a]:r.setProperty(a,t[a])}})),h=n(341),b=n(339),d=n(321),v=n(298),y=n(149),g=n(344),m=n(310),O=n(31),j=n(338),w=n(150),S=n(152),x=n(1),k=n(47),_=n(46);function E(t){return function(e){return e.lift(new T(t))}}var T=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new C(t),r=e.subscribe(n);return r.add(Object(_.a)(n,this.notifier)),r},t}(),C=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return Object(x.e)(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(k.a),A=n(115);function R(t){return void 0===t&&(t=A.a),Object(O.a)((function(e){return new I(e,t.now())}))}var I=function(t,e){this.value=t,this.timestamp=e},$=n(324),P=n(151),V=n(323),M=n(148),D=n(342),X=n(343),z=n(9);function B(t){return function(e){return e.lift(new W(t))}}var W=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new N(t,this.total))},t}(),N=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return Object(x.e)(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(z.a),U=n(305),Y=n(64);function F(t,e,n,r){return n*Math.sin(t/r*(Math.PI/2))+e}function J(t){return("ResizeObserver"in window?Object(U.e)(t):Object(Y.a)({contentRect:{width:t.clientWidth}})).pipe(Object(O.a)((function(t){return t.contentRect.width})))}var H={fromAttribute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.replace(/[\[\]]/g,"").split(",").map(Number)},toAttribute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.join(",")}};var L=n(322),q=n(349);var G=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new K(t,this.notifier,e))},t}(),K=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i.notifications=null,i.retries=null,i.retriesSubscription=null,i.sourceIsBeingSubscribedTo=!0,i}return Object(x.e)(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,t.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){var e;this.notifications=new m.a;try{e=(0,this.notifier)(this.notifications)}catch(e){return t.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=Object(_.a)(this,e)},e}(k.a);var Q=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new Z(t,this.predicate))},t}(),Z=function(t){function e(e,n){var r=t.call(this,e)||this;return r.predicate=n,r.skipping=!0,r.index=0,r}return Object(x.e)(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(z.a);function tt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return et(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return et(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function et(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function nt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var rt=Math.abs.bind(Math),it=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,(n=[{key:"getStartObservable",value:function(){return Object(b.a)(this.$.mouseEvents).pipe(Object(M.a)((function(t){var e=tt(t,1)[0],n=Object(v.a)(document,"touchstart",{passive:!0}).pipe(Object(P.a)((function(t){return 1===t.touches.length})),Object(O.a)((function(t){return t.touches[0]}))),r=e?Object(v.a)(document,"mousedown").pipe(Object(O.a)((function(t){return t.event=t,t}))):y.a;return Object(d.a)(n,r)})))}},{key:"getMoveObservable",value:function(t,e){return Object(b.a)(this.$.mouseEvents,this.$.preventDefault).pipe(Object(M.a)((function(n){var r=tt(n,2),i=r[0],o=r[1],a=Object(v.a)(document,"touchmove",{passive:!o}).pipe(Object(O.a)((function(t){return t.touches[0].event=t,t.touches[0]}))),c=i?Object(v.a)(document,"mousemove",{passive:!o}).pipe(Object(U.l)(Object(d.a)(t.pipe(Object(L.a)(!0)),e.pipe(Object(L.a)(!1)))),Object(O.a)((function(t){return t.event=t,t}))):y.a;return Object(d.a)(a,c)})))}},{key:"getEndObservable",value:function(){return Object(b.a)(this.$.mouseEvents).pipe(Object(M.a)((function(t){var e=tt(t,1)[0],n=Object(v.a)(document,"touchend",{passive:!0}).pipe(Object(P.a)((function(t){return 0===t.touches.length})),Object(O.a)((function(t){return t.changedTouches[0]}))),r=e?Object(v.a)(document,"mouseup",{passive:!0}):y.a;return Object(d.a)(n,r)})))}},{key:"getIsSlidingObservable",value:function(t,e,n){return this.getIsSlidingObservableInner(t,e).pipe(Object(q.a)(1),Object(V.a)(void 0),(r=function(){return n},function(t){return t.lift(new G(r))}));var r}},{key:"getIsSlidingObservableInner",value:function(t,e){var n,r=this;return this.threshold?t.pipe(Object(w.a)(e),(n=function(t){var e=tt(t,2),n=e[0],i=n.clientX,o=n.clientY,a=e[1],c=a.clientX,u=a.clientY;return rt(u-o)<r.threshold&&rt(c-i)<r.threshold},function(t){return t.lift(new Q(n))}),Object(O.a)((function(t){var e=tt(t,2),n=e[0],r=n.clientX,i=n.clientY,o=e[1],a=o.clientX,c=o.clientY;return rt(a-r)>=rt(c-i)}))):t.pipe(Object(w.a)(e),Object(O.a)((function(t){var e=tt(t,2),n=e[0],i=n.clientX,o=n.clientY,a=n.event,c=e[1],u=c.clientX,s=c.clientY,l=rt(u-i)>=rt(s-o);return r.noScroll&&l&&a.preventDefault(),l})))}}])&&nt(e.prototype,n),r&&nt(e,r),t}();function ot(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return at(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return at(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function at(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ct(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var ut=Math.min.bind(Math),st=Math.max.bind(Math),lt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,(n=[{key:"calcIsInRange",value:function(t,e){var n=t.clientX;switch(this.side){case"left":var r=ot(this.range,2),i=r[0],o=r[1];return n>i&&(e||n<o);case"right":var a=window.innerWidth-this.range[0],c=window.innerWidth-this.range[1];return n<a&&(e||n>c);default:throw Error()}}},{key:"calcIsSwipe",value:function(t,e,n,r,i){var o=t.clientX;return e.clientX!==o||n>0&&n<r}},{key:"calcWillOpen",value:function(t,e,n,r,i){switch(this.side){case"left":return i>.15||!(i<-.15)&&n>=r/2;case"right":return-i>.15||!(-i<-.15)&&n<=-r/2;default:throw Error()}}},{key:"calcTranslateX",value:function(t,e,n,r){var i=t.clientX,o=e.clientX;switch(this.side){case"left":return st(0,ut(r,n+(i-o)));case"right":return ut(0,st(-r,n+(i-o)));default:throw Error()}}}])&&ct(e.prototype,n),r&&ct(e,r),t}();function ft(t){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ht(t,e)}function ht(t,e){return(ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function bt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=vt(t);if(e){var i=vt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return dt(this,n)}}function dt(t,e){return!e||"object"!==ft(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function vt(t){return(vt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function yt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function mt(t,e,n){return e&&gt(t.prototype,e),n&&gt(t,n),t}var Ot=function(){function t(){yt(this,t)}return mt(t,[{key:"updateDOM",value:function(t,e){var n=t/e*("left"===this.side?1:-1)||0;this.translateX=t,this.opacity=n,this.updater.updateDOM(t,n)}}]),t}(),jt=function(){function t(e){yt(this,t),this.parent=e}return mt(t,[{key:"contentEl",get:function(){return this.parent.contentEl}},{key:"scrimEl",get:function(){return this.parent.scrimEl}}],[{key:"getUpdaterForPlatform",value:function(t){return"attributeStyleMap"in Element.prototype&&"CSS"in window&&"number"in CSS?new St(t):new wt(t)}}]),t}(),wt=function(t){pt(n,t);var e=bt(n);function n(t){return yt(this,n),e.call(this,t)}return mt(n,[{key:"updateDOM",value:function(t,e){this.contentEl.style.transform="translate(".concat(t,"px, 0px)"),this.scrimEl.style.opacity="".concat(e)}}]),n}(jt),St=function(t){pt(n,t);var e=bt(n);function n(t){var r;return yt(this,n),(r=e.call(this,t)).tvalue=new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]),r.ovalue=CSS.number(1),r}return mt(n,[{key:"updateDOM",value:function(t,e){this.tvalue[0].x.value=t,this.ovalue.value=e,this.contentEl.attributeStyleMap.set("transform",this.tvalue),this.scrimEl.attributeStyleMap.set("opacity",this.ovalue)}}]),n}(jt);function xt(){var t=function(t,e){e||(e=t.slice(0));return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n @media screen {\n :host {\n touch-action: pan-x;\n }\n\n .full-screen {\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n }\n\n .full-height {\n position: fixed;\n top: 0;\n height: 100vh;\n }\n\n .peek {\n left: 0;\n width: var(--hy-drawer-peek-width, 0px);\n visibility: hidden;\n z-index: calc(var(--hy-drawer-z-index, 100) - 1);\n }\n\n .scrim {\n position: fixed;\n top: 0;\n left: 0;\n height: 10vh;\n width: 10vw;\n transform: scale(10);\n transform-origin: top left;\n opacity: 0;\n pointer-events: none;\n background: var(--hy-drawer-scrim-background, rgba(0, 0, 0, 0.5));\n z-index: var(--hy-drawer-z-index, 100);\n -webkit-tap-highlight-color: transparent;\n }\n\n .range {\n position: fixed;\n top: 0;\n height: 100vh;\n z-index: calc(var(--hy-drawer-z-index, 100) + 1);\n }\n\n .grabbing-screen {\n cursor: grabbing;\n z-index: calc(var(--hy-drawer-z-index, 100) + 2);\n }\n\n .wrapper {\n width: var(--hy-drawer-width, 300px);\n background: var(--hy-drawer-background, inherit);\n box-shadow: var(--hy-drawer-box-shadow, 0 0 15px rgba(0, 0, 0, 0.25));\n z-index: calc(var(--hy-drawer-z-index, 100) + 3);\n contain: strict;\n }\n\n .wrapper.left {\n left: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper.right {\n right: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper > .overflow {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n }\n\n .grab {\n cursor: move;\n cursor: grab;\n }\n\n .grabbing {\n cursor: grabbing;\n }\n }\n\n @media print {\n .scrim {\n display: none !important;\n }\n\n .wrapper {\n transform: none !important;\n }\n }\n"]);return xt=function(){return t},t}var kt=Object(r.b)(xt());function _t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Et(){var t=Ct(['<div class="grabbing-screen full-screen"></div>']);return Et=function(){return t},t}function Tt(){var t=Ct(['\n <div class="peek full-height"></div>\n <div\n class="scrim"\n style=',">\n </div>\n ","\n <div\n class=","\n style=",'\n >\n <div class="overflow">\n <slot></slot>\n </div>\n </div>\n ']);return Tt=function(){return t},t}function Ct(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function At(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||It(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rt(t){return function(t){if(Array.isArray(t))return $t(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||It(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function It(t,e){if(t){if("string"==typeof t)return $t(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$t(t,e):void 0}}function $t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Pt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Mt(t,e,n){return(Mt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Wt(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function Dt(t,e){return(Dt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Xt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Wt(t);if(e){var i=Wt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return zt(this,n)}}function zt(t,e){return!e||"object"!==Nt(e)&&"function"!=typeof e?Bt(t):e}function Bt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wt(t){return(Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Nt(t){return(Nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Ut=function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"==typeof Reflect?"undefined":Nt(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},Yt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dt(t,e)}(a,t);var e,n,i,o=Xt(a);function a(){var t;return Pt(this,a),(t=o.apply(this,arguments)).el=Bt(t),t.opened=!1,t.side="left",t.persistent=!1,t.threshold=10,t.noScroll=!1,t.mouseEvents=!1,t.range=[0,100],t.willChange=!1,t._initialized=Object(U.f)(),t.$={},t.upgrade=function(){var e=t.getDrawerWidth(),n=t.$.persistent.pipe(Object(O.a)((function(t){return!t}))),r=t.getStartObservable().pipe(Object(U.h)(n),Object(j.a)()),i={},o=Object(h.a)((function(){return i.translateX$.pipe(Object(O.a)((function(t){return 0!==t})))})),a=r.pipe(Object(w.a)(o),Object(O.a)((function(e){var n;return(n=t).calcIsInRange.apply(n,Rt(e))})),Object(S.a)((function(e){e&&(t.willChange=!0,t.fireEvent("prepare"))})),Object(j.a)()),c=t.getEndObservable().pipe(Object(U.h)(n,a),Object(S.a)((function(){t.mouseEvents&&(t.grabbing=!1)})),Object(j.a)()),u=t.getMoveObservable(r,c).pipe(Object(U.h)(n,a),Object(j.a)()),s=t.getIsSlidingObservable(u,r,c).pipe(Object(S.a)((function(e){t.isSliding=e,e&&t.mouseEvents&&(t.grabbing=!0)}))),l=i.translateX$=Object(h.a)((function(){var n=Object(b.a)(t.$.opened,t.$.side,e).pipe(Object(O.a)((function(t){var e=At(t,3),n=e[0],r=e[1],i=e[2];return n?i*("left"===r?1:-1):0}))),o=u.pipe(Object(U.h)(s),Object(S.a)((function(){return t.scrimClickable=!1})),Object(S.a)((function(e){var n=e.event;return t.noScroll&&n.preventDefault()})),Object(w.a)(r,i.startTranslateX$,e),Object(O.a)((function(e){var n;return(n=t).calcTranslateX.apply(n,Rt(e))})));return Object(d.a)(i.tweenTranslateX$,n,o)})).pipe(Object(j.a)());i.startTranslateX$=l.pipe(E(r));var f=l.pipe(R(),Object($.a)(),Object(P.a)((function(t){var e=At(t,2),n=e[0].timestamp;return e[1].timestamp-n>0})),Object(O.a)((function(t){var e=At(t,2),n=e[0],r=n.value,i=n.timestamp,o=e[1];return(o.value-r)/(o.timestamp-i)})),Object(V.a)(0)),p=c.pipe(Object(w.a)(r,l,e,f),Object(P.a)((function(e){var n;return(n=t).calcIsSwipe.apply(n,Rt(e))})),Object(O.a)((function(e){var n;return(n=t).calcWillOpen.apply(n,Rt(e))}))),g=t.animateTo$.pipe(Object(S.a)((function(){t.willChange=!0,t.fireEvent("prepare")})));i.tweenTranslateX$=Object(d.a)(p,g).pipe(Object(w.a)(l,e),Object(M.a)((function(e){var n=At(e,3),i=n[0],o=n[1],a=n[2],c="left"===t.side?1:-1,u=(i?a*c:0)-o,s=Math.ceil(200+.15*a);return Object(U.m)(F,o,u,s).pipe(Object(D.a)((function(){t.transitioned(i)})),Object(X.a)(r),Object(X.a)(t.$.side.pipe(B(1))),Object(j.a)())}))),l.pipe(Object(w.a)(e),Object(S.a)((function(e){var n;(n=t).updateDOM.apply(n,Rt(e));var r=Bt(t),i=r.translateX,o=r.opacity;t.fireEvent("move",{detail:{translateX:i,opacity:o},bubbles:!1})}))).subscribe(),Object(v.a)(t.scrimEl,"click").pipe(Object(S.a)((function(){return t.close()}))).subscribe(),n.pipe(Object(S.a)((function(e){t.scrimEl.style.display=e?"block":"none"}))).subscribe(),t.$.mouseEvents.pipe(Object(M.a)((function(t){return t?r.pipe(Object(w.a)(a)):y.a})),Object(P.a)((function(t){var e=At(t,2),n=e[0];return e[1]&&null!=n.event})),Object(S.a)((function(t){return At(t,1)[0].event.preventDefault()}))).subscribe(),t.fireEvent("init",{detail:t.opened}),t._initialized.resolve(Bt(t))},t.transitioned=function(e){t.opened=t.scrimClickable=e,t.willChange=!1,t.fireEvent("transitioned",{detail:e})},t}return e=a,(n=[{key:"getDrawerWidth",value:function(){var t=this,e=J(this.contentEl).pipe(Object(S.a)((function(e){return t.fireEvent("content-width-change",{detail:e})}))),n=J(this.peekEl).pipe(Object(S.a)((function(e){return t.fireEvent("peek-width-change",{detail:e})})));return Object(b.a)(e,n).pipe(Object(O.a)((function(t){var e=At(t,2);return e[0]-e[1]})),Object(j.a)())}},{key:"connectedCallback",value:function(){Mt(Wt(a.prototype),"connectedCallback",this).call(this),this.$.opened=new g.a(this.opened),this.$.side=new g.a(this.side),this.$.persistent=new g.a(this.persistent),this.$.preventDefault=new g.a(this.noScroll),this.$.mouseEvents=new g.a(this.mouseEvents),this.scrimClickable=this.opened,this.animateTo$=new m.a,this.updater=jt.getUpdaterForPlatform(this),this.updateComplete.then(this.upgrade)}},{key:"render",value:function(){var t;return Object(r.d)(Tt(),p({willChange:this.willChange?"opacity":"",pointerEvents:this.scrimClickable?"all":""}),this.mouseEvents&&this.grabbing&&!this.scrimClickable?Object(r.d)(Et()):null,l((_t(t={wrapper:!0,"full-height":!0},this.side,!0),_t(t,"grab",this.mouseEvents),_t(t,"grabbing",this.mouseEvents&&this.grabbing),t)),p({willChange:this.willChange?"transform":""}))}},{key:"open",value:function(){this.animateTo$.next(!0)}},{key:"close",value:function(){this.animateTo$.next(!1)}},{key:"toggle",value:function(){this.animateTo$.next(!this.opened)}},{key:"initialized",get:function(){return this._initialized}},{key:"histId",get:function(){return this.id||this.tagName}},{key:"hashId",get:function(){return"#".concat(this.histId,"--opened")}}])&&Vt(e.prototype,n),i&&Vt(e,i),a}(Object(U.b)(U.a,[it,Ot,lt]));
29
+ /**
30
+ * Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
31
+ *
32
+ * This program is free software: you can redistribute it and/or modify
33
+ * it under the terms of the GNU General Public License as published by
34
+ * the Free Software Foundation, either version 3 of the License, or
35
+ * (at your option) any later version.
36
+ *
37
+ * This program is distributed in the hope that it will be useful,
38
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
39
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40
+ * GNU General Public License for more details.
41
+ *
42
+ * You should have received a copy of the GNU General Public License
43
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
44
+ *
45
+ * @license
46
+ * @nocompile
47
+ */Yt.styles=kt,Ut([Object(r.f)(".scrim")],Yt.prototype,"scrimEl",void 0),Ut([Object(r.f)(".wrapper")],Yt.prototype,"contentEl",void 0),Ut([Object(r.f)(".peek")],Yt.prototype,"peekEl",void 0),Ut([Object(r.e)({type:Boolean,reflect:!0})],Yt.prototype,"opened",void 0),Ut([Object(r.e)({type:String,reflect:!0})],Yt.prototype,"side",void 0),Ut([Object(r.e)({type:Boolean,reflect:!0})],Yt.prototype,"persistent",void 0),Ut([Object(r.e)({type:Number,reflect:!0})],Yt.prototype,"threshold",void 0),Ut([Object(r.e)({type:Boolean,reflect:!0})],Yt.prototype,"noScroll",void 0),Ut([Object(r.e)({type:Boolean,reflect:!0})],Yt.prototype,"mouseEvents",void 0),Ut([Object(r.e)({reflect:!0,converter:H,hasChanged:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length!==e.length||t.some((function(t,n){return t!==e[n]}))}})],Yt.prototype,"range",void 0),Ut([Object(r.e)()],Yt.prototype,"scrimClickable",void 0),Ut([Object(r.e)()],Yt.prototype,"grabbing",void 0),Ut([Object(r.e)()],Yt.prototype,"willChange",void 0),Ut([Object(r.e)()],Yt.prototype,"open",null),Ut([Object(r.e)()],Yt.prototype,"close",null),Ut([Object(r.e)()],Yt.prototype,"toggle",null),Yt=Ut([Object(r.c)("hy-drawer")],Yt)},339:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(1),i=n(113),o=n(68),a=n(47),c=n(46),u=n(114),s={};function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=void 0,r=void 0;return Object(i.a)(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(o.a)(t[0])&&(t=t[0]),Object(u.a)(t,r).lift(new f(n))}var f=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.resultSelector))},t}(),p=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return Object(r.e)(e,t),e.prototype._next=function(t){this.values.push(s),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(Object(c.a)(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.values,a=o[n],c=this.toRespond?a===s?--this.toRespond:this.toRespond:0;o[n]=e,0===c&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(a.a)},350:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(1),i=n(9),o=n(115),a=n(47),c=n(46),u={leading:!0,trailing:!1};!function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}t.prototype.call=function(t,e){return e.subscribe(new s(t,this.durationSelector,this.leading,this.trailing))}}();var s=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.destination=e,o.durationSelector=n,o._leading=r,o._trailing=i,o._sendValue=null,o._hasValue=!1,o}return Object(r.e)(e,t),e.prototype._next=function(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))},e.prototype.send=function(){var t=this._hasValue,e=this._sendValue;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=null},e.prototype.throttle=function(t){var e=this.tryDurationSelector(t);e&&this.add(this._throttled=Object(c.a)(this,e))},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype.throttlingDone=function(){var t=this._throttled,e=this._trailing;t&&t.unsubscribe(),this._throttled=null,e&&this.send()},e.prototype.notifyNext=function(t,e,n,r,i){this.throttlingDone()},e.prototype.notifyComplete=function(){this.throttlingDone()},e}(a.a);function l(t,e,n){return void 0===e&&(e=o.a),void 0===n&&(n=u),function(r){return r.lift(new f(t,e,!!n.leading,!!n.trailing))}}var f=function(){function t(t,e,n,r){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),p=function(t){function e(e,n,r,i,o){var a=t.call(this,e)||this;return a.duration=n,a.scheduler=r,a.leading=i,a.trailing=o,a.throttled=null,a._hasTrailingValue=!1,a._trailingValue=null,a}return Object(r.e)(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(h,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))},e.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(i.a);function h(t){t.subscriber.clearThrottle()}}}]);
@@ -0,0 +1,78 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{309:function(t,e,n){"use strict";n.d(e,"g",(function(){return r.a})),n.d(e,"m",(function(){return r.c})),n.d(e,"a",(function(){return b})),n.d(e,"b",(function(){return v})),n.d(e,"e",(function(){return m.c})),n.d(e,"d",(function(){return m.b})),n.d(e,"l",(function(){return w.c})),n.d(e,"h",(function(){return w.b})),n.d(e,"c",(function(){return w.a})),n.d(e,"i",(function(){return S.b})),n.d(e,"j",(function(){return S.c})),n.d(e,"k",(function(){return S.d})),n.d(e,"f",(function(){return S.a}));var r=n(87),o=n(322),i=n(313);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return(f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=d(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=d(t);if(e){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(u,t);var e,n,r,o=h(u);function u(){var t;return s(this,u),(t=o.apply(this,arguments)).$connected=new i.a,t}return e=u,(n=[{key:"connectedCallback",value:function(){f(d(u.prototype),"connectedCallback",this).call(this),this.$connected.next(!0)}},{key:"disconnectedCallback",value:function(){f(d(u.prototype),"disconnectedCallback",this).call(this),this.$connected.next(!1)}},{key:"firstUpdated",value:function(){this.firstUpdate=!0}},{key:"updated",value:function(t){if(!this.firstUpdate){var e,n=c(t.keys());try{for(n.s();!(e=n.n()).done;){var r=e.value;r in this.$&&this.$[r].next(this[r])}}catch(t){n.e(t)}finally{n.f()}}this.firstUpdate=!1}},{key:"fireEvent",value:function(t,e){this.dispatchEvent(new CustomEvent(t,e)),this.dispatchEvent(new CustomEvent("".concat(this.tagName.toLowerCase(),"-").concat(t),e))}}])&&l(e.prototype,n),r&&l(e,r),u}(o.a);function v(t,e){return e.forEach((function(e){Object.getOwnPropertyNames(e.prototype).forEach((function(n){t.prototype[n]=e.prototype[n]}))})),t}var m=n(116),w=n(86),S=n(67)},313:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return f}));var r=n(1),o=n(5),i=n(9),u=n(14),c=n(315),a=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return Object(r.e)(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(u.a),s=n(63),l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return Object(r.e)(e,t),e}(i.a),f=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(r.e)(e,t),e.prototype[s.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new c.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new c.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new c.a;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new c.a;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new c.a;return this.hasError?(t.error(this.thrownError),u.a.EMPTY):this.isStopped?(t.complete(),u.a.EMPTY):(this.observers.push(t),new a(this,t))},e.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},e.create=function(t,e){return new p(t,e)},e}(o.a),p=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return Object(r.e)(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):u.a.EMPTY},e}(f)},315:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},322:function(t,e,n){"use strict";n.d(e,"c",(function(){return M})),n.d(e,"e",(function(){return I})),n.d(e,"f",(function(){return q})),n.d(e,"d",(function(){return f.f})),n.d(e,"b",(function(){return Y})),n.d(e,"a",(function(){return et}));var r=n(314),o=n(312);function i(t,e){for(var n=t.element.content,r=t.parts,o=document.createTreeWalker(n,133,null,!1),i=c(r),u=r[i],a=-1,s=0,l=[],f=null;o.nextNode();){a++;var p=o.currentNode;for(p.previousSibling===f&&(f=null),e.has(p)&&(l.push(p),null===f&&(f=p)),null!==f&&s++;void 0!==u&&u.index===a;)u.index=null!==f?-1:u.index-s,u=r[i=c(r,i)]}l.forEach((function(t){return t.parentNode.removeChild(t)}))}var u=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,133,null,!1);n.nextNode();)e++;return e},c=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=e+1;n<t.length;n++){var r=t[n];if(Object(o.d)(r))return n}return-1};var a=n(321),s=n(317),l=n(320),f=n(310);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
15
+ /**
16
+ * @license
17
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
18
+ * This code may only be used under the BSD style license found at
19
+ * http://polymer.github.io/LICENSE.txt
20
+ * The complete set of authors may be found at
21
+ * http://polymer.github.io/AUTHORS.txt
22
+ * The complete set of contributors may be found at
23
+ * http://polymer.github.io/CONTRIBUTORS.txt
24
+ * Code distributed by Google as part of the polymer project is also
25
+ * subject to an additional IP rights grant found at
26
+ * http://polymer.github.io/PATENTS.txt
27
+ */var h=function(t,e){return"".concat(t,"--").concat(e)},y=!0;void 0===window.ShadyCSS?y=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),y=!1);var d=function(t){return function(e){var n=h(e.type,t),r=s.a.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},s.a.set(n,r));var i=r.stringsArray.get(e.strings);if(void 0!==i)return i;var u=e.strings.join(o.f);if(void 0===(i=r.keyString.get(u))){var c=e.getTemplateElement();y&&window.ShadyCSS.prepareTemplateDom(c,t),i=new o.a(e,c),r.keyString.set(u,i)}return r.stringsArray.set(e.strings,i),i}},b=["html","svg"],v=new Set,m=function(t,e,n){v.add(t);var r=n?n.element:document.createElement("template"),o=e.querySelectorAll("style"),a=o.length;if(0!==a){for(var l=document.createElement("style"),f=0;f<a;f++){var p=o[f];p.parentNode.removeChild(p),l.textContent+=p.textContent}!function(t){b.forEach((function(e){var n=s.a.get(h(e,t));void 0!==n&&n.keyString.forEach((function(t){var e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach((function(t){n.add(t)})),i(t,n)}))}))}(t);var y=r.content;n?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t.element.content,o=t.parts;if(null!=n)for(var i=document.createTreeWalker(r,133,null,!1),a=c(o),s=0,l=-1;i.nextNode();){l++;var f=i.currentNode;for(f===n&&(s=u(e),n.parentNode.insertBefore(e,n));-1!==a&&o[a].index===l;){if(s>0){for(;-1!==a;)o[a].index+=s,a=c(o,a);return}a=c(o,a)}}else r.appendChild(e)}(n,l,y.firstChild):y.insertBefore(l,y.firstChild),window.ShadyCSS.prepareTemplateStyles(r,t);var d=y.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==d)e.insertBefore(d.cloneNode(!0),e.firstChild);else if(n){y.insertBefore(l,y.firstChild);var m=new Set;m.add(l),i(n,m)}}else window.ShadyCSS.prepareTemplateStyles(r,t)};function w(t){return function(t){if(Array.isArray(t))return _(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||S(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t,e){if(t){if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(t,e):void 0}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e,n,r,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void n(t)}c.done?e(a):Promise.resolve(a).then(r,o)}function P(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function j(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function k(t){var e="function"==typeof Map?new Map:void 0;return(k=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return C(t,arguments,R(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),x(r,t)})(t)}function C(t,e,n){return(C=E()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&x(o,n.prototype),o}).apply(null,arguments)}function E(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function x(t,e){return(x=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function R(t){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
28
+ /**
29
+ * @license
30
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
31
+ * This code may only be used under the BSD style license found at
32
+ * http://polymer.github.io/LICENSE.txt
33
+ * The complete set of authors may be found at
34
+ * http://polymer.github.io/AUTHORS.txt
35
+ * The complete set of contributors may be found at
36
+ * http://polymer.github.io/CONTRIBUTORS.txt
37
+ * Code distributed by Google as part of the polymer project is also
38
+ * subject to an additional IP rights grant found at
39
+ * http://polymer.github.io/PATENTS.txt
40
+ */window.JSCompiler_renameProperty=function(t,e){return t};var A={toAttribute:function(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},T=function(t,e){return e!==t&&(e==e||t==t)},U={attribute:!0,type:String,converter:A,reflect:!1,hasChanged:T},N=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&x(t,e)}(s,t);var e,n,r,o,i,u,c,a=(e=s,n=E(),function(){var t,r=R(e);if(n){var o=R(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return j(this,t)});function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=a.call(this))._updateState=0,t._instanceProperties=void 0,t._updatePromise=new Promise((function(e){return t._enableUpdatingResolver=e})),t._changedProperties=new Map,t._reflectingProperties=void 0,t.initialize(),t}return r=s,o=[{key:"initialize",value:function(){this._saveInstanceProperties(),this._requestUpdate()}},{key:"_saveInstanceProperties",value:function(){var t=this;this.constructor._classProperties.forEach((function(e,n){if(t.hasOwnProperty(n)){var r=t[n];delete t[n],t._instanceProperties||(t._instanceProperties=new Map),t._instanceProperties.set(n,r)}}))}},{key:"_applyInstanceProperties",value:function(){var t=this;this._instanceProperties.forEach((function(e,n){return t[n]=e})),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this.enableUpdating()}},{key:"enableUpdating",value:function(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(t,e,n){e!==n&&this._attributeToProperty(t,n)}},{key:"_propertyToAttribute",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:U,r=this.constructor,o=r._attributeNameForProperty(t,n);if(void 0!==o){var i=r._propertyValueToAttribute(e,n);if(void 0===i)return;this._updateState=8|this._updateState,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var o=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,o),this._updateState=-17&this._updateState}}}},{key:"_requestUpdate",value:function(t,e){var n=!0;if(void 0!==t){var r=this.constructor,o=r.getPropertyOptions(t);r._valueHasChanged(this[t],e,o.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==o.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,o))):n=!1}!this._hasRequestedUpdate&&n&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(t,e){return this._requestUpdate(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(u=regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._updateState=4|this._updateState,t.prev=1,t.next=4,this._updatePromise;case 4:t.next=8;break;case 6:t.prev=6,t.t0=t.catch(1);case 8:if(null==(e=this.performUpdate())){t.next=12;break}return t.next=12,e;case 12:return t.abrupt("return",!this._hasRequestedUpdate);case 13:case"end":return t.stop()}}),t,this,[[1,6]])})),c=function(){var t=this,e=arguments;return new Promise((function(n,r){var o=u.apply(t,e);function i(t){O(o,n,r,i,c,"next",t)}function c(t){O(o,n,r,i,c,"throw",t)}i(void 0)}))},function(){return c.apply(this,arguments)})},{key:"performUpdate",value:function(){this._instanceProperties&&this._applyInstanceProperties();var t=!1,e=this._changedProperties;try{(t=this.shouldUpdate(e))?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"_getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((function(t,n){return e._propertyToAttribute(n,e[n],t)})),this._reflectingProperties=void 0),this._markUpdated()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._getUpdateComplete()}}],i=[{key:"_ensureClassProperties",value:function(){var t=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((function(e,n){return t._classProperties.set(n,e)}))}}},{key:"createProperty",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:U;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var n="symbol"===g(t)?Symbol():"__".concat(t),r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}},{key:"getPropertyDescriptor",value:function(t,e,n){return{get:function(){return this[e]},set:function(n){var r=this[t];this[e]=n,this._requestUpdate(t,r)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this._classProperties&&this._classProperties.get(t)||U}},{key:"finalize",value:function(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty("finalized")||t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e,n=this.properties,r=function(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=S(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw i}}}}([].concat(w(Object.getOwnPropertyNames(n)),w("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n):[])));try{for(r.s();!(e=r.n()).done;){var o=e.value;this.createProperty(o,n[o])}}catch(t){r.e(t)}finally{r.f()}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:T;return n(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||A,o="function"==typeof r?r:r.fromAttribute;return o?o(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||A.toAttribute)(t,n)}}},{key:"observedAttributes",get:function(){var t=this;this.finalize();var e=[];return this._classProperties.forEach((function(n,r){var o=t._attributeNameForProperty(r,n);void 0!==o&&(t._attributeToPropertyMap.set(o,r),e.push(o))})),e}}],o&&P(r.prototype,o),i&&P(r,i),s}(k(HTMLElement));N.finalized=!0;
41
+ /**
42
+ * @license
43
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
44
+ * This code may only be used under the BSD style license found at
45
+ * http://polymer.github.io/LICENSE.txt
46
+ * The complete set of authors may be found at
47
+ * http://polymer.github.io/AUTHORS.txt
48
+ * The complete set of contributors may be found at
49
+ * http://polymer.github.io/CONTRIBUTORS.txt
50
+ * Code distributed by Google as part of the polymer project is also
51
+ * subject to an additional IP rights grant found at
52
+ * http://polymer.github.io/PATENTS.txt
53
+ */
54
+ var M=function(t){return function(e){return"function"==typeof e?function(t,e){return window.customElements.define(t,e),e}(t,e):function(t,e){return{kind:e.kind,elements:e.elements,finisher:function(e){window.customElements.define(t,e)}}}(t,e)}};function I(t){return function(e,n){return void 0!==n?function(t,e,n){e.constructor.createProperty(n,t)}(t,e,n):function(t,e){return"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?Object.assign(Object.assign({},e),{finisher:function(n){n.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer:function(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher:function(n){n.createProperty(e.key,t)}}}(t,e)}}function q(t){return function(e,n){var r={get:function(){return this.renderRoot.querySelector(t)},enumerable:!0,configurable:!0};return void 0!==n?z(r,e,n):F(r,e)}}var z=function(t,e,n){Object.defineProperty(e,n,t)},F=function(t,e){return{kind:"method",placement:"prototype",key:e.key,descriptor:t}};function D(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
55
+ /**
56
+ @license
57
+ Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
58
+ This code may only be used under the BSD style license found at
59
+ http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
60
+ http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
61
+ found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
62
+ part of the polymer project is also subject to an additional IP rights grant
63
+ found at http://polymer.github.io/PATENTS.txt
64
+ */
65
+ var V="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,J=Symbol(),$=function(){function t(e,n){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n!==J)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}var e,n,r;return e=t,(n=[{key:"toString",value:function(){return this.cssText}},{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(V?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}}])&&D(e.prototype,n),r&&D(e,r),t}(),B=function(t){if(t instanceof $)return t.cssText;if("number"==typeof t)return t;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(t,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))},Y=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=n.reduce((function(e,n,r){return e+B(n)+t[r+1]}),t[0]);return new $(o,J)};function W(t){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function H(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function K(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function L(t,e,n){return(L="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Z(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function G(t,e){return(G=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Q(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Z(t);if(e){var o=Z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return X(this,n)}}function X(t,e){return!e||"object"!==W(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Z(t){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
66
+ /**
67
+ * @license
68
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
69
+ * This code may only be used under the BSD style license found at
70
+ * http://polymer.github.io/LICENSE.txt
71
+ * The complete set of authors may be found at
72
+ * http://polymer.github.io/AUTHORS.txt
73
+ * The complete set of contributors may be found at
74
+ * http://polymer.github.io/CONTRIBUTORS.txt
75
+ * Code distributed by Google as part of the polymer project is also
76
+ * subject to an additional IP rights grant found at
77
+ * http://polymer.github.io/PATENTS.txt
78
+ */(window.litElementVersions||(window.litElementVersions=[])).push("2.3.1");var tt={},et=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&G(t,e)}(i,t);var e,n,r,o=Q(i);function i(){return H(this,i),o.apply(this,arguments)}return e=i,r=[{key:"getStyles",value:function(){return this.styles}},{key:"_getUniqueStyles",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var t=this.getStyles();if(void 0===t)this._styles=[];else if(Array.isArray(t)){var e=function t(e,n){return e.reduceRight((function(e,n){return Array.isArray(n)?t(n,e):(e.add(n),e)}),n)}(t,new Set),n=[];e.forEach((function(t){return n.unshift(t)})),this._styles=n}else this._styles=[t]}}}],(n=[{key:"initialize",value:function(){L(Z(i.prototype),"initialize",this).call(this),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?V?this.renderRoot.adoptedStyleSheets=t.map((function(t){return t.styleSheet})):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map((function(t){return t.cssText})),this.localName))}},{key:"connectedCallback",value:function(){L(Z(i.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var e=this,n=this.render();L(Z(i.prototype),"update",this).call(this,t),n!==tt&&this.constructor.render(n,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((function(t){var n=document.createElement("style");n.textContent=t.cssText,e.renderRoot.appendChild(n)})))}},{key:"render",value:function(){return tt}}])&&K(e.prototype,n),r&&K(e,r),i}(N);et.finalized=!0,et.render=function(t,e,n){if(!n||"object"!==p(n)||!n.scopeName)throw new Error("The `scopeName` option is required.");var o=n.scopeName,i=a.a.has(e),u=y&&11===e.nodeType&&!!e.host,c=u&&!v.has(o),s=c?document.createDocumentFragment():e;if(Object(a.b)(t,s,Object.assign({templateFactory:d(o)},n)),c){var f=a.a.get(s);a.a.delete(s);var h=f.value instanceof l.a?f.value.template:void 0;m(o,s,h),Object(r.b)(e,e.firstChild),e.appendChild(s),a.a.set(e,f)}!i&&u&&window.ShadyCSS.styleElement(e.host)}},323:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i}));var r=n(5),o=new r.a((function(t){return t.complete()}));function i(t){return t?function(t){return new r.a((function(e){return t.schedule((function(){return e.complete()}))}))}(t):o}},325:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(117),o=n(113);function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return Object(o.a)(n)?(t.pop(),function(e){return Object(r.a)(t,e,n)}):function(e){return Object(r.a)(t,e)}}},326:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(5),o=n(113),i=n(118),u=n(114);function c(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,c=void 0,a=t[t.length-1];return Object(o.a)(a)?(c=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof a&&(n=t.pop()),!c&&1===t.length&&t[0]instanceof r.a?t[0]:Object(i.a)(n)(Object(u.a)(t,c))}},327:function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r=n(1),o=n(313),i=n(5),u=n(9),c=n(14);function a(){return function(t){return t.lift(new l(t))}}var s,l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new f(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),f=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r.connection=null,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(u.a),p=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return Object(r.e)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new c.a).add(this.source.subscribe(new y(this.getSubject(),this))),t.closed&&(this._connection=null,t=c.a.EMPTY)),t},e.prototype.refCount=function(){return a()(this)},e}(i.a),h={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(s=p.prototype)._subscribe},_isComplete:{value:s._isComplete,writable:!0},getSubject:{value:s.getSubject},connect:{value:s.connect},refCount:{value:s.refCount}},y=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(o.b),d=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new d(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o}}(),function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(u.a));var b=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();function v(){return new o.a}function m(){return function(t){return a()((e=v,function(t){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof n)return t.lift(new b(r,n));var o=Object.create(t,h);return o.source=t,o.subjectFactory=r,o})(t));var e,n}}},328:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=n(9);function i(t){return function(e){return e.lift(new u(t))}}var u=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.value))},t}(),c=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return Object(r.e)(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(o.a)},329:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=n(9);function i(){return function(t){return t.lift(new u)}}var u=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new c(t))},t}(),c=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return Object(r.e)(e,t),e.prototype._next=function(t){var e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)},e}(o.a)},335:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),o=n(9),i=n(14);function u(t){return function(e){return e.lift(new c(t))}}var c=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.callback))},t}(),a=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new i.a(n)),r}return Object(r.e)(e,t),e}(o.a)},349:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=n(9);function i(t,e){return function(n){return n.lift(new u(t,e))}}var u=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.compare,this.keySelector))},t}(),c=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.keySelector=r,o.hasKey=!1,"function"==typeof n&&(o.compare=n),o}return Object(r.e)(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(t){return this.destination.error(t)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(t){return this.destination.error(t)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(o.a)},350:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(5),o=n(79),i=n(323);function u(t){return new r.a((function(e){var n;try{n=t()}catch(t){return void e.error(t)}return(n?Object(o.a)(n):i.a).subscribe(e)}))}},351:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),o=n(47),i=n(46);function u(t){return function(e){return e.lift(new c(t))}}var c=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new a(t),r=Object(i.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),a=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return Object(r.e)(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(o.a)},352:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),o=n(313),i=n(315),u=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return Object(r.e)(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(o.a)},357:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(1),o=n(9),i=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}(),u=n(323);function c(t){return function(e){return 0===t?u.a:e.lift(new a(t))}}var a=function(){function t(t){if(this.total=t,this.total<0)throw new i}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.total))},t}(),s=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return Object(r.e)(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.a)}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack:///../src/element.ts","webpack:///../src/index.ts","webpack:///../src/lib/css-tag.ts","webpack:///../src/lib/decorators.ts","webpack:///../src/lib/updating-element.ts","webpack:///src/lit-element.ts","webpack:///../src/lib/modify-template.ts","webpack:///../src/lib/shady-render.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEO,IAAM,YAAb;AAAA;;AAAA;;AAAA;AAAA;;AAAA;;;AACE,uBAAa,IAAI,4CAAJ,EAAb;AADF;AAgCC;;AAhCD;AAAA;AAAA,wCAGmB;AACf;;AACA,WAAK,UAAL,CAAgB,IAAhB,CAAqB,IAArB;AACD;AANH;AAAA;AAAA,2CAQsB;AAClB;;AACA,WAAK,UAAL,CAAgB,IAAhB,CAAqB,KAArB;AACD;AAXH;AAAA;AAAA,mCAiBc;AACV,WAAK,WAAL,GAAmB,IAAnB;AACD;AAnBH;AAAA;AAAA,4BAqBU,iBArBV,EAqB6C;AACzC,UAAI,CAAC,KAAK,WAAV;AAAA,mDAA0C,iBAAiB,CAAC,IAAlB,EAA1C;AAAA;;AAAA;AAAuB,8DAA6C;AAAA,gBAAlC,IAAkC;AAClE,gBAAI,IAAI,IAAI,KAAK,CAAjB,EAAoB,KAAK,CAAL,CAAO,IAAP,EAAa,IAAb,CAAkB,KAAK,IAAL,CAAlB;AACrB;AAFD;AAAA;AAAA;AAAA;AAAA;AAAA;;AAGA,WAAK,WAAL,G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gB,GAAG,YAAY,IAAI,CAAC,cAAc,CAAC,GAAf,CAAmB,SAAnB,CAA1C,CAV8B,CAW9B;AACA;;AACA,MAAM,eAAe,GACjB,gBAAgB,GAAG,QAAQ,CAAC,sBAAT,EAAH,GAAuC,SAD3D;AAEA,2DAAS,CACL,MADK,EAEL,eAFK,EAGL;AAAC,mBAAe,EAAE,oBAAoB,CAAC,SAAD;AAAtC,KAAsD,OAAtD,CAHK,CAAT,CAf8B,CAoB9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,MAAI,gBAAJ,EAAsB;AACpB,QAAM,IAAI,GAAG,gDAAK,CAAC,GAAN,CAAU,eAAV,CAAb;AACA,oDAAK,CAAC,MAAN,CAAa,eAAb,EAFoB,CAGpB;AACA;AACA;AACA;AACA;;AACA,QAAM,QAAQ,GAAG,IAAI,CAAC,KAAL,YAAsB,sEAAtB,GACb,IAAI,CAAC,KAAL,CAAW,QADE,GAEb,SAFJ;AAGA,yBAAqB,CACjB,SADiB,EACN,eADM,EAC+B,QAD/B,CAArB;AAEA,+DAAW,CAAC,SAAD,EAAY,SAAS,CAAC,UAAtB,CAAX;AACA,aAAS,CAAC,WAAV,CAAsB,eAAtB;AACA,oDAAK,CAAC,GAAN,CAAU,SAAV,EAAqB,IAArB;AACD,GA7C6B,CA8C9B;AACA;AACA;AACA;AACA;AACA;;;AACA,MAAI,CAAC,WAAD,IAAgB,YAApB,EAAkC;AAChC,UAAM,CAAC,QAAP,CAAiB,YAAjB,CAA+B,SAAwB,CAAC,IAAxD;AACD;AACF,CA1DE,C","file":"LEGACY-vendors~drawer~push-state-hydejack-9.0.2.js","sourcesContent":["import { LitElement } from \"lit-element\";\nimport { Subject } from \"rxjs\";\n\nexport class RxLitElement extends LitElement {\n $connected = new Subject<boolean>();\n\n connectedCallback() { \n super.connectedCallback();\n this.$connected.next(true);\n }\n\n disconnectedCallback() { \n super.disconnectedCallback();\n this.$connected.next(false);\n }\n\n private firstUpdate: boolean;\n\n $: {};\n\n firstUpdated() {\n this.firstUpdate = true;\n }\n\n updated(changedProperties: Map<string, any>) {\n if (!this.firstUpdate) for (const prop of changedProperties.keys()) {\n if (prop in this.$) this.$[prop].next(this[prop]);\n }\n this.firstUpdate = false;\n }\n\n fireEvent<T>(name: string, eventInitDict?: CustomEventInit<T>) {\n this.dispatchEvent(new CustomEvent(name, eventInitDict));\n this.dispatchEvent(new CustomEvent(`${this.tagName.toLowerCase()}-${name}`, eventInitDict));\n }\n}\n\nexport function applyMixins<T>(derivedCtor: Constructor<T>, baseCtors: Constructor<any>[]) {\n baseCtors.forEach(baseCtor => {\n Object.getOwnPropertyNames(baseCtor.prototype).forEach(name => {\n derivedCtor.prototype[name] = baseCtor.prototype[name];\n });\n });\n return derivedCtor;\n}","export * from './creators';\nexport * from './element';\nexport * from './observers';\nexport * from './operators';\nexport * from './util';\n","/**\n@license\nCopyright (c) 2019 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at\nhttp://polymer.github.io/LICENSE.txt The complete set of authors may be found at\nhttp://polymer.github.io/AUTHORS.txt The complete set of contributors may be\nfound at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as\npart of the polymer project is also subject to an additional IP rights grant\nfound at http://polymer.github.io/PATENTS.txt\n*/\n\nexport const supportsAdoptingStyleSheets =\n ('adoptedStyleSheets' in Document.prototype) &&\n ('replace' in CSSStyleSheet.prototype);\n\nconst constructionToken = Symbol();\n\nexport class CSSResult {\n _styleSheet?: CSSStyleSheet|null;\n\n readonly cssText: string;\n\n constructor(cssText: string, safeToken: symbol) {\n if (safeToken !== constructionToken) {\n throw new Error(\n 'CSSResult is not constructable. Use `unsafeCSS` or `css` instead.');\n }\n this.cssText = cssText;\n }\n\n // Note, this is a getter so that it's lazy. In practice, this means\n // stylesheets are not created until the first element instance is made.\n get styleSheet(): CSSStyleSheet|null {\n if (this._styleSheet === undefined) {\n // Note, if `adoptedStyleSheets` is supported then we assume CSSStyleSheet\n // is constructable.\n if (supportsAdoptingStyleSheets) {\n this._styleSheet = new CSSStyleSheet();\n this._styleSheet.replaceSync(this.cssText);\n } else {\n this._styleSheet = null;\n }\n }\n return this._styleSheet;\n }\n\n toString(): string {\n return this.cssText;\n }\n}\n\n/**\n * Wrap a value for interpolation in a css tagged template literal.\n *\n * This is unsafe because untrusted CSS text can be used to phone home\n * or exfiltrate data to an attacker controlled site. Take care to only use\n * this with trusted input.\n */\nexport const unsafeCSS = (value: unknown) => {\n return new CSSResult(String(value), constructionToken);\n};\n\nconst textFromCSSResult = (value: CSSResult|number) => {\n if (value instanceof CSSResult) {\n return value.cssText;\n } else if (typeof value === 'number') {\n return value;\n } else {\n throw new Error(\n `Value passed to 'css' function must be a 'css' function result: ${\n value}. Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security.`);\n }\n};\n\n/**\n * Template tag which which can be used with LitElement's `style` property to\n * set element styles. For security reasons, only literal string values may be\n * used. To incorporate non-literal values `unsafeCSS` may be used inside a\n * template string part.\n */\nexport const css =\n (strings: TemplateStringsArray, ...values: (CSSResult|number)[]) => {\n const cssText = values.reduce(\n (acc, v, idx) => acc + textFromCSSResult(v) + strings[idx + 1],\n strings[0]);\n return new CSSResult(cssText, constructionToken);\n };\n","/**\n * @license\n * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.\n * This code may only be used under the BSD style license found at\n * http://polymer.github.io/LICENSE.txt\n * The complete set of authors may be found at\n * http://polymer.github.io/AUTHORS.txt\n * The complete set of contributors may be found at\n * http://polymer.github.io/CONTRIBUTORS.txt\n * Code distributed by Google as part of the polymer project is also\n * subject to an additional IP rights grant found at\n * http://polymer.github.io/PATENTS.txt\n */\n\n/**\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\n\nimport {LitElement} from '../lit-element.js';\n\nimport {PropertyDeclaration, UpdatingElement} from './updating-element.js';\n\nexport type Constructor<T> = {\n // tslint:disable-next-line:no-any\n new (...args: any[]): T\n};\n\n// From the TC39 Decorators proposal\ninterface ClassDescriptor {\n kind: 'class';\n elements: ClassElement[];\n finisher?: <T>(clazz: Constructor<T>) => undefined | Constructor<T>;\n}\n\n// From the TC39 Decorators proposal\ninterface ClassElement {\n kind: 'field'|'method';\n key: PropertyKey;\n placement: 'static'|'prototype'|'own';\n initializer?: Function;\n extras?: ClassElement[];\n finisher?: <T>(clazz: Constructor<T>) => undefined | Constructor<T>;\n descriptor?: PropertyDescriptor;\n}\n\nconst legacyCustomElement =\n (tagName: string, clazz: Constructor<HTMLElement>) => {\n window.customElements.define(tagName, clazz);\n // Cast as any because TS doesn't recognize the return type as being a\n // subtype of the decorated class when clazz is typed as\n // `Constructor<HTMLElement>` for some reason.\n // `Constructor<HTMLElement>` is helpful to make sure the decorator is\n // applied to elements however.\n // tslint:disable-next-line:no-any\n return clazz as any;\n };\n\nconst standardCustomElement =\n (tagName: string, descriptor: ClassDescriptor) => {\n const {kind, elements} = descriptor;\n return {\n kind,\n elements,\n // This callback is called once the class is otherwise fully defined\n finisher(clazz: Constructor<HTMLElement>) {\n window.customElements.define(tagName, clazz);\n }\n };\n };\n\n/**\n * Class decorator factory that defines the decorated class as a custom element.\n *\n * ```\n * @customElement('my-element')\n * class MyElement {\n * render() {\n * return html``;\n * }\n * }\n * ```\n *\n * @param tagName The name of the custom element to define.\n */\nexport const customElement = (tagName: string) =>\n (classOrDescriptor: Constructor<HTMLElement>|ClassDescriptor) =>\n (typeof classOrDescriptor === 'function') ?\n legacyCustomElement(tagName, classOrDescriptor) :\n standardCustomElement(tagName, classOrDescriptor);\n\nconst standardProperty =\n (options: PropertyDeclaration, element: ClassElement) => {\n // When decorating an accessor, pass it through and add property metadata.\n // Note, the `hasOwnProperty` check in `createProperty` ensures we don't\n // stomp over the user's accessor.\n if (element.kind === 'method' && element.descriptor &&\n !('value' in element.descriptor)) {\n return {\n ...element,\n finisher(clazz: typeof UpdatingElement) {\n clazz.createProperty(element.key, options);\n }\n };\n } else {\n // createProperty() takes care of defining the property, but we still\n // must return some kind of descriptor, so return a descriptor for an\n // unused prototype field. The finisher calls createProperty().\n return {\n kind: 'field',\n key: Symbol(),\n placement: 'own',\n descriptor: {},\n // When @babel/plugin-proposal-decorators implements initializers,\n // do this instead of the initializer below. See:\n // https://github.com/babel/babel/issues/9260 extras: [\n // {\n // kind: 'initializer',\n // placement: 'own',\n // initializer: descriptor.initializer,\n // }\n // ],\n initializer(this: {[key: string]: unknown}) {\n if (typeof element.initializer === 'function') {\n this[element.key as string] = element.initializer.call(this);\n }\n },\n finisher(clazz: typeof UpdatingElement) {\n clazz.createProperty(element.key, options);\n }\n };\n }\n };\n\nconst legacyProperty =\n (options: PropertyDeclaration, proto: Object, name: PropertyKey) => {\n (proto.constructor as typeof UpdatingElement)\n .createProperty(name, options);\n };\n\n/**\n * A property decorator which creates a LitElement property which reflects a\n * corresponding attribute value. A `PropertyDeclaration` may optionally be\n * supplied to configure property features.\n *\n * This decorator should only be used for public fields. Private or protected\n * fields should use the internalProperty decorator.\n *\n * @example\n *\n * class MyElement {\n * @property({ type: Boolean })\n * clicked = false;\n * }\n *\n * @ExportDecoratedItems\n */\nexport function property(options?: PropertyDeclaration) {\n // tslint:disable-next-line:no-any decorator\n return (protoOrDescriptor: Object|ClassElement, name?: PropertyKey): any =>\n (name !== undefined) ?\n legacyProperty(options!, protoOrDescriptor as Object, name) :\n standardProperty(options!, protoOrDescriptor as ClassElement);\n}\n\nexport interface InternalPropertyDeclaration<Type = unknown> {\n /**\n * A function that indicates if a property should be considered changed when\n * it is set. The function should take the `newValue` and `oldValue` and\n * return `true` if an update should be requested.\n */\n hasChanged?(value: Type, oldValue: Type): boolean;\n}\n\n/**\n * Declares a private or protected property that still triggers updates to the\n * element when it changes.\n *\n * Properties declared this way must not be used from HTML or HTML templating\n * systems, they're solely for properties internal to the element. These\n * properties may be renamed by optimization tools like closure compiler.\n */\nexport function internalProperty(options?: InternalPropertyDeclaration) {\n return property({attribute: false, hasChanged: options?.hasChanged});\n}\n\n/**\n * A property decorator that converts a class property into a getter that\n * executes a querySelector on the element's renderRoot.\n *\n * @param selector A DOMString containing one or more selectors to match.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector\n *\n * @example\n *\n * class MyElement {\n * @query('#first')\n * first;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n *\n */\nexport function query(selector: string) {\n return (protoOrDescriptor: Object|ClassElement,\n // tslint:disable-next-line:no-any decorator\n name?: PropertyKey): any => {\n const descriptor = {\n get(this: LitElement) {\n return this.renderRoot.querySelector(selector);\n },\n enumerable: true,\n configurable: true,\n };\n return (name !== undefined) ?\n legacyQuery(descriptor, protoOrDescriptor as Object, name) :\n standardQuery(descriptor, protoOrDescriptor as ClassElement);\n };\n}\n\n// Note, in the future, we may extend this decorator to support the use case\n// where the queried element may need to do work to become ready to interact\n// with (e.g. load some implementation code). If so, we might elect to\n// add a second argument defining a function that can be run to make the\n// queried element loaded/updated/ready.\n/**\n * A property decorator that converts a class property into a getter that\n * returns a promise that resolves to the result of a querySelector on the\n * element's renderRoot done after the element's `updateComplete` promise\n * resolves. When the queried property may change with element state, this\n * decorator can be used instead of requiring users to await the\n * `updateComplete` before accessing the property.\n *\n * @param selector A DOMString containing one or more selectors to match.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector\n *\n * @example\n *\n * class MyElement {\n * @queryAsync('#first')\n * first;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n *\n * // external usage\n * async doSomethingWithFirst() {\n * (await aMyElement.first).doSomething();\n * }\n */\nexport function queryAsync(selector: string) {\n return (protoOrDescriptor: Object|ClassElement,\n // tslint:disable-next-line:no-any decorator\n name?: PropertyKey): any => {\n const descriptor = {\n async get(this: LitElement) {\n await this.updateComplete;\n return this.renderRoot.querySelector(selector);\n },\n enumerable: true,\n configurable: true,\n };\n return (name !== undefined) ?\n legacyQuery(descriptor, protoOrDescriptor as Object, name) :\n standardQuery(descriptor, protoOrDescriptor as ClassElement);\n };\n}\n\n/**\n * A property decorator that converts a class property into a getter\n * that executes a querySelectorAll on the element's renderRoot.\n *\n * @param selector A DOMString containing one or more selectors to match.\n *\n * See:\n * https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll\n *\n * @example\n *\n * class MyElement {\n * @queryAll('div')\n * divs;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n */\nexport function queryAll(selector: string) {\n return (protoOrDescriptor: Object|ClassElement,\n // tslint:disable-next-line:no-any decorator\n name?: PropertyKey): any => {\n const descriptor = {\n get(this: LitElement) {\n return this.renderRoot.querySelectorAll(selector);\n },\n enumerable: true,\n configurable: true,\n };\n return (name !== undefined) ?\n legacyQuery(descriptor, protoOrDescriptor as Object, name) :\n standardQuery(descriptor, protoOrDescriptor as ClassElement);\n };\n}\n\nconst legacyQuery =\n (descriptor: PropertyDescriptor, proto: Object, name: PropertyKey) => {\n Object.defineProperty(proto, name, descriptor);\n };\n\nconst standardQuery = (descriptor: PropertyDescriptor, element: ClassElement) =>\n ({\n kind: 'method',\n placement: 'prototype',\n key: element.key,\n descriptor,\n });\n\nconst standardEventOptions =\n (options: AddEventListenerOptions, element: ClassElement) => {\n return {\n ...element,\n finisher(clazz: typeof UpdatingElement) {\n Object.assign(\n clazz.prototype[element.key as keyof UpdatingElement], options);\n }\n };\n };\n\nconst legacyEventOptions =\n // tslint:disable-next-line:no-any legacy decorator\n (options: AddEventListenerOptions, proto: any, name: PropertyKey) => {\n Object.assign(proto[name], options);\n };\n\n/**\n * Adds event listener options to a method used as an event listener in a\n * lit-html template.\n *\n * @param options An object that specifies event listener options as accepted by\n * `EventTarget#addEventListener` and `EventTarget#removeEventListener`.\n *\n * Current browsers support the `capture`, `passive`, and `once` options. See:\n * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Parameters\n *\n * @example\n *\n * class MyElement {\n * clicked = false;\n *\n * render() {\n * return html`\n * <div @click=${this._onClick}`>\n * <button></button>\n * </div>\n * `;\n * }\n *\n * @eventOptions({capture: true})\n * _onClick(e) {\n * this.clicked = true;\n * }\n * }\n */\nexport function eventOptions(options: AddEventListenerOptions) {\n // Return value typed as any to prevent TypeScript from complaining that\n // standard decorator function signature does not match TypeScript decorator\n // signature\n // TODO(kschaaf): unclear why it was only failing on this decorator and not\n // the others\n return ((protoOrDescriptor: Object|ClassElement, name?: string) =>\n (name !== undefined) ?\n legacyEventOptions(options, protoOrDescriptor as Object, name) :\n standardEventOptions(\n options, protoOrDescriptor as ClassElement)) as\n // tslint:disable-next-line:no-any decorator\n any;\n}\n\n/**\n * A property decorator that converts a class property into a getter that\n * returns the `assignedNodes` of the given named `slot`. Note, the type of\n * this property should be annotated as `NodeListOf<HTMLElement>`.\n *\n */\nexport function queryAssignedNodes(\n slotName: string = '', flatten: boolean = false) {\n return (protoOrDescriptor: Object|ClassElement,\n // tslint:disable-next-line:no-any decorator\n name?: PropertyKey): any => {\n const descriptor = {\n get(this: LitElement) {\n const selector = `slot${slotName ? `[name=${slotName}]` : ''}`;\n const slot = this.renderRoot.querySelector(selector);\n return slot && (slot as HTMLSlotElement).assignedNodes({flatten});\n },\n enumerable: true,\n configurable: true,\n };\n return (name !== undefined) ?\n legacyQuery(descriptor, protoOrDescriptor as Object, name) :\n standardQuery(descriptor, protoOrDescriptor as ClassElement);\n };\n}\n","/**\n * @license\n * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.\n * This code may only be used under the BSD style license found at\n * http://polymer.github.io/LICENSE.txt\n * The complete set of authors may be found at\n * http://polymer.github.io/AUTHORS.txt\n * The complete set of contributors may be found at\n * http://polymer.github.io/CONTRIBUTORS.txt\n * Code distributed by Google as part of the polymer project is also\n * subject to an additional IP rights grant found at\n * http://polymer.github.io/PATENTS.txt\n */\n\n/**\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\nwindow.JSCompiler_renameProperty =\n <P extends PropertyKey>(prop: P, _obj: unknown): P => prop;\n\ndeclare global {\n var JSCompiler_renameProperty: <P extends PropertyKey>(\n prop: P, _obj: unknown) => P;\n\n interface Window {\n JSCompiler_renameProperty: typeof JSCompiler_renameProperty;\n }\n}\n\n/**\n * Converts property values to and from attribute values.\n */\nexport interface ComplexAttributeConverter<Type = unknown, TypeHint = unknown> {\n /**\n * Function called to convert an attribute value to a property\n * value.\n */\n fromAttribute?(value: string|null, type?: TypeHint): Type;\n\n /**\n * Function called to convert a property value to an attribute\n * value.\n *\n * It returns unknown instead of string, to be compatible with\n * https://github.com/WICG/trusted-types (and similar efforts).\n */\n toAttribute?(value: Type, type?: TypeHint): unknown;\n}\n\ntype AttributeConverter<Type = unknown, TypeHint = unknown> =\n ComplexAttributeConverter<Type>|\n ((value: string|null, type?: TypeHint) => Type);\n\n/**\n * Defines options for a property accessor.\n */\nexport interface PropertyDeclaration<Type = unknown, TypeHint = unknown> {\n /**\n * Indicates how and whether the property becomes an observed attribute.\n * If the value is `false`, the property is not added to `observedAttributes`.\n * If true or absent, the lowercased property name is observed (e.g. `fooBar`\n * becomes `foobar`). If a string, the string value is observed (e.g\n * `attribute: 'foo-bar'`).\n */\n readonly attribute?: boolean|string;\n\n /**\n * Indicates the type of the property. This is used only as a hint for the\n * `converter` to determine how to convert the attribute\n * to/from a property.\n */\n readonly type?: TypeHint;\n\n /**\n * Indicates how to convert the attribute to/from a property. If this value\n * is a function, it is used to convert the attribute value a the property\n * value. If it's an object, it can have keys for `fromAttribute` and\n * `toAttribute`. If no `toAttribute` function is provided and\n * `reflect` is set to `true`, the property value is set directly to the\n * attribute. A default `converter` is used if none is provided; it supports\n * `Boolean`, `String`, `Number`, `Object`, and `Array`. Note,\n * when a property changes and the converter is used to update the attribute,\n * the property is never updated again as a result of the attribute changing,\n * and vice versa.\n */\n readonly converter?: AttributeConverter<Type, TypeHint>;\n\n /**\n * Indicates if the property should reflect to an attribute.\n * If `true`, when the property is set, the attribute is set using the\n * attribute name determined according to the rules for the `attribute`\n * property option and the value of the property converted using the rules\n * from the `converter` property option.\n */\n readonly reflect?: boolean;\n\n /**\n * A function that indicates if a property should be considered changed when\n * it is set. The function should take the `newValue` and `oldValue` and\n * return `true` if an update should be requested.\n */\n hasChanged?(value: Type, oldValue: Type): boolean;\n\n /**\n * Indicates whether an accessor will be created for this property. By\n * default, an accessor will be generated for this property that requests an\n * update when set. If this flag is `true`, no accessor will be created, and\n * it will be the user's responsibility to call\n * `this.requestUpdate(propertyName, oldValue)` to request an update when\n * the property changes.\n */\n readonly noAccessor?: boolean;\n}\n\n/**\n * Map of properties to PropertyDeclaration options. For each property an\n * accessor is made, and the property is processed according to the\n * PropertyDeclaration options.\n */\nexport interface PropertyDeclarations {\n readonly [key: string]: PropertyDeclaration;\n}\n\ntype PropertyDeclarationMap = Map<PropertyKey, PropertyDeclaration>;\n\ntype AttributeMap = Map<string, PropertyKey>;\n\n/**\n * Map of changed properties with old values. Takes an optional generic\n * interface corresponding to the declared element properties.\n */\n// tslint:disable-next-line:no-any\nexport type PropertyValues<T = any> =\n keyof T extends PropertyKey ? Map<keyof T, unknown>: never;\n\nexport const defaultConverter: ComplexAttributeConverter = {\n\n toAttribute(value: unknown, type?: unknown): unknown {\n switch (type) {\n case Boolean:\n return value ? '' : null;\n case Object:\n case Array:\n // if the value is `null` or `undefined` pass this through\n // to allow removing/no change behavior.\n return value == null ? value : JSON.stringify(value);\n }\n return value;\n },\n\n fromAttribute(value: string|null, type?: unknown) {\n switch (type) {\n case Boolean:\n return value !== null;\n case Number:\n return value === null ? null : Number(value);\n case Object:\n case Array:\n return JSON.parse(value!);\n }\n return value;\n }\n\n};\n\nexport interface HasChanged {\n (value: unknown, old: unknown): boolean;\n}\n\n/**\n * Change function that returns true if `value` is different from `oldValue`.\n * This method is used as the default for a property's `hasChanged` function.\n */\nexport const notEqual: HasChanged = (value: unknown, old: unknown): boolean => {\n // This ensures (old==NaN, value==NaN) always returns false\n return old !== value && (old === old || value === value);\n};\n\nconst defaultPropertyDeclaration: PropertyDeclaration = {\n attribute: true,\n type: String,\n converter: defaultConverter,\n reflect: false,\n hasChanged: notEqual\n};\n\nconst STATE_HAS_UPDATED = 1;\nconst STATE_UPDATE_REQUESTED = 1 << 2;\nconst STATE_IS_REFLECTING_TO_ATTRIBUTE = 1 << 3;\nconst STATE_IS_REFLECTING_TO_PROPERTY = 1 << 4;\ntype UpdateState = typeof STATE_HAS_UPDATED|typeof STATE_UPDATE_REQUESTED|\n typeof STATE_IS_REFLECTING_TO_ATTRIBUTE|\n typeof STATE_IS_REFLECTING_TO_PROPERTY;\n\n/**\n * The Closure JS Compiler doesn't currently have good support for static\n * property semantics where \"this\" is dynamic (e.g.\n * https://github.com/google/closure-compiler/issues/3177 and others) so we use\n * this hack to bypass any rewriting by the compiler.\n */\nconst finalized = 'finalized';\n\n/**\n * Base element class which manages element properties and attributes. When\n * properties change, the `update` method is asynchronously called. This method\n * should be supplied by subclassers to render updates as desired.\n */\nexport abstract class UpdatingElement extends HTMLElement {\n /*\n * Due to closure compiler ES6 compilation bugs, @nocollapse is required on\n * all static methods and properties with initializers. Reference:\n * - https://github.com/google/closure-compiler/issues/1776\n */\n\n /**\n * Maps attribute names to properties; for example `foobar` attribute to\n * `fooBar` property. Created lazily on user subclasses when finalizing the\n * class.\n */\n private static _attributeToPropertyMap: AttributeMap;\n\n /**\n * Marks class as having finished creating properties.\n */\n protected static[finalized] = true;\n\n /**\n * Memoized list of all class properties, including any superclass properties.\n * Created lazily on user subclasses when finalizing the class.\n */\n private static _classProperties?: PropertyDeclarationMap;\n\n /**\n * User-supplied object that maps property names to `PropertyDeclaration`\n * objects containing options for configuring the property.\n */\n static properties: PropertyDeclarations;\n\n /**\n * Returns a list of attributes corresponding to the registered properties.\n * @nocollapse\n */\n static get observedAttributes() {\n // note: piggy backing on this to ensure we're finalized.\n this.finalize();\n const attributes: string[] = [];\n // Use forEach so this works even if for/of loops are compiled to for loops\n // expecting arrays\n this._classProperties!.forEach((v, p) => {\n const attr = this._attributeNameForProperty(p, v);\n if (attr !== undefined) {\n this._attributeToPropertyMap.set(attr, p);\n attributes.push(attr);\n }\n });\n return attributes;\n }\n\n /**\n * Ensures the private `_classProperties` property metadata is created.\n * In addition to `finalize` this is also called in `createProperty` to\n * ensure the `@property` decorator can add property metadata.\n */\n /** @nocollapse */\n private static _ensureClassProperties() {\n // ensure private storage for property declarations.\n if (!this.hasOwnProperty(\n JSCompiler_renameProperty('_classProperties', this))) {\n this._classProperties = new Map();\n // NOTE: Workaround IE11 not supporting Map constructor argument.\n const superProperties: PropertyDeclarationMap =\n Object.getPrototypeOf(this)._classProperties;\n if (superProperties !== undefined) {\n superProperties.forEach(\n (v: PropertyDeclaration, k: PropertyKey) =>\n this._classProperties!.set(k, v));\n }\n }\n }\n\n /**\n * Creates a property accessor on the element prototype if one does not exist\n * and stores a PropertyDeclaration for the property with the given options.\n * The property setter calls the property's `hasChanged` property option\n * or uses a strict identity check to determine whether or not to request\n * an update.\n *\n * This method may be overridden to customize properties; however,\n * when doing so, it's important to call `super.createProperty` to ensure\n * the property is setup correctly. This method calls\n * `getPropertyDescriptor` internally to get a descriptor to install.\n * To customize what properties do when they are get or set, override\n * `getPropertyDescriptor`. To customize the options for a property,\n * implement `createProperty` like this:\n *\n * static createProperty(name, options) {\n * options = Object.assign(options, {myOption: true});\n * super.createProperty(name, options);\n * }\n *\n * @nocollapse\n */\n static createProperty(\n name: PropertyKey,\n options: PropertyDeclaration = defaultPropertyDeclaration) {\n // Note, since this can be called by the `@property` decorator which\n // is called before `finalize`, we ensure storage exists for property\n // metadata.\n this._ensureClassProperties();\n this._classProperties!.set(name, options);\n // Do not generate an accessor if the prototype already has one, since\n // it would be lost otherwise and that would never be the user's intention;\n // Instead, we expect users to call `requestUpdate` themselves from\n // user-defined accessors. Note that if the super has an accessor we will\n // still overwrite it\n if (options.noAccessor || this.prototype.hasOwnProperty(name)) {\n return;\n }\n const key = typeof name === 'symbol' ? Symbol() : `__${name}`;\n const descriptor = this.getPropertyDescriptor(name, key, options);\n if (descriptor !== undefined) {\n Object.defineProperty(this.prototype, name, descriptor);\n }\n }\n\n /**\n * Returns a property descriptor to be defined on the given named property.\n * If no descriptor is returned, the property will not become an accessor.\n * For example,\n *\n * class MyElement extends LitElement {\n * static getPropertyDescriptor(name, key, options) {\n * const defaultDescriptor =\n * super.getPropertyDescriptor(name, key, options);\n * const setter = defaultDescriptor.set;\n * return {\n * get: defaultDescriptor.get,\n * set(value) {\n * setter.call(this, value);\n * // custom action.\n * },\n * configurable: true,\n * enumerable: true\n * }\n * }\n * }\n *\n * @nocollapse\n */\n protected static getPropertyDescriptor(\n name: PropertyKey, key: string|symbol, _options: PropertyDeclaration) {\n return {\n // tslint:disable-next-line:no-any no symbol in index\n get(): any {\n return (this as {[key: string]: unknown})[key as string];\n },\n set(this: UpdatingElement, value: unknown) {\n const oldValue =\n (this as {} as {[key: string]: unknown})[name as string];\n (this as {} as {[key: string]: unknown})[key as string] = value;\n (this as unknown as UpdatingElement)._requestUpdate(name, oldValue);\n },\n configurable: true,\n enumerable: true\n };\n }\n\n /**\n * Returns the property options associated with the given property.\n * These options are defined with a PropertyDeclaration via the `properties`\n * object or the `@property` decorator and are registered in\n * `createProperty(...)`.\n *\n * Note, this method should be considered \"final\" and not overridden. To\n * customize the options for a given property, override `createProperty`.\n *\n * @nocollapse\n * @final\n */\n protected static getPropertyOptions(name: PropertyKey) {\n return this._classProperties && this._classProperties.get(name) ||\n defaultPropertyDeclaration;\n }\n\n /**\n * Creates property accessors for registered properties and ensures\n * any superclasses are also finalized.\n * @nocollapse\n */\n protected static finalize() {\n // finalize any superclasses\n const superCtor = Object.getPrototypeOf(this);\n if (!superCtor.hasOwnProperty(finalized)) {\n superCtor.finalize();\n }\n this[finalized] = true;\n this._ensureClassProperties();\n // initialize Map populated in observedAttributes\n this._attributeToPropertyMap = new Map();\n // make any properties\n // Note, only process \"own\" properties since this element will inherit\n // any properties defined on the superClass, and finalization ensures\n // the entire prototype chain is finalized.\n if (this.hasOwnProperty(JSCompiler_renameProperty('properties', this))) {\n const props = this.properties;\n // support symbols in properties (IE11 does not support this)\n const propKeys = [\n ...Object.getOwnPropertyNames(props),\n ...(typeof Object.getOwnPropertySymbols === 'function') ?\n Object.getOwnPropertySymbols(props) :\n []\n ];\n // This for/of is ok because propKeys is an array\n for (const p of propKeys) {\n // note, use of `any` is due to TypeSript lack of support for symbol in\n // index types\n // tslint:disable-next-line:no-any no symbol in index\n this.createProperty(p, (props as any)[p]);\n }\n }\n }\n\n /**\n * Returns the property name for the given attribute `name`.\n * @nocollapse\n */\n private static _attributeNameForProperty(\n name: PropertyKey, options: PropertyDeclaration) {\n const attribute = options.attribute;\n return attribute === false ?\n undefined :\n (typeof attribute === 'string' ?\n attribute :\n (typeof name === 'string' ? name.toLowerCase() : undefined));\n }\n\n /**\n * Returns true if a property should request an update.\n * Called when a property value is set and uses the `hasChanged`\n * option for the property if present or a strict identity check.\n * @nocollapse\n */\n private static _valueHasChanged(\n value: unknown, old: unknown, hasChanged: HasChanged = notEqual) {\n return hasChanged(value, old);\n }\n\n /**\n * Returns the property value for the given attribute value.\n * Called via the `attributeChangedCallback` and uses the property's\n * `converter` or `converter.fromAttribute` property option.\n * @nocollapse\n */\n private static _propertyValueFromAttribute(\n value: string|null, options: PropertyDeclaration) {\n const type = options.type;\n const converter = options.converter || defaultConverter;\n const fromAttribute =\n (typeof converter === 'function' ? converter : converter.fromAttribute);\n return fromAttribute ? fromAttribute(value, type) : value;\n }\n\n /**\n * Returns the attribute value for the given property value. If this\n * returns undefined, the property will *not* be reflected to an attribute.\n * If this returns null, the attribute will be removed, otherwise the\n * attribute will be set to the value.\n * This uses the property's `reflect` and `type.toAttribute` property options.\n * @nocollapse\n */\n private static _propertyValueToAttribute(\n value: unknown, options: PropertyDeclaration) {\n if (options.reflect === undefined) {\n return;\n }\n const type = options.type;\n const converter = options.converter;\n const toAttribute =\n converter && (converter as ComplexAttributeConverter).toAttribute ||\n defaultConverter.toAttribute;\n return toAttribute!(value, type);\n }\n\n private _updateState: UpdateState = 0;\n private _instanceProperties: PropertyValues|undefined = undefined;\n // Initialize to an unresolved Promise so we can make sure the element has\n // connected before first update.\n private _updatePromise =\n new Promise((res) => this._enableUpdatingResolver = res);\n private _enableUpdatingResolver: (() => void)|undefined;\n\n /**\n * Map with keys for any properties that have changed since the last\n * update cycle with previous values.\n */\n private _changedProperties: PropertyValues = new Map();\n\n /**\n * Map with keys of properties that should be reflected when updated.\n */\n private _reflectingProperties: Map<PropertyKey, PropertyDeclaration>|\n undefined = undefined;\n\n constructor() {\n super();\n this.initialize();\n }\n\n /**\n * Performs element initialization. By default captures any pre-set values for\n * registered properties.\n */\n protected initialize() {\n this._saveInstanceProperties();\n // ensures first update will be caught by an early access of\n // `updateComplete`\n this._requestUpdate();\n }\n\n /**\n * Fixes any properties set on the instance before upgrade time.\n * Otherwise these would shadow the accessor and break these properties.\n * The properties are stored in a Map which is played back after the\n * constructor runs. Note, on very old versions of Safari (<=9) or Chrome\n * (<=41), properties created for native platform properties like (`id` or\n * `name`) may not have default values set in the element constructor. On\n * these browsers native properties appear on instances and therefore their\n * default value will overwrite any element default (e.g. if the element sets\n * this.id = 'id' in the constructor, the 'id' will become '' since this is\n * the native platform default).\n */\n private _saveInstanceProperties() {\n // Use forEach so this works even if for/of loops are compiled to for loops\n // expecting arrays\n (this.constructor as typeof UpdatingElement)\n ._classProperties!.forEach((_v, p) => {\n if (this.hasOwnProperty(p)) {\n const value = this[p as keyof this];\n delete this[p as keyof this];\n if (!this._instanceProperties) {\n this._instanceProperties = new Map();\n }\n this._instanceProperties.set(p, value);\n }\n });\n }\n\n /**\n * Applies previously saved instance properties.\n */\n private _applyInstanceProperties() {\n // Use forEach so this works even if for/of loops are compiled to for loops\n // expecting arrays\n // tslint:disable-next-line:no-any\n this._instanceProperties!.forEach((v, p) => (this as any)[p] = v);\n this._instanceProperties = undefined;\n }\n\n connectedCallback() {\n // Ensure first connection completes an update. Updates cannot complete\n // before connection.\n this.enableUpdating();\n }\n\n protected enableUpdating() {\n if (this._enableUpdatingResolver !== undefined) {\n this._enableUpdatingResolver();\n this._enableUpdatingResolver = undefined;\n }\n }\n\n /**\n * Allows for `super.disconnectedCallback()` in extensions while\n * reserving the possibility of making non-breaking feature additions\n * when disconnecting at some point in the future.\n */\n disconnectedCallback() {\n }\n\n /**\n * Synchronizes property values when attributes change.\n */\n attributeChangedCallback(name: string, old: string|null, value: string|null) {\n if (old !== value) {\n this._attributeToProperty(name, value);\n }\n }\n\n private _propertyToAttribute(\n name: PropertyKey, value: unknown,\n options: PropertyDeclaration = defaultPropertyDeclaration) {\n const ctor = (this.constructor as typeof UpdatingElement);\n const attr = ctor._attributeNameForProperty(name, options);\n if (attr !== undefined) {\n const attrValue = ctor._propertyValueToAttribute(value, options);\n // an undefined value does not change the attribute.\n if (attrValue === undefined) {\n return;\n }\n // Track if the property is being reflected to avoid\n // setting the property again via `attributeChangedCallback`. Note:\n // 1. this takes advantage of the fact that the callback is synchronous.\n // 2. will behave incorrectly if multiple attributes are in the reaction\n // stack at time of calling. However, since we process attributes\n // in `update` this should not be possible (or an extreme corner case\n // that we'd like to discover).\n // mark state reflecting\n this._updateState = this._updateState | STATE_IS_REFLECTING_TO_ATTRIBUTE;\n if (attrValue == null) {\n this.removeAttribute(attr);\n } else {\n this.setAttribute(attr, attrValue as string);\n }\n // mark state not reflecting\n this._updateState = this._updateState & ~STATE_IS_REFLECTING_TO_ATTRIBUTE;\n }\n }\n\n private _attributeToProperty(name: string, value: string|null) {\n // Use tracking info to avoid deserializing attribute value if it was\n // just set from a property setter.\n if (this._updateState & STATE_IS_REFLECTING_TO_ATTRIBUTE) {\n return;\n }\n const ctor = (this.constructor as typeof UpdatingElement);\n // Note, hint this as an `AttributeMap` so closure clearly understands\n // the type; it has issues with tracking types through statics\n // tslint:disable-next-line:no-unnecessary-type-assertion\n const propName = (ctor._attributeToPropertyMap as AttributeMap).get(name);\n if (propName !== undefined) {\n const options = ctor.getPropertyOptions(propName);\n // mark state reflecting\n this._updateState = this._updateState | STATE_IS_REFLECTING_TO_PROPERTY;\n this[propName as keyof this] =\n // tslint:disable-next-line:no-any\n ctor._propertyValueFromAttribute(value, options) as any;\n // mark state not reflecting\n this._updateState = this._updateState & ~STATE_IS_REFLECTING_TO_PROPERTY;\n }\n }\n\n /**\n * This private version of `requestUpdate` does not access or return the\n * `updateComplete` promise. This promise can be overridden and is therefore\n * not free to access.\n */\n private _requestUpdate(name?: PropertyKey, oldValue?: unknown) {\n let shouldRequestUpdate = true;\n // If we have a property key, perform property update steps.\n if (name !== undefined) {\n const ctor = this.constructor as typeof UpdatingElement;\n const options = ctor.getPropertyOptions(name);\n if (ctor._valueHasChanged(\n this[name as keyof this], oldValue, options.hasChanged)) {\n if (!this._changedProperties.has(name)) {\n this._changedProperties.set(name, oldValue);\n }\n // Add to reflecting properties set.\n // Note, it's important that every change has a chance to add the\n // property to `_reflectingProperties`. This ensures setting\n // attribute + property reflects correctly.\n if (options.reflect === true &&\n !(this._updateState & STATE_IS_REFLECTING_TO_PROPERTY)) {\n if (this._reflectingProperties === undefined) {\n this._reflectingProperties = new Map();\n }\n this._reflectingProperties.set(name, options);\n }\n } else {\n // Abort the request if the property should not be considered changed.\n shouldRequestUpdate = false;\n }\n }\n if (!this._hasRequestedUpdate && shouldRequestUpdate) {\n this._updatePromise = this._enqueueUpdate();\n }\n }\n\n /**\n * Requests an update which is processed asynchronously. This should\n * be called when an element should update based on some state not triggered\n * by setting a property. In this case, pass no arguments. It should also be\n * called when manually implementing a property setter. In this case, pass the\n * property `name` and `oldValue` to ensure that any configured property\n * options are honored. Returns the `updateComplete` Promise which is resolved\n * when the update completes.\n *\n * @param name {PropertyKey} (optional) name of requesting property\n * @param oldValue {any} (optional) old value of requesting property\n * @returns {Promise} A Promise that is resolved when the update completes.\n */\n requestUpdate(name?: PropertyKey, oldValue?: unknown) {\n this._requestUpdate(name, oldValue);\n return this.updateComplete;\n }\n\n /**\n * Sets up the element to asynchronously update.\n */\n private async _enqueueUpdate() {\n this._updateState = this._updateState | STATE_UPDATE_REQUESTED;\n try {\n // Ensure any previous update has resolved before updating.\n // This `await` also ensures that property changes are batched.\n await this._updatePromise;\n } catch (e) {\n // Ignore any previous errors. We only care that the previous cycle is\n // done. Any error should have been handled in the previous update.\n }\n const result = this.performUpdate();\n // If `performUpdate` returns a Promise, we await it. This is done to\n // enable coordinating updates with a scheduler. Note, the result is\n // checked to avoid delaying an additional microtask unless we need to.\n if (result != null) {\n await result;\n }\n return !this._hasRequestedUpdate;\n }\n\n private get _hasRequestedUpdate() {\n return (this._updateState & STATE_UPDATE_REQUESTED);\n }\n\n protected get hasUpdated() {\n return (this._updateState & STATE_HAS_UPDATED);\n }\n\n /**\n * Performs an element update. Note, if an exception is thrown during the\n * update, `firstUpdated` and `updated` will not be called.\n *\n * You can override this method to change the timing of updates. If this\n * method is overridden, `super.performUpdate()` must be called.\n *\n * For instance, to schedule updates to occur just before the next frame:\n *\n * ```\n * protected async performUpdate(): Promise<unknown> {\n * await new Promise((resolve) => requestAnimationFrame(() => resolve()));\n * super.performUpdate();\n * }\n * ```\n */\n protected performUpdate(): void|Promise<unknown> {\n // Mixin instance properties once, if they exist.\n if (this._instanceProperties) {\n this._applyInstanceProperties();\n }\n let shouldUpdate = false;\n const changedProperties = this._changedProperties;\n try {\n shouldUpdate = this.shouldUpdate(changedProperties);\n if (shouldUpdate) {\n this.update(changedProperties);\n } else {\n this._markUpdated();\n }\n } catch (e) {\n // Prevent `firstUpdated` and `updated` from running when there's an\n // update exception.\n shouldUpdate = false;\n // Ensure element can accept additional updates after an exception.\n this._markUpdated();\n throw e;\n }\n if (shouldUpdate) {\n if (!(this._updateState & STATE_HAS_UPDATED)) {\n this._updateState = this._updateState | STATE_HAS_UPDATED;\n this.firstUpdated(changedProperties);\n }\n this.updated(changedProperties);\n }\n }\n\n private _markUpdated() {\n this._changedProperties = new Map();\n this._updateState = this._updateState & ~STATE_UPDATE_REQUESTED;\n }\n\n /**\n * Returns a Promise that resolves when the element has completed updating.\n * The Promise value is a boolean that is `true` if the element completed the\n * update without triggering another update. The Promise result is `false` if\n * a property was set inside `updated()`. If the Promise is rejected, an\n * exception was thrown during the update.\n *\n * To await additional asynchronous work, override the `_getUpdateComplete`\n * method. For example, it is sometimes useful to await a rendered element\n * before fulfilling this Promise. To do this, first await\n * `super._getUpdateComplete()`, then any subsequent state.\n *\n * @returns {Promise} The Promise returns a boolean that indicates if the\n * update resolved without triggering another update.\n */\n get updateComplete() {\n return this._getUpdateComplete();\n }\n\n /**\n * Override point for the `updateComplete` promise.\n *\n * It is not safe to override the `updateComplete` getter directly due to a\n * limitation in TypeScript which means it is not possible to call a\n * superclass getter (e.g. `super.updateComplete.then(...)`) when the target\n * language is ES5 (https://github.com/microsoft/TypeScript/issues/338).\n * This method should be overridden instead. For example:\n *\n * class MyElement extends LitElement {\n * async _getUpdateComplete() {\n * await super._getUpdateComplete();\n * await this._myChild.updateComplete;\n * }\n * }\n */\n protected _getUpdateComplete() {\n return this._updatePromise;\n }\n\n /**\n * Controls whether or not `update` should be called when the element requests\n * an update. By default, this method always returns `true`, but this can be\n * customized to control when to update.\n *\n * @param _changedProperties Map of changed properties with old values\n */\n protected shouldUpdate(_changedProperties: PropertyValues): boolean {\n return true;\n }\n\n /**\n * Updates the element. This method reflects property values to attributes.\n * It can be overridden to render and keep updated element DOM.\n * Setting properties inside this method will *not* trigger\n * another update.\n *\n * @param _changedProperties Map of changed properties with old values\n */\n protected update(_changedProperties: PropertyValues) {\n if (this._reflectingProperties !== undefined &&\n this._reflectingProperties.size > 0) {\n // Use forEach so this works even if for/of loops are compiled to for\n // loops expecting arrays\n this._reflectingProperties.forEach(\n (v, k) => this._propertyToAttribute(k, this[k as keyof this], v));\n this._reflectingProperties = undefined;\n }\n this._markUpdated();\n }\n\n /**\n * Invoked whenever the element is updated. Implement to perform\n * post-updating tasks via DOM APIs, for example, focusing an element.\n *\n * Setting properties inside this method will trigger the element to update\n * again after this update cycle completes.\n *\n * @param _changedProperties Map of changed properties with old values\n */\n protected updated(_changedProperties: PropertyValues) {\n }\n\n /**\n * Invoked when the element is first updated. Implement to perform one time\n * work on the element after update.\n *\n * Setting properties inside this method will trigger the element to update\n * again after this update cycle completes.\n *\n * @param _changedProperties Map of changed properties with old values\n */\n protected firstUpdated(_changedProperties: PropertyValues) {\n }\n}\n","/**\n * @license\n * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.\n * This code may only be used under the BSD style license found at\n * http://polymer.github.io/LICENSE.txt\n * The complete set of authors may be found at\n * http://polymer.github.io/AUTHORS.txt\n * The complete set of contributors may be found at\n * http://polymer.github.io/CONTRIBUTORS.txt\n * Code distributed by Google as part of the polymer project is also\n * subject to an additional IP rights grant found at\n * http://polymer.github.io/PATENTS.txt\n */\nimport {render, ShadyRenderOptions} from 'lit-html/lib/shady-render.js';\n\nimport {PropertyValues, UpdatingElement} from './lib/updating-element.js';\n\nexport * from './lib/updating-element.js';\nexport * from './lib/decorators.js';\nexport {html, svg, TemplateResult, SVGTemplateResult} from 'lit-html/lit-html.js';\nimport {supportsAdoptingStyleSheets, CSSResult} from './lib/css-tag.js';\nexport * from './lib/css-tag.js';\n\ndeclare global {\n interface Window {\n litElementVersions: string[];\n }\n}\n\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for LitElement usage.\n// TODO(justinfagnani): inject version number at build time\n(window['litElementVersions'] || (window['litElementVersions'] = []))\n .push('2.3.1');\n\nexport interface CSSResultArray extends Array<CSSResult|CSSResultArray> {}\n\n/**\n * Sentinal value used to avoid calling lit-html's render function when\n * subclasses do not implement `render`\n */\nconst renderNotImplemented = {};\n\nexport class LitElement extends UpdatingElement {\n /**\n * Ensure this class is marked as `finalized` as an optimization ensuring\n * it will not needlessly try to `finalize`.\n *\n * Note this property name is a string to prevent breaking Closure JS Compiler\n * optimizations. See updating-element.ts for more information.\n */\n protected static['finalized'] = true;\n\n /**\n * Render method used to render the value to the element's DOM.\n * @param result The value to render.\n * @param container Node into which to render.\n * @param options Element name.\n * @nocollapse\n */\n static render:\n (result: unknown, container: Element|DocumentFragment,\n options: ShadyRenderOptions) => void = render;\n\n /**\n * Array of styles to apply to the element. The styles should be defined\n * using the `css` tag function.\n */\n static styles?: CSSResult|CSSResultArray;\n\n private static _styles: CSSResult[]|undefined;\n\n /**\n * Return the array of styles to apply to the element.\n * Override this method to integrate into a style management system.\n *\n * @nocollapse\n */\n static getStyles(): CSSResult|CSSResultArray|undefined {\n return this.styles;\n }\n\n /** @nocollapse */\n private static _getUniqueStyles() {\n // Only gather styles once per class\n if (this.hasOwnProperty(JSCompiler_renameProperty('_styles', this))) {\n return;\n }\n // Take care not to call `this.getStyles()` multiple times since this\n // generates new CSSResults each time.\n // TODO(sorvell): Since we do not cache CSSResults by input, any\n // shared styles will generate new stylesheet objects, which is wasteful.\n // This should be addressed when a browser ships constructable\n // stylesheets.\n const userStyles = this.getStyles();\n if (userStyles === undefined) {\n this._styles = [];\n } else if (Array.isArray(userStyles)) {\n // De-duplicate styles preserving the _last_ instance in the set.\n // This is a performance optimization to avoid duplicated styles that can\n // occur especially when composing via subclassing.\n // The last item is kept to try to preserve the cascade order with the\n // assumption that it's most important that last added styles override\n // previous styles.\n const addStyles =\n (styles: CSSResultArray, set: Set<CSSResult>): Set<CSSResult> =>\n styles.reduceRight(\n (set: Set<CSSResult>, s) =>\n // Note: On IE set.add() does not return the set\n Array.isArray(s) ? addStyles(s, set) : (set.add(s), set),\n set);\n // Array.from does not work on Set in IE, otherwise return\n // Array.from(addStyles(userStyles, new Set<CSSResult>())).reverse()\n const set = addStyles(userStyles, new Set<CSSResult>());\n const styles: CSSResult[] = [];\n set.forEach((v) => styles.unshift(v));\n this._styles = styles;\n } else {\n this._styles = [userStyles];\n }\n }\n\n private _needsShimAdoptedStyleSheets?: boolean;\n\n /**\n * Node or ShadowRoot into which element DOM should be rendered. Defaults\n * to an open shadowRoot.\n */\n readonly renderRoot!: Element|DocumentFragment;\n\n /**\n * Performs element initialization. By default this calls `createRenderRoot`\n * to create the element `renderRoot` node and captures any pre-set values for\n * registered properties.\n */\n protected initialize() {\n super.initialize();\n (this.constructor as typeof LitElement)._getUniqueStyles();\n (this as {renderRoot: Element | DocumentFragment}).renderRoot =\n this.createRenderRoot();\n // Note, if renderRoot is not a shadowRoot, styles would/could apply to the\n // element's getRootNode(). While this could be done, we're choosing not to\n // support this now since it would require different logic around de-duping.\n if (window.ShadowRoot && this.renderRoot instanceof window.ShadowRoot) {\n this.adoptStyles();\n }\n }\n\n /**\n * Returns the node into which the element should render and by default\n * creates and returns an open shadowRoot. Implement to customize where the\n * element's DOM is rendered. For example, to render into the element's\n * childNodes, return `this`.\n * @returns {Element|DocumentFragment} Returns a node into which to render.\n */\n protected createRenderRoot(): Element|ShadowRoot {\n return this.attachShadow({mode: 'open'});\n }\n\n /**\n * Applies styling to the element shadowRoot using the `static get styles`\n * property. Styling will apply using `shadowRoot.adoptedStyleSheets` where\n * available and will fallback otherwise. When Shadow DOM is polyfilled,\n * ShadyCSS scopes styles and adds them to the document. When Shadow DOM\n * is available but `adoptedStyleSheets` is not, styles are appended to the\n * end of the `shadowRoot` to [mimic spec\n * behavior](https://wicg.github.io/construct-stylesheets/#using-constructed-stylesheets).\n */\n protected adoptStyles() {\n const styles = (this.constructor as typeof LitElement)._styles!;\n if (styles.length === 0) {\n return;\n }\n // There are three separate cases here based on Shadow DOM support.\n // (1) shadowRoot polyfilled: use ShadyCSS\n // (2) shadowRoot.adoptedStyleSheets available: use it.\n // (3) shadowRoot.adoptedStyleSheets polyfilled: append styles after\n // rendering\n if (window.ShadyCSS !== undefined && !window.ShadyCSS.nativeShadow) {\n window.ShadyCSS.ScopingShim!.prepareAdoptedCssText(\n styles.map((s) => s.cssText), this.localName);\n } else if (supportsAdoptingStyleSheets) {\n (this.renderRoot as ShadowRoot).adoptedStyleSheets =\n styles.map((s) => s.styleSheet!);\n } else {\n // This must be done after rendering so the actual style insertion is done\n // in `update`.\n this._needsShimAdoptedStyleSheets = true;\n }\n }\n\n connectedCallback() {\n super.connectedCallback();\n // Note, first update/render handles styleElement so we only call this if\n // connected after first update.\n if (this.hasUpdated && window.ShadyCSS !== undefined) {\n window.ShadyCSS.styleElement(this);\n }\n }\n\n /**\n * Updates the element. This method reflects property values to attributes\n * and calls `render` to render DOM via lit-html. Setting properties inside\n * this method will *not* trigger another update.\n * @param _changedProperties Map of changed properties with old values\n */\n protected update(changedProperties: PropertyValues) {\n // Setting properties in `render` should not trigger an update. Since\n // updates are allowed after super.update, it's important to call `render`\n // before that.\n const templateResult = this.render();\n super.update(changedProperties);\n // If render is not implemented by the component, don't call lit-html render\n if (templateResult !== renderNotImplemented) {\n (this.constructor as typeof LitElement)\n .render(\n templateResult,\n this.renderRoot,\n {scopeName: this.localName, eventContext: this});\n }\n // When native Shadow DOM is used but adoptedStyles are not supported,\n // insert styling after rendering to ensure adoptedStyles have highest\n // priority.\n if (this._needsShimAdoptedStyleSheets) {\n this._needsShimAdoptedStyleSheets = false;\n (this.constructor as typeof LitElement)._styles!.forEach((s) => {\n const style = document.createElement('style');\n style.textContent = s.cssText;\n this.renderRoot.appendChild(style);\n });\n }\n }\n\n /**\n * Invoked on each update to perform rendering tasks. This method may return\n * any value renderable by lit-html's NodePart - typically a TemplateResult.\n * Setting properties inside this method will *not* trigger the element to\n * update.\n */\n protected render(): unknown {\n return renderNotImplemented;\n }\n}\n","/**\n * @license\n * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.\n * This code may only be used under the BSD style license found at\n * http://polymer.github.io/LICENSE.txt\n * The complete set of authors may be found at\n * http://polymer.github.io/AUTHORS.txt\n * The complete set of contributors may be found at\n * http://polymer.github.io/CONTRIBUTORS.txt\n * Code distributed by Google as part of the polymer project is also\n * subject to an additional IP rights grant found at\n * http://polymer.github.io/PATENTS.txt\n */\n\n/**\n * @module shady-render\n */\n\nimport {isTemplatePartActive, Template, TemplatePart} from './template.js';\n\nconst walkerNodeFilter = 133 /* NodeFilter.SHOW_{ELEMENT|COMMENT|TEXT} */;\n\n/**\n * Removes the list of nodes from a Template safely. In addition to removing\n * nodes from the Template, the Template part indices are updated to match\n * the mutated Template DOM.\n *\n * As the template is walked the removal state is tracked and\n * part indices are adjusted as needed.\n *\n * div\n * div#1 (remove) <-- start removing (removing node is div#1)\n * div\n * div#2 (remove) <-- continue removing (removing node is still div#1)\n * div\n * div <-- stop removing since previous sibling is the removing node (div#1,\n * removed 4 nodes)\n */\nexport function removeNodesFromTemplate(\n template: Template, nodesToRemove: Set<Node>) {\n const {element: {content}, parts} = template;\n const walker =\n document.createTreeWalker(content, walkerNodeFilter, null, false);\n let partIndex = nextActiveIndexInTemplateParts(parts);\n let part = parts[partIndex];\n let nodeIndex = -1;\n let removeCount = 0;\n const nodesToRemoveInTemplate = [];\n let currentRemovingNode: Node|null = null;\n while (walker.nextNode()) {\n nodeIndex++;\n const node = walker.currentNode as Element;\n // End removal if stepped past the removing node\n if (node.previousSibling === currentRemovingNode) {\n currentRemovingNode = null;\n }\n // A node to remove was found in the template\n if (nodesToRemove.has(node)) {\n nodesToRemoveInTemplate.push(node);\n // Track node we're removing\n if (currentRemovingNode === null) {\n currentRemovingNode = node;\n }\n }\n // When removing, increment count by which to adjust subsequent part indices\n if (currentRemovingNode !== null) {\n removeCount++;\n }\n while (part !== undefined && part.index === nodeIndex) {\n // If part is in a removed node deactivate it by setting index to -1 or\n // adjust the index as needed.\n part.index = currentRemovingNode !== null ? -1 : part.index - removeCount;\n // go to the next active part.\n partIndex = nextActiveIndexInTemplateParts(parts, partIndex);\n part = parts[partIndex];\n }\n }\n nodesToRemoveInTemplate.forEach((n) => n.parentNode!.removeChild(n));\n}\n\nconst countNodes = (node: Node) => {\n let count = (node.nodeType === 11 /* Node.DOCUMENT_FRAGMENT_NODE */) ? 0 : 1;\n const walker = document.createTreeWalker(node, walkerNodeFilter, null, false);\n while (walker.nextNode()) {\n count++;\n }\n return count;\n};\n\nconst nextActiveIndexInTemplateParts =\n (parts: TemplatePart[], startIndex = -1) => {\n for (let i = startIndex + 1; i < parts.length; i++) {\n const part = parts[i];\n if (isTemplatePartActive(part)) {\n return i;\n }\n }\n return -1;\n };\n\n/**\n * Inserts the given node into the Template, optionally before the given\n * refNode. In addition to inserting the node into the Template, the Template\n * part indices are updated to match the mutated Template DOM.\n */\nexport function insertNodeIntoTemplate(\n template: Template, node: Node, refNode: Node|null = null) {\n const {element: {content}, parts} = template;\n // If there's no refNode, then put node at end of template.\n // No part indices need to be shifted in this case.\n if (refNode === null || refNode === undefined) {\n content.appendChild(node);\n return;\n }\n const walker =\n document.createTreeWalker(content, walkerNodeFilter, null, false);\n let partIndex = nextActiveIndexInTemplateParts(parts);\n let insertCount = 0;\n let walkerIndex = -1;\n while (walker.nextNode()) {\n walkerIndex++;\n const walkerNode = walker.currentNode as Element;\n if (walkerNode === refNode) {\n insertCount = countNodes(node);\n refNode.parentNode!.insertBefore(node, refNode);\n }\n while (partIndex !== -1 && parts[partIndex].index === walkerIndex) {\n // If we've inserted the node, simply adjust all subsequent parts\n if (insertCount > 0) {\n while (partIndex !== -1) {\n parts[partIndex].index += insertCount;\n partIndex = nextActiveIndexInTemplateParts(parts, partIndex);\n }\n return;\n }\n partIndex = nextActiveIndexInTemplateParts(parts, partIndex);\n }\n }\n}\n","/**\n * @license\n * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.\n * This code may only be used under the BSD style license found at\n * http://polymer.github.io/LICENSE.txt\n * The complete set of authors may be found at\n * http://polymer.github.io/AUTHORS.txt\n * The complete set of contributors may be found at\n * http://polymer.github.io/CONTRIBUTORS.txt\n * Code distributed by Google as part of the polymer project is also\n * subject to an additional IP rights grant found at\n * http://polymer.github.io/PATENTS.txt\n */\n\n/**\n * Module to add shady DOM/shady CSS polyfill support to lit-html template\n * rendering. See the [[render]] method for details.\n *\n * @module shady-render\n * @preferred\n */\n\n/**\n * Do not remove this comment; it keeps typedoc from misplacing the module\n * docs.\n */\nimport {removeNodes} from './dom.js';\nimport {insertNodeIntoTemplate, removeNodesFromTemplate} from './modify-template.js';\nimport {RenderOptions} from './render-options.js';\nimport {parts, render as litRender} from './render.js';\nimport {templateCaches} from './template-factory.js';\nimport {TemplateInstance} from './template-instance.js';\nimport {TemplateResult} from './template-result.js';\nimport {marker, Template} from './template.js';\n\nexport {html, svg, TemplateResult} from '../lit-html.js';\n\n// Get a key to lookup in `templateCaches`.\nconst getTemplateCacheKey = (type: string, scopeName: string) =>\n `${type}--${scopeName}`;\n\nlet compatibleShadyCSSVersion = true;\n\nif (typeof window.ShadyCSS === 'undefined') {\n compatibleShadyCSSVersion = false;\n} else if (typeof window.ShadyCSS.prepareTemplateDom === 'undefined') {\n console.warn(\n `Incompatible ShadyCSS version detected. ` +\n `Please update to at least @webcomponents/webcomponentsjs@2.0.2 and ` +\n `@webcomponents/shadycss@1.3.1.`);\n compatibleShadyCSSVersion = false;\n}\n\n/**\n * Template factory which scopes template DOM using ShadyCSS.\n * @param scopeName {string}\n */\nconst shadyTemplateFactory = (scopeName: string) =>\n (result: TemplateResult) => {\n const cacheKey = getTemplateCacheKey(result.type, scopeName);\n let templateCache = templateCaches.get(cacheKey);\n if (templateCache === undefined) {\n templateCache = {\n stringsArray: new WeakMap<TemplateStringsArray, Template>(),\n keyString: new Map<string, Template>()\n };\n templateCaches.set(cacheKey, templateCache);\n }\n\n let template = templateCache.stringsArray.get(result.strings);\n if (template !== undefined) {\n return template;\n }\n\n const key = result.strings.join(marker);\n template = templateCache.keyString.get(key);\n if (template === undefined) {\n const element = result.getTemplateElement();\n if (compatibleShadyCSSVersion) {\n window.ShadyCSS!.prepareTemplateDom(element, scopeName);\n }\n template = new Template(result, element);\n templateCache.keyString.set(key, template);\n }\n templateCache.stringsArray.set(result.strings, template);\n return template;\n };\n\nconst TEMPLATE_TYPES = ['html', 'svg'];\n\n/**\n * Removes all style elements from Templates for the given scopeName.\n */\nconst removeStylesFromLitTemplates = (scopeName: string) => {\n TEMPLATE_TYPES.forEach((type) => {\n const templates = templateCaches.get(getTemplateCacheKey(type, scopeName));\n if (templates !== undefined) {\n templates.keyString.forEach((template) => {\n const {element: {content}} = template;\n // IE 11 doesn't support the iterable param Set constructor\n const styles = new Set<Element>();\n Array.from(content.querySelectorAll('style')).forEach((s: Element) => {\n styles.add(s);\n });\n removeNodesFromTemplate(template, styles);\n });\n }\n });\n};\n\nconst shadyRenderSet = new Set<string>();\n\n/**\n * For the given scope name, ensures that ShadyCSS style scoping is performed.\n * This is done just once per scope name so the fragment and template cannot\n * be modified.\n * (1) extracts styles from the rendered fragment and hands them to ShadyCSS\n * to be scoped and appended to the document\n * (2) removes style elements from all lit-html Templates for this scope name.\n *\n * Note, <style> elements can only be placed into templates for the\n * initial rendering of the scope. If <style> elements are included in templates\n * dynamically rendered to the scope (after the first scope render), they will\n * not be scoped and the <style> will be left in the template and rendered\n * output.\n */\nconst prepareTemplateStyles =\n (scopeName: string, renderedDOM: DocumentFragment, template?: Template) => {\n shadyRenderSet.add(scopeName);\n // If `renderedDOM` is stamped from a Template, then we need to edit that\n // Template's underlying template element. Otherwise, we create one here\n // to give to ShadyCSS, which still requires one while scoping.\n const templateElement =\n !!template ? template.element : document.createElement('template');\n // Move styles out of rendered DOM and store.\n const styles = renderedDOM.querySelectorAll('style');\n const {length} = styles;\n // If there are no styles, skip unnecessary work\n if (length === 0) {\n // Ensure prepareTemplateStyles is called to support adding\n // styles via `prepareAdoptedCssText` since that requires that\n // `prepareTemplateStyles` is called.\n //\n // ShadyCSS will only update styles containing @apply in the template\n // given to `prepareTemplateStyles`. If no lit Template was given,\n // ShadyCSS will not be able to update uses of @apply in any relevant\n // template. However, this is not a problem because we only create the\n // template for the purpose of supporting `prepareAdoptedCssText`,\n // which doesn't support @apply at all.\n window.ShadyCSS!.prepareTemplateStyles(templateElement, scopeName);\n return;\n }\n const condensedStyle = document.createElement('style');\n // Collect styles into a single style. This helps us make sure ShadyCSS\n // manipulations will not prevent us from being able to fix up template\n // part indices.\n // NOTE: collecting styles is inefficient for browsers but ShadyCSS\n // currently does this anyway. When it does not, this should be changed.\n for (let i = 0; i < length; i++) {\n const style = styles[i];\n style.parentNode!.removeChild(style);\n condensedStyle.textContent! += style.textContent;\n }\n // Remove styles from nested templates in this scope.\n removeStylesFromLitTemplates(scopeName);\n // And then put the condensed style into the \"root\" template passed in as\n // `template`.\n const content = templateElement.content;\n if (!!template) {\n insertNodeIntoTemplate(template, condensedStyle, content.firstChild);\n } else {\n content.insertBefore(condensedStyle, content.firstChild);\n }\n // Note, it's important that ShadyCSS gets the template that `lit-html`\n // will actually render so that it can update the style inside when\n // needed (e.g. @apply native Shadow DOM case).\n window.ShadyCSS!.prepareTemplateStyles(templateElement, scopeName);\n const style = content.querySelector('style');\n if (window.ShadyCSS!.nativeShadow && style !== null) {\n // When in native Shadow DOM, ensure the style created by ShadyCSS is\n // included in initially rendered output (`renderedDOM`).\n renderedDOM.insertBefore(style.cloneNode(true), renderedDOM.firstChild);\n } else if (!!template) {\n // When no style is left in the template, parts will be broken as a\n // result. To fix this, we put back the style node ShadyCSS removed\n // and then tell lit to remove that node from the template.\n // There can be no style in the template in 2 cases (1) when Shady DOM\n // is in use, ShadyCSS removes all styles, (2) when native Shadow DOM\n // is in use ShadyCSS removes the style if it contains no content.\n // NOTE, ShadyCSS creates its own style so we can safely add/remove\n // `condensedStyle` here.\n content.insertBefore(condensedStyle, content.firstChild);\n const removes = new Set<Node>();\n removes.add(condensedStyle);\n removeNodesFromTemplate(template, removes);\n }\n };\n\nexport interface ShadyRenderOptions extends Partial<RenderOptions> {\n scopeName: string;\n}\n\n/**\n * Extension to the standard `render` method which supports rendering\n * to ShadowRoots when the ShadyDOM (https://github.com/webcomponents/shadydom)\n * and ShadyCSS (https://github.com/webcomponents/shadycss) polyfills are used\n * or when the webcomponentsjs\n * (https://github.com/webcomponents/webcomponentsjs) polyfill is used.\n *\n * Adds a `scopeName` option which is used to scope element DOM and stylesheets\n * when native ShadowDOM is unavailable. The `scopeName` will be added to\n * the class attribute of all rendered DOM. In addition, any style elements will\n * be automatically re-written with this `scopeName` selector and moved out\n * of the rendered DOM and into the document `<head>`.\n *\n * It is common to use this render method in conjunction with a custom element\n * which renders a shadowRoot. When this is done, typically the element's\n * `localName` should be used as the `scopeName`.\n *\n * In addition to DOM scoping, ShadyCSS also supports a basic shim for css\n * custom properties (needed only on older browsers like IE11) and a shim for\n * a deprecated feature called `@apply` that supports applying a set of css\n * custom properties to a given location.\n *\n * Usage considerations:\n *\n * * Part values in `<style>` elements are only applied the first time a given\n * `scopeName` renders. Subsequent changes to parts in style elements will have\n * no effect. Because of this, parts in style elements should only be used for\n * values that will never change, for example parts that set scope-wide theme\n * values or parts which render shared style elements.\n *\n * * Note, due to a limitation of the ShadyDOM polyfill, rendering in a\n * custom element's `constructor` is not supported. Instead rendering should\n * either done asynchronously, for example at microtask timing (for example\n * `Promise.resolve()`), or be deferred until the first time the element's\n * `connectedCallback` runs.\n *\n * Usage considerations when using shimmed custom properties or `@apply`:\n *\n * * Whenever any dynamic changes are made which affect\n * css custom properties, `ShadyCSS.styleElement(element)` must be called\n * to update the element. There are two cases when this is needed:\n * (1) the element is connected to a new parent, (2) a class is added to the\n * element that causes it to match different custom properties.\n * To address the first case when rendering a custom element, `styleElement`\n * should be called in the element's `connectedCallback`.\n *\n * * Shimmed custom properties may only be defined either for an entire\n * shadowRoot (for example, in a `:host` rule) or via a rule that directly\n * matches an element with a shadowRoot. In other words, instead of flowing from\n * parent to child as do native css custom properties, shimmed custom properties\n * flow only from shadowRoots to nested shadowRoots.\n *\n * * When using `@apply` mixing css shorthand property names with\n * non-shorthand names (for example `border` and `border-width`) is not\n * supported.\n */\nexport const render =\n (result: unknown,\n container: Element|DocumentFragment|ShadowRoot,\n options: ShadyRenderOptions) => {\n if (!options || typeof options !== 'object' || !options.scopeName) {\n throw new Error('The `scopeName` option is required.');\n }\n const scopeName = options.scopeName;\n const hasRendered = parts.has(container);\n const needsScoping = compatibleShadyCSSVersion &&\n container.nodeType === 11 /* Node.DOCUMENT_FRAGMENT_NODE */ &&\n !!(container as ShadowRoot).host;\n // Handle first render to a scope specially...\n const firstScopeRender = needsScoping && !shadyRenderSet.has(scopeName);\n // On first scope render, render into a fragment; this cannot be a single\n // fragment that is reused since nested renders can occur synchronously.\n const renderContainer =\n firstScopeRender ? document.createDocumentFragment() : container;\n litRender(\n result,\n renderContainer,\n {templateFactory: shadyTemplateFactory(scopeName), ...options} as\n RenderOptions);\n // When performing first scope render,\n // (1) We've rendered into a fragment so that there's a chance to\n // `prepareTemplateStyles` before sub-elements hit the DOM\n // (which might cause them to render based on a common pattern of\n // rendering in a custom element's `connectedCallback`);\n // (2) Scope the template with ShadyCSS one time only for this scope.\n // (3) Render the fragment into the container and make sure the\n // container knows its `part` is the one we just rendered. This ensures\n // DOM will be re-used on subsequent renders.\n if (firstScopeRender) {\n const part = parts.get(renderContainer)!;\n parts.delete(renderContainer);\n // ShadyCSS might have style sheets (e.g. from `prepareAdoptedCssText`)\n // that should apply to `renderContainer` even if the rendered value is\n // not a TemplateInstance. However, it will only insert scoped styles\n // into the document if `prepareTemplateStyles` has already been called\n // for the given scope name.\n const template = part.value instanceof TemplateInstance ?\n part.value.template :\n undefined;\n prepareTemplateStyles(\n scopeName, renderContainer as DocumentFragment, template);\n removeNodes(container, container.firstChild);\n container.appendChild(renderContainer);\n parts.set(container, part);\n }\n // After elements have hit the DOM, update styling if this is the\n // initial render to this container.\n // This is needed whenever dynamic changes are made so it would be\n // safest to do every render; however, this would regress performance\n // so we leave it up to the user to call `ShadyCSS.styleElement`\n // for dynamic changes.\n if (!hasRendered && needsScoping) {\n window.ShadyCSS!.styleElement((container as ShadowRoot).host);\n }\n };\n"],"sourceRoot":""}
@@ -0,0 +1,215 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{305:function(t,e,n){"use strict";n.d(e,"g",(function(){return r.a})),n.d(e,"m",(function(){return r.c})),n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return b})),n.d(e,"e",(function(){return m.b})),n.d(e,"d",(function(){return m.a})),n.d(e,"l",(function(){return _.c})),n.d(e,"h",(function(){return _.b})),n.d(e,"c",(function(){return _.a})),n.d(e,"i",(function(){return g.b})),n.d(e,"j",(function(){return g.c})),n.d(e,"k",(function(){return g.d})),n.d(e,"f",(function(){return g.a}));var r=n(87),o=n(318),i=n(310);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return(f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=y(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(u,t);var e,n,r,o=h(u);function u(){var t;return s(this,u),(t=o.apply(this,arguments)).$connected=new i.a,t}return e=u,(n=[{key:"connectedCallback",value:function(){f(y(u.prototype),"connectedCallback",this).call(this),this.$connected.next(!0)}},{key:"disconnectedCallback",value:function(){f(y(u.prototype),"disconnectedCallback",this).call(this),this.$connected.next(!1)}},{key:"firstUpdated",value:function(){this.firstUpdate=!0}},{key:"updated",value:function(t){if(!this.firstUpdate){var e,n=a(t.keys());try{for(n.s();!(e=n.n()).done;){var r=e.value;r in this.$&&this.$[r].next(this[r])}}catch(t){n.e(t)}finally{n.f()}}this.firstUpdate=!1}},{key:"fireEvent",value:function(t,e){this.dispatchEvent(new CustomEvent(t,e)),this.dispatchEvent(new CustomEvent("".concat(this.tagName.toLowerCase(),"-").concat(t),e))}}])&&l(e.prototype,n),r&&l(e,r),u}(o.a);function b(t,e){return e.forEach((function(e){Object.getOwnPropertyNames(e.prototype).forEach((function(n){t.prototype[n]=e.prototype[n]}))})),t}var m=n(116),_=n(86),g=n(67)},306:function(t,e,n){"use strict";n.d(e,"a",(function(){return O})),n.d(e,"b",(function(){return j})),n.d(e,"e",(function(){return k})),n.d(e,"c",(function(){return P})),n.d(e,"f",(function(){return x})),n.d(e,"g",(function(){return C})),n.d(e,"d",(function(){return A}));var r=n(315),o=n(309),i=n(316),u=n(317),a=n(311),c=n(308);function s(t,e,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=d(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=d(t);if(e){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _(t,e,n){return e&&m(t.prototype,e),n&&m(t,n),t}function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
15
+ /**
16
+ * @license
17
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
18
+ * This code may only be used under the BSD style license found at
19
+ * http://polymer.github.io/LICENSE.txt
20
+ * The complete set of authors may be found at
21
+ * http://polymer.github.io/AUTHORS.txt
22
+ * The complete set of contributors may be found at
23
+ * http://polymer.github.io/CONTRIBUTORS.txt
24
+ * Code distributed by Google as part of the polymer project is also
25
+ * subject to an additional IP rights grant found at
26
+ * http://polymer.github.io/PATENTS.txt
27
+ */var w=function(t){return null===t||!("object"===g(t)||"function"==typeof t)},S=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},O=function(){function t(e,n,r){b(this,t),this.dirty=!0,this.element=e,this.name=n,this.strings=r,this.parts=[];for(var o=0;o<r.length-1;o++)this.parts[o]=this._createPart()}return _(t,[{key:"_createPart",value:function(){return new j(this)}},{key:"_getValue",value:function(){for(var t=this.strings,e=t.length-1,n="",r=0;r<e;r++){n+=t[r];var o=this.parts[r];if(void 0!==o){var i=o.value;if(w(i)||!S(i))n+="string"==typeof i?i:String(i);else{var u,a=y(i);try{for(a.s();!(u=a.n()).done;){var c=u.value;n+="string"==typeof c?c:String(c)}}catch(t){a.e(t)}finally{a.f()}}}}return n+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),t}(),j=function(){function t(e){b(this,t),this.value=void 0,this.committer=e}return _(t,[{key:"setValue",value:function(t){t===i.a||w(t)&&t===this.value||(this.value=t,Object(r.b)(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;Object(r.b)(this.value);){var t=this.value;this.value=i.a,t(this)}this.value!==i.a&&this.committer.commit()}}]),t}(),k=function(){function t(e){b(this,t),this.value=void 0,this.__pendingValue=void 0,this.options=e}return _(t,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(Object(c.c)()),this.endNode=t.appendChild(Object(c.c)())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=Object(c.c)()),t.__insert(this.endNode=Object(c.c)())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=Object(c.c)()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){if(null!==this.startNode.parentNode){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=i.a,t(this)}var e=this.__pendingValue;e!==i.a&&(w(e)?e!==this.value&&this.__commitText(e):e instanceof a.b?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):S(e)?this.__commitIterable(e):e===i.b?(this.value=i.b,this.clear()):this.__commitText(e))}}},{key:"__insert",value:function(t){this.endNode.parentNode.insertBefore(t,this.endNode)}},{key:"__commitNode",value:function(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}},{key:"__commitText",value:function(t){var e=this.startNode.nextSibling,n="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=n:this.__commitNode(document.createTextNode(n)),this.value=t}},{key:"__commitTemplateResult",value:function(t){var e=this.options.templateFactory(t);if(this.value instanceof u.a&&this.value.template===e)this.value.update(t.values);else{var n=new u.a(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(e){Array.isArray(this.value)||(this.value=[],this.clear());var n,r,o=this.value,i=0,u=y(e);try{for(u.s();!(r=u.n()).done;){var a=r.value;void 0===(n=o[i])&&(n=new t(this.options),o.push(n),0===i?n.appendIntoPart(this):n.insertAfterPart(o[i-1])),n.setValue(a),n.commit(),i++}}catch(t){u.e(t)}finally{u.f()}i<o.length&&(o.length=i,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;Object(o.b)(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),t}(),P=function(){function t(e,n,r){if(b(this,t),this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=n,this.strings=r}return _(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=i.a,t(this)}if(this.__pendingValue!==i.a){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=i.a}}}]),t}(),x=function(t){l(n,t);var e=p(n);function n(t,r,o){var i;return b(this,n),(i=e.call(this,t,r,o)).single=2===o.length&&""===o[0]&&""===o[1],i}return _(n,[{key:"_createPart",value:function(){return new C(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:s(d(n.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),n}(O),C=function(t){l(n,t);var e=p(n);function n(){return b(this,n),e.apply(this,arguments)}return n}(j),E=!1;!function(){try{var t={get capture(){return E=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}}();var A=function(){function t(e,n,r){var o=this;b(this,t),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(t){return o.handleEvent(t)}}return _(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=i.a,t(this)}if(this.__pendingValue!==i.a){var e=this.__pendingValue,n=this.value,o=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),u=null!=e&&(null==n||o);o&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),u&&(this.__options=T(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=i.a}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),t}(),T=function(t){return t&&(E?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)}},307:function(t,e,n){"use strict";n.d(e,"c",(function(){return a.a})),n.d(e,"a",(function(){return r.b})),n.d(e,"b",(function(){return r.g})),n.d(e,"d",(function(){return c}));var r=n(306);function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
28
+ /**
29
+ * @license
30
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
31
+ * This code may only be used under the BSD style license found at
32
+ * http://polymer.github.io/LICENSE.txt
33
+ * The complete set of authors may be found at
34
+ * http://polymer.github.io/AUTHORS.txt
35
+ * The complete set of contributors may be found at
36
+ * http://polymer.github.io/CONTRIBUTORS.txt
37
+ * Code distributed by Google as part of the polymer project is also
38
+ * subject to an additional IP rights grant found at
39
+ * http://polymer.github.io/PATENTS.txt
40
+ */
41
+ var i=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,i;return e=t,(n=[{key:"handleAttributeExpressions",value:function(t,e,n,o){var i=e[0];return"."===i?new r.f(t,e.slice(1),n).parts:"@"===i?[new r.d(t,e.slice(1),o.eventContext)]:"?"===i?[new r.c(t,e.slice(1),n)]:new r.a(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new r.e(t)}}])&&o(e.prototype,n),i&&o(e,i),t}()),u=n(311),a=n(315);n(309),n(316),n(314),n(312),n(317),n(308);
42
+ /**
43
+ * @license
44
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
45
+ * This code may only be used under the BSD style license found at
46
+ * http://polymer.github.io/LICENSE.txt
47
+ * The complete set of authors may be found at
48
+ * http://polymer.github.io/AUTHORS.txt
49
+ * The complete set of contributors may be found at
50
+ * http://polymer.github.io/CONTRIBUTORS.txt
51
+ * Code distributed by Google as part of the polymer project is also
52
+ * subject to an additional IP rights grant found at
53
+ * http://polymer.github.io/PATENTS.txt
54
+ */
55
+ "undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.2.1");var c=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new u.b(t,n,"html",i)}},308:function(t,e,n){"use strict";n.d(e,"f",(function(){return r})),n.d(e,"g",(function(){return o})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"c",(function(){return l})),n.d(e,"e",(function(){return f}));
56
+ /**
57
+ * @license
58
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
59
+ * This code may only be used under the BSD style license found at
60
+ * http://polymer.github.io/LICENSE.txt
61
+ * The complete set of authors may be found at
62
+ * http://polymer.github.io/AUTHORS.txt
63
+ * The complete set of contributors may be found at
64
+ * http://polymer.github.io/CONTRIBUTORS.txt
65
+ * Code distributed by Google as part of the polymer project is also
66
+ * subject to an additional IP rights grant found at
67
+ * http://polymer.github.io/PATENTS.txt
68
+ */
69
+ var r="{{lit-".concat(String(Math.random()).slice(2),"}}"),o="\x3c!--".concat(r,"--\x3e"),i=new RegExp("".concat(r,"|").concat(o)),u="$lit$",a=function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parts=[],this.element=n;for(var o=[],a=[],s=document.createTreeWalker(n.content,133,null,!1),p=0,h=-1,d=0,y=e.strings,v=e.values.length;d<v;){var b=s.nextNode();if(null!==b){if(h++,1===b.nodeType){if(b.hasAttributes()){for(var m=b.attributes,_=m.length,g=0,w=0;w<_;w++)c(m[w].name,u)&&g++;for(;g-- >0;){var S=y[d],O=f.exec(S)[2],j=O.toLowerCase()+u,k=b.getAttribute(j);b.removeAttribute(j);var P=k.split(i);this.parts.push({type:"attribute",index:h,name:O,strings:P}),d+=P.length-1}}"TEMPLATE"===b.tagName&&(a.push(b),s.currentNode=b.content)}else if(3===b.nodeType){var x=b.data;if(x.indexOf(r)>=0){for(var C=b.parentNode,E=x.split(i),A=E.length-1,T=0;T<A;T++){var N=void 0,R=E[T];if(""===R)N=l();else{var V=f.exec(R);null!==V&&c(V[2],u)&&(R=R.slice(0,V.index)+V[1]+V[2].slice(0,-u.length)+V[3]),N=document.createTextNode(R)}C.insertBefore(N,b),this.parts.push({type:"node",index:++h})}""===E[A]?(C.insertBefore(l(),b),o.push(b)):b.data=E[A],d+=A}}else if(8===b.nodeType)if(b.data===r){var U=b.parentNode;null!==b.previousSibling&&h!==p||(h++,U.insertBefore(l(),b)),p=h,this.parts.push({type:"node",index:h}),null===b.nextSibling?b.data="":(o.push(b),h--),d++}else for(var M=-1;-1!==(M=b.data.indexOf(r,M+1));)this.parts.push({type:"node",index:-1}),d++}else s.currentNode=a.pop()}for(var I=0,F=o;I<F.length;I++){var D=F[I];D.parentNode.removeChild(D)}},c=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},s=function(t){return-1!==t.index},l=function(){return document.createComment("")},f=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/},309:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return i}));
70
+ /**
71
+ * @license
72
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
73
+ * This code may only be used under the BSD style license found at
74
+ * http://polymer.github.io/LICENSE.txt
75
+ * The complete set of authors may be found at
76
+ * http://polymer.github.io/AUTHORS.txt
77
+ * The complete set of contributors may be found at
78
+ * http://polymer.github.io/CONTRIBUTORS.txt
79
+ * Code distributed by Google as part of the polymer project is also
80
+ * subject to an additional IP rights grant found at
81
+ * http://polymer.github.io/PATENTS.txt
82
+ */
83
+ var r="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,o=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e!==n;){var o=e.nextSibling;t.insertBefore(e,r),e=o}},i=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==n;){var r=e.nextSibling;t.removeChild(e),e=r}}},310:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return f}));var r=n(1),o=n(5),i=n(9),u=n(13),a=n(313),c=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return Object(r.e)(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(u.a),s=n(63),l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return Object(r.e)(e,t),e}(i.a),f=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(r.e)(e,t),e.prototype[s.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new a.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.a;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new a.a;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new a.a;return this.hasError?(t.error(this.thrownError),u.a.EMPTY):this.isStopped?(t.complete(),u.a.EMPTY):(this.observers.push(t),new c(this,t))},e.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},e.create=function(t,e){return new p(t,e)},e}(o.a),p=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return Object(r.e)(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):u.a.EMPTY},e}(f)},311:function(t,e,n){"use strict";n.d(e,"b",(function(){return y})),n.d(e,"a",(function(){return v}));var r=n(309),o=n(308);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=l(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),t}
84
+ /**
85
+ * @license
86
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
87
+ * This code may only be used under the BSD style license found at
88
+ * http://polymer.github.io/LICENSE.txt
89
+ * The complete set of authors may be found at
90
+ * http://polymer.github.io/AUTHORS.txt
91
+ * The complete set of contributors may be found at
92
+ * http://polymer.github.io/CONTRIBUTORS.txt
93
+ * Code distributed by Google as part of the polymer project is also
94
+ * subject to an additional IP rights grant found at
95
+ * http://polymer.github.io/PATENTS.txt
96
+ */var d=" ".concat(o.f," "),y=function(){function t(e,n,r,o){f(this,t),this.strings=e,this.values=n,this.type=r,this.processor=o}return h(t,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var i=this.strings[r],u=i.lastIndexOf("\x3c!--");n=(u>-1||n)&&-1===i.indexOf("--\x3e",u+1);var a=o.e.exec(i);e+=null===a?i+(n?d:o.g):i.substr(0,a.index)+a[1]+a[2]+o.b+a[3]+o.f}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template");return t.innerHTML=this.getHTML(),t}}]),t}(),v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,t);var e=c(n);function n(){return f(this,n),e.apply(this,arguments)}return h(n,[{key:"getHTML",value:function(){return"<svg>".concat(u(l(n.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var t=u(l(n.prototype),"getTemplateElement",this).call(this),e=t.content,o=e.firstChild;return e.removeChild(o),Object(r.c)(e,o.firstChild),t}}]),n}(y)},312:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r=n(308);
97
+ /**
98
+ * @license
99
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
100
+ * This code may only be used under the BSD style license found at
101
+ * http://polymer.github.io/LICENSE.txt
102
+ * The complete set of authors may be found at
103
+ * http://polymer.github.io/AUTHORS.txt
104
+ * The complete set of contributors may be found at
105
+ * http://polymer.github.io/CONTRIBUTORS.txt
106
+ * Code distributed by Google as part of the polymer project is also
107
+ * subject to an additional IP rights grant found at
108
+ * http://polymer.github.io/PATENTS.txt
109
+ */function o(t){var e=i.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},i.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var o=t.strings.join(r.f);return void 0===(n=e.keyString.get(o))&&(n=new r.a(t,t.getTemplateElement()),e.keyString.set(o,n)),e.stringsArray.set(t.strings,n),n}var i=new Map},313:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},314:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return a}));var r=n(309),o=n(306),i=n(312),u=new WeakMap,a=function(t,e,n){var a=u.get(e);void 0===a&&(Object(r.b)(e,e.firstChild),u.set(e,a=new o.e(Object.assign({templateFactory:i.b},n))),a.appendInto(e)),a.setValue(t),a.commit()}},315:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i}));
110
+ /**
111
+ * @license
112
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
113
+ * This code may only be used under the BSD style license found at
114
+ * http://polymer.github.io/LICENSE.txt
115
+ * The complete set of authors may be found at
116
+ * http://polymer.github.io/AUTHORS.txt
117
+ * The complete set of contributors may be found at
118
+ * http://polymer.github.io/CONTRIBUTORS.txt
119
+ * Code distributed by Google as part of the polymer project is also
120
+ * subject to an additional IP rights grant found at
121
+ * http://polymer.github.io/PATENTS.txt
122
+ */
123
+ var r=new WeakMap,o=function(t){return function(){var e=t.apply(void 0,arguments);return r.set(e,!0),e}},i=function(t){return"function"==typeof t&&r.has(t)}},316:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));
124
+ /**
125
+ * @license
126
+ * Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
127
+ * This code may only be used under the BSD style license found at
128
+ * http://polymer.github.io/LICENSE.txt
129
+ * The complete set of authors may be found at
130
+ * http://polymer.github.io/AUTHORS.txt
131
+ * The complete set of contributors may be found at
132
+ * http://polymer.github.io/CONTRIBUTORS.txt
133
+ * Code distributed by Google as part of the polymer project is also
134
+ * subject to an additional IP rights grant found at
135
+ * http://polymer.github.io/PATENTS.txt
136
+ */
137
+ var r={},o={}},317:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(309),o=n(308);function i(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||a(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=a(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw i}}}}function a(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
138
+ /**
139
+ * @license
140
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
141
+ * This code may only be used under the BSD style license found at
142
+ * http://polymer.github.io/LICENSE.txt
143
+ * The complete set of authors may be found at
144
+ * http://polymer.github.io/AUTHORS.txt
145
+ * The complete set of contributors may be found at
146
+ * http://polymer.github.io/CONTRIBUTORS.txt
147
+ * Code distributed by Google as part of the polymer project is also
148
+ * subject to an additional IP rights grant found at
149
+ * http://polymer.github.io/PATENTS.txt
150
+ */
151
+ var l=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.__parts=[],this.template=e,this.processor=n,this.options=r}var e,n,a;return e=t,(n=[{key:"update",value:function(t){var e,n=0,r=u(this.__parts);try{for(r.s();!(e=r.n()).done;){var o=e.value;void 0!==o&&o.setValue(t[n]),n++}}catch(t){r.e(t)}finally{r.f()}var i,a=u(this.__parts);try{for(a.s();!(i=a.n()).done;){var c=i.value;void 0!==c&&c.commit()}}catch(t){a.e(t)}finally{a.f()}}},{key:"_clone",value:function(){for(var t,e=r.a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],u=this.template.parts,a=document.createTreeWalker(e,133,null,!1),c=0,s=0,l=a.nextNode();c<u.length;)if(t=u[c],Object(o.d)(t)){for(;s<t.index;)s++,"TEMPLATE"===l.nodeName&&(n.push(l),a.currentNode=l.content),null===(l=a.nextNode())&&(a.currentNode=n.pop(),l=a.nextNode());if("node"===t.type){var f=this.processor.handleTextExpression(this.options);f.insertAfterNode(l.previousSibling),this.__parts.push(f)}else{var p;(p=this.__parts).push.apply(p,i(this.processor.handleAttributeExpressions(l,t.name,t.strings,this.options)))}c++}else this.__parts.push(void 0),c++;return r.a&&(document.adoptNode(e),customElements.upgrade(e)),e}}])&&s(e.prototype,n),a&&s(e,a),t}()},318:function(t,e,n){"use strict";n.d(e,"c",(function(){return U})),n.d(e,"e",(function(){return M})),n.d(e,"f",(function(){return I})),n.d(e,"d",(function(){return f.d})),n.d(e,"b",(function(){return $})),n.d(e,"a",(function(){return et}));var r=n(309),o=n(308);function i(t,e){for(var n=t.element.content,r=t.parts,o=document.createTreeWalker(n,133,null,!1),i=a(r),u=r[i],c=-1,s=0,l=[],f=null;o.nextNode();){c++;var p=o.currentNode;for(p.previousSibling===f&&(f=null),e.has(p)&&(l.push(p),null===f&&(f=p)),null!==f&&s++;void 0!==u&&u.index===c;)u.index=null!==f?-1:u.index-s,u=r[i=a(r,i)]}l.forEach((function(t){return t.parentNode.removeChild(t)}))}var u=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,133,null,!1);n.nextNode();)e++;return e},a=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=e+1;n<t.length;n++){var r=t[n];if(Object(o.d)(r))return n}return-1};var c=n(314),s=n(312),l=n(317),f=n(307);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
152
+ /**
153
+ * @license
154
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
155
+ * This code may only be used under the BSD style license found at
156
+ * http://polymer.github.io/LICENSE.txt
157
+ * The complete set of authors may be found at
158
+ * http://polymer.github.io/AUTHORS.txt
159
+ * The complete set of contributors may be found at
160
+ * http://polymer.github.io/CONTRIBUTORS.txt
161
+ * Code distributed by Google as part of the polymer project is also
162
+ * subject to an additional IP rights grant found at
163
+ * http://polymer.github.io/PATENTS.txt
164
+ */var h=function(t,e){return"".concat(t,"--").concat(e)},d=!0;void 0===window.ShadyCSS?d=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),d=!1);var y=function(t){return function(e){var n=h(e.type,t),r=s.a.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},s.a.set(n,r));var i=r.stringsArray.get(e.strings);if(void 0!==i)return i;var u=e.strings.join(o.f);if(void 0===(i=r.keyString.get(u))){var a=e.getTemplateElement();d&&window.ShadyCSS.prepareTemplateDom(a,t),i=new o.a(e,a),r.keyString.set(u,i)}return r.stringsArray.set(e.strings,i),i}},v=["html","svg"],b=new Set,m=function(t,e,n){b.add(t);var r=n?n.element:document.createElement("template"),o=e.querySelectorAll("style"),c=o.length;if(0!==c){for(var l=document.createElement("style"),f=0;f<c;f++){var p=o[f];p.parentNode.removeChild(p),l.textContent+=p.textContent}!function(t){v.forEach((function(e){var n=s.a.get(h(e,t));void 0!==n&&n.keyString.forEach((function(t){var e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach((function(t){n.add(t)})),i(t,n)}))}))}(t);var d=r.content;n?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t.element.content,o=t.parts;if(null!=n)for(var i=document.createTreeWalker(r,133,null,!1),c=a(o),s=0,l=-1;i.nextNode();){l++;var f=i.currentNode;for(f===n&&(s=u(e),n.parentNode.insertBefore(e,n));-1!==c&&o[c].index===l;){if(s>0){for(;-1!==c;)o[c].index+=s,c=a(o,c);return}c=a(o,c)}}else r.appendChild(e)}(n,l,d.firstChild):d.insertBefore(l,d.firstChild),window.ShadyCSS.prepareTemplateStyles(r,t);var y=d.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==y)e.insertBefore(y.cloneNode(!0),e.firstChild);else if(n){d.insertBefore(l,d.firstChild);var m=new Set;m.add(l),i(n,m)}}else window.ShadyCSS.prepareTemplateStyles(r,t)};function _(t){return function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||g(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){if(t){if("string"==typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(t,e):void 0}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e,n,r,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,o)}function j(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function k(t,e){return!e||"object"!==S(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function P(t){var e="function"==typeof Map?new Map:void 0;return(P=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return x(t,arguments,A(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),E(r,t)})(t)}function x(t,e,n){return(x=C()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&E(o,n.prototype),o}).apply(null,arguments)}function C(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function A(t){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
165
+ /**
166
+ * @license
167
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
168
+ * This code may only be used under the BSD style license found at
169
+ * http://polymer.github.io/LICENSE.txt
170
+ * The complete set of authors may be found at
171
+ * http://polymer.github.io/AUTHORS.txt
172
+ * The complete set of contributors may be found at
173
+ * http://polymer.github.io/CONTRIBUTORS.txt
174
+ * Code distributed by Google as part of the polymer project is also
175
+ * subject to an additional IP rights grant found at
176
+ * http://polymer.github.io/PATENTS.txt
177
+ */window.JSCompiler_renameProperty=function(t,e){return t};var T={toAttribute:function(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},N=function(t,e){return e!==t&&(e==e||t==t)},R={attribute:!0,type:String,converter:T,reflect:!1,hasChanged:N},V=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(s,t);var e,n,r,o,i,u,a,c=(e=s,n=C(),function(){var t,r=A(e);if(n){var o=A(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return k(this,t)});function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=c.call(this))._updateState=0,t._instanceProperties=void 0,t._updatePromise=new Promise((function(e){return t._enableUpdatingResolver=e})),t._changedProperties=new Map,t._reflectingProperties=void 0,t.initialize(),t}return r=s,o=[{key:"initialize",value:function(){this._saveInstanceProperties(),this._requestUpdate()}},{key:"_saveInstanceProperties",value:function(){var t=this;this.constructor._classProperties.forEach((function(e,n){if(t.hasOwnProperty(n)){var r=t[n];delete t[n],t._instanceProperties||(t._instanceProperties=new Map),t._instanceProperties.set(n,r)}}))}},{key:"_applyInstanceProperties",value:function(){var t=this;this._instanceProperties.forEach((function(e,n){return t[n]=e})),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this.enableUpdating()}},{key:"enableUpdating",value:function(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(t,e,n){e!==n&&this._attributeToProperty(t,n)}},{key:"_propertyToAttribute",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R,r=this.constructor,o=r._attributeNameForProperty(t,n);if(void 0!==o){var i=r._propertyValueToAttribute(e,n);if(void 0===i)return;this._updateState=8|this._updateState,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var o=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,o),this._updateState=-17&this._updateState}}}},{key:"_requestUpdate",value:function(t,e){var n=!0;if(void 0!==t){var r=this.constructor,o=r.getPropertyOptions(t);r._valueHasChanged(this[t],e,o.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==o.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,o))):n=!1}!this._hasRequestedUpdate&&n&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(t,e){return this._requestUpdate(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(u=regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._updateState=4|this._updateState,t.prev=1,t.next=4,this._updatePromise;case 4:t.next=8;break;case 6:t.prev=6,t.t0=t.catch(1);case 8:if(null==(e=this.performUpdate())){t.next=12;break}return t.next=12,e;case 12:return t.abrupt("return",!this._hasRequestedUpdate);case 13:case"end":return t.stop()}}),t,this,[[1,6]])})),a=function(){var t=this,e=arguments;return new Promise((function(n,r){var o=u.apply(t,e);function i(t){O(o,n,r,i,a,"next",t)}function a(t){O(o,n,r,i,a,"throw",t)}i(void 0)}))},function(){return a.apply(this,arguments)})},{key:"performUpdate",value:function(){this._instanceProperties&&this._applyInstanceProperties();var t=!1,e=this._changedProperties;try{(t=this.shouldUpdate(e))?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"_getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((function(t,n){return e._propertyToAttribute(n,e[n],t)})),this._reflectingProperties=void 0),this._markUpdated()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._getUpdateComplete()}}],i=[{key:"_ensureClassProperties",value:function(){var t=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((function(e,n){return t._classProperties.set(n,e)}))}}},{key:"createProperty",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var n="symbol"===S(t)?Symbol():"__".concat(t),r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}},{key:"getPropertyDescriptor",value:function(t,e,n){return{get:function(){return this[e]},set:function(n){var r=this[t];this[e]=n,this._requestUpdate(t,r)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this._classProperties&&this._classProperties.get(t)||R}},{key:"finalize",value:function(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty("finalized")||t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e,n=this.properties,r=function(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=g(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}([].concat(_(Object.getOwnPropertyNames(n)),_("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n):[])));try{for(r.s();!(e=r.n()).done;){var o=e.value;this.createProperty(o,n[o])}}catch(t){r.e(t)}finally{r.f()}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:N;return n(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||T,o="function"==typeof r?r:r.fromAttribute;return o?o(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||T.toAttribute)(t,n)}}},{key:"observedAttributes",get:function(){var t=this;this.finalize();var e=[];return this._classProperties.forEach((function(n,r){var o=t._attributeNameForProperty(r,n);void 0!==o&&(t._attributeToPropertyMap.set(o,r),e.push(o))})),e}}],o&&j(r.prototype,o),i&&j(r,i),s}(P(HTMLElement));V.finalized=!0;
178
+ /**
179
+ * @license
180
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
181
+ * This code may only be used under the BSD style license found at
182
+ * http://polymer.github.io/LICENSE.txt
183
+ * The complete set of authors may be found at
184
+ * http://polymer.github.io/AUTHORS.txt
185
+ * The complete set of contributors may be found at
186
+ * http://polymer.github.io/CONTRIBUTORS.txt
187
+ * Code distributed by Google as part of the polymer project is also
188
+ * subject to an additional IP rights grant found at
189
+ * http://polymer.github.io/PATENTS.txt
190
+ */
191
+ var U=function(t){return function(e){return"function"==typeof e?function(t,e){return window.customElements.define(t,e),e}(t,e):function(t,e){return{kind:e.kind,elements:e.elements,finisher:function(e){window.customElements.define(t,e)}}}(t,e)}};function M(t){return function(e,n){return void 0!==n?function(t,e,n){e.constructor.createProperty(n,t)}(t,e,n):function(t,e){return"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?Object.assign(Object.assign({},e),{finisher:function(n){n.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer:function(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher:function(n){n.createProperty(e.key,t)}}}(t,e)}}function I(t){return function(e,n){var r={get:function(){return this.renderRoot.querySelector(t)},enumerable:!0,configurable:!0};return void 0!==n?F(r,e,n):D(r,e)}}var F=function(t,e,n){Object.defineProperty(e,n,t)},D=function(t,e){return{kind:"method",placement:"prototype",key:e.key,descriptor:t}};function q(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
192
+ /**
193
+ @license
194
+ Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
195
+ This code may only be used under the BSD style license found at
196
+ http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
197
+ http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
198
+ found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
199
+ part of the polymer project is also subject to an additional IP rights grant
200
+ found at http://polymer.github.io/PATENTS.txt
201
+ */
202
+ var z="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,L=Symbol(),H=function(){function t(e,n){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n!==L)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}var e,n,r;return e=t,(n=[{key:"toString",value:function(){return this.cssText}},{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(z?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}}])&&q(e.prototype,n),r&&q(e,r),t}(),B=function(t){if(t instanceof H)return t.cssText;if("number"==typeof t)return t;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(t,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))},$=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=n.reduce((function(e,n,r){return e+B(n)+t[r+1]}),t[0]);return new H(o,L)};function W(t){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function K(t,e,n){return(K="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Z(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function G(t,e){return(G=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Q(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Z(t);if(e){var o=Z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return X(this,n)}}function X(t,e){return!e||"object"!==W(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Z(t){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
203
+ /**
204
+ * @license
205
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
206
+ * This code may only be used under the BSD style license found at
207
+ * http://polymer.github.io/LICENSE.txt
208
+ * The complete set of authors may be found at
209
+ * http://polymer.github.io/AUTHORS.txt
210
+ * The complete set of contributors may be found at
211
+ * http://polymer.github.io/CONTRIBUTORS.txt
212
+ * Code distributed by Google as part of the polymer project is also
213
+ * subject to an additional IP rights grant found at
214
+ * http://polymer.github.io/PATENTS.txt
215
+ */(window.litElementVersions||(window.litElementVersions=[])).push("2.3.1");var tt={},et=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&G(t,e)}(i,t);var e,n,r,o=Q(i);function i(){return J(this,i),o.apply(this,arguments)}return e=i,r=[{key:"getStyles",value:function(){return this.styles}},{key:"_getUniqueStyles",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var t=this.getStyles();if(void 0===t)this._styles=[];else if(Array.isArray(t)){var e=function t(e,n){return e.reduceRight((function(e,n){return Array.isArray(n)?t(n,e):(e.add(n),e)}),n)}(t,new Set),n=[];e.forEach((function(t){return n.unshift(t)})),this._styles=n}else this._styles=[t]}}}],(n=[{key:"initialize",value:function(){K(Z(i.prototype),"initialize",this).call(this),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?z?this.renderRoot.adoptedStyleSheets=t.map((function(t){return t.styleSheet})):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map((function(t){return t.cssText})),this.localName))}},{key:"connectedCallback",value:function(){K(Z(i.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var e=this,n=this.render();K(Z(i.prototype),"update",this).call(this,t),n!==tt&&this.constructor.render(n,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((function(t){var n=document.createElement("style");n.textContent=t.cssText,e.renderRoot.appendChild(n)})))}},{key:"render",value:function(){return tt}}])&&Y(e.prototype,n),r&&Y(e,r),i}(V);et.finalized=!0,et.render=function(t,e,n){if(!n||"object"!==p(n)||!n.scopeName)throw new Error("The `scopeName` option is required.");var o=n.scopeName,i=c.a.has(e),u=d&&11===e.nodeType&&!!e.host,a=u&&!b.has(o),s=a?document.createDocumentFragment():e;if(Object(c.b)(t,s,Object.assign({templateFactory:y(o)},n)),a){var f=c.a.get(s);c.a.delete(s);var h=f.value instanceof l.a?f.value.template:void 0;m(o,s,h),Object(r.b)(e,e.firstChild),e.appendChild(s),c.a.set(e,f)}!i&&u&&window.ShadyCSS.styleElement(e.host)}},319:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i}));var r=n(5),o=new r.a((function(t){return t.complete()}));function i(t){return t?function(t){return new r.a((function(e){return t.schedule((function(){return e.complete()}))}))}(t):o}},321:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(5),o=n(113),i=n(117),u=n(114);function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,a=void 0,c=t[t.length-1];return Object(o.a)(c)?(a=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof c&&(n=t.pop()),!a&&1===t.length&&t[0]instanceof r.a?t[0]:Object(i.a)(n)(Object(u.a)(t,a))}},322:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=n(9);function i(t){return function(e){return e.lift(new u(t))}}var u=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.value))},t}(),a=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return Object(r.e)(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(o.a)},323:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(118),o=n(113);function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return Object(o.a)(n)?(t.pop(),function(e){return Object(r.a)(t,e,n)}):function(e){return Object(r.a)(t,e)}}},324:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=n(9);function i(){return function(t){return t.lift(new u)}}var u=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return Object(r.e)(e,t),e.prototype._next=function(t){var e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)},e}(o.a)},338:function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r=n(1),o=n(310),i=n(5),u=n(9),a=n(13);function c(){return function(t){return t.lift(new l(t))}}var s,l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new f(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),f=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r.connection=null,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(u.a),p=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return Object(r.e)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new a.a).add(this.source.subscribe(new d(this.getSubject(),this))),t.closed&&(this._connection=null,t=a.a.EMPTY)),t},e.prototype.refCount=function(){return c()(this)},e}(i.a),h={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(s=p.prototype)._subscribe},_isComplete:{value:s._isComplete,writable:!0},getSubject:{value:s.getSubject},connect:{value:s.connect},refCount:{value:s.refCount}},d=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(o.b),y=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new y(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o}}(),function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(u.a));var v=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();function b(){return new o.a}function m(){return function(t){return c()((e=b,function(t){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof n)return t.lift(new v(r,n));var o=Object.create(t,h);return o.source=t,o.subjectFactory=r,o})(t));var e,n}}},340:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=n(9);function i(t,e){return function(n){return n.lift(new u(t,e))}}var u=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.compare,this.keySelector))},t}(),a=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.keySelector=r,o.hasKey=!1,"function"==typeof n&&(o.compare=n),o}return Object(r.e)(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(t){return this.destination.error(t)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(t){return this.destination.error(t)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(o.a)},341:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(5),o=n(79),i=n(319);function u(t){return new r.a((function(e){var n;try{n=t()}catch(t){return void e.error(t)}return(n?Object(o.a)(n):i.a).subscribe(e)}))}},342:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),o=n(9),i=n(13);function u(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.callback))},t}(),c=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new i.a(n)),r}return Object(r.e)(e,t),e}(o.a)},343:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),o=n(47),i=n(46);function u(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new c(t),r=Object(i.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),c=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return Object(r.e)(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(o.a)},344:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),o=n(310),i=n(313),u=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return Object(r.e)(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(o.a)},349:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(1),o=n(9),i=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}(),u=n(319);function a(t){return function(e){return 0===t?u.a:e.lift(new c(t))}}var c=function(){function t(t){if(this.total=t,this.total<0)throw new i}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.total))},t}(),s=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return Object(r.e)(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.a)}}]);