jekyll-theme-hydejack 9.0.2 → 9.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/_config.yml +5 -4
  4. data/_includes/body/breadcrumbs.html +19 -0
  5. data/_includes/body/footer.html +1 -1
  6. data/_includes/body/index.html +3 -2
  7. data/_includes/body/main.html +1 -0
  8. data/_includes/body/nav.html +3 -3
  9. data/_includes/body/scripts.html +2 -2
  10. data/_includes/body/sidebar.html +1 -1
  11. data/_includes/components/dingbat.html +12 -0
  12. data/_includes/components/hy-img.html +1 -1
  13. data/_includes/components/post.html +35 -9
  14. data/_includes/components/tag-list.html +24 -24
  15. data/_includes/head/links-static.html +3 -2
  16. data/_includes/head/meta-static.html +1 -1
  17. data/_includes/head/scripts.html +7 -2
  18. data/_includes/head/styles-inline.html +1 -1
  19. data/_includes/head/styles-no-inline.html +1 -1
  20. data/_includes/header.txt +1 -1
  21. data/_includes/scripts.html +33 -0
  22. data/_includes/scripts/load-js.min.js +1 -1
  23. data/_includes/scripts/nomodule.min.js +1 -1
  24. data/_includes/smart-url +10 -1
  25. data/_includes/styles/page-style.scss +1 -0
  26. data/_includes/styles/style.scss +1 -0
  27. data/_includes/styles/variables.scss +10 -6
  28. data/_includes/templates/animation.html +1 -0
  29. data/_includes/templates/index.html +20 -2
  30. data/_layouts/about.html +4 -1
  31. data/_layouts/base.html +3 -12
  32. data/_layouts/compress.html +1 -1
  33. data/_layouts/list.html +1 -1
  34. data/_layouts/page.html +4 -2
  35. data/_layouts/plain.html +29 -0
  36. data/_layouts/post.html +6 -1
  37. data/_sass/_mixins.scss +26 -3
  38. data/_sass/_tippy.scss +40 -0
  39. data/_sass/html.scss +1 -7
  40. data/_sass/hydejack/__inline__/_base.scss +23 -4
  41. data/_sass/hydejack/__inline__/_content.scss +8 -5
  42. data/_sass/hydejack/__inline__/_sidebar.scss +18 -4
  43. data/_sass/hydejack/__inline__/_toc.scss +11 -11
  44. data/_sass/hydejack/__inline__/_utilities.scss +25 -0
  45. data/_sass/hydejack/__link__/_base.scss +9 -2
  46. data/_sass/hydejack/__link__/_break-layout.scss +8 -1
  47. data/_sass/hydejack/__link__/_content.scss +10 -4
  48. data/_sass/hydejack/__link__/_images.scss +1 -1
  49. data/_sass/hydejack/__link__/_sidebar.scss +15 -5
  50. data/_sass/hydejack/__link__/_toc.scss +4 -2
  51. data/_sass/hydejack/__link__/_utilities.scss +25 -0
  52. data/_sass/hydejack/_base.pre.scss +38 -8
  53. data/_sass/hydejack/_break-layout.pre.scss +8 -1
  54. data/_sass/hydejack/_content.pre.scss +12 -12
  55. data/_sass/hydejack/_images.pre.scss +1 -1
  56. data/_sass/hydejack/_sidebar.pre.scss +29 -5
  57. data/_sass/hydejack/_toc.pre.scss +14 -14
  58. data/_sass/hydejack/_utilities.pre.scss +25 -0
  59. data/_sass/pooleparty/__inline__/_base.scss +2 -0
  60. data/_sass/pooleparty/__inline__/_code.scss +1 -1
  61. data/_sass/pooleparty/__inline__/_message.scss +2 -2
  62. data/_sass/pooleparty/__inline__/_posts.scss +19 -3
  63. data/_sass/pooleparty/__inline__/_type.scss +4 -2
  64. data/_sass/pooleparty/__link__/_code.scss +138 -27
  65. data/_sass/pooleparty/__link__/_footnotes.scss +2 -1
  66. data/_sass/pooleparty/__link__/_posts.scss +12 -0
  67. data/_sass/pooleparty/__link__/_read-more.scss +1 -0
  68. data/_sass/pooleparty/__link__/_table.scss +30 -36
  69. data/_sass/pooleparty/__link__/_type.scss +4 -2
  70. data/_sass/pooleparty/_base.pre.scss +2 -0
  71. data/_sass/pooleparty/_code.pre.scss +138 -27
  72. data/_sass/pooleparty/_footnotes.pre.scss +2 -1
  73. data/_sass/pooleparty/_message.pre.scss +2 -2
  74. data/_sass/pooleparty/_posts.pre.scss +31 -3
  75. data/_sass/pooleparty/_read-more.pre.scss +1 -0
  76. data/_sass/pooleparty/_table.pre.scss +30 -36
  77. data/_sass/pooleparty/_type.pre.scss +6 -4
  78. data/_sass/tippyjs/_mixins.scss +25 -0
  79. data/_sass/tippyjs/_vars.scss +6 -0
  80. data/_sass/tippyjs/animations/fade.scss +8 -0
  81. data/_sass/tippyjs/index.scss +90 -0
  82. data/assets/bower.json +2 -1
  83. data/assets/bower_components/MathJax/.bower.json +5 -5
  84. data/assets/bower_components/MathJax/es5/a11y/assistive-mml.js +1 -1
  85. data/assets/bower_components/MathJax/es5/a11y/complexity.js +1 -1
  86. data/assets/bower_components/MathJax/es5/a11y/explorer.js +1 -1
  87. data/assets/bower_components/MathJax/es5/a11y/semantic-enrich.js +1 -1
  88. data/assets/bower_components/MathJax/es5/adaptors/liteDOM.js +1 -1
  89. data/assets/bower_components/MathJax/es5/core.js +1 -1
  90. data/assets/bower_components/MathJax/es5/input/asciimath.js +1 -1
  91. data/assets/bower_components/MathJax/es5/input/mml.js +1 -1
  92. data/assets/bower_components/MathJax/es5/input/mml/entities.js +1 -1
  93. data/assets/bower_components/MathJax/es5/input/tex-base.js +1 -1
  94. data/assets/bower_components/MathJax/es5/input/tex-full.js +1 -1
  95. data/assets/bower_components/MathJax/es5/input/tex.js +1 -1
  96. data/assets/bower_components/MathJax/es5/input/tex/extensions/action.js +1 -1
  97. data/assets/bower_components/MathJax/es5/input/tex/extensions/all-packages.js +1 -1
  98. data/assets/bower_components/MathJax/es5/input/tex/extensions/ams.js +1 -1
  99. data/assets/bower_components/MathJax/es5/input/tex/extensions/amscd.js +1 -1
  100. data/assets/bower_components/MathJax/es5/input/tex/extensions/autoload.js +1 -1
  101. data/assets/bower_components/MathJax/es5/input/tex/extensions/bbox.js +1 -1
  102. data/assets/bower_components/MathJax/es5/input/tex/extensions/boldsymbol.js +1 -1
  103. data/assets/bower_components/MathJax/es5/input/tex/extensions/braket.js +1 -1
  104. data/assets/bower_components/MathJax/es5/input/tex/extensions/bussproofs.js +1 -1
  105. data/assets/bower_components/MathJax/es5/input/tex/extensions/cancel.js +1 -1
  106. data/assets/bower_components/MathJax/es5/input/tex/extensions/color.js +1 -1
  107. data/assets/bower_components/MathJax/es5/input/tex/extensions/colorV2.js +1 -1
  108. data/assets/bower_components/MathJax/es5/input/tex/extensions/configMacros.js +1 -1
  109. data/assets/bower_components/MathJax/es5/input/tex/extensions/enclose.js +1 -1
  110. data/assets/bower_components/MathJax/es5/input/tex/extensions/extpfeil.js +1 -1
  111. data/assets/bower_components/MathJax/es5/input/tex/extensions/html.js +1 -1
  112. data/assets/bower_components/MathJax/es5/input/tex/extensions/mhchem.js +1 -1
  113. data/assets/bower_components/MathJax/es5/input/tex/extensions/newcommand.js +1 -1
  114. data/assets/bower_components/MathJax/es5/input/tex/extensions/noerrors.js +1 -1
  115. data/assets/bower_components/MathJax/es5/input/tex/extensions/noundefined.js +1 -1
  116. data/assets/bower_components/MathJax/es5/input/tex/extensions/physics.js +1 -1
  117. data/assets/bower_components/MathJax/es5/input/tex/extensions/require.js +1 -1
  118. data/assets/bower_components/MathJax/es5/input/tex/extensions/tagFormat.js +1 -1
  119. data/assets/bower_components/MathJax/es5/input/tex/extensions/textmacros.js +1 -0
  120. data/assets/bower_components/MathJax/es5/input/tex/extensions/unicode.js +1 -1
  121. data/assets/bower_components/MathJax/es5/input/tex/extensions/verb.js +1 -1
  122. data/assets/bower_components/MathJax/es5/latest.js +1 -1
  123. data/assets/bower_components/MathJax/es5/loader.js +1 -1
  124. data/assets/bower_components/MathJax/es5/mml-chtml.js +1 -1
  125. data/assets/bower_components/MathJax/es5/mml-svg.js +1 -1
  126. data/assets/bower_components/MathJax/es5/node-main.js +1 -1
  127. data/assets/bower_components/MathJax/es5/output/chtml.js +1 -1
  128. data/assets/bower_components/MathJax/es5/output/chtml/fonts/tex.js +1 -1
  129. data/assets/bower_components/MathJax/es5/output/svg.js +1 -1
  130. data/assets/bower_components/MathJax/es5/output/svg/fonts/tex.js +1 -1
  131. data/assets/bower_components/MathJax/es5/sre/mathmaps/de.js +104 -0
  132. data/assets/bower_components/MathJax/es5/sre/mathmaps/en.js +11 -5
  133. data/assets/bower_components/MathJax/es5/sre/mathmaps/es.js +1 -1
  134. data/assets/bower_components/MathJax/es5/sre/mathmaps/mathmaps_ie.js +117 -9
  135. data/assets/bower_components/MathJax/es5/sre/mathmaps/nemeth.js +3 -3
  136. data/assets/bower_components/MathJax/es5/sre/sre-node.js +11 -0
  137. data/assets/bower_components/MathJax/es5/sre/sre_browser.js +1110 -1186
  138. data/assets/bower_components/MathJax/es5/startup.js +1 -1
  139. data/assets/bower_components/MathJax/es5/tex-chtml-full.js +1 -1
  140. data/assets/bower_components/MathJax/es5/tex-chtml.js +1 -1
  141. data/assets/bower_components/MathJax/es5/tex-mml-chtml.js +1 -1
  142. data/assets/bower_components/MathJax/es5/tex-mml-svg.js +1 -1
  143. data/assets/bower_components/MathJax/es5/tex-svg-full.js +1 -1
  144. data/assets/bower_components/MathJax/es5/tex-svg.js +1 -1
  145. data/assets/bower_components/MathJax/es5/ui/menu.js +1 -1
  146. data/assets/bower_components/MathJax/es5/ui/safe.js +1 -0
  147. data/assets/bower_components/MathJax/package.json +3 -3
  148. data/assets/bower_components/katex/.bower.json +7 -6
  149. data/assets/bower_components/katex/dist/contrib/render-a11y-string.js +858 -0
  150. data/assets/bower_components/katex/dist/contrib/render-a11y-string.min.js +1 -0
  151. data/assets/bower_components/katex/dist/contrib/render-a11y-string.mjs +741 -0
  152. data/assets/bower_components/katex/dist/katex.css +1 -10
  153. data/assets/bower_components/katex/dist/katex.js +1228 -612
  154. data/assets/bower_components/katex/dist/katex.min.css +1 -1
  155. data/assets/bower_components/katex/dist/katex.min.js +1 -1
  156. data/assets/bower_components/katex/dist/katex.mjs +1270 -591
  157. data/assets/bower_components/katex/docs/cli.md.template +21 -0
  158. data/assets/bower_components/katex/flow-typed/npm/jest_v24.x.x.js +1201 -0
  159. data/assets/bower_components/katex/yarn.lock +233 -172
  160. data/assets/css/{hydejack-9.0.2.css → hydejack-9.1.2.css} +0 -0
  161. data/assets/icomoon/fonts/icomoon.eot +0 -0
  162. data/assets/icomoon/fonts/icomoon.svg +6 -3
  163. data/assets/icomoon/fonts/icomoon.ttf +0 -0
  164. data/assets/icomoon/fonts/icomoon.woff +0 -0
  165. data/assets/icomoon/selection.json +1 -1
  166. data/assets/icomoon/style.css +17 -8
  167. data/assets/icons/favicon.ico +0 -0
  168. data/assets/icons/icon-128x128.png +0 -0
  169. data/assets/icons/icon-144x144.png +0 -0
  170. data/assets/icons/icon-152x152.png +0 -0
  171. data/assets/icons/icon-192x192.png +0 -0
  172. data/assets/icons/icon-384x384.png +0 -0
  173. data/assets/icons/icon-512x512.png +0 -0
  174. data/assets/icons/icon-72x72.png +0 -0
  175. data/assets/icons/icon-96x96.png +0 -0
  176. data/assets/img/logo.png +0 -0
  177. data/assets/img/sidebar-bg.jpg +0 -0
  178. data/assets/img/swipe.svg +1 -22
  179. data/assets/js/LEGACY-clap-button-hydejack-9.1.2.js +14 -0
  180. data/assets/js/LEGACY-drawer-hydejack-9.1.2.js +14 -0
  181. data/assets/js/{LEGACY-fetch-hydejack-9.0.2.js → LEGACY-fetch-hydejack-9.1.2.js} +2 -2
  182. data/assets/js/LEGACY-hydejack-9.1.2.js +27 -0
  183. data/assets/js/LEGACY-navbar-hydejack-9.1.2.js +14 -0
  184. data/assets/js/LEGACY-push-state-hydejack-9.1.2.js +14 -0
  185. data/assets/js/{resize-observer-hydejack-9.0.2.js → LEGACY-resize-observer-hydejack-9.1.2.js} +2 -2
  186. data/assets/js/{LEGACY-shadydom-hydejack-9.0.2.js → LEGACY-shadydom-hydejack-9.1.2.js} +2 -2
  187. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.2.js +182 -0
  188. data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.2.js +48 -0
  189. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.2.js +214 -0
  190. data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.2.js +14 -0
  191. data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.1.2.js +14 -0
  192. data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.2.js +34 -0
  193. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.2.js +155 -0
  194. data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.0.2.js → LEGACY-vendors~webanimations-hydejack-9.1.2.js} +2 -2
  195. data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.0.2.js → LEGACY-vendors~webcomponents-hydejack-9.1.2.js} +4 -4
  196. data/assets/js/{LEGACY-webcomponents-hydejack-9.0.2.js → LEGACY-webcomponents-hydejack-9.1.2.js} +2 -2
  197. data/assets/js/clap-button-hydejack-9.1.2.js +14 -0
  198. data/assets/js/drawer-hydejack-9.1.2.js +14 -0
  199. data/assets/js/{shadydom-hydejack-9.0.2.js → fetch-hydejack-9.1.2.js} +2 -2
  200. data/assets/js/hydejack-9.1.2.js +28 -0
  201. data/assets/js/navbar-hydejack-9.1.2.js +14 -0
  202. data/assets/js/push-state-hydejack-9.1.2.js +14 -0
  203. data/assets/js/{LEGACY-resize-observer-hydejack-9.0.2.js → resize-observer-hydejack-9.1.2.js} +2 -2
  204. data/assets/js/shadydom-hydejack-9.1.2.js +14 -0
  205. data/assets/js/vendors~clap-button-hydejack-9.1.2.js +222 -0
  206. data/assets/js/vendors~drawer-hydejack-9.1.2.js +48 -0
  207. data/assets/js/vendors~drawer~push-state-hydejack-9.1.2.js +163 -0
  208. data/assets/js/vendors~fetch-hydejack-9.1.2.js +14 -0
  209. data/assets/js/vendors~intersection-observer-hydejack-9.1.2.js +14 -0
  210. data/assets/js/vendors~push-state-hydejack-9.1.2.js +34 -0
  211. data/assets/js/vendors~shadydom-hydejack-9.1.2.js +146 -0
  212. data/assets/js/{vendors~webanimations-hydejack-9.0.2.js → vendors~webanimations-hydejack-9.1.2.js} +2 -2
  213. data/assets/js/{webcomponents-hydejack-9.0.2.js → webcomponents-hydejack-9.1.2.js} +2 -2
  214. data/assets/site.webmanifest +1 -1
  215. data/assets/version.json +2 -2
  216. metadata +59 -38
  217. data/_includes/templates/back.html +0 -6
  218. data/_includes/templates/forward.html +0 -6
  219. data/assets/js/LEGACY-drawer-hydejack-9.0.2.js +0 -14
  220. data/assets/js/LEGACY-hydejack-9.0.2.js +0 -28
  221. data/assets/js/LEGACY-navbar-hydejack-9.0.2.js +0 -14
  222. data/assets/js/LEGACY-push-state-hydejack-9.0.2.js +0 -14
  223. data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.2.js +0 -47
  224. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.2.js +0 -215
  225. data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.2.js +0 -14
  226. data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.2.js +0 -14
  227. data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.2.js +0 -33
  228. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.2.js +0 -155
  229. data/assets/js/drawer-hydejack-9.0.2.js +0 -14
  230. data/assets/js/fetch-hydejack-9.0.2.js +0 -14
  231. data/assets/js/hydejack-9.0.2.js +0 -28
  232. data/assets/js/navbar-hydejack-9.0.2.js +0 -14
  233. data/assets/js/push-state-hydejack-9.0.2.js +0 -14
  234. data/assets/js/vendors~drawer-hydejack-9.0.2.js +0 -47
  235. data/assets/js/vendors~drawer~push-state-hydejack-9.0.2.js +0 -163
  236. data/assets/js/vendors~intersection-observer-hydejack-9.0.2.js +0 -14
  237. data/assets/js/vendors~push-state-hydejack-9.0.2.js +0 -33
  238. data/assets/js/vendors~shadydom-hydejack-9.0.2.js +0 -146
