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,40 @@
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([[15],{330:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var u=i>=0?arguments[i]:e.cwd();if("string"!=typeof u)throw new TypeError("Arguments to path.resolve must be strings");u&&(t=u+"/"+t,o="/"===u.charAt(0))}return(o?"/":"")+(t=n(r(t.split("/"),(function(e){return!!e})),!o).join("/"))||"."},t.normalize=function(e){var i=t.isAbsolute(e),u="/"===o(e,-1);return(e=n(r(e.split("/"),(function(e){return!!e})),!i).join("/"))||i||(e="."),e&&u&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),u=Math.min(o.length,i.length),a=u,s=0;s<u;s++)if(o[s]!==i[s]){a=s;break}var f=[];for(s=a;s<o.length;s++)f.push("..");return(f=f.concat(i.slice(a))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,i=e.length-1;i>=1;--i)if(47===(t=e.charCodeAt(i))){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,u=e.length-1;u>=0;--u){var a=e.charCodeAt(u);if(47!==a)-1===r&&(o=!1,r=u+1),46===a?-1===t?t=u:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=u+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n(331))},331:function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(e){r=u}}();var s,f=[],c=!1,l=-1;function h(){c&&s&&(c=!1,s.length?f=s.concat(f):l=-1,f.length&&v())}function v(){if(!c){var e=a(h);c=!0;for(var t=f.length;t;){for(s=f,f=[];++l<t;)s&&s[l].run();l=-1,t=f.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function p(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];f.push(new d(e,t)),1!==f.length||c||a(v)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=p,o.addListener=p,o.once=p,o.off=p,o.removeListener=p,o.removeAllListeners=p,o.emit=p,o.prependListener=p,o.prependOnceListener=p,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},332:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n(310);function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(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 i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},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 u,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw u}}}}function i(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}
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 u=function(e,t){var n=e.startNode.parentNode,o=void 0===t?e.endNode:t.startNode,i=n.insertBefore(Object(r.d)(),o);n.insertBefore(Object(r.d)(),o);var u=new r.b(e.options);return u.insertAfterNode(i),u},a=function(e,t){return e.setValue(t),e.commit(),e},s=function(e,t,n){var o=e.startNode.parentNode,i=n?n.startNode:e.endNode,u=t.endNode.nextSibling;u!==i&&Object(r.i)(o,t.startNode,u,i)},f=function(e){Object(r.g)(e.startNode.parentNode,e.startNode,e.endNode.nextSibling)},c=function(e,t,n){for(var r=new Map,o=t;o<=n;o++)r.set(e[o],o);return r},l=new WeakMap,h=new WeakMap,v=Object(r.e)((function(e,t,n){var i;return void 0===n?n=t:void 0!==t&&(i=t),function(t){if(!(t instanceof r.b))throw new Error("repeat can only be used in text bindings");var v,d,p,g=l.get(t)||[],m=h.get(t)||[],b=[],y=[],w=[],A=0,T=o(e);try{for(T.s();!(v=T.n()).done;){var j=v.value;w[A]=i?i(j,A):A,y[A]=n(j,A),A++}}catch(e){T.e(e)}finally{T.f()}for(var N=0,k=g.length-1,O=0,E=y.length-1;N<=k&&O<=E;)if(null===g[N])N++;else if(null===g[k])k--;else if(m[N]===w[O])b[O]=a(g[N],y[O]),N++,O++;else if(m[k]===w[E])b[E]=a(g[k],y[E]),k--,E--;else if(m[N]===w[E])b[E]=a(g[N],y[E]),s(t,g[N],b[E+1]),N++,E--;else if(m[k]===w[O])b[O]=a(g[k],y[O]),s(t,g[k],g[N]),k--,O++;else if(void 0===d&&(d=c(w,O,E),p=c(m,N,k)),d.has(m[N]))if(d.has(m[k])){var S=p.get(w[O]),x=void 0!==S?g[S]:null;if(null===x){var M=u(t,g[N]);a(M,y[O]),b[O]=M}else b[O]=a(x,y[O]),s(t,x,g[N]),g[S]=null;O++}else f(g[k]),k--;else f(g[N]),N++;for(;O<=E;){var C=u(t,b[E+1]);a(C,y[O]),b[O++]=C}for(;N<=k;){var L=g[N++];null!==L&&f(L)}l.set(t,b),h.set(t,w)}}))},333:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(310),o=new WeakMap,i=Object(r.e)((function(e){return function(t){var n=o.get(t);if(void 0===e&&t instanceof r.a){if(void 0!==n||!o.has(t)){var i=t.committer.name;t.committer.element.removeAttribute(i)}}else e!==n&&t.setValue(e);o.set(t,e)}}));
28
+ /**
29
+ * @license
30
+ * Copyright (c) 2018 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
+ */}}]);
@@ -0,0 +1,155 @@
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([[16],{324:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(r=window)}e.exports=r},342:function(e,t,n){(function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}(function(){"use strict";var n;function r(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function o(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:r(e)}}function i(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}var s="undefined"!=typeof window&&window===this?this:void 0!==e&&null!=e?e:this;function a(e,t){return{index:e,o:[],u:t}}function l(e,t,n,r){var o=0,i=0,s=0,l=0,c=Math.min(t-o,r-i);if(0==o&&0==i)e:{for(s=0;s<c;s++)if(e[s]!==n[s])break e;s=c}if(t==e.length&&r==n.length){l=e.length;for(var d=n.length,h=0;h<c-s&&u(e[--l],n[--d]);)h++;l=h}if(i+=s,r-=l,0==(t-=l)-(o+=s)&&0==r-i)return[];if(o==t){for(t=a(o,0);i<r;)t.o.push(n[i++]);return[t]}if(i==r)return[a(o,t-o)];for(r=r-(s=i)+1,l=t-(c=o)+1,t=Array(r),d=0;d<r;d++)t[d]=Array(l),t[d][0]=d;for(d=0;d<l;d++)t[0][d]=d;for(d=1;d<r;d++)for(h=1;h<l;h++)if(e[c+h-1]===n[s+d-1])t[d][h]=t[d-1][h-1];else{var f=t[d-1][h]+1,_=t[d][h-1]+1;t[d][h]=f<_?f:_}for(c=t.length-1,s=t[0].length-1,r=t[c][s],e=[];0<c||0<s;)0==c?(e.push(2),s--):0==s?(e.push(3),c--):(l=t[c-1][s-1],(f=(d=t[c-1][s])<(h=t[c][s-1])?d<l?d:l:h<l?h:l)==l?(l==r?e.push(0):(e.push(1),r=l),c--,s--):f==d?(e.push(3),c--,r=d):(e.push(2),s--,r=h));for(e.reverse(),t=void 0,c=[],s=0;s<e.length;s++)switch(e[s]){case 0:t&&(c.push(t),t=void 0),o++,i++;break;case 1:t||(t=a(o,0)),t.u++,o++,t.o.push(n[i]),i++;break;case 2:t||(t=a(o,0)),t.u++,o++;break;case 3:t||(t=a(o,0)),t.o.push(n[i]),i++}return t&&c.push(t),c}function u(e,t){return e===t}function c(){}function d(e){return e.__shady||(e.__shady=new c),e.__shady}function h(e){return e&&e.__shady}c.prototype.toJSON=function(){return{}};var f=window.ShadyDOM||{};f.T=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var _=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function p(e){return(e=h(e))&&void 0!==e.firstChild}function y(e){return e instanceof ShadowRoot}function m(e){return(e=(e=h(e))&&e.root)&&Mt(e)}f.c=!!(_&&_.configurable&&_.get),f.F=f.force||!f.T,f.g=f.noPatch||!1,f.A=f.preferPerformance,f.G="on-demand"===f.g,f.L=navigator.userAgent.match("Trident");var v=Element.prototype,g=v.matches||v.matchesSelector||v.mozMatchesSelector||v.msMatchesSelector||v.oMatchesSelector||v.webkitMatchesSelector,S=document.createTextNode(""),N=0,E=[];function b(e){E.push(e),S.textContent=N++}new MutationObserver((function(){for(;E.length;)try{E.shift()()}catch(e){throw S.textContent=N++,e}})).observe(S,{characterData:!0});var C=!!document.contains;function w(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function T(e){for(var t=e.length-1;0<=t;t--){var n=e[t],r=n.getAttribute("id")||n.getAttribute("name");r&&"length"!==r&&isNaN(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if("length"!==t&&isNaN(t)&&e[t])return e[t];for(var n=o(e),r=n.next();!r.done;r=n.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==t)return r;return null},e}function O(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function x(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function P(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function k(e,t,n,r){for(var o in n=void 0===n?"":n,t)r&&0<=r.indexOf(o)||P(e,n+o,t[o])}function M(e,t){for(var n in t)n in e&&P(e,n,t[n])}function D(e){var t={};return Object.getOwnPropertyNames(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t}function R(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}var A,L=[];function I(e){A||(A=!0,b(F)),L.push(e)}function F(){A=!1;for(var e=!!L.length;L.length;)L.shift()();return e}F.list=L;var j=D({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),H=D({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){return this.__shady_innerHTML=e}}),B=D({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(e){return this.__shady_className=e}});function U(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}U(j),U(H),U(B);var q,V=f.c||!0===f.g,G=V?function(){}:function(e){var t=d(e);t.N||(t.N=!0,M(e,B))},W=V?function(){}:function(e){var t=d(e);t.M||(t.M=!0,M(e,j),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!f.g||M(e,H))},K="__eventWrappers"+Date.now(),X=(q=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return q.get.call(e)}:null,$=function(){function e(){}var t=!1,n={get capture(){return t=!0,!1}};return window.addEventListener("test",e,n),window.removeEventListener("test",e,n),t}();function z(e){if(e&&"object"===t(e))var n=!!e.capture,r=!!e.once,o=!!e.passive,i=e.i;else n=!!e,o=r=!1;return{K:i,capture:n,once:r,passive:o,J:$?e:n}}var Y={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},J={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function Q(e){return e instanceof Node?e.__shady_getRootNode():e}function Z(e,t){var n=[],r=e;for(e=Q(e);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(t||r!==e)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function ee(e,t){if(!y)return e;e=Z(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=Q(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!y(r)||-1<s)return n}function te(e){function t(t,n){return(t=new e(t,n)).__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}var ne={focus:!0,blur:!0};function re(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function oe(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!re(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}function ie(e){var t,n=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return o},configurable:!0});for(var r=n.length-1;0<=r;r--){var o=n[r];if(oe(e,o,"capture"),e.B)return}for(Object.defineProperty(e,"eventPhase",{get:function(){return Event.AT_TARGET}}),r=0;r<n.length;r++){var i=h(o=n[r]);if(i=i&&i.root,(0===r||i&&i===t)&&(oe(e,o,"bubble"),o!==window&&(t=o.__shady_getRootNode()),e.B))break}}function se(e,t,n,r,o,i){for(var s=0;s<e.length;s++){var a=e[s],l=a.type,u=a.capture,c=a.once,d=a.passive;if(t===a.node&&n===l&&r===u&&o===c&&i===d)return s}return-1}function ae(e){return F(),this.__shady_native_dispatchEvent(e)}function le(e,n,r){var o=z(r),i=o.capture,s=o.once,a=o.passive,l=o.K;if(o=o.J,n){var u=t(n);if(("function"===u||"object"===u)&&("object"!==u||n.handleEvent&&"function"==typeof n.handleEvent)){if(J[e])return this.__shady_native_addEventListener(e,n,o);var c=l||this;if(l=n[K]){if(-1<se(l,c,e,i,s,a))return}else n[K]=[];l=function(t){if(s&&this.__shady_removeEventListener(e,n,r),t.__target||de(t),c!==this){var o=Object.getOwnPropertyDescriptor(t,"currentTarget");Object.defineProperty(t,"currentTarget",{get:function(){return c},configurable:!0})}if(t.__previousCurrentTarget=t.currentTarget,(!y(c)&&"slot"!==c.localName||-1!=t.composedPath().indexOf(c))&&(t.composed||-1<t.composedPath().indexOf(c)))if(re(t)&&t.target===t.relatedTarget)t.eventPhase===Event.BUBBLING_PHASE&&t.stopImmediatePropagation();else if(t.eventPhase===Event.CAPTURING_PHASE||t.bubbles||t.target===c||c instanceof Window){var i="function"===u?n.call(c,t):n.handleEvent&&n.handleEvent(t);return c!==this&&(o?(Object.defineProperty(t,"currentTarget",o),o=null):delete t.currentTarget),i}},n[K].push({node:c,type:e,capture:i,once:s,passive:a,V:l}),ne[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][i?"capture":"bubble"].push(l)):this.__shady_native_addEventListener(e,l,o)}}}function ue(e,t,n){if(t){var r=z(n);n=r.capture;var o=r.once,i=r.passive,s=r.K;if(r=r.J,J[e])return this.__shady_native_removeEventListener(e,t,r);var a=s||this;s=void 0;var l=null;try{l=t[K]}catch(e){}l&&(-1<(o=se(l,a,e,n,o,i))&&(s=l.splice(o,1)[0].V,l.length||(t[K]=void 0))),this.__shady_native_removeEventListener(e,s||t,r),s&&ne[e]&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(s))&&e.splice(t,1))}}var ce=D({get composed(){return void 0===this.__composed&&(X?this.__composed="focusin"===this.type||"focusout"===this.type||X(this):!1!==this.isTrusted&&(this.__composed=Y[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=Z(this.__target,this.composed)),this.__composedPath},get target(){return ee(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Z(this.__relatedTarget,!0)),ee(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.B=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.B=this.__immediatePropagationStopped=!0}});function de(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,f.c){var t=Object.getPrototypeOf(e);if(!t.hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,k(n,ce),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else k(e,ce)}var he=te(Event),fe=te(CustomEvent),_e=te(MouseEvent);var pe=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),ye=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function me(e){return{set:function(t){var n=d(this),r=e.substring(2);n.h||(n.h={}),n.h[e]&&this.removeEventListener(r,n.h[e]),this.__shady_addEventListener(r,t),n.h[e]=t},get:function(){var t=h(this);return t&&t.h&&t.h[e]},configurable:!0}}var ve=D({dispatchEvent:ae,addEventListener:le,removeEventListener:ue}),ge=window.document,Se=f.A,Ne=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),Ee=Ne&&Ne.get;function be(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function Ce(e,t,n){if(e=(e=h(e))&&e.m){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=t.childNodes.length;r<o;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),function(e){e.a||(e.a=!0,b((function(){e.flush()})))}(e)}}var we=D({get parentNode(){var e=h(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=h(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=h(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=h(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=h(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(p(this)){var e=h(this);if(!e.childNodes){e.childNodes=[];for(var t=this.__shady_firstChild;t;t=t.__shady_nextSibling)e.childNodes.push(t)}var n=e.childNodes}else n=this.__shady_native_childNodes;return n.item=function(e){return n[e]},n},get parentElement(){var e=h(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(Ee&&Ee.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(C){if(e.__shady_native_contains(this))return!0}else if(e.documentElement&&e.documentElement.__shady_native_contains(this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(y(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(p(this)){for(var e=[],t=this.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.__shady_textContent);return e.join("")}return this.__shady_native_textContent},set textContent(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!p(this)&&f.c){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&be(this),this.__shady_native_textContent=e}else be(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==ge&&e.ownerDocument!==ge)return this.__shady_native_insertBefore(e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var n=h(t);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&t.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;Ce(this,e);var r=[],s=(n=Lt(this))?n.host.localName:Le(this),a=e.__shady_parentNode;if(a){var l=Le(e),u=!!n||!Lt(e)||Se&&void 0!==this.__noInsertionPoint;a.__shady_removeChild(e,u)}a=!0;var c=(!Se||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=De();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(r=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)r=r&&e(t,n);return r}return t.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(t)===n}(e,s),f=n&&!e.__noInsertionPoint&&(!Se||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(f||c)&&(c&&(l=l||Le(e)),Ie(e,(function(e){if(f&&"slot"===e.localName&&r.push(e),c){var t=l;De()&&(t&&Ae(e,t),(t=De())&&t.scopeNode(e,s))}}))),r.length&&(Ot(n),n.f.push.apply(n.f,r instanceof Array?r:i(o(r))),Et(n)),p(this)&&(function(e,t,n){dt(t,2);var r=d(t);if(void 0!==r.firstChild&&(r.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)ht(e,t,r,n);else ht(e,t,r,n)}(e,this,t),(u=h(this)).root?(a=!1,m(this)&&Et(u.root)):n&&"slot"===this.localName&&(a=!1,Et(n))),a?(n=y(this)?this.host:this,t?(t=function e(t){var n=t;if(t&&"slot"===t.localName){var r=h(t);(r=r&&r.l)&&(n=r.length?r[0]:e(t.__shady_nextSibling))}return n}(t),n.__shady_native_insertBefore(e,t)):n.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!y(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==ge)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+e);Ce(this,null,e);var n=Lt(e),r=n&&function(e,t){if(e.a){xt(e);var n,r=e.b;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var s=o[i];if(w(t,s)){o.splice(i,1);var a=e.a.indexOf(s);if(0<=a&&(e.a.splice(a,1),(a=h(s.__shady_parentNode))&&a.s&&a.s--),i--,s=h(s),a=s.l)for(var l=0;l<a.length;l++){var u=a[l],c=u.__shady_native_parentNode;c&&c.__shady_native_removeChild(u)}s.l=[],s.assignedNodes=[],a=!0}}return a}}(n,e),o=h(this);if(p(this)&&(function(e,t){var n=d(e);t=d(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(d(e).nextSibling=r),r&&(d(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),m(this))){Et(o.root);var i=!0}if(De()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=Le(e);Ie(e,(function(e){Ae(e,s)}))}return function e(t){var n=h(t);if(n&&void 0!==n.w)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=h(t))&&(t.w=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&Et(n)),i||(i=y(this)?this.host:this,(!o.root&&"slot"!==e.localName||i===e.__shady_native_parentNode)&&i.__shady_native_removeChild(e)),e},replaceChild:function(e,t){return this.__shady_insertBefore(e,t),this.__shady_removeChild(t),e},cloneNode:function(e){if("template"==this.localName)return this.__shady_native_cloneNode(e);var t=this.__shady_native_cloneNode(!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE){e=this.__shady_firstChild;for(var n;e;e=e.__shady_nextSibling)n=e.__shady_cloneNode(!0),t.__shady_appendChild(n)}return t},getRootNode:function(e){if(this&&this.nodeType){var t=d(this),n=t.w;return void 0===n&&(y(this)?(n=this,t.w=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.w=n))),n}},contains:function(e){return w(this,e)}}),Te=D({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&bt(e),(e=h(this))&&e.assignedSlot||null}});function Oe(e,t,n){var r=[];return function e(t,n,r,o){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var i;if(i=t.nodeType===Node.ELEMENT_NODE){var s=n,a=r,l=o,u=s(i=t);u&&l.push(i),a&&a(u)?i=u:(e(i,s,a,l),i=void 0)}if(i)break}}(e,t,n,r),r}var xe=D({get firstElementChild(){var e=h(this);if(e&&void 0!==e.firstChild){for(e=this.__shady_firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_firstElementChild},get lastElementChild(){var e=h(this);if(e&&void 0!==e.lastChild){for(e=this.__shady_lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_lastElementChild},get children(){return p(this)?T(Array.prototype.filter.call(x(this),(function(e){return e.nodeType===Node.ELEMENT_NODE}))):this.__shady_native_children},get childElementCount(){var e=this.__shady_children;return e?e.length:0}}),Pe=D({querySelector:function(e){return Oe(this,(function(t){return g.call(t,e)}),(function(e){return!!e}))[0]||null},querySelectorAll:function(e,t){if(t){t=Array.prototype.slice.call(this.__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return T(t.filter((function(e){return e.__shady_getRootNode()==n})))}return T(Oe(this,(function(t){return g.call(t,e)})))}}),ke=f.A&&!f.g?R({},xe):xe;R(xe,Pe);var Me=null;function De(){return Me||(Me=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Me||null}function Re(e,t,n){var r=De();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function Ae(e,t){var n=De();n&&n.unscopeNode(e,t)}function Le(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=De();return t?t.currentScopeForNode(e):""}function Ie(e,t){if(e)for(e.nodeType===Node.ELEMENT_NODE&&t(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&Ie(e,t)}var Fe=window.document;function je(e,t){if("slot"===t)m(e=e.__shady_parentNode)&&Et(h(e).root);else if("slot"===e.localName&&"name"===t&&(t=Lt(e))){if(t.a){xt(t);var n=e.O,r=Pt(e);if(r!==n){var o=(n=t.b[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.b[r]||(t.b[r]=[])).push(e),1<n.length&&(t.b[r]=kt(n))}}Et(t)}}var He=D({get previousElementSibling(){var e=h(this);if(e&&void 0!==e.previousSibling){for(e=this.__shady_previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_previousElementSibling},get nextElementSibling(){var e=h(this);if(e&&void 0!==e.nextSibling){for(e=this.__shady_nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(e){this.__shady_setAttribute("slot",e)},get className(){return this.getAttribute("class")||""},set className(e){this.__shady_setAttribute("class",e)},setAttribute:function(e,t){this.ownerDocument!==Fe?this.__shady_native_setAttribute(e,t):Re(this,e,t)||(this.__shady_native_setAttribute(e,t),je(this,e))},removeAttribute:function(e){this.ownerDocument!==Fe?this.__shady_native_removeAttribute(e):Re(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),je(this,e))}});f.A||pe.forEach((function(e){He[e]=me(e)}));var Be=D({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!f.L){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,Nt(t,this,e),ft(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;Ot(n),n.f.push.apply(n.f,e instanceof Array?e:i(o(e))),Et(t)}t.host.__shady_native_appendChild(t)}else t=new St(mt,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=h(this);return e&&e.U||null}});R(He,Be);var Ue=/[&\u00A0"]/g,qe=/[&\u00A0<>]/g;function Ve(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function Ge(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var We=Ge("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Ke=Ge("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Xe(e,t){"template"===e.localName&&(e=e.content);for(var n="",r=t?t(e):e.childNodes,o=0,i=r.length,s=void 0;o<i&&(s=r[o]);o++){e:{var a=s,l=e,u=t;switch(a.nodeType){case Node.ELEMENT_NODE:for(var c,d="<"+(l=a.localName),h=a.attributes,f=0;c=h[f];f++)d+=" "+c.name+'="'+c.value.replace(Ue,Ve)+'"';d+=">",a=We[l]?d:d+Xe(a,u)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&Ke[l.localName]?a:a.replace(qe,Ve);break e;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break e;default:throw window.console.error(a),Error("not implemented")}}n+=a}return n}var $e=document.implementation.createHTMLDocument("inert"),ze=D({get innerHTML(){return p(this)?Xe("template"===this.localName?this.content:this,x):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{be(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==$e.namespaceURI?$e.createElementNS(this.namespaceURI,t):$e.createElement(t),f.c?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),Ye=D({blur:function(){var e=h(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});f.A||ye.forEach((function(e){Ye[e]=me(e)}));var Je=D({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&y(t)&&bt(t),(t=h(this))&&(e&&e.flatten?t.l:t.assignedNodes)||[]}},addEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)le.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_addEventListener(e,n,r)}},removeEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)ue.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_removeEventListener(e,n,r)}}}),Qe=D({getElementById:function(e){return""===e?null:Oe(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}}),Ze=D({get activeElement(){var e=f.c?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!y(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=Lt(e);t&&t!==this;)t=Lt(e=t.host);return this===document?t?null:e:t===this?e:null}}),et=window.document,tt=D({importNode:function(e,t){if(e.ownerDocument!==et||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),nt=D({dispatchEvent:ae,addEventListener:le.bind(window),removeEventListener:ue.bind(window)}),rt={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(rt.parentElement=we.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(rt.contains=we.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(rt.children=xe.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(rt.innerHTML=ze.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(rt.className=He.className);var ot={EventTarget:[ve],Node:[we,window.EventTarget?null:ve],Text:[Te],Comment:[Te],CDATASection:[Te],ProcessingInstruction:[Te],Element:[He,xe,Te,!f.c||"innerHTML"in Element.prototype?ze:null,window.HTMLSlotElement?null:Je],HTMLElement:[Ye,rt],HTMLSlotElement:[Je],DocumentFragment:[ke,Qe],Document:[tt,ke,Qe,Ze],Window:[nt]},it=f.c?null:["innerHTML","textContent"];function st(e,t,n,r){t.forEach((function(t){return e&&t&&k(e,t,n,r)}))}function at(e){var t,n=e?null:it;for(t in ot)st(window[t]&&window[t].prototype,ot[t],e,n)}function lt(e){return e.__shady_protoIsPatched=!0,st(e,ot.EventTarget),st(e,ot.Node),st(e,ot.Element),st(e,ot.HTMLElement),st(e,ot.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,st(n,ot.EventTarget),st(n,ot.Node),ot[e]&&st(n,ot[e]),t.prototype.__shady_patchedProto=n}));var ut=f.G,ct=f.c;function dt(e,t){if(ut&&!e.__shady_protoIsPatched&&!y(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(lt(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}ct||(1===t?G(e):2===t&&W(e))}function ht(e,t,n,r){dt(e,1),r=r||null;var o=d(e),i=r?d(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=h(o.previousSibling))&&(i.nextSibling=e),(i=h(o.nextSibling=r))&&(i.previousSibling=e),o.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function ft(e,t){var n=d(e);if(t||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,dt(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=d(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,dt(n,1)}}}var _t=D({addEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_addEventListener(e,n,r)},removeEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_removeEventListener(e,n,r)}});function pt(e,t){k(e,_t,t),k(e,Ze,t),k(e,ze,t),k(e,xe,t),f.g&&!t?(k(e,we,t),k(e,Qe,t)):f.c||(k(e,B),k(e,j),k(e,H))}var yt,mt={},vt=f.deferConnectionCallbacks&&"loading"===document.readyState;function gt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function St(e,t,n){if(e!==mt)throw new TypeError("Illegal constructor");this.a=null,Nt(this,t,n)}function Nt(e,t,n){if(e.host=t,e.mode=n&&n.mode,ft(e.host),(t=d(e.host)).root=e,t.U="closed"!==e.mode?e:null,(t=d(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,f.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else Et(e)}function Et(e){e.j||(e.j=!0,I((function(){return bt(e)})))}function bt(e){var t;if(t=e.j){for(var n;e;)e.j&&(n=e),y(e=(t=e).host.__shady_getRootNode())&&(t=h(t.host))&&0<t.s||(e=void 0);t=n}(n=t)&&n._renderSelf()}function Ct(e,t,n){var r=d(t),o=r.C;r.C=null,n||(n=(e=e.b[t.__shady_slot||"__catchall"])&&e[0]),n?(d(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(d(r.assignedSlot).D=!0)}function wt(e,t,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=h(o).assignedNodes;i&&i.length&&wt(e,t,i)}else t.push(n[r])}function Tt(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=h(t)).assignedSlot&&Tt(e,t.assignedSlot)}function Ot(e){e.f=e.f||[],e.a=e.a||[],e.b=e.b||{}}function xt(e){if(e.f&&e.f.length){for(var t,n=e.f,r=0;r<n.length;r++){var o=n[r];ft(o);var i=o.__shady_parentNode;ft(i),(i=h(i)).s=(i.s||0)+1,i=Pt(o),e.b[i]?((t=t||{})[i]=!0,e.b[i].push(o)):e.b[i]=[o],e.a.push(o)}if(t)for(var s in t)e.b[s]=kt(e.b[s]);e.f=[]}}function Pt(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.O=t}function kt(e){return e.sort((function(e,t){e=gt(e);for(var n=gt(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=x(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}}))}function Mt(e){return xt(e),!(!e.a||!e.a.length)}if(St.prototype._renderSelf=function(){var e=vt;if(vt=!0,this.j=!1,this.a){xt(this);for(var t,n=0;n<this.a.length;n++){var r=h(t=this.a[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.l=[],r.I=o)for(r=0;r<o.length;r++){var i=h(o[r]);i.C=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)Ct(this,n);for(n=0;n<this.a.length;n++){if(!(o=h(t=this.a[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)Ct(this,r,t);if((r=(r=h(t.__shady_parentNode))&&r.root)&&(Mt(r)||r.j)&&r._renderSelf(),wt(this,o.l,o.assignedNodes),r=o.I){for(i=0;i<r.length;i++)h(r[i]).C=null;o.I=null,r.length>o.assignedNodes.length&&(o.D=!0)}o.D&&(o.D=!1,Tt(this,t))}for(t=this.a,n=[],o=0;o<t.length;o++)(i=h(r=t[o].__shady_parentNode))&&i.root||!(0>n.indexOf(r))||n.push(r);for(t=0;t<n.length;t++){for(o=(i=n[t])===this?this.host:i,r=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var s=h(i).l,a=0;a<s.length;a++)r.push(s[a]);else r.push(i);i=O(o),s=l(r,r.length,i,i.length);for(var u=a=0,c=void 0;a<s.length&&(c=s[a]);a++){for(var d=0,_=void 0;d<c.o.length&&(_=c.o[d]);d++)_.__shady_native_parentNode===o&&o.__shady_native_removeChild(_),i.splice(c.index+u,1);u-=c.u}for(u=0,c=void 0;u<s.length&&(c=s[u]);u++)for(a=i[c.index],d=c.index;d<c.index+c.u;d++)_=r[d],o.__shady_native_insertBefore(_,a),i.splice(d,0,_)}}if(!f.preferPerformance&&!this.H)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=h(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.H=!0,vt=e,yt&&yt()},function(e){e.__proto__=DocumentFragment.prototype,pt(e,"__shady_"),pt(e),Object.defineProperties(e,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach((function(t){Object.defineProperty(e,t,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(t){Object.defineProperty(e,t,{get:function(){return this.host[t]},configurable:!0})}))}(St.prototype),window.customElements&&window.customElements.define&&f.F&&!f.preferPerformance){var Dt=new Map;yt=function(){var e=[];Dt.forEach((function(t,n){e.push([n,t])})),Dt.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},vt&&document.addEventListener("readystatechange",(function(){vt=!1,yt()}),{once:!0});var Rt=window.customElements.define,At=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Rt.call(window.customElements,e,function(e,t,n){var r=0,o="__isConnected"+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){vt?Dt.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){vt?this.isConnected||Dt.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),e}(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r};window.customElements.define=At,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:At,configurable:!0})}function Lt(e){if(y(e=e.__shady_getRootNode()))return e}function It(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.v=new Set}It.prototype.flush=function(){if(this.a){this.a=!1;var e=this.takeRecords();e.length&&this.v.forEach((function(t){t(e)}))}},It.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var Ft=f.c,jt={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},Ht={};function Bt(e){Ht[e]=function(t){return t["__shady_native_"+e]}}function Ut(e,t){for(var n in k(e,t,"__shady_native_"),t)Bt(n)}function qt(e,t){t=void 0===t?[]:t;for(var n=0;n<t.length;n++){var r=t[n],o=Object.getOwnPropertyDescriptor(e,r);o&&(Object.defineProperty(e,"__shady_native_"+r,o),o.value?jt[r]||(jt[r]=o.value):Bt(r))}}var Vt=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Gt=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Wt=document.implementation.createHTMLDocument("inert");function Kt(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var Xt=["firstElementChild","lastElementChild","children","childElementCount"],$t=["querySelector","querySelectorAll"];function zt(e){this.node=e}function Yt(e){Object.defineProperty(zt.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(n=zt.prototype).addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},n.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},n.appendChild=function(e){return this.node.__shady_appendChild(e)},n.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},n.removeChild=function(e){return this.node.__shady_removeChild(e)},n.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},n.cloneNode=function(e){return this.node.__shady_cloneNode(e)},n.getRootNode=function(e){return this.node.__shady_getRootNode(e)},n.contains=function(e){return this.node.__shady_contains(e)},n.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},n.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},n.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},n.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},n.attachShadow=function(e){return this.node.__shady_attachShadow(e)},n.focus=function(){this.node.__shady_native_focus()},n.blur=function(){this.node.__shady_blur()},n.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},n.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},n.querySelector=function(e){return this.node.__shady_querySelector(e)},n.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},n.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},s.Object.defineProperties(zt.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(y(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(y(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){return this.node.__shady_className=e}}}),pe.forEach((function(e){return Yt(e)})),ye.forEach((function(e){return Yt(e)}));var Jt=new WeakMap;function Qt(e){if(y(e)||e instanceof zt)return e;var t=Jt.get(e);return t||(t=new zt(e),Jt.set(e,t)),t}if(f.F){var Zt=f.c?function(e){return e}:function(e){return W(e),G(e),e};window.ShadyDOM={inUse:f.F,patch:Zt,isShadyRoot:y,enqueue:I,flush:F,flushInitial:function(e){!e.H&&e.j&&bt(e)},settings:f,filterMutations:function(e,t){var n=t.getRootNode();return e.map((function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if((t=[].slice.call(e.addedNodes).filter((function(e){return n===e.getRootNode()}))).length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e})).filter((function(e){return e}))},observeChildren:function(e,t){var n=d(e);n.m||(n.m=new It),n.m.v.add(t);var r=n.m;return{P:t,S:r,R:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.S;t&&(t.v.delete(e.P),t.v.size||(d(e.R).m=null))},deferConnectionCallbacks:f.deferConnectionCallbacks,preferPerformance:f.preferPerformance,handlesDynamicScoping:!0,wrap:f.g?Qt:Zt,wrapIfNeeded:!0===f.g?Qt:function(e){return e},Wrapper:zt,composedPath:function(e){return e.__composedPath||(e.__composedPath=Z(e.target,!0)),e.__composedPath},noPatch:f.g,patchOnDemand:f.G,nativeMethods:jt,nativeTree:Ht,patchElementProto:lt},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?qt(window.EventTarget.prototype,e):(qt(Node.prototype,e),qt(Window.prototype,e)),Ft?qt(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Ut(Node.prototype,{parentNode:{get:function(){return Vt.currentNode=this,Vt.parentNode()}},firstChild:{get:function(){return Vt.currentNode=this,Vt.firstChild()}},lastChild:{get:function(){return Vt.currentNode=this,Vt.lastChild()}},previousSibling:{get:function(){return Vt.currentNode=this,Vt.previousSibling()}},nextSibling:{get:function(){return Vt.currentNode=this,Vt.nextSibling()}},childNodes:{get:function(){var e=[];Vt.currentNode=this;for(var t=Vt.firstChild();t;)e.push(t),t=Vt.nextSibling();return e}},parentElement:{get:function(){return Gt.currentNode=this,Gt.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return this.nodeValue}},set:function(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Kt(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),qt(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),qt(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return Gt.currentNode=this,Gt.firstChild()}},lastElementChild:{get:function(){return Gt.currentNode=this,Gt.lastChild()}},children:{get:function(){var e=[];Gt.currentNode=this;for(var t=Gt.firstChild();t;)e.push(t),t=Gt.nextSibling();return T(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},Ft?(qt(Element.prototype,Xt),qt(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),qt(HTMLElement.prototype,["children","innerHTML","className"])):(Ut(Element.prototype,e),Ut(Element.prototype,{previousElementSibling:{get:function(){return Gt.currentNode=this,Gt.previousSibling()}},nextElementSibling:{get:function(){return Gt.currentNode=this,Gt.nextSibling()}},innerHTML:{get:function(){return Xe(this,O)},set:function(e){var t="template"===this.localName?this.content:this;Kt(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==Wt.namespaceURI?Wt.createElementNS(this.namespaceURI,n):Wt.createElement(n)).innerHTML=e,e="template"===this.localName?n.content:n;n=e.__shady_native_firstChild;)t.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)}}})),qt(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),qt(Element.prototype,$t),qt(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&qt(window.HTMLTemplateElement.prototype,["innerHTML"]),Ft?qt(DocumentFragment.prototype,Xt):Ut(DocumentFragment.prototype,e),qt(DocumentFragment.prototype,$t),Ft?(qt(Document.prototype,Xt),qt(Document.prototype,["activeElement"])):Ut(Document.prototype,e),qt(Document.prototype,["importNode","getElementById"]),qt(Document.prototype,$t)}(),at("__shady_"),Object.defineProperty(document,"_activeElement",Ze.activeElement),k(Window.prototype,nt,"__shady_"),f.g?f.G&&k(Element.prototype,Be):(at(),function(){if(!X&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),function(){for(var e in ne)window.__shady_native_addEventListener(e,(function(e){e.__target||(de(e),ie(e))}),!0)}(),window.Event=he,window.CustomEvent=fe,window.MouseEvent=_e,window.ShadowRoot=St}}).call(this)}).call(this,n(324))},346:function(e,t,n){"use strict";
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 http://polymer.github.io/LICENSE.txt
19
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
20
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
21
+ Code distributed by Google as part of the polymer project is also
22
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
23
+ */var r=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function o(e){return function e(t,n){var r=n.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=r.trim(),t.parent){var o=t.previous?t.previous.end:t.parent.start;r=(r=(r=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}(r=n.substring(o,t.start-1))).replace(f.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var i=t.parsedSelector=t.selector=r.trim();t.atRule=0===i.indexOf(y),t.atRule?0===i.indexOf(p)?t.type=c.MEDIA_RULE:i.match(f.keyframesRule)&&(t.type=c.KEYFRAMES_RULE,t.keyframesName=t.selector.split(f.multipleSpaces).pop()):0===i.indexOf(_)?t.type=c.MIXIN_RULE:t.type=c.STYLE_RULE}var s=t.rules;if(s)for(var a,l=0,u=s.length;l<u&&(a=s[l]);l++)e(a,n);return t}(function(e){var t=new r;t.start=0,t.end=e.length;for(var n=t,o=0,i=e.length;o<i;o++)if(e[o]===d){n.rules||(n.rules=[]);var s=n,a=s.rules[s.rules.length-1]||null;(n=new r).start=o+1,n.parent=s,n.previous=a,s.rules.push(n)}else e[o]===h&&(n.end=o+1,n=n.parent||t);return t}(e=e.replace(f.comments,"").replace(f.port,"")),e)}function i(e){var t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(_)}function s(e){return function(e){return e.replace(f.mixinApply,"").replace(f.varApply,"")}(e=a(e))}function a(e){return e.replace(f.customProp,"").replace(f.mixinProp,"")}var l,u,c={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},d="{",h="}",f={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},_="--",p="@media",y="@",m=!(window.ShadyDOM&&window.ShadyDOM.inUse);function v(e){l=(!e||!e.shimcssproperties)&&(m||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(u=window.ShadyCSS.cssBuild);var g=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?l=window.ShadyCSS.nativeCss:window.ShadyCSS?(v(window.ShadyCSS),window.ShadyCSS=void 0):v(window.WebComponents&&window.WebComponents.flags);var S=l,N=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,E=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,b=/(--[\w-]+)\s*([:,;)]|$)/gi,C=/(animation\s*:)|(animation-name\s*:)/,w=/@media\s(.*)/,T=/\{[^}]*\}/g,O=new Set;
24
+ /**
25
+ @license
26
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
27
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
28
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
29
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
30
+ Code distributed by Google as part of the polymer project is also
31
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
32
+ */function x(e){var t=e.textContent;if(!O.has(t)){O.add(t);var n=document.createElement("style");n.setAttribute("shady-unscoped",""),n.textContent=t,document.head.appendChild(n)}}function P(e){return e.hasAttribute("shady-unscoped")}
33
+ /**
34
+ @license
35
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
36
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
37
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
38
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
39
+ Code distributed by Google as part of the polymer project is also
40
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
41
+ */function k(e,t){return e?("string"==typeof e&&(e=o(e)),t&&R(e,t),function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";if(t.cssText||t.rules){var a=t.rules;if(a&&!i(a))for(var l,u=0,c=a.length;u<c&&(l=a[u]);u++)o=e(l,n,o);else(o=(o=n?t.cssText:s(t.cssText)).trim())&&(o=" "+o+"\n")}return o&&(t.selector&&(r+=t.selector+" "+d+"\n"),r+=o,t.selector&&(r+=h+"\n\n")),r}(e,S)):""}function M(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=o(e.textContent)),e.__cssRules||null}function D(e){return Boolean(e.parent)&&e.parent.type===c.KEYFRAMES_RULE}function R(e,t,n,r){if(e){var o=!1,i=e.type;if(r&&i===c.MEDIA_RULE){var s=e.selector.match(w);s&&(window.matchMedia(s[1]).matches||(o=!0))}i===c.STYLE_RULE?t(e):n&&i===c.KEYFRAMES_RULE?n(e):i===c.MIXIN_RULE&&(o=!0);var a=e.rules;if(a&&!o)for(var l,u=0,d=a.length;u<d&&(l=a[u]);u++)R(l,t,n,r)}}function A(e,t,n,r){var o=function(e,t){var n=document.createElement("style");t&&n.setAttribute("scope",t);return n.textContent=e,n}(e,t);return I(o,n,r),o}var L=null;function I(e,t,n){t=t||document.head;var r=n&&n.nextSibling||t.firstChild;(t.insertBefore(e,r),L)?e.compareDocumentPosition(L)===Node.DOCUMENT_POSITION_PRECEDING&&(L=e):L=e}function F(e,t){for(var n=0,r=t,o=e.length;r<o;r++)if("("===e[r])n++;else if(")"===e[r]&&0==--n)return r;return-1}function j(e,t){m?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}var H=window.ShadyDOM&&window.ShadyDOM.wrap||function(e){return e};function B(e){var t=e.localName,n="",r="";return t?t.indexOf("-")>-1?n=t:(r=t,n=e.getAttribute&&e.getAttribute("is")||""):(n=e.is,r=e.extends),{is:n,typeExtension:r}}function U(e){for(var t=[],n="",r=0;r>=0&&r<e.length;r++)if("("===e[r]){var o=F(e,r);n+=e.slice(r,o+1),r=o}else","===e[r]?(t.push(n),n=""):n+=e[r];return n&&t.push(n),t}function q(e){if(void 0!==u)return u;if(void 0===e.__cssBuild){var t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{var n=function(e){var t="template"===e.localName?e.content.firstChild:e.firstChild;if(t instanceof Comment){var n=t.textContent.trim().split(":");if("css-build"===n[0])return n[1]}return""}(e);""!==n&&function(e){var t="template"===e.localName?e.content.firstChild:e.firstChild;t.parentNode.removeChild(t)}
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 http://polymer.github.io/LICENSE.txt
46
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
47
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
48
+ Code distributed by Google as part of the polymer project is also
49
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
50
+ */(e),e.__cssBuild=n}}return e.__cssBuild||""}function V(e){return""!==q(e)}function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!(""===e||!S)&&(m?"shadow"===e:"shady"===e)}function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var K=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"dom",value:function(e,t,n){var r=this;this._transformDom(e,(function(e){r.element(e,t||"",n)}))}},{key:"domAddScope",value:function(e,t){var n=this;this._transformDom(e,(function(e){n.element(e,t||"")}))}},{key:"_transformDom",value:function(e,t){var n;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var r=e;n=(r.content||r._content||r).childNodes}else n=e.children||e.childNodes;if(n)for(var o=0;o<n.length;o++)this._transformDom(n[o],t)}},{key:"element",value:function(e,t,n){if(t)if(e.classList)n?(e.classList.remove("style-scope"),e.classList.remove(t)):(e.classList.add("style-scope"),e.classList.add(t));else if(e.getAttribute){var r=e.getAttribute(ae);n?r&&j(e,r.replace("style-scope","").replace(t,"")):j(e,(r?r+" ":"")+"style-scope "+t)}}},{key:"domReplaceScope",value:function(e,t,n){var r=this;this._transformDom(e,(function(e){r.element(e,t,!0),r.element(e,n)}))}},{key:"domRemoveScope",value:function(e,t){var n=this;this._transformDom(e,(function(e){n.element(e,t||"",!0)}))}},{key:"elementStyles",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(m||"shady"===r)o=k(t,n);else{var i=B(e),s=i.is,a=i.typeExtension;o=this.css(t,s,a,n)+"\n\n"}return o.trim()}},{key:"css",value:function(e,t,n,r){var o=this._calcHostScope(t,n);t=this._calcElementScope(t);var i=this;return k(e,(function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),r&&r(e,t,o)}))}},{key:"_calcElementScope",value:function(e){return e?ie+e:""}},{key:"_calcHostScope",value:function(e,t){return t?"[is=".concat(e,"]"):e}},{key:"rule",value:function(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)}},{key:"_transformRule",value:function(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)}},{key:"_transformRuleCss",value:function(e,t,n,r){var o=U(e.selector);if(!D(e))for(var i,s=0,a=o.length;s<a&&(i=o[s]);s++)o[s]=t.call(this,i,n,r);return o.filter((function(e){return Boolean(e)})).join(z)}},{key:"_twiddleNthPlus",value:function(e){return e.replace(X,(function(e,t,n){return n.indexOf("+")>-1?n=n.replace(/\+/g,"___"):n.indexOf("___")>-1&&(n=n.replace(/___/g,"+")),":".concat(t,"(").concat(n,")")}))}},{key:"_preserveMatchesPseudo",value:function(e){for(var t,n=[];t=e.match(ue);){var r=t.index,o=F(e,r);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var i=e.slice(r,o+1);e=e.replace(i,ce),n.push(i)}return{selector:e,matches:n}}},{key:"_replaceMatchesPseudo",value:function(e,t){var n=e.split(ce);return t.reduce((function(e,t,r){return e+t+n[r+1]}),n[0])}},{key:"_transformComplexSelector",value:function(e,t,n){var r=this,o=!1;e=e.trim();var i=X.test(e);i&&(e=e.replace(X,(function(e,t,n){return":".concat(t,"(").concat(n.replace(/\s/g,""),")")})),e=this._twiddleNthPlus(e));var s,a=ue.test(e);if(a){var l=this._preserveMatchesPseudo(e);e=l.selector,s=l.matches}return e=(e=e.replace(te,"".concat(Q," $1"))).replace(Y,(function(e,i,s){if(!o){var a=r._transformCompoundSelector(s,i,t,n);o=o||a.stop,i=a.combinator,s=a.value}return i+s})),a&&(e=this._replaceMatchesPseudo(e,s)),i&&(e=this._twiddleNthPlus(e)),e=e.replace(oe,(function(e,t,n,r){return'[dir="'.concat(n,'"] ').concat(t).concat(r,", ").concat(t,'[dir="').concat(n,'"]').concat(r)}))}},{key:"_transformCompoundSelector",value:function(e,t,n,r){var o=e.indexOf(ee);e.indexOf(Q)>=0?e=this._transformHostSelector(e,r):0!==o&&(e=n?this._transformSimpleSelector(e,n):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(re,(function(e,t){return" > ".concat(t)})))),{value:e,combinator:t,stop:i}}},{key:"_transformSimpleSelector",value:function(e,t){for(var n=e.split(/(\[.+?\])/),r=[],o=0;o<n.length;o++)if(o%2==1)r.push(n[o]);else{var i=n[o];if(""!==i||o!==n.length-1){var s=i.split(se);s[0]+=t,r.push(s.join(se))}}return r.join("")}},{key:"_transformHostSelector",value:function(e,t){var n=e.match(ne),r=n&&n[2].trim()||"";return r?r[0].match(J)?e.replace(ne,(function(e,n,r){return t+r})):r.split(J)[0]===t?r:le:e.replace(Q,t)}},{key:"documentRule",value:function(e){e.selector=e.parsedSelector,this.normalizeRootSelector(e),this._transformRule(e,this._transformDocumentSelector)}},{key:"normalizeRootSelector",value:function(e){e.selector===Z&&(e.selector="html")}},{key:"_transformDocumentSelector",value:function(e){return e.match(Q)?"":e.match(ee)?this._transformComplexSelector(e,$):this._transformSimpleSelector(e.trim(),$)}},{key:"SCOPE_NAME",get:function(){return"style-scope"}}])&&W(t.prototype,n),r&&W(t,r),e}(),X=/:(nth[-\w]+)\(([^)]+)\)/,$=":not(.".concat("style-scope",")"),z=",",Y=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,J=/[[.:#*]/,Q=":host",Z=":root",ee="::slotted",te=new RegExp("^(".concat(ee,")")),ne=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,re=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,oe=/(.*):dir\((?:(ltr|rtl))\)(.*)/,ie=".",se=":",ae="class",le="should_not_match",ue=/:(?:matches|any|-(?:webkit|moz)-any)/,ce="",de=new K;function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fe(e,t,n){return t&&he(e.prototype,t),n&&he(e,n),e}var _e=function(){function e(t,n,r,o,i,s){!
51
+ /**
52
+ @license
53
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
54
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
55
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
56
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
57
+ Code distributed by Google as part of the polymer project is also
58
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
59
+ */
60
+ function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.styleRules=t||null,this.placeholder=n||null,this.ownStylePropertyNames=r||[],this.overrideStyleProperties=null,this.elementName=o||"",this.cssBuild=s||"",this.typeExtension=i||"",this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}return fe(e,null,[{key:"get",value:function(e){return e?e.__styleInfo:null}},{key:"set",value:function(e,t){return e.__styleInfo=t,t}}]),fe(e,[{key:"_getStyleRules",value:function(){return this.styleRules}}]),e}();function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}_e.prototype._getStyleRules=_e.prototype._getStyleRules;var ye=function(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)},me=/:host\s*>\s*/;var ve=navigator.userAgent.match("Trident");var ge=new(function(){function e(){!
61
+ /**
62
+ @license
63
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
64
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
65
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
66
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
67
+ Code distributed by Google as part of the polymer project is also
68
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
69
+ */
70
+ function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"decorateStyles",value:function(e){var t=this,n={},r=[],o=0;R(e,(function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)}),(function(e){r.push(e)})),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}},{key:"decorateRule",value:function(e){if(e.propertyInfo)return e.propertyInfo;var t={},n={};return this.collectProperties(e,n)&&(t.properties=n,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t}},{key:"collectProperties",value:function(e,t){var n=e.propertyInfo;if(!n){for(var r,o,i,s=N,a=e.parsedCssText;r=s.exec(a);)"inherit"===(o=(r[2]||r[3]).trim())&&"unset"===o||(t[r[1].trim()]=o),i=!0;return i}if(n.properties)return Object.assign(t,n.properties),!0}},{key:"collectCssText",value:function(e){return this.collectConsumingCssText(e.parsedCssText)}},{key:"collectConsumingCssText",value:function(e){return e.replace(T,"").replace(N,"")}},{key:"collectPropertiesInCssText",value:function(e,t){for(var n;n=b.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}}},{key:"reify",value:function(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++)e[t=n[r]]=this.valueForProperty(e[t],e)}},{key:"valueForProperty",value:function(e,t){if(e)if(e.indexOf(";")>=0)e=this.valueForProperties(e,t);else{var n=this;e=function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var o=F(t,r+3),i=t.substring(r+4,o),s=t.substring(0,r),a=e(t.substring(o+1),n),l=i.indexOf(",");return-1===l?n(s,i.trim(),"",a):n(s,i.substring(0,l).trim(),i.substring(l+1).trim(),a)}(e,(function(e,r,o,i){if(!r)return e+i;var s=n.valueForProperty(t[r],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=n.valueForProperty(t[o]||o,t)||o,e+(s||"")+i}))}return e&&e.trim()||""}},{key:"valueForProperties",value:function(e,t){for(var n,r,o=e.split(";"),i=0;i<o.length;i++)if(n=o[i]){if(E.lastIndex=0,r=E.exec(n))n=this.valueForProperty(t[r[1]],t);else{var s=n.indexOf(":");if(-1!==s){var a=n.substring(s);a=a.trim(),a=this.valueForProperty(a,t)||a,n=n.substring(0,s)+a}}o[i]=n&&n.lastIndexOf(";")===n.length-1?n.slice(0,-1):n||""}return o.join(";")}},{key:"applyProperties",value:function(e,t){var n="";e.propertyInfo||this.decorateRule(e),e.propertyInfo.cssText&&(n=this.valueForProperties(e.propertyInfo.cssText,t)),e.cssText=n}},{key:"applyKeyframeTransforms",value:function(e,t){var n=e.cssText,r=e.cssText;if(null==e.hasAnimations&&(e.hasAnimations=C.test(n)),e.hasAnimations)if(null==e.keyframeNamesToTransform)for(var o in e.keyframeNamesToTransform=[],t)n!==(r=(0,t[o])(n))&&(n=r,e.keyframeNamesToTransform.push(o));else{for(var i=0;i<e.keyframeNamesToTransform.length;++i)n=(0,t[e.keyframeNamesToTransform[i]])(n);r=n}e.cssText=r}},{key:"propertyDataFromStyles",value:function(e,t){var n=this,r={},o=[];return R(e,(function(e){e.propertyInfo||n.decorateRule(e);var i=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&i&&ye.call(t,i)&&(n.collectProperties(e,r),function(e,t){var n=parseInt(e/32,10),r=1<<e%32;t[n]=(t[n]||0)|r}(e.index,o))}),null,!0),{properties:r,key:o}}},{key:"whenHostOrRootRule",value:function(e,t,n,r){if(t.propertyInfo||this.decorateRule(t),t.propertyInfo.properties){var o=B(e),i=o.is,s=o.typeExtension,a=i?de._calcHostScope(i,s):"html",l=t.parsedSelector,u=function(e,t){return Boolean(t.match(me))||"html"===e&&t.indexOf("html")>-1}(a,l),c=0===l.indexOf(":host")&&!u;if("shady"===n&&(c=!(u=l===a+" > *."+a||-1!==l.indexOf("html"))&&0===l.indexOf(a)),u||c){var d=a;c&&(t.transformedSelector||(t.transformedSelector=de._transformRuleCss(t,de._transformComplexSelector,de._calcElementScope(i),a)),d=t.transformedSelector||a),u&&"html"===a&&(d=t.transformedSelector||t.parsedSelector),r({selector:d,isHost:c,isRoot:u})}}}},{key:"hostAndRootPropertiesForScope",value:function(e,t,n){var r=this,o={},i={};return R(t,(function(t){r.whenHostOrRootRule(e,t,n,(function(n){var s=e._element||e;ye.call(s,n.selector)&&(n.isHost?r.collectProperties(t,o):r.collectProperties(t,i))}))}),null,!0),{rootProps:i,hostProps:o}}},{key:"transformStyles",value:function(e,t,n){var r=this,o=B(e),i=o.is,s=o.typeExtension,a=de._calcHostScope(i,s),l=e.extends?"\\"+a.slice(0,-1)+"\\]":a,u=new RegExp("(?:^|[^.#[:])"+l+"($|[.:[\\s>+~])"),c=_e.get(e),d=c.styleRules,h=c.cssBuild,f=this._elementKeyframeTransforms(e,d,n);return de.elementStyles(e,d,(function(e){r.applyProperties(e,t),m||D(e)||!e.cssText||(r.applyKeyframeTransforms(e,f),r._scopeSelector(e,u,a,n))}),h)}},{key:"_elementKeyframeTransforms",value:function(e,t,n){var r=t._keyframes,o={};if(!m&&r)for(var i=0,s=r[i];i<r.length;s=r[++i])this._scopeKeyframes(s,n),o[s.keyframesName]=this._keyframesRuleTransformer(s);return o}},{key:"_keyframesRuleTransformer",value:function(e){return function(t){return t.replace(e.keyframesNameRx,e.transformedKeyframesName)}}},{key:"_scopeKeyframes",value:function(e,t){e.keyframesNameRx=new RegExp("\\b".concat(e.keyframesName,"(?!\\B|-)"),"g"),e.transformedKeyframesName=e.keyframesName+"-"+t,e.transformedSelector=e.transformedSelector||e.selector,e.selector=e.transformedSelector.replace(e.keyframesName,e.transformedKeyframesName)}},{key:"_scopeSelector",value:function(e,t,n,r){e.transformedSelector=e.transformedSelector||e.selector;for(var o,i="."+r,s=U(e.transformedSelector),a=0,l=s.length;a<l&&(o=s[a]);a++)s[a]=o.match(t)?o.replace(n,i):i+" "+o;e.selector=s.join(",")}},{key:"applyElementScopeSelector",value:function(e,t,n){var r=e.getAttribute("class")||"",o=r;n&&(o=r.replace(new RegExp("\\s*x-scope\\s*"+n+"\\s*","g")," ")),r!==(o+=(o?" ":"")+"x-scope "+t)&&j(e,o)}},{key:"applyElementStyle",value:function(e,t,n,r){var o=r?r.textContent||"":this.transformStyles(e,t,n),i=_e.get(e),s=i.customStyle;return s&&!m&&s!==r&&(s._useCount--,s._useCount<=0&&s.parentNode&&s.parentNode.removeChild(s)),m?i.customStyle?(i.customStyle.textContent=o,r=i.customStyle):o&&(r=A(o,n,e.shadowRoot,i.placeholder)):r?r.parentNode||(ve&&o.indexOf("@media")>-1&&(r.textContent=o),I(r,null,i.placeholder)):o&&(r=A(o,n,null,i.placeholder)),r&&(r._useCount=r._useCount||0,i.customStyle!=r&&r._useCount++,i.customStyle=r),r}},{key:"applyCustomStyle",value:function(e,t){var n=M(e),r=this;e.textContent=k(n,(function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(n=a(n),e.cssText=r.valueForProperties(n,t))}))}},{key:"XSCOPE_NAME",get:function(){return"x-scope"}}])&&pe(t.prototype,n),r&&pe(t,r),e}()),Se={};
71
+ /**
72
+ @license
73
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
74
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
75
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
76
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
77
+ Code distributed by Google as part of the polymer project is also
78
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
79
+ */function Ne(e){return Se[e]||null}function Ee(e){var t,n,r,o;Se[e]||(Se[e]=(t=e,n=document.createComment(" Shady DOM styles for "+t+" "),r=L?L.nextSibling:null,(o=document.head).insertBefore(n,r||o.firstChild),L=n,n))}var be=window.customElements;if(be&&!m&&!g){var Ce=be.define;be.define=function(e,t,n){Ee(e),Ce.call(be,e,t,n)}}
80
+ /**
81
+ @license
82
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
83
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
84
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
85
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
86
+ Code distributed by Google as part of the polymer project is also
87
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
88
+ */function we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Oe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;we(this,e),this.cache={},this.typeMax=t}var t,n,r;return t=e,(n=[{key:"_validate",value:function(e,t,n){for(var r=0;r<n.length;r++){var o=n[r];if(e.properties[o]!==t[o])return!1}return!0}},{key:"store",value:function(e,t,n,r){var o=this.cache[e]||[];o.push({properties:t,styleElement:n,scopeSelector:r}),o.length>this.typeMax&&o.shift(),this.cache[e]=o}},{key:"fetch",value:function(e,t,n){var r=this.cache[e];if(r)for(var o=r.length-1;o>=0;o--){var i=r[o];if(this._validate(i,t,n))return i}}}])&&Te(t.prototype,n),r&&Te(t,r),e}(),xe=function(){};
89
+ /**
90
+ @license
91
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
92
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
93
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
94
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
95
+ Code distributed by Google as part of the polymer project is also
96
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
97
+ */var Pe=new RegExp("".concat(de.SCOPE_NAME,"\\s*([^\\s]*)"));function ke(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(Pe);return t?t[1]:""}function Me(e){var t=H(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var n=t.host;return n?B(n).is:""}function De(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(.".concat(de.SCOPE_NAME,")")),n=0;n<t.length;n++){var r=t[n],o=Me(r);o&&de.element(r,o)}}function Re(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var o=n.addedNodes[r];if(o.nodeType===Node.ELEMENT_NODE){var i=(o=o).getRootNode(),s=ke(o);if(s&&i===o.ownerDocument&&("style"!==(l=o).localName&&"template"!==l.localName||!V(l)))de.domRemoveScope(o,s);else if(i instanceof ShadowRoot){var a=Me(o);a!==s&&de.domReplaceScope(o,s,a),De(o)}}}}var l}if(!(m||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Ae=new MutationObserver(Re),Le=function(e){Ae.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Le(document);else{var Ie=function(){Le(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ie):requestAnimationFrame((function(){if("loading"===document.readyState){document.addEventListener("readystatechange",(function e(){Ie(),document.removeEventListener("readystatechange",e)}))}else Ie()}))}xe=function(){Re(Ae.takeRecords())}}
98
+ /**
99
+ @license
100
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
101
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
102
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
103
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
104
+ Code distributed by Google as part of the polymer project is also
105
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
106
+ */var Fe={},je="_applyShimCurrentVersion",He="_applyShimNextVersion",Be=Promise.resolve();function Ue(e){var t=Fe[e];t&&function(e){e[je]=e[je]||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e[He]=(e[He]||0)+1}(t)}function qe(e){return e[je]===e[He]}function Ve(e){return!qe(e)&&e._applyShimValidatingVersion===e[He]}function Ge(e){e._applyShimValidatingVersion=e[He],e._validating||(e._validating=!0,Be.then((function(){e[je]=e[He],e._validating=!1})))}
107
+ /**
108
+ @license
109
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
110
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
111
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
112
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
113
+ Code distributed by Google as part of the polymer project is also
114
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
115
+ */
116
+ var We,Ke=null,Xe=window.HTMLImports&&window.HTMLImports.whenReady||null;function $e(e){requestAnimationFrame((function(){Xe?Xe(e):(Ke||(Ke=new Promise((function(e){We=e})),"complete"===document.readyState?We():document.addEventListener("readystatechange",(function(){"complete"===document.readyState&&We()}))),Ke.then((function(){e&&e()})))}))}
117
+ /**
118
+ @license
119
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
120
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
121
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
122
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
123
+ Code distributed by Google as part of the polymer project is also
124
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
125
+ */function ze(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Ye="__shadyCSSCachedStyle",Je=null,Qe=null,Ze=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.customStyles=[],this.enqueued=!1,$e((function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}var t,n,r;return t=e,(n=[{key:"enqueueDocumentValidation",value:function(){!this.enqueued&&Qe&&(this.enqueued=!0,$e(Qe))}},{key:"addCustomStyle",value:function(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}},{key:"getStyleForCustomStyle",value:function(e){return e[Ye]?e[Ye]:e.getStyle?e.getStyle():e}},{key:"processStyles",value:function(){for(var e=this.customStyles,t=0;t<e.length;t++){var n=e[t];if(!n[Ye]){var r=this.getStyleForCustomStyle(n);if(r){var o=r.__appliedElement||r;Je&&Je(o),n[Ye]=o}}}return e}}])&&ze(t.prototype,n),r&&ze(t,r),e}();function et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Ze.prototype.addCustomStyle=Ze.prototype.addCustomStyle,Ze.prototype.getStyleForCustomStyle=Ze.prototype.getStyleForCustomStyle,Ze.prototype.processStyles=Ze.prototype.processStyles,Object.defineProperties(Ze.prototype,{transformCallback:{get:function(){return Je},set:function(e){Je=e}},validateCallback:{get:function(){return Qe},set:function(e){var t=!1;Qe||(t=!0),Qe=e,t&&this.enqueueDocumentValidation()}}});var tt={},nt=new Oe,rt=function(){function e(){!
126
+ /**
127
+ @license
128
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
129
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
130
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
131
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
132
+ Code distributed by Google as part of the polymer project is also
133
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
134
+ */
135
+ function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._scopeCounter={},this._documentOwner=document.documentElement;var t=new r;t.rules=[],this._documentOwnerStyleInfo=_e.set(this._documentOwner,new _e(t)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null}var t,n,i;return t=e,(n=[{key:"flush",value:function(){xe()}},{key:"_generateScopeSelector",value:function(e){var t=this._scopeCounter[e]=(this._scopeCounter[e]||0)+1;return"".concat(e,"-").concat(t)}},{key:"getStyleAst",value:function(e){return M(e)}},{key:"styleAstToString",value:function(e){return k(e)}},{key:"_gatherStyles",value:function(e){return function(e){for(var t=[],n=e.querySelectorAll("style"),r=0;r<n.length;r++){var o=n[r];P(o)?m||(x(o),o.parentNode.removeChild(o)):(t.push(o.textContent),o.parentNode.removeChild(o))}return t.join("").trim()}(e.content)}},{key:"prepareTemplate",value:function(e,t,n){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,n)}},{key:"prepareTemplateStyles",value:function(e,t,n){if(!e._prepared&&!g){m||Ee(t),e._prepared=!0,e.name=t,e.extends=n,Fe[t]=e;var r=q(e),i=G(r),s={is:t,extends:n},a=this._gatherStyles(e)+(tt[t]||"");if(this._ensure(),!i){var l=!r&&function(e){var t=E.test(e)||N.test(e);return E.lastIndex=0,N.lastIndex=0,t}(a),u=o(a);l&&S&&this._applyShim&&this._applyShim.transformRules(u,t),e._styleAst=u}var c=[];if(S||(c=ge.decorateStyles(e._styleAst)),!c.length||S){var d=m?e.content:null,h=Ne(t),f=this._generateStaticStyle(s,e._styleAst,d,h,r,i?a:"");e._style=f}e._ownPropertyNames=c}}},{key:"prepareAdoptedCssText",value:function(e,t){tt[t]=e.join(" ")}},{key:"prepareTemplateDom",value:function(e,t){if(!g){var n=q(e);m||"shady"===n||e._domPrepared||(e._domPrepared=!0,de.domAddScope(e.content,t))}}},{key:"_generateStaticStyle",value:function(e,t,n,r,o,i){return(i=de.elementStyles(e,t,null,o,i)).length?A(i,e.is,n,r):null}},{key:"_prepareHost",value:function(e){var t=B(e),n=t.is,r=t.typeExtension,o=Ne(n),i=Fe[n];if(i){var s=i._styleAst,a=i._ownPropertyNames,l=q(i),u=new _e(s,o,a,n,r,l);return _e.set(e,u),u}}},{key:"_ensureApplyShim",value:function(){return!(this._applyShim||!window.ShadyCSS||!window.ShadyCSS.ApplyShim||(this._applyShim=window.ShadyCSS.ApplyShim,this._applyShim.invalidCallback=Ue,0))}},{key:"_ensureCustomStyleInterface",value:function(){var e=this;this._customStyleInterface||window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this._customStyleInterface=window.ShadyCSS.CustomStyleInterface,this._customStyleInterface.transformCallback=function(t){e.transformCustomStyleForDocument(t)},this._customStyleInterface.validateCallback=function(){requestAnimationFrame((function(){(e._customStyleInterface.enqueued||e._elementsHaveApplied)&&e.flushCustomStyles()}))})}},{key:"_ensure",value:function(){var e=this._ensureApplyShim();return this._ensureCustomStyleInterface(),e}},{key:"flushCustomStyles",value:function(){if(!g){var e=this._ensure();if(this._customStyleInterface){var t=this._customStyleInterface.processStyles();(e||this._customStyleInterface.enqueued)&&(G(this._documentOwnerStyleInfo.cssBuild)||(S?this._documentOwnerStyleInfo.cssBuild||this._revalidateCustomStyleApplyShim(t):(this._reorderCustomStylesRules(t),this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles(t),this._elementsHaveApplied&&this.styleDocument()),this._customStyleInterface.enqueued=!1))}}}},{key:"_reorderCustomStylesRules",value:function(e){var t=this,n=e.map((function(e){return t._customStyleInterface.getStyleForCustomStyle(e)})).filter((function(e){return!!e}));n.sort((function(e,t){var n=t.compareDocumentPosition(e);return n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0})),this._documentOwnerStyleInfo.styleRules.rules=n.map((function(e){return M(e)}))}},{key:"styleElement",value:function(e,t){if(g){if(t){_e.get(e)||_e.set(e,new _e(null));var n=_e.get(e);this._mixOverrideStyleProps(n,t),this.styleElementNativeVariables(e,n)}}else{var r=_e.get(e)||this._prepareHost(e);r&&(this._isRootOwner(e)||(this._elementsHaveApplied=!0),t&&this._mixOverrideStyleProps(r,t),S?this.styleElementNativeVariables(e,r):this.styleElementShimVariables(e,r))}}},{key:"_mixOverrideStyleProps",value:function(e,t){e.overrideStyleProperties=e.overrideStyleProperties||{},Object.assign(e.overrideStyleProperties,t)}},{key:"styleElementShimVariables",value:function(e,t){this.flush(),this._updateProperties(e,t),t.ownStylePropertyNames&&t.ownStylePropertyNames.length&&this._applyStyleProperties(e,t)}},{key:"styleElementNativeVariables",value:function(e,t){var n=B(e).is;t.overrideStyleProperties&&
136
+ /**
137
+ @license
138
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
139
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
140
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
141
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
142
+ Code distributed by Google as part of the polymer project is also
143
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
144
+ */
145
+ function(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}(e,t.overrideStyleProperties);var r=Fe[n];if((r||this._isRootOwner(e))&&(!r||!V(r))&&r&&r._style&&!qe(r)){if(Ve(r)||(this._ensure(),this._applyShim&&this._applyShim.transformRules(r._styleAst,n),r._style.textContent=de.elementStyles(e,t.styleRules),Ge(r)),m){var o=e.shadowRoot;if(o){var i=o.querySelector("style");i&&(i.textContent=de.elementStyles(e,t.styleRules))}}t.styleRules=r._styleAst}}},{key:"_styleOwnerForNode",value:function(e){var t=H(e).getRootNode().host;return t?_e.get(t)||this._prepareHost(t)?t:this._styleOwnerForNode(t):this._documentOwner}},{key:"_isRootOwner",value:function(e){return e===this._documentOwner}},{key:"_applyStyleProperties",value:function(e,t){var n=B(e).is,r=nt.fetch(n,t.styleProperties,t.ownStylePropertyNames),o=r&&r.scopeSelector,i=r?r.styleElement:null,s=t.scopeSelector;t.scopeSelector=o||this._generateScopeSelector(n);var a=ge.applyElementStyle(e,t.styleProperties,t.scopeSelector,i);return m||ge.applyElementScopeSelector(e,t.scopeSelector,s),r||nt.store(n,t.styleProperties,a,t.scopeSelector),a}},{key:"_updateProperties",value:function(e,t){var n=this._styleOwnerForNode(e),r=_e.get(n),o=r.styleProperties;n===this._documentOwner||o||(this._updateProperties(n,r),o=r.styleProperties);var i=Object.create(o||null),s=ge.hostAndRootPropertiesForScope(e,t.styleRules,t.cssBuild),a=ge.propertyDataFromStyles(r.styleRules,e).properties;Object.assign(i,s.hostProps,a,s.rootProps),this._mixinOverrideStyles(i,t.overrideStyleProperties),ge.reify(i),t.styleProperties=i}},{key:"_mixinOverrideStyles",value:function(e,t){for(var n in t){var r=t[n];(r||0===r)&&(e[n]=r)}}},{key:"styleDocument",value:function(e){this.styleSubtree(this._documentOwner,e)}},{key:"styleSubtree",value:function(e,t){var n=H(e),r=n.shadowRoot,o=this._isRootOwner(e);(r||o)&&this.styleElement(e,t);var i=o?n:r;if(i)for(var s=Array.from(i.querySelectorAll("*")).filter((function(e){return H(e).shadowRoot})),a=0;a<s.length;a++)this.styleSubtree(s[a])}},{key:"_revalidateCustomStyleApplyShim",value:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&this._revalidateApplyShim(r)}}},{key:"_applyCustomStyles",value:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&ge.applyCustomStyle(r,this._documentOwnerStyleInfo.styleProperties)}}},{key:"transformCustomStyleForDocument",value:function(e){var t=this,n=q(e);if(n!==this._documentOwnerStyleInfo.cssBuild&&(this._documentOwnerStyleInfo.cssBuild=n),!G(n)){var r=M(e);R(r,(function(e){m?de.normalizeRootSelector(e):de.documentRule(e),S&&""===n&&(t._ensure(),t._applyShim&&t._applyShim.transformRule(e))})),S?e.textContent=k(r):this._documentOwnerStyleInfo.styleRules.rules.push(r)}}},{key:"_revalidateApplyShim",value:function(e){if(S&&this._applyShim){var t=M(e);this._ensure(),this._applyShim.transformRules(t),e.textContent=k(t)}}},{key:"getComputedStyleValue",value:function(e,t){var n;return S||(n=(_e.get(e)||_e.get(this._styleOwnerForNode(e))).styleProperties[t]),(n=n||window.getComputedStyle(e).getPropertyValue(t))?n.trim():""}},{key:"setElementClass",value:function(e,t){var n,r=H(e).getRootNode();n=t?("string"==typeof t?t:String(t)).split(/\s/):[];var o=r.host&&r.host.localName;if(!o){var i=e.getAttribute("class");if(i)for(var s=i.split(/\s/),a=0;a<s.length;a++)if(s[a]===de.SCOPE_NAME){o=s[a+1];break}}if(o&&n.push(de.SCOPE_NAME,o),!S){var l=_e.get(e);l&&l.scopeSelector&&n.push(ge.XSCOPE_NAME,l.scopeSelector)}j(e,n.join(" "))}},{key:"_styleInfoForNode",value:function(e){return _e.get(e)}},{key:"scopeNode",value:function(e,t){de.element(e,t)}},{key:"unscopeNode",value:function(e,t){de.element(e,t,!0)}},{key:"scopeForNode",value:function(e){return Me(e)}},{key:"currentScopeForNode",value:function(e){return ke(e)}}])&&et(t.prototype,n),i&&et(t,i),e}();rt.prototype.flush=rt.prototype.flush,rt.prototype.prepareTemplate=rt.prototype.prepareTemplate,rt.prototype.styleElement=rt.prototype.styleElement,rt.prototype.styleDocument=rt.prototype.styleDocument,rt.prototype.styleSubtree=rt.prototype.styleSubtree,rt.prototype.getComputedStyleValue=rt.prototype.getComputedStyleValue,rt.prototype.setElementClass=rt.prototype.setElementClass,rt.prototype._styleInfoForNode=rt.prototype._styleInfoForNode,rt.prototype.transformCustomStyleForDocument=rt.prototype.transformCustomStyleForDocument,rt.prototype.getStyleAst=rt.prototype.getStyleAst,rt.prototype.styleAstToString=rt.prototype.styleAstToString,rt.prototype.flushCustomStyles=rt.prototype.flushCustomStyles,rt.prototype.scopeNode=rt.prototype.scopeNode,rt.prototype.unscopeNode=rt.prototype.unscopeNode,rt.prototype.scopeForNode=rt.prototype.scopeForNode,rt.prototype.currentScopeForNode=rt.prototype.currentScopeForNode,rt.prototype.prepareAdoptedCssText=rt.prototype.prepareAdoptedCssText,Object.defineProperties(rt.prototype,{nativeShadow:{get:function(){return m}},nativeCss:{get:function(){return S}}});
146
+ /**
147
+ @license
148
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
149
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
150
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
151
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
152
+ Code distributed by Google as part of the polymer project is also
153
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
154
+ */
155
+ var ot,it,st=new rt;window.ShadyCSS&&(ot=window.ShadyCSS.ApplyShim,it=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:st,prepareTemplate:function(e,t,n){st.flushCustomStyles(),st.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){st.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,n){st.flushCustomStyles(),st.prepareTemplateStyles(e,t,n)},styleSubtree:function(e,t){st.flushCustomStyles(),st.styleSubtree(e,t)},styleElement:function(e){st.flushCustomStyles(),st.styleElement(e)},styleDocument:function(e){st.flushCustomStyles(),st.styleDocument(e)},flushCustomStyles:function(){st.flushCustomStyles()},getComputedStyleValue:function(e,t){return st.getComputedStyleValue(e,t)},nativeCss:S,nativeShadow:m,cssBuild:u,disableRuntime:g},ot&&(window.ShadyCSS.ApplyShim=ot),it&&(window.ShadyCSS.CustomStyleInterface=it)}}]);
@@ -0,0 +1,155 @@
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([[12],{320:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(r=window)}e.exports=r},331:function(e,t,n){(function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}(function(){"use strict";var n;function r(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function o(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:r(e)}}function i(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}var s="undefined"!=typeof window&&window===this?this:void 0!==e&&null!=e?e:this;function a(e,t){return{index:e,o:[],u:t}}function l(e,t,n,r){var o=0,i=0,s=0,l=0,c=Math.min(t-o,r-i);if(0==o&&0==i)e:{for(s=0;s<c;s++)if(e[s]!==n[s])break e;s=c}if(t==e.length&&r==n.length){l=e.length;for(var d=n.length,h=0;h<c-s&&u(e[--l],n[--d]);)h++;l=h}if(i+=s,r-=l,0==(t-=l)-(o+=s)&&0==r-i)return[];if(o==t){for(t=a(o,0);i<r;)t.o.push(n[i++]);return[t]}if(i==r)return[a(o,t-o)];for(r=r-(s=i)+1,l=t-(c=o)+1,t=Array(r),d=0;d<r;d++)t[d]=Array(l),t[d][0]=d;for(d=0;d<l;d++)t[0][d]=d;for(d=1;d<r;d++)for(h=1;h<l;h++)if(e[c+h-1]===n[s+d-1])t[d][h]=t[d-1][h-1];else{var f=t[d-1][h]+1,_=t[d][h-1]+1;t[d][h]=f<_?f:_}for(c=t.length-1,s=t[0].length-1,r=t[c][s],e=[];0<c||0<s;)0==c?(e.push(2),s--):0==s?(e.push(3),c--):(l=t[c-1][s-1],(f=(d=t[c-1][s])<(h=t[c][s-1])?d<l?d:l:h<l?h:l)==l?(l==r?e.push(0):(e.push(1),r=l),c--,s--):f==d?(e.push(3),c--,r=d):(e.push(2),s--,r=h));for(e.reverse(),t=void 0,c=[],s=0;s<e.length;s++)switch(e[s]){case 0:t&&(c.push(t),t=void 0),o++,i++;break;case 1:t||(t=a(o,0)),t.u++,o++,t.o.push(n[i]),i++;break;case 2:t||(t=a(o,0)),t.u++,o++;break;case 3:t||(t=a(o,0)),t.o.push(n[i]),i++}return t&&c.push(t),c}function u(e,t){return e===t}function c(){}function d(e){return e.__shady||(e.__shady=new c),e.__shady}function h(e){return e&&e.__shady}c.prototype.toJSON=function(){return{}};var f=window.ShadyDOM||{};f.T=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var _=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function p(e){return(e=h(e))&&void 0!==e.firstChild}function y(e){return e instanceof ShadowRoot}function m(e){return(e=(e=h(e))&&e.root)&&Mt(e)}f.c=!!(_&&_.configurable&&_.get),f.F=f.force||!f.T,f.g=f.noPatch||!1,f.A=f.preferPerformance,f.G="on-demand"===f.g,f.L=navigator.userAgent.match("Trident");var v=Element.prototype,g=v.matches||v.matchesSelector||v.mozMatchesSelector||v.msMatchesSelector||v.oMatchesSelector||v.webkitMatchesSelector,S=document.createTextNode(""),N=0,E=[];function b(e){E.push(e),S.textContent=N++}new MutationObserver((function(){for(;E.length;)try{E.shift()()}catch(e){throw S.textContent=N++,e}})).observe(S,{characterData:!0});var C=!!document.contains;function w(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function T(e){for(var t=e.length-1;0<=t;t--){var n=e[t],r=n.getAttribute("id")||n.getAttribute("name");r&&"length"!==r&&isNaN(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if("length"!==t&&isNaN(t)&&e[t])return e[t];for(var n=o(e),r=n.next();!r.done;r=n.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==t)return r;return null},e}function O(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function x(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function P(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function k(e,t,n,r){for(var o in n=void 0===n?"":n,t)r&&0<=r.indexOf(o)||P(e,n+o,t[o])}function M(e,t){for(var n in t)n in e&&P(e,n,t[n])}function D(e){var t={};return Object.getOwnPropertyNames(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t}function R(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}var A,L=[];function I(e){A||(A=!0,b(F)),L.push(e)}function F(){A=!1;for(var e=!!L.length;L.length;)L.shift()();return e}F.list=L;var j=D({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),H=D({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){return this.__shady_innerHTML=e}}),B=D({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(e){return this.__shady_className=e}});function U(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}U(j),U(H),U(B);var q,V=f.c||!0===f.g,G=V?function(){}:function(e){var t=d(e);t.N||(t.N=!0,M(e,B))},W=V?function(){}:function(e){var t=d(e);t.M||(t.M=!0,M(e,j),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!f.g||M(e,H))},K="__eventWrappers"+Date.now(),X=(q=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return q.get.call(e)}:null,$=function(){function e(){}var t=!1,n={get capture(){return t=!0,!1}};return window.addEventListener("test",e,n),window.removeEventListener("test",e,n),t}();function z(e){if(e&&"object"===t(e))var n=!!e.capture,r=!!e.once,o=!!e.passive,i=e.i;else n=!!e,o=r=!1;return{K:i,capture:n,once:r,passive:o,J:$?e:n}}var Y={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},J={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function Q(e){return e instanceof Node?e.__shady_getRootNode():e}function Z(e,t){var n=[],r=e;for(e=Q(e);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(t||r!==e)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function ee(e,t){if(!y)return e;e=Z(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=Q(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!y(r)||-1<s)return n}function te(e){function t(t,n){return(t=new e(t,n)).__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}var ne={focus:!0,blur:!0};function re(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function oe(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!re(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}function ie(e){var t,n=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return o},configurable:!0});for(var r=n.length-1;0<=r;r--){var o=n[r];if(oe(e,o,"capture"),e.B)return}for(Object.defineProperty(e,"eventPhase",{get:function(){return Event.AT_TARGET}}),r=0;r<n.length;r++){var i=h(o=n[r]);if(i=i&&i.root,(0===r||i&&i===t)&&(oe(e,o,"bubble"),o!==window&&(t=o.__shady_getRootNode()),e.B))break}}function se(e,t,n,r,o,i){for(var s=0;s<e.length;s++){var a=e[s],l=a.type,u=a.capture,c=a.once,d=a.passive;if(t===a.node&&n===l&&r===u&&o===c&&i===d)return s}return-1}function ae(e){return F(),this.__shady_native_dispatchEvent(e)}function le(e,n,r){var o=z(r),i=o.capture,s=o.once,a=o.passive,l=o.K;if(o=o.J,n){var u=t(n);if(("function"===u||"object"===u)&&("object"!==u||n.handleEvent&&"function"==typeof n.handleEvent)){if(J[e])return this.__shady_native_addEventListener(e,n,o);var c=l||this;if(l=n[K]){if(-1<se(l,c,e,i,s,a))return}else n[K]=[];l=function(t){if(s&&this.__shady_removeEventListener(e,n,r),t.__target||de(t),c!==this){var o=Object.getOwnPropertyDescriptor(t,"currentTarget");Object.defineProperty(t,"currentTarget",{get:function(){return c},configurable:!0})}if(t.__previousCurrentTarget=t.currentTarget,(!y(c)&&"slot"!==c.localName||-1!=t.composedPath().indexOf(c))&&(t.composed||-1<t.composedPath().indexOf(c)))if(re(t)&&t.target===t.relatedTarget)t.eventPhase===Event.BUBBLING_PHASE&&t.stopImmediatePropagation();else if(t.eventPhase===Event.CAPTURING_PHASE||t.bubbles||t.target===c||c instanceof Window){var i="function"===u?n.call(c,t):n.handleEvent&&n.handleEvent(t);return c!==this&&(o?(Object.defineProperty(t,"currentTarget",o),o=null):delete t.currentTarget),i}},n[K].push({node:c,type:e,capture:i,once:s,passive:a,V:l}),ne[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][i?"capture":"bubble"].push(l)):this.__shady_native_addEventListener(e,l,o)}}}function ue(e,t,n){if(t){var r=z(n);n=r.capture;var o=r.once,i=r.passive,s=r.K;if(r=r.J,J[e])return this.__shady_native_removeEventListener(e,t,r);var a=s||this;s=void 0;var l=null;try{l=t[K]}catch(e){}l&&(-1<(o=se(l,a,e,n,o,i))&&(s=l.splice(o,1)[0].V,l.length||(t[K]=void 0))),this.__shady_native_removeEventListener(e,s||t,r),s&&ne[e]&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(s))&&e.splice(t,1))}}var ce=D({get composed(){return void 0===this.__composed&&(X?this.__composed="focusin"===this.type||"focusout"===this.type||X(this):!1!==this.isTrusted&&(this.__composed=Y[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=Z(this.__target,this.composed)),this.__composedPath},get target(){return ee(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Z(this.__relatedTarget,!0)),ee(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.B=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.B=this.__immediatePropagationStopped=!0}});function de(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,f.c){var t=Object.getPrototypeOf(e);if(!t.hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,k(n,ce),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else k(e,ce)}var he=te(Event),fe=te(CustomEvent),_e=te(MouseEvent);var pe=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),ye=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function me(e){return{set:function(t){var n=d(this),r=e.substring(2);n.h||(n.h={}),n.h[e]&&this.removeEventListener(r,n.h[e]),this.__shady_addEventListener(r,t),n.h[e]=t},get:function(){var t=h(this);return t&&t.h&&t.h[e]},configurable:!0}}var ve=D({dispatchEvent:ae,addEventListener:le,removeEventListener:ue}),ge=window.document,Se=f.A,Ne=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),Ee=Ne&&Ne.get;function be(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function Ce(e,t,n){if(e=(e=h(e))&&e.m){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=t.childNodes.length;r<o;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),function(e){e.a||(e.a=!0,b((function(){e.flush()})))}(e)}}var we=D({get parentNode(){var e=h(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=h(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=h(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=h(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=h(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(p(this)){var e=h(this);if(!e.childNodes){e.childNodes=[];for(var t=this.__shady_firstChild;t;t=t.__shady_nextSibling)e.childNodes.push(t)}var n=e.childNodes}else n=this.__shady_native_childNodes;return n.item=function(e){return n[e]},n},get parentElement(){var e=h(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(Ee&&Ee.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(C){if(e.__shady_native_contains(this))return!0}else if(e.documentElement&&e.documentElement.__shady_native_contains(this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(y(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(p(this)){for(var e=[],t=this.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.__shady_textContent);return e.join("")}return this.__shady_native_textContent},set textContent(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!p(this)&&f.c){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&be(this),this.__shady_native_textContent=e}else be(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==ge&&e.ownerDocument!==ge)return this.__shady_native_insertBefore(e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var n=h(t);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&t.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;Ce(this,e);var r=[],s=(n=Lt(this))?n.host.localName:Le(this),a=e.__shady_parentNode;if(a){var l=Le(e),u=!!n||!Lt(e)||Se&&void 0!==this.__noInsertionPoint;a.__shady_removeChild(e,u)}a=!0;var c=(!Se||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=De();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(r=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)r=r&&e(t,n);return r}return t.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(t)===n}(e,s),f=n&&!e.__noInsertionPoint&&(!Se||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(f||c)&&(c&&(l=l||Le(e)),Ie(e,(function(e){if(f&&"slot"===e.localName&&r.push(e),c){var t=l;De()&&(t&&Ae(e,t),(t=De())&&t.scopeNode(e,s))}}))),r.length&&(Ot(n),n.f.push.apply(n.f,r instanceof Array?r:i(o(r))),Et(n)),p(this)&&(function(e,t,n){dt(t,2);var r=d(t);if(void 0!==r.firstChild&&(r.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)ht(e,t,r,n);else ht(e,t,r,n)}(e,this,t),(u=h(this)).root?(a=!1,m(this)&&Et(u.root)):n&&"slot"===this.localName&&(a=!1,Et(n))),a?(n=y(this)?this.host:this,t?(t=function e(t){var n=t;if(t&&"slot"===t.localName){var r=h(t);(r=r&&r.l)&&(n=r.length?r[0]:e(t.__shady_nextSibling))}return n}(t),n.__shady_native_insertBefore(e,t)):n.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!y(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==ge)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+e);Ce(this,null,e);var n=Lt(e),r=n&&function(e,t){if(e.a){xt(e);var n,r=e.b;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var s=o[i];if(w(t,s)){o.splice(i,1);var a=e.a.indexOf(s);if(0<=a&&(e.a.splice(a,1),(a=h(s.__shady_parentNode))&&a.s&&a.s--),i--,s=h(s),a=s.l)for(var l=0;l<a.length;l++){var u=a[l],c=u.__shady_native_parentNode;c&&c.__shady_native_removeChild(u)}s.l=[],s.assignedNodes=[],a=!0}}return a}}(n,e),o=h(this);if(p(this)&&(function(e,t){var n=d(e);t=d(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(d(e).nextSibling=r),r&&(d(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),m(this))){Et(o.root);var i=!0}if(De()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=Le(e);Ie(e,(function(e){Ae(e,s)}))}return function e(t){var n=h(t);if(n&&void 0!==n.w)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=h(t))&&(t.w=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&Et(n)),i||(i=y(this)?this.host:this,(!o.root&&"slot"!==e.localName||i===e.__shady_native_parentNode)&&i.__shady_native_removeChild(e)),e},replaceChild:function(e,t){return this.__shady_insertBefore(e,t),this.__shady_removeChild(t),e},cloneNode:function(e){if("template"==this.localName)return this.__shady_native_cloneNode(e);var t=this.__shady_native_cloneNode(!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE){e=this.__shady_firstChild;for(var n;e;e=e.__shady_nextSibling)n=e.__shady_cloneNode(!0),t.__shady_appendChild(n)}return t},getRootNode:function(e){if(this&&this.nodeType){var t=d(this),n=t.w;return void 0===n&&(y(this)?(n=this,t.w=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.w=n))),n}},contains:function(e){return w(this,e)}}),Te=D({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&bt(e),(e=h(this))&&e.assignedSlot||null}});function Oe(e,t,n){var r=[];return function e(t,n,r,o){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var i;if(i=t.nodeType===Node.ELEMENT_NODE){var s=n,a=r,l=o,u=s(i=t);u&&l.push(i),a&&a(u)?i=u:(e(i,s,a,l),i=void 0)}if(i)break}}(e,t,n,r),r}var xe=D({get firstElementChild(){var e=h(this);if(e&&void 0!==e.firstChild){for(e=this.__shady_firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_firstElementChild},get lastElementChild(){var e=h(this);if(e&&void 0!==e.lastChild){for(e=this.__shady_lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_lastElementChild},get children(){return p(this)?T(Array.prototype.filter.call(x(this),(function(e){return e.nodeType===Node.ELEMENT_NODE}))):this.__shady_native_children},get childElementCount(){var e=this.__shady_children;return e?e.length:0}}),Pe=D({querySelector:function(e){return Oe(this,(function(t){return g.call(t,e)}),(function(e){return!!e}))[0]||null},querySelectorAll:function(e,t){if(t){t=Array.prototype.slice.call(this.__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return T(t.filter((function(e){return e.__shady_getRootNode()==n})))}return T(Oe(this,(function(t){return g.call(t,e)})))}}),ke=f.A&&!f.g?R({},xe):xe;R(xe,Pe);var Me=null;function De(){return Me||(Me=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Me||null}function Re(e,t,n){var r=De();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function Ae(e,t){var n=De();n&&n.unscopeNode(e,t)}function Le(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=De();return t?t.currentScopeForNode(e):""}function Ie(e,t){if(e)for(e.nodeType===Node.ELEMENT_NODE&&t(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&Ie(e,t)}var Fe=window.document;function je(e,t){if("slot"===t)m(e=e.__shady_parentNode)&&Et(h(e).root);else if("slot"===e.localName&&"name"===t&&(t=Lt(e))){if(t.a){xt(t);var n=e.O,r=Pt(e);if(r!==n){var o=(n=t.b[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.b[r]||(t.b[r]=[])).push(e),1<n.length&&(t.b[r]=kt(n))}}Et(t)}}var He=D({get previousElementSibling(){var e=h(this);if(e&&void 0!==e.previousSibling){for(e=this.__shady_previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_previousElementSibling},get nextElementSibling(){var e=h(this);if(e&&void 0!==e.nextSibling){for(e=this.__shady_nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(e){this.__shady_setAttribute("slot",e)},get className(){return this.getAttribute("class")||""},set className(e){this.__shady_setAttribute("class",e)},setAttribute:function(e,t){this.ownerDocument!==Fe?this.__shady_native_setAttribute(e,t):Re(this,e,t)||(this.__shady_native_setAttribute(e,t),je(this,e))},removeAttribute:function(e){this.ownerDocument!==Fe?this.__shady_native_removeAttribute(e):Re(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),je(this,e))}});f.A||pe.forEach((function(e){He[e]=me(e)}));var Be=D({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!f.L){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,Nt(t,this,e),ft(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;Ot(n),n.f.push.apply(n.f,e instanceof Array?e:i(o(e))),Et(t)}t.host.__shady_native_appendChild(t)}else t=new St(mt,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=h(this);return e&&e.U||null}});R(He,Be);var Ue=/[&\u00A0"]/g,qe=/[&\u00A0<>]/g;function Ve(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function Ge(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var We=Ge("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Ke=Ge("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Xe(e,t){"template"===e.localName&&(e=e.content);for(var n="",r=t?t(e):e.childNodes,o=0,i=r.length,s=void 0;o<i&&(s=r[o]);o++){e:{var a=s,l=e,u=t;switch(a.nodeType){case Node.ELEMENT_NODE:for(var c,d="<"+(l=a.localName),h=a.attributes,f=0;c=h[f];f++)d+=" "+c.name+'="'+c.value.replace(Ue,Ve)+'"';d+=">",a=We[l]?d:d+Xe(a,u)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&Ke[l.localName]?a:a.replace(qe,Ve);break e;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break e;default:throw window.console.error(a),Error("not implemented")}}n+=a}return n}var $e=document.implementation.createHTMLDocument("inert"),ze=D({get innerHTML(){return p(this)?Xe("template"===this.localName?this.content:this,x):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{be(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==$e.namespaceURI?$e.createElementNS(this.namespaceURI,t):$e.createElement(t),f.c?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),Ye=D({blur:function(){var e=h(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});f.A||ye.forEach((function(e){Ye[e]=me(e)}));var Je=D({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&y(t)&&bt(t),(t=h(this))&&(e&&e.flatten?t.l:t.assignedNodes)||[]}},addEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)le.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_addEventListener(e,n,r)}},removeEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)ue.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_removeEventListener(e,n,r)}}}),Qe=D({getElementById:function(e){return""===e?null:Oe(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}}),Ze=D({get activeElement(){var e=f.c?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!y(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=Lt(e);t&&t!==this;)t=Lt(e=t.host);return this===document?t?null:e:t===this?e:null}}),et=window.document,tt=D({importNode:function(e,t){if(e.ownerDocument!==et||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),nt=D({dispatchEvent:ae,addEventListener:le.bind(window),removeEventListener:ue.bind(window)}),rt={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(rt.parentElement=we.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(rt.contains=we.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(rt.children=xe.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(rt.innerHTML=ze.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(rt.className=He.className);var ot={EventTarget:[ve],Node:[we,window.EventTarget?null:ve],Text:[Te],Comment:[Te],CDATASection:[Te],ProcessingInstruction:[Te],Element:[He,xe,Te,!f.c||"innerHTML"in Element.prototype?ze:null,window.HTMLSlotElement?null:Je],HTMLElement:[Ye,rt],HTMLSlotElement:[Je],DocumentFragment:[ke,Qe],Document:[tt,ke,Qe,Ze],Window:[nt]},it=f.c?null:["innerHTML","textContent"];function st(e,t,n,r){t.forEach((function(t){return e&&t&&k(e,t,n,r)}))}function at(e){var t,n=e?null:it;for(t in ot)st(window[t]&&window[t].prototype,ot[t],e,n)}function lt(e){return e.__shady_protoIsPatched=!0,st(e,ot.EventTarget),st(e,ot.Node),st(e,ot.Element),st(e,ot.HTMLElement),st(e,ot.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,st(n,ot.EventTarget),st(n,ot.Node),ot[e]&&st(n,ot[e]),t.prototype.__shady_patchedProto=n}));var ut=f.G,ct=f.c;function dt(e,t){if(ut&&!e.__shady_protoIsPatched&&!y(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(lt(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}ct||(1===t?G(e):2===t&&W(e))}function ht(e,t,n,r){dt(e,1),r=r||null;var o=d(e),i=r?d(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=h(o.previousSibling))&&(i.nextSibling=e),(i=h(o.nextSibling=r))&&(i.previousSibling=e),o.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function ft(e,t){var n=d(e);if(t||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,dt(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=d(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,dt(n,1)}}}var _t=D({addEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_addEventListener(e,n,r)},removeEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_removeEventListener(e,n,r)}});function pt(e,t){k(e,_t,t),k(e,Ze,t),k(e,ze,t),k(e,xe,t),f.g&&!t?(k(e,we,t),k(e,Qe,t)):f.c||(k(e,B),k(e,j),k(e,H))}var yt,mt={},vt=f.deferConnectionCallbacks&&"loading"===document.readyState;function gt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function St(e,t,n){if(e!==mt)throw new TypeError("Illegal constructor");this.a=null,Nt(this,t,n)}function Nt(e,t,n){if(e.host=t,e.mode=n&&n.mode,ft(e.host),(t=d(e.host)).root=e,t.U="closed"!==e.mode?e:null,(t=d(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,f.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else Et(e)}function Et(e){e.j||(e.j=!0,I((function(){return bt(e)})))}function bt(e){var t;if(t=e.j){for(var n;e;)e.j&&(n=e),y(e=(t=e).host.__shady_getRootNode())&&(t=h(t.host))&&0<t.s||(e=void 0);t=n}(n=t)&&n._renderSelf()}function Ct(e,t,n){var r=d(t),o=r.C;r.C=null,n||(n=(e=e.b[t.__shady_slot||"__catchall"])&&e[0]),n?(d(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(d(r.assignedSlot).D=!0)}function wt(e,t,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=h(o).assignedNodes;i&&i.length&&wt(e,t,i)}else t.push(n[r])}function Tt(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=h(t)).assignedSlot&&Tt(e,t.assignedSlot)}function Ot(e){e.f=e.f||[],e.a=e.a||[],e.b=e.b||{}}function xt(e){if(e.f&&e.f.length){for(var t,n=e.f,r=0;r<n.length;r++){var o=n[r];ft(o);var i=o.__shady_parentNode;ft(i),(i=h(i)).s=(i.s||0)+1,i=Pt(o),e.b[i]?((t=t||{})[i]=!0,e.b[i].push(o)):e.b[i]=[o],e.a.push(o)}if(t)for(var s in t)e.b[s]=kt(e.b[s]);e.f=[]}}function Pt(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.O=t}function kt(e){return e.sort((function(e,t){e=gt(e);for(var n=gt(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=x(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}}))}function Mt(e){return xt(e),!(!e.a||!e.a.length)}if(St.prototype._renderSelf=function(){var e=vt;if(vt=!0,this.j=!1,this.a){xt(this);for(var t,n=0;n<this.a.length;n++){var r=h(t=this.a[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.l=[],r.I=o)for(r=0;r<o.length;r++){var i=h(o[r]);i.C=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)Ct(this,n);for(n=0;n<this.a.length;n++){if(!(o=h(t=this.a[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)Ct(this,r,t);if((r=(r=h(t.__shady_parentNode))&&r.root)&&(Mt(r)||r.j)&&r._renderSelf(),wt(this,o.l,o.assignedNodes),r=o.I){for(i=0;i<r.length;i++)h(r[i]).C=null;o.I=null,r.length>o.assignedNodes.length&&(o.D=!0)}o.D&&(o.D=!1,Tt(this,t))}for(t=this.a,n=[],o=0;o<t.length;o++)(i=h(r=t[o].__shady_parentNode))&&i.root||!(0>n.indexOf(r))||n.push(r);for(t=0;t<n.length;t++){for(o=(i=n[t])===this?this.host:i,r=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var s=h(i).l,a=0;a<s.length;a++)r.push(s[a]);else r.push(i);i=O(o),s=l(r,r.length,i,i.length);for(var u=a=0,c=void 0;a<s.length&&(c=s[a]);a++){for(var d=0,_=void 0;d<c.o.length&&(_=c.o[d]);d++)_.__shady_native_parentNode===o&&o.__shady_native_removeChild(_),i.splice(c.index+u,1);u-=c.u}for(u=0,c=void 0;u<s.length&&(c=s[u]);u++)for(a=i[c.index],d=c.index;d<c.index+c.u;d++)_=r[d],o.__shady_native_insertBefore(_,a),i.splice(d,0,_)}}if(!f.preferPerformance&&!this.H)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=h(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.H=!0,vt=e,yt&&yt()},function(e){e.__proto__=DocumentFragment.prototype,pt(e,"__shady_"),pt(e),Object.defineProperties(e,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach((function(t){Object.defineProperty(e,t,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(t){Object.defineProperty(e,t,{get:function(){return this.host[t]},configurable:!0})}))}(St.prototype),window.customElements&&window.customElements.define&&f.F&&!f.preferPerformance){var Dt=new Map;yt=function(){var e=[];Dt.forEach((function(t,n){e.push([n,t])})),Dt.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},vt&&document.addEventListener("readystatechange",(function(){vt=!1,yt()}),{once:!0});var Rt=window.customElements.define,At=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Rt.call(window.customElements,e,function(e,t,n){var r=0,o="__isConnected"+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){vt?Dt.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){vt?this.isConnected||Dt.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),e}(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r};window.customElements.define=At,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:At,configurable:!0})}function Lt(e){if(y(e=e.__shady_getRootNode()))return e}function It(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.v=new Set}It.prototype.flush=function(){if(this.a){this.a=!1;var e=this.takeRecords();e.length&&this.v.forEach((function(t){t(e)}))}},It.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var Ft=f.c,jt={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},Ht={};function Bt(e){Ht[e]=function(t){return t["__shady_native_"+e]}}function Ut(e,t){for(var n in k(e,t,"__shady_native_"),t)Bt(n)}function qt(e,t){t=void 0===t?[]:t;for(var n=0;n<t.length;n++){var r=t[n],o=Object.getOwnPropertyDescriptor(e,r);o&&(Object.defineProperty(e,"__shady_native_"+r,o),o.value?jt[r]||(jt[r]=o.value):Bt(r))}}var Vt=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Gt=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Wt=document.implementation.createHTMLDocument("inert");function Kt(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var Xt=["firstElementChild","lastElementChild","children","childElementCount"],$t=["querySelector","querySelectorAll"];function zt(e){this.node=e}function Yt(e){Object.defineProperty(zt.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(n=zt.prototype).addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},n.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},n.appendChild=function(e){return this.node.__shady_appendChild(e)},n.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},n.removeChild=function(e){return this.node.__shady_removeChild(e)},n.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},n.cloneNode=function(e){return this.node.__shady_cloneNode(e)},n.getRootNode=function(e){return this.node.__shady_getRootNode(e)},n.contains=function(e){return this.node.__shady_contains(e)},n.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},n.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},n.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},n.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},n.attachShadow=function(e){return this.node.__shady_attachShadow(e)},n.focus=function(){this.node.__shady_native_focus()},n.blur=function(){this.node.__shady_blur()},n.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},n.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},n.querySelector=function(e){return this.node.__shady_querySelector(e)},n.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},n.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},s.Object.defineProperties(zt.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(y(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(y(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){return this.node.__shady_className=e}}}),pe.forEach((function(e){return Yt(e)})),ye.forEach((function(e){return Yt(e)}));var Jt=new WeakMap;function Qt(e){if(y(e)||e instanceof zt)return e;var t=Jt.get(e);return t||(t=new zt(e),Jt.set(e,t)),t}if(f.F){var Zt=f.c?function(e){return e}:function(e){return W(e),G(e),e};window.ShadyDOM={inUse:f.F,patch:Zt,isShadyRoot:y,enqueue:I,flush:F,flushInitial:function(e){!e.H&&e.j&&bt(e)},settings:f,filterMutations:function(e,t){var n=t.getRootNode();return e.map((function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if((t=[].slice.call(e.addedNodes).filter((function(e){return n===e.getRootNode()}))).length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e})).filter((function(e){return e}))},observeChildren:function(e,t){var n=d(e);n.m||(n.m=new It),n.m.v.add(t);var r=n.m;return{P:t,S:r,R:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.S;t&&(t.v.delete(e.P),t.v.size||(d(e.R).m=null))},deferConnectionCallbacks:f.deferConnectionCallbacks,preferPerformance:f.preferPerformance,handlesDynamicScoping:!0,wrap:f.g?Qt:Zt,wrapIfNeeded:!0===f.g?Qt:function(e){return e},Wrapper:zt,composedPath:function(e){return e.__composedPath||(e.__composedPath=Z(e.target,!0)),e.__composedPath},noPatch:f.g,patchOnDemand:f.G,nativeMethods:jt,nativeTree:Ht,patchElementProto:lt},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?qt(window.EventTarget.prototype,e):(qt(Node.prototype,e),qt(Window.prototype,e)),Ft?qt(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Ut(Node.prototype,{parentNode:{get:function(){return Vt.currentNode=this,Vt.parentNode()}},firstChild:{get:function(){return Vt.currentNode=this,Vt.firstChild()}},lastChild:{get:function(){return Vt.currentNode=this,Vt.lastChild()}},previousSibling:{get:function(){return Vt.currentNode=this,Vt.previousSibling()}},nextSibling:{get:function(){return Vt.currentNode=this,Vt.nextSibling()}},childNodes:{get:function(){var e=[];Vt.currentNode=this;for(var t=Vt.firstChild();t;)e.push(t),t=Vt.nextSibling();return e}},parentElement:{get:function(){return Gt.currentNode=this,Gt.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return this.nodeValue}},set:function(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Kt(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),qt(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),qt(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return Gt.currentNode=this,Gt.firstChild()}},lastElementChild:{get:function(){return Gt.currentNode=this,Gt.lastChild()}},children:{get:function(){var e=[];Gt.currentNode=this;for(var t=Gt.firstChild();t;)e.push(t),t=Gt.nextSibling();return T(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},Ft?(qt(Element.prototype,Xt),qt(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),qt(HTMLElement.prototype,["children","innerHTML","className"])):(Ut(Element.prototype,e),Ut(Element.prototype,{previousElementSibling:{get:function(){return Gt.currentNode=this,Gt.previousSibling()}},nextElementSibling:{get:function(){return Gt.currentNode=this,Gt.nextSibling()}},innerHTML:{get:function(){return Xe(this,O)},set:function(e){var t="template"===this.localName?this.content:this;Kt(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==Wt.namespaceURI?Wt.createElementNS(this.namespaceURI,n):Wt.createElement(n)).innerHTML=e,e="template"===this.localName?n.content:n;n=e.__shady_native_firstChild;)t.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)}}})),qt(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),qt(Element.prototype,$t),qt(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&qt(window.HTMLTemplateElement.prototype,["innerHTML"]),Ft?qt(DocumentFragment.prototype,Xt):Ut(DocumentFragment.prototype,e),qt(DocumentFragment.prototype,$t),Ft?(qt(Document.prototype,Xt),qt(Document.prototype,["activeElement"])):Ut(Document.prototype,e),qt(Document.prototype,["importNode","getElementById"]),qt(Document.prototype,$t)}(),at("__shady_"),Object.defineProperty(document,"_activeElement",Ze.activeElement),k(Window.prototype,nt,"__shady_"),f.g?f.G&&k(Element.prototype,Be):(at(),function(){if(!X&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),function(){for(var e in ne)window.__shady_native_addEventListener(e,(function(e){e.__target||(de(e),ie(e))}),!0)}(),window.Event=he,window.CustomEvent=fe,window.MouseEvent=_e,window.ShadowRoot=St}}).call(this)}).call(this,n(320))},335:function(e,t,n){"use strict";
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 http://polymer.github.io/LICENSE.txt
19
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
20
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
21
+ Code distributed by Google as part of the polymer project is also
22
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
23
+ */var r=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function o(e){return function e(t,n){var r=n.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=r.trim(),t.parent){var o=t.previous?t.previous.end:t.parent.start;r=(r=(r=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}(r=n.substring(o,t.start-1))).replace(f.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var i=t.parsedSelector=t.selector=r.trim();t.atRule=0===i.indexOf(y),t.atRule?0===i.indexOf(p)?t.type=c.MEDIA_RULE:i.match(f.keyframesRule)&&(t.type=c.KEYFRAMES_RULE,t.keyframesName=t.selector.split(f.multipleSpaces).pop()):0===i.indexOf(_)?t.type=c.MIXIN_RULE:t.type=c.STYLE_RULE}var s=t.rules;if(s)for(var a,l=0,u=s.length;l<u&&(a=s[l]);l++)e(a,n);return t}(function(e){var t=new r;t.start=0,t.end=e.length;for(var n=t,o=0,i=e.length;o<i;o++)if(e[o]===d){n.rules||(n.rules=[]);var s=n,a=s.rules[s.rules.length-1]||null;(n=new r).start=o+1,n.parent=s,n.previous=a,s.rules.push(n)}else e[o]===h&&(n.end=o+1,n=n.parent||t);return t}(e=e.replace(f.comments,"").replace(f.port,"")),e)}function i(e){var t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(_)}function s(e){return function(e){return e.replace(f.mixinApply,"").replace(f.varApply,"")}(e=a(e))}function a(e){return e.replace(f.customProp,"").replace(f.mixinProp,"")}var l,u,c={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},d="{",h="}",f={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},_="--",p="@media",y="@",m=!(window.ShadyDOM&&window.ShadyDOM.inUse);function v(e){l=(!e||!e.shimcssproperties)&&(m||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(u=window.ShadyCSS.cssBuild);var g=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?l=window.ShadyCSS.nativeCss:window.ShadyCSS?(v(window.ShadyCSS),window.ShadyCSS=void 0):v(window.WebComponents&&window.WebComponents.flags);var S=l,N=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,E=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,b=/(--[\w-]+)\s*([:,;)]|$)/gi,C=/(animation\s*:)|(animation-name\s*:)/,w=/@media\s(.*)/,T=/\{[^}]*\}/g,O=new Set;
24
+ /**
25
+ @license
26
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
27
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
28
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
29
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
30
+ Code distributed by Google as part of the polymer project is also
31
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
32
+ */function x(e){var t=e.textContent;if(!O.has(t)){O.add(t);var n=document.createElement("style");n.setAttribute("shady-unscoped",""),n.textContent=t,document.head.appendChild(n)}}function P(e){return e.hasAttribute("shady-unscoped")}
33
+ /**
34
+ @license
35
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
36
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
37
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
38
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
39
+ Code distributed by Google as part of the polymer project is also
40
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
41
+ */function k(e,t){return e?("string"==typeof e&&(e=o(e)),t&&R(e,t),function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";if(t.cssText||t.rules){var a=t.rules;if(a&&!i(a))for(var l,u=0,c=a.length;u<c&&(l=a[u]);u++)o=e(l,n,o);else(o=(o=n?t.cssText:s(t.cssText)).trim())&&(o=" "+o+"\n")}return o&&(t.selector&&(r+=t.selector+" "+d+"\n"),r+=o,t.selector&&(r+=h+"\n\n")),r}(e,S)):""}function M(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=o(e.textContent)),e.__cssRules||null}function D(e){return Boolean(e.parent)&&e.parent.type===c.KEYFRAMES_RULE}function R(e,t,n,r){if(e){var o=!1,i=e.type;if(r&&i===c.MEDIA_RULE){var s=e.selector.match(w);s&&(window.matchMedia(s[1]).matches||(o=!0))}i===c.STYLE_RULE?t(e):n&&i===c.KEYFRAMES_RULE?n(e):i===c.MIXIN_RULE&&(o=!0);var a=e.rules;if(a&&!o)for(var l,u=0,d=a.length;u<d&&(l=a[u]);u++)R(l,t,n,r)}}function A(e,t,n,r){var o=function(e,t){var n=document.createElement("style");t&&n.setAttribute("scope",t);return n.textContent=e,n}(e,t);return I(o,n,r),o}var L=null;function I(e,t,n){t=t||document.head;var r=n&&n.nextSibling||t.firstChild;(t.insertBefore(e,r),L)?e.compareDocumentPosition(L)===Node.DOCUMENT_POSITION_PRECEDING&&(L=e):L=e}function F(e,t){for(var n=0,r=t,o=e.length;r<o;r++)if("("===e[r])n++;else if(")"===e[r]&&0==--n)return r;return-1}function j(e,t){m?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}var H=window.ShadyDOM&&window.ShadyDOM.wrap||function(e){return e};function B(e){var t=e.localName,n="",r="";return t?t.indexOf("-")>-1?n=t:(r=t,n=e.getAttribute&&e.getAttribute("is")||""):(n=e.is,r=e.extends),{is:n,typeExtension:r}}function U(e){for(var t=[],n="",r=0;r>=0&&r<e.length;r++)if("("===e[r]){var o=F(e,r);n+=e.slice(r,o+1),r=o}else","===e[r]?(t.push(n),n=""):n+=e[r];return n&&t.push(n),t}function q(e){if(void 0!==u)return u;if(void 0===e.__cssBuild){var t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{var n=function(e){var t="template"===e.localName?e.content.firstChild:e.firstChild;if(t instanceof Comment){var n=t.textContent.trim().split(":");if("css-build"===n[0])return n[1]}return""}(e);""!==n&&function(e){var t="template"===e.localName?e.content.firstChild:e.firstChild;t.parentNode.removeChild(t)}
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 http://polymer.github.io/LICENSE.txt
46
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
47
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
48
+ Code distributed by Google as part of the polymer project is also
49
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
50
+ */(e),e.__cssBuild=n}}return e.__cssBuild||""}function V(e){return""!==q(e)}function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!(""===e||!S)&&(m?"shadow"===e:"shady"===e)}function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var K=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"dom",value:function(e,t,n){var r=this;this._transformDom(e,(function(e){r.element(e,t||"",n)}))}},{key:"domAddScope",value:function(e,t){var n=this;this._transformDom(e,(function(e){n.element(e,t||"")}))}},{key:"_transformDom",value:function(e,t){var n;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var r=e;n=(r.content||r._content||r).childNodes}else n=e.children||e.childNodes;if(n)for(var o=0;o<n.length;o++)this._transformDom(n[o],t)}},{key:"element",value:function(e,t,n){if(t)if(e.classList)n?(e.classList.remove("style-scope"),e.classList.remove(t)):(e.classList.add("style-scope"),e.classList.add(t));else if(e.getAttribute){var r=e.getAttribute(ae);n?r&&j(e,r.replace("style-scope","").replace(t,"")):j(e,(r?r+" ":"")+"style-scope "+t)}}},{key:"domReplaceScope",value:function(e,t,n){var r=this;this._transformDom(e,(function(e){r.element(e,t,!0),r.element(e,n)}))}},{key:"domRemoveScope",value:function(e,t){var n=this;this._transformDom(e,(function(e){n.element(e,t||"",!0)}))}},{key:"elementStyles",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(m||"shady"===r)o=k(t,n);else{var i=B(e),s=i.is,a=i.typeExtension;o=this.css(t,s,a,n)+"\n\n"}return o.trim()}},{key:"css",value:function(e,t,n,r){var o=this._calcHostScope(t,n);t=this._calcElementScope(t);var i=this;return k(e,(function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),r&&r(e,t,o)}))}},{key:"_calcElementScope",value:function(e){return e?ie+e:""}},{key:"_calcHostScope",value:function(e,t){return t?"[is=".concat(e,"]"):e}},{key:"rule",value:function(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)}},{key:"_transformRule",value:function(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)}},{key:"_transformRuleCss",value:function(e,t,n,r){var o=U(e.selector);if(!D(e))for(var i,s=0,a=o.length;s<a&&(i=o[s]);s++)o[s]=t.call(this,i,n,r);return o.filter((function(e){return Boolean(e)})).join(z)}},{key:"_twiddleNthPlus",value:function(e){return e.replace(X,(function(e,t,n){return n.indexOf("+")>-1?n=n.replace(/\+/g,"___"):n.indexOf("___")>-1&&(n=n.replace(/___/g,"+")),":".concat(t,"(").concat(n,")")}))}},{key:"_preserveMatchesPseudo",value:function(e){for(var t,n=[];t=e.match(ue);){var r=t.index,o=F(e,r);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var i=e.slice(r,o+1);e=e.replace(i,ce),n.push(i)}return{selector:e,matches:n}}},{key:"_replaceMatchesPseudo",value:function(e,t){var n=e.split(ce);return t.reduce((function(e,t,r){return e+t+n[r+1]}),n[0])}},{key:"_transformComplexSelector",value:function(e,t,n){var r=this,o=!1;e=e.trim();var i=X.test(e);i&&(e=e.replace(X,(function(e,t,n){return":".concat(t,"(").concat(n.replace(/\s/g,""),")")})),e=this._twiddleNthPlus(e));var s,a=ue.test(e);if(a){var l=this._preserveMatchesPseudo(e);e=l.selector,s=l.matches}return e=(e=e.replace(te,"".concat(Q," $1"))).replace(Y,(function(e,i,s){if(!o){var a=r._transformCompoundSelector(s,i,t,n);o=o||a.stop,i=a.combinator,s=a.value}return i+s})),a&&(e=this._replaceMatchesPseudo(e,s)),i&&(e=this._twiddleNthPlus(e)),e=e.replace(oe,(function(e,t,n,r){return'[dir="'.concat(n,'"] ').concat(t).concat(r,", ").concat(t,'[dir="').concat(n,'"]').concat(r)}))}},{key:"_transformCompoundSelector",value:function(e,t,n,r){var o=e.indexOf(ee);e.indexOf(Q)>=0?e=this._transformHostSelector(e,r):0!==o&&(e=n?this._transformSimpleSelector(e,n):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(re,(function(e,t){return" > ".concat(t)})))),{value:e,combinator:t,stop:i}}},{key:"_transformSimpleSelector",value:function(e,t){for(var n=e.split(/(\[.+?\])/),r=[],o=0;o<n.length;o++)if(o%2==1)r.push(n[o]);else{var i=n[o];if(""!==i||o!==n.length-1){var s=i.split(se);s[0]+=t,r.push(s.join(se))}}return r.join("")}},{key:"_transformHostSelector",value:function(e,t){var n=e.match(ne),r=n&&n[2].trim()||"";return r?r[0].match(J)?e.replace(ne,(function(e,n,r){return t+r})):r.split(J)[0]===t?r:le:e.replace(Q,t)}},{key:"documentRule",value:function(e){e.selector=e.parsedSelector,this.normalizeRootSelector(e),this._transformRule(e,this._transformDocumentSelector)}},{key:"normalizeRootSelector",value:function(e){e.selector===Z&&(e.selector="html")}},{key:"_transformDocumentSelector",value:function(e){return e.match(Q)?"":e.match(ee)?this._transformComplexSelector(e,$):this._transformSimpleSelector(e.trim(),$)}},{key:"SCOPE_NAME",get:function(){return"style-scope"}}])&&W(t.prototype,n),r&&W(t,r),e}(),X=/:(nth[-\w]+)\(([^)]+)\)/,$=":not(.".concat("style-scope",")"),z=",",Y=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,J=/[[.:#*]/,Q=":host",Z=":root",ee="::slotted",te=new RegExp("^(".concat(ee,")")),ne=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,re=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,oe=/(.*):dir\((?:(ltr|rtl))\)(.*)/,ie=".",se=":",ae="class",le="should_not_match",ue=/:(?:matches|any|-(?:webkit|moz)-any)/,ce="",de=new K;function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fe(e,t,n){return t&&he(e.prototype,t),n&&he(e,n),e}var _e=function(){function e(t,n,r,o,i,s){!
51
+ /**
52
+ @license
53
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
54
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
55
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
56
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
57
+ Code distributed by Google as part of the polymer project is also
58
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
59
+ */
60
+ function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.styleRules=t||null,this.placeholder=n||null,this.ownStylePropertyNames=r||[],this.overrideStyleProperties=null,this.elementName=o||"",this.cssBuild=s||"",this.typeExtension=i||"",this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}return fe(e,null,[{key:"get",value:function(e){return e?e.__styleInfo:null}},{key:"set",value:function(e,t){return e.__styleInfo=t,t}}]),fe(e,[{key:"_getStyleRules",value:function(){return this.styleRules}}]),e}();function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}_e.prototype._getStyleRules=_e.prototype._getStyleRules;var ye=function(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)},me=/:host\s*>\s*/;var ve=navigator.userAgent.match("Trident");var ge=new(function(){function e(){!
61
+ /**
62
+ @license
63
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
64
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
65
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
66
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
67
+ Code distributed by Google as part of the polymer project is also
68
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
69
+ */
70
+ function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"decorateStyles",value:function(e){var t=this,n={},r=[],o=0;R(e,(function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)}),(function(e){r.push(e)})),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}},{key:"decorateRule",value:function(e){if(e.propertyInfo)return e.propertyInfo;var t={},n={};return this.collectProperties(e,n)&&(t.properties=n,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t}},{key:"collectProperties",value:function(e,t){var n=e.propertyInfo;if(!n){for(var r,o,i,s=N,a=e.parsedCssText;r=s.exec(a);)"inherit"===(o=(r[2]||r[3]).trim())&&"unset"===o||(t[r[1].trim()]=o),i=!0;return i}if(n.properties)return Object.assign(t,n.properties),!0}},{key:"collectCssText",value:function(e){return this.collectConsumingCssText(e.parsedCssText)}},{key:"collectConsumingCssText",value:function(e){return e.replace(T,"").replace(N,"")}},{key:"collectPropertiesInCssText",value:function(e,t){for(var n;n=b.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}}},{key:"reify",value:function(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++)e[t=n[r]]=this.valueForProperty(e[t],e)}},{key:"valueForProperty",value:function(e,t){if(e)if(e.indexOf(";")>=0)e=this.valueForProperties(e,t);else{var n=this;e=function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var o=F(t,r+3),i=t.substring(r+4,o),s=t.substring(0,r),a=e(t.substring(o+1),n),l=i.indexOf(",");return-1===l?n(s,i.trim(),"",a):n(s,i.substring(0,l).trim(),i.substring(l+1).trim(),a)}(e,(function(e,r,o,i){if(!r)return e+i;var s=n.valueForProperty(t[r],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=n.valueForProperty(t[o]||o,t)||o,e+(s||"")+i}))}return e&&e.trim()||""}},{key:"valueForProperties",value:function(e,t){for(var n,r,o=e.split(";"),i=0;i<o.length;i++)if(n=o[i]){if(E.lastIndex=0,r=E.exec(n))n=this.valueForProperty(t[r[1]],t);else{var s=n.indexOf(":");if(-1!==s){var a=n.substring(s);a=a.trim(),a=this.valueForProperty(a,t)||a,n=n.substring(0,s)+a}}o[i]=n&&n.lastIndexOf(";")===n.length-1?n.slice(0,-1):n||""}return o.join(";")}},{key:"applyProperties",value:function(e,t){var n="";e.propertyInfo||this.decorateRule(e),e.propertyInfo.cssText&&(n=this.valueForProperties(e.propertyInfo.cssText,t)),e.cssText=n}},{key:"applyKeyframeTransforms",value:function(e,t){var n=e.cssText,r=e.cssText;if(null==e.hasAnimations&&(e.hasAnimations=C.test(n)),e.hasAnimations)if(null==e.keyframeNamesToTransform)for(var o in e.keyframeNamesToTransform=[],t)n!==(r=(0,t[o])(n))&&(n=r,e.keyframeNamesToTransform.push(o));else{for(var i=0;i<e.keyframeNamesToTransform.length;++i)n=(0,t[e.keyframeNamesToTransform[i]])(n);r=n}e.cssText=r}},{key:"propertyDataFromStyles",value:function(e,t){var n=this,r={},o=[];return R(e,(function(e){e.propertyInfo||n.decorateRule(e);var i=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&i&&ye.call(t,i)&&(n.collectProperties(e,r),function(e,t){var n=parseInt(e/32,10),r=1<<e%32;t[n]=(t[n]||0)|r}(e.index,o))}),null,!0),{properties:r,key:o}}},{key:"whenHostOrRootRule",value:function(e,t,n,r){if(t.propertyInfo||this.decorateRule(t),t.propertyInfo.properties){var o=B(e),i=o.is,s=o.typeExtension,a=i?de._calcHostScope(i,s):"html",l=t.parsedSelector,u=function(e,t){return Boolean(t.match(me))||"html"===e&&t.indexOf("html")>-1}(a,l),c=0===l.indexOf(":host")&&!u;if("shady"===n&&(c=!(u=l===a+" > *."+a||-1!==l.indexOf("html"))&&0===l.indexOf(a)),u||c){var d=a;c&&(t.transformedSelector||(t.transformedSelector=de._transformRuleCss(t,de._transformComplexSelector,de._calcElementScope(i),a)),d=t.transformedSelector||a),u&&"html"===a&&(d=t.transformedSelector||t.parsedSelector),r({selector:d,isHost:c,isRoot:u})}}}},{key:"hostAndRootPropertiesForScope",value:function(e,t,n){var r=this,o={},i={};return R(t,(function(t){r.whenHostOrRootRule(e,t,n,(function(n){var s=e._element||e;ye.call(s,n.selector)&&(n.isHost?r.collectProperties(t,o):r.collectProperties(t,i))}))}),null,!0),{rootProps:i,hostProps:o}}},{key:"transformStyles",value:function(e,t,n){var r=this,o=B(e),i=o.is,s=o.typeExtension,a=de._calcHostScope(i,s),l=e.extends?"\\"+a.slice(0,-1)+"\\]":a,u=new RegExp("(?:^|[^.#[:])"+l+"($|[.:[\\s>+~])"),c=_e.get(e),d=c.styleRules,h=c.cssBuild,f=this._elementKeyframeTransforms(e,d,n);return de.elementStyles(e,d,(function(e){r.applyProperties(e,t),m||D(e)||!e.cssText||(r.applyKeyframeTransforms(e,f),r._scopeSelector(e,u,a,n))}),h)}},{key:"_elementKeyframeTransforms",value:function(e,t,n){var r=t._keyframes,o={};if(!m&&r)for(var i=0,s=r[i];i<r.length;s=r[++i])this._scopeKeyframes(s,n),o[s.keyframesName]=this._keyframesRuleTransformer(s);return o}},{key:"_keyframesRuleTransformer",value:function(e){return function(t){return t.replace(e.keyframesNameRx,e.transformedKeyframesName)}}},{key:"_scopeKeyframes",value:function(e,t){e.keyframesNameRx=new RegExp("\\b".concat(e.keyframesName,"(?!\\B|-)"),"g"),e.transformedKeyframesName=e.keyframesName+"-"+t,e.transformedSelector=e.transformedSelector||e.selector,e.selector=e.transformedSelector.replace(e.keyframesName,e.transformedKeyframesName)}},{key:"_scopeSelector",value:function(e,t,n,r){e.transformedSelector=e.transformedSelector||e.selector;for(var o,i="."+r,s=U(e.transformedSelector),a=0,l=s.length;a<l&&(o=s[a]);a++)s[a]=o.match(t)?o.replace(n,i):i+" "+o;e.selector=s.join(",")}},{key:"applyElementScopeSelector",value:function(e,t,n){var r=e.getAttribute("class")||"",o=r;n&&(o=r.replace(new RegExp("\\s*x-scope\\s*"+n+"\\s*","g")," ")),r!==(o+=(o?" ":"")+"x-scope "+t)&&j(e,o)}},{key:"applyElementStyle",value:function(e,t,n,r){var o=r?r.textContent||"":this.transformStyles(e,t,n),i=_e.get(e),s=i.customStyle;return s&&!m&&s!==r&&(s._useCount--,s._useCount<=0&&s.parentNode&&s.parentNode.removeChild(s)),m?i.customStyle?(i.customStyle.textContent=o,r=i.customStyle):o&&(r=A(o,n,e.shadowRoot,i.placeholder)):r?r.parentNode||(ve&&o.indexOf("@media")>-1&&(r.textContent=o),I(r,null,i.placeholder)):o&&(r=A(o,n,null,i.placeholder)),r&&(r._useCount=r._useCount||0,i.customStyle!=r&&r._useCount++,i.customStyle=r),r}},{key:"applyCustomStyle",value:function(e,t){var n=M(e),r=this;e.textContent=k(n,(function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(n=a(n),e.cssText=r.valueForProperties(n,t))}))}},{key:"XSCOPE_NAME",get:function(){return"x-scope"}}])&&pe(t.prototype,n),r&&pe(t,r),e}()),Se={};
71
+ /**
72
+ @license
73
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
74
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
75
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
76
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
77
+ Code distributed by Google as part of the polymer project is also
78
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
79
+ */function Ne(e){return Se[e]||null}function Ee(e){var t,n,r,o;Se[e]||(Se[e]=(t=e,n=document.createComment(" Shady DOM styles for "+t+" "),r=L?L.nextSibling:null,(o=document.head).insertBefore(n,r||o.firstChild),L=n,n))}var be=window.customElements;if(be&&!m&&!g){var Ce=be.define;be.define=function(e,t,n){Ee(e),Ce.call(be,e,t,n)}}
80
+ /**
81
+ @license
82
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
83
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
84
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
85
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
86
+ Code distributed by Google as part of the polymer project is also
87
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
88
+ */function we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Oe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;we(this,e),this.cache={},this.typeMax=t}var t,n,r;return t=e,(n=[{key:"_validate",value:function(e,t,n){for(var r=0;r<n.length;r++){var o=n[r];if(e.properties[o]!==t[o])return!1}return!0}},{key:"store",value:function(e,t,n,r){var o=this.cache[e]||[];o.push({properties:t,styleElement:n,scopeSelector:r}),o.length>this.typeMax&&o.shift(),this.cache[e]=o}},{key:"fetch",value:function(e,t,n){var r=this.cache[e];if(r)for(var o=r.length-1;o>=0;o--){var i=r[o];if(this._validate(i,t,n))return i}}}])&&Te(t.prototype,n),r&&Te(t,r),e}(),xe=function(){};
89
+ /**
90
+ @license
91
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
92
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
93
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
94
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
95
+ Code distributed by Google as part of the polymer project is also
96
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
97
+ */var Pe=new RegExp("".concat(de.SCOPE_NAME,"\\s*([^\\s]*)"));function ke(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(Pe);return t?t[1]:""}function Me(e){var t=H(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var n=t.host;return n?B(n).is:""}function De(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(.".concat(de.SCOPE_NAME,")")),n=0;n<t.length;n++){var r=t[n],o=Me(r);o&&de.element(r,o)}}function Re(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var o=n.addedNodes[r];if(o.nodeType===Node.ELEMENT_NODE){var i=(o=o).getRootNode(),s=ke(o);if(s&&i===o.ownerDocument&&("style"!==(l=o).localName&&"template"!==l.localName||!V(l)))de.domRemoveScope(o,s);else if(i instanceof ShadowRoot){var a=Me(o);a!==s&&de.domReplaceScope(o,s,a),De(o)}}}}var l}if(!(m||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Ae=new MutationObserver(Re),Le=function(e){Ae.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Le(document);else{var Ie=function(){Le(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ie):requestAnimationFrame((function(){if("loading"===document.readyState){document.addEventListener("readystatechange",(function e(){Ie(),document.removeEventListener("readystatechange",e)}))}else Ie()}))}xe=function(){Re(Ae.takeRecords())}}
98
+ /**
99
+ @license
100
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
101
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
102
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
103
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
104
+ Code distributed by Google as part of the polymer project is also
105
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
106
+ */var Fe={},je="_applyShimCurrentVersion",He="_applyShimNextVersion",Be=Promise.resolve();function Ue(e){var t=Fe[e];t&&function(e){e[je]=e[je]||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e[He]=(e[He]||0)+1}(t)}function qe(e){return e[je]===e[He]}function Ve(e){return!qe(e)&&e._applyShimValidatingVersion===e[He]}function Ge(e){e._applyShimValidatingVersion=e[He],e._validating||(e._validating=!0,Be.then((function(){e[je]=e[He],e._validating=!1})))}
107
+ /**
108
+ @license
109
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
110
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
111
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
112
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
113
+ Code distributed by Google as part of the polymer project is also
114
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
115
+ */
116
+ var We,Ke=null,Xe=window.HTMLImports&&window.HTMLImports.whenReady||null;function $e(e){requestAnimationFrame((function(){Xe?Xe(e):(Ke||(Ke=new Promise((function(e){We=e})),"complete"===document.readyState?We():document.addEventListener("readystatechange",(function(){"complete"===document.readyState&&We()}))),Ke.then((function(){e&&e()})))}))}
117
+ /**
118
+ @license
119
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
120
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
121
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
122
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
123
+ Code distributed by Google as part of the polymer project is also
124
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
125
+ */function ze(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Ye="__shadyCSSCachedStyle",Je=null,Qe=null,Ze=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.customStyles=[],this.enqueued=!1,$e((function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}var t,n,r;return t=e,(n=[{key:"enqueueDocumentValidation",value:function(){!this.enqueued&&Qe&&(this.enqueued=!0,$e(Qe))}},{key:"addCustomStyle",value:function(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}},{key:"getStyleForCustomStyle",value:function(e){return e[Ye]?e[Ye]:e.getStyle?e.getStyle():e}},{key:"processStyles",value:function(){for(var e=this.customStyles,t=0;t<e.length;t++){var n=e[t];if(!n[Ye]){var r=this.getStyleForCustomStyle(n);if(r){var o=r.__appliedElement||r;Je&&Je(o),n[Ye]=o}}}return e}}])&&ze(t.prototype,n),r&&ze(t,r),e}();function et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Ze.prototype.addCustomStyle=Ze.prototype.addCustomStyle,Ze.prototype.getStyleForCustomStyle=Ze.prototype.getStyleForCustomStyle,Ze.prototype.processStyles=Ze.prototype.processStyles,Object.defineProperties(Ze.prototype,{transformCallback:{get:function(){return Je},set:function(e){Je=e}},validateCallback:{get:function(){return Qe},set:function(e){var t=!1;Qe||(t=!0),Qe=e,t&&this.enqueueDocumentValidation()}}});var tt={},nt=new Oe,rt=function(){function e(){!
126
+ /**
127
+ @license
128
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
129
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
130
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
131
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
132
+ Code distributed by Google as part of the polymer project is also
133
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
134
+ */
135
+ function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._scopeCounter={},this._documentOwner=document.documentElement;var t=new r;t.rules=[],this._documentOwnerStyleInfo=_e.set(this._documentOwner,new _e(t)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null}var t,n,i;return t=e,(n=[{key:"flush",value:function(){xe()}},{key:"_generateScopeSelector",value:function(e){var t=this._scopeCounter[e]=(this._scopeCounter[e]||0)+1;return"".concat(e,"-").concat(t)}},{key:"getStyleAst",value:function(e){return M(e)}},{key:"styleAstToString",value:function(e){return k(e)}},{key:"_gatherStyles",value:function(e){return function(e){for(var t=[],n=e.querySelectorAll("style"),r=0;r<n.length;r++){var o=n[r];P(o)?m||(x(o),o.parentNode.removeChild(o)):(t.push(o.textContent),o.parentNode.removeChild(o))}return t.join("").trim()}(e.content)}},{key:"prepareTemplate",value:function(e,t,n){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,n)}},{key:"prepareTemplateStyles",value:function(e,t,n){if(!e._prepared&&!g){m||Ee(t),e._prepared=!0,e.name=t,e.extends=n,Fe[t]=e;var r=q(e),i=G(r),s={is:t,extends:n},a=this._gatherStyles(e)+(tt[t]||"");if(this._ensure(),!i){var l=!r&&function(e){var t=E.test(e)||N.test(e);return E.lastIndex=0,N.lastIndex=0,t}(a),u=o(a);l&&S&&this._applyShim&&this._applyShim.transformRules(u,t),e._styleAst=u}var c=[];if(S||(c=ge.decorateStyles(e._styleAst)),!c.length||S){var d=m?e.content:null,h=Ne(t),f=this._generateStaticStyle(s,e._styleAst,d,h,r,i?a:"");e._style=f}e._ownPropertyNames=c}}},{key:"prepareAdoptedCssText",value:function(e,t){tt[t]=e.join(" ")}},{key:"prepareTemplateDom",value:function(e,t){if(!g){var n=q(e);m||"shady"===n||e._domPrepared||(e._domPrepared=!0,de.domAddScope(e.content,t))}}},{key:"_generateStaticStyle",value:function(e,t,n,r,o,i){return(i=de.elementStyles(e,t,null,o,i)).length?A(i,e.is,n,r):null}},{key:"_prepareHost",value:function(e){var t=B(e),n=t.is,r=t.typeExtension,o=Ne(n),i=Fe[n];if(i){var s=i._styleAst,a=i._ownPropertyNames,l=q(i),u=new _e(s,o,a,n,r,l);return _e.set(e,u),u}}},{key:"_ensureApplyShim",value:function(){return!(this._applyShim||!window.ShadyCSS||!window.ShadyCSS.ApplyShim||(this._applyShim=window.ShadyCSS.ApplyShim,this._applyShim.invalidCallback=Ue,0))}},{key:"_ensureCustomStyleInterface",value:function(){var e=this;this._customStyleInterface||window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this._customStyleInterface=window.ShadyCSS.CustomStyleInterface,this._customStyleInterface.transformCallback=function(t){e.transformCustomStyleForDocument(t)},this._customStyleInterface.validateCallback=function(){requestAnimationFrame((function(){(e._customStyleInterface.enqueued||e._elementsHaveApplied)&&e.flushCustomStyles()}))})}},{key:"_ensure",value:function(){var e=this._ensureApplyShim();return this._ensureCustomStyleInterface(),e}},{key:"flushCustomStyles",value:function(){if(!g){var e=this._ensure();if(this._customStyleInterface){var t=this._customStyleInterface.processStyles();(e||this._customStyleInterface.enqueued)&&(G(this._documentOwnerStyleInfo.cssBuild)||(S?this._documentOwnerStyleInfo.cssBuild||this._revalidateCustomStyleApplyShim(t):(this._reorderCustomStylesRules(t),this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles(t),this._elementsHaveApplied&&this.styleDocument()),this._customStyleInterface.enqueued=!1))}}}},{key:"_reorderCustomStylesRules",value:function(e){var t=this,n=e.map((function(e){return t._customStyleInterface.getStyleForCustomStyle(e)})).filter((function(e){return!!e}));n.sort((function(e,t){var n=t.compareDocumentPosition(e);return n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0})),this._documentOwnerStyleInfo.styleRules.rules=n.map((function(e){return M(e)}))}},{key:"styleElement",value:function(e,t){if(g){if(t){_e.get(e)||_e.set(e,new _e(null));var n=_e.get(e);this._mixOverrideStyleProps(n,t),this.styleElementNativeVariables(e,n)}}else{var r=_e.get(e)||this._prepareHost(e);r&&(this._isRootOwner(e)||(this._elementsHaveApplied=!0),t&&this._mixOverrideStyleProps(r,t),S?this.styleElementNativeVariables(e,r):this.styleElementShimVariables(e,r))}}},{key:"_mixOverrideStyleProps",value:function(e,t){e.overrideStyleProperties=e.overrideStyleProperties||{},Object.assign(e.overrideStyleProperties,t)}},{key:"styleElementShimVariables",value:function(e,t){this.flush(),this._updateProperties(e,t),t.ownStylePropertyNames&&t.ownStylePropertyNames.length&&this._applyStyleProperties(e,t)}},{key:"styleElementNativeVariables",value:function(e,t){var n=B(e).is;t.overrideStyleProperties&&
136
+ /**
137
+ @license
138
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
139
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
140
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
141
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
142
+ Code distributed by Google as part of the polymer project is also
143
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
144
+ */
145
+ function(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}(e,t.overrideStyleProperties);var r=Fe[n];if((r||this._isRootOwner(e))&&(!r||!V(r))&&r&&r._style&&!qe(r)){if(Ve(r)||(this._ensure(),this._applyShim&&this._applyShim.transformRules(r._styleAst,n),r._style.textContent=de.elementStyles(e,t.styleRules),Ge(r)),m){var o=e.shadowRoot;if(o){var i=o.querySelector("style");i&&(i.textContent=de.elementStyles(e,t.styleRules))}}t.styleRules=r._styleAst}}},{key:"_styleOwnerForNode",value:function(e){var t=H(e).getRootNode().host;return t?_e.get(t)||this._prepareHost(t)?t:this._styleOwnerForNode(t):this._documentOwner}},{key:"_isRootOwner",value:function(e){return e===this._documentOwner}},{key:"_applyStyleProperties",value:function(e,t){var n=B(e).is,r=nt.fetch(n,t.styleProperties,t.ownStylePropertyNames),o=r&&r.scopeSelector,i=r?r.styleElement:null,s=t.scopeSelector;t.scopeSelector=o||this._generateScopeSelector(n);var a=ge.applyElementStyle(e,t.styleProperties,t.scopeSelector,i);return m||ge.applyElementScopeSelector(e,t.scopeSelector,s),r||nt.store(n,t.styleProperties,a,t.scopeSelector),a}},{key:"_updateProperties",value:function(e,t){var n=this._styleOwnerForNode(e),r=_e.get(n),o=r.styleProperties;n===this._documentOwner||o||(this._updateProperties(n,r),o=r.styleProperties);var i=Object.create(o||null),s=ge.hostAndRootPropertiesForScope(e,t.styleRules,t.cssBuild),a=ge.propertyDataFromStyles(r.styleRules,e).properties;Object.assign(i,s.hostProps,a,s.rootProps),this._mixinOverrideStyles(i,t.overrideStyleProperties),ge.reify(i),t.styleProperties=i}},{key:"_mixinOverrideStyles",value:function(e,t){for(var n in t){var r=t[n];(r||0===r)&&(e[n]=r)}}},{key:"styleDocument",value:function(e){this.styleSubtree(this._documentOwner,e)}},{key:"styleSubtree",value:function(e,t){var n=H(e),r=n.shadowRoot,o=this._isRootOwner(e);(r||o)&&this.styleElement(e,t);var i=o?n:r;if(i)for(var s=Array.from(i.querySelectorAll("*")).filter((function(e){return H(e).shadowRoot})),a=0;a<s.length;a++)this.styleSubtree(s[a])}},{key:"_revalidateCustomStyleApplyShim",value:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&this._revalidateApplyShim(r)}}},{key:"_applyCustomStyles",value:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&ge.applyCustomStyle(r,this._documentOwnerStyleInfo.styleProperties)}}},{key:"transformCustomStyleForDocument",value:function(e){var t=this,n=q(e);if(n!==this._documentOwnerStyleInfo.cssBuild&&(this._documentOwnerStyleInfo.cssBuild=n),!G(n)){var r=M(e);R(r,(function(e){m?de.normalizeRootSelector(e):de.documentRule(e),S&&""===n&&(t._ensure(),t._applyShim&&t._applyShim.transformRule(e))})),S?e.textContent=k(r):this._documentOwnerStyleInfo.styleRules.rules.push(r)}}},{key:"_revalidateApplyShim",value:function(e){if(S&&this._applyShim){var t=M(e);this._ensure(),this._applyShim.transformRules(t),e.textContent=k(t)}}},{key:"getComputedStyleValue",value:function(e,t){var n;return S||(n=(_e.get(e)||_e.get(this._styleOwnerForNode(e))).styleProperties[t]),(n=n||window.getComputedStyle(e).getPropertyValue(t))?n.trim():""}},{key:"setElementClass",value:function(e,t){var n,r=H(e).getRootNode();n=t?("string"==typeof t?t:String(t)).split(/\s/):[];var o=r.host&&r.host.localName;if(!o){var i=e.getAttribute("class");if(i)for(var s=i.split(/\s/),a=0;a<s.length;a++)if(s[a]===de.SCOPE_NAME){o=s[a+1];break}}if(o&&n.push(de.SCOPE_NAME,o),!S){var l=_e.get(e);l&&l.scopeSelector&&n.push(ge.XSCOPE_NAME,l.scopeSelector)}j(e,n.join(" "))}},{key:"_styleInfoForNode",value:function(e){return _e.get(e)}},{key:"scopeNode",value:function(e,t){de.element(e,t)}},{key:"unscopeNode",value:function(e,t){de.element(e,t,!0)}},{key:"scopeForNode",value:function(e){return Me(e)}},{key:"currentScopeForNode",value:function(e){return ke(e)}}])&&et(t.prototype,n),i&&et(t,i),e}();rt.prototype.flush=rt.prototype.flush,rt.prototype.prepareTemplate=rt.prototype.prepareTemplate,rt.prototype.styleElement=rt.prototype.styleElement,rt.prototype.styleDocument=rt.prototype.styleDocument,rt.prototype.styleSubtree=rt.prototype.styleSubtree,rt.prototype.getComputedStyleValue=rt.prototype.getComputedStyleValue,rt.prototype.setElementClass=rt.prototype.setElementClass,rt.prototype._styleInfoForNode=rt.prototype._styleInfoForNode,rt.prototype.transformCustomStyleForDocument=rt.prototype.transformCustomStyleForDocument,rt.prototype.getStyleAst=rt.prototype.getStyleAst,rt.prototype.styleAstToString=rt.prototype.styleAstToString,rt.prototype.flushCustomStyles=rt.prototype.flushCustomStyles,rt.prototype.scopeNode=rt.prototype.scopeNode,rt.prototype.unscopeNode=rt.prototype.unscopeNode,rt.prototype.scopeForNode=rt.prototype.scopeForNode,rt.prototype.currentScopeForNode=rt.prototype.currentScopeForNode,rt.prototype.prepareAdoptedCssText=rt.prototype.prepareAdoptedCssText,Object.defineProperties(rt.prototype,{nativeShadow:{get:function(){return m}},nativeCss:{get:function(){return S}}});
146
+ /**
147
+ @license
148
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
149
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
150
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
151
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
152
+ Code distributed by Google as part of the polymer project is also
153
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
154
+ */
155
+ var ot,it,st=new rt;window.ShadyCSS&&(ot=window.ShadyCSS.ApplyShim,it=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:st,prepareTemplate:function(e,t,n){st.flushCustomStyles(),st.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){st.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,n){st.flushCustomStyles(),st.prepareTemplateStyles(e,t,n)},styleSubtree:function(e,t){st.flushCustomStyles(),st.styleSubtree(e,t)},styleElement:function(e){st.flushCustomStyles(),st.styleElement(e)},styleDocument:function(e){st.flushCustomStyles(),st.styleDocument(e)},flushCustomStyles:function(){st.flushCustomStyles()},getComputedStyleValue:function(e,t){return st.getComputedStyleValue(e,t)},nativeCss:S,nativeShadow:m,cssBuild:u,disableRuntime:g},ot&&(window.ShadyCSS.ApplyShim=ot),it&&(window.ShadyCSS.CustomStyleInterface=it)}}]);
@@ -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([[17],{305:function(t,e){function n(t){return(n="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 r,i;i={},function(t,e){function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=d}function r(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(e,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach((function(n){if("auto"!=e[n]){if(("number"==typeof o[n]||"duration"==n)&&("number"!=typeof e[n]||isNaN(e[n])))return;if("fill"==n&&-1==c.indexOf(e[n]))return;if("direction"==n&&-1==f.indexOf(e[n]))return;if("playbackRate"==n&&1!==e[n]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[n]=e[n]}})):o.duration=e,o}function o(t,e,n,r){return t<0||t>1||n<0||n>1?d:function(i){function o(t,e,n){return 3*t*(1-n)*(1-n)*n+3*e*(1-n)*n*n+n*n*n}if(i<=0){var a=0;return t>0?a=e/t:!e&&n>0&&(a=r/n),a*i}if(i>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&t<1&&(s=(e-1)/(t-1)),1+s*(i-1)}for(var u=0,l=1;u<l;){var c=(u+l)/2,f=o(t,n,c);if(Math.abs(i-f)<1e-5)return o(e,r,c);f<i?u=c:l=c}return o(e,r,c)}}function a(t,e){return function(n){if(n>=1)return 1;var r=1/t;return(n+=e*r)-n%r}}function s(t){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=t;var e=v.animationTimingFunction;if(""==e&&r())throw new TypeError(t+" is not a valid value for easing");return e}function u(t){if("linear"==t)return d;var e=b.exec(t);if(e)return o.apply(this,e.slice(1).map(Number));var n=y.exec(t);if(n)return a(Number(n[1]),m);var r=T.exec(t);return r?a(Number(r[1]),{start:h,middle:p,end:m}[r[2]]):g[t]||d}function l(t,e,n){if(null==e)return x;var r=n.delay+t+n.endDelay;return e<Math.min(n.delay,r)?w:e>=Math.min(n.delay+t,r)?k:N}var c="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),d=function(t){return t};n.prototype={_setMember:function(e,n){this["_"+e]=n,this._effect&&(this._effect._timingInput[e]=n,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+t);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=u(s(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var h=1,p=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,p),"step-end":a(1,m)},v=null,_="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",b=new RegExp("cubic-bezier\\("+_+","+_+","+_+","+_+"\\)"),y=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,x=0,w=1,k=2,N=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var n in t)e[n]=t[n];return e},t.makeTiming=i,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,n){return i(e=t.numericTimingToObject(e),n)},t.calculateActiveDuration=function(t){return Math.abs(function(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}(t)/t.playbackRate)},t.calculateIterationProgress=function(t,e,n){var r=l(t,e,n),i=function(t,e,n,r,i){switch(r){case w:return"backwards"==e||"both"==e?0:null;case N:return n-i;case k:return"forwards"==e||"both"==e?t:null;case x:return null}}(t,n.fill,e,r,n.delay);if(null===i)return null;var o=function(t,e,n,r,i){var o=i;return 0===t?e!==w&&(o+=n):o+=r/t,o}(n.duration,r,n.iterations,i,n.iterationStart),a=function(t,e,n,r,i,o){var a=t===1/0?e%1:t%1;return 0!==a||n!==k||0===r||0===i&&0!==o||(a=1),a}(o,n.iterationStart,r,n.iterations,i,n.duration),s=function(t,e,n,r){return t===k&&e===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,o),u=function(t,e,n){var r=t;if("normal"!==t&&"reverse"!==t){var i=e;"alternate-reverse"===t&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(u)},t.calculatePhase=l,t.normalizeEasing=s,t.parseEasingFunction=u}(r={}),function(t,e){function n(t,e){return t in u&&u[t][e]||e}function r(t,e,r){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var i=o[t];if(i)for(var s in a.style[t]=e,i){var u=i[s],l=a.style[u];r[u]=n(u,l)}else r[t]=n(t,e)}}function i(t){var e=[];for(var n in t)if(!(n in["easing","offset","composite"])){var r=t[n];Array.isArray(r)||(r=[r]);for(var i,o=r.length,a=0;a<o;a++)(i={}).offset="offset"in t?t.offset:1==o?1:a/(o-1),"easing"in t&&(i.easing=t.easing),"composite"in t&&(i.composite=t.composite),i[n]=r[a],e.push(i)}return e.sort((function(t,e){return t.offset-e.offset})),e}var o={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},u={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArrayForm=i,t.normalizeKeyframes=function(e){if(null==e)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||(e=i(e));for(var n=e.map((function(e){var n={};for(var i in e){var o=e[i];if("offset"==i){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==i){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==i?t.normalizeEasing(o):""+o;r(i,o,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n})),o=!0,a=-1/0,s=0;s<n.length;s++){var u=n[s].offset;if(null!=u){if(u<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=u}else o=!1}return n=n.filter((function(t){return t.offset>=0&&t.offset<=1})),o||function(){var t=n.length;null==n[t-1].offset&&(n[t-1].offset=1),t>1&&null==n[0].offset&&(n[0].offset=0);for(var e=0,r=n[0].offset,i=1;i<t;i++){var o=n[i].offset;if(null!=o){for(var a=1;a<i-e;a++)n[e+a].offset=r+(o-r)*a/(i-e);e=i,r=o}}}(),n}}(r),function(t){var e={};t.isDeprecated=function(t,n,r,i){var o=i?"are":"is",a=new Date,s=new Date(n);return s.setMonth(s.getMonth()+3),!(a<s&&(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+r),e[t]=!0,1))},t.deprecated=function(e,n,r,i){var o=i?"are":"is";if(t.isDeprecated(e,n,r,i))throw new Error(e+" "+o+" no longer supported. "+r)}}(r),function(){if(document.documentElement.animate){var t=document.documentElement.animate([],0),e=!0;if(t&&(e=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach((function(n){void 0===t[n]&&(e=!0)}))),!e)return}!function(t,e,n){e.convertEffectInput=function(n){var r=function(t){for(var e={},n=0;n<t.length;n++)for(var r in t[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var i={offset:t[n].offset,easing:t[n].easing,value:t[n][r]};e[r]=e[r]||[],e[r].push(i)}for(var o in e){var a=e[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return e}(t.normalizeKeyframes(n)),i=function(n){var r=[];for(var i in n)for(var o=n[i],a=0;a<o.length-1;a++){var s=a,u=a+1,l=o[s].offset,c=o[u].offset,f=l,d=c;0==a&&(f=-1/0,0==c&&(u=s)),a==o.length-2&&(d=1/0,1==l&&(s=u)),r.push({applyFrom:f,applyTo:d,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:t.parseEasingFunction(o[s].easing),property:i,interpolation:e.propertyInterpolation(i,o[s].value,o[u].value)})}return r.sort((function(t,e){return t.startOffset-e.startOffset})),r}(r);return function(t,n){if(null!=n)i.filter((function(t){return n>=t.applyFrom&&n<t.applyTo})).forEach((function(r){var i=n-r.startOffset,o=r.endOffset-r.startOffset,a=0==o?0:r.easingFunction(i/o);e.apply(t,r.property,r.interpolation(a))}));else for(var o in r)"offset"!=o&&"easing"!=o&&"composite"!=o&&e.clear(t,o)}}}(r,i),function(t,e,n){function r(t){return t.replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))}function i(t,e,n){o[n]=o[n]||[],o[n].push([t,e])}var o={};e.addPropertiesHandler=function(t,e,n){for(var o=0;o<n.length;o++)i(t,e,r(n[o]))};var a={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};e.propertyInterpolation=function(n,i,s){var u=n;/-/.test(n)&&!t.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(u=r(n)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[u]),"initial"==s&&(s=a[u]));for(var l=i==s?[]:o[u],c=0;l&&c<l.length;c++){var f=l[c][0](i),d=l[c][0](s);if(void 0!==f&&void 0!==d){var h=l[c][1](f,d);if(h){var p=e.Interpolation.apply(null,h);return function(t){return 0==t?i:1==t?s:p(t)}}}}return e.Interpolation(!1,!0,(function(t){return t?s:i}))}}(r,i),function(t,e,n){e.KeyframeEffect=function(n,r,i,o){var a,s=function(e){var n=t.calculateActiveDuration(e),r=function(r){return t.calculateIterationProgress(n,r,e)};return r._totalDuration=e.delay+n+e.endDelay,r}(t.normalizeTimingInput(i)),u=e.convertEffectInput(r),l=function(){u(n,a)};return l._update=function(t){return null!==(a=s(t))},l._clear=function(){u(n,null)},l._hasSameTarget=function(t){return n===t},l._target=n,l._totalDuration=s._totalDuration,l._id=o,l}}(r,i),function(t,e){function n(t,e,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(t,e,n)}function r(t){this._element=t,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=t.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(t,e){return!(!e.namespaceURI||-1==e.namespaceURI.indexOf("/svg"))&&(o in t||(t[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(t.navigator.userAgent)),t[o])}(window,t),this._savedTransformAttr=null;for(var e=0;e<this._style.length;e++){var n=this._style[e];this._surrogateStyle[n]=this._style[n]}this._updateIndices()}function i(t){if(!t._webAnimationsPatchedStyle){var e=new r(t);try{n(t,"style",{get:function(){return e}})}catch(e){t.style._set=function(e,n){t.style[e]=n},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},u={removeProperty:1,setProperty:1};for(var l in r.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(t){for(var e={},n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(this._surrogateStyle.cssText=t,this._updateIndices(),n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(var r in e)this._isAnimatedProperty[r]||this._style.setProperty(r,this._surrogateStyle.getPropertyValue(r))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(t){return function(){return this._surrogateStyle[t]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(e,n){this._style[e]=n,this._isAnimatedProperty[e]=!0,this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",t.transformToSvgMatrix(n)))},_clear:function(e){this._style[e]=this._surrogateStyle[e],this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[e]}},s)r.prototype[l]=function(t,e){return function(){var n=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),n}}(l,l in u);for(var c in document.documentElement.style)c in a||c in s||function(t){n(r.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(c);t.apply=function(e,n,r){i(e),e.style._set(t.propertyName(n),r)},t.clear=function(e,n){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(n))}}(i),function(t){window.Element.prototype.animate=function(e,n){var r="";return n&&n.id&&(r=n.id),t.timeline._play(t.KeyframeEffect(this,e,n,r))}}(i),function(t,e){t.Interpolation=function(t,e,n){return function(r){return n(function t(e,n,r){if("number"==typeof e&&"number"==typeof n)return e*(1-r)+n*r;if("boolean"==typeof e&&"boolean"==typeof n)return r<.5?e:n;if(e.length==n.length){for(var i=[],o=0;o<e.length;o++)i.push(t(e[o],n[o],r));return i}throw"Mismatched interpolation arguments "+e+":"+n}(t,e,r))}}}(i),function(t,e){var n=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=e[r][o]*t[o][i];return n}return function(e,n,r,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var u=0;u<3;u++)a[3][s]+=e[u]*a[u][s];var l=i[0],c=i[1],f=i[2],d=i[3],h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];h[0][0]=1-2*(c*c+f*f),h[0][1]=2*(l*c-f*d),h[0][2]=2*(l*f+c*d),h[1][0]=2*(l*c+f*d),h[1][1]=1-2*(l*l+f*f),h[1][2]=2*(c*f-l*d),h[2][0]=2*(l*f-c*d),h[2][1]=2*(c*f+l*d),h[2][2]=1-2*(l*l+c*c),a=t(a,h);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(r[2]&&(p[2][1]=r[2],a=t(a,p)),r[1]&&(p[2][1]=0,p[2][0]=r[0],a=t(a,p)),r[0]&&(p[2][0]=0,p[1][0]=r[0],a=t(a,p)),s=0;s<3;s++)for(u=0;u<3;u++)a[s][u]*=n[s];return function(t){return 0==t[0][2]&&0==t[0][3]&&0==t[1][2]&&0==t[1][3]&&0==t[2][0]&&0==t[2][1]&&1==t[2][2]&&0==t[2][3]&&0==t[3][2]&&1==t[3][3]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();t.composeMatrix=n,t.quat=function(e,n,r){var i=t.dot(e,n),o=[];if(1===(i=function(t,e,n){return Math.max(Math.min(t,n),e)}(i,-1,1)))o=e;else for(var a=Math.acos(i),s=1*Math.sin(r*a)/Math.sqrt(1-i*i),u=0;u<4;u++)o.push(e[u]*(Math.cos(r*a)-i*s)+n[u]*s);return o}}(i),function(t,e,n){t.sequenceNumber=0;var r=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};e.Animation=function(e){this.id="",e&&e._id&&(this.id=e._id),this._sequenceNumber=t.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=e,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},e.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,e.timeline._animations.push(this))},_tickCurrentTime:function(t,e){t!=this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var n=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var n=this._finishHandlers.indexOf(e);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new r(this,this._currentTime,t),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){n.forEach((function(t){t.call(e.target,e)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(r,i),function(t,e,n){function r(t){var e=l;l=[],t<m.currentTime&&(t=m.currentTime),m._animations.sort(i),m._animations=s(t,!0,m._animations)[0],e.forEach((function(e){e[1](t)})),a()}function i(t,e){return t._sequenceNumber-e._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){h.forEach((function(t){t()})),h.length=0}function s(t,n,r){p=!0,d=!1,e.timeline.currentTime=t,f=!1;var i=[],o=[],a=[],s=[];return r.forEach((function(e){e._tick(t,n),e._inEffect?(o.push(e._effect),e._markTarget()):(i.push(e._effect),e._unmarkTarget()),e._needsTick&&(f=!0);var r=e._inEffect||e._needsTick;e._inTimeline=r,r?a.push(e):s.push(e)})),h.push.apply(h,i),h.push.apply(h,o),f&&requestAnimationFrame((function(){})),p=!1,[a,s]}var u=window.requestAnimationFrame,l=[],c=0;window.requestAnimationFrame=function(t){var e=c++;return 0==l.length&&u(r),l.push([e,t]),e},window.cancelAnimationFrame=function(t){l.forEach((function(e){e[0]==t&&(e[1]=function(){})}))},o.prototype={_play:function(n){n._timing=t.normalizeTimingInput(n.timing);var r=new e.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),e.restart(),e.applyDirtiedAnimation(r),r}};var f=!1,d=!1;e.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),d=!0),d},e.applyDirtiedAnimation=function(t){if(!p){t._markTarget();var n=t._targetAnimations();n.sort(i),s(e.timeline.currentTime,!1,n.slice())[1].forEach((function(t){var e=m._animations.indexOf(t);-1!==e&&m._animations.splice(e,1)})),a()}};var h=[],p=!1,m=new o;e.timeline=m}(r,i),function(t,e){function n(t,e){for(var n=0,r=0;r<t.length;r++)n+=t[r]*e[r];return n}function r(t,e){return[t[0]*e[0]+t[4]*e[1]+t[8]*e[2]+t[12]*e[3],t[1]*e[0]+t[5]*e[1]+t[9]*e[2]+t[13]*e[3],t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]*e[3],t[3]*e[0]+t[7]*e[1]+t[11]*e[2]+t[15]*e[3],t[0]*e[4]+t[4]*e[5]+t[8]*e[6]+t[12]*e[7],t[1]*e[4]+t[5]*e[5]+t[9]*e[6]+t[13]*e[7],t[2]*e[4]+t[6]*e[5]+t[10]*e[6]+t[14]*e[7],t[3]*e[4]+t[7]*e[5]+t[11]*e[6]+t[15]*e[7],t[0]*e[8]+t[4]*e[9]+t[8]*e[10]+t[12]*e[11],t[1]*e[8]+t[5]*e[9]+t[9]*e[10]+t[13]*e[11],t[2]*e[8]+t[6]*e[9]+t[10]*e[10]+t[14]*e[11],t[3]*e[8]+t[7]*e[9]+t[11]*e[10]+t[15]*e[11],t[0]*e[12]+t[4]*e[13]+t[8]*e[14]+t[12]*e[15],t[1]*e[12]+t[5]*e[13]+t[9]*e[14]+t[13]*e[15],t[2]*e[12]+t[6]*e[13]+t[10]*e[14]+t[14]*e[15],t[3]*e[12]+t[7]*e[13]+t[11]*e[14]+t[15]*e[15]]}function i(t){var e=t.rad||0;return((t.deg||0)/360+(t.grad||0)/400+(t.turn||0))*(2*Math.PI)+e}function o(t){switch(t.t){case"rotatex":var e=i(t.d[0]);return[1,0,0,0,0,Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1];case"rotatey":return e=i(t.d[0]),[Math.cos(e),0,-Math.sin(e),0,0,1,0,0,Math.sin(e),0,Math.cos(e),0,0,0,0,1];case"rotate":case"rotatez":return e=i(t.d[0]),[Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=t.d[0],r=t.d[1],o=t.d[2],a=(e=i(t.d[3]),n*n+r*r+o*o);if(0===a)n=1,r=0,o=0;else if(1!==a){var s=Math.sqrt(a);n/=s,r/=s,o/=s}var u=Math.sin(e/2),l=u*Math.cos(e/2),c=u*u;return[1-2*(r*r+o*o)*c,2*(n*r*c+o*l),2*(n*o*c-r*l),0,2*(n*r*c-o*l),1-2*(n*n+o*o)*c,2*(r*o*c+n*l),0,2*(n*o*c+r*l),2*(r*o*c-n*l),1-2*(n*n+r*r)*c,0,0,0,0,1];case"scale":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[t.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,t.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,t.d[0],0,0,0,0,1];case"scale3d":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,t.d[2],0,0,0,0,1];case"skew":var f=i(t.d[0]),d=i(t.d[1]);return[1,Math.tan(d),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return e=i(t.d[0]),[1,0,0,0,Math.tan(e),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return e=i(t.d[0]),[1,Math.tan(e),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,r=t.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,r=t.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o=t.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,r=t.d[1].px||0,o=t.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,t.d[0].px?-1/t.d[0].px:0,0,0,0,1];case"matrix":return[t.d[0],t.d[1],0,0,t.d[2],t.d[3],0,0,0,0,1,0,t.d[4],t.d[5],0,1];case"matrix3d":return t.d}}function a(t){return 0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(o).reduce(r)}var s=function(){function t(t){return t[0][0]*t[1][1]*t[2][2]+t[1][0]*t[2][1]*t[0][2]+t[2][0]*t[0][1]*t[1][2]-t[0][2]*t[1][1]*t[2][0]-t[1][2]*t[2][1]*t[0][0]-t[2][2]*t[0][1]*t[1][0]}function e(t){var e=r(t);return[t[0]/e,t[1]/e,t[2]/e]}function r(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])}function i(t,e,n,r){return[n*t[0]+r*e[0],n*t[1]+r*e[1],n*t[2]+r*e[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],u=0;u<4;u++)s.push(a[u].slice());for(u=0;u<3;u++)s[u][3]=0;if(0===t(s))return null;var l,c=[];a[0][3]||a[1][3]||a[2][3]?(c.push(a[0][3]),c.push(a[1][3]),c.push(a[2][3]),c.push(a[3][3]),l=function(t,e){for(var n=[],r=0;r<4;r++){for(var i=0,o=0;o<4;o++)i+=t[o]*e[o][r];n.push(i)}return n}(c,function(t){return[[t[0][0],t[1][0],t[2][0],t[3][0]],[t[0][1],t[1][1],t[2][1],t[3][1]],[t[0][2],t[1][2],t[2][2],t[3][2]],[t[0][3],t[1][3],t[2][3],t[3][3]]]}(function(e){for(var n=1/t(e),r=e[0][0],i=e[0][1],o=e[0][2],a=e[1][0],s=e[1][1],u=e[1][2],l=e[2][0],c=e[2][1],f=e[2][2],d=[[(s*f-u*c)*n,(o*c-i*f)*n,(i*u-o*s)*n,0],[(u*l-a*f)*n,(r*f-o*l)*n,(o*a-r*u)*n,0],[(a*c-s*l)*n,(l*i-r*c)*n,(r*s-i*a)*n,0]],h=[],p=0;p<3;p++){for(var m=0,g=0;g<3;g++)m+=e[3][g]*d[g][p];h.push(m)}return h.push(1),d.push(h),d}(s)))):l=[0,0,0,1];var f=a[3].slice(0,3),d=[];d.push(a[0].slice(0,3));var h=[];h.push(r(d[0])),d[0]=e(d[0]);var p=[];d.push(a[1].slice(0,3)),p.push(n(d[0],d[1])),d[1]=i(d[1],d[0],1,-p[0]),h.push(r(d[1])),d[1]=e(d[1]),p[0]/=h[1],d.push(a[2].slice(0,3)),p.push(n(d[0],d[2])),d[2]=i(d[2],d[0],1,-p[1]),p.push(n(d[1],d[2])),d[2]=i(d[2],d[1],1,-p[2]),h.push(r(d[2])),d[2]=e(d[2]),p[1]/=h[2],p[2]/=h[2];var m=function(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}(d[1],d[2]);if(n(d[0],m)<0)for(u=0;u<3;u++)h[u]*=-1,d[u][0]*=-1,d[u][1]*=-1,d[u][2]*=-1;var g,v,_=d[0][0]+d[1][1]+d[2][2]+1;return _>1e-4?(g=.5/Math.sqrt(_),v=[(d[2][1]-d[1][2])*g,(d[0][2]-d[2][0])*g,(d[1][0]-d[0][1])*g,.25/g]):d[0][0]>d[1][1]&&d[0][0]>d[2][2]?v=[.25*(g=2*Math.sqrt(1+d[0][0]-d[1][1]-d[2][2])),(d[0][1]+d[1][0])/g,(d[0][2]+d[2][0])/g,(d[2][1]-d[1][2])/g]:d[1][1]>d[2][2]?(g=2*Math.sqrt(1+d[1][1]-d[0][0]-d[2][2]),v=[(d[0][1]+d[1][0])/g,.25*g,(d[1][2]+d[2][1])/g,(d[0][2]-d[2][0])/g]):(g=2*Math.sqrt(1+d[2][2]-d[0][0]-d[1][1]),v=[(d[0][2]+d[2][0])/g,(d[1][2]+d[2][1])/g,.25*g,(d[1][0]-d[0][1])/g]),[f,h,p,v,l]}}();t.dot=n,t.makeMatrixDecomposition=function(t){return[s(a(t))]},t.transformListToMatrix=a}(i),function(t){function e(t,e){var n=t.exec(e);if(n)return[n=t.ignoreCase?n[0].toLowerCase():n[0],e.substr(n.length)]}function n(t,e){var n=t(e=e.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(t,e,n,r,i){for(var o=[],a=[],s=[],u=function(t,e){for(var n=t,r=e;n&&r;)n>r?n%=r:r%=n;return t*e/(n+r)}(r.length,i.length),l=0;l<u;l++){var c=e(r[l%r.length],i[l%i.length]);if(!c)return;o.push(c[0]),a.push(c[1]),s.push(c[2])}return[o,a,function(e){var r=e.map((function(t,e){return s[e](t)})).join(n);return t?t(r):r}]}t.consumeToken=e,t.consumeTrimmed=n,t.consumeRepeated=function(t,r,i){t=n.bind(null,t);for(var o=[];;){var a=t(i);if(!a)return[o,i];if(o.push(a[0]),!(a=e(r,i=a[1]))||""==a[1])return[o,i];i=a[1]}},t.consumeParenthesised=function(t,e){for(var n=0,r=0;r<e.length&&(!/\s|,/.test(e[r])||0!=n);r++)if("("==e[r])n++;else if(")"==e[r]&&(0==--n&&r++,n<=0))break;var i=t(e.substr(0,r));return null==i?void 0:[i,e.substr(r)]},t.ignore=function(t){return function(e){var n=t(e);return n&&(n[0]=void 0),n}},t.optional=function(t,e){return function(n){return t(n)||[e,n]}},t.consumeList=function(e,n){for(var r=[],i=0;i<e.length;i++){var o=t.consumeTrimmed(e[i],n);if(!o||""==o[0])return;void 0!==o[0]&&r.push(o[0]),n=o[1]}if(""==n)return r},t.mergeNestedRepeated=r.bind(null,null),t.mergeWrappedNestedRepeated=r,t.mergeList=function(t,e,n){for(var r=[],i=[],o=[],a=0,s=0;s<n.length;s++)if("function"==typeof n[s]){var u=n[s](t[a],e[a++]);r.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(t){r.push(!1),i.push(!1),o.push((function(){return n[t]}))}(s);return[r,i,function(t){for(var e="",n=0;n<t.length;n++)e+=o[n](t[n]);return e}]}}(i),function(t){function e(e){var n={inset:!1,lengths:[],color:null},r=t.consumeRepeated((function(e){var r=t.consumeToken(/^inset/i,e);return r?(n.inset=!0,r):(r=t.consumeLengthOrPercent(e))?(n.lengths.push(r[0]),r):(r=t.consumeColor(e))?(n.color=r[0],r):void 0}),/^/,e);if(r&&r[0].length)return[n,r[1]]}var n=function(e,n,r,i){function o(t){return{inset:t,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<r.length||u<i.length;u++){var l=r[u]||o(i[u].inset),c=i[u]||o(r[u].inset);a.push(l),s.push(c)}return t.mergeNestedRepeated(e,n,a,s)}.bind(null,(function(e,n){for(;e.lengths.length<Math.max(e.lengths.length,n.lengths.length);)e.lengths.push({px:0});for(;n.lengths.length<Math.max(e.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(e.inset==n.inset&&!!e.color==!!n.color){for(var r,i=[],o=[[],0],a=[[],0],s=0;s<e.lengths.length;s++){var u=t.mergeDimensions(e.lengths[s],n.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(e.color&&n.color){var l=t.mergeColors(e.color,n.color);o[1]=l[0],a[1]=l[1],r=l[2]}return[o,a,function(t){for(var n=e.inset?"inset ":" ",o=0;o<i.length;o++)n+=i[o](t[0][o])+" ";return r&&(n+=r(t[1])),n}]}}),", ");t.addPropertiesHandler((function(n){var r=t.consumeRepeated(e,/^,/,n);if(r&&""==r[1])return r[0]}),n,["box-shadow","text-shadow"])}(i),function(t,e){function n(t){return t.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(t,e,n){return Math.min(e,Math.max(t,n))}function i(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}function o(t,e){return function(i,o){return[i,o,function(i){return n(r(t,e,i))}]}}function a(t){var e=t.trim().split(/\s*[\s,]\s*/);if(0!==e.length){for(var n=[],r=0;r<e.length;r++){var o=i(e[r]);if(void 0===o)return;n.push(o)}return n}}t.clamp=r,t.addPropertiesHandler(a,(function(t,e){if(t.length==e.length)return[t,e,function(t){return t.map(n).join(" ")}]}),["stroke-dasharray"]),t.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(i,(function(t,e){if(0!=t)return o(0,1/0)(t,e)}),["flex-grow","flex-shrink"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,function(t){return Math.round(r(1,1/0,t))}]}),["orphans","widows"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,Math.round]}),["z-index"]),t.parseNumber=i,t.parseNumberList=a,t.mergeNumbers=function(t,e){return[t,e,n]},t.numberToString=n}(i),function(t,e){t.addPropertiesHandler(String,(function(t,e){if("visible"==t||"visible"==e)return[0,1,function(n){return n<=0?t:n>=1?e:"visible"}]}),["visibility"])}(i),function(t,e){function n(t){t=t.trim(),o.fillStyle="#000",o.fillStyle=t;var e=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=t,e==o.fillStyle){o.fillRect(0,0,1,1);var n=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(e,n){return[e,n,function(e){function n(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var r=0;r<3;r++)e[r]=Math.round(n(e[r]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");t.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,n),t.mergeColors=r}(i),function(t,e){function n(t){function e(){var e=a.exec(t);o=e?e[0]:void 0}function n(){if("("!==o)return function(){var t=Number(o);return e(),t}();e();var t=i();return")"!==o?NaN:(e(),t)}function r(){for(var t=n();"*"===o||"/"===o;){var r=o;e();var i=n();"*"===r?t*=i:t/=i}return t}function i(){for(var t=r();"+"===o||"-"===o;){var n=o;e();var i=r();"+"===n?t+=i:t-=i}return t}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),i()}function r(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){e=e.replace(/calc\(/g,"(");var r={};e=e.replace(t,(function(t){return r[t]=null,"U"+t}));for(var i="U("+t.source+")",o=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var u in r){var l=n(e.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(l))return;r[u]=l}return r}}}function i(t,e){return o(t,e,!0)}function o(e,n,r){var i,o=[];for(i in e)o.push(i);for(i in n)o.indexOf(i)<0&&o.push(i);return e=o.map((function(t){return e[t]||0})),n=o.map((function(t){return n[t]||0})),[e,n,function(e){var n=e.map((function(n,i){return 1==e.length&&r&&(n=Math.max(n,0)),t.numberToString(n)+o[i]})).join(" + ");return e.length>1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),u=r.bind(null,new RegExp(a+"|%","g")),l=r.bind(null,/deg|rad|grad|turn/g);t.parseLength=s,t.parseLengthOrPercent=u,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,u),t.parseAngle=l,t.mergeDimensions=o;var c=t.consumeParenthesised.bind(null,s),f=t.consumeRepeated.bind(void 0,c,/^/),d=t.consumeRepeated.bind(void 0,f,/^,/);t.consumeSizePairList=d;var h=t.mergeNestedRepeated.bind(void 0,i," "),p=t.mergeNestedRepeated.bind(void 0,h,",");t.mergeNonNegativeSizePair=h,t.addPropertiesHandler((function(t){var e=d(t);if(e&&""==e[1])return e[0]}),p,["background-size"]),t.addPropertiesHandler(u,i,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),t.addPropertiesHandler(u,o,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(i),function(t,e){function n(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function r(e){var r=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,n,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(r&&4==r[0].length)return r[0]}var i=t.mergeWrappedNestedRepeated.bind(null,(function(t){return"rect("+t+")"}),(function(e,n){return"auto"==e||"auto"==n?[!0,!1,function(r){var i=r?e:n;if("auto"==i)return"auto";var o=t.mergeDimensions(i,i);return o[2](o[0])}]:t.mergeDimensions(e,n)}),", ");t.parseBox=r,t.mergeBoxes=i,t.addPropertiesHandler(r,i,["clip"])}(i),function(t,e){function n(t){return function(e){var n=0;return t.map((function(t){return t===l?e[n++]:t}))}}function r(t){return t}function i(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;n=r.exec(e);){if(n.index!=o)return;o=n.index+n[0].length;var a=n[1],s=d[a];if(!s)return;var u=n[2].split(","),l=s[0];if(l.length<u.length)return;for(var h=[],p=0;p<l.length;p++){var m,g=u[p],v=l[p];if(void 0===(m=g?{A:function(e){return"0"==e.trim()?f:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[v.toUpperCase()](g):{a:f,n:h[0],t:c}[v]))return;h.push(m)}if(i.push({t:a,d:h}),r.lastIndex==e.length)return i}}function o(t){return t.toFixed(6).replace(".000000","")}function a(e,n){if(e.decompositionPair!==n){e.decompositionPair=n;var r=t.makeMatrixDecomposition(e)}if(n.decompositionPair!==e){n.decompositionPair=e;var i=t.makeMatrixDecomposition(n)}return null==r[0]||null==i[0]?[[!1],[!0],function(t){return t?n[0].d:e[0].d}]:(r[0].push(0),i[0].push(1),[r,i,function(e){var n=t.quat(r[0][3],i[0][3],e[5]);return t.composeMatrix(e[0],e[1],e[2],n,e[4]).map(o).join(",")}])}function s(t){return t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}var l=null,c={px:0},f={deg:0},d={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],r],matrix3d:["NNNNNNNNNNNNNNNN",r],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",n([l,l,1]),r],scalex:["N",n([l,1,1]),n([l,1])],scaley:["N",n([1,l,1]),n([1,l])],scalez:["N",n([1,1,l])],scale3d:["NNN",r],skew:["Aa",null,r],skewx:["A",null,n([l,f])],skewy:["A",null,n([f,l])],translate:["Tt",n([l,l,c]),r],translatex:["T",n([l,c,c]),n([l,c])],translatey:["T",n([c,l,c]),n([c,l])],translatez:["L",n([c,c,l])],translate3d:["TTL",r]};t.addPropertiesHandler(i,(function(e,n){var r=t.makeMatrixDecomposition&&!0,i=!1;if(!e.length||!n.length){e.length||(i=!0,e=n,n=[]);for(var o=0;o<e.length;o++){var l=e[o].t,c=e[o].d,f="scale"==l.substr(0,5)?1:0;n.push({t:l,d:c.map((function(t){if("number"==typeof t)return f;var e={};for(var n in t)e[n]=f;return e}))})}}var h=function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)},p=[],m=[],g=[];if(e.length!=n.length){if(!r)return;p=[(w=a(e,n))[0]],m=[w[1]],g=[["matrix",[w[2]]]]}else for(o=0;o<e.length;o++){var v=e[o].t,_=n[o].t,b=e[o].d,y=n[o].d,T=d[v],x=d[_];if(h(v,_)){if(!r)return;var w=a([e[o]],[n[o]]);p.push(w[0]),m.push(w[1]),g.push(["matrix",[w[2]]])}else{if(v==_)l=v;else if(T[2]&&x[2]&&s(v)==s(_))l=s(v),b=T[2](b),y=x[2](y);else{if(!T[1]||!x[1]||u(v)!=u(_)){if(!r)return;p=[(w=a(e,n))[0]],m=[w[1]],g=[["matrix",[w[2]]]];break}l=u(v),b=T[1](b),y=x[1](y)}for(var k=[],N=[],S=[],R=0;R<b.length;R++)w=("number"==typeof b[R]?t.mergeNumbers:t.mergeDimensions)(b[R],y[R]),k[R]=w[0],N[R]=w[1],S.push(w[2]);p.push(k),m.push(N),g.push([l,S])}}if(i){var P=p;p=m,m=P}return[p,m,function(t){return t.map((function(t,e){var n=t.map((function(t,n){return g[e][1][n](t)})).join(",");return"matrix"==g[e][0]&&16==n.split(",").length&&(g[e][0]="matrix3d"),g[e][0]+"("+n+")"})).join(" ")}]}),["transform"]),t.transformToSvgMatrix=function(e){var n=t.transformListToMatrix(i(e));return"matrix("+o(n[0])+" "+o(n[1])+" "+o(n[4])+" "+o(n[5])+" "+o(n[12])+" "+o(n[13])+")"}}(i),function(t){function e(e){return e=100*Math.round(e/100),400===(e=t.clamp(100,900,e))?"normal":700===e?"bold":String(e)}t.addPropertiesHandler((function(t){var e=Number(t);if(!(isNaN(e)||e<100||e>900||e%100!=0))return e}),(function(t,n){return[t,n,e]}),["font-weight"])}(i),function(t){function e(t){var e={};for(var n in t)e[n]=-t[n];return e}function r(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function i(e,i){var o=t.consumeRepeated(r,/^/,i);if(o&&""==o[1]){var s=o[0];if(s[0]=s[0]||"center",s[1]=s[1]||"center",3==e&&(s[2]=s[2]||{px:0}),s.length==e){if(/top|bottom/.test(s[0])||/left|right/.test(s[1])){var u=s[0];s[0]=s[1],s[1]=u}if(/left|right|center|Object/.test(s[0])&&/top|bottom|center|Object/.test(s[1]))return s.map((function(t){return"object"==n(t)?t:a[t]}))}}}function o(n){var i=t.consumeRepeated(r,/^/,n);if(i){for(var o=i[0],s=[{"%":50},{"%":50}],u=0,l=!1,c=0;c<o.length;c++){var f=o[c];"string"==typeof f?(l=/bottom|right/.test(f),s[u={left:0,right:0,center:u,top:1,bottom:1}[f]]=a[f],"center"==f&&u++):(l&&((f=e(f))["%"]=(f["%"]||0)+100),s[u]=f,u++,l=!1)}return[s,i[1]]}}var a={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},s=t.mergeNestedRepeated.bind(null,t.mergeDimensions," ");t.addPropertiesHandler(i.bind(null,3),s,["transform-origin"]),t.addPropertiesHandler(i.bind(null,2),s,["perspective-origin"]),t.consumePosition=o,t.mergeOffsetList=s;var u=t.mergeNestedRepeated.bind(null,s,", ");t.addPropertiesHandler((function(e){var n=t.consumeRepeated(o,/^,/,e);if(n&&""==n[1])return n[0]}),u,["background-position","object-position"])}(i),function(t){var e=t.consumeParenthesised.bind(null,t.parseLengthOrPercent),n=t.consumeRepeated.bind(void 0,e,/^/),r=t.mergeNestedRepeated.bind(void 0,t.mergeDimensions," "),i=t.mergeNestedRepeated.bind(void 0,r,",");t.addPropertiesHandler((function(r){var i=t.consumeToken(/^circle/,r);if(i&&i[0])return["circle"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),e,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],i[1]));var o=t.consumeToken(/^ellipse/,r);if(o&&o[0])return["ellipse"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),n,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],o[1]));var a=t.consumeToken(/^polygon/,r);return a&&a[0]?["polygon"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),t.optional(t.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),t.consumeSizePairList,t.ignore(t.consumeToken.bind(void 0,/^\)/))],a[1])):void 0}),(function(e,n){if(e[0]===n[0])return"circle"==e[0]?t.mergeList(e.slice(1),n.slice(1),["circle(",t.mergeDimensions," at ",t.mergeOffsetList,")"]):"ellipse"==e[0]?t.mergeList(e.slice(1),n.slice(1),["ellipse(",t.mergeNonNegativeSizePair," at ",t.mergeOffsetList,")"]):"polygon"==e[0]&&e[1]==n[1]?t.mergeList(e.slice(2),n.slice(2),["polygon(",e[1],i,")"]):void 0}),["shape-outside"])}(i),function(t,e){function n(t,e){e.concat([t]).forEach((function(e){e in document.documentElement.style&&(r[t]=e),i[e]=t}))}var r={},i={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return r[t]||t},t.unprefixedPropertyName=function(t){return i[t]||t}}(i)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var t=function(){return performance.now()};else t=function(){return Date.now()};var e=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},n=window.Element.prototype.animate;window.Element.prototype.animate=function(r,i){var o=n.call(this,r,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var n=new e(this,null,t()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout((function(){r.forEach((function(t){t.call(n.target,n)}))}),0)};var s=o.addEventListener;o.addEventListener=function(t,e){"function"==typeof e&&"cancel"==t?this._cancelHandlers.push(e):s.call(this,t,e)};var u=o.removeEventListener;return o.removeEventListener=function(t,e){if("cancel"==t){var n=this._cancelHandlers.indexOf(e);n>=0&&this._cancelHandlers.splice(n,1)}else u.call(this,t,e)},o}}}(),function(t){var e=document.documentElement,n=null,r=!1;try{var i="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(n=e.animate({opacity:[i,i]},{duration:1})).currentTime=0,r=getComputedStyle(e).getPropertyValue("opacity")==i}catch(t){}finally{n&&n.cancel()}if(!r){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(e,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),o.call(this,e,n)}}}(r)}}]);
@@ -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([[13],{301:function(t,e){function n(t){return(n="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 r,i;i={},function(t,e){function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=d}function r(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(e,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach((function(n){if("auto"!=e[n]){if(("number"==typeof o[n]||"duration"==n)&&("number"!=typeof e[n]||isNaN(e[n])))return;if("fill"==n&&-1==c.indexOf(e[n]))return;if("direction"==n&&-1==f.indexOf(e[n]))return;if("playbackRate"==n&&1!==e[n]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[n]=e[n]}})):o.duration=e,o}function o(t,e,n,r){return t<0||t>1||n<0||n>1?d:function(i){function o(t,e,n){return 3*t*(1-n)*(1-n)*n+3*e*(1-n)*n*n+n*n*n}if(i<=0){var a=0;return t>0?a=e/t:!e&&n>0&&(a=r/n),a*i}if(i>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&t<1&&(s=(e-1)/(t-1)),1+s*(i-1)}for(var u=0,l=1;u<l;){var c=(u+l)/2,f=o(t,n,c);if(Math.abs(i-f)<1e-5)return o(e,r,c);f<i?u=c:l=c}return o(e,r,c)}}function a(t,e){return function(n){if(n>=1)return 1;var r=1/t;return(n+=e*r)-n%r}}function s(t){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=t;var e=v.animationTimingFunction;if(""==e&&r())throw new TypeError(t+" is not a valid value for easing");return e}function u(t){if("linear"==t)return d;var e=b.exec(t);if(e)return o.apply(this,e.slice(1).map(Number));var n=y.exec(t);if(n)return a(Number(n[1]),m);var r=T.exec(t);return r?a(Number(r[1]),{start:h,middle:p,end:m}[r[2]]):g[t]||d}function l(t,e,n){if(null==e)return x;var r=n.delay+t+n.endDelay;return e<Math.min(n.delay,r)?w:e>=Math.min(n.delay+t,r)?k:N}var c="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),d=function(t){return t};n.prototype={_setMember:function(e,n){this["_"+e]=n,this._effect&&(this._effect._timingInput[e]=n,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+t);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=u(s(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var h=1,p=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,p),"step-end":a(1,m)},v=null,_="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",b=new RegExp("cubic-bezier\\("+_+","+_+","+_+","+_+"\\)"),y=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,x=0,w=1,k=2,N=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var n in t)e[n]=t[n];return e},t.makeTiming=i,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,n){return i(e=t.numericTimingToObject(e),n)},t.calculateActiveDuration=function(t){return Math.abs(function(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}(t)/t.playbackRate)},t.calculateIterationProgress=function(t,e,n){var r=l(t,e,n),i=function(t,e,n,r,i){switch(r){case w:return"backwards"==e||"both"==e?0:null;case N:return n-i;case k:return"forwards"==e||"both"==e?t:null;case x:return null}}(t,n.fill,e,r,n.delay);if(null===i)return null;var o=function(t,e,n,r,i){var o=i;return 0===t?e!==w&&(o+=n):o+=r/t,o}(n.duration,r,n.iterations,i,n.iterationStart),a=function(t,e,n,r,i,o){var a=t===1/0?e%1:t%1;return 0!==a||n!==k||0===r||0===i&&0!==o||(a=1),a}(o,n.iterationStart,r,n.iterations,i,n.duration),s=function(t,e,n,r){return t===k&&e===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,o),u=function(t,e,n){var r=t;if("normal"!==t&&"reverse"!==t){var i=e;"alternate-reverse"===t&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(u)},t.calculatePhase=l,t.normalizeEasing=s,t.parseEasingFunction=u}(r={}),function(t,e){function n(t,e){return t in u&&u[t][e]||e}function r(t,e,r){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var i=o[t];if(i)for(var s in a.style[t]=e,i){var u=i[s],l=a.style[u];r[u]=n(u,l)}else r[t]=n(t,e)}}function i(t){var e=[];for(var n in t)if(!(n in["easing","offset","composite"])){var r=t[n];Array.isArray(r)||(r=[r]);for(var i,o=r.length,a=0;a<o;a++)(i={}).offset="offset"in t?t.offset:1==o?1:a/(o-1),"easing"in t&&(i.easing=t.easing),"composite"in t&&(i.composite=t.composite),i[n]=r[a],e.push(i)}return e.sort((function(t,e){return t.offset-e.offset})),e}var o={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},u={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArrayForm=i,t.normalizeKeyframes=function(e){if(null==e)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||(e=i(e));for(var n=e.map((function(e){var n={};for(var i in e){var o=e[i];if("offset"==i){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==i){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==i?t.normalizeEasing(o):""+o;r(i,o,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n})),o=!0,a=-1/0,s=0;s<n.length;s++){var u=n[s].offset;if(null!=u){if(u<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=u}else o=!1}return n=n.filter((function(t){return t.offset>=0&&t.offset<=1})),o||function(){var t=n.length;null==n[t-1].offset&&(n[t-1].offset=1),t>1&&null==n[0].offset&&(n[0].offset=0);for(var e=0,r=n[0].offset,i=1;i<t;i++){var o=n[i].offset;if(null!=o){for(var a=1;a<i-e;a++)n[e+a].offset=r+(o-r)*a/(i-e);e=i,r=o}}}(),n}}(r),function(t){var e={};t.isDeprecated=function(t,n,r,i){var o=i?"are":"is",a=new Date,s=new Date(n);return s.setMonth(s.getMonth()+3),!(a<s&&(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+r),e[t]=!0,1))},t.deprecated=function(e,n,r,i){var o=i?"are":"is";if(t.isDeprecated(e,n,r,i))throw new Error(e+" "+o+" no longer supported. "+r)}}(r),function(){if(document.documentElement.animate){var t=document.documentElement.animate([],0),e=!0;if(t&&(e=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach((function(n){void 0===t[n]&&(e=!0)}))),!e)return}!function(t,e,n){e.convertEffectInput=function(n){var r=function(t){for(var e={},n=0;n<t.length;n++)for(var r in t[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var i={offset:t[n].offset,easing:t[n].easing,value:t[n][r]};e[r]=e[r]||[],e[r].push(i)}for(var o in e){var a=e[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return e}(t.normalizeKeyframes(n)),i=function(n){var r=[];for(var i in n)for(var o=n[i],a=0;a<o.length-1;a++){var s=a,u=a+1,l=o[s].offset,c=o[u].offset,f=l,d=c;0==a&&(f=-1/0,0==c&&(u=s)),a==o.length-2&&(d=1/0,1==l&&(s=u)),r.push({applyFrom:f,applyTo:d,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:t.parseEasingFunction(o[s].easing),property:i,interpolation:e.propertyInterpolation(i,o[s].value,o[u].value)})}return r.sort((function(t,e){return t.startOffset-e.startOffset})),r}(r);return function(t,n){if(null!=n)i.filter((function(t){return n>=t.applyFrom&&n<t.applyTo})).forEach((function(r){var i=n-r.startOffset,o=r.endOffset-r.startOffset,a=0==o?0:r.easingFunction(i/o);e.apply(t,r.property,r.interpolation(a))}));else for(var o in r)"offset"!=o&&"easing"!=o&&"composite"!=o&&e.clear(t,o)}}}(r,i),function(t,e,n){function r(t){return t.replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))}function i(t,e,n){o[n]=o[n]||[],o[n].push([t,e])}var o={};e.addPropertiesHandler=function(t,e,n){for(var o=0;o<n.length;o++)i(t,e,r(n[o]))};var a={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};e.propertyInterpolation=function(n,i,s){var u=n;/-/.test(n)&&!t.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(u=r(n)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[u]),"initial"==s&&(s=a[u]));for(var l=i==s?[]:o[u],c=0;l&&c<l.length;c++){var f=l[c][0](i),d=l[c][0](s);if(void 0!==f&&void 0!==d){var h=l[c][1](f,d);if(h){var p=e.Interpolation.apply(null,h);return function(t){return 0==t?i:1==t?s:p(t)}}}}return e.Interpolation(!1,!0,(function(t){return t?s:i}))}}(r,i),function(t,e,n){e.KeyframeEffect=function(n,r,i,o){var a,s=function(e){var n=t.calculateActiveDuration(e),r=function(r){return t.calculateIterationProgress(n,r,e)};return r._totalDuration=e.delay+n+e.endDelay,r}(t.normalizeTimingInput(i)),u=e.convertEffectInput(r),l=function(){u(n,a)};return l._update=function(t){return null!==(a=s(t))},l._clear=function(){u(n,null)},l._hasSameTarget=function(t){return n===t},l._target=n,l._totalDuration=s._totalDuration,l._id=o,l}}(r,i),function(t,e){function n(t,e,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(t,e,n)}function r(t){this._element=t,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=t.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(t,e){return!(!e.namespaceURI||-1==e.namespaceURI.indexOf("/svg"))&&(o in t||(t[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(t.navigator.userAgent)),t[o])}(window,t),this._savedTransformAttr=null;for(var e=0;e<this._style.length;e++){var n=this._style[e];this._surrogateStyle[n]=this._style[n]}this._updateIndices()}function i(t){if(!t._webAnimationsPatchedStyle){var e=new r(t);try{n(t,"style",{get:function(){return e}})}catch(e){t.style._set=function(e,n){t.style[e]=n},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},u={removeProperty:1,setProperty:1};for(var l in r.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(t){for(var e={},n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(this._surrogateStyle.cssText=t,this._updateIndices(),n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(var r in e)this._isAnimatedProperty[r]||this._style.setProperty(r,this._surrogateStyle.getPropertyValue(r))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(t){return function(){return this._surrogateStyle[t]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(e,n){this._style[e]=n,this._isAnimatedProperty[e]=!0,this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",t.transformToSvgMatrix(n)))},_clear:function(e){this._style[e]=this._surrogateStyle[e],this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[e]}},s)r.prototype[l]=function(t,e){return function(){var n=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),n}}(l,l in u);for(var c in document.documentElement.style)c in a||c in s||function(t){n(r.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(c);t.apply=function(e,n,r){i(e),e.style._set(t.propertyName(n),r)},t.clear=function(e,n){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(n))}}(i),function(t){window.Element.prototype.animate=function(e,n){var r="";return n&&n.id&&(r=n.id),t.timeline._play(t.KeyframeEffect(this,e,n,r))}}(i),function(t,e){t.Interpolation=function(t,e,n){return function(r){return n(function t(e,n,r){if("number"==typeof e&&"number"==typeof n)return e*(1-r)+n*r;if("boolean"==typeof e&&"boolean"==typeof n)return r<.5?e:n;if(e.length==n.length){for(var i=[],o=0;o<e.length;o++)i.push(t(e[o],n[o],r));return i}throw"Mismatched interpolation arguments "+e+":"+n}(t,e,r))}}}(i),function(t,e){var n=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=e[r][o]*t[o][i];return n}return function(e,n,r,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var u=0;u<3;u++)a[3][s]+=e[u]*a[u][s];var l=i[0],c=i[1],f=i[2],d=i[3],h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];h[0][0]=1-2*(c*c+f*f),h[0][1]=2*(l*c-f*d),h[0][2]=2*(l*f+c*d),h[1][0]=2*(l*c+f*d),h[1][1]=1-2*(l*l+f*f),h[1][2]=2*(c*f-l*d),h[2][0]=2*(l*f-c*d),h[2][1]=2*(c*f+l*d),h[2][2]=1-2*(l*l+c*c),a=t(a,h);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(r[2]&&(p[2][1]=r[2],a=t(a,p)),r[1]&&(p[2][1]=0,p[2][0]=r[0],a=t(a,p)),r[0]&&(p[2][0]=0,p[1][0]=r[0],a=t(a,p)),s=0;s<3;s++)for(u=0;u<3;u++)a[s][u]*=n[s];return function(t){return 0==t[0][2]&&0==t[0][3]&&0==t[1][2]&&0==t[1][3]&&0==t[2][0]&&0==t[2][1]&&1==t[2][2]&&0==t[2][3]&&0==t[3][2]&&1==t[3][3]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();t.composeMatrix=n,t.quat=function(e,n,r){var i=t.dot(e,n),o=[];if(1===(i=function(t,e,n){return Math.max(Math.min(t,n),e)}(i,-1,1)))o=e;else for(var a=Math.acos(i),s=1*Math.sin(r*a)/Math.sqrt(1-i*i),u=0;u<4;u++)o.push(e[u]*(Math.cos(r*a)-i*s)+n[u]*s);return o}}(i),function(t,e,n){t.sequenceNumber=0;var r=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};e.Animation=function(e){this.id="",e&&e._id&&(this.id=e._id),this._sequenceNumber=t.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=e,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},e.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,e.timeline._animations.push(this))},_tickCurrentTime:function(t,e){t!=this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var n=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var n=this._finishHandlers.indexOf(e);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new r(this,this._currentTime,t),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){n.forEach((function(t){t.call(e.target,e)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(r,i),function(t,e,n){function r(t){var e=l;l=[],t<m.currentTime&&(t=m.currentTime),m._animations.sort(i),m._animations=s(t,!0,m._animations)[0],e.forEach((function(e){e[1](t)})),a()}function i(t,e){return t._sequenceNumber-e._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){h.forEach((function(t){t()})),h.length=0}function s(t,n,r){p=!0,d=!1,e.timeline.currentTime=t,f=!1;var i=[],o=[],a=[],s=[];return r.forEach((function(e){e._tick(t,n),e._inEffect?(o.push(e._effect),e._markTarget()):(i.push(e._effect),e._unmarkTarget()),e._needsTick&&(f=!0);var r=e._inEffect||e._needsTick;e._inTimeline=r,r?a.push(e):s.push(e)})),h.push.apply(h,i),h.push.apply(h,o),f&&requestAnimationFrame((function(){})),p=!1,[a,s]}var u=window.requestAnimationFrame,l=[],c=0;window.requestAnimationFrame=function(t){var e=c++;return 0==l.length&&u(r),l.push([e,t]),e},window.cancelAnimationFrame=function(t){l.forEach((function(e){e[0]==t&&(e[1]=function(){})}))},o.prototype={_play:function(n){n._timing=t.normalizeTimingInput(n.timing);var r=new e.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),e.restart(),e.applyDirtiedAnimation(r),r}};var f=!1,d=!1;e.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),d=!0),d},e.applyDirtiedAnimation=function(t){if(!p){t._markTarget();var n=t._targetAnimations();n.sort(i),s(e.timeline.currentTime,!1,n.slice())[1].forEach((function(t){var e=m._animations.indexOf(t);-1!==e&&m._animations.splice(e,1)})),a()}};var h=[],p=!1,m=new o;e.timeline=m}(r,i),function(t,e){function n(t,e){for(var n=0,r=0;r<t.length;r++)n+=t[r]*e[r];return n}function r(t,e){return[t[0]*e[0]+t[4]*e[1]+t[8]*e[2]+t[12]*e[3],t[1]*e[0]+t[5]*e[1]+t[9]*e[2]+t[13]*e[3],t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]*e[3],t[3]*e[0]+t[7]*e[1]+t[11]*e[2]+t[15]*e[3],t[0]*e[4]+t[4]*e[5]+t[8]*e[6]+t[12]*e[7],t[1]*e[4]+t[5]*e[5]+t[9]*e[6]+t[13]*e[7],t[2]*e[4]+t[6]*e[5]+t[10]*e[6]+t[14]*e[7],t[3]*e[4]+t[7]*e[5]+t[11]*e[6]+t[15]*e[7],t[0]*e[8]+t[4]*e[9]+t[8]*e[10]+t[12]*e[11],t[1]*e[8]+t[5]*e[9]+t[9]*e[10]+t[13]*e[11],t[2]*e[8]+t[6]*e[9]+t[10]*e[10]+t[14]*e[11],t[3]*e[8]+t[7]*e[9]+t[11]*e[10]+t[15]*e[11],t[0]*e[12]+t[4]*e[13]+t[8]*e[14]+t[12]*e[15],t[1]*e[12]+t[5]*e[13]+t[9]*e[14]+t[13]*e[15],t[2]*e[12]+t[6]*e[13]+t[10]*e[14]+t[14]*e[15],t[3]*e[12]+t[7]*e[13]+t[11]*e[14]+t[15]*e[15]]}function i(t){var e=t.rad||0;return((t.deg||0)/360+(t.grad||0)/400+(t.turn||0))*(2*Math.PI)+e}function o(t){switch(t.t){case"rotatex":var e=i(t.d[0]);return[1,0,0,0,0,Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1];case"rotatey":return e=i(t.d[0]),[Math.cos(e),0,-Math.sin(e),0,0,1,0,0,Math.sin(e),0,Math.cos(e),0,0,0,0,1];case"rotate":case"rotatez":return e=i(t.d[0]),[Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=t.d[0],r=t.d[1],o=t.d[2],a=(e=i(t.d[3]),n*n+r*r+o*o);if(0===a)n=1,r=0,o=0;else if(1!==a){var s=Math.sqrt(a);n/=s,r/=s,o/=s}var u=Math.sin(e/2),l=u*Math.cos(e/2),c=u*u;return[1-2*(r*r+o*o)*c,2*(n*r*c+o*l),2*(n*o*c-r*l),0,2*(n*r*c-o*l),1-2*(n*n+o*o)*c,2*(r*o*c+n*l),0,2*(n*o*c+r*l),2*(r*o*c-n*l),1-2*(n*n+r*r)*c,0,0,0,0,1];case"scale":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[t.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,t.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,t.d[0],0,0,0,0,1];case"scale3d":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,t.d[2],0,0,0,0,1];case"skew":var f=i(t.d[0]),d=i(t.d[1]);return[1,Math.tan(d),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return e=i(t.d[0]),[1,0,0,0,Math.tan(e),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return e=i(t.d[0]),[1,Math.tan(e),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,r=t.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,r=t.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o=t.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,r=t.d[1].px||0,o=t.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,t.d[0].px?-1/t.d[0].px:0,0,0,0,1];case"matrix":return[t.d[0],t.d[1],0,0,t.d[2],t.d[3],0,0,0,0,1,0,t.d[4],t.d[5],0,1];case"matrix3d":return t.d}}function a(t){return 0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(o).reduce(r)}var s=function(){function t(t){return t[0][0]*t[1][1]*t[2][2]+t[1][0]*t[2][1]*t[0][2]+t[2][0]*t[0][1]*t[1][2]-t[0][2]*t[1][1]*t[2][0]-t[1][2]*t[2][1]*t[0][0]-t[2][2]*t[0][1]*t[1][0]}function e(t){var e=r(t);return[t[0]/e,t[1]/e,t[2]/e]}function r(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])}function i(t,e,n,r){return[n*t[0]+r*e[0],n*t[1]+r*e[1],n*t[2]+r*e[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],u=0;u<4;u++)s.push(a[u].slice());for(u=0;u<3;u++)s[u][3]=0;if(0===t(s))return null;var l,c=[];a[0][3]||a[1][3]||a[2][3]?(c.push(a[0][3]),c.push(a[1][3]),c.push(a[2][3]),c.push(a[3][3]),l=function(t,e){for(var n=[],r=0;r<4;r++){for(var i=0,o=0;o<4;o++)i+=t[o]*e[o][r];n.push(i)}return n}(c,function(t){return[[t[0][0],t[1][0],t[2][0],t[3][0]],[t[0][1],t[1][1],t[2][1],t[3][1]],[t[0][2],t[1][2],t[2][2],t[3][2]],[t[0][3],t[1][3],t[2][3],t[3][3]]]}(function(e){for(var n=1/t(e),r=e[0][0],i=e[0][1],o=e[0][2],a=e[1][0],s=e[1][1],u=e[1][2],l=e[2][0],c=e[2][1],f=e[2][2],d=[[(s*f-u*c)*n,(o*c-i*f)*n,(i*u-o*s)*n,0],[(u*l-a*f)*n,(r*f-o*l)*n,(o*a-r*u)*n,0],[(a*c-s*l)*n,(l*i-r*c)*n,(r*s-i*a)*n,0]],h=[],p=0;p<3;p++){for(var m=0,g=0;g<3;g++)m+=e[3][g]*d[g][p];h.push(m)}return h.push(1),d.push(h),d}(s)))):l=[0,0,0,1];var f=a[3].slice(0,3),d=[];d.push(a[0].slice(0,3));var h=[];h.push(r(d[0])),d[0]=e(d[0]);var p=[];d.push(a[1].slice(0,3)),p.push(n(d[0],d[1])),d[1]=i(d[1],d[0],1,-p[0]),h.push(r(d[1])),d[1]=e(d[1]),p[0]/=h[1],d.push(a[2].slice(0,3)),p.push(n(d[0],d[2])),d[2]=i(d[2],d[0],1,-p[1]),p.push(n(d[1],d[2])),d[2]=i(d[2],d[1],1,-p[2]),h.push(r(d[2])),d[2]=e(d[2]),p[1]/=h[2],p[2]/=h[2];var m=function(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}(d[1],d[2]);if(n(d[0],m)<0)for(u=0;u<3;u++)h[u]*=-1,d[u][0]*=-1,d[u][1]*=-1,d[u][2]*=-1;var g,v,_=d[0][0]+d[1][1]+d[2][2]+1;return _>1e-4?(g=.5/Math.sqrt(_),v=[(d[2][1]-d[1][2])*g,(d[0][2]-d[2][0])*g,(d[1][0]-d[0][1])*g,.25/g]):d[0][0]>d[1][1]&&d[0][0]>d[2][2]?v=[.25*(g=2*Math.sqrt(1+d[0][0]-d[1][1]-d[2][2])),(d[0][1]+d[1][0])/g,(d[0][2]+d[2][0])/g,(d[2][1]-d[1][2])/g]:d[1][1]>d[2][2]?(g=2*Math.sqrt(1+d[1][1]-d[0][0]-d[2][2]),v=[(d[0][1]+d[1][0])/g,.25*g,(d[1][2]+d[2][1])/g,(d[0][2]-d[2][0])/g]):(g=2*Math.sqrt(1+d[2][2]-d[0][0]-d[1][1]),v=[(d[0][2]+d[2][0])/g,(d[1][2]+d[2][1])/g,.25*g,(d[1][0]-d[0][1])/g]),[f,h,p,v,l]}}();t.dot=n,t.makeMatrixDecomposition=function(t){return[s(a(t))]},t.transformListToMatrix=a}(i),function(t){function e(t,e){var n=t.exec(e);if(n)return[n=t.ignoreCase?n[0].toLowerCase():n[0],e.substr(n.length)]}function n(t,e){var n=t(e=e.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(t,e,n,r,i){for(var o=[],a=[],s=[],u=function(t,e){for(var n=t,r=e;n&&r;)n>r?n%=r:r%=n;return t*e/(n+r)}(r.length,i.length),l=0;l<u;l++){var c=e(r[l%r.length],i[l%i.length]);if(!c)return;o.push(c[0]),a.push(c[1]),s.push(c[2])}return[o,a,function(e){var r=e.map((function(t,e){return s[e](t)})).join(n);return t?t(r):r}]}t.consumeToken=e,t.consumeTrimmed=n,t.consumeRepeated=function(t,r,i){t=n.bind(null,t);for(var o=[];;){var a=t(i);if(!a)return[o,i];if(o.push(a[0]),!(a=e(r,i=a[1]))||""==a[1])return[o,i];i=a[1]}},t.consumeParenthesised=function(t,e){for(var n=0,r=0;r<e.length&&(!/\s|,/.test(e[r])||0!=n);r++)if("("==e[r])n++;else if(")"==e[r]&&(0==--n&&r++,n<=0))break;var i=t(e.substr(0,r));return null==i?void 0:[i,e.substr(r)]},t.ignore=function(t){return function(e){var n=t(e);return n&&(n[0]=void 0),n}},t.optional=function(t,e){return function(n){return t(n)||[e,n]}},t.consumeList=function(e,n){for(var r=[],i=0;i<e.length;i++){var o=t.consumeTrimmed(e[i],n);if(!o||""==o[0])return;void 0!==o[0]&&r.push(o[0]),n=o[1]}if(""==n)return r},t.mergeNestedRepeated=r.bind(null,null),t.mergeWrappedNestedRepeated=r,t.mergeList=function(t,e,n){for(var r=[],i=[],o=[],a=0,s=0;s<n.length;s++)if("function"==typeof n[s]){var u=n[s](t[a],e[a++]);r.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(t){r.push(!1),i.push(!1),o.push((function(){return n[t]}))}(s);return[r,i,function(t){for(var e="",n=0;n<t.length;n++)e+=o[n](t[n]);return e}]}}(i),function(t){function e(e){var n={inset:!1,lengths:[],color:null},r=t.consumeRepeated((function(e){var r=t.consumeToken(/^inset/i,e);return r?(n.inset=!0,r):(r=t.consumeLengthOrPercent(e))?(n.lengths.push(r[0]),r):(r=t.consumeColor(e))?(n.color=r[0],r):void 0}),/^/,e);if(r&&r[0].length)return[n,r[1]]}var n=function(e,n,r,i){function o(t){return{inset:t,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<r.length||u<i.length;u++){var l=r[u]||o(i[u].inset),c=i[u]||o(r[u].inset);a.push(l),s.push(c)}return t.mergeNestedRepeated(e,n,a,s)}.bind(null,(function(e,n){for(;e.lengths.length<Math.max(e.lengths.length,n.lengths.length);)e.lengths.push({px:0});for(;n.lengths.length<Math.max(e.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(e.inset==n.inset&&!!e.color==!!n.color){for(var r,i=[],o=[[],0],a=[[],0],s=0;s<e.lengths.length;s++){var u=t.mergeDimensions(e.lengths[s],n.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(e.color&&n.color){var l=t.mergeColors(e.color,n.color);o[1]=l[0],a[1]=l[1],r=l[2]}return[o,a,function(t){for(var n=e.inset?"inset ":" ",o=0;o<i.length;o++)n+=i[o](t[0][o])+" ";return r&&(n+=r(t[1])),n}]}}),", ");t.addPropertiesHandler((function(n){var r=t.consumeRepeated(e,/^,/,n);if(r&&""==r[1])return r[0]}),n,["box-shadow","text-shadow"])}(i),function(t,e){function n(t){return t.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(t,e,n){return Math.min(e,Math.max(t,n))}function i(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}function o(t,e){return function(i,o){return[i,o,function(i){return n(r(t,e,i))}]}}function a(t){var e=t.trim().split(/\s*[\s,]\s*/);if(0!==e.length){for(var n=[],r=0;r<e.length;r++){var o=i(e[r]);if(void 0===o)return;n.push(o)}return n}}t.clamp=r,t.addPropertiesHandler(a,(function(t,e){if(t.length==e.length)return[t,e,function(t){return t.map(n).join(" ")}]}),["stroke-dasharray"]),t.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(i,(function(t,e){if(0!=t)return o(0,1/0)(t,e)}),["flex-grow","flex-shrink"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,function(t){return Math.round(r(1,1/0,t))}]}),["orphans","widows"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,Math.round]}),["z-index"]),t.parseNumber=i,t.parseNumberList=a,t.mergeNumbers=function(t,e){return[t,e,n]},t.numberToString=n}(i),function(t,e){t.addPropertiesHandler(String,(function(t,e){if("visible"==t||"visible"==e)return[0,1,function(n){return n<=0?t:n>=1?e:"visible"}]}),["visibility"])}(i),function(t,e){function n(t){t=t.trim(),o.fillStyle="#000",o.fillStyle=t;var e=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=t,e==o.fillStyle){o.fillRect(0,0,1,1);var n=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(e,n){return[e,n,function(e){function n(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var r=0;r<3;r++)e[r]=Math.round(n(e[r]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");t.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,n),t.mergeColors=r}(i),function(t,e){function n(t){function e(){var e=a.exec(t);o=e?e[0]:void 0}function n(){if("("!==o)return function(){var t=Number(o);return e(),t}();e();var t=i();return")"!==o?NaN:(e(),t)}function r(){for(var t=n();"*"===o||"/"===o;){var r=o;e();var i=n();"*"===r?t*=i:t/=i}return t}function i(){for(var t=r();"+"===o||"-"===o;){var n=o;e();var i=r();"+"===n?t+=i:t-=i}return t}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),i()}function r(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){e=e.replace(/calc\(/g,"(");var r={};e=e.replace(t,(function(t){return r[t]=null,"U"+t}));for(var i="U("+t.source+")",o=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var u in r){var l=n(e.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(l))return;r[u]=l}return r}}}function i(t,e){return o(t,e,!0)}function o(e,n,r){var i,o=[];for(i in e)o.push(i);for(i in n)o.indexOf(i)<0&&o.push(i);return e=o.map((function(t){return e[t]||0})),n=o.map((function(t){return n[t]||0})),[e,n,function(e){var n=e.map((function(n,i){return 1==e.length&&r&&(n=Math.max(n,0)),t.numberToString(n)+o[i]})).join(" + ");return e.length>1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),u=r.bind(null,new RegExp(a+"|%","g")),l=r.bind(null,/deg|rad|grad|turn/g);t.parseLength=s,t.parseLengthOrPercent=u,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,u),t.parseAngle=l,t.mergeDimensions=o;var c=t.consumeParenthesised.bind(null,s),f=t.consumeRepeated.bind(void 0,c,/^/),d=t.consumeRepeated.bind(void 0,f,/^,/);t.consumeSizePairList=d;var h=t.mergeNestedRepeated.bind(void 0,i," "),p=t.mergeNestedRepeated.bind(void 0,h,",");t.mergeNonNegativeSizePair=h,t.addPropertiesHandler((function(t){var e=d(t);if(e&&""==e[1])return e[0]}),p,["background-size"]),t.addPropertiesHandler(u,i,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),t.addPropertiesHandler(u,o,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(i),function(t,e){function n(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function r(e){var r=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,n,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(r&&4==r[0].length)return r[0]}var i=t.mergeWrappedNestedRepeated.bind(null,(function(t){return"rect("+t+")"}),(function(e,n){return"auto"==e||"auto"==n?[!0,!1,function(r){var i=r?e:n;if("auto"==i)return"auto";var o=t.mergeDimensions(i,i);return o[2](o[0])}]:t.mergeDimensions(e,n)}),", ");t.parseBox=r,t.mergeBoxes=i,t.addPropertiesHandler(r,i,["clip"])}(i),function(t,e){function n(t){return function(e){var n=0;return t.map((function(t){return t===l?e[n++]:t}))}}function r(t){return t}function i(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;n=r.exec(e);){if(n.index!=o)return;o=n.index+n[0].length;var a=n[1],s=d[a];if(!s)return;var u=n[2].split(","),l=s[0];if(l.length<u.length)return;for(var h=[],p=0;p<l.length;p++){var m,g=u[p],v=l[p];if(void 0===(m=g?{A:function(e){return"0"==e.trim()?f:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[v.toUpperCase()](g):{a:f,n:h[0],t:c}[v]))return;h.push(m)}if(i.push({t:a,d:h}),r.lastIndex==e.length)return i}}function o(t){return t.toFixed(6).replace(".000000","")}function a(e,n){if(e.decompositionPair!==n){e.decompositionPair=n;var r=t.makeMatrixDecomposition(e)}if(n.decompositionPair!==e){n.decompositionPair=e;var i=t.makeMatrixDecomposition(n)}return null==r[0]||null==i[0]?[[!1],[!0],function(t){return t?n[0].d:e[0].d}]:(r[0].push(0),i[0].push(1),[r,i,function(e){var n=t.quat(r[0][3],i[0][3],e[5]);return t.composeMatrix(e[0],e[1],e[2],n,e[4]).map(o).join(",")}])}function s(t){return t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}var l=null,c={px:0},f={deg:0},d={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],r],matrix3d:["NNNNNNNNNNNNNNNN",r],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",n([l,l,1]),r],scalex:["N",n([l,1,1]),n([l,1])],scaley:["N",n([1,l,1]),n([1,l])],scalez:["N",n([1,1,l])],scale3d:["NNN",r],skew:["Aa",null,r],skewx:["A",null,n([l,f])],skewy:["A",null,n([f,l])],translate:["Tt",n([l,l,c]),r],translatex:["T",n([l,c,c]),n([l,c])],translatey:["T",n([c,l,c]),n([c,l])],translatez:["L",n([c,c,l])],translate3d:["TTL",r]};t.addPropertiesHandler(i,(function(e,n){var r=t.makeMatrixDecomposition&&!0,i=!1;if(!e.length||!n.length){e.length||(i=!0,e=n,n=[]);for(var o=0;o<e.length;o++){var l=e[o].t,c=e[o].d,f="scale"==l.substr(0,5)?1:0;n.push({t:l,d:c.map((function(t){if("number"==typeof t)return f;var e={};for(var n in t)e[n]=f;return e}))})}}var h=function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)},p=[],m=[],g=[];if(e.length!=n.length){if(!r)return;p=[(w=a(e,n))[0]],m=[w[1]],g=[["matrix",[w[2]]]]}else for(o=0;o<e.length;o++){var v=e[o].t,_=n[o].t,b=e[o].d,y=n[o].d,T=d[v],x=d[_];if(h(v,_)){if(!r)return;var w=a([e[o]],[n[o]]);p.push(w[0]),m.push(w[1]),g.push(["matrix",[w[2]]])}else{if(v==_)l=v;else if(T[2]&&x[2]&&s(v)==s(_))l=s(v),b=T[2](b),y=x[2](y);else{if(!T[1]||!x[1]||u(v)!=u(_)){if(!r)return;p=[(w=a(e,n))[0]],m=[w[1]],g=[["matrix",[w[2]]]];break}l=u(v),b=T[1](b),y=x[1](y)}for(var k=[],N=[],S=[],R=0;R<b.length;R++)w=("number"==typeof b[R]?t.mergeNumbers:t.mergeDimensions)(b[R],y[R]),k[R]=w[0],N[R]=w[1],S.push(w[2]);p.push(k),m.push(N),g.push([l,S])}}if(i){var P=p;p=m,m=P}return[p,m,function(t){return t.map((function(t,e){var n=t.map((function(t,n){return g[e][1][n](t)})).join(",");return"matrix"==g[e][0]&&16==n.split(",").length&&(g[e][0]="matrix3d"),g[e][0]+"("+n+")"})).join(" ")}]}),["transform"]),t.transformToSvgMatrix=function(e){var n=t.transformListToMatrix(i(e));return"matrix("+o(n[0])+" "+o(n[1])+" "+o(n[4])+" "+o(n[5])+" "+o(n[12])+" "+o(n[13])+")"}}(i),function(t){function e(e){return e=100*Math.round(e/100),400===(e=t.clamp(100,900,e))?"normal":700===e?"bold":String(e)}t.addPropertiesHandler((function(t){var e=Number(t);if(!(isNaN(e)||e<100||e>900||e%100!=0))return e}),(function(t,n){return[t,n,e]}),["font-weight"])}(i),function(t){function e(t){var e={};for(var n in t)e[n]=-t[n];return e}function r(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function i(e,i){var o=t.consumeRepeated(r,/^/,i);if(o&&""==o[1]){var s=o[0];if(s[0]=s[0]||"center",s[1]=s[1]||"center",3==e&&(s[2]=s[2]||{px:0}),s.length==e){if(/top|bottom/.test(s[0])||/left|right/.test(s[1])){var u=s[0];s[0]=s[1],s[1]=u}if(/left|right|center|Object/.test(s[0])&&/top|bottom|center|Object/.test(s[1]))return s.map((function(t){return"object"==n(t)?t:a[t]}))}}}function o(n){var i=t.consumeRepeated(r,/^/,n);if(i){for(var o=i[0],s=[{"%":50},{"%":50}],u=0,l=!1,c=0;c<o.length;c++){var f=o[c];"string"==typeof f?(l=/bottom|right/.test(f),s[u={left:0,right:0,center:u,top:1,bottom:1}[f]]=a[f],"center"==f&&u++):(l&&((f=e(f))["%"]=(f["%"]||0)+100),s[u]=f,u++,l=!1)}return[s,i[1]]}}var a={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},s=t.mergeNestedRepeated.bind(null,t.mergeDimensions," ");t.addPropertiesHandler(i.bind(null,3),s,["transform-origin"]),t.addPropertiesHandler(i.bind(null,2),s,["perspective-origin"]),t.consumePosition=o,t.mergeOffsetList=s;var u=t.mergeNestedRepeated.bind(null,s,", ");t.addPropertiesHandler((function(e){var n=t.consumeRepeated(o,/^,/,e);if(n&&""==n[1])return n[0]}),u,["background-position","object-position"])}(i),function(t){var e=t.consumeParenthesised.bind(null,t.parseLengthOrPercent),n=t.consumeRepeated.bind(void 0,e,/^/),r=t.mergeNestedRepeated.bind(void 0,t.mergeDimensions," "),i=t.mergeNestedRepeated.bind(void 0,r,",");t.addPropertiesHandler((function(r){var i=t.consumeToken(/^circle/,r);if(i&&i[0])return["circle"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),e,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],i[1]));var o=t.consumeToken(/^ellipse/,r);if(o&&o[0])return["ellipse"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),n,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],o[1]));var a=t.consumeToken(/^polygon/,r);return a&&a[0]?["polygon"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),t.optional(t.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),t.consumeSizePairList,t.ignore(t.consumeToken.bind(void 0,/^\)/))],a[1])):void 0}),(function(e,n){if(e[0]===n[0])return"circle"==e[0]?t.mergeList(e.slice(1),n.slice(1),["circle(",t.mergeDimensions," at ",t.mergeOffsetList,")"]):"ellipse"==e[0]?t.mergeList(e.slice(1),n.slice(1),["ellipse(",t.mergeNonNegativeSizePair," at ",t.mergeOffsetList,")"]):"polygon"==e[0]&&e[1]==n[1]?t.mergeList(e.slice(2),n.slice(2),["polygon(",e[1],i,")"]):void 0}),["shape-outside"])}(i),function(t,e){function n(t,e){e.concat([t]).forEach((function(e){e in document.documentElement.style&&(r[t]=e),i[e]=t}))}var r={},i={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return r[t]||t},t.unprefixedPropertyName=function(t){return i[t]||t}}(i)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var t=function(){return performance.now()};else t=function(){return Date.now()};var e=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},n=window.Element.prototype.animate;window.Element.prototype.animate=function(r,i){var o=n.call(this,r,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var n=new e(this,null,t()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout((function(){r.forEach((function(t){t.call(n.target,n)}))}),0)};var s=o.addEventListener;o.addEventListener=function(t,e){"function"==typeof e&&"cancel"==t?this._cancelHandlers.push(e):s.call(this,t,e)};var u=o.removeEventListener;return o.removeEventListener=function(t,e){if("cancel"==t){var n=this._cancelHandlers.indexOf(e);n>=0&&this._cancelHandlers.splice(n,1)}else u.call(this,t,e)},o}}}(),function(t){var e=document.documentElement,n=null,r=!1;try{var i="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(n=e.animate({opacity:[i,i]},{duration:1})).currentTime=0,r=getComputedStyle(e).getPropertyValue("opacity")==i}catch(t){}finally{n&&n.cancel()}if(!r){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(e,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),o.call(this,e,n)}}}(r)}}]);
@@ -0,0 +1,34 @@
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([[18],{337:function(t,e){
15
+ /**
16
+ * @license
17
+ * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
18
+ * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
19
+ * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
20
+ * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
21
+ * Code distributed by Google as part of the polymer project is also
22
+ * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
23
+ */
24
+ !function(){"use strict";var t;if(!((t=document.createEvent("Event")).initEvent("foo",!0,!0),t.preventDefault(),t.defaultPrevented)){var e=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(e.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var n=/Trident/.test(navigator.userAgent);if(!window.Event||n&&"function"!=typeof window.Event){var o=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,Boolean(e.bubbles),Boolean(e.cancelable)),n},o){for(var r in o)window.Event[r]=o[r];window.Event.prototype=o.prototype}}if((!window.CustomEvent||n&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,Boolean(e.bubbles),Boolean(e.cancelable),e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||n&&"function"!=typeof window.MouseEvent){var i=window.MouseEvent;if(window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,Boolean(e.bubbles),Boolean(e.cancelable),e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},i)for(var r in i)window.MouseEvent[r]=i[r];window.MouseEvent.prototype=i.prototype}if(Array.from||(Array.from=function(t){return[].slice.call(t)}),!Object.assign){var a=function(t,e){for(var n,o=Object.getOwnPropertyNames(e),r=0;r<o.length;r++)t[n=o[r]]=e[n]};Object.assign=function(t,e){for(var n,o=[].slice.call(arguments,1),r=0;r<o.length;r++)(n=o[r])&&a(t,n);return t}}}()},338:function(t,e){Window.prototype.forceJURL=!1,function(t){"use strict";var e=!1;if(!t.forceJURL)try{var n=new URL("b","http://a");n.pathname="c%20d",e="http://a/c%20d"===n.href}catch(t){}if(!e){var o=Object.create(null);o.ftp=21,o.file=0,o.gopher=70,o.http=80,o.https=443,o.ws=80,o.wss=443;var r=Object.create(null);r["%2e"]=".",r[".%2e"]="..",r["%2e."]="..",r["%2e%2e"]="..";var i=void 0,a=/[a-zA-Z]/,s=/[a-zA-Z0-9\+\-\.]/;v.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var t="";return""==this._username&&null==this._password||(t=this._username+(null!=this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+t+this.host:"")+this.pathname+this._query+this._fragment},set href(t){m.call(this),d.call(this,t)},get protocol(){return this._scheme+":"},set protocol(t){this._isInvalid||d.call(this,t+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(t){!this._isInvalid&&this._isRelative&&d.call(this,t,"host")},get hostname(){return this._host},set hostname(t){!this._isInvalid&&this._isRelative&&d.call(this,t,"hostname")},get port(){return this._port},set port(t){!this._isInvalid&&this._isRelative&&d.call(this,t,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(t){!this._isInvalid&&this._isRelative&&(this._path=[],d.call(this,t,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"==this._query?"":this._query},set search(t){!this._isInvalid&&this._isRelative&&(this._query="?","?"==t[0]&&(t=t.slice(1)),d.call(this,t,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(t){this._isInvalid||(t?(this._fragment="#","#"==t[0]&&(t=t.slice(1)),d.call(this,t,"fragment")):this._fragment="")},get origin(){var t;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}return(t=this.host)?this._scheme+"://"+t:""}};var c=t.URL;c&&(v.createObjectURL=function(t){return c.createObjectURL.apply(c,arguments)},v.revokeObjectURL=function(t){c.revokeObjectURL(t)}),t.URL=v}function l(t){return void 0!==o[t]}function h(){m.call(this),this._isInvalid=!0}function u(t){return""==t&&h.call(this),t.toLowerCase()}function p(t){var e=t.charCodeAt(0);return e>32&&e<127&&-1==[34,35,60,62,63,96].indexOf(e)?t:encodeURIComponent(t)}function f(t){var e=t.charCodeAt(0);return e>32&&e<127&&-1==[34,35,60,62,96].indexOf(e)?t:encodeURIComponent(t)}function d(t,e,n){function c(t){w.push(t)}var d=e||"scheme start",m=0,v="",_=!1,y=!1,w=[];t:for(;(t[m-1]!=i||0==m)&&!this._isInvalid;){var g=t[m];switch(d){case"scheme start":if(!g||!a.test(g)){if(e){c("Invalid scheme.");break t}v="",d="no scheme";continue}v+=g.toLowerCase(),d="scheme";break;case"scheme":if(g&&s.test(g))v+=g.toLowerCase();else{if(":"!=g){if(e){if(i==g)break t;c("Code point not allowed in scheme: "+g);break t}v="",m=0,d="no scheme";continue}if(this._scheme=v,v="",e)break t;l(this._scheme)&&(this._isRelative=!0),d="file"==this._scheme?"relative":this._isRelative&&n&&n._scheme==this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"==g?(this._query="?",d="query"):"#"==g?(this._fragment="#",d="fragment"):i!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this._schemeData+=p(g));break;case"no scheme":if(n&&l(n._scheme)){d="relative";continue}c("Missing scheme."),h.call(this);break;case"relative or authority":if("/"!=g||"/"!=t[m+1]){c("Expected /, got: "+g),d="relative";continue}d="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(this._scheme=n._scheme),i==g){this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._username=n._username,this._password=n._password;break t}if("/"==g||"\\"==g)"\\"==g&&c("\\ is an invalid code point."),d="relative slash";else if("?"==g)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query="?",this._username=n._username,this._password=n._password,d="query";else{if("#"!=g){var b=t[m+1],E=t[m+2];("file"!=this._scheme||!a.test(g)||":"!=b&&"|"!=b||i!=E&&"/"!=E&&"\\"!=E&&"?"!=E&&"#"!=E)&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password,this._path=n._path.slice(),this._path.pop()),d="relative path";continue}this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._fragment="#",this._username=n._username,this._password=n._password,d="fragment"}break;case"relative slash":if("/"!=g&&"\\"!=g){"file"!=this._scheme&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password),d="relative path";continue}"\\"==g&&c("\\ is an invalid code point."),d="file"==this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=g){c("Expected '/', got: "+g),d="authority ignore slashes";continue}d="authority second slash";break;case"authority second slash":if(d="authority ignore slashes","/"!=g){c("Expected '/', got: "+g);continue}break;case"authority ignore slashes":if("/"!=g&&"\\"!=g){d="authority";continue}c("Expected authority, got: "+g);break;case"authority":if("@"==g){_&&(c("@ already seen."),v+="%40"),_=!0;for(var C=0;C<v.length;C++){var N=v[C];if("\t"!=N&&"\n"!=N&&"\r"!=N)if(":"!=N||null!==this._password){var D=p(N);null!==this._password?this._password+=D:this._username+=D}else this._password="";else c("Invalid whitespace in authority.")}v=""}else{if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g){m-=v.length,v="",d="host";continue}v+=g}break;case"file host":if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g){2!=v.length||!a.test(v[0])||":"!=v[1]&&"|"!=v[1]?(0==v.length||(this._host=u.call(this,v),v=""),d="relative path start"):d="relative path";continue}"\t"==g||"\n"==g||"\r"==g?c("Invalid whitespace in file host."):v+=g;break;case"host":case"hostname":if(":"!=g||y){if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g){if(this._host=u.call(this,v),v="",d="relative path start",e)break t;continue}"\t"!=g&&"\n"!=g&&"\r"!=g?("["==g?y=!0:"]"==g&&(y=!1),v+=g):c("Invalid code point in host/hostname: "+g)}else if(this._host=u.call(this,v),v="",d="port","hostname"==e)break t;break;case"port":if(/[0-9]/.test(g))v+=g;else{if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g||e){if(""!=v){var T=parseInt(v,10);T!=o[this._scheme]&&(this._port=T+""),v=""}if(e)break t;d="relative path start";continue}"\t"==g||"\n"==g||"\r"==g?c("Invalid code point in port: "+g):h.call(this)}break;case"relative path start":if("\\"==g&&c("'\\' not allowed in path."),d="relative path","/"!=g&&"\\"!=g)continue;break;case"relative path":var k;if(i!=g&&"/"!=g&&"\\"!=g&&(e||"?"!=g&&"#"!=g))"\t"!=g&&"\n"!=g&&"\r"!=g&&(v+=p(g));else"\\"==g&&c("\\ not allowed in relative path."),(k=r[v.toLowerCase()])&&(v=k),".."==v?(this._path.pop(),"/"!=g&&"\\"!=g&&this._path.push("")):"."==v&&"/"!=g&&"\\"!=g?this._path.push(""):"."!=v&&("file"==this._scheme&&0==this._path.length&&2==v.length&&a.test(v[0])&&"|"==v[1]&&(v=v[0]+":"),this._path.push(v)),v="","?"==g?(this._query="?",d="query"):"#"==g&&(this._fragment="#",d="fragment");break;case"query":e||"#"!=g?i!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this._query+=f(g)):(this._fragment="#",d="fragment");break;case"fragment":i!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this._fragment+=g)}m++}}function m(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function v(t,e){void 0===e||e instanceof v||(e=new v(String(e))),this._url=""+t,m.call(this);var n=this._url.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");d.call(this,n,null,e)}}(window)},339:function(t,e){
25
+ /**
26
+ * @license
27
+ * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
28
+ * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
29
+ * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
30
+ * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
31
+ * Code distributed by Google as part of the polymer project is also
32
+ * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
33
+ */
34
+ !function(){"use strict";var t="undefined"==typeof HTMLTemplateElement,e=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),n=!1;/Trident/.test(navigator.userAgent)&&function(){n=!0;var t=Node.prototype.cloneNode;Node.prototype.cloneNode=function(e){var n=t.call(this,e);return this instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var e=Node.prototype.insertBefore;function o(t,n){if(t instanceof DocumentFragment)for(var o;o=t.firstChild;)e.call(this,o,n);else e.call(this,t,n);return t}Node.prototype.insertBefore=o;var r=Node.prototype.appendChild;Node.prototype.appendChild=function(t){return t instanceof DocumentFragment?o.call(this,t,null):r.call(this,t),t};var i=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(t,e){return t instanceof DocumentFragment?(o.call(this,t,e),i.call(this,e)):a.call(this,t,e),e},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t};var s=Document.prototype.importNode;Document.prototype.importNode=function(t,e){e=e||!1;var n=s.call(this,t,e);return t instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n}}();var o=Node.prototype.cloneNode,r=Document.prototype.createElement,i=Document.prototype.importNode,a=Node.prototype.removeChild,s=Node.prototype.appendChild,c=Node.prototype.replaceChild,l=DOMParser.prototype.parseFromString,h=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(t){this.innerHTML=t}},u=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},p=Element.prototype.querySelectorAll,f=Document.prototype.querySelectorAll,d=DocumentFragment.prototype.querySelectorAll;function m(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return f.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return d.call(t,e);default:return p.call(t,e)}}var v=function(){if(!t){var n=document.createElement("template"),o=document.createElement("template");o.content.appendChild(document.createElement("div")),n.content.appendChild(o);var r=n.cloneNode(!0);return 0===r.content.childNodes.length||0===r.content.firstChild.content.childNodes.length||e}}(),_=function(){};if(t){var y=document.implementation.createHTMLDocument("template"),w=!0,g=document.createElement("style");g.textContent="template{display:none;}";var b=document.head;b.insertBefore(g,b.firstElementChild),_.prototype=Object.create(HTMLElement.prototype);var E=!document.createElement("div").hasOwnProperty("innerHTML");_.decorate=function(t){if(!t.content&&t.namespaceURI===document.documentElement.namespaceURI){var e;for(t.content=y.createDocumentFragment();e=t.firstChild;)s.call(t.content,e);if(E)t.__proto__=_.prototype;else if(t.cloneNode=function(t){return _._cloneNode(this,t)},w)try{N(t),D(t)}catch(t){w=!1}_.bootstrap(t.content)}};var C={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},N=function(t){Object.defineProperty(t,"innerHTML",{get:function(){return j(this)},set:function(t){var e=C[function(t){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(t)||["",""])[1].toLowerCase()}(t)];if(e)for(var n=0;n<e.length;n++)t="<"+e[n]+">"+t+"</"+e[n]+">";for(y.body.innerHTML=t,_.bootstrap(y);this.content.firstChild;)a.call(this.content,this.content.firstChild);var o=y.body;if(e)for(var r=0;r<e.length;r++)o=o.lastChild;for(;o.firstChild;)s.call(this.content,o.firstChild)},configurable:!0})},D=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");y.body.innerHTML=t;for(var e=this.ownerDocument.createDocumentFragment();y.body.firstChild;)s.call(e,y.body.firstChild);c.call(this.parentNode,e,this)},configurable:!0})};N(_.prototype),D(_.prototype),_.bootstrap=function(t){for(var e,n=m(t,"template"),o=0,r=n.length;o<r&&(e=n[o]);o++)_.decorate(e)},document.addEventListener("DOMContentLoaded",(function(){_.bootstrap(document)})),Document.prototype.createElement=function(){var t=r.apply(this,arguments);return"template"===t.localName&&_.decorate(t),t},DOMParser.prototype.parseFromString=function(){var t=l.apply(this,arguments);return _.bootstrap(t),t},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return j(this)},set:function(t){h.set.call(this,t),_.bootstrap(this)},configurable:!0,enumerable:!0});var T=/[&\u00A0"]/g,k=/[&\u00A0<>]/g,M=function(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}},L=function(t){return t.replace(T,M)},O=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e},F=O(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),A=O(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),S=function(t,e,n){switch(t.nodeType){case Node.ELEMENT_NODE:for(var o,r=t.localName,i="<"+r,a=t.attributes,s=0;o=a[s];s++)i+=" "+o.name+'="'+L(o.value)+'"';return i+=">",F[r]?i:i+j(t,n)+"</"+r+">";case Node.TEXT_NODE:var c=t.data;return e&&A[e.localName]?c:function(t){return t.replace(k,M)}(c);case Node.COMMENT_NODE:return"\x3c!--"+t.data+"--\x3e";default:throw window.console.error(t),new Error("not implemented")}},j=function(t,e){"template"===t.localName&&(t=t.content);for(var n,o="",r=e?e(t):u.get.call(t),i=0,a=r.length;i<a&&(n=r[i]);i++)o+=S(n,t,e);return o}}if(t||v){_._cloneNode=function(t,e){var n=o.call(t,!1);return this.decorate&&this.decorate(n),e&&(s.call(n.content,o.call(t.content,!0)),H(n.content,t.content)),n};var H=function(t,e){if(e.querySelectorAll){var n=m(e,"template");if(0!==n.length)for(var o,r,i=m(t,"template"),a=0,s=i.length;a<s;a++)r=n[a],o=i[a],_&&_.decorate&&_.decorate(r),c.call(o.parentNode,x.call(r,!0),o)}},x=Node.prototype.cloneNode=function(t){var r;if(!n&&e&&this instanceof DocumentFragment){if(!t)return this.ownerDocument.createDocumentFragment();r=R.call(this.ownerDocument,this,!0)}else r=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?_._cloneNode(this,t):o.call(this,t);return t&&H(r,this),r},R=Document.prototype.importNode=function(t,e){if(e=e||!1,"template"===t.localName)return _._cloneNode(t,e);var n=i.call(this,t,e);return e&&(H(n,t),function(t){for(var e,n,o=m(t,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),i=0;i<o.length;i++){n=o[i],(e=r.call(document,"script")).textContent=n.textContent;for(var a,s=n.attributes,l=0;l<s.length;l++)a=s[l],e.setAttribute(a.name,a.value);c.call(n.parentNode,e,n)}}(n)),n}}t&&(window.HTMLTemplateElement=_)}()},340:function(t,e){(function(){"use strict";var t=window.Document.prototype.createElement,e=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,o=window.Document.prototype.prepend,r=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,a=window.DocumentFragment.prototype.append,s=window.Node.prototype.cloneNode,c=window.Node.prototype.appendChild,l=window.Node.prototype.insertBefore,h=window.Node.prototype.removeChild,u=window.Node.prototype.replaceChild,p=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),f=window.Element.prototype.attachShadow,d=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),m=window.Element.prototype.getAttribute,v=window.Element.prototype.setAttribute,_=window.Element.prototype.removeAttribute,y=window.Element.prototype.getAttributeNS,w=window.Element.prototype.setAttributeNS,g=window.Element.prototype.removeAttributeNS,b=window.Element.prototype.insertAdjacentElement,E=window.Element.prototype.insertAdjacentHTML,C=window.Element.prototype.prepend,N=window.Element.prototype.append,D=window.Element.prototype.before,T=window.Element.prototype.after,k=window.Element.prototype.replaceWith,M=window.Element.prototype.remove,L=window.HTMLElement,O=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),F=window.HTMLElement.prototype.insertAdjacentElement,A=window.HTMLElement.prototype.insertAdjacentHTML,S=new Set;function j(t){var e=S.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(t){return S.add(t)}));var H=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function x(t){var e=t.isConnected;if(void 0!==e)return e;if(H(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function R(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function I(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function P(){var t=!(null==at||!at.noDocumentConstructionObserver),e=!(null==at||!at.shadyDomFastWalk);this.h=[],this.a=[],this.f=!1,this.shadyDomFastWalk=e,this.C=!t}function q(t,e,n,o){var r=window.ShadyDom;if(t.shadyDomFastWalk&&r&&r.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=r.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else!function t(e,n,o){for(var r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;n(i);var a=i.localName;if("link"===a&&"import"===i.getAttribute("rel")){if(r=i.import,void 0===o&&(o=new Set),r instanceof Node&&!o.has(r))for(o.add(r),r=r.firstChild;r;r=r.nextSibling)t(r,n,o);r=I(e,i);continue}if("template"===a){r=I(e,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)t(i,n,o)}r=r.firstChild?r.firstChild:I(e,r)}}(e,n,o)}function U(t,e){t.f&&q(t,e,(function(e){return B(t,e)}))}function B(t,e){if(t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e);for(n=0;n<t.a.length;n++)t.a[n](e)}}function W(t,e){var n=[];for(q(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state?t.connectedCallback(o):K(t,o)}}function z(t,e){var n=[];for(q(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state&&t.disconnectedCallback(o)}}function J(t,e,n){var o=(n=void 0===n?{}:n).D,r=n.upgrade||function(e){return K(t,e)},i=[];for(q(t,e,(function(e){if(t.f&&B(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;o&&(o.forEach((function(t){return i.add(t)})),i.delete(n)),J(t,n,{D:i,upgrade:r})}}))}else i.push(e)}),o),e=0;e<i.length;e++)r(i[e])}function K(t,e){try{var n=e.ownerDocument,o=n.__CE_registry,r=o&&(n.defaultView||n.__CE_isImportDocument)?nt(o,e.localName):void 0;if(r&&void 0===e.__CE_state){r.constructionStack.push(e);try{try{if(new r.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=r,r.attributeChangedCallback&&e.hasAttributes()){var i=r.observedAttributes;for(r=0;r<i.length;r++){var a=i[r],s=e.getAttribute(a);null!==s&&t.attributeChangedCallback(e,a,null,s,null)}}x(e)&&t.connectedCallback(e)}}catch(t){G(t)}}function X(n,o,r,i){var a=o.__CE_registry;if(a&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(a=nt(a,r)))try{var s=new a.constructorFunction;if(void 0===s.__CE_state||void 0===s.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==s.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(s.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==s.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==s.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(s.ownerDocument!==o)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(s.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return s}catch(a){return G(a),o=null===i?t.call(o,r):e.call(o,i,r),Object.setPrototypeOf(o,HTMLUnknownElement.prototype),o.__CE_state=2,o.__CE_definition=void 0,B(n,o),o}return B(n,o=null===i?t.call(o,r):e.call(o,i,r)),o}function G(t){var e=t.message,n=t.sourceURL||t.fileName||"",o=t.line||t.lineNumber||0,r=t.column||t.columnNumber||0,i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:o,colno:r,error:t}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,o),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(i),i.defaultPrevented||console.error(t)}function Y(){var t=this;this.a=void 0,this.w=new Promise((function(e){t.g=e}))}function Z(t){var e=document;this.g=void 0,this.b=t,this.a=e,J(this.b,this.a),"loading"===this.a.readyState&&(this.g=new MutationObserver(this.A.bind(this)),this.g.observe(this.a,{childList:!0,subtree:!0}))}function $(t){t.g&&t.g.disconnect()}function V(t){this.j=new Map,this.l=new Map,this.u=new Map,this.o=!1,this.s=new Map,this.i=function(t){return t()},this.c=!1,this.m=[],this.b=t,this.v=t.C?new Z(t):void 0}function Q(t,e){if(!j(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(nt(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.o)throw Error("A custom element is already being defined.")}function tt(t,e,n){var o;t.o=!0;try{var r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},a=i("connectedCallback"),s=i("disconnectedCallback"),c=i("adoptedCallback"),l=(o=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.o=!1}return n={localName:e,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:c,attributeChangedCallback:o,observedAttributes:l,constructionStack:[]},t.l.set(e,n),t.u.set(n.constructorFunction,n),n}function et(t){if(!1!==t.c){t.c=!1;for(var e=[],n=t.m,o=new Map,r=0;r<n.length;r++)o.set(n[r],[]);for(J(t.b,document,{upgrade:function(n){if(void 0===n.__CE_state){var r=n.localName,i=o.get(r);i?i.push(n):t.l.has(r)&&e.push(n)}}}),r=0;r<e.length;r++)K(t.b,e[r]);for(r=0;r<n.length;r++){for(var i=n[r],a=o.get(i),s=0;s<a.length;s++)K(t.b,a[s]);(i=t.s.get(i))&&i.resolve(void 0)}n.length=0}}function nt(t,e){var n=t.l.get(e);if(n)return n;if(n=t.j.get(e)){t.j.delete(e);try{return tt(t,e,n())}catch(t){G(t)}}}function ot(t,e,n){function o(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&x(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}void 0!==n.prepend&&(e.prepend=o(n.prepend)),void 0!==n.append&&(e.append=o(n.append))}function rt(t){function n(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var o=this,r=void 0;if(x(this)&&(r=[],q(t,this,(function(t){t!==o&&r.push(t)}))),n.set.call(this,e),r)for(var i=0;i<r.length;i++){var a=r[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?J(t,this):U(t,this),e}})}function o(e,n){e.insertAdjacentElement=function(e,o){var r=x(o);return e=n.call(this,e,o),r&&z(t,o),x(e)&&W(t,o),e}}function r(e,n){function o(e,n){for(var o=[];e!==n;e=e.nextSibling)o.push(e);for(n=0;n<o.length;n++)J(t,o[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var r=this.previousSibling;n.call(this,t,e),o(r||this.parentNode.firstChild,this)}else if("afterbegin"===t)r=this.firstChild,n.call(this,t,e),o(this.firstChild,r);else if("beforeend"===t)r=this.lastChild,n.call(this,t,e),o(r||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");r=this.nextSibling,n.call(this,t,e),o(this.nextSibling,r)}}}f&&(Element.prototype.attachShadow=function(e){if(e=f.call(this,e),t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e)}return this.__CE_shadowRoot=e}),d&&d.get?n(Element.prototype,d):O&&O.get?n(HTMLElement.prototype,O):function(t,e){t.f=!0,t.a.push(e)}(t,(function(t){n(t,{enumerable:!0,configurable:!0,get:function(){return s.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,o=n?this.content:this,r=e.call(document,this.namespaceURI,this.localName);for(r.innerHTML=t;0<o.childNodes.length;)h.call(o,o.childNodes[0]);for(t=n?r.content:r;0<t.childNodes.length;)c.call(o,t.childNodes[0])}})})),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return v.call(this,e,n);var o=m.call(this,e);v.call(this,e,n),n=m.call(this,e),t.attributeChangedCallback(this,e,o,n,null)},Element.prototype.setAttributeNS=function(e,n,o){if(1!==this.__CE_state)return w.call(this,e,n,o);var r=y.call(this,e,n);w.call(this,e,n,o),o=y.call(this,e,n),t.attributeChangedCallback(this,n,r,o,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return _.call(this,e);var n=m.call(this,e);_.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return g.call(this,e,n);var o=y.call(this,e,n);g.call(this,e,n);var r=y.call(this,e,n);o!==r&&t.attributeChangedCallback(this,n,o,r,e)},F?o(HTMLElement.prototype,F):b&&o(Element.prototype,b),A?r(HTMLElement.prototype,A):E&&r(Element.prototype,E),ot(t,Element.prototype,{prepend:C,append:N}),function(t){function e(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&x(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}var n=Element.prototype;void 0!==D&&(n.before=e(D)),void 0!==T&&(n.after=e(T)),void 0!==k&&(n.replaceWith=function(e){for(var n=[],o=0;o<arguments.length;++o)n[o]=arguments[o];o=[];for(var r=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&x(a)&&r.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)o.push(a);else o.push(a)}for(i=x(this),k.apply(this,n),n=0;n<r.length;n++)z(t,r[n]);if(i)for(z(t,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&W(t,r)}),void 0!==M&&(n.remove=function(){var e=x(this);M.call(this),e&&z(t,this)})}(t)}P.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){G(t)}},P.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){G(t)}},P.prototype.attributeChangedCallback=function(t,e,n,o,r){var i=t.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e))try{i.attributeChangedCallback.call(t,e,n,o,r)}catch(t){G(t)}},Y.prototype.resolve=function(t){if(this.a)throw Error("Already resolved.");this.a=t,this.g(t)},Z.prototype.A=function(t){var e=this.a.readyState;for("interactive"!==e&&"complete"!==e||$(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)J(this.b,n[o])},V.prototype.B=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Q(this,t),this.j.set(t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},V.prototype.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");Q(this,t),tt(this,t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},V.prototype.upgrade=function(t){J(this.b,t)},V.prototype.get=function(t){if(t=nt(this,t))return t.constructorFunction},V.prototype.whenDefined=function(t){if(!j(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.s.get(t);if(e)return e.w;e=new Y,this.s.set(t,e);var n=this.l.has(t)||this.j.has(t);return t=-1===this.m.indexOf(t),n&&t&&e.resolve(void 0),e.w},V.prototype.polyfillWrapFlushCallback=function(t){this.v&&$(this.v);var e=this.i;this.i=function(n){return t((function(){return e(n)}))}},window.CustomElementRegistry=V,V.prototype.define=V.prototype.define,V.prototype.upgrade=V.prototype.upgrade,V.prototype.get=V.prototype.get,V.prototype.whenDefined=V.prototype.whenDefined,V.prototype.polyfillDefineLazy=V.prototype.B,V.prototype.polyfillWrapFlushCallback=V.prototype.polyfillWrapFlushCallback;var it={};var at=window.customElements;function st(){var e=new P;!function(e){function n(){var n=this.constructor,o=document.__CE_registry.u.get(n);if(!o)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=o.constructionStack;if(0===r.length)return r=t.call(document,o.localName),Object.setPrototypeOf(r,n.prototype),r.__CE_state=1,r.__CE_definition=o,B(e,r),r;var i=r.length-1,a=r[i];if(a===it)throw Error("Failed to construct '"+o.localName+"': This element was already constructed.");return r[i]=it,Object.setPrototypeOf(a,n.prototype),B(e,a),a}n.prototype=L.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),window.HTMLElement=n}(e),function(t){Document.prototype.createElement=function(e){return X(t,this,e,null)},Document.prototype.importNode=function(e,o){return e=n.call(this,e,!!o),this.__CE_registry?J(t,e):U(t,e),e},Document.prototype.createElementNS=function(e,n){return X(t,this,n,e)},ot(t,Document.prototype,{prepend:o,append:r})}(e),ot(e,DocumentFragment.prototype,{prepend:i,append:a}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&x(this)){o=Array(i);for(var a=0;a<i;a++)o[a]=r[a]}}if(n.set.call(this,e),o)for(e=0;e<o.length;e++)z(t,o[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var o=R(e);if(e=l.call(this,e,n),x(this))for(n=0;n<o.length;n++)W(t,o[n]);return e}return o=e instanceof Element&&x(e),n=l.call(this,e,n),o&&z(t,e),x(this)&&W(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=R(e);if(e=c.call(this,e),x(this))for(var o=0;o<n.length;o++)W(t,n[o]);return e}return n=e instanceof Element&&x(e),o=c.call(this,e),n&&z(t,e),x(this)&&W(t,e),o},Node.prototype.cloneNode=function(e){return e=s.call(this,!!e),this.ownerDocument.__CE_registry?J(t,e):U(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&x(e),o=h.call(this,e);return n&&z(t,e),o},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var o=R(e);if(e=u.call(this,e,n),x(this))for(z(t,n),n=0;n<o.length;n++)W(t,o[n]);return e}o=e instanceof Element&&x(e);var r=u.call(this,e,n),i=x(this);return i&&z(t,n),o&&z(t,e),i&&W(t,e),r},p&&p.get?e(Node.prototype,p):function(t,e){t.f=!0,t.h.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")},set:function(t){for(;this.firstChild;)h.call(this,this.firstChild);null!=t&&""!==t&&c.call(this,document.createTextNode(t))}})}))}(e),rt(e),e=new V(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}at&&!at.forcePolyfill&&"function"==typeof at.define&&"function"==typeof at.get||st(),window.__CE_installPolyfill=st}).call(self)}}]);
@@ -0,0 +1,34 @@
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([[14],{326:function(t,e){
15
+ /**
16
+ * @license
17
+ * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
18
+ * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
19
+ * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
20
+ * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
21
+ * Code distributed by Google as part of the polymer project is also
22
+ * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
23
+ */
24
+ !function(){"use strict";var t;if(!((t=document.createEvent("Event")).initEvent("foo",!0,!0),t.preventDefault(),t.defaultPrevented)){var e=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(e.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var n=/Trident/.test(navigator.userAgent);if(!window.Event||n&&"function"!=typeof window.Event){var o=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,Boolean(e.bubbles),Boolean(e.cancelable)),n},o){for(var r in o)window.Event[r]=o[r];window.Event.prototype=o.prototype}}if((!window.CustomEvent||n&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,Boolean(e.bubbles),Boolean(e.cancelable),e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||n&&"function"!=typeof window.MouseEvent){var i=window.MouseEvent;if(window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,Boolean(e.bubbles),Boolean(e.cancelable),e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},i)for(var r in i)window.MouseEvent[r]=i[r];window.MouseEvent.prototype=i.prototype}if(Array.from||(Array.from=function(t){return[].slice.call(t)}),!Object.assign){var a=function(t,e){for(var n,o=Object.getOwnPropertyNames(e),r=0;r<o.length;r++)t[n=o[r]]=e[n]};Object.assign=function(t,e){for(var n,o=[].slice.call(arguments,1),r=0;r<o.length;r++)(n=o[r])&&a(t,n);return t}}}()},327:function(t,e){Window.prototype.forceJURL=!1,function(t){"use strict";var e=!1;if(!t.forceJURL)try{var n=new URL("b","http://a");n.pathname="c%20d",e="http://a/c%20d"===n.href}catch(t){}if(!e){var o=Object.create(null);o.ftp=21,o.file=0,o.gopher=70,o.http=80,o.https=443,o.ws=80,o.wss=443;var r=Object.create(null);r["%2e"]=".",r[".%2e"]="..",r["%2e."]="..",r["%2e%2e"]="..";var i=void 0,a=/[a-zA-Z]/,s=/[a-zA-Z0-9\+\-\.]/;v.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var t="";return""==this._username&&null==this._password||(t=this._username+(null!=this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+t+this.host:"")+this.pathname+this._query+this._fragment},set href(t){m.call(this),d.call(this,t)},get protocol(){return this._scheme+":"},set protocol(t){this._isInvalid||d.call(this,t+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(t){!this._isInvalid&&this._isRelative&&d.call(this,t,"host")},get hostname(){return this._host},set hostname(t){!this._isInvalid&&this._isRelative&&d.call(this,t,"hostname")},get port(){return this._port},set port(t){!this._isInvalid&&this._isRelative&&d.call(this,t,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(t){!this._isInvalid&&this._isRelative&&(this._path=[],d.call(this,t,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"==this._query?"":this._query},set search(t){!this._isInvalid&&this._isRelative&&(this._query="?","?"==t[0]&&(t=t.slice(1)),d.call(this,t,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(t){this._isInvalid||(t?(this._fragment="#","#"==t[0]&&(t=t.slice(1)),d.call(this,t,"fragment")):this._fragment="")},get origin(){var t;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}return(t=this.host)?this._scheme+"://"+t:""}};var c=t.URL;c&&(v.createObjectURL=function(t){return c.createObjectURL.apply(c,arguments)},v.revokeObjectURL=function(t){c.revokeObjectURL(t)}),t.URL=v}function l(t){return void 0!==o[t]}function h(){m.call(this),this._isInvalid=!0}function u(t){return""==t&&h.call(this),t.toLowerCase()}function p(t){var e=t.charCodeAt(0);return e>32&&e<127&&-1==[34,35,60,62,63,96].indexOf(e)?t:encodeURIComponent(t)}function f(t){var e=t.charCodeAt(0);return e>32&&e<127&&-1==[34,35,60,62,96].indexOf(e)?t:encodeURIComponent(t)}function d(t,e,n){function c(t){w.push(t)}var d=e||"scheme start",m=0,v="",_=!1,y=!1,w=[];t:for(;(t[m-1]!=i||0==m)&&!this._isInvalid;){var g=t[m];switch(d){case"scheme start":if(!g||!a.test(g)){if(e){c("Invalid scheme.");break t}v="",d="no scheme";continue}v+=g.toLowerCase(),d="scheme";break;case"scheme":if(g&&s.test(g))v+=g.toLowerCase();else{if(":"!=g){if(e){if(i==g)break t;c("Code point not allowed in scheme: "+g);break t}v="",m=0,d="no scheme";continue}if(this._scheme=v,v="",e)break t;l(this._scheme)&&(this._isRelative=!0),d="file"==this._scheme?"relative":this._isRelative&&n&&n._scheme==this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"==g?(this._query="?",d="query"):"#"==g?(this._fragment="#",d="fragment"):i!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this._schemeData+=p(g));break;case"no scheme":if(n&&l(n._scheme)){d="relative";continue}c("Missing scheme."),h.call(this);break;case"relative or authority":if("/"!=g||"/"!=t[m+1]){c("Expected /, got: "+g),d="relative";continue}d="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(this._scheme=n._scheme),i==g){this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._username=n._username,this._password=n._password;break t}if("/"==g||"\\"==g)"\\"==g&&c("\\ is an invalid code point."),d="relative slash";else if("?"==g)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query="?",this._username=n._username,this._password=n._password,d="query";else{if("#"!=g){var b=t[m+1],E=t[m+2];("file"!=this._scheme||!a.test(g)||":"!=b&&"|"!=b||i!=E&&"/"!=E&&"\\"!=E&&"?"!=E&&"#"!=E)&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password,this._path=n._path.slice(),this._path.pop()),d="relative path";continue}this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._fragment="#",this._username=n._username,this._password=n._password,d="fragment"}break;case"relative slash":if("/"!=g&&"\\"!=g){"file"!=this._scheme&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password),d="relative path";continue}"\\"==g&&c("\\ is an invalid code point."),d="file"==this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=g){c("Expected '/', got: "+g),d="authority ignore slashes";continue}d="authority second slash";break;case"authority second slash":if(d="authority ignore slashes","/"!=g){c("Expected '/', got: "+g);continue}break;case"authority ignore slashes":if("/"!=g&&"\\"!=g){d="authority";continue}c("Expected authority, got: "+g);break;case"authority":if("@"==g){_&&(c("@ already seen."),v+="%40"),_=!0;for(var C=0;C<v.length;C++){var N=v[C];if("\t"!=N&&"\n"!=N&&"\r"!=N)if(":"!=N||null!==this._password){var D=p(N);null!==this._password?this._password+=D:this._username+=D}else this._password="";else c("Invalid whitespace in authority.")}v=""}else{if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g){m-=v.length,v="",d="host";continue}v+=g}break;case"file host":if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g){2!=v.length||!a.test(v[0])||":"!=v[1]&&"|"!=v[1]?(0==v.length||(this._host=u.call(this,v),v=""),d="relative path start"):d="relative path";continue}"\t"==g||"\n"==g||"\r"==g?c("Invalid whitespace in file host."):v+=g;break;case"host":case"hostname":if(":"!=g||y){if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g){if(this._host=u.call(this,v),v="",d="relative path start",e)break t;continue}"\t"!=g&&"\n"!=g&&"\r"!=g?("["==g?y=!0:"]"==g&&(y=!1),v+=g):c("Invalid code point in host/hostname: "+g)}else if(this._host=u.call(this,v),v="",d="port","hostname"==e)break t;break;case"port":if(/[0-9]/.test(g))v+=g;else{if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g||e){if(""!=v){var T=parseInt(v,10);T!=o[this._scheme]&&(this._port=T+""),v=""}if(e)break t;d="relative path start";continue}"\t"==g||"\n"==g||"\r"==g?c("Invalid code point in port: "+g):h.call(this)}break;case"relative path start":if("\\"==g&&c("'\\' not allowed in path."),d="relative path","/"!=g&&"\\"!=g)continue;break;case"relative path":var k;if(i!=g&&"/"!=g&&"\\"!=g&&(e||"?"!=g&&"#"!=g))"\t"!=g&&"\n"!=g&&"\r"!=g&&(v+=p(g));else"\\"==g&&c("\\ not allowed in relative path."),(k=r[v.toLowerCase()])&&(v=k),".."==v?(this._path.pop(),"/"!=g&&"\\"!=g&&this._path.push("")):"."==v&&"/"!=g&&"\\"!=g?this._path.push(""):"."!=v&&("file"==this._scheme&&0==this._path.length&&2==v.length&&a.test(v[0])&&"|"==v[1]&&(v=v[0]+":"),this._path.push(v)),v="","?"==g?(this._query="?",d="query"):"#"==g&&(this._fragment="#",d="fragment");break;case"query":e||"#"!=g?i!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this._query+=f(g)):(this._fragment="#",d="fragment");break;case"fragment":i!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this._fragment+=g)}m++}}function m(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function v(t,e){void 0===e||e instanceof v||(e=new v(String(e))),this._url=""+t,m.call(this);var n=this._url.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");d.call(this,n,null,e)}}(window)},328:function(t,e){
25
+ /**
26
+ * @license
27
+ * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
28
+ * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
29
+ * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
30
+ * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
31
+ * Code distributed by Google as part of the polymer project is also
32
+ * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
33
+ */
34
+ !function(){"use strict";var t="undefined"==typeof HTMLTemplateElement,e=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),n=!1;/Trident/.test(navigator.userAgent)&&function(){n=!0;var t=Node.prototype.cloneNode;Node.prototype.cloneNode=function(e){var n=t.call(this,e);return this instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var e=Node.prototype.insertBefore;function o(t,n){if(t instanceof DocumentFragment)for(var o;o=t.firstChild;)e.call(this,o,n);else e.call(this,t,n);return t}Node.prototype.insertBefore=o;var r=Node.prototype.appendChild;Node.prototype.appendChild=function(t){return t instanceof DocumentFragment?o.call(this,t,null):r.call(this,t),t};var i=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(t,e){return t instanceof DocumentFragment?(o.call(this,t,e),i.call(this,e)):a.call(this,t,e),e},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t};var s=Document.prototype.importNode;Document.prototype.importNode=function(t,e){e=e||!1;var n=s.call(this,t,e);return t instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n}}();var o=Node.prototype.cloneNode,r=Document.prototype.createElement,i=Document.prototype.importNode,a=Node.prototype.removeChild,s=Node.prototype.appendChild,c=Node.prototype.replaceChild,l=DOMParser.prototype.parseFromString,h=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(t){this.innerHTML=t}},u=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},p=Element.prototype.querySelectorAll,f=Document.prototype.querySelectorAll,d=DocumentFragment.prototype.querySelectorAll;function m(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return f.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return d.call(t,e);default:return p.call(t,e)}}var v=function(){if(!t){var n=document.createElement("template"),o=document.createElement("template");o.content.appendChild(document.createElement("div")),n.content.appendChild(o);var r=n.cloneNode(!0);return 0===r.content.childNodes.length||0===r.content.firstChild.content.childNodes.length||e}}(),_=function(){};if(t){var y=document.implementation.createHTMLDocument("template"),w=!0,g=document.createElement("style");g.textContent="template{display:none;}";var b=document.head;b.insertBefore(g,b.firstElementChild),_.prototype=Object.create(HTMLElement.prototype);var E=!document.createElement("div").hasOwnProperty("innerHTML");_.decorate=function(t){if(!t.content&&t.namespaceURI===document.documentElement.namespaceURI){var e;for(t.content=y.createDocumentFragment();e=t.firstChild;)s.call(t.content,e);if(E)t.__proto__=_.prototype;else if(t.cloneNode=function(t){return _._cloneNode(this,t)},w)try{N(t),D(t)}catch(t){w=!1}_.bootstrap(t.content)}};var C={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},N=function(t){Object.defineProperty(t,"innerHTML",{get:function(){return j(this)},set:function(t){var e=C[function(t){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(t)||["",""])[1].toLowerCase()}(t)];if(e)for(var n=0;n<e.length;n++)t="<"+e[n]+">"+t+"</"+e[n]+">";for(y.body.innerHTML=t,_.bootstrap(y);this.content.firstChild;)a.call(this.content,this.content.firstChild);var o=y.body;if(e)for(var r=0;r<e.length;r++)o=o.lastChild;for(;o.firstChild;)s.call(this.content,o.firstChild)},configurable:!0})},D=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");y.body.innerHTML=t;for(var e=this.ownerDocument.createDocumentFragment();y.body.firstChild;)s.call(e,y.body.firstChild);c.call(this.parentNode,e,this)},configurable:!0})};N(_.prototype),D(_.prototype),_.bootstrap=function(t){for(var e,n=m(t,"template"),o=0,r=n.length;o<r&&(e=n[o]);o++)_.decorate(e)},document.addEventListener("DOMContentLoaded",(function(){_.bootstrap(document)})),Document.prototype.createElement=function(){var t=r.apply(this,arguments);return"template"===t.localName&&_.decorate(t),t},DOMParser.prototype.parseFromString=function(){var t=l.apply(this,arguments);return _.bootstrap(t),t},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return j(this)},set:function(t){h.set.call(this,t),_.bootstrap(this)},configurable:!0,enumerable:!0});var T=/[&\u00A0"]/g,k=/[&\u00A0<>]/g,M=function(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}},L=function(t){return t.replace(T,M)},O=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e},F=O(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),A=O(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),S=function(t,e,n){switch(t.nodeType){case Node.ELEMENT_NODE:for(var o,r=t.localName,i="<"+r,a=t.attributes,s=0;o=a[s];s++)i+=" "+o.name+'="'+L(o.value)+'"';return i+=">",F[r]?i:i+j(t,n)+"</"+r+">";case Node.TEXT_NODE:var c=t.data;return e&&A[e.localName]?c:function(t){return t.replace(k,M)}(c);case Node.COMMENT_NODE:return"\x3c!--"+t.data+"--\x3e";default:throw window.console.error(t),new Error("not implemented")}},j=function(t,e){"template"===t.localName&&(t=t.content);for(var n,o="",r=e?e(t):u.get.call(t),i=0,a=r.length;i<a&&(n=r[i]);i++)o+=S(n,t,e);return o}}if(t||v){_._cloneNode=function(t,e){var n=o.call(t,!1);return this.decorate&&this.decorate(n),e&&(s.call(n.content,o.call(t.content,!0)),H(n.content,t.content)),n};var H=function(t,e){if(e.querySelectorAll){var n=m(e,"template");if(0!==n.length)for(var o,r,i=m(t,"template"),a=0,s=i.length;a<s;a++)r=n[a],o=i[a],_&&_.decorate&&_.decorate(r),c.call(o.parentNode,x.call(r,!0),o)}},x=Node.prototype.cloneNode=function(t){var r;if(!n&&e&&this instanceof DocumentFragment){if(!t)return this.ownerDocument.createDocumentFragment();r=R.call(this.ownerDocument,this,!0)}else r=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?_._cloneNode(this,t):o.call(this,t);return t&&H(r,this),r},R=Document.prototype.importNode=function(t,e){if(e=e||!1,"template"===t.localName)return _._cloneNode(t,e);var n=i.call(this,t,e);return e&&(H(n,t),function(t){for(var e,n,o=m(t,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),i=0;i<o.length;i++){n=o[i],(e=r.call(document,"script")).textContent=n.textContent;for(var a,s=n.attributes,l=0;l<s.length;l++)a=s[l],e.setAttribute(a.name,a.value);c.call(n.parentNode,e,n)}}(n)),n}}t&&(window.HTMLTemplateElement=_)}()},329:function(t,e){(function(){"use strict";var t=window.Document.prototype.createElement,e=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,o=window.Document.prototype.prepend,r=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,a=window.DocumentFragment.prototype.append,s=window.Node.prototype.cloneNode,c=window.Node.prototype.appendChild,l=window.Node.prototype.insertBefore,h=window.Node.prototype.removeChild,u=window.Node.prototype.replaceChild,p=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),f=window.Element.prototype.attachShadow,d=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),m=window.Element.prototype.getAttribute,v=window.Element.prototype.setAttribute,_=window.Element.prototype.removeAttribute,y=window.Element.prototype.getAttributeNS,w=window.Element.prototype.setAttributeNS,g=window.Element.prototype.removeAttributeNS,b=window.Element.prototype.insertAdjacentElement,E=window.Element.prototype.insertAdjacentHTML,C=window.Element.prototype.prepend,N=window.Element.prototype.append,D=window.Element.prototype.before,T=window.Element.prototype.after,k=window.Element.prototype.replaceWith,M=window.Element.prototype.remove,L=window.HTMLElement,O=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),F=window.HTMLElement.prototype.insertAdjacentElement,A=window.HTMLElement.prototype.insertAdjacentHTML,S=new Set;function j(t){var e=S.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(t){return S.add(t)}));var H=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function x(t){var e=t.isConnected;if(void 0!==e)return e;if(H(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function R(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function I(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function P(){var t=!(null==at||!at.noDocumentConstructionObserver),e=!(null==at||!at.shadyDomFastWalk);this.h=[],this.a=[],this.f=!1,this.shadyDomFastWalk=e,this.C=!t}function q(t,e,n,o){var r=window.ShadyDom;if(t.shadyDomFastWalk&&r&&r.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=r.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else!function t(e,n,o){for(var r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;n(i);var a=i.localName;if("link"===a&&"import"===i.getAttribute("rel")){if(r=i.import,void 0===o&&(o=new Set),r instanceof Node&&!o.has(r))for(o.add(r),r=r.firstChild;r;r=r.nextSibling)t(r,n,o);r=I(e,i);continue}if("template"===a){r=I(e,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)t(i,n,o)}r=r.firstChild?r.firstChild:I(e,r)}}(e,n,o)}function U(t,e){t.f&&q(t,e,(function(e){return B(t,e)}))}function B(t,e){if(t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e);for(n=0;n<t.a.length;n++)t.a[n](e)}}function W(t,e){var n=[];for(q(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state?t.connectedCallback(o):K(t,o)}}function z(t,e){var n=[];for(q(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state&&t.disconnectedCallback(o)}}function J(t,e,n){var o=(n=void 0===n?{}:n).D,r=n.upgrade||function(e){return K(t,e)},i=[];for(q(t,e,(function(e){if(t.f&&B(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;o&&(o.forEach((function(t){return i.add(t)})),i.delete(n)),J(t,n,{D:i,upgrade:r})}}))}else i.push(e)}),o),e=0;e<i.length;e++)r(i[e])}function K(t,e){try{var n=e.ownerDocument,o=n.__CE_registry,r=o&&(n.defaultView||n.__CE_isImportDocument)?nt(o,e.localName):void 0;if(r&&void 0===e.__CE_state){r.constructionStack.push(e);try{try{if(new r.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=r,r.attributeChangedCallback&&e.hasAttributes()){var i=r.observedAttributes;for(r=0;r<i.length;r++){var a=i[r],s=e.getAttribute(a);null!==s&&t.attributeChangedCallback(e,a,null,s,null)}}x(e)&&t.connectedCallback(e)}}catch(t){G(t)}}function X(n,o,r,i){var a=o.__CE_registry;if(a&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(a=nt(a,r)))try{var s=new a.constructorFunction;if(void 0===s.__CE_state||void 0===s.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==s.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(s.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==s.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==s.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(s.ownerDocument!==o)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(s.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return s}catch(a){return G(a),o=null===i?t.call(o,r):e.call(o,i,r),Object.setPrototypeOf(o,HTMLUnknownElement.prototype),o.__CE_state=2,o.__CE_definition=void 0,B(n,o),o}return B(n,o=null===i?t.call(o,r):e.call(o,i,r)),o}function G(t){var e=t.message,n=t.sourceURL||t.fileName||"",o=t.line||t.lineNumber||0,r=t.column||t.columnNumber||0,i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:o,colno:r,error:t}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,o),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(i),i.defaultPrevented||console.error(t)}function Y(){var t=this;this.a=void 0,this.w=new Promise((function(e){t.g=e}))}function Z(t){var e=document;this.g=void 0,this.b=t,this.a=e,J(this.b,this.a),"loading"===this.a.readyState&&(this.g=new MutationObserver(this.A.bind(this)),this.g.observe(this.a,{childList:!0,subtree:!0}))}function $(t){t.g&&t.g.disconnect()}function V(t){this.j=new Map,this.l=new Map,this.u=new Map,this.o=!1,this.s=new Map,this.i=function(t){return t()},this.c=!1,this.m=[],this.b=t,this.v=t.C?new Z(t):void 0}function Q(t,e){if(!j(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(nt(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.o)throw Error("A custom element is already being defined.")}function tt(t,e,n){var o;t.o=!0;try{var r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},a=i("connectedCallback"),s=i("disconnectedCallback"),c=i("adoptedCallback"),l=(o=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.o=!1}return n={localName:e,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:c,attributeChangedCallback:o,observedAttributes:l,constructionStack:[]},t.l.set(e,n),t.u.set(n.constructorFunction,n),n}function et(t){if(!1!==t.c){t.c=!1;for(var e=[],n=t.m,o=new Map,r=0;r<n.length;r++)o.set(n[r],[]);for(J(t.b,document,{upgrade:function(n){if(void 0===n.__CE_state){var r=n.localName,i=o.get(r);i?i.push(n):t.l.has(r)&&e.push(n)}}}),r=0;r<e.length;r++)K(t.b,e[r]);for(r=0;r<n.length;r++){for(var i=n[r],a=o.get(i),s=0;s<a.length;s++)K(t.b,a[s]);(i=t.s.get(i))&&i.resolve(void 0)}n.length=0}}function nt(t,e){var n=t.l.get(e);if(n)return n;if(n=t.j.get(e)){t.j.delete(e);try{return tt(t,e,n())}catch(t){G(t)}}}function ot(t,e,n){function o(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&x(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}void 0!==n.prepend&&(e.prepend=o(n.prepend)),void 0!==n.append&&(e.append=o(n.append))}function rt(t){function n(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var o=this,r=void 0;if(x(this)&&(r=[],q(t,this,(function(t){t!==o&&r.push(t)}))),n.set.call(this,e),r)for(var i=0;i<r.length;i++){var a=r[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?J(t,this):U(t,this),e}})}function o(e,n){e.insertAdjacentElement=function(e,o){var r=x(o);return e=n.call(this,e,o),r&&z(t,o),x(e)&&W(t,o),e}}function r(e,n){function o(e,n){for(var o=[];e!==n;e=e.nextSibling)o.push(e);for(n=0;n<o.length;n++)J(t,o[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var r=this.previousSibling;n.call(this,t,e),o(r||this.parentNode.firstChild,this)}else if("afterbegin"===t)r=this.firstChild,n.call(this,t,e),o(this.firstChild,r);else if("beforeend"===t)r=this.lastChild,n.call(this,t,e),o(r||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");r=this.nextSibling,n.call(this,t,e),o(this.nextSibling,r)}}}f&&(Element.prototype.attachShadow=function(e){if(e=f.call(this,e),t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e)}return this.__CE_shadowRoot=e}),d&&d.get?n(Element.prototype,d):O&&O.get?n(HTMLElement.prototype,O):function(t,e){t.f=!0,t.a.push(e)}(t,(function(t){n(t,{enumerable:!0,configurable:!0,get:function(){return s.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,o=n?this.content:this,r=e.call(document,this.namespaceURI,this.localName);for(r.innerHTML=t;0<o.childNodes.length;)h.call(o,o.childNodes[0]);for(t=n?r.content:r;0<t.childNodes.length;)c.call(o,t.childNodes[0])}})})),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return v.call(this,e,n);var o=m.call(this,e);v.call(this,e,n),n=m.call(this,e),t.attributeChangedCallback(this,e,o,n,null)},Element.prototype.setAttributeNS=function(e,n,o){if(1!==this.__CE_state)return w.call(this,e,n,o);var r=y.call(this,e,n);w.call(this,e,n,o),o=y.call(this,e,n),t.attributeChangedCallback(this,n,r,o,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return _.call(this,e);var n=m.call(this,e);_.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return g.call(this,e,n);var o=y.call(this,e,n);g.call(this,e,n);var r=y.call(this,e,n);o!==r&&t.attributeChangedCallback(this,n,o,r,e)},F?o(HTMLElement.prototype,F):b&&o(Element.prototype,b),A?r(HTMLElement.prototype,A):E&&r(Element.prototype,E),ot(t,Element.prototype,{prepend:C,append:N}),function(t){function e(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&x(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}var n=Element.prototype;void 0!==D&&(n.before=e(D)),void 0!==T&&(n.after=e(T)),void 0!==k&&(n.replaceWith=function(e){for(var n=[],o=0;o<arguments.length;++o)n[o]=arguments[o];o=[];for(var r=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&x(a)&&r.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)o.push(a);else o.push(a)}for(i=x(this),k.apply(this,n),n=0;n<r.length;n++)z(t,r[n]);if(i)for(z(t,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&W(t,r)}),void 0!==M&&(n.remove=function(){var e=x(this);M.call(this),e&&z(t,this)})}(t)}P.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){G(t)}},P.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){G(t)}},P.prototype.attributeChangedCallback=function(t,e,n,o,r){var i=t.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e))try{i.attributeChangedCallback.call(t,e,n,o,r)}catch(t){G(t)}},Y.prototype.resolve=function(t){if(this.a)throw Error("Already resolved.");this.a=t,this.g(t)},Z.prototype.A=function(t){var e=this.a.readyState;for("interactive"!==e&&"complete"!==e||$(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)J(this.b,n[o])},V.prototype.B=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Q(this,t),this.j.set(t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},V.prototype.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");Q(this,t),tt(this,t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},V.prototype.upgrade=function(t){J(this.b,t)},V.prototype.get=function(t){if(t=nt(this,t))return t.constructorFunction},V.prototype.whenDefined=function(t){if(!j(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.s.get(t);if(e)return e.w;e=new Y,this.s.set(t,e);var n=this.l.has(t)||this.j.has(t);return t=-1===this.m.indexOf(t),n&&t&&e.resolve(void 0),e.w},V.prototype.polyfillWrapFlushCallback=function(t){this.v&&$(this.v);var e=this.i;this.i=function(n){return t((function(){return e(n)}))}},window.CustomElementRegistry=V,V.prototype.define=V.prototype.define,V.prototype.upgrade=V.prototype.upgrade,V.prototype.get=V.prototype.get,V.prototype.whenDefined=V.prototype.whenDefined,V.prototype.polyfillDefineLazy=V.prototype.B,V.prototype.polyfillWrapFlushCallback=V.prototype.polyfillWrapFlushCallback;var it={};var at=window.customElements;function st(){var e=new P;!function(e){function n(){var n=this.constructor,o=document.__CE_registry.u.get(n);if(!o)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=o.constructionStack;if(0===r.length)return r=t.call(document,o.localName),Object.setPrototypeOf(r,n.prototype),r.__CE_state=1,r.__CE_definition=o,B(e,r),r;var i=r.length-1,a=r[i];if(a===it)throw Error("Failed to construct '"+o.localName+"': This element was already constructed.");return r[i]=it,Object.setPrototypeOf(a,n.prototype),B(e,a),a}n.prototype=L.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),window.HTMLElement=n}(e),function(t){Document.prototype.createElement=function(e){return X(t,this,e,null)},Document.prototype.importNode=function(e,o){return e=n.call(this,e,!!o),this.__CE_registry?J(t,e):U(t,e),e},Document.prototype.createElementNS=function(e,n){return X(t,this,n,e)},ot(t,Document.prototype,{prepend:o,append:r})}(e),ot(e,DocumentFragment.prototype,{prepend:i,append:a}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&x(this)){o=Array(i);for(var a=0;a<i;a++)o[a]=r[a]}}if(n.set.call(this,e),o)for(e=0;e<o.length;e++)z(t,o[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var o=R(e);if(e=l.call(this,e,n),x(this))for(n=0;n<o.length;n++)W(t,o[n]);return e}return o=e instanceof Element&&x(e),n=l.call(this,e,n),o&&z(t,e),x(this)&&W(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=R(e);if(e=c.call(this,e),x(this))for(var o=0;o<n.length;o++)W(t,n[o]);return e}return n=e instanceof Element&&x(e),o=c.call(this,e),n&&z(t,e),x(this)&&W(t,e),o},Node.prototype.cloneNode=function(e){return e=s.call(this,!!e),this.ownerDocument.__CE_registry?J(t,e):U(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&x(e),o=h.call(this,e);return n&&z(t,e),o},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var o=R(e);if(e=u.call(this,e,n),x(this))for(z(t,n),n=0;n<o.length;n++)W(t,o[n]);return e}o=e instanceof Element&&x(e);var r=u.call(this,e,n),i=x(this);return i&&z(t,n),o&&z(t,e),i&&W(t,e),r},p&&p.get?e(Node.prototype,p):function(t,e){t.f=!0,t.h.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")},set:function(t){for(;this.firstChild;)h.call(this,this.firstChild);null!=t&&""!==t&&c.call(this,document.createTextNode(t))}})}))}(e),rt(e),e=new V(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}at&&!at.forcePolyfill&&"function"==typeof at.define&&"function"==typeof at.get||st(),window.__CE_installPolyfill=st}).call(self)}}]);