@@ -0,0 +1,48 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.1.2 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[10],{344:function(e,t,n){"use strict";n.r(t),n.d(t,"HyDrawer",(function(){return Xe}));var r=n(2),i=n(323),o=n(310);function a(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 c(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 c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function c(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}function u(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)}}
15
+ /**
16
+ * @license
17
+ * Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
18
+ * This code may only be used under the BSD style license found at
19
+ * http://polymer.github.io/LICENSE.txt
20
+ * The complete set of authors may be found at
21
+ * http://polymer.github.io/AUTHORS.txt
22
+ * The complete set of contributors may be found at
23
+ * http://polymer.github.io/CONTRIBUTORS.txt
24
+ * Code distributed by Google as part of the polymer project is also
25
+ * subject to an additional IP rights grant found at
26
+ * http://polymer.github.io/PATENTS.txt
27
+ */
28
+ var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.classes=new Set,this.changed=!1,this.element=t;var n,r=a((t.getAttribute("class")||"").split(/\s+/));try{for(r.s();!(n=r.n()).done;){var i=n.value;this.classes.add(i)}}catch(e){r.e(e)}finally{r.f()}}var t,n,r;return t=e,(n=[{key:"add",value:function(e){this.classes.add(e),this.changed=!0}},{key:"remove",value:function(e){this.classes.delete(e),this.changed=!0}},{key:"commit",value:function(){if(this.changed){var e="";this.classes.forEach((function(t){return e+=t+" "})),this.element.setAttribute("class",e)}}}])&&u(t.prototype,n),r&&u(t,r),e}(),s=new WeakMap,f=Object(o.c)((function(e){return function(t){if(!(t instanceof o.a)||t instanceof o.b||"class"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var n=t.committer,r=n.element,i=s.get(t);void 0===i&&(r.setAttribute("class",n.strings.join(" ")),s.set(t,i=new Set));var a=r.classList||new l(r);for(var c in i.forEach((function(t){t in e||(a.remove(t),i.delete(t))})),e){var u=e[c];u!=i.has(c)&&(u?(a.add(c),i.add(c)):(a.remove(c),i.delete(c)))}"function"==typeof a.commit&&a.commit()}})),p=new WeakMap,b=Object(o.c)((function(e){return function(t){if(!(t instanceof o.a)||t instanceof o.b||"style"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var n=t.committer,r=n.element.style,i=p.get(t);for(var a in void 0===i&&(r.cssText=n.strings.join(" "),p.set(t,i=new Set)),i.forEach((function(t){t in e||(i.delete(t),-1===t.indexOf("-")?r[t]=null:r.removeProperty(t))})),e)i.add(a),-1===a.indexOf("-")?r[a]=e[a]:r.setProperty(a,e[a])}})),v=n(349),h=n(359),d=n(328),y=n(306),O=n(149),m=n(352),j=n(318),g=n(46),w=n(346),S=n(150),k=n(151),E=n(13),x=n(23),C=n(10);function A(e){return Object(E.b)((function(t,n){var r=!1,i=null;t.subscribe(new C.a(n,(function(e){r=!0,i=e})));e.subscribe(new C.a(n,(function(){if(r){r=!1;var e=i;i=null,n.next(e)}}),void 0,x.a))}))}var M=n(142);function I(e){return void 0===e&&(e=M.a),Object(g.a)((function(t){return{value:t,timestamp:e.now()}}))}var P=n(329),T=n(147),R=n(327),$=n(148),_=n(350),D=n(351);function z(e){return Object(T.a)((function(t,n){return e<=n}))}var X=n(308),W=n(108);function U(e,t,n,r){return n*Math.sin(e/r*(Math.PI/2))+t}function Y(e){return("ResizeObserver"in window?Object(X.e)(e):Object(W.a)({contentRect:{width:e.clientWidth}})).pipe(Object(g.a)((function(e){return e.contentRect.width})))}var B={fromAttribute:function(e){return(null!=e?e:"").replace(/[\[\]]/g,"").split(",").map(Number)},toAttribute:function(e){return e.join(",")}};var F=n(326),J=n(348);function N(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function L(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 V=Math.abs.bind(Math),q=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:"getStartObservable",value:function(){return Object(h.a)([this.$.mouseEvents]).pipe(Object($.a)((function(e){var t=N(e,1)[0],n=Object(y.a)(document,"touchstart",{passive:!0}).pipe(Object(T.a)((function(e){return 1===e.touches.length})),Object(g.a)((function(e){return e.touches[0]}))),r=t?Object(y.a)(document,"mousedown").pipe(Object(g.a)((function(e){return e.event=e,e}))):O.a;return Object(d.a)(n,r)})))}},{key:"getMoveObservable",value:function(e,t){return Object(h.a)([this.$.mouseEvents,this.$.preventDefault]).pipe(Object($.a)((function(n){var r=N(n,2),i=r[0],o=r[1],a=Object(y.a)(document,"touchmove",{passive:!o}).pipe(Object(g.a)((function(e){return e.touches[0].event=e,e.touches[0]}))),c=i?Object(y.a)(document,"mousemove",{passive:!o}).pipe(Object(X.l)(Object(d.a)(e.pipe(Object(F.a)(!0)),t.pipe(Object(F.a)(!1)))),Object(g.a)((function(e){return e.event=e,e}))):O.a;return Object(d.a)(a,c)})))}},{key:"getEndObservable",value:function(){return Object(h.a)([this.$.mouseEvents]).pipe(Object($.a)((function(e){var t=N(e,1)[0],n=Object(y.a)(document,"touchend",{passive:!0}).pipe(Object(T.a)((function(e){return 0===e.touches.length})),Object(g.a)((function(e){return e.changedTouches[0]}))),r=t?Object(y.a)(document,"mouseup",{passive:!0}).pipe(Object(g.a)((function(e){return e.event=e,e}))):O.a;return Object(d.a)(n,r)})))}},{key:"getIsSlidingObservable",value:function(e,t,n){return this.getIsSlidingObservableInner(e,t).pipe(Object(J.a)(1),Object(R.a)(void 0),(r=function(){return n},Object(E.b)((function(e,t){var n,i,o=!1,a=!1,c=!1,u=function(){return c&&a&&(t.complete(),!0)},l=function(){return i||(i=new j.a,r(i).subscribe(new C.a(t,(function(){n?s():o=!0}),void 0,(function(){a=!0,u()})))),i},s=function r(){c=!1,n=e.subscribe(new C.a(t,void 0,void 0,(function(){c=!0,!u()&&l().next()}))),o&&(n.unsubscribe(),n=null,o=!1,r())};s()}))));var r}},{key:"getIsSlidingObservableInner",value:function(e,t){var n,r=this;return this.threshold?e.pipe(Object(S.a)(t),(n=function(e){var t=N(e,2),n=t[0],i=n.clientX,o=n.clientY,a=t[1],c=a.clientX,u=a.clientY;return V(u-o)<r.threshold&&V(c-i)<r.threshold},Object(E.b)((function(e,t){var r=!1,i=0;e.subscribe(new C.a(t,(function(e){return(r||(r=!n(e,i++)))&&t.next(e)})))}))),Object(g.a)((function(e){var t=N(e,2),n=t[0],r=n.clientX,i=n.clientY,o=t[1],a=o.clientX,c=o.clientY;return V(a-r)>=V(c-i)}))):e.pipe(Object(S.a)(t),Object(g.a)((function(e){var t=N(e,2),n=t[0],i=n.clientX,o=n.clientY,a=n.event,c=t[1],u=c.clientX,l=c.clientY,s=V(u-i)>=V(l-o);return r.noScroll&&s&&a&&a.preventDefault(),s})))}}])&&L(t.prototype,n),r&&L(t,r),e}();function G(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return K(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 K(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function K(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}function Q(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 Z=Math.min.bind(Math),ee=Math.max.bind(Math),te=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:"calcIsInRange",value:function(e,t){var n=e.clientX;switch(this.side){case"left":var r=G(this.range,2),i=r[0],o=r[1];return n>i&&(t||n<o);case"right":var a=window.innerWidth-this.range[0],c=window.innerWidth-this.range[1];return n<a&&(t||n>c);default:throw Error()}}},{key:"calcIsSwipe",value:function(e,t,n,r,i){var o=e.clientX;return t.clientX!==o||n>0&&n<r}},{key:"calcWillOpen",value:function(e,t,n,r,i){switch(this.side){case"left":return i>.15||!(i<-.15)&&n>=r/2;case"right":return-i>.15||!(-i<-.15)&&n<=-r/2;default:throw Error()}}},{key:"calcTranslateX",value:function(e,t,n,r){var i=e.clientX,o=t.clientX;switch(this.side){case"left":return ee(0,Z(r,n+(i-o)));case"right":return Z(0,ee(-r,n+(i-o)));default:throw Error()}}}])&&Q(t.prototype,n),r&&Q(t,r),e}();function ne(e){return(ne="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 re(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ie(e,t)}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ce(e);if(t){var i=ce(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ae(this,n)}}function ae(e,t){return!t||"object"!==ne(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function le(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 se(e,t,n){return t&&le(e.prototype,t),n&&le(e,n),e}var fe=function(){function e(){ue(this,e)}return se(e,[{key:"updateDOM",value:function(e,t){var n=e/t*("left"===this.side?1:-1)||0;this.translateX=e,this.opacity=n,this.updater.updateDOM(e,n)}}]),e}(),pe=function(){function e(t){ue(this,e),this.parent=t}return se(e,[{key:"contentEl",get:function(){return this.parent.contentEl}},{key:"scrimEl",get:function(){return this.parent.scrimEl}}],[{key:"getUpdaterForPlatform",value:function(e){return"attributeStyleMap"in Element.prototype&&"CSS"in window&&"number"in CSS?new ve(e):new be(e)}}]),e}(),be=function(e){re(n,e);var t=oe(n);function n(e){return ue(this,n),t.call(this,e)}return se(n,[{key:"updateDOM",value:function(e,t){this.contentEl.style.transform="translate(".concat(e,"px, 0px)"),this.scrimEl.style.opacity="".concat(t)}}]),n}(pe),ve=function(e){re(n,e);var t=oe(n);function n(e){var r;return ue(this,n),(r=t.call(this,e)).tvalue=new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]),r.ovalue=CSS.number(1),r}return se(n,[{key:"updateDOM",value:function(e,t){this.tvalue[0].x.value=e,this.ovalue.value=t,this.contentEl.attributeStyleMap.set("transform",this.tvalue),this.scrimEl.attributeStyleMap.set("opacity",this.ovalue)}}]),n}(pe);function he(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n @media screen {\n :host {\n touch-action: pan-x;\n }\n\n .full-screen {\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n }\n\n .full-height {\n position: fixed;\n top: 0;\n height: 100vh;\n }\n\n .peek {\n left: 0;\n width: var(--hy-drawer-peek-width, 0px);\n visibility: hidden;\n z-index: calc(var(--hy-drawer-z-index, 100) - 1);\n }\n\n .scrim {\n position: fixed;\n top: 0;\n left: 0;\n height: 10vh;\n width: 10vw;\n transform: scale(10);\n transform-origin: top left;\n opacity: 0;\n pointer-events: none;\n background: var(--hy-drawer-scrim-background, rgba(0, 0, 0, 0.5));\n z-index: var(--hy-drawer-z-index, 100);\n -webkit-tap-highlight-color: transparent;\n }\n\n .range {\n position: fixed;\n top: 0;\n height: 100vh;\n z-index: calc(var(--hy-drawer-z-index, 100) + 1);\n }\n\n .grabbing-screen {\n cursor: grabbing;\n z-index: calc(var(--hy-drawer-z-index, 100) + 2);\n }\n\n .wrapper {\n width: var(--hy-drawer-width, 300px);\n background: var(--hy-drawer-background, inherit);\n box-shadow: var(--hy-drawer-box-shadow, 0 0 15px rgba(0, 0, 0, 0.25));\n z-index: calc(var(--hy-drawer-z-index, 100) + 3);\n contain: strict;\n }\n\n .wrapper.left {\n left: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper.right {\n right: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper > .overflow {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n }\n\n .grab {\n cursor: move;\n cursor: grab;\n }\n\n .grabbing {\n cursor: grabbing;\n }\n }\n\n @media print {\n .scrim {\n display: none !important;\n }\n\n .wrapper {\n transform: none !important;\n }\n }\n"]);return he=function(){return e},e}var de,ye,Oe,me,je=Object(i.b)(he());function ge(e){return(ge="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 we(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Se(){var e=Ee(['<div class="grabbing-screen full-screen"></div>']);return Se=function(){return e},e}function ke(){var e=Ee(['\n <div class="peek full-height"></div>\n <div\n class="scrim"\n style=',">\n </div>\n ","\n <div\n class=","\n style=",'\n >\n <div class="overflow">\n <slot></slot>\n </div>\n </div>\n ']);return ke=function(){return e},e}function Ee(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||Ae(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ce(e){return function(e){if(Array.isArray(e))return Me(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Ae(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ae(e,t){if(e){if("string"==typeof e)return Me(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Me(e,t):void 0}}function Me(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}function Ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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)}}function Te(e,t,n){return(Te="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ze(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function Re(e,t){return(Re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ze(e);if(t){var i=ze(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _e(this,n)}}function _e(e,t){return!t||"object"!==ge(t)&&"function"!=typeof t?De(e):t}function De(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
29
+ /**
30
+ * Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
31
+ *
32
+ * This program is free software: you can redistribute it and/or modify
33
+ * it under the terms of the GNU General Public License as published by
34
+ * the Free Software Foundation, either version 3 of the License, or
35
+ * (at your option) any later version.
36
+ *
37
+ * This program is distributed in the hope that it will be useful,
38
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
39
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40
+ * GNU General Public License for more details.
41
+ *
42
+ * You should have received a copy of the GNU General Public License
43
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
44
+ *
45
+ * @license
46
+ * @nocompile
47
+ */
48
+ var Xe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Re(e,t)}(c,e);var t,n,o,a=$e(c);function c(){var e;return Ie(this,c),(e=a.apply(this,arguments)).opened=!1,e.side="left",e.persistent=!1,e.threshold=10,e.noScroll=!1,e.mouseEvents=!1,e.range=[0,100],e.willChange=!1,de.set(De(e),Object(X.f)()),ye.set(De(e),void 0),Oe.set(De(e),void 0),me.set(De(e),void 0),e.upgrade=function(){var t=e.getDrawerWidth(),n=e.$.persistent.pipe(Object(g.a)((function(e){return!e}))),i=e.getStartObservable().pipe(Object(X.h)(n),Object(w.a)()),o=Object(v.a)((function(){return Object(r.c)(De(e),ye).pipe(Object(g.a)((function(e){return 0!==e})))})),a=i.pipe(Object(S.a)(o),Object(g.a)((function(t){var n;return(n=e).calcIsInRange.apply(n,Ce(t))})),Object(k.a)((function(t){t&&(e.willChange=!0,e.fireEvent("prepare"))})),Object(w.a)()),c=e.getEndObservable().pipe(Object(X.h)(n,a),Object(k.a)((function(){e.mouseEvents&&(e.grabbing=!1)})),Object(w.a)()),u=e.getMoveObservable(i,c).pipe(Object(X.h)(n,a),Object(w.a)()),l=e.getIsSlidingObservable(u,i,c).pipe(Object(k.a)((function(t){e.isSliding=t,t&&e.mouseEvents&&(e.grabbing=!0)}))),s=Object(r.d)(De(e),ye,Object(v.a)((function(){var n=Object(h.a)([e.$.opened,e.$.side,t]).pipe(Object(g.a)((function(e){var t=xe(e,3),n=t[0],r=t[1],i=t[2];return n?i*("left"===r?1:-1):0}))),o=u.pipe(Object(X.h)(l),Object(k.a)((function(){return e.scrimClickable=!1})),Object(k.a)((function(t){var n=t.event;return n&&e.noScroll&&n.preventDefault()})),Object(S.a)(i,Object(r.c)(De(e),Oe),t),Object(g.a)((function(t){var n;return(n=e).calcTranslateX.apply(n,Ce(t))})));return Object(d.a)(Object(r.c)(De(e),me),n,o)})).pipe(Object(w.a)()));Object(r.d)(De(e),Oe,s.pipe(A(i)));var f=s.pipe(I(),Object(P.a)(),Object(T.a)((function(e){var t=xe(e,2),n=t[0].timestamp;return t[1].timestamp-n>0})),Object(g.a)((function(e){var t=xe(e,2),n=t[0],r=n.value,i=n.timestamp,o=t[1];return(o.value-r)/(o.timestamp-i)})),Object(R.a)(0)),p=c.pipe(Object(S.a)(i,s,t,f),Object(T.a)((function(t){var n;return(n=e).calcIsSwipe.apply(n,Ce(t))})),Object(g.a)((function(t){var n;return(n=e).calcWillOpen.apply(n,Ce(t))}))),b=e.animateTo$.pipe(Object(k.a)((function(){e.willChange=!0,e.fireEvent("prepare")})));Object(r.d)(De(e),me,Object(d.a)(p,b).pipe(Object(S.a)(s,t),Object($.a)((function(t){var n=xe(t,3),r=n[0],o=n[1],a=n[2],c="left"===e.side?1:-1,u=(r?a*c:0)-o,l=Math.ceil(200+.15*a);return Object(X.m)(U,o,u,l).pipe(Object(_.a)((function(){e.transitioned(r)})),Object(D.a)(i),Object(D.a)(e.$.side.pipe(z(1))),Object(w.a)())})))),s.pipe(Object(S.a)(t),Object(k.a)((function(t){var n;(n=e).updateDOM.apply(n,Ce(t));var r=De(e),i=r.translateX,o=r.opacity;e.fireEvent("move",{detail:{translateX:i,opacity:o},bubbles:!1})}))).subscribe(),Object(y.a)(e.scrimEl,"click").pipe(Object(k.a)((function(){return e.close()}))).subscribe(),n.pipe(Object(k.a)((function(t){e.scrimEl.style.display=t?"block":"none"}))).subscribe(),e.$.mouseEvents.pipe(Object($.a)((function(e){return e?i.pipe(Object(S.a)(a)):O.a})),Object(T.a)((function(e){var t=xe(e,2),n=t[0];return t[1]&&null!=n.event})),Object(k.a)((function(e){var t=xe(e,1)[0].event;return t&&t.preventDefault()}))).subscribe(),e.fireEvent("init",{detail:e.opened}),Object(r.c)(De(e),de).resolve(De(e))},e.transitioned=function(t){e.opened=e.scrimClickable=t,e.willChange=!1,e.fireEvent("transitioned",{detail:t})},e}return t=c,(n=[{key:"getDrawerWidth",value:function(){var e=this,t=Y(this.contentEl).pipe(Object(k.a)((function(t){return e.fireEvent("content-width-change",{detail:t})}))),n=Y(this.peekEl).pipe(Object(k.a)((function(t){return e.fireEvent("peek-width-change",{detail:t})})));return Object(h.a)([t,n]).pipe(Object(g.a)((function(e){var t=xe(e,2);return t[0]-t[1]})),Object(w.a)())}},{key:"connectedCallback",value:function(){Te(ze(c.prototype),"connectedCallback",this).call(this),this.$={opened:new m.a(this.opened),side:new m.a(this.side),persistent:new m.a(this.persistent),preventDefault:new m.a(this.noScroll),mouseEvents:new m.a(this.mouseEvents)},this.scrimClickable=this.opened,this.animateTo$=new j.a,this.updater=pe.getUpdaterForPlatform(this),this.updateComplete.then(this.upgrade)}},{key:"render",value:function(){var e;return Object(i.d)(ke(),b({willChange:this.willChange?"opacity":"",pointerEvents:this.scrimClickable?"all":""}),this.mouseEvents&&this.grabbing&&!this.scrimClickable?Object(i.d)(Se()):null,f((we(e={wrapper:!0,"full-height":!0},this.side,!0),we(e,"grab",this.mouseEvents),we(e,"grabbing",this.mouseEvents&&this.grabbing),e)),b({willChange:this.willChange?"transform":""}))}},{key:"open",value:function(){this.animateTo$.next(!0)}},{key:"close",value:function(){this.animateTo$.next(!1)}},{key:"toggle",value:function(){this.animateTo$.next(!this.opened)}},{key:"initialized",get:function(){return Object(r.c)(this,de)}}])&&Pe(t.prototype,n),o&&Pe(t,o),c}(Object(X.b)(X.a,[q,fe,te]));de=new WeakMap,ye=new WeakMap,Oe=new WeakMap,me=new WeakMap,Xe.styles=je,Object(r.e)([Object(i.f)(".scrim")],Xe.prototype,"scrimEl",void 0),Object(r.e)([Object(i.f)(".wrapper")],Xe.prototype,"contentEl",void 0),Object(r.e)([Object(i.f)(".peek")],Xe.prototype,"peekEl",void 0),Object(r.e)([Object(i.e)({type:Boolean,reflect:!0})],Xe.prototype,"opened",void 0),Object(r.e)([Object(i.e)({type:String,reflect:!0})],Xe.prototype,"side",void 0),Object(r.e)([Object(i.e)({type:Boolean,reflect:!0})],Xe.prototype,"persistent",void 0),Object(r.e)([Object(i.e)({type:Number,reflect:!0})],Xe.prototype,"threshold",void 0),Object(r.e)([Object(i.e)({type:Boolean,reflect:!0})],Xe.prototype,"noScroll",void 0),Object(r.e)([Object(i.e)({type:Boolean,reflect:!0})],Xe.prototype,"mouseEvents",void 0),Object(r.e)([Object(i.e)({reflect:!0,converter:B,hasChanged:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((function(e,n){return e!==t[n]}))}})],Xe.prototype,"range",void 0),Object(r.e)([Object(i.e)()],Xe.prototype,"scrimClickable",void 0),Object(r.e)([Object(i.e)()],Xe.prototype,"grabbing",void 0),Object(r.e)([Object(i.e)()],Xe.prototype,"willChange",void 0),Object(r.e)([Object(i.e)()],Xe.prototype,"open",null),Object(r.e)([Object(i.e)()],Xe.prototype,"close",null),Object(r.e)([Object(i.e)()],Xe.prototype,"toggle",null),Xe=Object(r.e)([Object(i.c)("hy-drawer")],Xe)},359:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(2),i=n(6);function o(e){return(o="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 a=Array.isArray,c=Object.getPrototypeOf,u=Object.prototype,l=Object.keys;function s(e){if(1===e.length){var t=e[0];if(a(t))return{args:t,keys:null};if((r=t)&&"object"===o(r)&&c(r)===u){var n=l(t);return{args:n.map((function(e){return t[e]})),keys:n}}}var r;return{args:e,keys:null}}var f=n(65),p=n(17),b=n(37),v=n(143),h=n(48);function d(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object(h.c)(e),r=Object(h.b)(e),o=s(e),a=o.args,c=o.keys,u=new i.a(O(a,n,c?function(e){for(var t={},n=0;n<e.length;n++)t[c[n]]=e[n];return t}:b.a));return r?u.pipe(Object(v.a)(r)):u}var y=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i._next=n,i.shouldComplete=r,i}return Object(r.f)(t,e),t.prototype._complete=function(){this.shouldComplete()?e.prototype._complete.call(this):this.unsubscribe()},t}(f.b);function O(e,t,n){return void 0===n&&(n=b.a),function(r){m(t,(function(){for(var i=e.length,o=new Array(i),a=i,c=e.map((function(){return!1})),u=!0,l=function(i){m(t,(function(){Object(p.a)(e[i],t).subscribe(new y(r,(function(e){o[i]=e,u&&(c[i]=!0,u=!c.every(b.a)),u||r.next(n(o.slice()))}),(function(){return 0==--a})))}),r)},s=0;s<i;s++)l(s)}),r)}}function m(e,t,n){e?n.add(e.schedule(t)):t()}},360:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(78),i=n(13),o=n(10),a=n(17),c={leading:!0,trailing:!1};var u=n(145);function l(e,t,n){void 0===t&&(t=r.b),void 0===n&&(n=c);var l,s,f,p,b,v=Object(u.a)(e,t);return l=function(){return v},p=(f=void 0===(s=n)?c:s).leading,b=f.trailing,Object(i.b)((function(e,t){var n=!1,r=null,i=null,c=!1,u=function(){null==i||i.unsubscribe(),i=null,b&&(v(),c&&t.complete())},s=function(){i=null,c&&t.complete()},f=function(e){return i=Object(a.c)(l(e)).subscribe(new o.a(t,u,void 0,s))},v=function(){n&&(t.next(r),!c&&f(r)),n=!1,r=null};e.subscribe(new o.a(t,(function(e){n=!0,r=e,(!i||i.closed)&&(p?v():f(e))}),void 0,(function(){c=!0,(!(b&&n&&i)||i.closed)&&t.complete()})))}))}}}]);
@@ -0,0 +1,214 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.1.2 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{308:function(t,e,n){"use strict";n.d(e,"g",(function(){return o.a})),n.d(e,"m",(function(){return o.c})),n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return _})),n.d(e,"e",(function(){return w.b})),n.d(e,"d",(function(){return w.a})),n.d(e,"l",(function(){return S.c})),n.d(e,"h",(function(){return S.b})),n.d(e,"c",(function(){return S.a})),n.d(e,"i",(function(){return O.b})),n.d(e,"j",(function(){return O.c})),n.d(e,"k",(function(){return O.d})),n.d(e,"f",(function(){return O.a}));var r,o=n(83),i=n(2),u=n(323),a=n(318);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,n){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=m(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=m(t);if(e){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?b(t):e}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(c,t);var e,n,o,u=y(c);function c(){var t;return f(this,c),(t=u.apply(this,arguments)).$connected=new a.a,r.set(b(t),void 0),t.$={},t}return e=c,(n=[{key:"connectedCallback",value:function(){h(m(c.prototype),"connectedCallback",this).call(this),this.$connected.next(!0)}},{key:"disconnectedCallback",value:function(){h(m(c.prototype),"disconnectedCallback",this).call(this),this.$connected.next(!1)}},{key:"firstUpdated",value:function(){Object(i.d)(this,r,!0)}},{key:"updated",value:function(t){if(!Object(i.c)(this,r)){var e,n=s(t.keys());try{for(n.s();!(e=n.n()).done;){var o=e.value;o in this.$&&this.$[o].next(this[o])}}catch(t){n.e(t)}finally{n.f()}}Object(i.d)(this,r,!1)}},{key:"fireEvent",value:function(t,e){this.dispatchEvent(new CustomEvent(t,e)),this.dispatchEvent(new CustomEvent("".concat(this.tagName.toLowerCase(),"-").concat(t),e))}}])&&p(e.prototype,n),o&&p(e,o),c}(u.a);function _(t,e){return e.forEach((function(e){Object.getOwnPropertyNames(e.prototype).forEach((function(n){t.prototype[n]=e.prototype[n]}))})),t}r=new WeakMap;var w=n(111),S=n(82),O=n(67)},309:function(t,e,n){"use strict";n.d(e,"a",(function(){return O})),n.d(e,"b",(function(){return j})),n.d(e,"e",(function(){return k})),n.d(e,"c",(function(){return P})),n.d(e,"f",(function(){return x})),n.d(e,"g",(function(){return C})),n.d(e,"d",(function(){return A}));var r=n(320),o=n(312),i=n(321),u=n(322),a=n(316),c=n(311);function s(t,e,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=d(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=d(t);if(e){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==_(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e,n){return e&&m(t.prototype,e),n&&m(t,n),t}function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
15
+ /**
16
+ * @license
17
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
18
+ * This code may only be used under the BSD style license found at
19
+ * http://polymer.github.io/LICENSE.txt
20
+ * The complete set of authors may be found at
21
+ * http://polymer.github.io/AUTHORS.txt
22
+ * The complete set of contributors may be found at
23
+ * http://polymer.github.io/CONTRIBUTORS.txt
24
+ * Code distributed by Google as part of the polymer project is also
25
+ * subject to an additional IP rights grant found at
26
+ * http://polymer.github.io/PATENTS.txt
27
+ */var w=function(t){return null===t||!("object"===_(t)||"function"==typeof t)},S=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},O=function(){function t(e,n,r){b(this,t),this.dirty=!0,this.element=e,this.name=n,this.strings=r,this.parts=[];for(var o=0;o<r.length-1;o++)this.parts[o]=this._createPart()}return g(t,[{key:"_createPart",value:function(){return new j(this)}},{key:"_getValue",value:function(){var t=this.strings,e=t.length-1,n=this.parts;if(1===e&&""===t[0]&&""===t[1]){var r=n[0].value;if("symbol"===_(r))return String(r);if("string"==typeof r||!S(r))return r}for(var o="",i=0;i<e;i++){o+=t[i];var u=n[i];if(void 0!==u){var a=u.value;if(w(a)||!S(a))o+="string"==typeof a?a:String(a);else{var c,s=y(a);try{for(s.s();!(c=s.n()).done;){var l=c.value;o+="string"==typeof l?l:String(l)}}catch(t){s.e(t)}finally{s.f()}}}}return o+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),t}(),j=function(){function t(e){b(this,t),this.value=void 0,this.committer=e}return g(t,[{key:"setValue",value:function(t){t===i.a||w(t)&&t===this.value||(this.value=t,Object(r.b)(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;Object(r.b)(this.value);){var t=this.value;this.value=i.a,t(this)}this.value!==i.a&&this.committer.commit()}}]),t}(),k=function(){function t(e){b(this,t),this.value=void 0,this.__pendingValue=void 0,this.options=e}return g(t,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(Object(c.c)()),this.endNode=t.appendChild(Object(c.c)())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=Object(c.c)()),t.__insert(this.endNode=Object(c.c)())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=Object(c.c)()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){if(null!==this.startNode.parentNode){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=i.a,t(this)}var e=this.__pendingValue;e!==i.a&&(w(e)?e!==this.value&&this.__commitText(e):e instanceof a.b?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):S(e)?this.__commitIterable(e):e===i.b?(this.value=i.b,this.clear()):this.__commitText(e))}}},{key:"__insert",value:function(t){this.endNode.parentNode.insertBefore(t,this.endNode)}},{key:"__commitNode",value:function(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}},{key:"__commitText",value:function(t){var e=this.startNode.nextSibling,n="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=n:this.__commitNode(document.createTextNode(n)),this.value=t}},{key:"__commitTemplateResult",value:function(t){var e=this.options.templateFactory(t);if(this.value instanceof u.a&&this.value.template===e)this.value.update(t.values);else{var n=new u.a(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(e){Array.isArray(this.value)||(this.value=[],this.clear());var n,r,o=this.value,i=0,u=y(e);try{for(u.s();!(r=u.n()).done;){var a=r.value;void 0===(n=o[i])&&(n=new t(this.options),o.push(n),0===i?n.appendIntoPart(this):n.insertAfterPart(o[i-1])),n.setValue(a),n.commit(),i++}}catch(t){u.e(t)}finally{u.f()}i<o.length&&(o.length=i,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;Object(o.b)(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),t}(),P=function(){function t(e,n,r){if(b(this,t),this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=n,this.strings=r}return g(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=i.a,t(this)}if(this.__pendingValue!==i.a){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=i.a}}}]),t}(),x=function(t){l(n,t);var e=p(n);function n(t,r,o){var i;return b(this,n),(i=e.call(this,t,r,o)).single=2===o.length&&""===o[0]&&""===o[1],i}return g(n,[{key:"_createPart",value:function(){return new C(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:s(d(n.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),n}(O),C=function(t){l(n,t);var e=p(n);function n(){return b(this,n),e.apply(this,arguments)}return n}(j),E=!1;!function(){try{var t={get capture(){return E=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}}();var A=function(){function t(e,n,r){var o=this;b(this,t),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(t){return o.handleEvent(t)}}return g(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=i.a,t(this)}if(this.__pendingValue!==i.a){var e=this.__pendingValue,n=this.value,o=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),u=null!=e&&(null==n||o);o&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),u&&(this.__options=T(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=i.a}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),t}(),T=function(t){return t&&(E?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)}},310:function(t,e,n){"use strict";n.d(e,"c",(function(){return a.a})),n.d(e,"a",(function(){return r.b})),n.d(e,"b",(function(){return r.g})),n.d(e,"d",(function(){return c}));var r=n(309);function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
28
+ /**
29
+ * @license
30
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
31
+ * This code may only be used under the BSD style license found at
32
+ * http://polymer.github.io/LICENSE.txt
33
+ * The complete set of authors may be found at
34
+ * http://polymer.github.io/AUTHORS.txt
35
+ * The complete set of contributors may be found at
36
+ * http://polymer.github.io/CONTRIBUTORS.txt
37
+ * Code distributed by Google as part of the polymer project is also
38
+ * subject to an additional IP rights grant found at
39
+ * http://polymer.github.io/PATENTS.txt
40
+ */
41
+ var i=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,i;return e=t,(n=[{key:"handleAttributeExpressions",value:function(t,e,n,o){var i=e[0];return"."===i?new r.f(t,e.slice(1),n).parts:"@"===i?[new r.d(t,e.slice(1),o.eventContext)]:"?"===i?[new r.c(t,e.slice(1),n)]:new r.a(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new r.e(t)}}])&&o(e.prototype,n),i&&o(e,i),t}()),u=n(316),a=n(320);n(312),n(321),n(319),n(317),n(322),n(311);
42
+ /**
43
+ * @license
44
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
45
+ * This code may only be used under the BSD style license found at
46
+ * http://polymer.github.io/LICENSE.txt
47
+ * The complete set of authors may be found at
48
+ * http://polymer.github.io/AUTHORS.txt
49
+ * The complete set of contributors may be found at
50
+ * http://polymer.github.io/CONTRIBUTORS.txt
51
+ * Code distributed by Google as part of the polymer project is also
52
+ * subject to an additional IP rights grant found at
53
+ * http://polymer.github.io/PATENTS.txt
54
+ */
55
+ "undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");var c=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new u.b(t,n,"html",i)}},311:function(t,e,n){"use strict";n.d(e,"f",(function(){return r})),n.d(e,"g",(function(){return o})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"c",(function(){return l})),n.d(e,"e",(function(){return f}));
56
+ /**
57
+ * @license
58
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
59
+ * This code may only be used under the BSD style license found at
60
+ * http://polymer.github.io/LICENSE.txt
61
+ * The complete set of authors may be found at
62
+ * http://polymer.github.io/AUTHORS.txt
63
+ * The complete set of contributors may be found at
64
+ * http://polymer.github.io/CONTRIBUTORS.txt
65
+ * Code distributed by Google as part of the polymer project is also
66
+ * subject to an additional IP rights grant found at
67
+ * http://polymer.github.io/PATENTS.txt
68
+ */
69
+ var r="{{lit-".concat(String(Math.random()).slice(2),"}}"),o="\x3c!--".concat(r,"--\x3e"),i=new RegExp("".concat(r,"|").concat(o)),u="$lit$",a=function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parts=[],this.element=n;for(var o=[],a=[],s=document.createTreeWalker(n.content,133,null,!1),p=0,h=-1,d=0,y=e.strings,v=e.values.length;d<v;){var b=s.nextNode();if(null!==b){if(h++,1===b.nodeType){if(b.hasAttributes()){for(var m=b.attributes,g=m.length,_=0,w=0;w<g;w++)c(m[w].name,u)&&_++;for(;_-- >0;){var S=y[d],O=f.exec(S)[2],j=O.toLowerCase()+u,k=b.getAttribute(j);b.removeAttribute(j);var P=k.split(i);this.parts.push({type:"attribute",index:h,name:O,strings:P}),d+=P.length-1}}"TEMPLATE"===b.tagName&&(a.push(b),s.currentNode=b.content)}else if(3===b.nodeType){var x=b.data;if(x.indexOf(r)>=0){for(var C=b.parentNode,E=x.split(i),A=E.length-1,T=0;T<A;T++){var N=void 0,R=E[T];if(""===R)N=l();else{var V=f.exec(R);null!==V&&c(V[2],u)&&(R=R.slice(0,V.index)+V[1]+V[2].slice(0,-u.length)+V[3]),N=document.createTextNode(R)}C.insertBefore(N,b),this.parts.push({type:"node",index:++h})}""===E[A]?(C.insertBefore(l(),b),o.push(b)):b.data=E[A],d+=A}}else if(8===b.nodeType)if(b.data===r){var U=b.parentNode;null!==b.previousSibling&&h!==p||(h++,U.insertBefore(l(),b)),p=h,this.parts.push({type:"node",index:h}),null===b.nextSibling?b.data="":(o.push(b),h--),d++}else for(var I=-1;-1!==(I=b.data.indexOf(r,I+1));)this.parts.push({type:"node",index:-1}),d++}else s.currentNode=a.pop()}for(var M=0,D=o;M<D.length;M++){var F=D[M];F.parentNode.removeChild(F)}},c=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},s=function(t){return-1!==t.index},l=function(){return document.createComment("")},f=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/},312:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return i}));
70
+ /**
71
+ * @license
72
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
73
+ * This code may only be used under the BSD style license found at
74
+ * http://polymer.github.io/LICENSE.txt
75
+ * The complete set of authors may be found at
76
+ * http://polymer.github.io/AUTHORS.txt
77
+ * The complete set of contributors may be found at
78
+ * http://polymer.github.io/CONTRIBUTORS.txt
79
+ * Code distributed by Google as part of the polymer project is also
80
+ * subject to an additional IP rights grant found at
81
+ * http://polymer.github.io/PATENTS.txt
82
+ */
83
+ var r="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,o=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e!==n;){var o=e.nextSibling;t.insertBefore(e,r),e=o}},i=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==n;){var r=e.nextSibling;t.removeChild(e),e=r}}},314:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=Array.isArray;function o(t){return 1===t.length&&r(t[0])?t[0]:t}},315:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(6),o=new r.a((function(t){return t.complete()}))},316:function(t,e,n){"use strict";n.d(e,"b",(function(){return v})),n.d(e,"a",(function(){return b}));var r=n(312),o=n(311);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=l(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),t}
84
+ /**
85
+ * @license
86
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
87
+ * This code may only be used under the BSD style license found at
88
+ * http://polymer.github.io/LICENSE.txt
89
+ * The complete set of authors may be found at
90
+ * http://polymer.github.io/AUTHORS.txt
91
+ * The complete set of contributors may be found at
92
+ * http://polymer.github.io/CONTRIBUTORS.txt
93
+ * Code distributed by Google as part of the polymer project is also
94
+ * subject to an additional IP rights grant found at
95
+ * http://polymer.github.io/PATENTS.txt
96
+ */var d=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(t){return t}}),y=" ".concat(o.f," "),v=function(){function t(e,n,r,o){f(this,t),this.strings=e,this.values=n,this.type=r,this.processor=o}return h(t,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var i=this.strings[r],u=i.lastIndexOf("\x3c!--");n=(u>-1||n)&&-1===i.indexOf("--\x3e",u+1);var a=o.e.exec(i);e+=null===a?i+(n?y:o.g):i.substr(0,a.index)+a[1]+a[2]+o.b+a[3]+o.f}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template"),e=this.getHTML();return void 0!==d&&(e=d.createHTML(e)),t.innerHTML=e,t}}]),t}(),b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,t);var e=c(n);function n(){return f(this,n),e.apply(this,arguments)}return h(n,[{key:"getHTML",value:function(){return"<svg>".concat(u(l(n.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var t=u(l(n.prototype),"getTemplateElement",this).call(this),e=t.content,o=e.firstChild;return e.removeChild(o),Object(r.c)(e,o.firstChild),t}}]),n}(v)},317:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r=n(311);
97
+ /**
98
+ * @license
99
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
100
+ * This code may only be used under the BSD style license found at
101
+ * http://polymer.github.io/LICENSE.txt
102
+ * The complete set of authors may be found at
103
+ * http://polymer.github.io/AUTHORS.txt
104
+ * The complete set of contributors may be found at
105
+ * http://polymer.github.io/CONTRIBUTORS.txt
106
+ * Code distributed by Google as part of the polymer project is also
107
+ * subject to an additional IP rights grant found at
108
+ * http://polymer.github.io/PATENTS.txt
109
+ */function o(t){var e=i.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},i.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var o=t.strings.join(r.f);return void 0===(n=e.keyString.get(o))&&(n=new r.a(t,t.getTemplateElement()),e.keyString.set(o,n)),e.stringsArray.set(t.strings,n),n}var i=new Map},318:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(2),o=n(6),i=n(15),u=n(112),a=Object(u.a)((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),c=n(64),s=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(r.f)(e,t),e.prototype.lift=function(t){var e=new l(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new a},e.prototype.next=function(t){var e,n;if(this._throwIfClosed(),!this.isStopped){var o=this.observers.slice();try{for(var i=Object(r.j)(o),u=i.next();!u.done;u=i.next()){u.value.next(t)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}},e.prototype.error=function(t){if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;for(var e=this.observers;e.length;)e.shift().error(t)}},e.prototype.complete=function(){if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;for(var t=this.observers;t.length;)t.shift().complete()}},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,n=this.hasError,r=this.isStopped,o=this.observers;return n||r?i.a:(o.push(t),new i.b((function(){return Object(c.a)(e.observers,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,n=this.thrownError,r=this.isStopped;e?t.error(n):r&&t.complete()},e.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},e.create=function(t,e){return new l(t,e)},e}(o.a),l=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return Object(r.f)(e,t),e.prototype.next=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)},e.prototype.error=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:i.a},e}(s)},319:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return a}));var r=n(312),o=n(309),i=n(317),u=new WeakMap,a=function(t,e,n){var a=u.get(e);void 0===a&&(Object(r.b)(e,e.firstChild),u.set(e,a=new o.e(Object.assign({templateFactory:i.b},n))),a.appendInto(e)),a.setValue(t),a.commit()}},320:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i}));
110
+ /**
111
+ * @license
112
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
113
+ * This code may only be used under the BSD style license found at
114
+ * http://polymer.github.io/LICENSE.txt
115
+ * The complete set of authors may be found at
116
+ * http://polymer.github.io/AUTHORS.txt
117
+ * The complete set of contributors may be found at
118
+ * http://polymer.github.io/CONTRIBUTORS.txt
119
+ * Code distributed by Google as part of the polymer project is also
120
+ * subject to an additional IP rights grant found at
121
+ * http://polymer.github.io/PATENTS.txt
122
+ */
123
+ var r=new WeakMap,o=function(t){return function(){var e=t.apply(void 0,arguments);return r.set(e,!0),e}},i=function(t){return"function"==typeof t&&r.has(t)}},321:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));
124
+ /**
125
+ * @license
126
+ * Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
127
+ * This code may only be used under the BSD style license found at
128
+ * http://polymer.github.io/LICENSE.txt
129
+ * The complete set of authors may be found at
130
+ * http://polymer.github.io/AUTHORS.txt
131
+ * The complete set of contributors may be found at
132
+ * http://polymer.github.io/CONTRIBUTORS.txt
133
+ * Code distributed by Google as part of the polymer project is also
134
+ * subject to an additional IP rights grant found at
135
+ * http://polymer.github.io/PATENTS.txt
136
+ */
137
+ var r={},o={}},322:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(312),o=n(311);function i(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||a(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=a(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw i}}}}function a(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
138
+ /**
139
+ * @license
140
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
141
+ * This code may only be used under the BSD style license found at
142
+ * http://polymer.github.io/LICENSE.txt
143
+ * The complete set of authors may be found at
144
+ * http://polymer.github.io/AUTHORS.txt
145
+ * The complete set of contributors may be found at
146
+ * http://polymer.github.io/CONTRIBUTORS.txt
147
+ * Code distributed by Google as part of the polymer project is also
148
+ * subject to an additional IP rights grant found at
149
+ * http://polymer.github.io/PATENTS.txt
150
+ */
151
+ var l=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.__parts=[],this.template=e,this.processor=n,this.options=r}var e,n,a;return e=t,(n=[{key:"update",value:function(t){var e,n=0,r=u(this.__parts);try{for(r.s();!(e=r.n()).done;){var o=e.value;void 0!==o&&o.setValue(t[n]),n++}}catch(t){r.e(t)}finally{r.f()}var i,a=u(this.__parts);try{for(a.s();!(i=a.n()).done;){var c=i.value;void 0!==c&&c.commit()}}catch(t){a.e(t)}finally{a.f()}}},{key:"_clone",value:function(){for(var t,e=r.a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],u=this.template.parts,a=document.createTreeWalker(e,133,null,!1),c=0,s=0,l=a.nextNode();c<u.length;)if(t=u[c],Object(o.d)(t)){for(;s<t.index;)s++,"TEMPLATE"===l.nodeName&&(n.push(l),a.currentNode=l.content),null===(l=a.nextNode())&&(a.currentNode=n.pop(),l=a.nextNode());if("node"===t.type){var f=this.processor.handleTextExpression(this.options);f.insertAfterNode(l.previousSibling),this.__parts.push(f)}else{var p;(p=this.__parts).push.apply(p,i(this.processor.handleAttributeExpressions(l,t.name,t.strings,this.options)))}c++}else this.__parts.push(void 0),c++;return r.a&&(document.adoptNode(e),customElements.upgrade(e)),e}}])&&s(e.prototype,n),a&&s(e,a),t}()},323:function(t,e,n){"use strict";n.d(e,"c",(function(){return I})),n.d(e,"e",(function(){return M})),n.d(e,"f",(function(){return D})),n.d(e,"d",(function(){return f.d})),n.d(e,"b",(function(){return J})),n.d(e,"a",(function(){return rt}));var r=n(312),o=n(311);function i(t,e){for(var n=t.element.content,r=t.parts,o=document.createTreeWalker(n,133,null,!1),i=a(r),u=r[i],c=-1,s=0,l=[],f=null;o.nextNode();){c++;var p=o.currentNode;for(p.previousSibling===f&&(f=null),e.has(p)&&(l.push(p),null===f&&(f=p)),null!==f&&s++;void 0!==u&&u.index===c;)u.index=null!==f?-1:u.index-s,u=r[i=a(r,i)]}l.forEach((function(t){return t.parentNode.removeChild(t)}))}var u=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,133,null,!1);n.nextNode();)e++;return e},a=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=e+1;n<t.length;n++){var r=t[n];if(Object(o.d)(r))return n}return-1};var c=n(319),s=n(317),l=n(322),f=n(310);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
152
+ /**
153
+ * @license
154
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
155
+ * This code may only be used under the BSD style license found at
156
+ * http://polymer.github.io/LICENSE.txt
157
+ * The complete set of authors may be found at
158
+ * http://polymer.github.io/AUTHORS.txt
159
+ * The complete set of contributors may be found at
160
+ * http://polymer.github.io/CONTRIBUTORS.txt
161
+ * Code distributed by Google as part of the polymer project is also
162
+ * subject to an additional IP rights grant found at
163
+ * http://polymer.github.io/PATENTS.txt
164
+ */var h=function(t,e){return"".concat(t,"--").concat(e)},d=!0;void 0===window.ShadyCSS?d=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),d=!1);var y=function(t){return function(e){var n=h(e.type,t),r=s.a.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},s.a.set(n,r));var i=r.stringsArray.get(e.strings);if(void 0!==i)return i;var u=e.strings.join(o.f);if(void 0===(i=r.keyString.get(u))){var a=e.getTemplateElement();d&&window.ShadyCSS.prepareTemplateDom(a,t),i=new o.a(e,a),r.keyString.set(u,i)}return r.stringsArray.set(e.strings,i),i}},v=["html","svg"],b=new Set,m=function(t,e,n){b.add(t);var r=n?n.element:document.createElement("template"),o=e.querySelectorAll("style"),c=o.length;if(0!==c){for(var l=document.createElement("style"),f=0;f<c;f++){var p=o[f];p.parentNode.removeChild(p),l.textContent+=p.textContent}!function(t){v.forEach((function(e){var n=s.a.get(h(e,t));void 0!==n&&n.keyString.forEach((function(t){var e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach((function(t){n.add(t)})),i(t,n)}))}))}(t);var d=r.content;n?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t.element.content,o=t.parts;if(null!=n)for(var i=document.createTreeWalker(r,133,null,!1),c=a(o),s=0,l=-1;i.nextNode();){l++;var f=i.currentNode;for(f===n&&(s=u(e),n.parentNode.insertBefore(e,n));-1!==c&&o[c].index===l;){if(s>0){for(;-1!==c;)o[c].index+=s,c=a(o,c);return}c=a(o,c)}}else r.appendChild(e)}(n,l,d.firstChild):d.insertBefore(l,d.firstChild),window.ShadyCSS.prepareTemplateStyles(r,t);var y=d.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==y)e.insertBefore(y.cloneNode(!0),e.firstChild);else if(n){d.insertBefore(l,d.firstChild);var m=new Set;m.add(l),i(n,m)}}else window.ShadyCSS.prepareTemplateStyles(r,t)};function g(t){return function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||_(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,e){if(t){if("string"==typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(t,e):void 0}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e,n,r,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,o)}function j(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function k(t,e){return!e||"object"!==S(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function P(t){var e="function"==typeof Map?new Map:void 0;return(P=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return x(t,arguments,A(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),E(r,t)})(t)}function x(t,e,n){return(x=C()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&E(o,n.prototype),o}).apply(null,arguments)}function C(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function A(t){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
165
+ /**
166
+ * @license
167
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
168
+ * This code may only be used under the BSD style license found at
169
+ * http://polymer.github.io/LICENSE.txt
170
+ * The complete set of authors may be found at
171
+ * http://polymer.github.io/AUTHORS.txt
172
+ * The complete set of contributors may be found at
173
+ * http://polymer.github.io/CONTRIBUTORS.txt
174
+ * Code distributed by Google as part of the polymer project is also
175
+ * subject to an additional IP rights grant found at
176
+ * http://polymer.github.io/PATENTS.txt
177
+ */window.JSCompiler_renameProperty=function(t,e){return t};var T={toAttribute:function(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},N=function(t,e){return e!==t&&(e==e||t==t)},R={attribute:!0,type:String,converter:T,reflect:!1,hasChanged:N},V=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(s,t);var e,n,r,o,i,u,a,c=(e=s,n=C(),function(){var t,r=A(e);if(n){var o=A(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return k(this,t)});function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=c.call(this)).initialize(),t}return r=s,o=[{key:"initialize",value:function(){var t=this;this._updateState=0,this._updatePromise=new Promise((function(e){return t._enableUpdatingResolver=e})),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}},{key:"_saveInstanceProperties",value:function(){var t=this;this.constructor._classProperties.forEach((function(e,n){if(t.hasOwnProperty(n)){var r=t[n];delete t[n],t._instanceProperties||(t._instanceProperties=new Map),t._instanceProperties.set(n,r)}}))}},{key:"_applyInstanceProperties",value:function(){var t=this;this._instanceProperties.forEach((function(e,n){return t[n]=e})),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this.enableUpdating()}},{key:"enableUpdating",value:function(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(t,e,n){e!==n&&this._attributeToProperty(t,n)}},{key:"_propertyToAttribute",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R,r=this.constructor,o=r._attributeNameForProperty(t,n);if(void 0!==o){var i=r._propertyValueToAttribute(e,n);if(void 0===i)return;this._updateState=8|this._updateState,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var o=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,o),this._updateState=-17&this._updateState}}}},{key:"requestUpdateInternal",value:function(t,e,n){var r=!0;if(void 0!==t){var o=this.constructor;n=n||o.getPropertyOptions(t),o._valueHasChanged(this[t],e,n.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==n.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,n))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(u=regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._updateState=4|this._updateState,t.prev=1,t.next=4,this._updatePromise;case 4:t.next=8;break;case 6:t.prev=6,t.t0=t.catch(1);case 8:if(null==(e=this.performUpdate())){t.next=12;break}return t.next=12,e;case 12:return t.abrupt("return",!this._hasRequestedUpdate);case 13:case"end":return t.stop()}}),t,this,[[1,6]])})),a=function(){var t=this,e=arguments;return new Promise((function(n,r){var o=u.apply(t,e);function i(t){O(o,n,r,i,a,"next",t)}function a(t){O(o,n,r,i,a,"throw",t)}i(void 0)}))},function(){return a.apply(this,arguments)})},{key:"performUpdate",value:function(){if(this._hasRequestedUpdate){this._instanceProperties&&this._applyInstanceProperties();var t=!1,e=this._changedProperties;try{(t=this.shouldUpdate(e))?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"_getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((function(t,n){return e._propertyToAttribute(n,e[n],t)})),this._reflectingProperties=void 0),this._markUpdated()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._getUpdateComplete()}}],i=[{key:"_ensureClassProperties",value:function(){var t=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((function(e,n){return t._classProperties.set(n,e)}))}}},{key:"createProperty",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var n="symbol"===S(t)?Symbol():"__".concat(t),r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}},{key:"getPropertyDescriptor",value:function(t,e,n){return{get:function(){return this[e]},set:function(r){var o=this[t];this[e]=r,this.requestUpdateInternal(t,o,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this._classProperties&&this._classProperties.get(t)||R}},{key:"finalize",value:function(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty("finalized")||t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e,n=this.properties,r=function(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=_(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}([].concat(g(Object.getOwnPropertyNames(n)),g("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n):[])));try{for(r.s();!(e=r.n()).done;){var o=e.value;this.createProperty(o,n[o])}}catch(t){r.e(t)}finally{r.f()}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:N;return n(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||T,o="function"==typeof r?r:r.fromAttribute;return o?o(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||T.toAttribute)(t,n)}}},{key:"observedAttributes",get:function(){var t=this;this.finalize();var e=[];return this._classProperties.forEach((function(n,r){var o=t._attributeNameForProperty(r,n);void 0!==o&&(t._attributeToPropertyMap.set(o,r),e.push(o))})),e}}],o&&j(r.prototype,o),i&&j(r,i),s}(P(HTMLElement));function U(t){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
178
+ /**
179
+ * @license
180
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
181
+ * This code may only be used under the BSD style license found at
182
+ * http://polymer.github.io/LICENSE.txt
183
+ * The complete set of authors may be found at
184
+ * http://polymer.github.io/AUTHORS.txt
185
+ * The complete set of contributors may be found at
186
+ * http://polymer.github.io/CONTRIBUTORS.txt
187
+ * Code distributed by Google as part of the polymer project is also
188
+ * subject to an additional IP rights grant found at
189
+ * http://polymer.github.io/PATENTS.txt
190
+ */V.finalized=!0;var I=function(t){return function(e){return"function"==typeof e?function(t,e){return window.customElements.define(t,e),e}(t,e):function(t,e){return{kind:e.kind,elements:e.elements,finisher:function(e){window.customElements.define(t,e)}}}(t,e)}};function M(t){return function(e,n){return void 0!==n?function(t,e,n){e.constructor.createProperty(n,t)}(t,e,n):function(t,e){return"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?Object.assign(Object.assign({},e),{finisher:function(n){n.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer:function(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher:function(n){n.createProperty(e.key,t)}}}(t,e)}}function D(t,e){return function(n,r){var o={get:function(){return this.renderRoot.querySelector(t)},enumerable:!0,configurable:!0};if(e){var i="symbol"===U(r)?Symbol():"__".concat(r);o.get=function(){return void 0===this[i]&&(this[i]=this.renderRoot.querySelector(t)),this[i]}}return void 0!==r?F(o,n,r):q(o,n)}}var F=function(t,e,n){Object.defineProperty(e,n,t)},q=function(t,e){return{kind:"method",placement:"prototype",key:e.key,descriptor:t}};var z=Element.prototype;z.msMatchesSelector||z.webkitMatchesSelector;function L(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
191
+ /**
192
+ @license
193
+ Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
194
+ This code may only be used under the BSD style license found at
195
+ http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
196
+ http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
197
+ found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
198
+ part of the polymer project is also subject to an additional IP rights grant
199
+ found at http://polymer.github.io/PATENTS.txt
200
+ */
201
+ var H=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$=Symbol(),B=function(){function t(e,n){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n!==$)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}var e,n,r;return e=t,(n=[{key:"toString",value:function(){return this.cssText}},{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(H?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}}])&&L(e.prototype,n),r&&L(e,r),t}(),W=function(t){if(t instanceof B)return t.cssText;if("number"==typeof t)return t;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(t,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))},J=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=n.reduce((function(e,n,r){return e+W(n)+t[r+1]}),t[0]);return new B(o,$)};function Y(t){return(Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function G(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function K(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Q(t,e,n){return(Q="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=et(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function X(t,e){return(X=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Z(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=et(t);if(e){var o=et(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return tt(this,n)}}function tt(t,e){return!e||"object"!==Y(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
202
+ /**
203
+ * @license
204
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
205
+ * This code may only be used under the BSD style license found at
206
+ * http://polymer.github.io/LICENSE.txt
207
+ * The complete set of authors may be found at
208
+ * http://polymer.github.io/AUTHORS.txt
209
+ * The complete set of contributors may be found at
210
+ * http://polymer.github.io/CONTRIBUTORS.txt
211
+ * Code distributed by Google as part of the polymer project is also
212
+ * subject to an additional IP rights grant found at
213
+ * http://polymer.github.io/PATENTS.txt
214
+ */(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");var nt={},rt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X(t,e)}(i,t);var e,n,r,o=Z(i);function i(){return G(this,i),o.apply(this,arguments)}return e=i,r=[{key:"getStyles",value:function(){return this.styles}},{key:"_getUniqueStyles",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var t=this.getStyles();if(Array.isArray(t)){var e=function t(e,n){return e.reduceRight((function(e,n){return Array.isArray(n)?t(n,e):(e.add(n),e)}),n)}(t,new Set),n=[];e.forEach((function(t){return n.unshift(t)})),this._styles=n}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map((function(t){if(t instanceof CSSStyleSheet&&!H){var e=Array.prototype.slice.call(t.cssRules).reduce((function(t,e){return t+e.cssText}),"");return new B(String(e),$)}return t}))}}}],(n=[{key:"initialize",value:function(){Q(et(i.prototype),"initialize",this).call(this),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?H?this.renderRoot.adoptedStyleSheets=t.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet})):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map((function(t){return t.cssText})),this.localName))}},{key:"connectedCallback",value:function(){Q(et(i.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var e=this,n=this.render();Q(et(i.prototype),"update",this).call(this,t),n!==nt&&this.constructor.render(n,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((function(t){var n=document.createElement("style");n.textContent=t.cssText,e.renderRoot.appendChild(n)})))}},{key:"render",value:function(){return nt}}])&&K(e.prototype,n),r&&K(e,r),i}(V);rt.finalized=!0,rt.render=function(t,e,n){if(!n||"object"!==p(n)||!n.scopeName)throw new Error("The `scopeName` option is required.");var o=n.scopeName,i=c.a.has(e),u=d&&11===e.nodeType&&!!e.host,a=u&&!b.has(o),s=a?document.createDocumentFragment():e;if(Object(c.b)(t,s,Object.assign({templateFactory:y(o)},n)),a){var f=c.a.get(s);c.a.delete(s);var h=f.value instanceof l.a?f.value.template:void 0;m(o,s,h),Object(r.b)(e,e.firstChild),e.appendChild(s),c.a.set(e,f)}!i&&u&&window.ShadyCSS.styleElement(e.host)}},326:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(13),o=n(10);function i(t){return Object(r.b)((function(e,n){e.subscribe(new o.a(n,(function(){return n.next(t)})))}))}},327:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(113),o=n(48),i=n(13);function u(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(o.c)(t);return Object(i.b)((function(e,o){(n?Object(r.a)(t,e,n):Object(r.a)(t,e)).subscribe(o)}))}},328:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(110),o=n(56),i=n(314),u=n(17),a=n(315),c=n(48);function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(c.c)(t),s=Object(c.a)(t,1/0),l=Object(i.a)(t);return l.length?1===l.length?Object(u.c)(l[0]):Object(r.a)(s)(Object(o.a)(l,n)):a.a}},329:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(13),o=n(10);function i(){return Object(r.b)((function(t,e){var n,r=!1;t.subscribe(new o.a(e,(function(t){var o=n;n=t,r&&e.next([o,t]),r=!0})))}))}},346:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(2),o=n(6),i=n(15),u=n(13),a=n(10);function c(){return Object(u.b)((function(t,e){var n=null;t._refCount++;var r=new a.a(e,void 0,void 0,void 0,(function(){if(!t||t._refCount<=0||0<--t._refCount)n=null;else{var r=t._connection,o=n;n=null,!r||o&&r!==o||r.unsubscribe(),e.unsubscribe()}}));t.subscribe(r),r.closed||(n=t.connect())}))}var s=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._subject=null,r._refCount=0,r._connection=null,r}return Object(r.f)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype._teardown=function(){this._refCount=0;var t=this._connection;this._subject=this._connection=null,null==t||t.unsubscribe()},e.prototype.connect=function(){var t=this,e=this._connection;if(!e){e=this._connection=new i.b;var n=this.getSubject();e.add(this.source.subscribe(new a.a(n,void 0,(function(e){t._teardown(),n.error(e)}),(function(){t._teardown(),n.complete()}),(function(){return t._teardown()})))),e.closed&&(this._connection=null,e=i.b.EMPTY)}return e},e.prototype.refCount=function(){return c()(this)},e}(o.a),l=n(1);var f=n(318);function p(){return new f.a}function h(){return function(t){return c()((e=p,r=Object(l.a)(e)?e:function(){return e},Object(l.a)(n)?Object(u.b)((function(t,e){var o=r();n(o).subscribe(e).add(t.subscribe(o))})):function(t){var e=new s(t,r);return Object(u.a)(t)&&(e.lift=t.lift),e.source=t,e.subjectFactory=r,e})(t));var e,n,r}}},347:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(13),o=n(10);function i(t,e){return t=null!=t?t:u,Object(r.b)((function(n,r){var i,u=!0;n.subscribe(new o.a(r,(function(n){(u&&(i=n,1)||!t(i,i=e?e(n):n))&&r.next(n),u=!1})))}))}function u(t,e){return t===e}},348:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(315),o=n(13),i=n(10);function u(t){return t<=0?function(){return r.a}:Object(o.b)((function(e,n){var r=0;e.subscribe(new i.a(n,(function(e){++r<=t&&(n.next(e),t<=r&&n.complete())})))}))}},349:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(6),o=n(17);function i(t){return new r.a((function(e){Object(o.c)(t()).subscribe(e)}))}},350:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(13);function o(t){return Object(r.b)((function(e,n){e.subscribe(n),n.add(t)}))}},351:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(13),o=n(10),i=n(17),u=n(23);function a(t){return Object(r.b)((function(e,n){Object(i.c)(t).subscribe(new o.a(n,(function(){return n.complete()}),void 0,u.a)),!n.closed&&e.subscribe(n)}))}},352:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(2),o=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return Object(r.f)(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){var t=this.hasError,e=this.thrownError,n=this._value;if(t)throw e;return this._throwIfClosed(),n},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(n(318).a)}}]);
@@ -0,0 +1,14 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.1.2 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[11],{313:function(t,e){function r(t){return(r="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 n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},340:function(t,e,r){"use strict";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 o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==o&&o,i="URLSearchParams"in o,s="Symbol"in o&&"iterator"in Symbol,a="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(t){return!1}}(),u="FormData"in o,c="ArrayBuffer"in o;if(c)var f=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(t){return t&&f.indexOf(Object.prototype.toString.call(t))>-1};function h(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function y(t){return"string"!=typeof t&&(t=String(t)),t}function p(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return s&&(e[Symbol.iterator]=function(){return e}),e}function d(t){this.map={},t instanceof d?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function b(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function m(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function v(t){var e=new FileReader,r=m(e);return e.readAsArrayBuffer(t),r}function w(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:a&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:u&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:i&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():c&&a&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=w(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c&&(ArrayBuffer.prototype.isPrototypeOf(t)||l(t))?this._bodyArrayBuffer=w(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a&&(this.blob=function(){var t=b(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=b(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(v)}),this.text=function(){var t,e,r,n=b(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=m(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},u&&(this.formData=function(){return this.text().then(E)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(t,e){t=h(t),e=y(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},d.prototype.delete=function(t){delete this.map[h(t)]},d.prototype.get=function(t){return t=h(t),this.has(t)?this.map[t]:null},d.prototype.has=function(t){return this.map.hasOwnProperty(h(t))},d.prototype.set=function(t,e){this.map[h(t)]=y(e)},d.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},d.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),p(t)},d.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),p(t)},d.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),p(t)},s&&(d.prototype[Symbol.iterator]=d.prototype.entries);var O=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function _(t,e){if(!(this instanceof _))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,o=(e=e||{}).body;if(t instanceof _){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new d(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new d(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),O.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function E(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}})),e}function A(t,e){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"",this.headers=new d(e.headers),this.url=e.url||"",this._initBody(t)}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})},g.call(_.prototype),g.call(A.prototype),A.prototype.clone=function(){return new A(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},A.error=function(){var t=new A(null,{status:0,statusText:""});return t.type="error",t};var T=[301,302,303,307,308];A.redirect=function(t,e){if(-1===T.indexOf(e))throw new RangeError("Invalid status code");return new A(null,{status:e,headers:{location:t}})};var P=o.DOMException;try{new P}catch(t){(P=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),P.prototype.constructor=P}function R(t,e){return new Promise((function(r,i){var s=new _(t,e);if(s.signal&&s.signal.aborted)return i(new P("Aborted","AbortError"));var u=new XMLHttpRequest;function f(){u.abort()}u.onload=function(){var t,e,n={status:u.status,statusText:u.statusText,headers:(t=u.getAllResponseHeaders()||"",e=new d,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}})),e)};n.url="responseURL"in u?u.responseURL:n.headers.get("X-Request-URL");var o="response"in u?u.response:u.responseText;setTimeout((function(){r(new A(o,n))}),0)},u.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},u.onabort=function(){setTimeout((function(){i(new P("Aborted","AbortError"))}),0)},u.open(s.method,function(t){try{return""===t&&o.location.href?o.location.href:t}catch(e){return t}}(s.url),!0),"include"===s.credentials?u.withCredentials=!0:"omit"===s.credentials&&(u.withCredentials=!1),"responseType"in u&&(a?u.responseType="blob":c&&s.headers.get("Content-Type")&&-1!==s.headers.get("Content-Type").indexOf("application/octet-stream")&&(u.responseType="arraybuffer")),!e||"object"!==n(e.headers)||e.headers instanceof d?s.headers.forEach((function(t,e){u.setRequestHeader(e,t)})):Object.getOwnPropertyNames(e.headers).forEach((function(t){u.setRequestHeader(t,y(e.headers[t]))})),s.signal&&(s.signal.addEventListener("abort",f),u.onreadystatechange=function(){4===u.readyState&&s.signal.removeEventListener("abort",f)}),u.send(void 0===s._bodyInit?null:s._bodyInit)}))}R.polyfill=!0,o.fetch||(o.fetch=R,o.Headers=d,o.Request=_,o.Response=A)},341:function(t,e,r){(function(n){var o,i;function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}void 0===(i="function"==typeof(o=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?a(t):e}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=o(t);if(e){var i=o(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function f(t,e,r){return(f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=o(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(r):i.value}})(t,e,r||t)}var l=function(){function e(){t(this,e),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return r(e,[{key:"addEventListener",value:function(t,e,r){t in this.listeners||(this.listeners[t]=[]),this.listeners[t].push({callback:e,options:r})}},{key:"removeEventListener",value:function(t,e){if(t in this.listeners)for(var r=this.listeners[t],n=0,o=r.length;n<o;n++)if(r[n].callback===e)return void r.splice(n,1)}},{key:"dispatchEvent",value:function(t){if(t.type in this.listeners){for(var e=this.listeners[t.type].slice(),r=0,n=e.length;r<n;r++){var o=e[r];try{o.callback.call(this,t)}catch(t){Promise.resolve().then((function(){throw t}))}o.options&&o.options.once&&this.removeEventListener(t.type,o.callback)}return!t.defaultPrevented}}}]),e}(),h=function(e){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(s,e);var n=c(s);function s(){var e;return t(this,s),(e=n.call(this)).listeners||l.call(a(e)),Object.defineProperty(a(e),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(a(e),"onabort",{value:null,writable:!0,configurable:!0}),e}return r(s,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(t){"abort"===t.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,t)),f(o(s.prototype),"dispatchEvent",this).call(this,t)}}]),s}(l),y=function(){function e(){t(this,e),Object.defineProperty(this,"signal",{value:new h,writable:!0,configurable:!0})}return r(e,[{key:"abort",value:function(){var t;try{t=new Event("abort")}catch(e){"undefined"!=typeof document?document.createEvent?(t=document.createEvent("Event")).initEvent("abort",!1,!1):(t=document.createEventObject()).type="abort":t={type:"abort",bubbles:!1,cancelable:!1}}this.signal.dispatchEvent(t)}},{key:"toString",value:function(){return"[object AbortController]"}}]),e}();function p(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof t.Request&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}"undefined"!=typeof Symbol&&Symbol.toStringTag&&(y.prototype[Symbol.toStringTag]="AbortController",h.prototype[Symbol.toStringTag]="AbortSignal"),function(t){if(p(t))if(t.fetch){var e=function(t){"function"==typeof t&&(t={fetch:t});var e=t,r=e.fetch,n=e.Request,o=void 0===n?r.Request:n,i=e.AbortController,s=e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL,a=void 0!==s&&s;if(!p({fetch:r,Request:o,AbortController:i,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:a}))return{fetch:r,Request:u};var u=o;(u&&!u.prototype.hasOwnProperty("signal")||a)&&((u=function(t,e){var r;e&&e.signal&&(r=e.signal,delete e.signal);var n=new o(t,e);return r&&Object.defineProperty(n,"signal",{writable:!1,enumerable:!1,configurable:!0,value:r}),n}).prototype=o.prototype);var c=r;return{fetch:function(t,e){var r=u&&u.prototype.isPrototypeOf(t)?t.signal:e?e.signal:void 0;if(r){var n;try{n=new DOMException("Aborted","AbortError")}catch(t){(n=new Error("Aborted")).name="AbortError"}if(r.aborted)return Promise.reject(n);var o=new Promise((function(t,e){r.addEventListener("abort",(function(){return e(n)}),{once:!0})}));return e&&e.signal&&delete e.signal,Promise.race([o,c(t,e)])}return c(t,e)},Request:u}}(t),r=e.fetch,n=e.Request;t.fetch=r,t.Request=n,Object.defineProperty(t,"AbortController",{writable:!0,enumerable:!1,configurable:!0,value:y}),Object.defineProperty(t,"AbortSignal",{writable:!0,enumerable:!1,configurable:!0,value:h})}else console.warn("fetch() is not available, cannot install abortcontroller-polyfill")}("undefined"!=typeof self?self:n)})?o.call(e,r,e,t):o)||(t.exports=i)}).call(this,r(313))}}]);
@@ -0,0 +1,14 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.1.2 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[12],{357:function(t,e){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(){"use strict";if("object"===("undefined"==typeof window?"undefined":o(window)))if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=function(t){for(var e=window.document,o=r(e);o;)o=r(e=o.ownerDocument);return e}(),e=[],n=null,i=null;h.prototype.THROTTLE_TIMEOUT=100,h.prototype.POLL_INTERVAL=null,h.prototype.USE_MUTATION_OBSERVER=!0,h._setupCrossOriginUpdater=function(){return n||(n=function(t,o){i=t&&o?f(t,o):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),n},h._resetCrossOriginUpdater=function(){n=null,i=null},h.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},h.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},h.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},h.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},h.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,o){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==o[e-1]}))},h.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},h.prototype._monitorIntersections=function(e){var o=e.defaultView;if(o&&-1==this._monitoringDocuments.indexOf(e)){var n=this._checkForIntersections,i=null,s=null;this.POLL_INTERVAL?i=o.setInterval(n,this.POLL_INTERVAL):(u(o,"resize",n,!0),u(e,"scroll",n,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in o&&(s=new o.MutationObserver(n)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(i&&t.clearInterval(i),c(t,"resize",n,!0)),c(e,"scroll",n,!0),s&&s.disconnect()}));var h=this.root&&(this.root.ownerDocument||this.root)||t;if(e!=h){var a=r(e);a&&this._monitorIntersections(a.ownerDocument)}}},h.prototype._unmonitorIntersections=function(e){var o=this._monitoringDocuments.indexOf(e);if(-1!=o){var n=this.root&&(this.root.ownerDocument||this.root)||t;if(!this._observationTargets.some((function(t){var o=t.element.ownerDocument;if(o==e)return!0;for(;o&&o!=n;){var i=r(o);if((o=i&&i.ownerDocument)==e)return!0}return!1}))){var i=this._monitoringUnsubscribes[o];if(this._monitoringDocuments.splice(o,1),this._monitoringUnsubscribes.splice(o,1),i(),e!=n){var s=r(e);s&&this._unmonitorIntersections(s.ownerDocument)}}}},h.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},h.prototype._checkForIntersections=function(){if(this.root||!n||i){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(o){var i=o.element,r=a(i),h=this._rootContainsTarget(i),u=o.entry,c=t&&h&&this._computeTargetAndRootIntersection(i,r,e),l=null;this._rootContainsTarget(i)?n&&!this.root||(l=e):l={top:0,bottom:0,left:0,right:0,width:0,height:0};var f=o.entry=new s({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:r,rootBounds:l,intersectionRect:c});u?t&&h?this._hasCrossedThreshold(u,f)&&this._queuedEntries.push(f):u&&u.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},h.prototype._computeTargetAndRootIntersection=function(e,o,r){if("none"!=window.getComputedStyle(e).display){for(var s,h,u,c,l,p,g,m,v=o,b=d(e),w=!1;!w&&b;){var _=null,y=1==b.nodeType?window.getComputedStyle(b):{};if("none"==y.display)return null;if(b==this.root||9==b.nodeType)if(w=!0,b==this.root||b==t)n&&!this.root?!i||0==i.width&&0==i.height?(b=null,_=null,v=null):_=i:_=r;else{var I=d(b),E=I&&a(I),T=I&&this._computeTargetAndRootIntersection(I,E,r);E&&T?(b=I,_=f(E,T)):(b=null,v=null)}else{var R=b.ownerDocument;b!=R.body&&b!=R.documentElement&&"visible"!=y.overflow&&(_=a(b))}if(_&&(s=_,h=v,u=void 0,c=void 0,l=void 0,p=void 0,g=void 0,m=void 0,u=Math.max(s.top,h.top),c=Math.min(s.bottom,h.bottom),l=Math.max(s.left,h.left),p=Math.min(s.right,h.right),m=c-u,v=(g=p-l)>=0&&m>=0&&{top:u,bottom:c,left:l,right:p,width:g,height:m}||null),!v)break;b=b&&d(b)}return v}},h.prototype._getRootRect=function(){var e;if(this.root&&!g(this.root))e=a(this.root);else{var o=g(this.root)?this.root:t,n=o.documentElement,i=o.body;e={top:0,left:0,right:n.clientWidth||i.clientWidth,width:n.clientWidth||i.clientWidth,bottom:n.clientHeight||i.clientHeight,height:n.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(e)},h.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,o){return"px"==e.unit?e.value:e.value*(o%2?t.width:t.height)/100})),o={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return o.width=o.right-o.left,o.height=o.bottom-o.top,o},h.prototype._hasCrossedThreshold=function(t,e){var o=t&&t.isIntersecting?t.intersectionRatio||0:-1,n=e.isIntersecting?e.intersectionRatio||0:-1;if(o!==n)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==o||r==n||r<o!=r<n)return!0}},h.prototype._rootIsInDom=function(){return!this.root||p(t,this.root)},h.prototype._rootContainsTarget=function(e){var o=this.root&&(this.root.ownerDocument||this.root)||t;return p(o,e)&&(!this.root||o==e.ownerDocument)},h.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},h.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=h,window.IntersectionObserverEntry=s}function r(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}function s(t){this.time=t.time,this.target=t.target,this.rootBounds=l(t.rootBounds),this.boundingClientRect=l(t.boundingClientRect),this.intersectionRect=l(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,o=e.width*e.height,n=this.intersectionRect,i=n.width*n.height;this.intersectionRatio=o?Number((i/o).toFixed(4)):this.isIntersecting?1:0}function h(t,e){var o,n,i,r=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType&&9!=r.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(o=this._checkForIntersections.bind(this),n=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){o(),i=null}),n))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function u(t,e,o,n){"function"==typeof t.addEventListener?t.addEventListener(e,o,n||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,o)}function c(t,e,o,n){"function"==typeof t.removeEventListener?t.removeEventListener(e,o,n||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,o)}function a(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function f(t,e){var o=e.top-t.top,n=e.left-t.left;return{top:o,left:n,height:e.height,width:e.width,bottom:o+e.height,right:n+e.width}}function p(t,e){for(var o=e;o;){if(o==t)return!0;o=d(o)}return!1}function d(e){var o=e.parentNode;return 9==e.nodeType&&e!=t?r(e):(o&&o.assignedSlot&&(o=o.assignedSlot.parentNode),o&&11==o.nodeType&&o.host?o.host:o)}function g(t){return t&&9===t.nodeType}}()}}]);
@@ -0,0 +1,34 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.1.2 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[13],{345:function(e,t,r){"use strict";r.r(t),r.d(t,"HyPushState",(function(){return rt}));var n=r(2),o=r(323),c=r(318),i=r(306),a=r(328),u=r(144),l=r(141),s=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return Object(n.f)(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t.scheduled||(t.scheduled=l.a.requestAnimationFrame((function(){return t.flush(void 0)}))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);0===t.actions.length&&(l.a.cancelAnimationFrame(r),t.scheduled=void 0)},t}(u.a),f=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.f)(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1;e=e||r.shift();var o=r.length;do{if(t=e.execute(e.state,e.delay))break}while(++n<o&&(e=r.shift()));if(this.active=!1,t){for(;++n<o&&(e=r.shift());)e.unsubscribe();throw t}},t}(r(146).a))(s),p=r(349),h=r(352),b=r(46),y=r(147),O=r(151),d=r(327),j=r(329),v=r(346),m=r(13),w=r(10);function g(e,t){return void 0===t&&(t=0),Object(m.b)((function(r,n){r.subscribe(new w.a(n,(function(r){return n.add(e.schedule((function(){return n.next(r)}),t))}),(function(r){return n.add(e.schedule((function(){return n.error(r)}),t))}),(function(){return n.add(e.schedule((function(){return n.complete()}),t))})))}))}var S,P=r(326),k=r(347),E=r(148),A=r(150),R=r(353),T=r(351),L=r(308);function C(e){var t=e.protocol,r=e.host,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return t!==n.protocol||r!==n.host}function I(e){return e&&""===e.target}function q(e,t){var r=e.url,n=e.anchor,o=e.event,c=o.metaKey,i=o.ctrlKey;return!(c||i||!I(n)||C(r,t))}function M(e,t){var r=e.url;return!(!I(e.anchor)||C(r,t)||function(e){var t=e.hash,r=e.origin,n=e.pathname,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return""!==t&&r===o.origin&&n===o.pathname}(r,t))}function H(e){var t=e.cause,r=e.url,n=r.pathname,o=r.hash,c=e.oldURL;return n===(null==c?void 0:c.pathname)&&(t===S.Pop||t===S.Push&&""!==o)}!function(e){e.Init="init",e.Hint="hint",e.Push="push",e.Pop="pop"}(S||(S={}));var N=r(108),U=r(354),D=r(348);function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,c=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw c}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return W(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return W(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(Object(r),!0).forEach((function(t){B(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function F(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var V=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t}var t,r,n;return t=e,(r=[{key:"fetchPage",value:function(e){return Object(L.g)(e.url.href,{method:"GET",mode:"cors",headers:{Accept:"text/html"}}).pipe(Object(E.a)((function(e){return e.text()})),Object(b.a)((function(t){return _(_({},e),{},{responseText:t})})),Object(R.a)((function(t){return Object(N.a)(_(_({},e),{},{error:t,responseText:null}))})))}},{key:"selectPrefetch",value:function(e,t,r){return e.href===t.url.href?Object(N.a)(t):r.pipe(Object(D.a)(1))}},{key:"getResponse",value:function(e,t,r){return Object(U.a)(this.selectPrefetch(t.url,r,e),this.parent.animPromise).pipe(Object(b.a)((function(e){return _(_({},x(e,1)[0]),t)})))}}])&&F(t.prototype,r),n&&F(t,n),e}(),J=r(17),K=r(307),X=r(350);function z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,c=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw c}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return G(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return G(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){Z(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var te=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t}var t,r,n;return t=e,(r=[{key:"removeScriptTags",value:function(e){var t=this,r=[];return e.forEach((function(e){e&&t.scriptSelector&&e.querySelectorAll(t.scriptSelector).forEach((function(e){if(e instanceof HTMLScriptElement){var t=[function(e){var t=document.createElement("script");return Array.from(e.attributes).forEach((function(e){return t.setAttributeNode(e.cloneNode())})),t.innerHTML=e.innerHTML,t}(e),e];r.push(t)}}))})),r}},{key:"reinsertScriptTags",value:function(e){var t=this;if(!this.scriptSelector)return Promise.resolve(e);var r=e.scripts,n=document.write;return Object(J.a)(r).pipe(Object(K.a)((function(e){return t.insertScript(e)})),Object(R.a)((function(t){return Object(N.a)(Y(Y({},e),{},{error:t}))})),Object(X.a)((function(){return document.write=n})),Object(P.a)(e)).toPromise()}},{key:"insertScript",value:function(e){var t=z(e,2),r=t[0],n=t[1];return document.write=function(){for(var e=document.createElement("div"),t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];e.innerHTML=r.join(),Array.from(e.childNodes).forEach((function(e){var t;return null===(t=n.parentNode)||void 0===t?void 0:t.insertBefore(e,n)}))},new Promise((function(e,t){var o,c;""!==r.src?(r.addEventListener("load",e),r.addEventListener("error",t),null===(o=n.parentNode)||void 0===o||o.replaceChild(r,n)):(null===(c=n.parentNode)||void 0===c||c.replaceChild(r,n),e({}))}))}},{key:"scriptSelector",get:function(){return this.parent.scriptSelector}}])&&ee(t.prototype,r),n&&ee(t,n),e}();function re(e,t){e.forEach((function(e){e&&(e.querySelectorAll("[href]").forEach(ne("href",t)),e.querySelectorAll("[src]").forEach(ne("src",t)),e.querySelectorAll("img[srcset]").forEach(function(e,t){return function(r){try{var n=r.getAttribute(e);if(null==n)return;r.setAttribute(e,n.split(/\s*,\s*/).map((function(e){var r=e.split(/\s+/);return r[0]=new URL(r[0],t).href,r.join(" ")})).join(", "))}catch(e){}}}("srcset",t)),e.querySelectorAll("blockquote[cite]").forEach(ne("cite",t)),e.querySelectorAll("del[cite]").forEach(ne("cite",t)),e.querySelectorAll("ins[cite]").forEach(ne("cite",t)),e.querySelectorAll("q[cite]").forEach(ne("cite",t)),e.querySelectorAll("img[longdesc]").forEach(ne("longdesc",t)),e.querySelectorAll("frame[longdesc]").forEach(ne("longdesc",t)),e.querySelectorAll("iframe[longdesc]").forEach(ne("longdesc",t)),e.querySelectorAll("img[usemap]").forEach(ne("usemap",t)),e.querySelectorAll("input[usemap]").forEach(ne("usemap",t)),e.querySelectorAll("object[usemap]").forEach(ne("usemap",t)),e.querySelectorAll("form[action]").forEach(ne("action",t)),e.querySelectorAll("button[formaction]").forEach(ne("formaction",t)),e.querySelectorAll("input[formaction]").forEach(ne("formaction",t)),e.querySelectorAll("video[poster]").forEach(ne("poster",t)),e.querySelectorAll("object[data]").forEach(ne("data",t)),e.querySelectorAll("object[codebase]").forEach(ne("codebase",t)),e.querySelectorAll("object[archive]").forEach(function(e,t){return function(r){try{var n=r.getAttribute(e);if(null==n)return;r.setAttribute(e,n.split(/[\s,]+/).map((function(e){return new URL(e,t).href})).join(", "))}catch(e){}}}("archive",t)))}))}function ne(e,t){return function(r){try{var n=r.getAttribute(e);if(null==n)return;r.setAttribute(e,new URL(n,t).href)}catch(e){}}}function oe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,c=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw c}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ce(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ce(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ae(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(r),!0).forEach((function(t){ue(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function le(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var se=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t,this.scriptManager=new te(t)}var t,r,n;return t=e,(r=[{key:"getReplaceElements",value:function(e){if(this.replaceSelector)return this.replaceSelector.split(",").map((function(t){return e.querySelector(t)}));if(this.el.id)return[e.getElementById(this.el.id)];var t=Array.from(document.getElementsByTagName(this.el.tagName)).indexOf(this.el);return[e.getElementsByTagName(this.el.tagName)[t]]}},{key:"responseToContent",value:function(e){var t=e.responseText,r=(new DOMParser).parseFromString(t,"text/html"),n=r.title,o=void 0===n?"":n,c=this.getReplaceElements(r);if(c.every((function(e){return null==e})))throw new Error("Couldn't find any element in the document at '".concat(location,"'."));var i=this.scriptSelector?this.scriptManager.removeScriptTags(c):[];return ae(ae({},e),{},{document:r,title:o,replaceEls:c,scripts:i})}},{key:"replaceContentWithSelector",value:function(e,t){e.split(",").map((function(e){return document.querySelector(e)})).forEach((function(e,r){var n,o=t[r];o&&(null===(n=null==e?void 0:e.parentNode)||void 0===n||n.replaceChild(o,e))}))}},{key:"replaceContentWholesale",value:function(e){var t=oe(e,1)[0];t&&(this.el.innerHTML=t.innerHTML)}},{key:"replaceContent",value:function(e){this.replaceSelector?this.replaceContentWithSelector(this.replaceSelector,e):this.replaceContentWholesale(e)}},{key:"replaceHead",value:function(e){var t=this.el.ownerDocument.head,r=t.querySelector("link[rel=canonical]"),n=e.head.querySelector("link[rel=canonical]");r&&n&&(r.href=n.href);var o=t.querySelector("meta[name=description]"),c=e.head.querySelector("meta[name=description]");o&&c&&(o.content=c.content)}},{key:"updateDOM",value:function(e){try{var t=e.replaceEls,r=e.document;C(this.parent)&&re(t,this.parent.href),this.replaceHead(r),this.replaceContent(t)}catch(t){throw ae(ae({},e),{},{error:t})}}},{key:"reinsertScriptTags",value:function(e){return this.scriptManager.reinsertScriptTags(e)}},{key:"el",get:function(){return this.parent}},{key:"replaceSelector",get:function(){return this.parent.replaceSelector}},{key:"scriptSelector",get:function(){return this.parent.scriptSelector}}])&&le(t.prototype,r),n&&le(t,n),e}(),fe=r(47),pe=r(110);function he(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var be=function(e){return Array.prototype.concat.apply([],e)},ye=function(e){return{addedNodes:new Set(be(e.map((function(e){return Array.from(e.addedNodes)})))),removedNodes:new Set(be(e.map((function(e){return Array.from(e.removedNodes)}))))}},Oe=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,n;return t=e,(r=[{key:"setupEventListeners",value:function(){var e=this,t=Object(i.a)(this.el,"click").pipe(Object(b.a)((function(t){var r=Object(L.k)(t.target,e.linkSelector);if(r instanceof HTMLAnchorElement)return[t,r]})),Object(y.a)((function(e){return!!e}))),r=function(e,t){return e.matches(t)&&e instanceof HTMLAnchorElement?Object(N.a)(e):Object(J.a)(e.querySelectorAll(t)).pipe(Object(y.a)((function(e){return e instanceof HTMLAnchorElement})))};return{hintEvent$:this.$.linkSelector.pipe(Object(E.a)((function(t){var n=new Map,o=function(e){n.has(e)||n.set(e,function(e){return Object(a.a)(Object(i.a)(e,"mouseenter",{passive:!0}),Object(i.a)(e,"touchstart",{passive:!0}),Object(i.a)(e,"focus",{passive:!0})).pipe(Object(b.a)((function(t){return[t,e]})))}(e))},c=function(e){n.delete(e)};return Object(L.d)(e.el,{childList:!0,subtree:!0}).pipe(Object(d.a)({addedNodes:[e.el],removedNodes:[]}),Object(L.c)(500),Object(b.a)(ye),Object(E.a)((function(e){var i=e.addedNodes,a=e.removedNodes;return Object(J.a)(a).pipe(Object(y.a)((function(e){return e instanceof Element})),Object(fe.a)((function(e){return r(e,t)})),Object(O.a)(c)).subscribe(),Object(J.a)(i).pipe(Object(y.a)((function(e){return e instanceof Element})),Object(fe.a)((function(e){return r(e,t)})),Object(O.a)(o)).subscribe(),Object(J.a)(n.values()).pipe(Object(pe.a)())})),Object(L.l)(e.$.prefetch))}))),pushEvent$:t}}}])&&he(t.prototype,r),n&&he(t,n),e}();function de(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?de(Object(r),!0).forEach((function(t){ve(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):de(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function me(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var we=function(e){return new Promise((function(t){return setTimeout(t,e)}))},ge=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t}var t,r,n;return t=e,(r=[{key:"onStart",value:function(e){var t=this;this.parent.animPromise=we(this.parent.duration),this.parent.fireEvent("start",{detail:je(je({},e),{},{transitionUntil:function(e){t.parent.animPromise=Promise.all([t.parent.animPromise,e])}})})}},{key:"emitDOMError",value:function(e){var t=location.href;window.history.back(),setTimeout((function(){return document.location.assign(t)}),100)}},{key:"emitNetworkError",value:function(e){this.parent.fireEvent("networkerror",{detail:e})}},{key:"emitError",value:function(e){this.parent.fireEvent("error",{detail:e})}},{key:"emitReady",value:function(e){this.parent.fireEvent("ready",{detail:e})}},{key:"emitAfter",value:function(e){var t=this;this.parent.fadePromise=we(this.parent.duration),this.parent.fireEvent("after",{detail:je(je({},e),{},{transitionUntil:function(e){t.parent.fadePromise=Promise.all([t.parent.fadePromise,e])}})})}},{key:"emitProgress",value:function(e){this.parent.fireEvent("progress",{detail:e})}},{key:"emitLoad",value:function(e){this.parent.fireEvent("load",{detail:e})}}])&&me(t.prototype,r),n&&me(t,n),e}();function Se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(r),!0).forEach((function(t){ke(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}window.HashChangeEvent=window.HashChangeEvent||function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.oldURL,n=void 0===r?"":r,o=t.newURL,c=void 0===o?"":o,i=new CustomEvent(e);return i.oldURL=n,i.newURL=c,i};var Ae=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.updateHistoryScrollPosition=function(){if(!C(r.parent)){var e=r.assignScrollPosition(history.state||{});history.replaceState(e,document.title)}},this.parent=t}var t,r,n;return t=e,(r=[{key:"updateHistoryState",value:function(e){var t=e.cause,r=e.replace,n=e.url,o=e.oldURL;if(!C(this.parent))switch(t){case S.Init:case S.Push:var c=this.parent.histId;if(r||n.href===location.href){var i=Pe(Pe({},history.state),{},ke({},c,{}));history.replaceState(i,document.title,n.href)}else history.pushState(ke({},c,{}),document.title,n.href);case S.Pop:this.parent.simulateHashChange&&o&&function(e,t){e.hash!==t.hash&&window.dispatchEvent(new HashChangeEvent("hashchange",{newURL:e.href,oldURL:t.href}))}(n,o)}}},{key:"updateTitle",value:function(e){var t=e.cause,r=e.title;document.title=r,C(this.parent)||t!==S.Push||history.replaceState(history.state,r)}},{key:"assignScrollPosition",value:function(e){var t=this.parent.histId;return Pe(Pe({},e),{},ke({},t,Pe(Pe({},e[t]),{},{scrollTop:Object(L.j)(),scrollHeight:Object(L.i)()})))}}])&&Ee(t.prototype,r),n&&Ee(t,n),e}();function Re(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Te,Le,Ce,Ie,qe,Me,He,Ne,Ue,De,xe,We,$e=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t,"scrollRestoration"in history&&(history.scrollRestoration="manual")}var t,r,n;return t=e,(r=[{key:"manageScrollPosition",value:function(e){var t=e.cause,r=e.url.hash;switch(t){case S.Push:this.scrollHashIntoView(r,{behavior:"smooth",block:"start",inline:"nearest"});break;case S.Pop:this.restoreScrollPosition();break;case S.Init:this.restoreScrollPositionOnReload()}}},{key:"elementFromHash",value:function(e){return document.getElementById(decodeURIComponent(e.substr(1)))}},{key:"scrollHashIntoView",value:function(e,t){if(e){var r=this.elementFromHash(e);r&&r.scrollIntoView(t)}else window.scroll(window.pageXOffset,0)}},{key:"restoreScrollPosition",value:function(){var e=this.parent.histId,t=(history.state&&history.state[e]||{}).scrollTop;null!=t&&window.scroll(window.pageXOffset,t)}},{key:"restoreScrollPositionOnReload",value:function(){var e=this,t=this.parent.histId;history.state&&history.state[t]&&0===Object(L.j)()?this.restoreScrollPosition():location.hash&&requestAnimationFrame((function(){return e.scrollHashIntoView(location.hash,!0)}))}}])&&Re(t.prototype,r),n&&Re(t,n),e}();function _e(e){return(_e="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 Be(e){return function(e){if(Array.isArray(e))return Je(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Ve(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,c=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw c}}return r}(e,t)||Ve(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ve(e,t){if(e){if("string"==typeof e)return Je(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Je(e,t):void 0}}function Je(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ze(e,t,r){return(ze="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=et(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(r):o.value}})(e,t,r||e)}function Ge(e,t){return(Ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Qe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=et(e);if(t){var o=et(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Ye(this,r)}}function Ye(e,t){return!t||"object"!==_e(t)&&"function"!=typeof t?Ze(e):t}function Ze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function et(e){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
15
+ /**
16
+ * Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
17
+ *
18
+ * This program is free software: you can redistribute it and/or modify
19
+ * it under the terms of the GNU General Public License as published by
20
+ * the Free Software Foundation, either version 3 of the License, or
21
+ * (at your option) any later version.
22
+ *
23
+ * This program is distributed in the hope that it will be useful,
24
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
25
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26
+ * GNU General Public License for more details.
27
+ *
28
+ * You should have received a copy of the GNU General Public License
29
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
30
+ *
31
+ * @license
32
+ * @nocompile
33
+ */
34
+ function tt(e,t){return e.url.href===t.url.href&&e.error===t.error&&e.cacheNr===t.cacheNr}var rt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ge(e,t)}(l,e);var t,r,o,u=Qe(l);function l(){var e;return Ke(this,l),(e=u.apply(this,arguments)).el=Ze(e),e.linkSelector="a[href]:not([data-no-push])",e.prefetch=!1,e.duration=0,e.simulateHashChange=!1,e.baseURL=window.location.href,Te.set(Ze(e),Object(L.f)()),e.animPromise=Promise.resolve(null),e.fadePromise=Promise.resolve(null),Le.set(Ze(e),new $e(Ze(e))),Ce.set(Ze(e),new Ae(Ze(e))),Ie.set(Ze(e),new V(Ze(e))),qe.set(Ze(e),new se(Ze(e))),Me.set(Ze(e),new ge(Ze(e))),He.set(Ze(e),new URL(e.baseURL)),Ne.set(Ze(e),(function(t,r){var o=new URL(Object(n.c)(Ze(e),He).href);o[t]=r,e.assign(o.href)})),Ue.set(Ze(e),0),De.set(Ze(e),new c.a),xe.set(Ze(e),void 0),We.set(Ze(e),(function(){var t=e.setupEventListeners(),r=t.pushEvent$,o=t.hintEvent$,c=r.pipe(Object(b.a)((function(t){var r=Fe(t,2),o=r[0],c=r[1];return{cause:S.Push,url:new URL(c.href,e.href),anchor:c,event:o,cacheNr:Object(n.c)(Ze(e),Ue)}})),Object(y.a)((function(t){return q(t,Ze(e))})),Object(O.a)((function(t){t.event.preventDefault(),Object(n.c)(Ze(e),Ce).updateHistoryScrollPosition()}))),u=Object(i.a)(window,"popstate").pipe(Object(y.a)((function(){return window.history.state&&window.history.state[e.histId]})),Object(b.a)((function(t){return{cause:S.Pop,url:new URL(window.location.href),cacheNr:Object(n.c)(Ze(e),Ue),event:t}}))),l=Object(n.c)(Ze(e),De),s=Object(a.a)(c,u,l).pipe(Object(d.a)({url:new URL(window.location.href)}),Object(j.a)(),Object(b.a)((function(e){var t=Fe(e,2),r=t[0],n=t[1];return Object.assign(n,{oldURL:r.url})})),Object(v.a)()),h=s.pipe(Object(y.a)((function(e){return!H(e)})),Object(v.a)()),m=s.pipe(Object(y.a)((function(e){return H(e)})),Object(y.a)((function(){return history.state&&history.state[e.histId]})),g(f),Object(O.a)((function(t){Object(n.c)(Ze(e),Ce).updateHistoryState(t),Object(n.c)(Ze(e),Le).manageScrollPosition(t)}))),w=Object(p.a)((function(){return Object(a.a)(h.pipe(Object(P.a)(!0)),Object(n.c)(Ze(e),xe).pipe(Object(P.a)(!1)))})).pipe(Object(d.a)(!1)),C=o.pipe(Object(L.h)(w.pipe(Object(b.a)((function(e){return!e})))),Object(b.a)((function(t){var r=Fe(t,2),o=r[0],c=r[1];return{cause:S.Hint,url:new URL(c.href,e.href),anchor:c,event:o,cacheNr:Object(n.c)(Ze(e),Ue)}})),Object(y.a)((function(t){return M(t,Ze(e))}))),I=Object(a.a)(C,h).pipe(Object(k.a)((function(e,t){return tt(e,t)})),Object(E.a)((function(t){return Object(n.c)(Ze(e),Ie).fetchPage(t)})),Object(d.a)({url:{}}),Object(v.a)()),N=Object(n.d)(Ze(e),xe,h.pipe(Object(O.a)((function(t){Object(n.c)(Ze(e),Me).onStart(t),Object(n.c)(Ze(e),Ce).updateHistoryState(t),Object(n.d)(Ze(e),He,t.url)})),Object(A.a)(I),Object(E.a)((function(t){var r;return(r=Object(n.c)(Ze(e),Ie)).getResponse.apply(r,[I].concat(Be(t)))})),Object(v.a)())),U=N.pipe(Object(y.a)((function(e){return!e.error}))),D=N.pipe(Object(y.a)((function(e){return!!e.error}))),x=U.pipe(Object(b.a)((function(t){return Object(n.c)(Ze(e),qe).responseToContent(t)})),Object(O.a)((function(t){return Object(n.c)(Ze(e),Me).emitReady(t)})),g(f),Object(O.a)((function(t){Object(n.c)(Ze(e),qe).updateDOM(t),Object(n.c)(Ze(e),Ce).updateTitle(t),Object(n.c)(Ze(e),Me).emitAfter(t)})),Object(d.a)({cause:S.Init,url:Object(n.c)(Ze(e),He),scripts:[]}),g(f),Object(O.a)((function(t){return Object(n.c)(Ze(e),Le).manageScrollPosition(t)})),Object(O.a)({error:function(t){return Object(n.c)(Ze(e),Me).emitDOMError(t)}}),Object(R.a)((function(e,t){return t})),Object(E.a)((function(t){return e.fadePromise.then((function(){return t}))})),Object(E.a)((function(t){return Object(n.c)(Ze(e),qe).reinsertScriptTags(t)})),Object(O.a)({error:function(t){return Object(n.c)(Ze(e),Me).emitError(t)}}),Object(R.a)((function(e,t){return t})),Object(O.a)((function(t){return Object(n.c)(Ze(e),Me).emitLoad(t)}))),W=D.pipe(Object(O.a)((function(t){return Object(n.c)(Ze(e),Me).emitNetworkError(t)}))),$=h.pipe(Object(E.a)((function(t){return Object(p.a)((function(){return e.animPromise})).pipe(Object(T.a)(N),Object(P.a)(t))})),Object(O.a)((function(t){return Object(n.c)(Ze(e),Me).emitProgress(t)})));x.subscribe(),m.subscribe(),W.subscribe(),$.subscribe(),Object(n.c)(Ze(e),Te).resolve(Ze(e)),e.fireEvent("init")})),e}return t=l,(r=[{key:"createRenderRoot",value:function(){return this}},{key:"assign",value:function(e){Object(n.c)(this,De).next({cause:S.Push,url:new URL(e,this.href),cacheNr:Object(n.d)(this,Ue,+Object(n.c)(this,Ue)+1)})}},{key:"reload",value:function(){Object(n.c)(this,De).next({cause:S.Push,url:new URL(this.href),cacheNr:Object(n.d)(this,Ue,+Object(n.c)(this,Ue)+1),replace:!0})}},{key:"replace",value:function(e){Object(n.c)(this,De).next({cause:S.Push,url:new URL(e,this.href),cacheNr:Object(n.d)(this,Ue,+Object(n.c)(this,Ue)+1),replace:!0})}},{key:"connectedCallback",value:function(){ze(et(l.prototype),"connectedCallback",this).call(this),this.$={linkSelector:new h.a(this.linkSelector),prefetch:new h.a(this.prefetch)},window.addEventListener("beforeunload",Object(n.c)(this,Ce).updateHistoryScrollPosition),this.updateComplete.then(Object(n.c)(this,We))}},{key:"disconnectedCallback",value:function(){window.removeEventListener("beforeunload",Object(n.c)(this,Ce).updateHistoryScrollPosition)}},{key:"initialized",get:function(){return Object(n.c)(this,Te)}},{key:"hash",get:function(){return Object(n.c)(this,He).hash},set:function(e){Object(n.c)(this,Ne).call(this,"hash",e)}},{key:"host",get:function(){return Object(n.c)(this,He).host},set:function(e){Object(n.c)(this,Ne).call(this,"host",e)}},{key:"hostname",get:function(){return Object(n.c)(this,He).hostname},set:function(e){Object(n.c)(this,Ne).call(this,"hostname",e)}},{key:"href",get:function(){return Object(n.c)(this,He).href},set:function(e){Object(n.c)(this,Ne).call(this,"href",e)}},{key:"pathname",get:function(){return Object(n.c)(this,He).pathname},set:function(e){Object(n.c)(this,Ne).call(this,"pathname",e)}},{key:"port",get:function(){return Object(n.c)(this,He).port},set:function(e){Object(n.c)(this,Ne).call(this,"port",e)}},{key:"protocol",get:function(){return Object(n.c)(this,He).protocol},set:function(e){Object(n.c)(this,Ne).call(this,"protocol",e)}},{key:"search",get:function(){return Object(n.c)(this,He).search},set:function(e){Object(n.c)(this,Ne).call(this,"search",e)}},{key:"origin",get:function(){return Object(n.c)(this,He).origin}},{key:"ancestorOrigins",get:function(){return window.location.ancestorOrigins}},{key:"histId",get:function(){return this.id||this.tagName}}])&&Xe(t.prototype,r),o&&Xe(t,o),l}(Object(L.b)(L.a,[Oe]));Te=new WeakMap,Le=new WeakMap,Ce=new WeakMap,Ie=new WeakMap,qe=new WeakMap,Me=new WeakMap,He=new WeakMap,Ne=new WeakMap,Ue=new WeakMap,De=new WeakMap,xe=new WeakMap,We=new WeakMap,Object(n.e)([Object(o.e)({type:String,reflect:!0,attribute:"replace-selector"})],rt.prototype,"replaceSelector",void 0),Object(n.e)([Object(o.e)({type:String,reflect:!0,attribute:"link-selector"})],rt.prototype,"linkSelector",void 0),Object(n.e)([Object(o.e)({type:String,reflect:!0,attribute:"script-selector"})],rt.prototype,"scriptSelector",void 0),Object(n.e)([Object(o.e)({type:Boolean,reflect:!0})],rt.prototype,"prefetch",void 0),Object(n.e)([Object(o.e)({type:Number,reflect:!0})],rt.prototype,"duration",void 0),Object(n.e)([Object(o.e)({type:Boolean,reflect:!0,attribute:"hashchange"})],rt.prototype,"simulateHashChange",void 0),Object(n.e)([Object(o.e)({type:String})],rt.prototype,"baseURL",void 0),Object(n.e)([Object(o.e)()],rt.prototype,"assign",null),Object(n.e)([Object(o.e)()],rt.prototype,"reload",null),Object(n.e)([Object(o.e)()],rt.prototype,"replace",null),rt=Object(n.e)([Object(o.c)("hy-push-state")],rt)},353:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(17),o=r(10),c=r(13);function i(e){return Object(c.b)((function(t,r){var c,a=null,u=!1;a=t.subscribe(new o.a(r,void 0,(function(o){c=Object(n.c)(e(o,i(e)(t))),a?(a.unsubscribe(),a=null,c.subscribe(r)):u=!0}))),u&&(a.unsubscribe(),a=null,c.subscribe(r))}))}},354:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(2),o=r(6),c=r(17),i=r(314),a=r(315),u=r(10),l=r(48);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object(l.b)(e),s=Object(i.a)(e);return s.length?new o.a((function(e){var t=s.map((function(){return[]})),o=s.map((function(){return!1}));e.add((function(){t=o=null}));for(var i=function(i){Object(c.c)(s[i]).subscribe(new u.a(e,(function(c){if(t[i].push(c),t.every((function(e){return e.length}))){var a=t.map((function(e){return e.shift()}));e.next(r?r.apply(void 0,Object(n.i)(a)):a),t.some((function(e,t){return!e.length&&o[t]}))&&e.complete()}}),void 0,(function(){o[i]=!0,!t[i].length&&e.complete()})))},a=0;!e.closed&&a<s.length;a++)i(a);return function(){t=o=null}})):a.a}},355:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(46),o=r(17),c=r(13),i=r(10);function a(e,t){return t?function(r){return r.pipe(a((function(r,c){return Object(o.c)(e(r,c)).pipe(Object(n.a)((function(e,n){return t(r,e,c,n)})))})))}:Object(c.b)((function(t,r){var n=0,c=null,a=!1;t.subscribe(new i.a(r,(function(t){c||(c=new i.a(r,void 0,void 0,(function(){c=null,a&&r.complete()})),Object(o.c)(e(t,n++)).subscribe(c))}),void 0,(function(){a=!0,!c&&r.complete()})))}))}}}]);
@@ -0,0 +1,155 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.1.2 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[14],{313: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},339: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){if(!(e instanceof Array)){e=o(e);for(var t,n=[];!(t=e.next()).done;)n.push(t.value);e=n}return e}var s="undefined"!=typeof window&&window===this?this:void 0!==e&&null!=e?e:this;function a(e,t){return{index:e,s:[],v: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.s.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.v++,o++,t.s.push(n[i]),i++;break;case 2:t||(t=a(o,0)),t.v++,o++;break;case 3:t||(t=a(o,0)),t.s.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)&&Lt(e)}f.c=!!(_&&_.configurable&&_.get),f.F=f.force||!f.T,f.g=f.noPatch||!1,f.o=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(""),E=0,N=[];function b(e){N.push(e),S.textContent=E++}new MutationObserver((function(){for(;N.length;)try{N.shift()()}catch(e){throw S.textContent=E++,e}})).observe(S,{characterData:!0});var C=document.contains?function(e,t){return e.__shady_native_contains(t)}:function(e,t){return e===t||e.documentElement&&e.documentElement.__shady_native_contains(t)};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 A(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}function R(e){return e instanceof Node?e:document.createTextNode(""+e)}function L(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(1===t.length)return R(t[0]);n=document.createDocumentFragment();for(var r=(t=o(t)).next();!r.done;r=t.next())n.appendChild(R(r.value));return n}var I,F=[];function j(e){I||(I=!0,b(H)),F.push(e)}function H(){I=!1;for(var e=!!F.length;F.length;)F.shift()();return e}H.list=F;var B=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}}),U=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}}),q=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 V(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}V(B),V(U),V(q);var G,W=f.c||!0===f.g,K=W?function(){}:function(e){var t=d(e);t.N||(t.N=!0,M(e,q))},X=W?function(){}:function(e){var t=d(e);t.M||(t.M=!0,M(e,B),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!f.g||M(e,U))},$="__eventWrappers"+Date.now(),z=(G=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return G.get.call(e)}:null,Y=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 J(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:Y?e:n}}var Q={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},Z={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function ee(e){return e instanceof Node?e.__shady_getRootNode():e}function te(e,t){var n=[],r=e;for(e=ee(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 ne(e,t){if(!y)return e;e=te(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=ee(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!y(r)||-1<s)return n}function re(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 oe={focus:!0,blur:!0};function ie(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function se(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!ie(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}function ae(e){var t=e.composedPath(),n=t.map((function(e){return ne(e,t)})),r=e.bubbles;Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return s}});var o=Event.CAPTURING_PHASE;Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o}});for(var i=t.length-1;0<=i;i--){var s=t[i];if(o=s===n[i]?Event.AT_TARGET:Event.CAPTURING_PHASE,se(e,s,"capture"),e.B)return}for(i=0;i<t.length;i++){var a=(s=t[i])===n[i];if((a||r)&&(o=a?Event.AT_TARGET:Event.BUBBLING_PHASE,se(e,s,"bubble"),e.B))return}o=0,s=null}function le(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 ue(e){return H(),!f.o&&this instanceof Node&&!C(document,this)?(e.__target||fe(e,this),ae(e)):this.__shady_native_dispatchEvent(e)}function ce(e,n,r){var o=J(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(Z[e])return this.__shady_native_addEventListener(e,n,o);var c=l||this;if(l=n[$]){if(-1<le(l,c,e,i,s,a))return}else n[$]=[];l=function(t){if(s&&this.__shady_removeEventListener(e,n,r),t.__target||fe(t),c!==this){var o=Object.getOwnPropertyDescriptor(t,"currentTarget");Object.defineProperty(t,"currentTarget",{get:function(){return c},configurable:!0});var a=Object.getOwnPropertyDescriptor(t,"eventPhase");Object.defineProperty(t,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(t.__previousCurrentTarget=t.currentTarget,(!y(c)&&"slot"!==c.localName||-1!=t.composedPath().indexOf(c))&&(t.composed||-1<t.composedPath().indexOf(c)))if(ie(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 l="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,a?(Object.defineProperty(t,"eventPhase",a),a=null):delete t.eventPhase),l}},n[$].push({node:c,type:e,capture:i,once:s,passive:a,V:l}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][i?"capture":"bubble"].push(l),oe[e]||this.__shady_native_addEventListener(e,l,o)}}}function de(e,t,n){if(t){var r=J(n);n=r.capture;var o=r.once,i=r.passive,s=r.K;if(r=r.J,Z[e])return this.__shady_native_removeEventListener(e,t,r);var a=s||this;s=void 0;var l=null;try{l=t[$]}catch(e){}l&&(-1<(o=le(l,a,e,n,o,i))&&(s=l.splice(o,1)[0].V,l.length||(t[$]=void 0))),this.__shady_native_removeEventListener(e,s||t,r),s&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(s))&&e.splice(t,1))}}var he=D({get composed(){return void 0===this.__composed&&(z?this.__composed="focusin"===this.type||"focusout"===this.type||z(this):!1!==this.isTrusted&&(this.__composed=Q[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=te(this.__target,this.composed)),this.__composedPath},get target(){return ne(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=te(this.__relatedTarget,!0)),ne(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 fe(e,t){if(t=void 0===t?e.target:t,e.__target=t,e.__relatedTarget=e.relatedTarget,f.c){if(!(t=Object.getPrototypeOf(e)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,k(n,he),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else k(e,he)}var _e=re(Event),pe=re(CustomEvent),ye=re(MouseEvent);var me=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),ve=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function ge(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 Se=D({dispatchEvent:ue,addEventListener:ce,removeEventListener:de}),Ee=window.document,Ne=f.o,be=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),Ce=be&&be.get;function we(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function Te(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 Oe=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(Ce&&Ce.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(null===e||C(e,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)&&we(this),this.__shady_native_textContent=e}else we(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!==Ee&&e.ownerDocument!==Ee)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;Te(this,e);var r=[],o=(n=Ht(this))?n.host.localName:He(this),s=e.__shady_parentNode;if(s){var a=He(e),l=!!n||!Ht(e)||Ne&&void 0!==this.__noInsertionPoint;s.__shady_removeChild(e,l)}s=!0;var u=(!Ne||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=Ie();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,o),c=n&&!e.__noInsertionPoint&&(!Ne||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(c||u)&&(u&&(a=a||He(e)),Be(e,(function(e){if(c&&"slot"===e.localName&&r.push(e),u){var t=a;Ie()&&(t&&je(e,t),(t=Ie())&&t.scopeNode(e,o))}}))),r.length&&(Mt(n),n.f.push.apply(n.f,i(r)),Tt(n)),p(this)&&(function(e,t,n){pt(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)yt(e,t,r,n);else yt(e,t,r,n)}(e,this,t),(l=h(this)).root?(s=!1,m(this)&&Tt(l.root)):n&&"slot"===this.localName&&(s=!1,Tt(n))),s?(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!==Ee)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);Te(this,null,e);var n=Ht(e),r=n&&function(e,t){if(e.a){Dt(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.u&&a.u--),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))){Tt(o.root);var i=!0}if(Ie()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=He(e);Be(e,(function(e){je(e,s)}))}return function e(t){var n=h(t);if(n&&void 0!==n.A)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=h(t))&&(t.A=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&Tt(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.A;return void 0===n&&(y(this)?(n=this,t.A=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.A=n))),n}},contains:function(e){return w(this,e)}}),xe=D({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&Ot(e),(e=h(this))&&e.assignedSlot||null}});function Pe(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 ke={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}},Me=D((ke.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,i(t)),null)},ke.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,i(t)),this.__shady_firstChild)},ke.replaceChildren=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];for(;null!==(n=this.__shady_firstChild);)this.__shady_removeChild(n);this.__shady_insertBefore(L.apply(null,i(t)),null)},ke)),De=D({querySelector:function(e){return Pe(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(Pe(this,(function(t){return g.call(t,e)})))}}),Ae=f.o&&!f.g?A({},Me):Me;A(Me,De);var Re=D({after:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_insertBefore(L.apply(null,i(t)),r)}},before:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];null!==(n=this.__shady_parentNode)&&n.__shady_insertBefore(L.apply(null,i(t)),this)},remove:function(){var e=this.__shady_parentNode;null!==e&&e.__shady_removeChild(this)},replaceWith:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_removeChild(this),n.__shady_insertBefore(L.apply(null,i(t)),r)}}}),Le=null;function Ie(){return Le||(Le=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Le||null}function Fe(e,t,n){var r=Ie();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function je(e,t){var n=Ie();n&&n.unscopeNode(e,t)}function He(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=Ie();return t?t.currentScopeForNode(e):""}function Be(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&&Be(e,t)}var Ue=window.document;function qe(e,t){if("slot"===t)m(e=e.__shady_parentNode)&&Tt(h(e).root);else if("slot"===e.localName&&"name"===t&&(t=Ht(e))){if(t.a){Dt(t);var n=e.O,r=At(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]=Rt(n))}}Tt(t)}}var Ve=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!==Ue?this.__shady_native_setAttribute(e,t):Fe(this,e,t)||(this.__shady_native_setAttribute(e,t),qe(this,e))},removeAttribute:function(e){this.ownerDocument!==Ue?this.__shady_native_removeAttribute(e):Fe(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),qe(this,e))}});f.o||me.forEach((function(e){Ve[e]=ge(e)}));var Ge=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,wt(t,this,e),mt(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;Mt(n),n.f.push.apply(n.f,i(e)),Tt(t)}t.host.__shady_native_appendChild(t)}else t=new Ct(Et,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=h(this);return e&&e.U||null}});A(Ve,Ge);var We=/[&\u00A0"]/g,Ke=/[&\u00A0<>]/g;function Xe(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function $e(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var ze=$e("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Ye=$e("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Je(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(We,Xe)+'"';d+=">",a=ze[l]?d:d+Je(a,u)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&Ye[l.localName]?a:a.replace(Ke,Xe);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 Qe=document.implementation.createHTMLDocument("inert"),Ze=D({get innerHTML(){return p(this)?Je("template"===this.localName?this.content:this,x):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{we(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==Qe.namespaceURI?Qe.createElementNS(this.namespaceURI,t):Qe.createElement(t),f.c?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),et=D({blur:function(){var e=h(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});f.o||ve.forEach((function(e){et[e]=ge(e)}));var tt=D({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&y(t)&&Ot(t),(t=h(this))&&(e&&e.flatten?t.l:t.assignedNodes)||[]}},addEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)ce.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)de.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)}}}),nt=D({getElementById:function(e){return""===e?null:Pe(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}}),rt=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=Ht(e);t&&t!==this;)t=Ht(e=t.host);return this===document?t?null:e:t===this?e:null}}),ot=window.document,it=D({importNode:function(e,t){if(e.ownerDocument!==ot||"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}}),st=D({dispatchEvent:ue,addEventListener:ce.bind(window),removeEventListener:de.bind(window)}),at={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(at.parentElement=Oe.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(at.contains=Oe.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(at.children=Me.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(at.innerHTML=Ze.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(at.className=Ve.className);var lt={EventTarget:[Se],Node:[Oe,window.EventTarget?null:Se],Text:[xe],Comment:[xe],CDATASection:[xe],ProcessingInstruction:[xe],Element:[Ve,Me,Re,xe,!f.c||"innerHTML"in Element.prototype?Ze:null,window.HTMLSlotElement?null:tt],HTMLElement:[et,at],HTMLSlotElement:[tt],DocumentFragment:[Ae,nt],Document:[it,Ae,nt,rt],Window:[st],CharacterData:[Re]},ut=f.c?null:["innerHTML","textContent"];function ct(e,t,n,r){t.forEach((function(t){return e&&t&&k(e,t,n,r)}))}function dt(e){var t,n=e?null:ut;for(t in lt)ct(window[t]&&window[t].prototype,lt[t],e,n)}function ht(e){return e.__shady_protoIsPatched=!0,ct(e,lt.EventTarget),ct(e,lt.Node),ct(e,lt.Element),ct(e,lt.HTMLElement),ct(e,lt.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,ct(n,lt.EventTarget),ct(n,lt.Node),lt[e]&&ct(n,lt[e]),t.prototype.__shady_patchedProto=n}));var ft=f.G,_t=f.c;function pt(e,t){if(ft&&!e.__shady_protoIsPatched&&!y(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(ht(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}_t||(1===t?K(e):2===t&&X(e))}function yt(e,t,n,r){pt(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 mt(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,pt(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,pt(n,1)}}}var vt=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 gt(e,t){k(e,vt,t),k(e,rt,t),k(e,Ze,t),k(e,Me,t),f.g&&!t?(k(e,Oe,t),k(e,nt,t)):f.c||(k(e,q),k(e,B),k(e,U))}var St,Et={},Nt=f.deferConnectionCallbacks&&"loading"===document.readyState;function bt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function Ct(e,t,n){if(e!==Et)throw new TypeError("Illegal constructor");this.a=null,wt(this,t,n)}function wt(e,t,n){if(e.host=t,e.mode=n&&n.mode,mt(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 Tt(e)}function Tt(e){e.j||(e.j=!0,j((function(){return Ot(e)})))}function Ot(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.u||(e=void 0);t=n}(n=t)&&n._renderSelf()}function xt(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 Pt(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&&Pt(e,t,i)}else t.push(n[r])}function kt(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=h(t)).assignedSlot&&kt(e,t.assignedSlot)}function Mt(e){e.f=e.f||[],e.a=e.a||[],e.b=e.b||{}}function Dt(e){if(e.f&&e.f.length){for(var t,n=e.f,r=0;r<n.length;r++){var o=n[r];mt(o);var i=o.__shady_parentNode;mt(i),(i=h(i)).u=(i.u||0)+1,i=At(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]=Rt(e.b[s]);e.f=[]}}function At(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.O=t}function Rt(e){return e.sort((function(e,t){e=bt(e);for(var n=bt(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 Lt(e){return Dt(e),!(!e.a||!e.a.length)}if(Ct.prototype._renderSelf=function(){var e=Nt;if(Nt=!0,this.j=!1,this.a){Dt(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)xt(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)xt(this,r,t);if((r=(r=h(t.__shady_parentNode))&&r.root)&&(Lt(r)||r.j)&&r._renderSelf(),Pt(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,kt(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.s.length&&(_=c.s[d]);d++)_.__shady_native_parentNode===o&&o.__shady_native_removeChild(_),i.splice(c.index+u,1);u-=c.v}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.v;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,Nt=e,St&&St()},function(e){e.__proto__=DocumentFragment.prototype,gt(e,"__shady_"),gt(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})}))}(Ct.prototype),window.customElements&&window.customElements.define&&f.F&&!f.preferPerformance){var It=new Map;St=function(){var e=[];It.forEach((function(t,n){e.push([n,t])})),It.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},Nt&&document.addEventListener("readystatechange",(function(){Nt=!1,St()}),{once:!0});var Ft=window.customElements.define,jt=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Ft.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(){Nt?It.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){Nt?this.isConnected||It.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=jt,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:jt,configurable:!0})}function Ht(e){if(y(e=e.__shady_getRootNode()))return e}function Bt(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.w=new Set}Bt.prototype.flush=function(){if(this.a){this.a=!1;var e=this.takeRecords();e.length&&this.w.forEach((function(t){t(e)}))}},Bt.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 Ut=f.c,qt={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},Vt={};function Gt(e){Vt[e]=function(t){return t["__shady_native_"+e]}}function Wt(e,t){for(var n in k(e,t,"__shady_native_"),t)Gt(n)}function Kt(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?qt[r]||(qt[r]=o.value):Gt(r))}}var Xt=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),$t=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),zt=document.implementation.createHTMLDocument("inert");function Yt(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var Jt=["firstElementChild","lastElementChild","children","childElementCount"],Qt=["querySelector","querySelectorAll","append","prepend","replaceChildren"];function Zt(e){this.node=e}function en(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)},n.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_append.apply(this.node,i(t))},n.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_prepend.apply(this.node,i(t))},n.after=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_after.apply(this.node,i(t))},n.before=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_before.apply(this.node,i(t))},n.remove=function(){return this.node.__shady_remove()},n.replaceWith=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_replaceWith.apply(this.node,i(t))},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}}}),me.forEach((function(e){return en(e)})),ve.forEach((function(e){return en(e)}));var tn=new WeakMap;function nn(e){if(y(e)||e instanceof Zt)return e;var t=tn.get(e);return t||(t=new Zt(e),tn.set(e,t)),t}if(f.F){var rn=f.c?function(e){return e}:function(e){return X(e),K(e),e};window.ShadyDOM={inUse:f.F,patch:rn,isShadyRoot:y,enqueue:j,flush:H,flushInitial:function(e){!e.H&&e.j&&Ot(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 Bt),n.m.w.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.w.delete(e.P),t.w.size||(d(e.R).m=null))},deferConnectionCallbacks:f.deferConnectionCallbacks,preferPerformance:f.preferPerformance,handlesDynamicScoping:!0,wrap:f.g?nn:rn,wrapIfNeeded:!0===f.g?nn:function(e){return e},Wrapper:Zt,composedPath:function(e){return e.__composedPath||(e.__composedPath=te(e.target,!0)),e.__composedPath},noPatch:f.g,patchOnDemand:f.G,nativeMethods:qt,nativeTree:Vt,patchElementProto:ht},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?Kt(window.EventTarget.prototype,e):(Kt(Node.prototype,e),Kt(Window.prototype,e)),Ut?Kt(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Wt(Node.prototype,{parentNode:{get:function(){return Xt.currentNode=this,Xt.parentNode()}},firstChild:{get:function(){return Xt.currentNode=this,Xt.firstChild()}},lastChild:{get:function(){return Xt.currentNode=this,Xt.lastChild()}},previousSibling:{get:function(){return Xt.currentNode=this,Xt.previousSibling()}},nextSibling:{get:function(){return Xt.currentNode=this,Xt.nextSibling()}},childNodes:{get:function(){var e=[];Xt.currentNode=this;for(var t=Xt.firstChild();t;)e.push(t),t=Xt.nextSibling();return e}},parentElement:{get:function(){return $t.currentNode=this,$t.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:Yt(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),Kt(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),Kt(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return $t.currentNode=this,$t.firstChild()}},lastElementChild:{get:function(){return $t.currentNode=this,$t.lastChild()}},children:{get:function(){var e=[];$t.currentNode=this;for(var t=$t.firstChild();t;)e.push(t),t=$t.nextSibling();return T(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},Ut?(Kt(Element.prototype,Jt),Kt(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),Kt(HTMLElement.prototype,["children","innerHTML","className"])):(Wt(Element.prototype,e),Wt(Element.prototype,{previousElementSibling:{get:function(){return $t.currentNode=this,$t.previousSibling()}},nextElementSibling:{get:function(){return $t.currentNode=this,$t.nextSibling()}},innerHTML:{get:function(){return Je(this,O)},set:function(e){var t="template"===this.localName?this.content:this;Yt(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==zt.namespaceURI?zt.createElementNS(this.namespaceURI,n):zt.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)}}})),Kt(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),Kt(Element.prototype,Qt),Kt(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&Kt(window.HTMLTemplateElement.prototype,["innerHTML"]),Ut?Kt(DocumentFragment.prototype,Jt):Wt(DocumentFragment.prototype,e),Kt(DocumentFragment.prototype,Qt),Ut?(Kt(Document.prototype,Jt),Kt(Document.prototype,["activeElement"])):Wt(Document.prototype,e),Kt(Document.prototype,["importNode","getElementById"]),Kt(Document.prototype,Qt)}(),dt("__shady_"),Object.defineProperty(document,"_activeElement",rt.activeElement),k(Window.prototype,st,"__shady_"),f.g?f.G&&k(Element.prototype,Ge):(dt(),function(){if(!z&&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 oe)window.__shady_native_addEventListener(e,(function(e){e.__target||(fe(e),ae(e))}),!0)}(),window.Event=_e,window.CustomEvent=pe,window.MouseEvent=ye,window.ShadowRoot=Ct}}).call(this)}).call(this,n(313))},343: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,E=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,N=/(?:^|\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&&A(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 A(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++)A(l,t,n,r)}}function R(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;A(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=E,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(E,"")}},{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(N.lastIndex=0,r=N.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 A(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 A(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=R(o,n,e.shadowRoot,i.placeholder)):r?r.parentNode||(ve&&o.indexOf("@media")>-1&&(r.textContent=o),I(r,null,i.placeholder)):o&&(r=R(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 Ee(e){return Se[e]||null}function Ne(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){Ne(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 Ae(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 Re=new MutationObserver(Ae),Le=function(e){Re.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(){Ae(Re.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||Ne(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=N.test(e)||E.test(e);return N.lastIndex=0,E.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=Ee(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?R(i,e.is,n,r):null}},{key:"_prepareHost",value:function(e){var t=B(e),n=t.is,r=t.typeExtension,o=Ee(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);A(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)}}]);