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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/_config.yml +5 -4
- data/_includes/body/breadcrumbs.html +19 -0
- data/_includes/body/footer.html +1 -1
- data/_includes/body/index.html +3 -2
- data/_includes/body/main.html +1 -0
- data/_includes/body/nav.html +3 -3
- data/_includes/body/scripts.html +2 -2
- data/_includes/body/sidebar.html +1 -1
- data/_includes/components/dingbat.html +12 -0
- data/_includes/components/hy-img.html +1 -1
- data/_includes/components/post.html +35 -9
- data/_includes/components/tag-list.html +24 -24
- data/_includes/head/links-static.html +3 -2
- data/_includes/head/meta-static.html +1 -1
- data/_includes/head/scripts.html +7 -2
- data/_includes/head/styles-inline.html +1 -1
- data/_includes/head/styles-no-inline.html +1 -1
- data/_includes/header.txt +1 -1
- data/_includes/scripts.html +33 -0
- data/_includes/scripts/load-js.min.js +1 -1
- data/_includes/scripts/nomodule.min.js +1 -1
- data/_includes/smart-url +10 -1
- data/_includes/styles/page-style.scss +1 -0
- data/_includes/styles/style.scss +1 -0
- data/_includes/styles/variables.scss +10 -6
- data/_includes/templates/animation.html +1 -0
- data/_includes/templates/index.html +20 -2
- data/_layouts/about.html +4 -1
- data/_layouts/base.html +3 -12
- data/_layouts/compress.html +1 -1
- data/_layouts/list.html +1 -1
- data/_layouts/page.html +4 -2
- data/_layouts/plain.html +29 -0
- data/_layouts/post.html +6 -1
- data/_sass/_mixins.scss +26 -3
- data/_sass/_tippy.scss +40 -0
- data/_sass/html.scss +1 -7
- data/_sass/hydejack/__inline__/_base.scss +23 -4
- data/_sass/hydejack/__inline__/_content.scss +8 -5
- data/_sass/hydejack/__inline__/_sidebar.scss +18 -4
- data/_sass/hydejack/__inline__/_toc.scss +11 -11
- data/_sass/hydejack/__inline__/_utilities.scss +25 -0
- data/_sass/hydejack/__link__/_base.scss +9 -2
- data/_sass/hydejack/__link__/_break-layout.scss +8 -1
- data/_sass/hydejack/__link__/_content.scss +10 -4
- data/_sass/hydejack/__link__/_images.scss +1 -1
- data/_sass/hydejack/__link__/_sidebar.scss +15 -5
- data/_sass/hydejack/__link__/_toc.scss +4 -2
- data/_sass/hydejack/__link__/_utilities.scss +25 -0
- data/_sass/hydejack/_base.pre.scss +38 -8
- data/_sass/hydejack/_break-layout.pre.scss +8 -1
- data/_sass/hydejack/_content.pre.scss +12 -12
- data/_sass/hydejack/_images.pre.scss +1 -1
- data/_sass/hydejack/_sidebar.pre.scss +29 -5
- data/_sass/hydejack/_toc.pre.scss +14 -14
- data/_sass/hydejack/_utilities.pre.scss +25 -0
- data/_sass/pooleparty/__inline__/_base.scss +2 -0
- data/_sass/pooleparty/__inline__/_code.scss +1 -1
- data/_sass/pooleparty/__inline__/_message.scss +2 -2
- data/_sass/pooleparty/__inline__/_posts.scss +19 -3
- data/_sass/pooleparty/__inline__/_type.scss +4 -2
- data/_sass/pooleparty/__link__/_code.scss +138 -27
- data/_sass/pooleparty/__link__/_footnotes.scss +2 -1
- data/_sass/pooleparty/__link__/_posts.scss +12 -0
- data/_sass/pooleparty/__link__/_read-more.scss +1 -0
- data/_sass/pooleparty/__link__/_table.scss +30 -36
- data/_sass/pooleparty/__link__/_type.scss +4 -2
- data/_sass/pooleparty/_base.pre.scss +2 -0
- data/_sass/pooleparty/_code.pre.scss +138 -27
- data/_sass/pooleparty/_footnotes.pre.scss +2 -1
- data/_sass/pooleparty/_message.pre.scss +2 -2
- data/_sass/pooleparty/_posts.pre.scss +31 -3
- data/_sass/pooleparty/_read-more.pre.scss +1 -0
- data/_sass/pooleparty/_table.pre.scss +30 -36
- data/_sass/pooleparty/_type.pre.scss +6 -4
- data/_sass/tippyjs/_mixins.scss +25 -0
- data/_sass/tippyjs/_vars.scss +6 -0
- data/_sass/tippyjs/animations/fade.scss +8 -0
- data/_sass/tippyjs/index.scss +90 -0
- data/assets/bower.json +2 -1
- data/assets/bower_components/MathJax/.bower.json +5 -5
- data/assets/bower_components/MathJax/es5/a11y/assistive-mml.js +1 -1
- data/assets/bower_components/MathJax/es5/a11y/complexity.js +1 -1
- data/assets/bower_components/MathJax/es5/a11y/explorer.js +1 -1
- data/assets/bower_components/MathJax/es5/a11y/semantic-enrich.js +1 -1
- data/assets/bower_components/MathJax/es5/adaptors/liteDOM.js +1 -1
- data/assets/bower_components/MathJax/es5/core.js +1 -1
- data/assets/bower_components/MathJax/es5/input/asciimath.js +1 -1
- data/assets/bower_components/MathJax/es5/input/mml.js +1 -1
- data/assets/bower_components/MathJax/es5/input/mml/entities.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex-base.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex-full.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/action.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/all-packages.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/ams.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/amscd.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/autoload.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/bbox.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/boldsymbol.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/braket.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/bussproofs.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/cancel.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/color.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/colorV2.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/configMacros.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/enclose.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/extpfeil.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/html.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/mhchem.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/newcommand.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/noerrors.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/noundefined.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/physics.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/require.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/tagFormat.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/textmacros.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/unicode.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/verb.js +1 -1
- data/assets/bower_components/MathJax/es5/latest.js +1 -1
- data/assets/bower_components/MathJax/es5/loader.js +1 -1
- data/assets/bower_components/MathJax/es5/mml-chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/mml-svg.js +1 -1
- data/assets/bower_components/MathJax/es5/node-main.js +1 -1
- data/assets/bower_components/MathJax/es5/output/chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/tex.js +1 -1
- data/assets/bower_components/MathJax/es5/output/svg.js +1 -1
- data/assets/bower_components/MathJax/es5/output/svg/fonts/tex.js +1 -1
- data/assets/bower_components/MathJax/es5/sre/mathmaps/de.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/en.js +11 -5
- data/assets/bower_components/MathJax/es5/sre/mathmaps/es.js +1 -1
- data/assets/bower_components/MathJax/es5/sre/mathmaps/mathmaps_ie.js +117 -9
- data/assets/bower_components/MathJax/es5/sre/mathmaps/nemeth.js +3 -3
- data/assets/bower_components/MathJax/es5/sre/sre-node.js +11 -0
- data/assets/bower_components/MathJax/es5/sre/sre_browser.js +1110 -1186
- data/assets/bower_components/MathJax/es5/startup.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-chtml-full.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-mml-chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-mml-svg.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-svg-full.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-svg.js +1 -1
- data/assets/bower_components/MathJax/es5/ui/menu.js +1 -1
- data/assets/bower_components/MathJax/es5/ui/safe.js +1 -0
- data/assets/bower_components/MathJax/package.json +3 -3
- data/assets/bower_components/katex/.bower.json +7 -6
- data/assets/bower_components/katex/dist/contrib/render-a11y-string.js +858 -0
- data/assets/bower_components/katex/dist/contrib/render-a11y-string.min.js +1 -0
- data/assets/bower_components/katex/dist/contrib/render-a11y-string.mjs +741 -0
- data/assets/bower_components/katex/dist/katex.css +1 -10
- data/assets/bower_components/katex/dist/katex.js +1228 -612
- data/assets/bower_components/katex/dist/katex.min.css +1 -1
- data/assets/bower_components/katex/dist/katex.min.js +1 -1
- data/assets/bower_components/katex/dist/katex.mjs +1270 -591
- data/assets/bower_components/katex/docs/cli.md.template +21 -0
- data/assets/bower_components/katex/flow-typed/npm/jest_v24.x.x.js +1201 -0
- data/assets/bower_components/katex/yarn.lock +233 -172
- data/assets/css/{hydejack-9.0.2.css → hydejack-9.1.2.css} +0 -0
- data/assets/icomoon/fonts/icomoon.eot +0 -0
- data/assets/icomoon/fonts/icomoon.svg +6 -3
- data/assets/icomoon/fonts/icomoon.ttf +0 -0
- data/assets/icomoon/fonts/icomoon.woff +0 -0
- data/assets/icomoon/selection.json +1 -1
- data/assets/icomoon/style.css +17 -8
- data/assets/icons/favicon.ico +0 -0
- data/assets/icons/icon-128x128.png +0 -0
- data/assets/icons/icon-144x144.png +0 -0
- data/assets/icons/icon-152x152.png +0 -0
- data/assets/icons/icon-192x192.png +0 -0
- data/assets/icons/icon-384x384.png +0 -0
- data/assets/icons/icon-512x512.png +0 -0
- data/assets/icons/icon-72x72.png +0 -0
- data/assets/icons/icon-96x96.png +0 -0
- data/assets/img/logo.png +0 -0
- data/assets/img/sidebar-bg.jpg +0 -0
- data/assets/img/swipe.svg +1 -22
- data/assets/js/LEGACY-clap-button-hydejack-9.1.2.js +14 -0
- data/assets/js/LEGACY-drawer-hydejack-9.1.2.js +14 -0
- data/assets/js/{LEGACY-fetch-hydejack-9.0.2.js → LEGACY-fetch-hydejack-9.1.2.js} +2 -2
- data/assets/js/LEGACY-hydejack-9.1.2.js +27 -0
- data/assets/js/LEGACY-navbar-hydejack-9.1.2.js +14 -0
- data/assets/js/LEGACY-push-state-hydejack-9.1.2.js +14 -0
- data/assets/js/{resize-observer-hydejack-9.0.2.js → LEGACY-resize-observer-hydejack-9.1.2.js} +2 -2
- data/assets/js/{LEGACY-shadydom-hydejack-9.0.2.js → LEGACY-shadydom-hydejack-9.1.2.js} +2 -2
- data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.2.js +182 -0
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.2.js +48 -0
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.2.js +214 -0
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.2.js +14 -0
- data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.1.2.js +14 -0
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.2.js +34 -0
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.2.js +155 -0
- data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.0.2.js → LEGACY-vendors~webanimations-hydejack-9.1.2.js} +2 -2
- data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.0.2.js → LEGACY-vendors~webcomponents-hydejack-9.1.2.js} +4 -4
- data/assets/js/{LEGACY-webcomponents-hydejack-9.0.2.js → LEGACY-webcomponents-hydejack-9.1.2.js} +2 -2
- data/assets/js/clap-button-hydejack-9.1.2.js +14 -0
- data/assets/js/drawer-hydejack-9.1.2.js +14 -0
- data/assets/js/{shadydom-hydejack-9.0.2.js → fetch-hydejack-9.1.2.js} +2 -2
- data/assets/js/hydejack-9.1.2.js +28 -0
- data/assets/js/navbar-hydejack-9.1.2.js +14 -0
- data/assets/js/push-state-hydejack-9.1.2.js +14 -0
- data/assets/js/{LEGACY-resize-observer-hydejack-9.0.2.js → resize-observer-hydejack-9.1.2.js} +2 -2
- data/assets/js/shadydom-hydejack-9.1.2.js +14 -0
- data/assets/js/vendors~clap-button-hydejack-9.1.2.js +222 -0
- data/assets/js/vendors~drawer-hydejack-9.1.2.js +48 -0
- data/assets/js/vendors~drawer~push-state-hydejack-9.1.2.js +163 -0
- data/assets/js/vendors~fetch-hydejack-9.1.2.js +14 -0
- data/assets/js/vendors~intersection-observer-hydejack-9.1.2.js +14 -0
- data/assets/js/vendors~push-state-hydejack-9.1.2.js +34 -0
- data/assets/js/vendors~shadydom-hydejack-9.1.2.js +146 -0
- data/assets/js/{vendors~webanimations-hydejack-9.0.2.js → vendors~webanimations-hydejack-9.1.2.js} +2 -2
- data/assets/js/{webcomponents-hydejack-9.0.2.js → webcomponents-hydejack-9.1.2.js} +2 -2
- data/assets/site.webmanifest +1 -1
- data/assets/version.json +2 -2
- metadata +59 -38
- data/_includes/templates/back.html +0 -6
- data/_includes/templates/forward.html +0 -6
- data/assets/js/LEGACY-drawer-hydejack-9.0.2.js +0 -14
- data/assets/js/LEGACY-hydejack-9.0.2.js +0 -28
- data/assets/js/LEGACY-navbar-hydejack-9.0.2.js +0 -14
- data/assets/js/LEGACY-push-state-hydejack-9.0.2.js +0 -14
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.2.js +0 -47
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.2.js +0 -215
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.2.js +0 -14
- data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.2.js +0 -14
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.2.js +0 -33
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.2.js +0 -155
- data/assets/js/drawer-hydejack-9.0.2.js +0 -14
- data/assets/js/fetch-hydejack-9.0.2.js +0 -14
- data/assets/js/hydejack-9.0.2.js +0 -28
- data/assets/js/navbar-hydejack-9.0.2.js +0 -14
- data/assets/js/push-state-hydejack-9.0.2.js +0 -14
- data/assets/js/vendors~drawer-hydejack-9.0.2.js +0 -47
- data/assets/js/vendors~drawer~push-state-hydejack-9.0.2.js +0 -163
- data/assets/js/vendors~intersection-observer-hydejack-9.0.2.js +0 -14
- data/assets/js/vendors~push-state-hydejack-9.0.2.js +0 -33
- data/assets/js/vendors~shadydom-hydejack-9.0.2.js +0 -146
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* __ __ __ __
|
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
|
9
|
-
* /\___/ \ \____/
|
|
10
|
-
* \/__/ \/___/
|
|
11
|
-
*
|
|
12
|
-
* Powered by Hydejack v9.0.2 <https://hydejack.com/>
|
|
13
|
-
*/
|
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{300:function(e,t,n){"use strict";n.r(t);var r,i=n(149),a=n(321),o=n(298),c=n(339),u=n(148),l=n(323),s=n(31),d=n(340),p=n(152),b=n(150),f=n(151),y=n(350),m=n(25);function h(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,a=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw a}}return n}(e,t)||v(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){return function(e){if(Array.isArray(e))return j(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||v(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 v(e,t){if(e){if("string"==typeof e)return j(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)?j(e,t):void 0}}function j(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 O(e,t,n,r,i,a,o){try{var c=e[a](o),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,i)}(r=regeneratorRuntime.mark((function e(){var t,r,v,j,O,g,S,E,A,C,x,I,k,L,_,B,M,P,T,R,q,z,D,J;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g=function(){var e,t=document.getElementById("_swipe");null==t||null===(e=t.parentNode)||void 0===e||e.removeChild(t)},O=function(e){var t=document.getElementById("_hrefSwipeSVG");if(t){var n,r=document.createElement("img");r.id="_swipe",r.src=t.href,r.alt="Swipe image",r.addEventListener("click",(function(){return e.close()})),null===(n=document.getElementById("_sidebar"))||void 0===n||n.appendChild(r)}},j=function(e,t){return t>=r?[0,e]:m.o?[35,150]:[0,150]},e.next=5,Promise.all([].concat(w("customElements"in window?[]:[Promise.all([n.e(14),n.e(15)]).then(n.bind(null,325)).then((function(){return Promise.all([n.e(12),n.e(7)]).then(n.bind(null,330))}))]),w("ResizeObserver"in window?[]:[n.e(6).then(n.bind(null,334))])));case 5:return e.next=7,m.t;case 7:return e.next=9,m.s;case 9:if(r=2,v=function(e){return function(t){return e.pipe(Object(u.a)((function(e){return e?t:i.a})))}},S=function(){return window.matchMedia(m.b).matches?3:window.matchMedia(m.a).matches?r:1},E=document.getElementById("_drawer"),A=document.getElementById("_sidebar"),C=null==A?void 0:A.querySelector(".sidebar-sticky"),E&&A&&C){e.next=19;break}return e.abrupt("return");case 19:return null===(t=document.getElementById("_menu"))||void 0===t||t.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation(),E.toggle()})),A.querySelectorAll('a[href^="/"]').forEach((function(e){return e.addEventListener("click",(function(){return E.close()}))})),m.p&&E.setAttribute("threshold","0"),m.n||E.setAttribute("mouseevents",""),x=m.j?[new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]),CSS.number(1)]:[null,null],I=h(x,2),k=I[0],L=I[1],_=function(e,t,n){var i=n*e,a=t>=r?1:1-e;m.j?(k[0].x.value=i,L.value=a,A.attributeStyleMap.set("transform",k),C.attributeStyleMap.set("opacity",L)):(A.style.transform="translateX(".concat(i,"px)"),C.style.opacity=a)},B=Object(a.a)(Object(m.g)(window.matchMedia(m.a)),Object(m.g)(window.matchMedia(m.b))).pipe(Object(l.a)({}),Object(s.a)(S)),M=Object(o.a)(E,"peek-width-change").pipe(Object(s.a)((function(e){return e.detail}))),P=Object(o.a)(window,"resize",{passive:!0}).pipe(Object(l.a)({}),Object(s.a)(m.i)),T=Object(c.a)(M,P).pipe(Object(s.a)((function(e){var t=h(e,2),n=t[0];return t[1]/2-n/2}))),R=Object(a.a)(T.pipe(Object(s.a)((function(){return void 0!==E.opacity?1-E.opacity:z?0:1}))),Object(o.a)(E,"hy-drawer-move").pipe(Object(s.a)((function(e){return 1-e.detail.opacity})))),E.addEventListener("hy-drawer-prepare",(function(){A.style.willChange="transform",C.style.willChange="opacity"})),E.addEventListener("hy-drawer-transitioned",(function(){A.style.willChange="",C.style.willChange=""})),q=Object(m.h)(),(z=E.classList.contains("cover")&&q<=0&&!(history.state&&history.state.closedOnce))||(history.state||history.replaceState({},document.title),history.state.closedOnce=!0,E.removeAttribute("opened")),D=Object(o.a)(E,"hy-drawer-transitioned").pipe(Object(s.a)((function(e){return e.detail})),Object(d.a)(),Object(p.a)((function(e){e||(g(),history.state||history.replaceState({},document.title),history.state.closedOnce=!0)})),Object(l.a)(z)),J=z?null:E.getBoundingClientRect().height,E.addEventListener("hy-drawer-init",(function(){E.classList.add("loaded"),O(E),J&&q>=J&&window.scrollTo(0,q-J)}),{once:!0}),e.next=40,Promise.resolve().then(n.bind(null,337));case 40:window._drawer=E,R.pipe(Object(b.a)(B,T),Object(p.a)((function(e){return _.apply(void 0,w(e))}))).subscribe(),M.pipe(Object(b.a)(B),Object(s.a)((function(e){return j.apply(void 0,w(e))})),Object(p.a)((function(e){E.range=e}))).subscribe(),Object(o.a)(document,"wheel",{passive:!1}).pipe(v(D),Object(f.a)((function(e){return e.deltaY>0})),Object(p.a)((function(e){E.translateX>0&&e.preventDefault()})),Object(y.a)(500),Object(p.a)((function(){return E.close()}))).subscribe();case 44:case"end":return e.stop()}}),e)})),function(){var e=this,t=arguments;return new Promise((function(n,i){var a=r.apply(e,t);function o(e){O(a,n,i,o,c,"next",e)}function c(e){O(a,n,i,o,c,"throw",e)}o(void 0)}))})()}}]);
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* __ __ __ __
|
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
|
9
|
-
* /\___/ \ \____/
|
|
10
|
-
* \/__/ \/___/
|
|
11
|
-
*
|
|
12
|
-
* Powered by Hydejack v9.0.2 <https://hydejack.com/>
|
|
13
|
-
*/!function(t){function n(n){for(var r,o,i=n[0],u=n[1],c=0,s=[];c<i.length;c++)o=i[c],Object.prototype.hasOwnProperty.call(e,o)&&e[o]&&s.push(e[o][0]),e[o]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(t[r]=u[r]);for(a&&a(n);s.length;)s.shift()()}var r={},e={3:0};function o(n){if(r[n])return r[n].exports;var e=r[n]={i:n,l:!1,exports:{}};return t[n].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.e=function(t){var n=[],r=e[t];if(0!==r)if(r)n.push(r[2]);else{var i=new Promise((function(n,o){r=e[t]=[n,o]}));n.push(r[2]=i);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,o.nc&&c.setAttribute("nonce",o.nc),c.src=function(t){return o.p+"LEGACY-"+({0:"vendors~drawer~push-state",1:"drawer",2:"fetch",4:"navbar",5:"push-state",6:"resize-observer",7:"shadydom",8:"vendors~drawer",9:"vendors~fetch",10:"vendors~intersection-observer",11:"vendors~push-state",12:"vendors~shadydom",13:"vendors~webanimations",14:"vendors~webcomponents",15:"webcomponents"}[t]||t)+"-hydejack-9.0.2.js"}(t);var a=new Error;u=function(n){c.onerror=c.onload=null,clearTimeout(s);var r=e[t];if(0!==r){if(r){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}e[t]=void 0}};var s=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(n)},o.m=t,o.c=r,o.d=function(t,n,r){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,n){if(1&n&&(t=o(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var e in t)o.d(r,e,function(n){return t[n]}.bind(null,e));return r},o.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(n,"a",n),n},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},o.p="/assets/js/",o.oe=function(t){throw console.error(t),t};var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=n,i=i.slice();for(var c=0;c<i.length;c++)n(i[c]);var a=u;o(o.s=153)}([function(t,n,r){var e=r(2),o=r(34),i=r(16),u=r(17),c=r(21),a=function t(n,r,a){var s,f,l,h,p=n&t.F,d=n&t.G,v=n&t.P,y=n&t.B,b=d?e:n&t.S?e[r]||(e[r]={}):(e[r]||{}).prototype,m=d?o:o[r]||(o[r]={}),g=m.prototype||(m.prototype={});for(s in d&&(a=r),a)l=((f=!p&&b&&void 0!==b[s])?b:a)[s],h=y&&f?c(l,e):v&&"function"==typeof l?c(Function.call,l):l,b&&u(b,s,l,n&t.U),m[s]!=l&&i(m,s,h),v&&g[s]!=l&&(g[s]=l)};e.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n,r){"use strict";r.d(n,"e",(function(){return o})),r.d(n,"d",(function(){return i})),r.d(n,"f",(function(){return u})),r.d(n,"g",(function(){return a})),r.d(n,"c",(function(){return s})),r.d(n,"a",(function(){return f})),r.d(n,"b",(function(){return l}));
|
|
14
|
-
/*! *****************************************************************************
|
|
15
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
16
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
17
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
18
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
19
|
-
|
|
20
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
21
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
22
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
23
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
24
|
-
|
|
25
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
|
26
|
-
and limitations under the License.
|
|
27
|
-
***************************************************************************** */
|
|
28
|
-
var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r])})(t,n)};function o(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}function i(t,n,r,e){return new(r||(r=Promise))((function(o,i){function u(t){try{a(e.next(t))}catch(t){i(t)}}function c(t){try{a(e.throw(t))}catch(t){i(t)}}function a(t){var n;t.done?o(t.value):(n=t.value,n instanceof r?n:new r((function(t){t(n)}))).then(u,c)}a((e=e.apply(t,n||[])).next())}))}function u(t,n){var r,e,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,e&&(o=2&i[0]?e.return:i[0]?e.throw||((o=e.return)&&o.call(e),0):e.next)&&!(o=o.call(e,i[1])).done)return o;switch(e=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,e=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=n.call(t,u)}catch(t){i=[6,t],e=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function c(t){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&t[n],e=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(){for(var t=0,n=0,r=arguments.length;n<r;n++)t+=arguments[n].length;var e=Array(t),o=0;for(n=0;n<r;n++)for(var i=arguments[n],u=0,c=i.length;u<c;u++,o++)e[o]=i[u];return e}function s(t){return this instanceof s?(this.v=t,this):new s(t)}function f(t,n,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,o=r.apply(t,n||[]),i=[];return e={},u("next"),u("throw"),u("return"),e[Symbol.asyncIterator]=function(){return this},e;function u(t){o[t]&&(e[t]=function(n){return new Promise((function(r,e){i.push([t,n,r,e])>1||c(t,n)}))})}function c(t,n){try{(r=o[t](n)).value instanceof s?Promise.resolve(r.value.v).then(a,f):l(i[0][2],r)}catch(t){l(i[0][3],t)}var r}function a(t){c("next",t)}function f(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}}function l(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,r=t[Symbol.asyncIterator];return r?r.call(t):(t=c(t),n={},e("next"),e("throw"),e("return"),n[Symbol.asyncIterator]=function(){return this},n);function e(r){n[r]=t[r]&&function(n){return new Promise((function(e,o){(function(t,n,r,e){Promise.resolve(e).then((function(n){t({value:n,done:r})}),n)})(e,o,(n=t[r](n)).done,n.value)}))}}}},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n){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)}t.exports=function(t){return"object"===r(t)?null!==t:"function"==typeof t}},function(t,n,r){var e=r(3);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n,r){"use strict";r.d(n,"a",(function(){return p}));var e=r(9);var o=r(63),i=r(57);var u=r(26),c=r(81);function a(t){return 0===t.length?c.a:1===t.length?t[0]:function(n){return t.reduce((function(t,n){return n(t)}),n)}}var s=r(14),f=r(1),l=function(){var t=this;this.resolve=null,this.reject=null,this.promise=new Promise((function(n,r){t.resolve=n,t.reject=r}))};function h(t){return function(t){return Object(f.a)(this,arguments,(function(){var n,r,e,o,i,u,c,a;return Object(f.f)(this,(function(s){switch(s.label){case 0:n=[],r=[],e=!1,o=null,i=!1,u=t.subscribe({next:function(t){n.length>0?n.shift().resolve({value:t,done:!1}):r.push(t)},error:function(t){for(e=!0,o=t;n.length>0;)n.shift().reject(t)},complete:function(){for(i=!0;n.length>0;)n.shift().resolve({value:void 0,done:!0})}}),s.label=1;case 1:s.trys.push([1,16,17,18]),s.label=2;case 2:return r.length>0?[4,Object(f.c)(r.shift())]:[3,5];case 3:return[4,s.sent()];case 4:return s.sent(),[3,14];case 5:return i?[4,Object(f.c)(void 0)]:[3,7];case 6:return[2,s.sent()];case 7:if(!e)return[3,8];throw o;case 8:return c=new l,n.push(c),[4,Object(f.c)(c.promise)];case 9:return(a=s.sent()).done?[4,Object(f.c)(void 0)]:[3,11];case 10:return[2,s.sent()];case 11:return[4,Object(f.c)(a.value)];case 12:return[4,s.sent()];case 13:s.sent(),s.label=14;case 14:return[3,2];case 15:return[3,18];case 16:throw s.sent();case 17:return u.unsubscribe(),[7];case 18:return[2]}}))}))}(t)}var p=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(n){var r=new t;return r.source=this,r.operator=n,r},t.prototype.subscribe=function(t,n,r){var u=this.operator,c=function(t,n,r){if(t){if(t instanceof e.a)return t;if(t[o.a])return t[o.a]()}return t||n||r?new e.a(t,n,r):new e.a(i.a)}(t,n,r);if(u?c.add(u.call(c,this.source)):c.add(this.source||s.a.useDeprecatedSynchronousErrorHandling&&!c.syncErrorThrowable?this._subscribe(c):this._trySubscribe(c)),s.a.useDeprecatedSynchronousErrorHandling&&c.syncErrorThrowable&&(c.syncErrorThrowable=!1,c.syncErrorThrown))throw c.syncErrorValue;return c},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){s.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=n),!function(t){for(;t;){var n=t,r=n.closed,o=n.destination,i=n.isStopped;if(r||i)return!1;t=o&&o instanceof e.a?o:null}return!0}(t)?console.warn(n):t.error(n)}},t.prototype.forEach=function(t,n){var r=this;return new(n=d(n))((function(n,e){var o;o=r.subscribe((function(n){try{t(n)}catch(t){e(t),o&&o.unsubscribe()}}),e,n)}))},t.prototype._subscribe=function(t){var n=this.source;return n&&n.subscribe(t)},t.prototype[u.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 0===t.length?this:a(t)(this)},t.prototype.toPromise=function(t){var n=this;return new(t=d(t))((function(t,r){var e;n.subscribe((function(t){return e=t}),(function(t){return r(t)}),(function(){return t(e)}))}))},t.create=function(n){return new t(n)},t}();function d(t){if(t||(t=s.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}Symbol&&Symbol.asyncIterator&&(p.prototype[Symbol.asyncIterator]=function(){return h(this)})},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(69)("wks"),o=r(40),i=r(2).Symbol,u="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=e},function(t,n,r){t.exports=!r(6)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,n,r){"use strict";r.d(n,"a",(function(){return l}));var e=r(1),o=r(32),i=r(57),u=r(13),c=r(63),a=r(14),s=r(33);function f(t){return(f="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 l=function(t){function n(r,e,o){var u=t.call(this)||this;switch(u.syncErrorValue=null,u.syncErrorThrown=!1,u.syncErrorThrowable=!1,u.isStopped=!1,arguments.length){case 0:u.destination=i.a;break;case 1:if(!r){u.destination=i.a;break}if("object"===f(r)){r instanceof n?(u.syncErrorThrowable=r.syncErrorThrowable,u.destination=r,r.add(u)):(u.syncErrorThrowable=!0,u.destination=new h(u,r));break}default:u.syncErrorThrowable=!0,u.destination=new h(u,r,e,o)}return u}return Object(e.e)(n,t),n.prototype[c.a]=function(){return this},n.create=function(t,r,e){var o=new n(t,r,e);return o.syncErrorThrowable=!1,o},n.prototype.next=function(t){this.isStopped||this._next(t)},n.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},n.prototype._next=function(t){this.destination.next(t)},n.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},n.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},n.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},n}(u.a),h=function(t){function n(n,r,e,u){var c,a=t.call(this)||this;a._parentSubscriber=n;var s=a;return Object(o.a)(r)?c=r:r&&(c=r.next,e=r.error,u=r.complete,r!==i.a&&(s=Object.create(r),Object(o.a)(s.unsubscribe)&&a.add(s.unsubscribe.bind(s)),s.unsubscribe=a.unsubscribe.bind(a))),a._context=s,a._next=c,a._error=e,a._complete=u,a}return Object(e.e)(n,t),n.prototype.next=function(t){if(!this.isStopped&&this._next){var n=this._parentSubscriber;a.a.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?this.__tryOrSetError(n,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},n.prototype.error=function(t){if(!this.isStopped){var n=this._parentSubscriber,r=a.a.useDeprecatedSynchronousErrorHandling;if(this._error)r&&n.syncErrorThrowable?(this.__tryOrSetError(n,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(n.syncErrorThrowable)r?(n.syncErrorValue=t,n.syncErrorThrown=!0):Object(s.a)(t),this.unsubscribe();else{if(this.unsubscribe(),r)throw t;Object(s.a)(t)}}},n.prototype.complete=function(){var t=this;if(!this.isStopped){var n=this._parentSubscriber;if(this._complete){var r=function(){return t._complete.call(t._context)};a.a.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},n.prototype.__tryOrUnsub=function(t,n){try{t.call(this._context,n)}catch(t){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw t;Object(s.a)(t)}},n.prototype.__tryOrSetError=function(t,n,r){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{n.call(this._context,r)}catch(n){return a.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):(Object(s.a)(n),!0)}return!1},n.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},n}(l)},function(t,n,r){var e=r(4),o=r(119),i=r(27),u=Object.defineProperty;n.f=r(8)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(36),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(28);t.exports=function(t){return Object(e(t))}},function(t,n,r){"use strict";r.d(n,"a",(function(){return a}));var e=r(68),o=r(80),i=r(32),u=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,n){return n+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}();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)}var a=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var n;return t.prototype.unsubscribe=function(){var n;if(!this.closed){var r=this._parentOrParents,c=this._unsubscribe,a=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,r instanceof t)r.remove(this);else if(null!==r)for(var f=0;f<r.length;++f){r[f].remove(this)}if(Object(i.a)(c))try{c.call(this)}catch(t){n=t instanceof u?s(t.errors):[t]}if(Object(e.a)(a)){f=-1;for(var l=a.length;++f<l;){var h=a[f];if(Object(o.a)(h))try{h.unsubscribe()}catch(t){n=n||[],t instanceof u?n=n.concat(s(t.errors)):n.push(t)}}}if(n)throw new u(n)}},t.prototype.add=function(n){var r=n;if(!n)return t.EMPTY;switch(c(n)){case"function":r=new t(n);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof t)){var e=r;(r=new t)._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+n+" added to Subscription.")}var o=r._parentOrParents;if(null===o)r._parentOrParents=this;else if(o instanceof t){if(o===this)return r;r._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return r;o.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[r]:i.push(r),r},t.prototype.remove=function(t){var n=this._subscriptions;if(n){var r=n.indexOf(t);-1!==r&&n.splice(r,1)}},t.EMPTY=((n=new t).closed=!0,n),t}();function s(t){return t.reduce((function(t,n){return t.concat(n instanceof u?n.errors:n)}),[])}},function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else e&&console.log("RxJS: Back to a better error behavior. Thank you. <3");e=t},get useDeprecatedSynchronousErrorHandling(){return e}}},function(t,n,r){var e=r(0),o=r(6),i=r(28),u=/"/g,c=function(t,n,r,e){var o=String(i(t)),c="<"+n;return""!==r&&(c+=" "+r+'="'+String(e).replace(u,""")+'"'),c+">"+o+"</"+n+">"};t.exports=function(t,n){var r={};r[t]=n(c),e(e.P+e.F*o((function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3})),"String",r)}},function(t,n,r){var e=r(10),o=r(39);t.exports=r(8)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(2),o=r(16),i=r(18),u=r(40)("src"),c=r(155),a=(""+c).split("toString");r(34).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,r,c){var s="function"==typeof r;s&&(i(r,"name")||o(r,"name",n)),t[n]!==r&&(s&&(i(r,u)||o(r,u,t[n]?""+t[n]:a.join(String(n)))),t===e?t[n]=r:c?t[n]?t[n]=r:o(t,n,r):(delete t[n],o(t,n,r)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[u]||c.call(this)}))},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(60),o=r(39),i=r(23),u=r(27),c=r(18),a=r(119),s=Object.getOwnPropertyDescriptor;n.f=r(8)?s:function(t,n){if(t=i(t),n=u(n,!0),a)try{return s(t,n)}catch(t){}if(c(t,n))return o(!e.f.call(t,n),t[n])}},function(t,n,r){"use strict";function e(){}r.d(n,"a",(function(){return e}))},function(t,n,r){var e=r(22);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(90),o=r(28);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(0),o=r(34),i=r(6);t.exports=function(t,n){var r=(o.Object||{})[t]||Object[t],u={};u[t]=n(r),e(e.S+e.F*i((function(){r(1)})),"Object",u)}},function(t,n,r){"use strict";r.d(n,"a",(function(){return l})),r.d(n,"b",(function(){return h})),r.d(n,"p",(function(){return d})),r.d(n,"n",(function(){return v})),r.d(n,"o",(function(){return y})),r.d(n,"j",(function(){return b})),r.d(n,"t",(function(){return m})),r.d(n,"s",(function(){return g})),r.d(n,"r",(function(){return w})),r.d(n,"k",(function(){return _})),r.d(n,"d",(function(){return S})),r.d(n,"c",(function(){return x})),r.d(n,"l",(function(){return O})),r.d(n,"i",(function(){return j})),r.d(n,"q",(function(){return A})),r.d(n,"m",(function(){return I}));var e=r(64),o=r(5),i=r(67);r.d(n,"h",(function(){return i.c}));var u=r(87);r.d(n,"g",(function(){return u.b})),r.d(n,"e",(function(){return u.a}));var c=r(86);r.d(n,"f",(function(){return c.b}));r(116);function a(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,n){if(!t)return;if("string"==typeof t)return s(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(t,n)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}var f=getComputedStyle(document.documentElement),l="(min-width: ".concat(f.getPropertyValue("--break-point-3"),")"),h="(min-width: ".concat(f.getPropertyValue("--break-point-dynamic"),")"),p=(parseFloat(f.getPropertyValue("--content-width-5")),parseFloat(f.getPropertyValue("--content-margin-5")),parseFloat(f.getPropertyValue("--sidebar-width")),parseFloat(f.getPropertyValue("--half-content")),navigator.userAgent.toLowerCase()),d=p.indexOf("safari")>0&&p.indexOf("chrome")<0,v=p.indexOf("mobile")>0,y=d&&v,b=(p.indexOf("ucbrowser"),p.indexOf("firefox"),p.indexOf("fxios")>0&&p.indexOf("safari"),"attributeStyleMap"in Element.prototype&&"CSS"in window&&CSS.number),m=new Promise((function(t){"customElements"in window?t(!0):document.addEventListener("WebComponentsReady",t)})),g=new Promise((function t(n,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30,o=document.querySelector("hy-drawer");o?getComputedStyle(o).getPropertyValue("--hy-drawer-width")?n(!0):e<=0?r(Error("Stylesheet not loaded within 10 seconds")):setTimeout((function(){return t(n,r,e-1)}),1e3/3):n(!0)})),w=function(t,n){return new Promise((function(r){return t.addEventListener(n,r,{once:!0})}))};function _(t){return!window.Modernizr||a(t).every((function(t){var n=window.Modernizr[t];return n}))}function S(){for(;null==this?void 0:this.firstChild;)this.removeChild(this.firstChild)}function x(t,n,r){return t?o.a.create((function(e){var o=t.animate(n,r);return o.addEventListener("finish",(function(t){e.next(t),requestAnimationFrame((function(){requestAnimationFrame((function(){return e.complete()}))}))})),function(){"finished"!==o.playState&&o.cancel()}})):Object(e.a)(new CustomEvent("finish"))}function O(t){var n=document.getElementById(t);return n&&document.importNode(n.content,!0)}var E=document.body||document.documentElement,j=function(){return window.innerWidth||E.clientWidth};var P=function(t){return function(n){return new Promise((function(r){return t(n).addEventListener("load",r)}))}},A=(P(window.loadJS),P(window.loadCSS));function I(t,n){return new Promise((function(r){var e=new IntersectionObserver((function(n){n.some((function(t){return t.isIntersecting}))&&(t.forEach((function(t){return e.unobserve(t)})),r(n.find((function(t){return t.isIntersecting}))))}),n);t.forEach((function(t){return e.observe(t)}))}))}},function(t,n,r){"use strict";r.d(n,"a",(function(){return e}));var e="function"==typeof Symbol&&Symbol.observable||"@@observable"},function(t,n,r){var e=r(3);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(18),o=r(12),i=r(98)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){"use strict";function e(t){return(e="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)}if(r(8)){var o=r(35),i=r(2),u=r(6),c=r(0),a=r(111),s=r(143),f=r(21),l=r(54),h=r(39),p=r(16),d=r(53),v=r(36),y=r(11),b=r(144),m=r(48),g=r(27),w=r(18),_=r(59),S=r(3),x=r(12),O=r(92),E=r(50),j=r(29),P=r(45).f,A=r(94),I=r(40),T=r(7),M=r(58),L=r(95),k=r(62),F=r(96),N=r(49),C=r(70),R=r(52),D=r(89),V=r(120),W=r(10),B=r(19),U=W.f,q=B.f,z=i.RangeError,G=i.TypeError,H=i.Uint8Array,Y=Array.prototype,J=s.ArrayBuffer,$=s.DataView,K=M(0),X=M(2),Q=M(3),Z=M(4),tt=M(5),nt=M(6),rt=L(!0),et=L(!1),ot=F.values,it=F.keys,ut=F.entries,ct=Y.lastIndexOf,at=Y.reduce,st=Y.reduceRight,ft=Y.join,lt=Y.sort,ht=Y.slice,pt=Y.toString,dt=Y.toLocaleString,vt=T("iterator"),yt=T("toStringTag"),bt=I("typed_constructor"),mt=I("def_constructor"),gt=a.CONSTR,wt=a.TYPED,_t=a.VIEW,St=M(1,(function(t,n){return Pt(k(t,t[mt]),n)})),xt=u((function(){return 1===new H(new Uint16Array([1]).buffer)[0]})),Ot=!!H&&!!H.prototype.set&&u((function(){new H(1).set({})})),Et=function(t,n){var r=v(t);if(r<0||r%n)throw z("Wrong offset!");return r},jt=function(t){if(S(t)&&wt in t)return t;throw G(t+" is not a typed array!")},Pt=function(t,n){if(!S(t)||!(bt in t))throw G("It is not a typed array constructor!");return new t(n)},At=function(t,n){return It(k(t,t[mt]),n)},It=function(t,n){for(var r=0,e=n.length,o=Pt(t,e);e>r;)o[r]=n[r++];return o},Tt=function(t,n,r){U(t,n,{get:function(){return this._d[r]}})},Mt=function(t){var n,r,e,o,i,u,c=x(t),a=arguments.length,s=a>1?arguments[1]:void 0,l=void 0!==s,h=A(c);if(null!=h&&!O(h)){for(u=h.call(c),e=[],n=0;!(i=u.next()).done;n++)e.push(i.value);c=e}for(l&&a>2&&(s=f(s,arguments[2],2)),n=0,r=y(c.length),o=Pt(this,r);r>n;n++)o[n]=l?s(c[n],n):c[n];return o},Lt=function(){for(var t=0,n=arguments.length,r=Pt(this,n);n>t;)r[t]=arguments[t++];return r},kt=!!H&&u((function(){dt.call(new H(1))})),Ft=function(){return dt.apply(kt?ht.call(jt(this)):jt(this),arguments)},Nt={copyWithin:function(t,n){return V.call(jt(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return Z(jt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return D.apply(jt(this),arguments)},filter:function(t){return At(this,X(jt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return tt(jt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return nt(jt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){K(jt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return et(jt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return rt(jt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ft.apply(jt(this),arguments)},lastIndexOf:function(t){return ct.apply(jt(this),arguments)},map:function(t){return St(jt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(jt(this),arguments)},reduceRight:function(t){return st.apply(jt(this),arguments)},reverse:function(){for(var t,n=jt(this).length,r=Math.floor(n/2),e=0;e<r;)t=this[e],this[e++]=this[--n],this[n]=t;return this},some:function(t){return Q(jt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return lt.call(jt(this),t)},subarray:function(t,n){var r=jt(this),e=r.length,o=m(t,e);return new(k(r,r[mt]))(r.buffer,r.byteOffset+o*r.BYTES_PER_ELEMENT,y((void 0===n?e:m(n,e))-o))}},Ct=function(t,n){return At(this,ht.call(jt(this),t,n))},Rt=function(t){jt(this);var n=Et(arguments[1],1),r=this.length,e=x(t),o=y(e.length),i=0;if(o+n>r)throw z("Wrong length!");for(;i<o;)this[n+i]=e[i++]},Dt={entries:function(){return ut.call(jt(this))},keys:function(){return it.call(jt(this))},values:function(){return ot.call(jt(this))}},Vt=function(t,n){return S(t)&&t[wt]&&"symbol"!=e(n)&&n in t&&String(+n)==String(n)},Wt=function(t,n){return Vt(t,n=g(n,!0))?h(2,t[n]):q(t,n)},Bt=function(t,n,r){return!(Vt(t,n=g(n,!0))&&S(r)&&w(r,"value"))||w(r,"get")||w(r,"set")||r.configurable||w(r,"writable")&&!r.writable||w(r,"enumerable")&&!r.enumerable?U(t,n,r):(t[n]=r.value,t)};gt||(B.f=Wt,W.f=Bt),c(c.S+c.F*!gt,"Object",{getOwnPropertyDescriptor:Wt,defineProperty:Bt}),u((function(){pt.call({})}))&&(pt=dt=function(){return ft.call(this)});var Ut=d({},Nt);d(Ut,Dt),p(Ut,vt,Dt.values),d(Ut,{slice:Ct,set:Rt,constructor:function(){},toString:pt,toLocaleString:Ft}),Tt(Ut,"buffer","b"),Tt(Ut,"byteOffset","o"),Tt(Ut,"byteLength","l"),Tt(Ut,"length","e"),U(Ut,yt,{get:function(){return this[wt]}}),t.exports=function(t,n,r,e){var s=t+((e=!!e)?"Clamped":"")+"Array",f="get"+t,h="set"+t,d=i[s],v=d||{},m=d&&j(d),g=!d||!a.ABV,w={},x=d&&d.prototype,O=function(t,r){U(t,r,{get:function(){return function(t,r){var e=t._d;return e.v[f](r*n+e.o,xt)}(this,r)},set:function(t){return function(t,r,o){var i=t._d;e&&(o=(o=Math.round(o))<0?0:o>255?255:255&o),i.v[h](r*n+i.o,o,xt)}(this,r,t)},enumerable:!0})};g?(d=r((function(t,r,e,o){l(t,d,s,"_d");var i,u,c,a,f=0,h=0;if(S(r)){if(!(r instanceof J||"ArrayBuffer"==(a=_(r))||"SharedArrayBuffer"==a))return wt in r?It(d,r):Mt.call(d,r);i=r,h=Et(e,n);var v=r.byteLength;if(void 0===o){if(v%n)throw z("Wrong length!");if((u=v-h)<0)throw z("Wrong length!")}else if((u=y(o)*n)+h>v)throw z("Wrong length!");c=u/n}else c=b(r),i=new J(u=c*n);for(p(t,"_d",{b:i,o:h,l:u,e:c,v:new $(i)});f<c;)O(t,f++)})),x=d.prototype=E(Ut),p(x,"constructor",d)):u((function(){d(1)}))&&u((function(){new d(-1)}))&&C((function(t){new d,new d(null),new d(1.5),new d(t)}),!0)||(d=r((function(t,r,e,o){var i;return l(t,d,s),S(r)?r instanceof J||"ArrayBuffer"==(i=_(r))||"SharedArrayBuffer"==i?void 0!==o?new v(r,Et(e,n),o):void 0!==e?new v(r,Et(e,n)):new v(r):wt in r?It(d,r):Mt.call(d,r):new v(b(r))})),K(m!==Function.prototype?P(v).concat(P(m)):P(v),(function(t){t in d||p(d,t,v[t])})),d.prototype=x,o||(x.constructor=d));var A=x[vt],I=!!A&&("values"==A.name||null==A.name),T=Dt.values;p(d,bt,!0),p(x,wt,s),p(x,_t,!0),p(x,mt,d),(e?new d(1)[yt]==s:yt in x)||U(x,yt,{get:function(){return s}}),w[s]=d,c(c.G+c.W+c.F*(d!=v),w),c(c.S,s,{BYTES_PER_ELEMENT:n}),c(c.S+c.F*u((function(){v.of.call(d,1)})),s,{from:Mt,of:Lt}),"BYTES_PER_ELEMENT"in x||p(x,"BYTES_PER_ELEMENT",n),c(c.P,s,Nt),R(s),c(c.P+c.F*Ot,s,{set:Rt}),c(c.P+c.F*!I,s,Dt),o||x.toString==pt||(x.toString=pt),c(c.P+c.F*u((function(){new d(1).slice()})),s,{slice:Ct}),c(c.P+c.F*(u((function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()}))||!u((function(){x.toLocaleString.call([1,2])}))),s,{toLocaleString:Ft}),N[s]=I?A:T,o||I||p(x,vt,T)}}else t.exports=function(){}},function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(1),o=r(9);function i(t,n){return function(r){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new u(t,n))}}var u=function(){function t(t,n){this.project=t,this.thisArg=n}return t.prototype.call=function(t,n){return n.subscribe(new c(t,this.project,this.thisArg))},t}(),c=function(t){function n(n,r,e){var o=t.call(this,n)||this;return o.project=r,o.count=0,o.thisArg=e||o,o}return Object(e.e)(n,t),n.prototype._next=function(t){var n;try{n=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(n)},n}(o.a)},function(t,n,r){"use strict";function e(t){return"function"==typeof t}r.d(n,"a",(function(){return e}))},function(t,n,r){"use strict";function e(t){setTimeout((function(){throw t}),0)}r.d(n,"a",(function(){return e}))},function(t,n){var r=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},function(t,n){t.exports=!1},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){function e(t){return(e="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=r(40)("meta"),i=r(3),u=r(18),c=r(10).f,a=0,s=Object.isExtensible||function(){return!0},f=!r(6)((function(){return s(Object.preventExtensions({}))})),l=function(t){c(t,o,{value:{i:"O"+ ++a,w:{}}})},h=t.exports={KEY:o,NEED:!1,fastKey:function(t,n){if(!i(t))return"symbol"==e(t)?t:("string"==typeof t?"S":"P")+t;if(!u(t,o)){if(!s(t))return"F";if(!n)return"E";l(t)}return t[o].i},getWeak:function(t,n){if(!u(t,o)){if(!s(t))return!0;if(!n)return!1;l(t)}return t[o].w},onFreeze:function(t){return f&&h.NEED&&s(t)&&!u(t,o)&&l(t),t}}},function(t,n,r){"use strict";r.d(n,"a",(function(){return e}));var e="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){var e=r(7)("unscopables"),o=Array.prototype;null==o[e]&&r(16)(o,e,{}),t.exports=function(t){o[e][t]=!0}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(124),o=r(99);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(3);t.exports=function(t,n){if(!e(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},function(t,n,r){var e=r(124),o=r(99).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){"use strict";r.d(n,"a",(function(){return u}));var e=r(55),o=r(85),i=r(5);function u(t,n,r,u,c){if(void 0===c&&(c=new e.a(t,r,u)),!c.closed)return n instanceof i.a?n.subscribe(c):Object(o.a)(n)(c)}},function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(1),o=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(e.e)(n,t),n.prototype.notifyNext=function(t,n,r,e,o){this.destination.next(n)},n.prototype.notifyError=function(t,n){this.destination.error(t)},n.prototype.notifyComplete=function(t){this.destination.complete()},n}(r(9).a)},function(t,n,r){var e=r(36),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):i(t,n)}},function(t,n){t.exports={}},function(t,n,r){var e=r(4),o=r(165),i=r(99),u=r(98)("IE_PROTO"),c=function(){},a=function(){var t,n=r(88)("iframe"),e=i.length;for(n.style.display="none",r(125).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;e--;)delete a.prototype[i[e]];return a()};t.exports=Object.create||function(t,n){var r;return null!==t?(c.prototype=e(t),r=new c,c.prototype=null,r[u]=t):r=a(),void 0===n?r:o(r,n)}},function(t,n,r){var e=r(10).f,o=r(18),i=r(7)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){"use strict";var e=r(2),o=r(10),i=r(8),u=r(7)("species");t.exports=function(t){var n=e[t];i&&n&&!n[u]&&o.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,r){var e=r(17);t.exports=function(t,n,r){for(var o in n)e(t,o,n[o],r);return t}},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(1),o=function(t){function n(n,r,e){var o=t.call(this)||this;return o.parent=n,o.outerValue=r,o.outerIndex=e,o.index=0,o}return Object(e.e)(n,t),n.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},n.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},n.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},n}(r(9).a)},function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(5),o=r(13);function i(t,n){return new e.a((function(r){var e=new o.a,i=0;return e.add(n.schedule((function(){i!==t.length?(r.next(t[i++]),r.closed||e.add(this.schedule())):r.complete()}))),e}))}},function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(14),o=r(33),i={closed:!0,next:function(t){},error:function(t){if(e.a.useDeprecatedSynchronousErrorHandling)throw t;Object(o.a)(t)},complete:function(){}}},function(t,n,r){var e=r(21),o=r(90),i=r(12),u=r(11),c=r(121);t.exports=function(t,n){var r=1==t,a=2==t,s=3==t,f=4==t,l=6==t,h=5==t||l,p=n||c;return function(n,c,d){for(var v,y,b=i(n),m=o(b),g=e(c,d,3),w=u(m.length),_=0,S=r?p(n,w):a?p(n,0):void 0;w>_;_++)if((h||_ in m)&&(y=g(v=m[_],_,b),t))if(r)S[_]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return _;case 2:S.push(v)}else if(f)return!1;return l?-1:s||f?f:S}}},function(t,n,r){var e=r(42),o=r(7)("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?r:i?e(n):"Object"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,r){var e=r(0),o=r(28),i=r(6),u=r(103),c="["+u+"]",a=RegExp("^"+c+c+"*"),s=RegExp(c+c+"*$"),f=function(t,n,r){var o={},c=i((function(){return!!u[t]()||"
"!="
"[t]()})),a=o[t]=c?n(l):u[t];r&&(o[r]=a),e(e.P+e.F*c,"String",o)},l=f.trim=function(t,n){return t=String(o(t)),1&n&&(t=t.replace(a,"")),2&n&&(t=t.replace(s,"")),t};t.exports=f},function(t,n,r){var e=r(4),o=r(22),i=r(7)("species");t.exports=function(t,n){var r,u=e(t).constructor;return void 0===u||null==(r=e(u)[i])?n:o(r)}},function(t,n,r){"use strict";r.d(n,"a",(function(){return e}));var e="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},function(t,n,r){"use strict";r.d(n,"a",(function(){return u}));var e=r(113),o=r(114),i=r(56);function u(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t[t.length-1];return Object(e.a)(r)?(t.pop(),Object(i.a)(t,r)):Object(o.a)(t)}},function(t,n,r){"use strict";r.d(n,"a",(function(){return s}));var e=r(1),o=r(46),i=r(47),u=r(55),c=r(31),a=r(79);function s(t,n,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof n?function(e){return e.pipe(s((function(r,e){return Object(a.a)(t(r,e)).pipe(Object(c.a)((function(t,o){return n(r,t,e,o)})))}),r))}:("number"==typeof n&&(r=n),function(n){return n.lift(new f(t,r))})}var f=function(){function t(t,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=n}return t.prototype.call=function(t,n){return n.subscribe(new l(t,this.project,this.concurrent))},t}(),l=function(t){function n(n,r,e){void 0===e&&(e=Number.POSITIVE_INFINITY);var o=t.call(this,n)||this;return o.project=r,o.concurrent=e,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return Object(e.e)(n,t),n.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},n.prototype._tryNext=function(t){var n,r=this.index++;try{n=this.project(t,r)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(n,t,r)},n.prototype._innerSub=function(t,n,r){var e=new u.a(this,n,r),i=this.destination;i.add(e);var c=Object(o.a)(this,t,void 0,void 0,e);c!==e&&i.add(c)},n.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},n.prototype.notifyNext=function(t,n,r,e,o){this.destination.next(n)},n.prototype.notifyComplete=function(t){var n=this.buffer;this.remove(t),this.active--,n.length>0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},n}(i.a)},,function(t,n,r){"use strict";function e(){var t=document.documentElement,n=document.body,r="scrollHeight";return t[r]||n[r]}function o(){return window.pageYOffset||document.body.scrollTop}r.d(n,"b",(function(){return e})),r.d(n,"c",(function(){return o})),r.d(n,"d",(function(){return u})),r.d(n,"a",(function(){return c}));var i=function(t,n){return(t.matches||t.msMatchesSelector).call(t,n)};function u(t,n){for(var r=t;null!=r;){if(i(r,n))return r;r=r.parentNode instanceof Element?r.parentNode:null}return null}function c(){var t,n,r=new Promise((function(r,e){return t=r,n=e}));return r.resolve=t,r.reject=n,r}},function(t,n,r){"use strict";r.d(n,"a",(function(){return e}));var e=Array.isArray||function(t){return t&&"number"==typeof t.length}},function(t,n,r){var e=r(34),o=r(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:e.version,mode:r(35)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(7)("iterator"),o=!1;try{var i=[7][e]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i=[7],u=i[e]();u.next=function(){return{done:r=!0}},i[e]=function(){return u},t(i)}catch(t){}return r}},function(t,n,r){var e=r(21),o=r(122),i=r(92),u=r(4),c=r(11),a=r(94),s={},f={};(n=t.exports=function(t,n,r,l,h){var p,d,v,y,b=h?function(){return t}:a(t),m=e(r,l,n?2:1),g=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(i(b)){for(p=c(t.length);p>g;g++)if((y=n?m(u(d=t[g])[0],d[1]):m(t[g]))===s||y===f)return y}else for(v=b.call(t);!(d=v.next()).done;)if((y=o(v,m,d.value,n))===s||y===f)return y}).BREAK=s,n.RETURN=f},function(t,n,r){"use strict";var e=r(2),o=r(0),i=r(17),u=r(53),c=r(37),a=r(71),s=r(54),f=r(3),l=r(6),h=r(70),p=r(51),d=r(100);t.exports=function(t,n,r,v,y,b){var m=e[t],g=m,w=y?"set":"add",_=g&&g.prototype,S={},x=function(t){var n=_[t];i(_,t,"delete"==t||"has"==t?function(t){return!(b&&!f(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return b&&!f(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,r){return n.call(this,0===t?0:t,r),this})};if("function"==typeof g&&(b||_.forEach&&!l((function(){(new g).entries().next()})))){var O=new g,E=O[w](b?{}:-0,1)!=O,j=l((function(){O.has(1)})),P=h((function(t){new g(t)})),A=!b&&l((function(){for(var t=new g,n=5;n--;)t[w](n,n);return!t.has(-0)}));P||((g=n((function(n,r){s(n,g,t);var e=d(new m,n,g);return null!=r&&a(r,y,e[w],e),e}))).prototype=_,_.constructor=g),(j||A)&&(x("delete"),x("has"),y&&x("get")),(A||E)&&x(w),b&&_.clear&&delete _.clear}else g=v.getConstructor(n,t,y,w),u(g.prototype,r),c.NEED=!0;return p(g,t),S[t]=g,o(o.G+o.W+o.F*(g!=m),S),b||v.setStrong(g,t,y),g}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){"use strict";t.exports=r(35)||!r(6)((function(){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete r(2)[t]}))},function(t,n,r){var e=r(2).navigator;t.exports=e&&e.userAgent||""},function(t,n,r){"use strict";var e=r(4);t.exports=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,r){"use strict";function e(t){return(e="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=r(59),i=RegExp.prototype.exec;t.exports=function(t,n){var r=t.exec;if("function"==typeof r){var u=r.call(t,n);if("object"!==e(u))throw new TypeError("RegExp exec method returned something other than an Object or null");return u}if("RegExp"!==o(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,n)}},function(t,n,r){"use strict";r(243);var e=r(17),o=r(16),i=r(6),u=r(28),c=r(7),a=r(108),s=c("species"),f=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l=function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var r="ab".split(t);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();t.exports=function(t,n,r){var h=c(t),p=!i((function(){var n={};return n[h]=function(){return 7},7!=""[t](n)})),d=p?!i((function(){var n=!1,r=/a/;return r.exec=function(){return n=!0,null},"split"===t&&(r.constructor={},r.constructor[s]=function(){return r}),r[h](""),!n})):void 0;if(!p||!d||"replace"===t&&!f||"split"===t&&!l){var v=/./[h],y=r(u,h,""[t],(function(t,n,r,e,o){return n.exec===a?p&&!o?{done:!0,value:v.call(n,r,e)}:{done:!0,value:t.call(r,n,e)}:{done:!1}})),b=y[0],m=y[1];e(String.prototype,t,b),o(RegExp.prototype,h,2==n?function(t,n){return m.call(t,this,n)}:function(t){return m.call(t,this)})}}},function(t,n,r){"use strict";r.d(n,"a",(function(){return p}));var e=r(5),o=r(85),i=r(13),u=r(26);var c=r(56),a=r(38);var s=r(84),f=r(82);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,n){if(null!=t){if(function(t){return t&&"function"==typeof t[u.a]}(t))return function(t,n){return new e.a((function(r){var e=new i.a;return e.add(n.schedule((function(){var o=t[u.a]();e.add(o.subscribe({next:function(t){e.add(n.schedule((function(){return r.next(t)})))},error:function(t){e.add(n.schedule((function(){return r.error(t)})))},complete:function(){e.add(n.schedule((function(){return r.complete()})))}}))}))),e}))}(t,n);if(Object(s.a)(t))return function(t,n){return new e.a((function(r){var e=new i.a;return e.add(n.schedule((function(){return t.then((function(t){e.add(n.schedule((function(){r.next(t),e.add(n.schedule((function(){return r.complete()})))})))}),(function(t){e.add(n.schedule((function(){return r.error(t)})))}))}))),e}))}(t,n);if(Object(f.a)(t))return Object(c.a)(t,n);if(function(t){return t&&"function"==typeof t[a.a]}(t)||"string"==typeof t)return function(t,n){if(!t)throw new Error("Iterable cannot be null");return new e.a((function(r){var e,o=new i.a;return o.add((function(){e&&"function"==typeof e.return&&e.return()})),o.add(n.schedule((function(){e=t[a.a](),o.add(n.schedule((function(){if(!r.closed){var t,n;try{var o=e.next();t=o.value,n=o.done}catch(t){return void r.error(t)}n?r.complete():(r.next(t),this.schedule())}})))}))),o}))}(t,n);if(Symbol&&Symbol.asyncIterator&&"function"==typeof t[Symbol.asyncIterator])return function(t,n){if(!t)throw new Error("Iterable cannot be null");return new e.a((function(r){var e=new i.a;return e.add(n.schedule((function(){var o=t[Symbol.asyncIterator]();e.add(n.schedule((function(){var t=this;o.next().then((function(n){n.done?r.complete():(r.next(n.value),t.schedule())}))})))}))),e}))}(t,n)}throw new TypeError((null!==t&&l(t)||t)+" is not observable")}function p(t,n){return n?h(t,n):t instanceof e.a?t:new e.a(Object(o.a)(t))}},function(t,n,r){"use strict";function e(t){return(e="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){return null!==t&&"object"===e(t)}r.d(n,"a",(function(){return o}))},function(t,n,r){"use strict";function e(t){return t}r.d(n,"a",(function(){return e}))},function(t,n,r){"use strict";r.d(n,"a",(function(){return e}));var e=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},function(t,n,r){"use strict";r.d(n,"a",(function(){return e}));var e=function(t){return function(n){for(var r=0,e=t.length;r<e&&!n.closed;r++)n.next(t[r]);n.complete()}}},function(t,n,r){"use strict";function e(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}r.d(n,"a",(function(){return e}))},function(t,n,r){"use strict";r.d(n,"a",(function(){return h}));var e=r(83),o=r(33),i=r(38),u=r(26),c=r(82),a=r(84),s=r(80),f=r(1);function l(t){return function(n){(function(t,n){var r,e,o,i;return Object(f.d)(this,void 0,void 0,(function(){var u,c;return Object(f.f)(this,(function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),r=Object(f.b)(t),a.label=1;case 1:return[4,r.next()];case 2:if((e=a.sent()).done)return[3,4];u=e.value,n.next(u),a.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=a.sent(),o={error:c},[3,11];case 6:return a.trys.push([6,,9,10]),e&&!e.done&&(i=r.return)?[4,i.call(r)]:[3,8];case 7:a.sent(),a.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return n.complete(),[2]}}))}))})(t,n).catch((function(t){return n.error(t)}))}}var h=function(t){if(t&&"function"==typeof t[u.a])return f=t,function(t){var n=f[u.a]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)};if(Object(c.a)(t))return Object(e.a)(t);if(Object(a.a)(t))return r=t,function(t){return r.then((function(n){t.closed||(t.next(n),t.complete())}),(function(n){return t.error(n)})).then(null,o.a),t};if(t&&"function"==typeof t[i.a])return n=t,function(t){for(var r=n[i.a]();;){var e=r.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof r.return&&t.add((function(){r.return&&r.return()})),t};if(Symbol&&Symbol.asyncIterator&&t&&"function"==typeof t[Symbol.asyncIterator])return l(t);var n,r,f,h=Object(s.a)(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+h+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},function(t,n,r){"use strict";r.d(n,"c",(function(){return y})),r.d(n,"b",(function(){return b})),r.d(n,"a",(function(){return m}));var e=r(149),o=r(148),i=r(150),u=r(151),c=r(31),a=r(152),s=r(297);function f(t){return v(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||p(t)||h()}function l(t,n){return v(t)||function(t,n){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],e=!0,o=!1,i=void 0;try{for(var u,c=t[Symbol.iterator]();!(e=(u=c.next()).done)&&(r.push(u.value),!n||r.length!==n);e=!0);}catch(t){o=!0,i=t}finally{try{e||null==c.return||c.return()}finally{if(o)throw i}}return r}(t,n)||p(t,n)||h()}function h(){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 p(t,n){if(t){if("string"==typeof t)return d(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(t,n):void 0}}function d(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}function v(t){if(Array.isArray(t))return t}function y(t){return function(n){return t.pipe(Object(o.a)((function(t){return t?n:e.a})))}}function b(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),e=1;e<n;e++)r[e-1]=arguments[e];return function(n){return 0===r.length?n.pipe(Object(i.a)(t),Object(u.a)((function(t){return l(t,2)[1]})),Object(c.a)((function(t){return l(t,1)[0]}))):n.pipe(i.a.apply(void 0,[t].concat(r)),Object(u.a)((function(t){return f(t).slice(1).every((function(t){return t}))})),Object(c.a)((function(t){return l(t,1)[0]})))}}function m(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(n){var r=[];return n.pipe(Object(a.a)((function(t){return r.push(t)})),Object(s.a)(t),Object(c.a)((function(){return r})),Object(a.a)((function(){return r=[]})))}}},function(t,n,r){"use strict";r.d(n,"a",(function(){return y})),r.d(n,"b",(function(){return b})),r.d(n,"c",(function(){return m}));var e=r(5);function o(t){return new e.a((function(n){var r,e=t.now();return r=requestAnimationFrame((function o(){n.next(t.now()-e),n.closed||(r=requestAnimationFrame(o))})),function(){return cancelAnimationFrame(r)}}))}var i=o(Date),u=r(1),c=r(9);var a=function(){function t(t,n){this.predicate=t,this.inclusive=n}return t.prototype.call=function(t,n){return n.subscribe(new s(t,this.predicate,this.inclusive))},t}(),s=function(t){function n(n,r,e){var o=t.call(this,n)||this;return o.predicate=r,o.inclusive=e,o.index=0,o}return Object(u.e)(n,t),n.prototype._next=function(t){var n,r=this.destination;try{n=this.predicate(t,this.index++)}catch(t){return void r.error(t)}this.nextOrComplete(t,n)},n.prototype.nextOrComplete=function(t,n){var r=this.destination;Boolean(n)?r.next(t):(this.inclusive&&r.next(t),r.complete())},n}(c.a),f=r(118),l=r(64);var h=r(31);function p(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),r.push.apply(r,e)}return r}function d(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?p(Object(r),!0).forEach((function(n){v(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))}))}return t}function v(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function y(t,n){return e.a.create((function(r){var e=new AbortController,o=e.signal,i=null;return fetch(t,d(d({},n),{},{signal:o})).then((function(t){i=t,r.next(t),r.complete()})).catch((function(t){return r.error(t)})),function(){i||e.abort()}}))}function b(t){return e.a.create((function(n){var r=n.next.bind(n);return t.addListener(r),function(){return t.removeListener(r)}}))}function m(t,n,r,e,u){return(void 0===p&&(p=Date),p===Date?i:o(p)).pipe((c=function(t){return t<e},void 0===s&&(s=!1),function(t){return t.lift(new a(c,s))}),function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return function(n){return Object(f.a)(n,l.a.apply(void 0,t))}}(e),Object(h.a)((function(o){return t(o,n,r,e,u)})));var c,s,p}},function(t,n,r){var e=r(3),o=r(2).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){"use strict";var e=r(12),o=r(48),i=r(11);t.exports=function(t){for(var n=e(this),r=i(n.length),u=arguments.length,c=o(u>1?arguments[1]:void 0,r),a=u>2?arguments[2]:void 0,s=void 0===a?r:o(a,r);s>c;)n[c++]=t;return n}},function(t,n,r){var e=r(42);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n,r){var e=r(42);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(49),o=r(7)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||i[o]===t)}},function(t,n,r){"use strict";var e=r(10),o=r(39);t.exports=function(t,n,r){n in t?e.f(t,n,o(0,r)):t[n]=r}},function(t,n,r){var e=r(59),o=r(7)("iterator"),i=r(49);t.exports=r(34).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[e(t)]}},function(t,n,r){var e=r(23),o=r(11),i=r(48);t.exports=function(t){return function(n,r,u){var c,a=e(n),s=o(a.length),f=i(u,s);if(t&&r!=r){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===r)return t||f||0;return!t&&-1}}},function(t,n,r){"use strict";var e=r(41),o=r(123),i=r(49),u=r(23);t.exports=r(97)(Array,"Array",(function(t,n){this._t=u(t),this._i=0,this._k=n}),(function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])}),"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(t,n,r){"use strict";var e=r(35),o=r(0),i=r(17),u=r(16),c=r(49),a=r(164),s=r(51),f=r(29),l=r(7)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,n,r,d,v,y,b){a(r,n,d);var m,g,w,_=function(t){if(!h&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},S=n+" Iterator",x="values"==v,O=!1,E=t.prototype,j=E[l]||E["@@iterator"]||v&&E[v],P=j||_(v),A=v?x?_("entries"):P:void 0,I="Array"==n&&E.entries||j;if(I&&(w=f(I.call(new t)))!==Object.prototype&&w.next&&(s(w,S,!0),e||"function"==typeof w[l]||u(w,l,p)),x&&j&&"values"!==j.name&&(O=!0,P=function(){return j.call(this)}),e&&!b||!h&&!O&&E[l]||u(E,l,P),c[n]=P,c[S]=p,v)if(m={values:x?P:_("values"),keys:y?P:_("keys"),entries:A},b)for(g in m)g in E||i(E,g,m[g]);else o(o.P+o.F*(h||O),n,m);return m}},function(t,n,r){var e=r(69)("keys"),o=r(40);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,r){var e=r(3),o=r(127).set;t.exports=function(t,n,r){var i,u=n.constructor;return u!==r&&"function"==typeof u&&(i=u.prototype)!==r.prototype&&e(i)&&o&&o(t,i),t}},function(t,n){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,n){var r=Math.expm1;t.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||-2e-17!=r(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:r},function(t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,n,r){var e,o,i,u=r(21),c=r(135),a=r(125),s=r(88),f=r(2),l=f.process,h=f.setImmediate,p=f.clearImmediate,d=f.MessageChannel,v=f.Dispatch,y=0,b={},m=function(){var t=+this;if(b.hasOwnProperty(t)){var n=b[t];delete b[t],n()}},g=function(t){m.call(t.data)};h&&p||(h=function(t){for(var n=[],r=1;arguments.length>r;)n.push(arguments[r++]);return b[++y]=function(){c("function"==typeof t?t:Function(t),n)},e(y),y},p=function(t){delete b[t]},"process"==r(42)(l)?e=function(t){l.nextTick(u(m,t,1))}:v&&v.now?e=function(t){v.now(u(m,t,1))}:d?(i=(o=new d).port2,o.port1.onmessage=g,e=u(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(e=function(t){f.postMessage(t+"","*")},f.addEventListener("message",g,!1)):e="onreadystatechange"in s("script")?function(t){a.appendChild(s("script")).onreadystatechange=function(){a.removeChild(this),m.call(t)}}:function(t){setTimeout(u(m,t,1),0)}),t.exports={set:h,clear:p}},function(t,n,r){var e=r(3),o=r(42),i=r(7)("match");t.exports=function(t){var n;return e(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},function(t,n,r){"use strict";var e=r(107)(!0);t.exports=function(t,n,r){return n+(r?e(t,n).length:1)}},function(t,n,r){var e=r(36),o=r(28);t.exports=function(t){return function(n,r){var i,u,c=String(o(n)),a=e(r),s=c.length;return a<0||a>=s?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===s||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},function(t,n,r){"use strict";var e,o,i=r(76),u=RegExp.prototype.exec,c=String.prototype.replace,a=u,s=(e=/a/,o=/b*/g,u.call(e,"a"),u.call(o,"a"),0!==e.lastIndex||0!==o.lastIndex),f=void 0!==/()??/.exec("")[1];(s||f)&&(a=function(t){var n,r,e,o,a=this;return f&&(r=new RegExp("^"+a.source+"$(?!\\s)",i.call(a))),s&&(n=a.lastIndex),e=u.call(a,t),s&&e&&(a.lastIndex=a.global?e.index+e[0].length:n),f&&e&&e.length>1&&c.call(e[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(e[o]=void 0)})),e}),t.exports=a},function(t,n,r){var e=r(105),o=r(28);t.exports=function(t,n,r){if(e(n))throw TypeError("String#"+r+" doesn't accept regex!");return String(o(t))}},function(t,n,r){var e=r(7)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(r){try{return n[e]=!1,!"/./"[t](n)}catch(t){}}return!0}},function(t,n,r){for(var e,o=r(2),i=r(16),u=r(40),c=u("typed_array"),a=u("view"),s=!(!o.ArrayBuffer||!o.DataView),f=s,l=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(e=o[h[l++]])?(i(e.prototype,c,!0),i(e.prototype,a,!0)):f=!1;t.exports={ABV:s,CONSTR:f,TYPED:c,VIEW:a}},,function(t,n,r){"use strict";function e(t){return t&&"function"==typeof t.schedule}r.d(n,"a",(function(){return e}))},function(t,n,r){"use strict";r.d(n,"a",(function(){return u}));var e=r(5),o=r(83),i=r(56);function u(t,n){return n?Object(i.a)(t,n):new e.a(Object(o.a)(t))}},function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(147),o=new(r(146).a)(e.a)},function(t,n,r){"use strict";r.d(n,"b",(function(){return o})),r.d(n,"a",(function(){return i}));var e=r(5);function o(t){return e.a.create((function(n){var r=new window.ResizeObserver((function(t){return t.forEach((function(t){return n.next(t)}))}));return r.observe(t),function(){r.unobserve(t)}}))}function i(t,n){return e.a.create((function(r){var e=new MutationObserver((function(t){return t.forEach((function(t){return r.next(t)}))}));return e.observe(t,n),function(){e.disconnect()}}))}},function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(65),o=r(81);function i(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(e.a)(o.a,t)}},function(t,n,r){"use strict";r.d(n,"a",(function(){return u}));var e=r(64),o=r(117);function i(){return Object(o.a)(1)}function u(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return i()(e.a.apply(void 0,t))}},function(t,n,r){t.exports=!r(8)&&!r(6)((function(){return 7!=Object.defineProperty(r(88)("div"),"a",{get:function(){return 7}}).a}))},function(t,n,r){"use strict";var e=r(12),o=r(48),i=r(11);t.exports=[].copyWithin||function(t,n){var r=e(this),u=i(r.length),c=o(t,u),a=o(n,u),s=arguments.length>2?arguments[2]:void 0,f=Math.min((void 0===s?u:o(s,u))-a,u-c),l=1;for(a<c&&c<a+f&&(l=-1,a+=f-1,c+=f-1);f-- >0;)a in r?r[c]=r[a]:delete r[c],c+=l,a+=l;return r}},function(t,n,r){var e=r(158);t.exports=function(t,n){return new(e(t))(n)}},function(t,n,r){var e=r(4);t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,r){var e=r(18),o=r(23),i=r(95)(!1),u=r(98)("IE_PROTO");t.exports=function(t,n){var r,c=o(t),a=0,s=[];for(r in c)r!=u&&e(c,r)&&s.push(r);for(;n.length>a;)e(c,r=n[a++])&&(~i(s,r)||s.push(r));return s}},function(t,n,r){var e=r(2).document;t.exports=e&&e.documentElement},function(t,n,r){"use strict";var e=r(10).f,o=r(50),i=r(53),u=r(21),c=r(54),a=r(71),s=r(97),f=r(123),l=r(52),h=r(8),p=r(37).fastKey,d=r(44),v=h?"_s":"size",y=function(t,n){var r,e=p(n);if("F"!==e)return t._i[e];for(r=t._f;r;r=r.n)if(r.k==n)return r};t.exports={getConstructor:function(t,n,r,s){var f=t((function(t,e){c(t,f,n,"_i"),t._t=n,t._i=o(null),t._f=void 0,t._l=void 0,t[v]=0,null!=e&&a(e,r,t[s],t)}));return i(f.prototype,{clear:function(){for(var t=d(this,n),r=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void 0),delete r[e.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var r=d(this,n),e=y(r,t);if(e){var o=e.n,i=e.p;delete r._i[e.i],e.r=!0,i&&(i.n=o),o&&(o.p=i),r._f==e&&(r._f=o),r._l==e&&(r._l=i),r[v]--}return!!e},forEach:function(t){d(this,n);for(var r,e=u(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.n:this._f;)for(e(r.v,r.k,this);r&&r.r;)r=r.p},has:function(t){return!!y(d(this,n),t)}}),h&&e(f.prototype,"size",{get:function(){return d(this,n)[v]}}),f},def:function(t,n,r){var e,o,i=y(t,n);return i?i.v=r:(t._l=i={i:o=p(n,!0),k:n,v:r,p:e=t._l,n:void 0,r:!1},t._f||(t._f=i),e&&(e.n=i),t[v]++,"F"!==o&&(t._i[o]=i)),t},getEntry:y,setStrong:function(t,n,r){s(t,n,(function(t,r){this._t=d(t,n),this._k=r,this._l=void 0}),(function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?f(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,f(1))}),r?"entries":"values",!r,!0),l(n)}}},function(t,n,r){var e=r(3),o=r(4),i=function(t,n){if(o(t),!e(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,e){try{(e=r(21)(Function.call,r(19).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,r){return i(t,r),n?t.__proto__=r:e(t,r),t}}({},!1):void 0),check:i}},function(t,n){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,n,r){var e=r(3),o=Math.floor;t.exports=function(t){return!e(t)&&isFinite(t)&&o(t)===t}},function(t,n,r){"use strict";var e=r(8),o=r(43),i=r(73),u=r(60),c=r(12),a=r(90),s=Object.assign;t.exports=!s||r(6)((function(){var t={},n={},r=Symbol(),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach((function(t){n[t]=t})),7!=s({},t)[r]||Object.keys(s({},n)).join("")!=e}))?function(t,n){for(var r=c(t),s=arguments.length,f=1,l=i.f,h=u.f;s>f;)for(var p,d=a(arguments[f++]),v=l?o(d).concat(l(d)):o(d),y=v.length,b=0;y>b;)p=v[b++],e&&!h.call(d,p)||(r[p]=d[p]);return r}:s},function(t,n,r){var e=r(8),o=r(43),i=r(23),u=r(60).f;t.exports=function(t){return function(n){for(var r,c=i(n),a=o(c),s=a.length,f=0,l=[];s>f;)r=a[f++],e&&!u.call(c,r)||l.push(t?[r,c[r]]:c[r]);return l}}},function(t,n,r){var e=r(45),o=r(73),i=r(4),u=r(2).Reflect;t.exports=u&&u.ownKeys||function(t){var n=e.f(i(t)),r=o.f;return r?n.concat(r(t)):n}},function(t,n,r){function e(t){return(e="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=r(23),i=r(45).f,u={}.toString,c="object"==("undefined"==typeof window?"undefined":e(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"[object Window]"==u.call(t)?function(t){try{return i(t)}catch(t){return c.slice()}}(t):i(o(t))}},function(t,n){t.exports=Object.is||function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}},function(t,n){t.exports=function(t,n,r){var e=void 0===r;switch(n.length){case 0:return e?t():t.call(r);case 1:return e?t(n[0]):t.call(r,n[0]);case 2:return e?t(n[0],n[1]):t.call(r,n[0],n[1]);case 3:return e?t(n[0],n[1],n[2]):t.call(r,n[0],n[1],n[2]);case 4:return e?t(n[0],n[1],n[2],n[3]):t.call(r,n[0],n[1],n[2],n[3])}return t.apply(r,n)}},function(t,n,r){"use strict";var e=r(22);function o(t){var n,r;this.promise=new t((function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e})),this.resolve=e(n),this.reject=e(r)}t.exports.f=function(t){return new o(t)}},function(t,n,r){var e=r(4),o=r(3),i=r(136);t.exports=function(t,n){if(e(t),o(n)&&n.constructor===t)return n;var r=i.f(t);return(0,r.resolve)(n),r.promise}},function(t,n,r){r(8)&&"g"!=/./g.flags&&r(10).f(RegExp.prototype,"flags",{configurable:!0,get:r(76)})},function(t,n,r){n.f=r(7)},function(t,n,r){var e=r(2),o=r(34),i=r(35),u=r(139),c=r(10).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:e.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n,r){var e=r(11),o=r(142),i=r(28);t.exports=function(t,n,r,u){var c=String(i(t)),a=c.length,s=void 0===r?" ":String(r),f=e(n);if(f<=a||""==s)return c;var l=f-a,h=o.call(s,Math.ceil(l/s.length));return h.length>l&&(h=h.slice(0,l)),u?h+c:c+h}},function(t,n,r){"use strict";var e=r(36),o=r(28);t.exports=function(t){var n=String(o(this)),r="",i=e(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(n+=n))1&i&&(r+=n);return r}},function(t,n,r){"use strict";var e=r(2),o=r(8),i=r(35),u=r(111),c=r(16),a=r(53),s=r(6),f=r(54),l=r(36),h=r(11),p=r(144),d=r(45).f,v=r(10).f,y=r(89),b=r(51),m=e.ArrayBuffer,g=e.DataView,w=e.Math,_=e.RangeError,S=e.Infinity,x=m,O=w.abs,E=w.pow,j=w.floor,P=w.log,A=w.LN2,I=o?"_b":"buffer",T=o?"_l":"byteLength",M=o?"_o":"byteOffset";function L(t,n,r){var e,o,i,u=new Array(r),c=8*r-n-1,a=(1<<c)-1,s=a>>1,f=23===n?E(2,-24)-E(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for((t=O(t))!=t||t===S?(o=t!=t?1:0,e=a):(e=j(P(t)/A),t*(i=E(2,-e))<1&&(e--,i*=2),(t+=e+s>=1?f/i:f*E(2,1-s))*i>=2&&(e++,i/=2),e+s>=a?(o=0,e=a):e+s>=1?(o=(t*i-1)*E(2,n),e+=s):(o=t*E(2,s-1)*E(2,n),e=0));n>=8;u[l++]=255&o,o/=256,n-=8);for(e=e<<n|o,c+=n;c>0;u[l++]=255&e,e/=256,c-=8);return u[--l]|=128*h,u}function k(t,n,r){var e,o=8*r-n-1,i=(1<<o)-1,u=i>>1,c=o-7,a=r-1,s=t[a--],f=127&s;for(s>>=7;c>0;f=256*f+t[a],a--,c-=8);for(e=f&(1<<-c)-1,f>>=-c,c+=n;c>0;e=256*e+t[a],a--,c-=8);if(0===f)f=1-u;else{if(f===i)return e?NaN:s?-S:S;e+=E(2,n),f-=u}return(s?-1:1)*e*E(2,f-n)}function F(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function N(t){return[255&t]}function C(t){return[255&t,t>>8&255]}function R(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function D(t){return L(t,52,8)}function V(t){return L(t,23,4)}function W(t,n,r){v(t.prototype,n,{get:function(){return this[r]}})}function B(t,n,r,e){var o=p(+r);if(o+n>t[T])throw _("Wrong index!");var i=t[I]._b,u=o+t[M],c=i.slice(u,u+n);return e?c:c.reverse()}function U(t,n,r,e,o,i){var u=p(+r);if(u+n>t[T])throw _("Wrong index!");for(var c=t[I]._b,a=u+t[M],s=e(+o),f=0;f<n;f++)c[a+f]=s[i?f:n-f-1]}if(u.ABV){if(!s((function(){m(1)}))||!s((function(){new m(-1)}))||s((function(){return new m,new m(1.5),new m(NaN),"ArrayBuffer"!=m.name}))){for(var q,z=(m=function(t){return f(this,m),new x(p(t))}).prototype=x.prototype,G=d(x),H=0;G.length>H;)(q=G[H++])in m||c(m,q,x[q]);i||(z.constructor=m)}var Y=new g(new m(2)),J=g.prototype.setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||a(g.prototype,{setInt8:function(t,n){J.call(this,t,n<<24>>24)},setUint8:function(t,n){J.call(this,t,n<<24>>24)}},!0)}else m=function(t){f(this,m,"ArrayBuffer");var n=p(t);this._b=y.call(new Array(n),0),this[T]=n},g=function(t,n,r){f(this,g,"DataView"),f(t,m,"DataView");var e=t[T],o=l(n);if(o<0||o>e)throw _("Wrong offset!");if(o+(r=void 0===r?e-o:h(r))>e)throw _("Wrong length!");this[I]=t,this[M]=o,this[T]=r},o&&(W(m,"byteLength","_l"),W(g,"buffer","_b"),W(g,"byteLength","_l"),W(g,"byteOffset","_o")),a(g.prototype,{getInt8:function(t){return B(this,1,t)[0]<<24>>24},getUint8:function(t){return B(this,1,t)[0]},getInt16:function(t){var n=B(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=B(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return F(B(this,4,t,arguments[1]))},getUint32:function(t){return F(B(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return k(B(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return k(B(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){U(this,1,t,N,n)},setUint8:function(t,n){U(this,1,t,N,n)},setInt16:function(t,n){U(this,2,t,C,n,arguments[2])},setUint16:function(t,n){U(this,2,t,C,n,arguments[2])},setInt32:function(t,n){U(this,4,t,R,n,arguments[2])},setUint32:function(t,n){U(this,4,t,R,n,arguments[2])},setFloat32:function(t,n){U(this,4,t,V,n,arguments[2])},setFloat64:function(t,n){U(this,8,t,D,n,arguments[2])}});b(m,"ArrayBuffer"),b(g,"DataView"),c(g.prototype,u.VIEW,!0),n.ArrayBuffer=m,n.DataView=g},function(t,n,r){var e=r(36),o=r(11);t.exports=function(t){if(void 0===t)return 0;var n=e(t),r=o(n);if(n!==r)throw RangeError("Wrong length!");return r}},function(t,n,r){"use strict";var e=r(53),o=r(37).getWeak,i=r(4),u=r(3),c=r(54),a=r(71),s=r(58),f=r(18),l=r(44),h=s(5),p=s(6),d=0,v=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},b=function(t,n){return h(t.a,(function(t){return t[0]===n}))};y.prototype={get:function(t){var n=b(this,t);if(n)return n[1]},has:function(t){return!!b(this,t)},set:function(t,n){var r=b(this,t);r?r[1]=n:this.a.push([t,n])},delete:function(t){var n=p(this.a,(function(n){return n[0]===t}));return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,n,r,i){var s=t((function(t,e){c(t,s,n,"_i"),t._t=n,t._i=d++,t._l=void 0,null!=e&&a(e,r,t[i],t)}));return e(s.prototype,{delete:function(t){if(!u(t))return!1;var r=o(t);return!0===r?v(l(this,n)).delete(t):r&&f(r,this._i)&&delete r[this._i]},has:function(t){if(!u(t))return!1;var r=o(t);return!0===r?v(l(this,n)).has(t):r&&f(r,this._i)}}),s},def:function(t,n,r){var e=o(i(n),!0);return!0===e?v(t).set(n,r):e[t._i]=r,t},ufstore:v}},function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(1),o=function(){function t(n,r){void 0===r&&(r=t.now),this.SchedulerAction=n,this.now=r}return t.prototype.schedule=function(t,n,r){return void 0===n&&(n=0),new this.SchedulerAction(this,t).schedule(r,n)},t.now=function(){return Date.now()},t}(),i=function(t){function n(r,e){void 0===e&&(e=o.now);var i=t.call(this,r,(function(){return n.delegate&&n.delegate!==i?n.delegate.now():e()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return Object(e.e)(n,t),n.prototype.schedule=function(r,e,o){return void 0===e&&(e=0),n.delegate&&n.delegate!==this?n.delegate.schedule(r,e,o):t.prototype.schedule.call(this,r,e,o)},n.prototype.flush=function(t){var n=this.actions;if(this.active)n.push(t);else{var r;this.active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this.active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}},n}(o)},function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(1),o=function(t){function n(n,r){var e=t.call(this,n,r)||this;return e.scheduler=n,e.work=r,e.pending=!1,e}return Object(e.e)(n,t),n.prototype.schedule=function(t,n){if(void 0===n&&(n=0),this.closed)return this;this.state=t;var r=this.id,e=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(e,r,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(e,this.id,n),this},n.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),setInterval(t.flush.bind(t,this),r)},n.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!==r&&this.delay===r&&!1===this.pending)return n;clearInterval(n)},n.prototype.execute=function(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},n.prototype._execute=function(t,n){var r=!1,e=void 0;try{this.work(t)}catch(t){r=!0,e=!!t&&t||new Error(t)}if(r)return this.unsubscribe(),e},n.prototype._unsubscribe=function(){var t=this.id,n=this.scheduler,r=n.actions,e=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==e&&r.splice(e,1),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null},n}(function(t){function n(n,r){return t.call(this)||this}return Object(e.e)(n,t),n.prototype.schedule=function(t,n){return void 0===n&&(n=0),this},n}(r(13).a))},function(t,n,r){"use strict";r.d(n,"a",(function(){return s}));var e=r(1),o=r(47),i=r(55),u=r(46),c=r(31),a=r(79);function s(t,n){return"function"==typeof n?function(r){return r.pipe(s((function(r,e){return Object(a.a)(t(r,e)).pipe(Object(c.a)((function(t,o){return n(r,t,e,o)})))})))}:function(n){return n.lift(new f(t))}}var f=function(){function t(t){this.project=t}return t.prototype.call=function(t,n){return n.subscribe(new l(t,this.project))},t}(),l=function(t){function n(n,r){var e=t.call(this,n)||this;return e.project=r,e.index=0,e}return Object(e.e)(n,t),n.prototype._next=function(t){var n,r=this.index++;try{n=this.project(t,r)}catch(t){return void this.destination.error(t)}this._innerSub(n,t,r)},n.prototype._innerSub=function(t,n,r){var e=this.innerSubscription;e&&e.unsubscribe();var o=new i.a(this,n,r),c=this.destination;c.add(o),this.innerSubscription=Object(u.a)(this,t,void 0,void 0,o),this.innerSubscription!==o&&c.add(this.innerSubscription)},n.prototype._complete=function(){var n=this.innerSubscription;n&&!n.closed||t.prototype._complete.call(this),this.unsubscribe()},n.prototype._unsubscribe=function(){this.innerSubscription=null},n.prototype.notifyComplete=function(n){this.destination.remove(n),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},n.prototype.notifyNext=function(t,n,r,e,o){this.destination.next(n)},n}(o.a)},function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(5),o=r(20),i=new e.a(o.a)},function(t,n,r){"use strict";r.d(n,"a",(function(){return u}));var e=r(1),o=r(47),i=r(46);function u(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return function(n){var r;"function"==typeof t[t.length-1]&&(r=t.pop());var e=t;return n.lift(new c(e,r))}}var c=function(){function t(t,n){this.observables=t,this.project=n}return t.prototype.call=function(t,n){return n.subscribe(new a(t,this.observables,this.project))},t}(),a=function(t){function n(n,r,e){var o=t.call(this,n)||this;o.observables=r,o.project=e,o.toRespond=[];var u=r.length;o.values=new Array(u);for(var c=0;c<u;c++)o.toRespond.push(c);for(c=0;c<u;c++){var a=r[c];o.add(Object(i.a)(o,a,a,c))}return o}return Object(e.e)(n,t),n.prototype.notifyNext=function(t,n,r,e,o){this.values[r]=n;var i=this.toRespond;if(i.length>0){var u=i.indexOf(r);-1!==u&&i.splice(u,1)}},n.prototype.notifyComplete=function(){},n.prototype._next=function(t){if(0===this.toRespond.length){var n=Object(e.g)([t],this.values);this.project?this._tryProject(n):this.destination.next(n)}},n.prototype._tryProject=function(t){var n;try{n=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(n)},n}(o.a)},function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(1),o=r(9);function i(t,n){return function(r){return r.lift(new u(t,n))}}var u=function(){function t(t,n){this.predicate=t,this.thisArg=n}return t.prototype.call=function(t,n){return n.subscribe(new c(t,this.predicate,this.thisArg))},t}(),c=function(t){function n(n,r,e){var o=t.call(this,n)||this;return o.predicate=r,o.thisArg=e,o.count=0,o}return Object(e.e)(n,t),n.prototype._next=function(t){var n;try{n=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}n&&this.destination.next(t)},n}(o.a)},function(t,n,r){"use strict";r.d(n,"a",(function(){return c}));var e=r(1),o=r(9),i=r(20),u=r(32);function c(t,n,r){return function(e){return e.lift(new a(t,n,r))}}var a=function(){function t(t,n,r){this.nextOrObserver=t,this.error=n,this.complete=r}return t.prototype.call=function(t,n){return n.subscribe(new s(t,this.nextOrObserver,this.error,this.complete))},t}(),s=function(t){function n(n,r,e,o){var c=t.call(this,n)||this;return c._tapNext=i.a,c._tapError=i.a,c._tapComplete=i.a,c._tapError=e||i.a,c._tapComplete=o||i.a,Object(u.a)(r)?(c._context=c,c._tapNext=r):r&&(c._context=r,c._tapNext=r.next||i.a,c._tapError=r.error||i.a,c._tapComplete=r.complete||i.a),c}return Object(e.e)(n,t),n.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)},n.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},n.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},n}(o.a)},function(t,n,r){"use strict";r.r(n);r(154),r(156),r(157),r(159),r(160),r(162),r(163),r(96),r(166),r(167),r(168),r(170),r(171),r(172),r(173),r(174),r(175),r(176),r(177),r(178),r(179),r(180),r(182),r(183),r(184),r(185),r(186),r(187),r(188),r(189),r(190),r(191),r(192),r(193),r(194),r(195),r(196),r(197),r(198),r(199),r(201),r(203),r(204),r(205),r(206),r(207),r(208),r(209),r(210),r(211),r(212),r(213),r(214),r(215),r(216),r(217),r(218),r(219),r(220),r(221),r(222),r(223),r(226),r(227),r(228),r(230),r(231),r(232),r(233),r(234),r(235),r(236),r(237),r(238),r(239),r(240),r(241),r(138),r(242),r(244),r(245),r(246),r(247),r(248),r(249),r(251),r(252),r(253),r(254),r(255),r(256),r(257),r(258),r(259),r(260),r(261),r(262),r(263),r(264),r(265),r(266),r(267),r(268),r(269),r(270),r(271),r(272),r(273),r(274),r(275),r(276),r(277),r(278),r(279),r(280),r(281),r(282),r(283),r(284),r(285),r(286),r(287),r(288),r(289),r(290),r(291),r(292),r(294),r(295);var e=r(25);r.p=window._publicPath;Object(e.k)(["classlist","eventlistener","queryselector","template"])&&(Promise.resolve().then(r.bind(null,296)),window._noNavbar||r.e(4).then(r.bind(null,304)),!window._noDrawer&&Object(e.k)(["customproperties","history","matchmedia","opacity"])&&Promise.all([r.e(0),r.e(8),r.e(1)]).then(r.bind(null,300)),!window._noPushState&&Object(e.k)(["history","matchmedia","opacity","cssanimations","cssremunit","documentfragment"])&&Promise.all([r.e(0),r.e(11),r.e(5)]).then(r.bind(null,303)))},function(t,n,r){var e=r(0);e(e.P,"Array",{copyWithin:r(120)}),r(41)("copyWithin")},function(t,n,r){t.exports=r(69)("native-function-to-string",Function.toString)},function(t,n,r){var e=r(0);e(e.P,"Array",{fill:r(89)}),r(41)("fill")},function(t,n,r){"use strict";var e=r(0),o=r(58)(5),i=!0;"find"in[]&&Array(1).find((function(){i=!1})),e(e.P+e.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),r(41)("find")},function(t,n,r){var e=r(3),o=r(91),i=r(7)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),e(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},function(t,n,r){"use strict";var e=r(0),o=r(58)(6),i="findIndex",u=!0;i in[]&&Array(1)[i]((function(){u=!1})),e(e.P+e.F*u,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),r(41)(i)},function(t,n,r){"use strict";var e=r(0),o=r(161),i=r(12),u=r(11),c=r(22),a=r(121);e(e.P,"Array",{flatMap:function(t){var n,r,e=i(this);return c(t),n=u(e.length),r=a(e,0),o(r,e,e,n,0,1,t,arguments[1]),r}}),r(41)("flatMap")},function(t,n,r){"use strict";var e=r(91),o=r(3),i=r(11),u=r(21),c=r(7)("isConcatSpreadable");t.exports=function t(n,r,a,s,f,l,h,p){for(var d,v,y=f,b=0,m=!!h&&u(h,p,3);b<s;){if(b in a){if(d=m?m(a[b],b,r):a[b],v=!1,o(d)&&(v=void 0!==(v=d[c])?!!v:e(d)),v&&l>0)y=t(n,r,d,i(d.length),y,l-1)-1;else{if(y>=9007199254740991)throw TypeError();n[y]=d}y++}b++}return y}},function(t,n,r){"use strict";var e=r(21),o=r(0),i=r(12),u=r(122),c=r(92),a=r(11),s=r(93),f=r(94);o(o.S+o.F*!r(70)((function(t){Array.from(t)})),"Array",{from:function(t){var n,r,o,l,h=i(t),p="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,y=void 0!==v,b=0,m=f(h);if(y&&(v=e(v,d>2?arguments[2]:void 0,2)),null==m||p==Array&&c(m))for(r=new p(n=a(h.length));n>b;b++)s(r,b,y?v(h[b],b):h[b]);else for(l=m.call(h),r=new p;!(o=l.next()).done;b++)s(r,b,y?u(l,v,[o.value,b],!0):o.value);return r.length=b,r}})},function(t,n,r){"use strict";var e=r(0),o=r(95)(!0);e(e.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),r(41)("includes")},function(t,n,r){"use strict";var e=r(50),o=r(39),i=r(51),u={};r(16)(u,r(7)("iterator"),(function(){return this})),t.exports=function(t,n,r){t.prototype=e(u,{next:o(1,r)}),i(t,n+" Iterator")}},function(t,n,r){var e=r(10),o=r(4),i=r(43);t.exports=r(8)?Object.defineProperties:function(t,n){o(t);for(var r,u=i(n),c=u.length,a=0;c>a;)e.f(t,r=u[a++],n[r]);return t}},function(t,n,r){"use strict";var e=r(0),o=r(93);e(e.S+e.F*r(6)((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,n=arguments.length,r=new("function"==typeof this?this:Array)(n);n>t;)o(r,t,arguments[t++]);return r.length=n,r}})},function(t,n,r){r(52)("Array")},function(t,n,r){var e=r(7)("toPrimitive"),o=Date.prototype;e in o||r(16)(o,e,r(169))},function(t,n,r){"use strict";var e=r(4),o=r(27);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(e(this),"number"!=t)}},function(t,n,r){"use strict";var e=r(3),o=r(29),i=r(7)("hasInstance"),u=Function.prototype;i in u||r(10).f(u,i,{value:function(t){if("function"!=typeof this||!e(t))return!1;if(!e(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,n,r){var e=r(10).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||r(8)&&e(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,n,r){"use strict";var e=r(126),o=r(44);t.exports=r(72)("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var n=e.getEntry(o(this,"Map"),t);return n&&n.v},set:function(t,n){return e.def(o(this,"Map"),0===t?0:t,n)}},e,!0)},function(t,n,r){var e=r(0),o=r(128),i=Math.sqrt,u=Math.acosh;e(e.S+e.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))&&u(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+i(t-1)*i(t+1))}})},function(t,n,r){var e=r(0),o=Math.asinh;e(e.S+e.F*!(o&&1/o(0)>0),"Math",{asinh:function t(n){return isFinite(n=+n)&&0!=n?n<0?-t(-n):Math.log(n+Math.sqrt(n*n+1)):n}})},function(t,n,r){var e=r(0),o=Math.atanh;e(e.S+e.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,n,r){var e=r(0),o=r(101);e(e.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,n,r){var e=r(0);e(e.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,n,r){var e=r(0),o=Math.exp;e(e.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},function(t,n,r){var e=r(0),o=r(102);e(e.S+e.F*(o!=Math.expm1),"Math",{expm1:o})},function(t,n,r){var e=r(0);e(e.S,"Math",{fround:r(181)})},function(t,n,r){var e=r(101),o=Math.pow,i=o(2,-52),u=o(2,-23),c=o(2,127)*(2-u),a=o(2,-126);t.exports=Math.fround||function(t){var n,r,o=Math.abs(t),s=e(t);return o<a?s*(o/a/u+1/i-1/i)*a*u:(r=(n=(1+u/i)*o)-(n-o))>c||r!=r?s*(1/0):s*r}},function(t,n,r){var e=r(0),o=Math.abs;e(e.S,"Math",{hypot:function(t,n){for(var r,e,i=0,u=0,c=arguments.length,a=0;u<c;)a<(r=o(arguments[u++]))?(i=i*(e=a/r)*e+1,a=r):i+=r>0?(e=r/a)*e:r;return a===1/0?1/0:a*Math.sqrt(i)}})},function(t,n,r){var e=r(0),o=Math.imul;e(e.S+e.F*r(6)((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(t,n){var r=+t,e=+n,o=65535&r,i=65535&e;return 0|o*i+((65535&r>>>16)*i+o*(65535&e>>>16)<<16>>>0)}})},function(t,n,r){var e=r(0);e(e.S,"Math",{log1p:r(128)})},function(t,n,r){var e=r(0);e(e.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,n,r){var e=r(0);e(e.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,n,r){var e=r(0);e(e.S,"Math",{sign:r(101)})},function(t,n,r){var e=r(0),o=r(102),i=Math.exp;e(e.S+e.F*r(6)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(i(t-1)-i(-t-1))*(Math.E/2)}})},function(t,n,r){var e=r(0),o=r(102),i=Math.exp;e(e.S,"Math",{tanh:function(t){var n=o(t=+t),r=o(-t);return n==1/0?1:r==1/0?-1:(n-r)/(i(t)+i(-t))}})},function(t,n,r){var e=r(0);e(e.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,n,r){"use strict";var e=r(2),o=r(18),i=r(42),u=r(100),c=r(27),a=r(6),s=r(45).f,f=r(19).f,l=r(10).f,h=r(61).trim,p=e.Number,d=p,v=p.prototype,y="Number"==i(r(50)(v)),b="trim"in String.prototype,m=function(t){var n=c(t,!1);if("string"==typeof n&&n.length>2){var r,e,o,i=(n=b?n.trim():h(n,3)).charCodeAt(0);if(43===i||45===i){if(88===(r=n.charCodeAt(2))||120===r)return NaN}else if(48===i){switch(n.charCodeAt(1)){case 66:case 98:e=2,o=49;break;case 79:case 111:e=8,o=55;break;default:return+n}for(var u,a=n.slice(2),s=0,f=a.length;s<f;s++)if((u=a.charCodeAt(s))<48||u>o)return NaN;return parseInt(a,e)}}return+n};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var n=arguments.length<1?0:t,r=this;return r instanceof p&&(y?a((function(){v.valueOf.call(r)})):"Number"!=i(r))?u(new d(m(n)),r,p):m(n)};for(var g,w=r(8)?s(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;w.length>_;_++)o(d,g=w[_])&&!o(p,g)&&l(p,g,f(d,g));p.prototype=v,v.constructor=p,r(17)(e,"Number",p)}},function(t,n,r){var e=r(0);e(e.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,n,r){var e=r(0),o=r(2).isFinite;e(e.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},function(t,n,r){var e=r(0);e(e.S,"Number",{isInteger:r(129)})},function(t,n,r){var e=r(0);e(e.S,"Number",{isNaN:function(t){return t!=t}})},function(t,n,r){var e=r(0),o=r(129),i=Math.abs;e(e.S,"Number",{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},function(t,n,r){var e=r(0);e(e.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,n,r){var e=r(0);e(e.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,n,r){var e=r(0),o=r(200);e(e.S+e.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,n,r){var e=r(2).parseFloat,o=r(61).trim;t.exports=1/e(r(103)+"-0")!=-1/0?function(t){var n=o(String(t),3),r=e(n);return 0===r&&"-"==n.charAt(0)?-0:r}:e},function(t,n,r){var e=r(0),o=r(202);e(e.S+e.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,n,r){var e=r(2).parseInt,o=r(61).trim,i=r(103),u=/^[-+]?0[xX]/;t.exports=8!==e(i+"08")||22!==e(i+"0x16")?function(t,n){var r=o(String(t),3);return e(r,n>>>0||(u.test(r)?16:10))}:e},function(t,n,r){var e=r(0);e(e.S+e.F,"Object",{assign:r(130)})},function(t,n,r){"use strict";var e=r(0),o=r(12),i=r(22),u=r(10);r(8)&&e(e.P+r(74),"Object",{__defineGetter__:function(t,n){u.f(o(this),t,{get:i(n),enumerable:!0,configurable:!0})}})},function(t,n,r){"use strict";var e=r(0),o=r(12),i=r(22),u=r(10);r(8)&&e(e.P+r(74),"Object",{__defineSetter__:function(t,n){u.f(o(this),t,{set:i(n),enumerable:!0,configurable:!0})}})},function(t,n,r){var e=r(0),o=r(131)(!0);e(e.S,"Object",{entries:function(t){return o(t)}})},function(t,n,r){var e=r(3),o=r(37).onFreeze;r(24)("freeze",(function(t){return function(n){return t&&e(n)?t(o(n)):n}}))},function(t,n,r){var e=r(23),o=r(19).f;r(24)("getOwnPropertyDescriptor",(function(){return function(t,n){return o(e(t),n)}}))},function(t,n,r){var e=r(0),o=r(132),i=r(23),u=r(19),c=r(93);e(e.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,r,e=i(t),a=u.f,s=o(e),f={},l=0;s.length>l;)void 0!==(r=a(e,n=s[l++]))&&c(f,n,r);return f}})},function(t,n,r){r(24)("getOwnPropertyNames",(function(){return r(133).f}))},function(t,n,r){var e=r(12),o=r(29);r(24)("getPrototypeOf",(function(){return function(t){return o(e(t))}}))},function(t,n,r){"use strict";var e=r(0),o=r(12),i=r(27),u=r(29),c=r(19).f;r(8)&&e(e.P+r(74),"Object",{__lookupGetter__:function(t){var n,r=o(this),e=i(t,!0);do{if(n=c(r,e))return n.get}while(r=u(r))}})},function(t,n,r){"use strict";var e=r(0),o=r(12),i=r(27),u=r(29),c=r(19).f;r(8)&&e(e.P+r(74),"Object",{__lookupSetter__:function(t){var n,r=o(this),e=i(t,!0);do{if(n=c(r,e))return n.set}while(r=u(r))}})},function(t,n,r){var e=r(3),o=r(37).onFreeze;r(24)("preventExtensions",(function(t){return function(n){return t&&e(n)?t(o(n)):n}}))},function(t,n,r){"use strict";var e=r(59),o={};o[r(7)("toStringTag")]="z",o+""!="[object z]"&&r(17)(Object.prototype,"toString",(function(){return"[object "+e(this)+"]"}),!0)},function(t,n,r){var e=r(0);e(e.S,"Object",{is:r(134)})},function(t,n,r){var e=r(3);r(24)("isFrozen",(function(t){return function(n){return!e(n)||!!t&&t(n)}}))},function(t,n,r){var e=r(3);r(24)("isSealed",(function(t){return function(n){return!e(n)||!!t&&t(n)}}))},function(t,n,r){var e=r(3);r(24)("isExtensible",(function(t){return function(n){return!!e(n)&&(!t||t(n))}}))},function(t,n,r){var e=r(12),o=r(43);r(24)("keys",(function(){return function(t){return o(e(t))}}))},function(t,n,r){var e=r(3),o=r(37).onFreeze;r(24)("seal",(function(t){return function(n){return t&&e(n)?t(o(n)):n}}))},function(t,n,r){var e=r(0),o=r(131)(!1);e(e.S,"Object",{values:function(t){return o(t)}})},function(t,n,r){"use strict";var e,o,i,u,c=r(35),a=r(2),s=r(21),f=r(59),l=r(0),h=r(3),p=r(22),d=r(54),v=r(71),y=r(62),b=r(104).set,m=r(224)(),g=r(136),w=r(225),_=r(75),S=r(137),x=a.TypeError,O=a.process,E=O&&O.versions,j=E&&E.v8||"",P=a.Promise,A="process"==f(O),I=function(){},T=o=g.f,M=!!function(){try{var t=P.resolve(1),n=(t.constructor={})[r(7)("species")]=function(t){t(I,I)};return(A||"function"==typeof PromiseRejectionEvent)&&t.then(I)instanceof n&&0!==j.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(t){}}(),L=function(t){var n;return!(!h(t)||"function"!=typeof(n=t.then))&&n},k=function(t,n){if(!t._n){t._n=!0;var r=t._c;m((function(){for(var e=t._v,o=1==t._s,i=0,u=function(n){var r,i,u,c=o?n.ok:n.fail,a=n.resolve,s=n.reject,f=n.domain;try{c?(o||(2==t._h&&C(t),t._h=1),!0===c?r=e:(f&&f.enter(),r=c(e),f&&(f.exit(),u=!0)),r===n.promise?s(x("Promise-chain cycle")):(i=L(r))?i.call(r,a,s):a(r)):s(e)}catch(t){f&&!u&&f.exit(),s(t)}};r.length>i;)u(r[i++]);t._c=[],t._n=!1,n&&!t._h&&F(t)}))}},F=function(t){b.call(a,(function(){var n,r,e,o=t._v,i=N(t);if(i&&(n=w((function(){A?O.emit("unhandledRejection",o,t):(r=a.onunhandledrejection)?r({promise:t,reason:o}):(e=a.console)&&e.error&&e.error("Unhandled promise rejection",o)})),t._h=A||N(t)?2:1),t._a=void 0,i&&n.e)throw n.v}))},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},C=function(t){b.call(a,(function(){var n;A?O.emit("rejectionHandled",t):(n=a.onrejectionhandled)&&n({promise:t,reason:t._v})}))},R=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),k(n,!0))},D=function t(n){var r,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===n)throw x("Promise can't be resolved itself");(r=L(n))?m((function(){var o={_w:e,_d:!1};try{r.call(n,s(t,o,1),s(R,o,1))}catch(t){R.call(o,t)}})):(e._v=n,e._s=1,k(e,!1))}catch(t){R.call({_w:e,_d:!1},t)}}};M||(P=function(t){d(this,P,"Promise","_h"),p(t),e.call(this);try{t(s(D,this,1),s(R,this,1))}catch(t){R.call(this,t)}},(e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(53)(P.prototype,{then:function(t,n){var r=T(y(this,P));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=A?O.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&k(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new e;this.promise=t,this.resolve=s(D,t,1),this.reject=s(R,t,1)},g.f=T=function(t){return t===P||t===u?new i(t):o(t)}),l(l.G+l.W+l.F*!M,{Promise:P}),r(51)(P,"Promise"),r(52)("Promise"),u=r(34).Promise,l(l.S+l.F*!M,"Promise",{reject:function(t){var n=T(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(c||!M),"Promise",{resolve:function(t){return S(c&&this===u?P:this,t)}}),l(l.S+l.F*!(M&&r(70)((function(t){P.all(t).catch(I)}))),"Promise",{all:function(t){var n=this,r=T(n),e=r.resolve,o=r.reject,i=w((function(){var r=[],i=0,u=1;v(t,!1,(function(t){var c=i++,a=!1;r.push(void 0),u++,n.resolve(t).then((function(t){a||(a=!0,r[c]=t,--u||e(r))}),o)})),--u||e(r)}));return i.e&&o(i.v),r.promise},race:function(t){var n=this,r=T(n),e=r.reject,o=w((function(){v(t,!1,(function(t){n.resolve(t).then(r.resolve,e)}))}));return o.e&&e(o.v),r.promise}})},function(t,n,r){var e=r(2),o=r(104).set,i=e.MutationObserver||e.WebKitMutationObserver,u=e.process,c=e.Promise,a="process"==r(42)(u);t.exports=function(){var t,n,r,s=function(){var e,o;for(a&&(e=u.domain)&&e.exit();t;){o=t.fn,t=t.next;try{o()}catch(e){throw t?r():n=void 0,e}}n=void 0,e&&e.enter()};if(a)r=function(){u.nextTick(s)};else if(!i||e.navigator&&e.navigator.standalone)if(c&&c.resolve){var f=c.resolve(void 0);r=function(){f.then(s)}}else r=function(){o.call(e,s)};else{var l=!0,h=document.createTextNode("");new i(s).observe(h,{characterData:!0}),r=function(){h.data=l=!l}}return function(e){var o={fn:e,next:void 0};n&&(n.next=o),t||(t=o,r()),n=o}}},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,r){"use strict";var e=r(0),o=r(34),i=r(2),u=r(62),c=r(137);e(e.P+e.R,"Promise",{finally:function(t){var n=u(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return c(n,t()).then((function(){return r}))}:t,r?function(r){return c(n,t()).then((function(){throw r}))}:t)}})},function(t,n,r){var e=r(0),o=r(22),i=r(4),u=(r(2).Reflect||{}).apply,c=Function.apply;e(e.S+e.F*!r(6)((function(){u((function(){}))})),"Reflect",{apply:function(t,n,r){var e=o(t),a=i(r);return u?u(e,n,a):c.call(e,n,a)}})},function(t,n,r){var e=r(0),o=r(50),i=r(22),u=r(4),c=r(3),a=r(6),s=r(229),f=(r(2).Reflect||{}).construct,l=a((function(){function t(){}return!(f((function(){}),[],t)instanceof t)})),h=!a((function(){f((function(){}))}));e(e.S+e.F*(l||h),"Reflect",{construct:function(t,n){i(t),u(n);var r=arguments.length<3?t:i(arguments[2]);if(h&&!l)return f(t,n,r);if(t==r){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var e=[null];return e.push.apply(e,n),new(s.apply(t,e))}var a=r.prototype,p=o(c(a)?a:Object.prototype),d=Function.apply.call(t,p,n);return c(d)?d:p}})},function(t,n,r){"use strict";var e=r(22),o=r(3),i=r(135),u=[].slice,c={},a=function(t,n,r){if(!(n in c)){for(var e=[],o=0;o<n;o++)e[o]="a["+o+"]";c[n]=Function("F,a","return new F("+e.join(",")+")")}return c[n](t,r)};t.exports=Function.bind||function(t){var n=e(this),r=u.call(arguments,1),c=function e(){var o=r.concat(u.call(arguments));return this instanceof e?a(n,o.length,o):i(n,o,t)};return o(n.prototype)&&(c.prototype=n.prototype),c}},function(t,n,r){var e=r(10),o=r(0),i=r(4),u=r(27);o(o.S+o.F*r(6)((function(){Reflect.defineProperty(e.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,n,r){i(t),n=u(n,!0),i(r);try{return e.f(t,n,r),!0}catch(t){return!1}}})},function(t,n,r){var e=r(0),o=r(19).f,i=r(4);e(e.S,"Reflect",{deleteProperty:function(t,n){var r=o(i(t),n);return!(r&&!r.configurable)&&delete t[n]}})},function(t,n,r){var e=r(19),o=r(29),i=r(18),u=r(0),c=r(3),a=r(4);u(u.S,"Reflect",{get:function t(n,r){var u,s,f=arguments.length<3?n:arguments[2];return a(n)===f?n[r]:(u=e.f(n,r))?i(u,"value")?u.value:void 0!==u.get?u.get.call(f):void 0:c(s=o(n))?t(s,r,f):void 0}})},function(t,n,r){var e=r(19),o=r(0),i=r(4);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return e.f(i(t),n)}})},function(t,n,r){var e=r(0),o=r(29),i=r(4);e(e.S,"Reflect",{getPrototypeOf:function(t){return o(i(t))}})},function(t,n,r){var e=r(0);e(e.S,"Reflect",{has:function(t,n){return n in t}})},function(t,n,r){var e=r(0),o=r(4),i=Object.isExtensible;e(e.S,"Reflect",{isExtensible:function(t){return o(t),!i||i(t)}})},function(t,n,r){var e=r(0);e(e.S,"Reflect",{ownKeys:r(132)})},function(t,n,r){var e=r(0),o=r(4),i=Object.preventExtensions;e(e.S,"Reflect",{preventExtensions:function(t){o(t);try{return i&&i(t),!0}catch(t){return!1}}})},function(t,n,r){var e=r(10),o=r(19),i=r(29),u=r(18),c=r(0),a=r(39),s=r(4),f=r(3);c(c.S,"Reflect",{set:function t(n,r,c){var l,h,p=arguments.length<4?n:arguments[3],d=o.f(s(n),r);if(!d){if(f(h=i(n)))return t(h,r,c,p);d=a(0)}if(u(d,"value")){if(!1===d.writable||!f(p))return!1;if(l=o.f(p,r)){if(l.get||l.set||!1===l.writable)return!1;l.value=c,e.f(p,r,l)}else e.f(p,r,a(0,c));return!0}return void 0!==d.set&&(d.set.call(p,c),!0)}})},function(t,n,r){var e=r(0),o=r(127);o&&e(e.S,"Reflect",{setPrototypeOf:function(t,n){o.check(t,n);try{return o.set(t,n),!0}catch(t){return!1}}})},function(t,n,r){var e=r(2),o=r(100),i=r(10).f,u=r(45).f,c=r(105),a=r(76),s=e.RegExp,f=s,l=s.prototype,h=/a/g,p=/a/g,d=new s(h)!==h;if(r(8)&&(!d||r(6)((function(){return p[r(7)("match")]=!1,s(h)!=h||s(p)==p||"/a/i"!=s(h,"i")})))){s=function(t,n){var r=this instanceof s,e=c(t),i=void 0===n;return!r&&e&&t.constructor===s&&i?t:o(d?new f(e&&!i?t.source:t,n):f((e=t instanceof s)?t.source:t,e&&i?a.call(t):n),r?this:l,s)};for(var v=function(t){t in s||i(s,t,{configurable:!0,get:function(){return f[t]},set:function(n){f[t]=n}})},y=u(f),b=0;y.length>b;)v(y[b++]);l.constructor=s,s.prototype=l,r(17)(e,"RegExp",s)}r(52)("RegExp")},function(t,n,r){"use strict";var e=r(4),o=r(11),i=r(106),u=r(77);r(78)("match",1,(function(t,n,r,c){return[function(r){var e=t(this),o=null==r?void 0:r[n];return void 0!==o?o.call(r,e):new RegExp(r)[n](String(e))},function(t){var n=c(r,t,this);if(n.done)return n.value;var a=e(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,h=[],p=0;null!==(l=u(a,s));){var d=String(l[0]);h[p]=d,""===d&&(a.lastIndex=i(s,o(a.lastIndex),f)),p++}return 0===p?null:h}]}))},function(t,n,r){"use strict";var e=r(108);r(0)({target:"RegExp",proto:!0,forced:e!==/./.exec},{exec:e})},function(t,n,r){"use strict";var e=r(4),o=r(12),i=r(11),u=r(36),c=r(106),a=r(77),s=Math.max,f=Math.min,l=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;r(78)("replace",2,(function(t,n,r,d){return[function(e,o){var i=t(this),u=null==e?void 0:e[n];return void 0!==u?u.call(e,i,o):r.call(String(i),e,o)},function(t,n){var o=d(r,t,this,n);if(o.done)return o.value;var l=e(t),h=String(this),p="function"==typeof n;p||(n=String(n));var y=l.global;if(y){var b=l.unicode;l.lastIndex=0}for(var m=[];;){var g=a(l,h);if(null===g)break;if(m.push(g),!y)break;""===String(g[0])&&(l.lastIndex=c(h,i(l.lastIndex),b))}for(var w,_="",S=0,x=0;x<m.length;x++){g=m[x];for(var O=String(g[0]),E=s(f(u(g.index),h.length),0),j=[],P=1;P<g.length;P++)j.push(void 0===(w=g[P])?w:String(w));var A=g.groups;if(p){var I=[O].concat(j,E,h);void 0!==A&&I.push(A);var T=String(n.apply(void 0,I))}else T=v(O,h,E,j,A,n);E>=S&&(_+=h.slice(S,E)+T,S=E+O.length)}return _+h.slice(S)}];function v(t,n,e,i,u,c){var a=e+t.length,s=i.length,f=p;return void 0!==u&&(u=o(u),f=h),r.call(c,f,(function(r,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,e);case"'":return n.slice(a);case"<":c=u[o.slice(1,-1)];break;default:var f=+o;if(0===f)return r;if(f>s){var h=l(f/10);return 0===h?r:h<=s?void 0===i[h-1]?o.charAt(1):i[h-1]+o.charAt(1):r}c=i[f-1]}return void 0===c?"":c}))}}))},function(t,n,r){"use strict";var e=r(105),o=r(4),i=r(62),u=r(106),c=r(11),a=r(77),s=r(108),f=r(6),l=Math.min,h=[].push,p="length",d=!f((function(){RegExp(4294967295,"y")}));r(78)("split",2,(function(t,n,r,f){var v;return v="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(t,n){var o=String(this);if(void 0===t&&0===n)return[];if(!e(t))return r.call(o,t,n);for(var i,u,c,a=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,d=void 0===n?4294967295:n>>>0,v=new RegExp(t.source,f+"g");(i=s.call(v,o))&&!((u=v.lastIndex)>l&&(a.push(o.slice(l,i.index)),i[p]>1&&i.index<o[p]&&h.apply(a,i.slice(1)),c=i[0][p],l=u,a[p]>=d));)v.lastIndex===i.index&&v.lastIndex++;return l===o[p]?!c&&v.test("")||a.push(""):a.push(o.slice(l)),a[p]>d?a.slice(0,d):a}:"0".split(void 0,0)[p]?function(t,n){return void 0===t&&0===n?[]:r.call(this,t,n)}:r,[function(r,e){var o=t(this),i=null==r?void 0:r[n];return void 0!==i?i.call(r,o,e):v.call(String(o),r,e)},function(t,n){var e=f(v,t,this,n,v!==r);if(e.done)return e.value;var s=o(t),h=String(this),p=i(s,RegExp),y=s.unicode,b=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(d?"y":"g"),m=new p(d?s:"^(?:"+s.source+")",b),g=void 0===n?4294967295:n>>>0;if(0===g)return[];if(0===h.length)return null===a(m,h)?[h]:[];for(var w=0,_=0,S=[];_<h.length;){m.lastIndex=d?_:0;var x,O=a(m,d?h:h.slice(_));if(null===O||(x=l(c(m.lastIndex+(d?0:_)),h.length))===w)_=u(h,_,y);else{if(S.push(h.slice(w,_)),S.length===g)return S;for(var E=1;E<=O.length-1;E++)if(S.push(O[E]),S.length===g)return S;_=w=x}}return S.push(h.slice(w)),S}]}))},function(t,n,r){"use strict";var e=r(4),o=r(134),i=r(77);r(78)("search",1,(function(t,n,r,u){return[function(r){var e=t(this),o=null==r?void 0:r[n];return void 0!==o?o.call(r,e):new RegExp(r)[n](String(e))},function(t){var n=u(r,t,this);if(n.done)return n.value;var c=e(t),a=String(this),s=c.lastIndex;o(s,0)||(c.lastIndex=0);var f=i(c,a);return o(c.lastIndex,s)||(c.lastIndex=s),null===f?-1:f.index}]}))},function(t,n,r){"use strict";r(138);var e=r(4),o=r(76),i=r(8),u=/./.toString,c=function(t){r(17)(RegExp.prototype,"toString",t,!0)};r(6)((function(){return"/a/b"!=u.call({source:"a",flags:"b"})}))?c((function(){var t=e(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)})):"toString"!=u.name&&c((function(){return u.call(this)}))},function(t,n,r){"use strict";var e=r(126),o=r(44);t.exports=r(72)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return e.def(o(this,"Set"),t=0===t?0:t,t)}},e)},function(t,n,r){"use strict";function e(t){return(e="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=r(2),i=r(18),u=r(8),c=r(0),a=r(17),s=r(37).KEY,f=r(6),l=r(69),h=r(51),p=r(40),d=r(7),v=r(139),y=r(140),b=r(250),m=r(91),g=r(4),w=r(3),_=r(12),S=r(23),x=r(27),O=r(39),E=r(50),j=r(133),P=r(19),A=r(73),I=r(10),T=r(43),M=P.f,L=I.f,k=j.f,F=o.Symbol,N=o.JSON,C=N&&N.stringify,R=d("_hidden"),D=d("toPrimitive"),V={}.propertyIsEnumerable,W=l("symbol-registry"),B=l("symbols"),U=l("op-symbols"),q=Object.prototype,z="function"==typeof F&&!!A.f,G=o.QObject,H=!G||!G.prototype||!G.prototype.findChild,Y=u&&f((function(){return 7!=E(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a}))?function(t,n,r){var e=M(q,n);e&&delete q[n],L(t,n,r),e&&t!==q&&L(q,n,e)}:L,J=function(t){var n=B[t]=E(F.prototype);return n._k=t,n},$=z&&"symbol"==e(F.iterator)?function(t){return"symbol"==e(t)}:function(t){return t instanceof F},K=function(t,n,r){return t===q&&K(U,n,r),g(t),n=x(n,!0),g(r),i(B,n)?(r.enumerable?(i(t,R)&&t[R][n]&&(t[R][n]=!1),r=E(r,{enumerable:O(0,!1)})):(i(t,R)||L(t,R,O(1,{})),t[R][n]=!0),Y(t,n,r)):L(t,n,r)},X=function(t,n){g(t);for(var r,e=b(n=S(n)),o=0,i=e.length;i>o;)K(t,r=e[o++],n[r]);return t},Q=function(t){var n=V.call(this,t=x(t,!0));return!(this===q&&i(B,t)&&!i(U,t))&&(!(n||!i(this,t)||!i(B,t)||i(this,R)&&this[R][t])||n)},Z=function(t,n){if(t=S(t),n=x(n,!0),t!==q||!i(B,n)||i(U,n)){var r=M(t,n);return!r||!i(B,n)||i(t,R)&&t[R][n]||(r.enumerable=!0),r}},tt=function(t){for(var n,r=k(S(t)),e=[],o=0;r.length>o;)i(B,n=r[o++])||n==R||n==s||e.push(n);return e},nt=function(t){for(var n,r=t===q,e=k(r?U:S(t)),o=[],u=0;e.length>u;)!i(B,n=e[u++])||r&&!i(q,n)||o.push(B[n]);return o};z||(a((F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function n(r){this===q&&n.call(U,r),i(this,R)&&i(this[R],t)&&(this[R][t]=!1),Y(this,t,O(1,r))};return u&&H&&Y(q,t,{configurable:!0,set:n}),J(t)}).prototype,"toString",(function(){return this._k})),P.f=Z,I.f=K,r(45).f=j.f=tt,r(60).f=Q,A.f=nt,u&&!r(35)&&a(q,"propertyIsEnumerable",Q,!0),v.f=function(t){return J(d(t))}),c(c.G+c.W+c.F*!z,{Symbol:F});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;rt.length>et;)d(rt[et++]);for(var ot=T(d.store),it=0;ot.length>it;)y(ot[it++]);c(c.S+c.F*!z,"Symbol",{for:function(t){return i(W,t+="")?W[t]:W[t]=F(t)},keyFor:function(t){if(!$(t))throw TypeError(t+" is not a symbol!");for(var n in W)if(W[n]===t)return n},useSetter:function(){H=!0},useSimple:function(){H=!1}}),c(c.S+c.F*!z,"Object",{create:function(t,n){return void 0===n?E(t):X(E(t),n)},defineProperty:K,defineProperties:X,getOwnPropertyDescriptor:Z,getOwnPropertyNames:tt,getOwnPropertySymbols:nt});var ut=f((function(){A.f(1)}));c(c.S+c.F*ut,"Object",{getOwnPropertySymbols:function(t){return A.f(_(t))}}),N&&c(c.S+c.F*(!z||f((function(){var t=F();return"[null]"!=C([t])||"{}"!=C({a:t})||"{}"!=C(Object(t))}))),"JSON",{stringify:function(t){for(var n,r,e=[t],o=1;arguments.length>o;)e.push(arguments[o++]);if(r=n=e[1],(w(n)||void 0!==t)&&!$(t))return m(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!$(n))return n}),e[1]=n,C.apply(N,e)}}),F.prototype[D]||r(16)(F.prototype,D,F.prototype.valueOf),h(F,"Symbol"),h(Math,"Math",!0),h(o.JSON,"JSON",!0)},function(t,n,r){var e=r(43),o=r(73),i=r(60);t.exports=function(t){var n=e(t),r=o.f;if(r)for(var u,c=r(t),a=i.f,s=0;c.length>s;)a.call(t,u=c[s++])&&n.push(u);return n}},function(t,n,r){r(140)("asyncIterator")},function(t,n,r){"use strict";r(15)("anchor",(function(t){return function(n){return t(this,"a","name",n)}}))},function(t,n,r){"use strict";r(15)("big",(function(t){return function(){return t(this,"big","","")}}))},function(t,n,r){"use strict";r(15)("blink",(function(t){return function(){return t(this,"blink","","")}}))},function(t,n,r){"use strict";r(15)("bold",(function(t){return function(){return t(this,"b","","")}}))},function(t,n,r){"use strict";var e=r(0),o=r(107)(!1);e(e.P,"String",{codePointAt:function(t){return o(this,t)}})},function(t,n,r){"use strict";var e=r(0),o=r(11),i=r(109),u="".endsWith;e(e.P+e.F*r(110)("endsWith"),"String",{endsWith:function(t){var n=i(this,t,"endsWith"),r=arguments.length>1?arguments[1]:void 0,e=o(n.length),c=void 0===r?e:Math.min(o(r),e),a=String(t);return u?u.call(n,a,c):n.slice(c-a.length,c)===a}})},function(t,n,r){"use strict";r(15)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},function(t,n,r){"use strict";r(15)("fontcolor",(function(t){return function(n){return t(this,"font","color",n)}}))},function(t,n,r){"use strict";r(15)("fontsize",(function(t){return function(n){return t(this,"font","size",n)}}))},function(t,n,r){var e=r(0),o=r(48),i=String.fromCharCode,u=String.fromCodePoint;e(e.S+e.F*(!!u&&1!=u.length),"String",{fromCodePoint:function(t){for(var n,r=[],e=arguments.length,u=0;e>u;){if(n=+arguments[u++],o(n,1114111)!==n)throw RangeError(n+" is not a valid code point");r.push(n<65536?i(n):i(55296+((n-=65536)>>10),n%1024+56320))}return r.join("")}})},function(t,n,r){"use strict";var e=r(0),o=r(109);e(e.P+e.F*r(110)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,r){"use strict";r(15)("italics",(function(t){return function(){return t(this,"i","","")}}))},function(t,n,r){"use strict";var e=r(107)(!0);r(97)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})}))},function(t,n,r){"use strict";r(15)("link",(function(t){return function(n){return t(this,"a","href",n)}}))},function(t,n,r){"use strict";var e=r(0),o=r(141),i=r(75),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);e(e.P+e.F*u,"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,n,r){"use strict";var e=r(0),o=r(141),i=r(75),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);e(e.P+e.F*u,"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,n,r){var e=r(0),o=r(23),i=r(11);e(e.S,"String",{raw:function(t){for(var n=o(t.raw),r=i(n.length),e=arguments.length,u=[],c=0;r>c;)u.push(String(n[c++])),c<e&&u.push(String(arguments[c]));return u.join("")}})},function(t,n,r){var e=r(0);e(e.P,"String",{repeat:r(142)})},function(t,n,r){"use strict";r(15)("small",(function(t){return function(){return t(this,"small","","")}}))},function(t,n,r){"use strict";var e=r(0),o=r(11),i=r(109),u="".startsWith;e(e.P+e.F*r(110)("startsWith"),"String",{startsWith:function(t){var n=i(this,t,"startsWith"),r=o(Math.min(arguments.length>1?arguments[1]:void 0,n.length)),e=String(t);return u?u.call(n,e,r):n.slice(r,r+e.length)===e}})},function(t,n,r){"use strict";r(15)("strike",(function(t){return function(){return t(this,"strike","","")}}))},function(t,n,r){"use strict";r(15)("sub",(function(t){return function(){return t(this,"sub","","")}}))},function(t,n,r){"use strict";r(15)("sup",(function(t){return function(){return t(this,"sup","","")}}))},function(t,n,r){"use strict";r(61)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},function(t,n,r){"use strict";r(61)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},function(t,n,r){"use strict";var e=r(0),o=r(111),i=r(143),u=r(4),c=r(48),a=r(11),s=r(3),f=r(2).ArrayBuffer,l=r(62),h=i.ArrayBuffer,p=i.DataView,d=o.ABV&&f.isView,v=h.prototype.slice,y=o.VIEW;e(e.G+e.W+e.F*(f!==h),{ArrayBuffer:h}),e(e.S+e.F*!o.CONSTR,"ArrayBuffer",{isView:function(t){return d&&d(t)||s(t)&&y in t}}),e(e.P+e.U+e.F*r(6)((function(){return!new h(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(t,n){if(void 0!==v&&void 0===n)return v.call(u(this),t);for(var r=u(this).byteLength,e=c(t,r),o=c(void 0===n?r:n,r),i=new(l(this,h))(a(o-e)),s=new p(this),f=new p(i),d=0;e<o;)f.setUint8(d++,s.getUint8(e++));return i}}),r(52)("ArrayBuffer")},function(t,n,r){r(30)("Int8",1,(function(t){return function(n,r,e){return t(this,n,r,e)}}))},function(t,n,r){r(30)("Uint8",1,(function(t){return function(n,r,e){return t(this,n,r,e)}}))},function(t,n,r){r(30)("Uint8",1,(function(t){return function(n,r,e){return t(this,n,r,e)}}),!0)},function(t,n,r){r(30)("Int16",2,(function(t){return function(n,r,e){return t(this,n,r,e)}}))},function(t,n,r){r(30)("Uint16",2,(function(t){return function(n,r,e){return t(this,n,r,e)}}))},function(t,n,r){r(30)("Int32",4,(function(t){return function(n,r,e){return t(this,n,r,e)}}))},function(t,n,r){r(30)("Uint32",4,(function(t){return function(n,r,e){return t(this,n,r,e)}}))},function(t,n,r){r(30)("Float32",4,(function(t){return function(n,r,e){return t(this,n,r,e)}}))},function(t,n,r){r(30)("Float64",8,(function(t){return function(n,r,e){return t(this,n,r,e)}}))},function(t,n,r){"use strict";var e,o=r(2),i=r(58)(0),u=r(17),c=r(37),a=r(130),s=r(145),f=r(3),l=r(44),h=r(44),p=!o.ActiveXObject&&"ActiveXObject"in o,d=c.getWeak,v=Object.isExtensible,y=s.ufstore,b=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(t){if(f(t)){var n=d(t);return!0===n?y(l(this,"WeakMap")).get(t):n?n[this._i]:void 0}},set:function(t,n){return s.def(l(this,"WeakMap"),t,n)}},g=t.exports=r(72)("WeakMap",b,m,s,!0,!0);h&&p&&(a((e=s.getConstructor(b,"WeakMap")).prototype,m),c.NEED=!0,i(["delete","has","get","set"],(function(t){var n=g.prototype,r=n[t];u(n,t,(function(n,o){if(f(n)&&!v(n)){this._f||(this._f=new e);var i=this._f[t](n,o);return"set"==t?this:i}return r.call(this,n,o)}))})))},function(t,n,r){"use strict";var e=r(145),o=r(44);r(72)("WeakSet",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return e.def(o(this,"WeakSet"),t,!0)}},e,!1,!0)},function(t,n,r){var e=r(2),o=r(0),i=r(75),u=[].slice,c=/MSIE .\./.test(i),a=function(t){return function(n,r){var e=arguments.length>2,o=!!e&&u.call(arguments,2);return t(e?function(){("function"==typeof n?n:Function(n)).apply(this,o)}:n,r)}};o(o.G+o.B+o.F*c,{setTimeout:a(e.setTimeout),setInterval:a(e.setInterval)})},function(t,n,r){var e=r(0),o=r(104);e(e.G+e.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,n,r){for(var e=r(96),o=r(43),i=r(17),u=r(2),c=r(16),a=r(49),s=r(7),f=s("iterator"),l=s("toStringTag"),h=a.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=o(p),v=0;v<d.length;v++){var y,b=d[v],m=p[b],g=u[b],w=g&&g.prototype;if(w&&(w[f]||c(w,f,h),w[l]||c(w,l,b),a[b]=h,m))for(y in e)w[y]||i(w,y,e[y],!0)}},function(t,n,r){(function(t){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=function(t){"use strict";var r=Object.prototype,e=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function a(t,n,r,e){var o=n&&n.prototype instanceof l?n:l,i=Object.create(o.prototype),u=new x(e||[]);return i._invoke=function(t,n,r){var e="suspendedStart";return function(o,i){if("executing"===e)throw new Error("Generator is already running");if("completed"===e){if("throw"===o)throw i;return E()}for(r.method=o,r.arg=i;;){var u=r.delegate;if(u){var c=w(u,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===e)throw e="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);e="executing";var a=s(t,n,r);if("normal"===a.type){if(e=r.done?"completed":"suspendedYield",a.arg===f)continue;return{value:a.arg,done:r.done}}"throw"===a.type&&(e="completed",r.method="throw",r.arg=a.arg)}}}(t,r,u),i}function s(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=a;var f={};function l(){}function h(){}function p(){}var d={};d[i]=function(){return this};var v=Object.getPrototypeOf,y=v&&v(v(O([])));y&&y!==r&&e.call(y,i)&&(d=y);var b=p.prototype=l.prototype=Object.create(d);function m(t){["next","throw","return"].forEach((function(n){t[n]=function(t){return this._invoke(n,t)}}))}function g(t,r){var o;this._invoke=function(i,u){function c(){return new r((function(o,c){!function o(i,u,c,a){var f=s(t[i],t,u);if("throw"!==f.type){var l=f.arg,h=l.value;return h&&"object"===n(h)&&e.call(h,"__await")?r.resolve(h.__await).then((function(t){o("next",t,c,a)}),(function(t){o("throw",t,c,a)})):r.resolve(h).then((function(t){l.value=t,c(l)}),(function(t){return o("throw",t,c,a)}))}a(f.arg)}(i,u,o,c)}))}return o=o?o.then(c,c):c()}}function w(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,w(t,n),"throw"===n.method))return f;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var e=s(r,t.iterator,n.arg);if("throw"===e.type)return n.method="throw",n.arg=e.arg,n.delegate=null,f;var o=e.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,f):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}function _(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function S(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function O(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function n(){for(;++r<t.length;)if(e.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=void 0,n.done=!0,n};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return h.prototype=b.constructor=p,p.constructor=h,p[c]=h.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===h||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},m(g.prototype),g.prototype[u]=function(){return this},t.AsyncIterator=g,t.async=function(n,r,e,o,i){void 0===i&&(i=Promise);var u=new g(a(n,r,e,o),i);return t.isGeneratorFunction(r)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},m(b),b[c]="Generator",b[i]=function(){return this},b.toString=function(){return"[object Generator]"},t.keys=function(t){var n=[];for(var r in t)n.push(r);return n.reverse(),function r(){for(;n.length;){var e=n.pop();if(e in t)return r.value=e,r.done=!1,r}return r.done=!0,r}},t.values=O,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var n in this)"t"===n.charAt(0)&&e.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,e){return u.type="throw",u.arg=t,n.next=r,e&&(n.method="next",n.arg=void 0),!!e}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=e.call(i,"catchLoc"),a=e.call(i,"finallyLoc");if(c&&a){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&e.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=n,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(u)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),f},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),f}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var e=r.completion;if("throw"===e.type){var o=e.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:O(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}("object"===n(t)?t.exports:{});try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(293)(t))},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,n){console.log(" __ __ __ __ \r\n/\\ \\/\\ \\ /\\ \\ __ /\\ \\ \r\n\\ \\ \\_\\ \\ __ __ \\_\\ \\ __ /\\_\\ __ ___ \\ \\ \\/'\\ \r\n \\ \\ _ \\ /\\ \\/\\ \\ /'_` \\ /'__`\\ \\/\\ \\ /'__`\\ /'___\\\\ \\ , < \r\n \\ \\ \\ \\ \\\\ \\ \\_\\ \\ /\\ \\L\\ \\ /\\ __/ \\ \\ \\ /\\ \\L\\.\\_ /\\ \\__/ \\ \\ \\\\`\\ \r\n \\ \\_\\ \\_\\\\/`____ \\\\ \\___,_\\\\ \\____\\ _\\ \\ \\\\ \\__/.\\_\\\\ \\____\\ \\ \\_\\ \\_\\\r\n \\/_/\\/_/ `/___/> \\\\/__,_ / \\/____//\\ \\_\\ \\\\/__/\\/_/ \\/____/ \\/_/\\/_/\r\n /\\___/ \\ \\____/ \r\n \\/__/ \\/___/ \n\n"),console.log("Powered by Hydejack v9.0.2 <https://hydejack.com/>")},function(t,n){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)}!function(t,n,e){var o=[],i={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!1},_q:[],on:function(t,n){var r=this;setTimeout((function(){n(r[t])}),0)},addTest:function(t,n,r){o.push({name:t,fn:n,options:r})},addAsyncTest:function(t){o.push({name:null,fn:t})}},u=function(){};u.prototype=i,u=new u;var c=t.CSS&&t.CSS.supports.bind(t.CSS)||t.supportsCSS;function a(t,n){return r(t)===n}u.addTest("customproperties",!!c&&(c("--f:0")||c("--f",0))),u.addTest("customelements","customElements"in t),u.addTest("customevent","CustomEvent"in t&&"function"==typeof t.CustomEvent),u.addTest("eventlistener","addEventListener"in t),u.addTest("queryselector","querySelector"in n&&"querySelectorAll"in n),u.addTest("history",(function(){var n=navigator.userAgent;return(-1===n.indexOf("Android 2.")&&-1===n.indexOf("Android 4.0")||-1===n.indexOf("Mobile Safari")||-1!==n.indexOf("Chrome")||-1!==n.indexOf("Windows Phone")||"file:"===location.protocol)&&(t.history&&"pushState"in t.history)})),u.addTest("promises",(function(){return"Promise"in t&&"resolve"in t.Promise&&"reject"in t.Promise&&"all"in t.Promise&&"race"in t.Promise&&(new t.Promise((function(t){n=t})),"function"==typeof n);var n}));var s=[];var f=i._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];i._prefixes=f;var l=n.documentElement;u.addTest("classlist","classList"in l),u.addTest("documentfragment",(function(){return"createDocumentFragment"in n&&"appendChild"in l}));var h="svg"===l.nodeName.toLowerCase();function p(){return"function"!=typeof n.createElement?n.createElement(arguments[0]):h?n.createElementNS.call(n,"http://www.w3.org/2000/svg",arguments[0]):n.createElement.apply(n,arguments)}function d(t){return t.replace(/([a-z])-([a-z])/g,(function(t,n,r){return n+r.toUpperCase()})).replace(/^-/,"")}function v(t,r,e,o){var i,u,c,a,s="modernizr",f=p("div"),d=function(){var t=n.body;return t||((t=p(h?"svg":"body")).fake=!0),t}();if(parseInt(e,10))for(;e--;)(c=p("div")).id=o?o[e]:s+(e+1),f.appendChild(c);return(i=p("style")).type="text/css",i.id="s"+s,(d.fake?d:f).appendChild(i),d.appendChild(f),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(n.createTextNode(t)),f.id=s,d.fake&&(d.style.background="",d.style.overflow="hidden",a=l.style.overflow,l.style.overflow="hidden",l.appendChild(d)),u=r(f,t),d.fake?(d.parentNode.removeChild(d),l.style.overflow=a,l.offsetHeight):f.parentNode.removeChild(f),!!u}u.addTest("opacity",(function(){var t=p("a").style;return t.cssText=f.join("opacity:.55;"),/^0.55$/.test(t.opacity)})),u.addTest("csspointerevents",(function(){var t=p("a").style;return t.cssText="pointer-events:auto","auto"===t.pointerEvents})),u.addTest("cssremunit",(function(){var t=p("a").style;try{t.fontSize="3rem"}catch(t){}return/rem/.test(t.fontSize)})),u.addTest("template","content"in p("template"));var y=i.testStyles=v;u.addTest("touchevents",(function(){var r;if("ontouchstart"in t||t.DocumentTouch&&n instanceof DocumentTouch)r=!0;else{var e=["@media (",f.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");y(e,(function(t){r=9===t.offsetTop}))}return r}));var b=i._config.usePrefixes?"Moz O ms Webkit".split(" "):[];i._cssomPrefixes=b;var m=function(n){var r,e=f.length,o=t.CSSRule;if(void 0!==o){if(!n)return!1;if((r=(n=n.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in o)return"@"+n;for(var i=0;i<e;i++){var u=f[i];if(u.toUpperCase()+"_"+r in o)return"@-"+u.toLowerCase()+"-"+n}return!1}};i.atRule=m;var g=i._config.usePrefixes?"Moz O ms Webkit".toLowerCase().split(" "):[];function w(t,n){return function(){return t.apply(n,arguments)}}function _(t){return t.replace(/([A-Z])/g,(function(t,n){return"-"+n.toLowerCase()})).replace(/^ms-/,"-ms-")}function S(n,r){var e=n.length;if("CSS"in t&&"supports"in t.CSS){for(;e--;)if(t.CSS.supports(_(n[e]),r))return!0;return!1}if("CSSSupportsRule"in t){for(var o=[];e--;)o.push("("+_(n[e])+":"+r+")");return v("@supports ("+(o=o.join(" or "))+") { #modernizr { position: absolute; } }",(function(n){return"absolute"==function(n,r,e){var o;if("getComputedStyle"in t){o=getComputedStyle.call(t,n,r);var i=t.console;if(null!==o)e&&(o=o.getPropertyValue(e));else if(i)i[i.error?"error":"log"].call(i,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}else o=!r&&n.currentStyle&&n.currentStyle[e];return o}(n,null,"position")}))}}i._domPrefixes=g;var x={elem:p("modernizr")};u._q.push((function(){delete x.elem}));var O={style:x.elem.style};function E(t,n,r,e,o){var i=t.charAt(0).toUpperCase()+t.slice(1),u=(t+" "+b.join(i+" ")+i).split(" ");return a(n,"string")||a(n,"undefined")?function(t,n,r,e){if(e=!a(e,"undefined")&&e,!a(r,"undefined")){var o=S(t,r);if(!a(o,"undefined"))return o}for(var i,u,c,s,f,l=["modernizr","tspan","samp"];!O.style&&l.length;)i=!0,O.modElem=p(l.shift()),O.style=O.modElem.style;function h(){i&&(delete O.style,delete O.modElem)}for(c=t.length,u=0;u<c;u++)if(s=t[u],f=O.style[s],~(""+s).indexOf("-")&&(s=d(s)),void 0!==O.style[s]){if(e||a(r,"undefined"))return h(),"pfx"!=n||s;try{O.style[s]=r}catch(t){}if(O.style[s]!=f)return h(),"pfx"!=n||s}return h(),!1}(u,n,e,o):function(t,n,r){var e;for(var o in t)if(t[o]in n)return!1===r?t[o]:a(e=n[t[o]],"function")?w(e,r||n):e;return!1}(u=(t+" "+g.join(i+" ")+i).split(" "),n,r)}function j(t,n,r){return E(t,void 0,void 0,n,r)}u._q.unshift((function(){delete O.style})),i.testAllProps=E,i.testAllProps=j,u.addTest("cssanimations",j("animationName","a",!0)),u.addTest("csstransforms",(function(){return-1===navigator.userAgent.indexOf("Android 2.")&&j("transform","scale(1)",!0)}));var P=i.prefixed=function(t,n,r){return 0===t.indexOf("@")?m(t):(-1!=t.indexOf("-")&&(t=d(t)),n?E(t,n,r):E(t,"pfx"))};u.addTest("requestanimationframe",!!P("requestAnimationFrame",t),{aliases:["raf"]}),u.addTest("matchmedia",!!P("matchMedia",t)),function(){var t,n,r,e,i,c;for(var f in o)if(o.hasOwnProperty(f)){if(t=[],(n=o[f]).name&&(t.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(r=0;r<n.options.aliases.length;r++)t.push(n.options.aliases[r].toLowerCase());for(e=a(n.fn,"function")?n.fn():n.fn,i=0;i<t.length;i++)1===(c=t[i].split(".")).length?u[c[0]]=e:(!u[c[0]]||u[c[0]]instanceof Boolean||(u[c[0]]=new Boolean(u[c[0]])),u[c[0]][c[1]]=e),s.push((e?"":"no-")+c.join("-"))}}(),delete i.addTest,delete i.addAsyncTest;for(var A=0;A<u._q.length;A++)u._q[A]();t.Modernizr=u}(window,document)},function(t,n,r){"use strict";r.r(n);var e,o=r(25),i=r(298),u=r(299);function c(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],e=!0,o=!1,i=void 0;try{for(var u,c=t[Symbol.iterator]();!(e=(u=c.next()).done)&&(r.push(u.value),!n||r.length!==n);e=!0);}catch(t){o=!0,i=t}finally{try{e||null==c.return||c.return()}finally{if(o)throw i}}return r}(t,n)||s(t,n)||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 a(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||s(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,n){if(t){if("string"==typeof t)return f(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(t,n):void 0}}function f(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}function l(t,n,r,e,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void r(t)}c.done?n(a):Promise.resolve(a).then(e,o)}(e=regeneratorRuntime.mark((function t(){var n,e,s,f,l,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=function(t,r){n&&!window._noPushState&&n.addEventListener("hy-push-state-load",(function(){return t(document.getElementById("_main"))}),r),t(document.getElementById("_main"))},e=function(t,r){n&&!window._noPushState&&n.addEventListener("hy-push-state-ready",(function(n){var r=c(n.detail.replaceEls,1)[0];return t(r)}),r),t(document.getElementById("_main"))},t.next=4,Promise.all([].concat(a("animate"in Element.prototype?[]:[r.e(13).then(r.t.bind(null,301,7))]),a("IntersectionObserver"in window?[]:[r.e(10).then(r.t.bind(null,302,7))])));case 4:return t.next=6,o.s;case 6:if(n=document.querySelector("hy-push-state"),e((function(t){if(t){t.querySelectorAll("h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]").forEach((function(t){var n=Object(o.l)("_permalink-template");n.querySelector(".permalink").href="#".concat(t.id),t.appendChild(n)}));var n=t.querySelector("#markdown-toc");n&&n.classList.add("toc-hide"),"complete"in HTMLImageElement.prototype&&t.querySelectorAll("img[width][height][loading=lazy]").forEach((function(t){t.complete||(t.style.opacity="0",t.addEventListener("load",(function(){return t.animate([{opacity:0},{opacity:1}],{fill:"forwards",duration:500,easing:"ease"})}),{once:!0}))}))}})),f=null,s((function(){var t,n=document.getElementById("_main");if(n){var r=n.querySelector("#markdown-toc");r&&(r.classList.remove("toc-hide"),r.classList.add("toc-show")),n.querySelectorAll("li[id^='fn:']").forEach((function(t){return t.tabIndex=0})),n.querySelectorAll("a[href^='#fn:']").forEach((function(t){return t.addEventListener("click",(function(t){var n;return null===(n=document.getElementById(t.currentTarget.getAttribute("href").substr(1)))||void 0===n?void 0:n.focus()}))})),n.querySelectorAll('pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"]').forEach((function(t){return t.addEventListener("touchstart",(function(n){return t.scrollLeft>0&&n.stopPropagation()}),{passive:!1})}));var e=null===(t=document.getElementById("_katexPreload"))||void 0===t?void 0:t.href;!f&&e&&Object(o.m)(n.querySelectorAll(".katex"),{rootMargin:"1440px"}).then((function(){f=Object(o.q)(e)}))}})),l=document.getElementById("_MathJax"),!n||!l){t.next=25;break}if((h=function(t){var n=c(t.detail.replaceEls,1)[0];n.querySelectorAll('script[type="math/tex; mode=display"]').forEach((function(t){t.outerHTML=t.innerText.replace("% <![CDATA[","\\[").replace("%]]>","\\]")})),n.querySelectorAll('script[type="math/tex"]').forEach((function(t){t.outerHTML="\\(".concat(t.innerText,"\\)")}))})({detail:{replaceEls:[document]}}),"MathJax"in window){t.next=22;break}return t.next=22,Object(o.r)(l,"load");case 22:return t.next=24,MathJax.typesetPromise();case 24:window._noPushState||(n.addEventListener("ready",(function(t){return h(t)})),Object(i.a)(n,"after").pipe(Object(u.a)((function(){return MathJax.typesetPromise()}))).subscribe());case 25:case"end":return t.stop()}}),t)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(t){l(i,r,o,u,c,"next",t)}function c(t){l(i,r,o,u,c,"throw",t)}u(void 0)}))})()},function(t,n,r){"use strict";r.d(n,"a",(function(){return u}));var e=r(1),o=r(9),i=r(115);function u(t,n){return void 0===n&&(n=i.a),function(r){return r.lift(new c(t,n))}}var c=function(){function t(t,n){this.dueTime=t,this.scheduler=n}return t.prototype.call=function(t,n){return n.subscribe(new a(t,this.dueTime,this.scheduler))},t}(),a=function(t){function n(n,r,e){var o=t.call(this,n)||this;return o.dueTime=r,o.scheduler=e,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return Object(e.e)(n,t),n.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(s,this.dueTime,this))},n.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},n.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},n.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},n}(o.a);function s(t){t.debouncedNext()}},function(t,n,r){"use strict";r.d(n,"a",(function(){return c}));var e=r(5),o=r(68),i=r(32),u=r(31);function c(t,n,r,a){return Object(i.a)(r)&&(a=r,r=void 0),a?c(t,n,r).pipe(Object(u.a)((function(t){return Object(o.a)(t)?a.apply(void 0,t):a(t)}))):new e.a((function(e){!function t(n,r,e,o,i){var u;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(n)){var c=n;n.addEventListener(r,e,i),u=function(){return c.removeEventListener(r,e,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(n)){var a=n;n.on(r,e),u=function(){return a.off(r,e)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(n)){var s=n;n.addListener(r,e),u=function(){return s.removeListener(r,e)}}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(var f=0,l=n.length;f<l;f++)t(n[f],r,e,o,i)}o.add(u)}(t,n,(function(t){arguments.length>1?e.next(Array.prototype.slice.call(arguments)):e.next(t)}),e,r)}))}},function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(65);function o(t,n){return"function"==typeof n?Object(e.a)(t,n,1):Object(e.a)(t,1)}}]);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* __ __ __ __
|
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
|
9
|
-
* /\___/ \ \____/
|
|
10
|
-
* \/__/ \/___/
|
|
11
|
-
*
|
|
12
|
-
* Powered by Hydejack v9.0.2 <https://hydejack.com/>
|
|
13
|
-
*/
|
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{304:function(t,n,e){"use strict";e.r(n);var r=e(298),o=e(321),i=e(31),c=e(151),u=e(338),s=e(148),a=e(297),l=e(322),f=e(323),b=e(324),h=e(1);function p(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return function(n){return n.lift.call(o.a.apply(void 0,Object(h.g)([n],t)),void 0)}}var v,d=e(152),y=e(25);function j(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var e=[],r=!0,o=!1,i=void 0;try{for(var c,u=t[Symbol.iterator]();!(r=(c=u.next()).done)&&(e.push(c.value),!n||e.length!==n);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return e}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return w(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return w(t,n)}(t,n)||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(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function O(t,n,e,r,o,i,c){try{var u=t[i](c),s=u.value}catch(t){return void e(t)}u.done?n(s):Promise.resolve(s).then(r,o)}(v=regeneratorRuntime.mark((function t(){var n,e,h,v,w,O,_,m;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y.s;case 2:if(n=document.getElementById("_navbar")){t.next=5;break}return t.abrupt("return");case 5:e=n.clientHeight,h=0,v=y.j?new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]):null,w=function(){var t;return!(null===(t=document.activeElement)||void 0===t?void 0:t.classList.contains("nav-btn"))},O=Object(r.a)(window,"hashchange").pipe(Object(i.a)((function(t){return new URL(t.newURL).hash})),Object(c.a)((function(t){return""!==t&&"#_search-input"!==t})),Object(u.a)()),_=O.pipe(Object(s.a)((function(){return Object(r.a)(document,"scroll").pipe(Object(a.a)(50),Object(l.a)(!0),Object(f.a)(!1))})),Object(f.a)(!0)),m=Object(o.a)(Object(r.a)(n,"focus",{capture:!0}).pipe(Object(l.a)(2*e)),O.pipe(Object(l.a)(-2*e))),Object(r.a)(document,"scroll",{passive:!0}).pipe(Object(y.f)(_),Object(i.a)(y.h),Object(c.a)((function(t){return t>=0})),Object(b.a)(),Object(i.a)((function(t){var n=j(t,2);return n[0]-n[1]})),Object(c.a)(w),p(m),Object(d.a)((function(t){h+=t,h=Math.max(-e,Math.min(0,h)),y.j?(v[0].y.value=h,n.attributeStyleMap.set("transform",v)):n.style.transform="translateY(".concat(h,"px)")}))).subscribe();case 13:case"end":return t.stop()}}),t)})),function(){var t=this,n=arguments;return new Promise((function(e,r){var o=v.apply(t,n);function i(t){O(o,e,r,i,c,"next",t)}function c(t){O(o,e,r,i,c,"throw",t)}i(void 0)}))})()},310:function(t,n,e){"use strict";e.d(n,"b",(function(){return l})),e.d(n,"a",(function(){return f}));var r=e(1),o=e(5),i=e(9),c=e(13),u=e(313),s=function(t){function n(n,e){var r=t.call(this)||this;return r.subject=n,r.subscriber=e,r.closed=!1,r}return Object(r.e)(n,t),n.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,n=t.observers;if(this.subject=null,n&&0!==n.length&&!t.isStopped&&!t.closed){var e=n.indexOf(this.subscriber);-1!==e&&n.splice(e,1)}}},n}(c.a),a=e(63),l=function(t){function n(n){var e=t.call(this,n)||this;return e.destination=n,e}return Object(r.e)(n,t),n}(i.a),f=function(t){function n(){var n=t.call(this)||this;return n.observers=[],n.closed=!1,n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return Object(r.e)(n,t),n.prototype[a.a]=function(){return new l(this)},n.prototype.lift=function(t){var n=new b(this,this);return n.operator=t,n},n.prototype.next=function(t){if(this.closed)throw new u.a;if(!this.isStopped)for(var n=this.observers,e=n.length,r=n.slice(),o=0;o<e;o++)r[o].next(t)},n.prototype.error=function(t){if(this.closed)throw new u.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var n=this.observers,e=n.length,r=n.slice(),o=0;o<e;o++)r[o].error(t);this.observers.length=0},n.prototype.complete=function(){if(this.closed)throw new u.a;this.isStopped=!0;for(var t=this.observers,n=t.length,e=t.slice(),r=0;r<n;r++)e[r].complete();this.observers.length=0},n.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},n.prototype._trySubscribe=function(n){if(this.closed)throw new u.a;return t.prototype._trySubscribe.call(this,n)},n.prototype._subscribe=function(t){if(this.closed)throw new u.a;return this.hasError?(t.error(this.thrownError),c.a.EMPTY):this.isStopped?(t.complete(),c.a.EMPTY):(this.observers.push(t),new s(this,t))},n.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},n.create=function(t,n){return new b(t,n)},n}(o.a),b=function(t){function n(n,e){var r=t.call(this)||this;return r.destination=n,r.source=e,r}return Object(r.e)(n,t),n.prototype.next=function(t){var n=this.destination;n&&n.next&&n.next(t)},n.prototype.error=function(t){var n=this.destination;n&&n.error&&this.destination.error(t)},n.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},n.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):c.a.EMPTY},n}(f)},313:function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},321:function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var r=e(5),o=e(113),i=e(117),c=e(114);function u(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=Number.POSITIVE_INFINITY,u=void 0,s=t[t.length-1];return Object(o.a)(s)?(u=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof s&&(e=t.pop()),!u&&1===t.length&&t[0]instanceof r.a?t[0]:Object(i.a)(e)(Object(c.a)(t,u))}},322:function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(1),o=e(9);function i(t){return function(n){return n.lift(new c(t))}}var c=function(){function t(t){this.value=t}return t.prototype.call=function(t,n){return n.subscribe(new u(t,this.value))},t}(),u=function(t){function n(n,e){var r=t.call(this,n)||this;return r.value=e,r}return Object(r.e)(n,t),n.prototype._next=function(t){this.destination.next(this.value)},n}(o.a)},323:function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(118),o=e(113);function i(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=t[t.length-1];return Object(o.a)(e)?(t.pop(),function(n){return Object(r.a)(t,n,e)}):function(n){return Object(r.a)(t,n)}}},324:function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(1),o=e(9);function i(){return function(t){return t.lift(new c)}}var c=function(){function t(){}return t.prototype.call=function(t,n){return n.subscribe(new u(t))},t}(),u=function(t){function n(n){var e=t.call(this,n)||this;return e.hasPrev=!1,e}return Object(r.e)(n,t),n.prototype._next=function(t){var n;this.hasPrev?n=[this.prev,t]:this.hasPrev=!0,this.prev=t,n&&this.destination.next(n)},n}(o.a)},338:function(t,n,e){"use strict";e.d(n,"a",(function(){return j}));var r=e(1),o=e(310),i=e(5),c=e(9),u=e(13);function s(){return function(t){return t.lift(new l(t))}}var a,l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,n){var e=this.connectable;e._refCount++;var r=new f(t,e),o=n.subscribe(r);return r.closed||(r.connection=e.connect()),o},t}(),f=function(t){function n(n,e){var r=t.call(this,n)||this;return r.connectable=e,r.connection=null,r}return Object(r.e)(n,t),n.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var n=t._refCount;if(n<=0)this.connection=null;else if(t._refCount=n-1,n>1)this.connection=null;else{var e=this.connection,r=t._connection;this.connection=null,!r||e&&r!==e||r.unsubscribe()}}else this.connection=null},n}(c.a),b=function(t){function n(n,e){var r=t.call(this)||this;return r.source=n,r.subjectFactory=e,r._refCount=0,r._isComplete=!1,r}return Object(r.e)(n,t),n.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},n.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},n.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new u.a).add(this.source.subscribe(new p(this.getSubject(),this))),t.closed&&(this._connection=null,t=u.a.EMPTY)),t},n.prototype.refCount=function(){return s()(this)},n}(i.a),h={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(a=b.prototype)._subscribe},_isComplete:{value:a._isComplete,writable:!0},getSubject:{value:a.getSubject},connect:{value:a.connect},refCount:{value:a.refCount}},p=function(t){function n(n,e){var r=t.call(this,n)||this;return r.connectable=e,r}return Object(r.e)(n,t),n.prototype._error=function(n){this._unsubscribe(),t.prototype._error.call(this,n)},n.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},n.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var n=t._connection;t._refCount=0,t._subject=null,t._connection=null,n&&n.unsubscribe()}},n}(o.b),v=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,n){var e=this.connectable;e._refCount++;var r=new v(t,e),o=n.subscribe(r);return r.closed||(r.connection=e.connect()),o}}(),function(t){function n(n,e){var r=t.call(this,n)||this;return r.connectable=e,r}return Object(r.e)(n,t),n.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var n=t._refCount;if(n<=0)this.connection=null;else if(t._refCount=n-1,n>1)this.connection=null;else{var e=this.connection,r=t._connection;this.connection=null,!r||e&&r!==e||r.unsubscribe()}}else this.connection=null},n}(c.a));var d=function(){function t(t,n){this.subjectFactory=t,this.selector=n}return t.prototype.call=function(t,n){var e=this.selector,r=this.subjectFactory(),o=e(r).subscribe(t);return o.add(n.subscribe(r)),o},t}();function y(){return new o.a}function j(){return function(t){return s()((n=y,function(t){var r;if(r="function"==typeof n?n:function(){return n},"function"==typeof e)return t.lift(new d(r,e));var o=Object.create(t,h);return o.source=t,o.subjectFactory=r,o})(t));var n,e}}}}]);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* __ __ __ __
|
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
|
9
|
-
* /\___/ \ \____/
|
|
10
|
-
* \/__/ \/___/
|
|
11
|
-
*
|
|
12
|
-
* Powered by Hydejack v9.0.2 <https://hydejack.com/>
|
|
13
|
-
*/
|
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{303:function(e,t,n){"use strict";n.r(t);var r=n(298),o=n(321),i=n(346),a=n(351),u=n(322),c=n(31),l=n(323),s=n(152),p=n(338),f=n(347),b=n(148),d=n(343),y=n(324),m=n(65),v=n(25),h=n(64),O=n(319),j=n(345),g=n(342);function w(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,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return S(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 S(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 S(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 F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(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 C=/url[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\(["']?(((?:[\0-!#-&\(-\[\]-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])|\\(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))*)["']?\)/,A=function(e){var t,n=e.querySelector(".sidebar-bg"),r=e.querySelector("#_pageStyle");return[null==r||null===(t=r.innerText)||void 0===t?void 0:t.trim(),null==n?void 0:n.classList,null==n?void 0:n.style.backgroundImage].join("\n")};var P=new WeakMap,I=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sidebar=document.getElementById("_sidebar"),this.fadeDuration=t,this.prevHash=A(document),this.themeColorEl=document.querySelector('meta[name="theme-color"]')}var t,n,r;return t=e,(n=[{key:"fetchImage2",value:function(e){var t,n,r=(null!==(t=null===(n=e.querySelector(".sidebar-bg"))||void 0===n?void 0:n.style)&&void 0!==t?t:{}).backgroundImage,o=void 0===r?"":r,i=C.exec(o);if(!i)return Object(h.a)("");var a=new URL(i[1],window.location.origin);return Object(v.e)(a.href,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(Object(n),!0).forEach((function(t){D(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({method:"GET",headers:{Accept:"image/*"}},function(e){var t=e.protocol,n=e.host,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return t!==r.protocol||n!==r.host}(a)?{mode:"cors"}:{})).pipe(Object(b.a)((function(e){return e.blob()})),Object(c.a)((function(e){return URL.createObjectURL(e)})),Object(j.a)((function(){return Object(h.a)(a.href)})))}},{key:"fetchImage",value:function(e){var t=A(e);return t===this.prevHash?Object(O.b)():this.fetchImage2(e).pipe(Object(c.a)((function(n){var r,o=null!==(r=e.querySelector(".sidebar-bg"))&&void 0!==r?r:document.createElement("div");return n&&(o.style.backgroundImage="url(".concat(n,")"),P.set(o,n)),[o,t,e]})))}},{key:"updateStyle",value:function(e){var t=this;if(this.themeColorEl){var n,r=null===(n=e.head.querySelector('meta[name="theme-color"]'))||void 0===n?void 0:n.content;r&&window.setTimeout((function(){t.themeColorEl&&(t.themeColorEl.content=r)}),250)}try{var o,i=document.getElementById("_pageStyle"),a=e.getElementById("_pageStyle");if(!a)return;null==i||null===(o=i.parentNode)||void 0===o||o.replaceChild(a,i)}catch(e){}}},{key:"fade",value:function(e,t){var n,r=w(e,1)[0],o=w(t,3),i=o[0],a=o[1],u=o[2];return null==r||null===(n=r.parentNode)||void 0===n||n.insertBefore(i,r.nextElementSibling),this.updateStyle(u),this.prevHash=a,Object(v.c)(i,[{opacity:0},{opacity:1}],{duration:this.fadeDuration,easing:"ease"}).pipe(Object(g.a)((function(){var e;P.has(r)&&URL.revokeObjectURL(P.get(r)),null==r||null===(e=r.parentNode)||void 0===e||e.removeChild(r)})))}}])&&E(t.prototype,n),r&&E(t,r),e}(),k=n(151);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 n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return B(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 B(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 B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var q,T=["title"];function _(e,t,n,r){var a=e.pipe(Object(k.a)((function(e){var t=e.flipType;return!T.includes(t)})));return Object(o.a)(function(e,t,n,r){var o=r.animationMain,a=r.settings;if(!o)return e;var u=e.pipe(Object(k.a)((function(e){return"title"===e.flipType})),Object(b.a)((function(e){var t=e.anchor;if(!t)return Object(h.a)({});var n=document.createElement("h1");n.classList.add("page-title"),n.textContent=t.textContent,n.style.transformOrigin="left top";var r=o.querySelector(".page");if(!r)return Object(h.a)({});v.d.call(r),r.appendChild(n),o.style.position="fixed",o.style.opacity=1;var i=t.getBoundingClientRect(),u=n.getBoundingClientRect(),c=parseInt(getComputedStyle(t).fontSize,10),l=parseInt(getComputedStyle(n).fontSize,10),p=i.left-u.left,f=i.top-u.top,b=c/l;t.style.opacity=0;var d=[{transform:"translate3d(".concat(p,"px, ").concat(f,"px, 0) scale(").concat(b,")")},{transform:"translate3d(0, 0, 0) scale(1)"}];return Object(v.c)(n,d,a).pipe(Object(s.a)({complete:function(){o.style.position="absolute"}}))})));return e.pipe(Object(b.a)((function(e){var r=e.flipType;return Object(i.a)(t.pipe(Object(k.a)((function(){return"title"===r})),Object(c.a)((function(e){var t=x(e.replaceEls,1)[0].querySelector(".page-title, .post-title");return t&&(t.style.opacity=0),t}))),n,(function(e){return e})).pipe(Object(s.a)((function(e){e&&(e.style.opacity=1),o.style.opacity=0})),Object(g.a)((function(){o.style.opacity=0})))}))).subscribe(),u}(e,t,n,r),a)}function L(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,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||H(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 U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){M(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N(e){return function(e){if(Array.isArray(e))return $(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||H(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 H(e,t){if(e){if("string"==typeof e)return $(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)?$(e,t):void 0}}function $(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 z(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}(q=regeneratorRuntime.mark((function e(){var t,h,O,j,g,w,S,F,D,E,C,A,P,k,x,B,q,T,U,M,H,$,z,J,Y,G,W,K,Q,V,X,Z,ee;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return E=function(e){var t;return(null==e?void 0:e.classList.contains("flip-title"))?"title":(null==e?void 0:e.classList.contains("flip-project"))?"project":null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"data-flip")},D=function(){var e,t=Object(v.l)("_back-template"),n=null==t?void 0:t.children[0];return null==t||null===(e=t.querySelector(".nav-btn"))||void 0===e||e.addEventListener("click",(function(){return window.history.back()})),n},F=function(e,t){var n=t.pathname,r=Object(v.l)("_error-template"),o=null==r?void 0:r.querySelector(".this-link");return o&&(o.href=n,o.textContent=n),null==e||e.appendChild(r),null==e?void 0:e.lastElementChild},S=function(e){return null==e||e.appendChild(Object(v.l)("_loading-template")),null==e?void 0:e.lastElementChild},w=function(e){var t;return null==e||null===(t=e.parentNode)||void 0===t||t.insertBefore(Object(v.l)("_animation-template"),e),null==e?void 0:e.previousElementSibling},e.next=7,Promise.all([].concat(N("fetch"in window?[]:[Promise.all([n.e(9),n.e(2)]).then(n.bind(null,348))]),N("customElements"in window?[]:[Promise.all([n.e(14),n.e(15)]).then(n.bind(null,325))]),N("animate"in Element.prototype?[]:[n.e(13).then(n.t.bind(null,301,7))]),N("IntersectionObserver"in window?[]:[n.e(10).then(n.t.bind(null,302,7))])));case 7:return e.next=9,v.t;case 9:if(t="#_navbar > .content > .nav-btn-bar",h="(display-mode: standalone)",O=2e3,j=[{opacity:1},{opacity:0}],g=[{opacity:0,transform:"translateY(-3rem)"},{opacity:1,transform:"translateY(0)"}],C=document.querySelector("hy-push-state")){e.next=17;break}return e.abrupt("return");case 17:A=Number(C.getAttribute("duration"))||350,P={duration:A,easing:"ease"},k=function(e){var t=e.main;return Object(v.c)(t,j,R(R({},P),{},{fill:"forwards"})).pipe(Object(u.a)({main:t}))},x=function(e){var t=L(e.replaceEls,1)[0],n=e.flipType;return Object(v.c)(t,g,P).pipe(Object(u.a)({main:t,flipType:n}))},B=document.querySelector("hy-drawer"),q=document.querySelector(t),T=w(C),U=S(q),M=D(),q&&M&&(H=window.matchMedia(h),$=!!navigator.standalone||H.matches,Object(v.g)(H).pipe(Object(c.a)((function(e){return e.matches})),Object(l.a)($)).pipe(Object(s.a)((function(e){e?q.prepend(M):M.parentNode===q&&q.removeChild(M)}))).subscribe()),J=(z=function(e,t){return Object(r.a)(C,e).pipe(Object(c.a)((function(e){return e.detail})),t?Object(c.a)(t):function(e){return e},Object(p.a)())})("hy-push-state-start",(function(e){return Object.assign(e,{flipType:E(e.anchor)})})),Y=z("hy-push-state-ready"),G=z("hy-push-state-after"),W=z("hy-push-state-progress"),K=z("hy-push-state-networkerror"),Q=J.pipe(Object(c.a)((function(e){return Object.assign(e,{main:document.getElementById("_main")})})),Object(s.a)((function(e){e.main.style.pointerEvents="none"})),window._noDrawer&&(null==B?void 0:B.classList.contains("cover"))?Object(s.a)((function(){var e;B.classList.remove("cover"),null===(e=B.parentNode)||void 0===e||e.appendChild(B)})):function(e){return e},Object(f.a)(k),Object(s.a)((function(e){var t=e.main;return v.d.call(t)})),Object(p.a)()),U&&(W.subscribe((function(){U.style.display="flex"})),Y.subscribe((function(){U.style.display="none"}))),V=G.pipe(Object(b.a)((function(e){var t=x(e).toPromise();return e.transitionUntil(t),t})),Object(p.a)()),X=_(J,Y,Object(o.a)(V,K),{animationMain:T,settings:P}).pipe(Object(p.a)()),J.pipe(Object(b.a)((function(e){var t=Object(i.a)(Object(a.a)(A),Q,X).toPromise();return e.transitionUntil(t),t}))).subscribe(),Q.subscribe(),X.subscribe(),(Z=document.querySelector(".sidebar-bg"))&&(ee=new I(O),G.pipe(Object(b.a)((function(e){var t=e.document;return Object(i.a)(ee.fetchImage(t),V).pipe(Object(c.a)((function(e){return L(e,1)[0]})),Object(d.a)(J))})),Object(l.a)([Z]),Object(y.a)(),Object(m.a)((function(e){var t=L(e,2),n=t[0],r=t[1];return ee.fade(n,r)}))).subscribe()),K.pipe(Object(b.a)((function(e){var t=e.url;U&&(U.style.display="none");var n=document.getElementById("_main");return n&&(n.style.pointerEvents=""),v.d.call(null==T?void 0:T.querySelector(".page")),v.d.call(n),F(n,t),Object(v.c)(n,g,R(R({},P),{},{fill:"forwards"}))}))).subscribe(),Promise.resolve().then(n.bind(null,336)),window._pushState=C;case 45:case"end":return e.stop()}}),e)})),function(){var e=this,t=arguments;return new Promise((function(n,r){var o=q.apply(e,t);function i(e){z(o,n,r,i,a,"next",e)}function a(e){z(o,n,r,i,a,"throw",e)}i(void 0)}))})()}}]);
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* __ __ __ __
|
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
|
9
|
-
* /\___/ \ \____/
|
|
10
|
-
* \/__/ \/___/
|
|
11
|
-
*
|
|
12
|
-
* Powered by Hydejack v9.0.2 <https://hydejack.com/>
|
|
13
|
-
*/
|
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{337:function(t,e,n){"use strict";n.r(e),n.d(e,"HyDrawer",(function(){return Yt}));var r=n(318),i=n(307);function o(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,u=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){u=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw o}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
|
|
15
|
-
/**
|
|
16
|
-
* @license
|
|
17
|
-
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
|
18
|
-
* This code may only be used under the BSD style license found at
|
|
19
|
-
* http://polymer.github.io/LICENSE.txt
|
|
20
|
-
* The complete set of authors may be found at
|
|
21
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
22
|
-
* The complete set of contributors may be found at
|
|
23
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
24
|
-
* Code distributed by Google as part of the polymer project is also
|
|
25
|
-
* subject to an additional IP rights grant found at
|
|
26
|
-
* http://polymer.github.io/PATENTS.txt
|
|
27
|
-
*/
|
|
28
|
-
var u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.classes=new Set,this.changed=!1,this.element=e;var n,r=o((e.getAttribute("class")||"").split(/\s+/));try{for(r.s();!(n=r.n()).done;){var i=n.value;this.classes.add(i)}}catch(t){r.e(t)}finally{r.f()}}var e,n,r;return e=t,(n=[{key:"add",value:function(t){this.classes.add(t),this.changed=!0}},{key:"remove",value:function(t){this.classes.delete(t),this.changed=!0}},{key:"commit",value:function(){if(this.changed){var t="";this.classes.forEach((function(e){return t+=e+" "})),this.element.setAttribute("class",t)}}}])&&c(e.prototype,n),r&&c(e,r),t}(),s=new WeakMap,l=Object(i.c)((function(t){return function(e){if(!(e instanceof i.a)||e instanceof i.b||"class"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var n=e.committer,r=n.element,o=s.get(e);void 0===o&&(r.setAttribute("class",n.strings.join(" ")),s.set(e,o=new Set));var a=r.classList||new u(r);for(var c in o.forEach((function(e){e in t||(a.remove(e),o.delete(e))})),t){var l=t[c];l!=o.has(c)&&(l?(a.add(c),o.add(c)):(a.remove(c),o.delete(c)))}"function"==typeof a.commit&&a.commit()}})),f=new WeakMap,p=Object(i.c)((function(t){return function(e){if(!(e instanceof i.a)||e instanceof i.b||"style"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var n=e.committer,r=n.element.style,o=f.get(e);for(var a in void 0===o&&(r.cssText=n.strings.join(" "),f.set(e,o=new Set)),o.forEach((function(e){e in t||(o.delete(e),-1===e.indexOf("-")?r[e]=null:r.removeProperty(e))})),t)o.add(a),-1===a.indexOf("-")?r[a]=t[a]:r.setProperty(a,t[a])}})),h=n(341),b=n(339),d=n(321),v=n(298),y=n(149),g=n(344),m=n(310),O=n(31),j=n(338),w=n(150),S=n(152),x=n(1),k=n(47),_=n(46);function E(t){return function(e){return e.lift(new T(t))}}var T=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new C(t),r=e.subscribe(n);return r.add(Object(_.a)(n,this.notifier)),r},t}(),C=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return Object(x.e)(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(k.a),A=n(115);function R(t){return void 0===t&&(t=A.a),Object(O.a)((function(e){return new I(e,t.now())}))}var I=function(t,e){this.value=t,this.timestamp=e},$=n(324),P=n(151),V=n(323),M=n(148),D=n(342),X=n(343),z=n(9);function B(t){return function(e){return e.lift(new W(t))}}var W=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new N(t,this.total))},t}(),N=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return Object(x.e)(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(z.a),U=n(305),Y=n(64);function F(t,e,n,r){return n*Math.sin(t/r*(Math.PI/2))+e}function J(t){return("ResizeObserver"in window?Object(U.e)(t):Object(Y.a)({contentRect:{width:t.clientWidth}})).pipe(Object(O.a)((function(t){return t.contentRect.width})))}var H={fromAttribute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.replace(/[\[\]]/g,"").split(",").map(Number)},toAttribute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.join(",")}};var L=n(322),q=n(349);var G=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new K(t,this.notifier,e))},t}(),K=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i.notifications=null,i.retries=null,i.retriesSubscription=null,i.sourceIsBeingSubscribedTo=!0,i}return Object(x.e)(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,t.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){var e;this.notifications=new m.a;try{e=(0,this.notifier)(this.notifications)}catch(e){return t.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=Object(_.a)(this,e)},e}(k.a);var Q=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new Z(t,this.predicate))},t}(),Z=function(t){function e(e,n){var r=t.call(this,e)||this;return r.predicate=n,r.skipping=!0,r.index=0,r}return Object(x.e)(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(z.a);function tt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return et(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return et(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function et(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function nt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var rt=Math.abs.bind(Math),it=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,(n=[{key:"getStartObservable",value:function(){return Object(b.a)(this.$.mouseEvents).pipe(Object(M.a)((function(t){var e=tt(t,1)[0],n=Object(v.a)(document,"touchstart",{passive:!0}).pipe(Object(P.a)((function(t){return 1===t.touches.length})),Object(O.a)((function(t){return t.touches[0]}))),r=e?Object(v.a)(document,"mousedown").pipe(Object(O.a)((function(t){return t.event=t,t}))):y.a;return Object(d.a)(n,r)})))}},{key:"getMoveObservable",value:function(t,e){return Object(b.a)(this.$.mouseEvents,this.$.preventDefault).pipe(Object(M.a)((function(n){var r=tt(n,2),i=r[0],o=r[1],a=Object(v.a)(document,"touchmove",{passive:!o}).pipe(Object(O.a)((function(t){return t.touches[0].event=t,t.touches[0]}))),c=i?Object(v.a)(document,"mousemove",{passive:!o}).pipe(Object(U.l)(Object(d.a)(t.pipe(Object(L.a)(!0)),e.pipe(Object(L.a)(!1)))),Object(O.a)((function(t){return t.event=t,t}))):y.a;return Object(d.a)(a,c)})))}},{key:"getEndObservable",value:function(){return Object(b.a)(this.$.mouseEvents).pipe(Object(M.a)((function(t){var e=tt(t,1)[0],n=Object(v.a)(document,"touchend",{passive:!0}).pipe(Object(P.a)((function(t){return 0===t.touches.length})),Object(O.a)((function(t){return t.changedTouches[0]}))),r=e?Object(v.a)(document,"mouseup",{passive:!0}):y.a;return Object(d.a)(n,r)})))}},{key:"getIsSlidingObservable",value:function(t,e,n){return this.getIsSlidingObservableInner(t,e).pipe(Object(q.a)(1),Object(V.a)(void 0),(r=function(){return n},function(t){return t.lift(new G(r))}));var r}},{key:"getIsSlidingObservableInner",value:function(t,e){var n,r=this;return this.threshold?t.pipe(Object(w.a)(e),(n=function(t){var e=tt(t,2),n=e[0],i=n.clientX,o=n.clientY,a=e[1],c=a.clientX,u=a.clientY;return rt(u-o)<r.threshold&&rt(c-i)<r.threshold},function(t){return t.lift(new Q(n))}),Object(O.a)((function(t){var e=tt(t,2),n=e[0],r=n.clientX,i=n.clientY,o=e[1],a=o.clientX,c=o.clientY;return rt(a-r)>=rt(c-i)}))):t.pipe(Object(w.a)(e),Object(O.a)((function(t){var e=tt(t,2),n=e[0],i=n.clientX,o=n.clientY,a=n.event,c=e[1],u=c.clientX,s=c.clientY,l=rt(u-i)>=rt(s-o);return r.noScroll&&l&&a.preventDefault(),l})))}}])&&nt(e.prototype,n),r&&nt(e,r),t}();function ot(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return at(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return at(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function at(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ct(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var ut=Math.min.bind(Math),st=Math.max.bind(Math),lt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,(n=[{key:"calcIsInRange",value:function(t,e){var n=t.clientX;switch(this.side){case"left":var r=ot(this.range,2),i=r[0],o=r[1];return n>i&&(e||n<o);case"right":var a=window.innerWidth-this.range[0],c=window.innerWidth-this.range[1];return n<a&&(e||n>c);default:throw Error()}}},{key:"calcIsSwipe",value:function(t,e,n,r,i){var o=t.clientX;return e.clientX!==o||n>0&&n<r}},{key:"calcWillOpen",value:function(t,e,n,r,i){switch(this.side){case"left":return i>.15||!(i<-.15)&&n>=r/2;case"right":return-i>.15||!(-i<-.15)&&n<=-r/2;default:throw Error()}}},{key:"calcTranslateX",value:function(t,e,n,r){var i=t.clientX,o=e.clientX;switch(this.side){case"left":return st(0,ut(r,n+(i-o)));case"right":return ut(0,st(-r,n+(i-o)));default:throw Error()}}}])&&ct(e.prototype,n),r&&ct(e,r),t}();function ft(t){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ht(t,e)}function ht(t,e){return(ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function bt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=vt(t);if(e){var i=vt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return dt(this,n)}}function dt(t,e){return!e||"object"!==ft(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function vt(t){return(vt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function yt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function mt(t,e,n){return e&>(t.prototype,e),n&>(t,n),t}var Ot=function(){function t(){yt(this,t)}return mt(t,[{key:"updateDOM",value:function(t,e){var n=t/e*("left"===this.side?1:-1)||0;this.translateX=t,this.opacity=n,this.updater.updateDOM(t,n)}}]),t}(),jt=function(){function t(e){yt(this,t),this.parent=e}return mt(t,[{key:"contentEl",get:function(){return this.parent.contentEl}},{key:"scrimEl",get:function(){return this.parent.scrimEl}}],[{key:"getUpdaterForPlatform",value:function(t){return"attributeStyleMap"in Element.prototype&&"CSS"in window&&"number"in CSS?new St(t):new wt(t)}}]),t}(),wt=function(t){pt(n,t);var e=bt(n);function n(t){return yt(this,n),e.call(this,t)}return mt(n,[{key:"updateDOM",value:function(t,e){this.contentEl.style.transform="translate(".concat(t,"px, 0px)"),this.scrimEl.style.opacity="".concat(e)}}]),n}(jt),St=function(t){pt(n,t);var e=bt(n);function n(t){var r;return yt(this,n),(r=e.call(this,t)).tvalue=new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]),r.ovalue=CSS.number(1),r}return mt(n,[{key:"updateDOM",value:function(t,e){this.tvalue[0].x.value=t,this.ovalue.value=e,this.contentEl.attributeStyleMap.set("transform",this.tvalue),this.scrimEl.attributeStyleMap.set("opacity",this.ovalue)}}]),n}(jt);function xt(){var t=function(t,e){e||(e=t.slice(0));return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n @media screen {\n :host {\n touch-action: pan-x;\n }\n\n .full-screen {\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n }\n\n .full-height {\n position: fixed;\n top: 0;\n height: 100vh;\n }\n\n .peek {\n left: 0;\n width: var(--hy-drawer-peek-width, 0px);\n visibility: hidden;\n z-index: calc(var(--hy-drawer-z-index, 100) - 1);\n }\n\n .scrim {\n position: fixed;\n top: 0;\n left: 0;\n height: 10vh;\n width: 10vw;\n transform: scale(10);\n transform-origin: top left;\n opacity: 0;\n pointer-events: none;\n background: var(--hy-drawer-scrim-background, rgba(0, 0, 0, 0.5));\n z-index: var(--hy-drawer-z-index, 100);\n -webkit-tap-highlight-color: transparent;\n }\n\n .range {\n position: fixed;\n top: 0;\n height: 100vh;\n z-index: calc(var(--hy-drawer-z-index, 100) + 1);\n }\n\n .grabbing-screen {\n cursor: grabbing;\n z-index: calc(var(--hy-drawer-z-index, 100) + 2);\n }\n\n .wrapper {\n width: var(--hy-drawer-width, 300px);\n background: var(--hy-drawer-background, inherit);\n box-shadow: var(--hy-drawer-box-shadow, 0 0 15px rgba(0, 0, 0, 0.25));\n z-index: calc(var(--hy-drawer-z-index, 100) + 3);\n contain: strict;\n }\n\n .wrapper.left {\n left: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper.right {\n right: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper > .overflow {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n }\n\n .grab {\n cursor: move;\n cursor: grab;\n }\n\n .grabbing {\n cursor: grabbing;\n }\n }\n\n @media print {\n .scrim {\n display: none !important;\n }\n\n .wrapper {\n transform: none !important;\n }\n }\n"]);return xt=function(){return t},t}var kt=Object(r.b)(xt());function _t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Et(){var t=Ct(['<div class="grabbing-screen full-screen"></div>']);return Et=function(){return t},t}function Tt(){var t=Ct(['\n <div class="peek full-height"></div>\n <div\n class="scrim"\n style=',">\n </div>\n ","\n <div\n class=","\n style=",'\n >\n <div class="overflow">\n <slot></slot>\n </div>\n </div>\n ']);return Tt=function(){return t},t}function Ct(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function At(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||It(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rt(t){return function(t){if(Array.isArray(t))return $t(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||It(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function It(t,e){if(t){if("string"==typeof t)return $t(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$t(t,e):void 0}}function $t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Pt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Mt(t,e,n){return(Mt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Wt(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function Dt(t,e){return(Dt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Xt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Wt(t);if(e){var i=Wt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return zt(this,n)}}function zt(t,e){return!e||"object"!==Nt(e)&&"function"!=typeof e?Bt(t):e}function Bt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wt(t){return(Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Nt(t){return(Nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Ut=function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"==typeof Reflect?"undefined":Nt(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},Yt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dt(t,e)}(a,t);var e,n,i,o=Xt(a);function a(){var t;return Pt(this,a),(t=o.apply(this,arguments)).el=Bt(t),t.opened=!1,t.side="left",t.persistent=!1,t.threshold=10,t.noScroll=!1,t.mouseEvents=!1,t.range=[0,100],t.willChange=!1,t._initialized=Object(U.f)(),t.$={},t.upgrade=function(){var e=t.getDrawerWidth(),n=t.$.persistent.pipe(Object(O.a)((function(t){return!t}))),r=t.getStartObservable().pipe(Object(U.h)(n),Object(j.a)()),i={},o=Object(h.a)((function(){return i.translateX$.pipe(Object(O.a)((function(t){return 0!==t})))})),a=r.pipe(Object(w.a)(o),Object(O.a)((function(e){var n;return(n=t).calcIsInRange.apply(n,Rt(e))})),Object(S.a)((function(e){e&&(t.willChange=!0,t.fireEvent("prepare"))})),Object(j.a)()),c=t.getEndObservable().pipe(Object(U.h)(n,a),Object(S.a)((function(){t.mouseEvents&&(t.grabbing=!1)})),Object(j.a)()),u=t.getMoveObservable(r,c).pipe(Object(U.h)(n,a),Object(j.a)()),s=t.getIsSlidingObservable(u,r,c).pipe(Object(S.a)((function(e){t.isSliding=e,e&&t.mouseEvents&&(t.grabbing=!0)}))),l=i.translateX$=Object(h.a)((function(){var n=Object(b.a)(t.$.opened,t.$.side,e).pipe(Object(O.a)((function(t){var e=At(t,3),n=e[0],r=e[1],i=e[2];return n?i*("left"===r?1:-1):0}))),o=u.pipe(Object(U.h)(s),Object(S.a)((function(){return t.scrimClickable=!1})),Object(S.a)((function(e){var n=e.event;return t.noScroll&&n.preventDefault()})),Object(w.a)(r,i.startTranslateX$,e),Object(O.a)((function(e){var n;return(n=t).calcTranslateX.apply(n,Rt(e))})));return Object(d.a)(i.tweenTranslateX$,n,o)})).pipe(Object(j.a)());i.startTranslateX$=l.pipe(E(r));var f=l.pipe(R(),Object($.a)(),Object(P.a)((function(t){var e=At(t,2),n=e[0].timestamp;return e[1].timestamp-n>0})),Object(O.a)((function(t){var e=At(t,2),n=e[0],r=n.value,i=n.timestamp,o=e[1];return(o.value-r)/(o.timestamp-i)})),Object(V.a)(0)),p=c.pipe(Object(w.a)(r,l,e,f),Object(P.a)((function(e){var n;return(n=t).calcIsSwipe.apply(n,Rt(e))})),Object(O.a)((function(e){var n;return(n=t).calcWillOpen.apply(n,Rt(e))}))),g=t.animateTo$.pipe(Object(S.a)((function(){t.willChange=!0,t.fireEvent("prepare")})));i.tweenTranslateX$=Object(d.a)(p,g).pipe(Object(w.a)(l,e),Object(M.a)((function(e){var n=At(e,3),i=n[0],o=n[1],a=n[2],c="left"===t.side?1:-1,u=(i?a*c:0)-o,s=Math.ceil(200+.15*a);return Object(U.m)(F,o,u,s).pipe(Object(D.a)((function(){t.transitioned(i)})),Object(X.a)(r),Object(X.a)(t.$.side.pipe(B(1))),Object(j.a)())}))),l.pipe(Object(w.a)(e),Object(S.a)((function(e){var n;(n=t).updateDOM.apply(n,Rt(e));var r=Bt(t),i=r.translateX,o=r.opacity;t.fireEvent("move",{detail:{translateX:i,opacity:o},bubbles:!1})}))).subscribe(),Object(v.a)(t.scrimEl,"click").pipe(Object(S.a)((function(){return t.close()}))).subscribe(),n.pipe(Object(S.a)((function(e){t.scrimEl.style.display=e?"block":"none"}))).subscribe(),t.$.mouseEvents.pipe(Object(M.a)((function(t){return t?r.pipe(Object(w.a)(a)):y.a})),Object(P.a)((function(t){var e=At(t,2),n=e[0];return e[1]&&null!=n.event})),Object(S.a)((function(t){return At(t,1)[0].event.preventDefault()}))).subscribe(),t.fireEvent("init",{detail:t.opened}),t._initialized.resolve(Bt(t))},t.transitioned=function(e){t.opened=t.scrimClickable=e,t.willChange=!1,t.fireEvent("transitioned",{detail:e})},t}return e=a,(n=[{key:"getDrawerWidth",value:function(){var t=this,e=J(this.contentEl).pipe(Object(S.a)((function(e){return t.fireEvent("content-width-change",{detail:e})}))),n=J(this.peekEl).pipe(Object(S.a)((function(e){return t.fireEvent("peek-width-change",{detail:e})})));return Object(b.a)(e,n).pipe(Object(O.a)((function(t){var e=At(t,2);return e[0]-e[1]})),Object(j.a)())}},{key:"connectedCallback",value:function(){Mt(Wt(a.prototype),"connectedCallback",this).call(this),this.$.opened=new g.a(this.opened),this.$.side=new g.a(this.side),this.$.persistent=new g.a(this.persistent),this.$.preventDefault=new g.a(this.noScroll),this.$.mouseEvents=new g.a(this.mouseEvents),this.scrimClickable=this.opened,this.animateTo$=new m.a,this.updater=jt.getUpdaterForPlatform(this),this.updateComplete.then(this.upgrade)}},{key:"render",value:function(){var t;return Object(r.d)(Tt(),p({willChange:this.willChange?"opacity":"",pointerEvents:this.scrimClickable?"all":""}),this.mouseEvents&&this.grabbing&&!this.scrimClickable?Object(r.d)(Et()):null,l((_t(t={wrapper:!0,"full-height":!0},this.side,!0),_t(t,"grab",this.mouseEvents),_t(t,"grabbing",this.mouseEvents&&this.grabbing),t)),p({willChange:this.willChange?"transform":""}))}},{key:"open",value:function(){this.animateTo$.next(!0)}},{key:"close",value:function(){this.animateTo$.next(!1)}},{key:"toggle",value:function(){this.animateTo$.next(!this.opened)}},{key:"initialized",get:function(){return this._initialized}},{key:"histId",get:function(){return this.id||this.tagName}},{key:"hashId",get:function(){return"#".concat(this.histId,"--opened")}}])&&Vt(e.prototype,n),i&&Vt(e,i),a}(Object(U.b)(U.a,[it,Ot,lt]));
|
|
29
|
-
/**
|
|
30
|
-
* Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
|
|
31
|
-
*
|
|
32
|
-
* This program is free software: you can redistribute it and/or modify
|
|
33
|
-
* it under the terms of the GNU General Public License as published by
|
|
34
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
35
|
-
* (at your option) any later version.
|
|
36
|
-
*
|
|
37
|
-
* This program is distributed in the hope that it will be useful,
|
|
38
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
39
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
40
|
-
* GNU General Public License for more details.
|
|
41
|
-
*
|
|
42
|
-
* You should have received a copy of the GNU General Public License
|
|
43
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
44
|
-
*
|
|
45
|
-
* @license
|
|
46
|
-
* @nocompile
|
|
47
|
-
*/Yt.styles=kt,Ut([Object(r.f)(".scrim")],Yt.prototype,"scrimEl",void 0),Ut([Object(r.f)(".wrapper")],Yt.prototype,"contentEl",void 0),Ut([Object(r.f)(".peek")],Yt.prototype,"peekEl",void 0),Ut([Object(r.e)({type:Boolean,reflect:!0})],Yt.prototype,"opened",void 0),Ut([Object(r.e)({type:String,reflect:!0})],Yt.prototype,"side",void 0),Ut([Object(r.e)({type:Boolean,reflect:!0})],Yt.prototype,"persistent",void 0),Ut([Object(r.e)({type:Number,reflect:!0})],Yt.prototype,"threshold",void 0),Ut([Object(r.e)({type:Boolean,reflect:!0})],Yt.prototype,"noScroll",void 0),Ut([Object(r.e)({type:Boolean,reflect:!0})],Yt.prototype,"mouseEvents",void 0),Ut([Object(r.e)({reflect:!0,converter:H,hasChanged:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length!==e.length||t.some((function(t,n){return t!==e[n]}))}})],Yt.prototype,"range",void 0),Ut([Object(r.e)()],Yt.prototype,"scrimClickable",void 0),Ut([Object(r.e)()],Yt.prototype,"grabbing",void 0),Ut([Object(r.e)()],Yt.prototype,"willChange",void 0),Ut([Object(r.e)()],Yt.prototype,"open",null),Ut([Object(r.e)()],Yt.prototype,"close",null),Ut([Object(r.e)()],Yt.prototype,"toggle",null),Yt=Ut([Object(r.c)("hy-drawer")],Yt)},339:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(1),i=n(113),o=n(68),a=n(47),c=n(46),u=n(114),s={};function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=void 0,r=void 0;return Object(i.a)(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(o.a)(t[0])&&(t=t[0]),Object(u.a)(t,r).lift(new f(n))}var f=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.resultSelector))},t}(),p=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return Object(r.e)(e,t),e.prototype._next=function(t){this.values.push(s),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(Object(c.a)(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.values,a=o[n],c=this.toRespond?a===s?--this.toRespond:this.toRespond:0;o[n]=e,0===c&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(a.a)},350:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(1),i=n(9),o=n(115),a=n(47),c=n(46),u={leading:!0,trailing:!1};!function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}t.prototype.call=function(t,e){return e.subscribe(new s(t,this.durationSelector,this.leading,this.trailing))}}();var s=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.destination=e,o.durationSelector=n,o._leading=r,o._trailing=i,o._sendValue=null,o._hasValue=!1,o}return Object(r.e)(e,t),e.prototype._next=function(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))},e.prototype.send=function(){var t=this._hasValue,e=this._sendValue;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=null},e.prototype.throttle=function(t){var e=this.tryDurationSelector(t);e&&this.add(this._throttled=Object(c.a)(this,e))},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype.throttlingDone=function(){var t=this._throttled,e=this._trailing;t&&t.unsubscribe(),this._throttled=null,e&&this.send()},e.prototype.notifyNext=function(t,e,n,r,i){this.throttlingDone()},e.prototype.notifyComplete=function(){this.throttlingDone()},e}(a.a);function l(t,e,n){return void 0===e&&(e=o.a),void 0===n&&(n=u),function(r){return r.lift(new f(t,e,!!n.leading,!!n.trailing))}}var f=function(){function t(t,e,n,r){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),p=function(t){function e(e,n,r,i,o){var a=t.call(this,e)||this;return a.duration=n,a.scheduler=r,a.leading=i,a.trailing=o,a.throttled=null,a._hasTrailingValue=!1,a._trailingValue=null,a}return Object(r.e)(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(h,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))},e.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(i.a);function h(t){t.subscriber.clearThrottle()}}}]);
|
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* __ __ __ __
|
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
|
9
|
-
* /\___/ \ \____/
|
|
10
|
-
* \/__/ \/___/
|
|
11
|
-
*
|
|
12
|
-
* Powered by Hydejack v9.0.2 <https://hydejack.com/>
|
|
13
|
-
*/
|
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{305:function(t,e,n){"use strict";n.d(e,"g",(function(){return r.a})),n.d(e,"m",(function(){return r.c})),n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return b})),n.d(e,"e",(function(){return m.b})),n.d(e,"d",(function(){return m.a})),n.d(e,"l",(function(){return _.c})),n.d(e,"h",(function(){return _.b})),n.d(e,"c",(function(){return _.a})),n.d(e,"i",(function(){return g.b})),n.d(e,"j",(function(){return g.c})),n.d(e,"k",(function(){return g.d})),n.d(e,"f",(function(){return g.a}));var r=n(87),o=n(318),i=n(310);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return(f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=y(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(u,t);var e,n,r,o=h(u);function u(){var t;return s(this,u),(t=o.apply(this,arguments)).$connected=new i.a,t}return e=u,(n=[{key:"connectedCallback",value:function(){f(y(u.prototype),"connectedCallback",this).call(this),this.$connected.next(!0)}},{key:"disconnectedCallback",value:function(){f(y(u.prototype),"disconnectedCallback",this).call(this),this.$connected.next(!1)}},{key:"firstUpdated",value:function(){this.firstUpdate=!0}},{key:"updated",value:function(t){if(!this.firstUpdate){var e,n=a(t.keys());try{for(n.s();!(e=n.n()).done;){var r=e.value;r in this.$&&this.$[r].next(this[r])}}catch(t){n.e(t)}finally{n.f()}}this.firstUpdate=!1}},{key:"fireEvent",value:function(t,e){this.dispatchEvent(new CustomEvent(t,e)),this.dispatchEvent(new CustomEvent("".concat(this.tagName.toLowerCase(),"-").concat(t),e))}}])&&l(e.prototype,n),r&&l(e,r),u}(o.a);function b(t,e){return e.forEach((function(e){Object.getOwnPropertyNames(e.prototype).forEach((function(n){t.prototype[n]=e.prototype[n]}))})),t}var m=n(116),_=n(86),g=n(67)},306:function(t,e,n){"use strict";n.d(e,"a",(function(){return O})),n.d(e,"b",(function(){return j})),n.d(e,"e",(function(){return k})),n.d(e,"c",(function(){return P})),n.d(e,"f",(function(){return x})),n.d(e,"g",(function(){return C})),n.d(e,"d",(function(){return A}));var r=n(315),o=n(309),i=n(316),u=n(317),a=n(311),c=n(308);function s(t,e,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=d(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=d(t);if(e){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _(t,e,n){return e&&m(t.prototype,e),n&&m(t,n),t}function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
|
|
15
|
-
/**
|
|
16
|
-
* @license
|
|
17
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
18
|
-
* This code may only be used under the BSD style license found at
|
|
19
|
-
* http://polymer.github.io/LICENSE.txt
|
|
20
|
-
* The complete set of authors may be found at
|
|
21
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
22
|
-
* The complete set of contributors may be found at
|
|
23
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
24
|
-
* Code distributed by Google as part of the polymer project is also
|
|
25
|
-
* subject to an additional IP rights grant found at
|
|
26
|
-
* http://polymer.github.io/PATENTS.txt
|
|
27
|
-
*/var w=function(t){return null===t||!("object"===g(t)||"function"==typeof t)},S=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},O=function(){function t(e,n,r){b(this,t),this.dirty=!0,this.element=e,this.name=n,this.strings=r,this.parts=[];for(var o=0;o<r.length-1;o++)this.parts[o]=this._createPart()}return _(t,[{key:"_createPart",value:function(){return new j(this)}},{key:"_getValue",value:function(){for(var t=this.strings,e=t.length-1,n="",r=0;r<e;r++){n+=t[r];var o=this.parts[r];if(void 0!==o){var i=o.value;if(w(i)||!S(i))n+="string"==typeof i?i:String(i);else{var u,a=y(i);try{for(a.s();!(u=a.n()).done;){var c=u.value;n+="string"==typeof c?c:String(c)}}catch(t){a.e(t)}finally{a.f()}}}}return n+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),t}(),j=function(){function t(e){b(this,t),this.value=void 0,this.committer=e}return _(t,[{key:"setValue",value:function(t){t===i.a||w(t)&&t===this.value||(this.value=t,Object(r.b)(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;Object(r.b)(this.value);){var t=this.value;this.value=i.a,t(this)}this.value!==i.a&&this.committer.commit()}}]),t}(),k=function(){function t(e){b(this,t),this.value=void 0,this.__pendingValue=void 0,this.options=e}return _(t,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(Object(c.c)()),this.endNode=t.appendChild(Object(c.c)())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=Object(c.c)()),t.__insert(this.endNode=Object(c.c)())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=Object(c.c)()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){if(null!==this.startNode.parentNode){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=i.a,t(this)}var e=this.__pendingValue;e!==i.a&&(w(e)?e!==this.value&&this.__commitText(e):e instanceof a.b?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):S(e)?this.__commitIterable(e):e===i.b?(this.value=i.b,this.clear()):this.__commitText(e))}}},{key:"__insert",value:function(t){this.endNode.parentNode.insertBefore(t,this.endNode)}},{key:"__commitNode",value:function(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}},{key:"__commitText",value:function(t){var e=this.startNode.nextSibling,n="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=n:this.__commitNode(document.createTextNode(n)),this.value=t}},{key:"__commitTemplateResult",value:function(t){var e=this.options.templateFactory(t);if(this.value instanceof u.a&&this.value.template===e)this.value.update(t.values);else{var n=new u.a(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(e){Array.isArray(this.value)||(this.value=[],this.clear());var n,r,o=this.value,i=0,u=y(e);try{for(u.s();!(r=u.n()).done;){var a=r.value;void 0===(n=o[i])&&(n=new t(this.options),o.push(n),0===i?n.appendIntoPart(this):n.insertAfterPart(o[i-1])),n.setValue(a),n.commit(),i++}}catch(t){u.e(t)}finally{u.f()}i<o.length&&(o.length=i,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;Object(o.b)(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),t}(),P=function(){function t(e,n,r){if(b(this,t),this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=n,this.strings=r}return _(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=i.a,t(this)}if(this.__pendingValue!==i.a){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=i.a}}}]),t}(),x=function(t){l(n,t);var e=p(n);function n(t,r,o){var i;return b(this,n),(i=e.call(this,t,r,o)).single=2===o.length&&""===o[0]&&""===o[1],i}return _(n,[{key:"_createPart",value:function(){return new C(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:s(d(n.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),n}(O),C=function(t){l(n,t);var e=p(n);function n(){return b(this,n),e.apply(this,arguments)}return n}(j),E=!1;!function(){try{var t={get capture(){return E=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}}();var A=function(){function t(e,n,r){var o=this;b(this,t),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(t){return o.handleEvent(t)}}return _(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=i.a,t(this)}if(this.__pendingValue!==i.a){var e=this.__pendingValue,n=this.value,o=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),u=null!=e&&(null==n||o);o&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),u&&(this.__options=T(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=i.a}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),t}(),T=function(t){return t&&(E?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)}},307:function(t,e,n){"use strict";n.d(e,"c",(function(){return a.a})),n.d(e,"a",(function(){return r.b})),n.d(e,"b",(function(){return r.g})),n.d(e,"d",(function(){return c}));var r=n(306);function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
|
|
28
|
-
/**
|
|
29
|
-
* @license
|
|
30
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
31
|
-
* This code may only be used under the BSD style license found at
|
|
32
|
-
* http://polymer.github.io/LICENSE.txt
|
|
33
|
-
* The complete set of authors may be found at
|
|
34
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
35
|
-
* The complete set of contributors may be found at
|
|
36
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
37
|
-
* Code distributed by Google as part of the polymer project is also
|
|
38
|
-
* subject to an additional IP rights grant found at
|
|
39
|
-
* http://polymer.github.io/PATENTS.txt
|
|
40
|
-
*/
|
|
41
|
-
var i=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,i;return e=t,(n=[{key:"handleAttributeExpressions",value:function(t,e,n,o){var i=e[0];return"."===i?new r.f(t,e.slice(1),n).parts:"@"===i?[new r.d(t,e.slice(1),o.eventContext)]:"?"===i?[new r.c(t,e.slice(1),n)]:new r.a(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new r.e(t)}}])&&o(e.prototype,n),i&&o(e,i),t}()),u=n(311),a=n(315);n(309),n(316),n(314),n(312),n(317),n(308);
|
|
42
|
-
/**
|
|
43
|
-
* @license
|
|
44
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
45
|
-
* This code may only be used under the BSD style license found at
|
|
46
|
-
* http://polymer.github.io/LICENSE.txt
|
|
47
|
-
* The complete set of authors may be found at
|
|
48
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
49
|
-
* The complete set of contributors may be found at
|
|
50
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
51
|
-
* Code distributed by Google as part of the polymer project is also
|
|
52
|
-
* subject to an additional IP rights grant found at
|
|
53
|
-
* http://polymer.github.io/PATENTS.txt
|
|
54
|
-
*/
|
|
55
|
-
"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.2.1");var c=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new u.b(t,n,"html",i)}},308:function(t,e,n){"use strict";n.d(e,"f",(function(){return r})),n.d(e,"g",(function(){return o})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"c",(function(){return l})),n.d(e,"e",(function(){return f}));
|
|
56
|
-
/**
|
|
57
|
-
* @license
|
|
58
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
59
|
-
* This code may only be used under the BSD style license found at
|
|
60
|
-
* http://polymer.github.io/LICENSE.txt
|
|
61
|
-
* The complete set of authors may be found at
|
|
62
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
63
|
-
* The complete set of contributors may be found at
|
|
64
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
65
|
-
* Code distributed by Google as part of the polymer project is also
|
|
66
|
-
* subject to an additional IP rights grant found at
|
|
67
|
-
* http://polymer.github.io/PATENTS.txt
|
|
68
|
-
*/
|
|
69
|
-
var r="{{lit-".concat(String(Math.random()).slice(2),"}}"),o="\x3c!--".concat(r,"--\x3e"),i=new RegExp("".concat(r,"|").concat(o)),u="$lit$",a=function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parts=[],this.element=n;for(var o=[],a=[],s=document.createTreeWalker(n.content,133,null,!1),p=0,h=-1,d=0,y=e.strings,v=e.values.length;d<v;){var b=s.nextNode();if(null!==b){if(h++,1===b.nodeType){if(b.hasAttributes()){for(var m=b.attributes,_=m.length,g=0,w=0;w<_;w++)c(m[w].name,u)&&g++;for(;g-- >0;){var S=y[d],O=f.exec(S)[2],j=O.toLowerCase()+u,k=b.getAttribute(j);b.removeAttribute(j);var P=k.split(i);this.parts.push({type:"attribute",index:h,name:O,strings:P}),d+=P.length-1}}"TEMPLATE"===b.tagName&&(a.push(b),s.currentNode=b.content)}else if(3===b.nodeType){var x=b.data;if(x.indexOf(r)>=0){for(var C=b.parentNode,E=x.split(i),A=E.length-1,T=0;T<A;T++){var N=void 0,R=E[T];if(""===R)N=l();else{var V=f.exec(R);null!==V&&c(V[2],u)&&(R=R.slice(0,V.index)+V[1]+V[2].slice(0,-u.length)+V[3]),N=document.createTextNode(R)}C.insertBefore(N,b),this.parts.push({type:"node",index:++h})}""===E[A]?(C.insertBefore(l(),b),o.push(b)):b.data=E[A],d+=A}}else if(8===b.nodeType)if(b.data===r){var U=b.parentNode;null!==b.previousSibling&&h!==p||(h++,U.insertBefore(l(),b)),p=h,this.parts.push({type:"node",index:h}),null===b.nextSibling?b.data="":(o.push(b),h--),d++}else for(var M=-1;-1!==(M=b.data.indexOf(r,M+1));)this.parts.push({type:"node",index:-1}),d++}else s.currentNode=a.pop()}for(var I=0,F=o;I<F.length;I++){var D=F[I];D.parentNode.removeChild(D)}},c=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},s=function(t){return-1!==t.index},l=function(){return document.createComment("")},f=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/},309:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return i}));
|
|
70
|
-
/**
|
|
71
|
-
* @license
|
|
72
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
73
|
-
* This code may only be used under the BSD style license found at
|
|
74
|
-
* http://polymer.github.io/LICENSE.txt
|
|
75
|
-
* The complete set of authors may be found at
|
|
76
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
77
|
-
* The complete set of contributors may be found at
|
|
78
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
79
|
-
* Code distributed by Google as part of the polymer project is also
|
|
80
|
-
* subject to an additional IP rights grant found at
|
|
81
|
-
* http://polymer.github.io/PATENTS.txt
|
|
82
|
-
*/
|
|
83
|
-
var r="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,o=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e!==n;){var o=e.nextSibling;t.insertBefore(e,r),e=o}},i=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==n;){var r=e.nextSibling;t.removeChild(e),e=r}}},310:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return f}));var r=n(1),o=n(5),i=n(9),u=n(13),a=n(313),c=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return Object(r.e)(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(u.a),s=n(63),l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return Object(r.e)(e,t),e}(i.a),f=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(r.e)(e,t),e.prototype[s.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new a.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.a;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new a.a;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new a.a;return this.hasError?(t.error(this.thrownError),u.a.EMPTY):this.isStopped?(t.complete(),u.a.EMPTY):(this.observers.push(t),new c(this,t))},e.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},e.create=function(t,e){return new p(t,e)},e}(o.a),p=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return Object(r.e)(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):u.a.EMPTY},e}(f)},311:function(t,e,n){"use strict";n.d(e,"b",(function(){return y})),n.d(e,"a",(function(){return v}));var r=n(309),o=n(308);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=l(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),t}
|
|
84
|
-
/**
|
|
85
|
-
* @license
|
|
86
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
87
|
-
* This code may only be used under the BSD style license found at
|
|
88
|
-
* http://polymer.github.io/LICENSE.txt
|
|
89
|
-
* The complete set of authors may be found at
|
|
90
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
91
|
-
* The complete set of contributors may be found at
|
|
92
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
93
|
-
* Code distributed by Google as part of the polymer project is also
|
|
94
|
-
* subject to an additional IP rights grant found at
|
|
95
|
-
* http://polymer.github.io/PATENTS.txt
|
|
96
|
-
*/var d=" ".concat(o.f," "),y=function(){function t(e,n,r,o){f(this,t),this.strings=e,this.values=n,this.type=r,this.processor=o}return h(t,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var i=this.strings[r],u=i.lastIndexOf("\x3c!--");n=(u>-1||n)&&-1===i.indexOf("--\x3e",u+1);var a=o.e.exec(i);e+=null===a?i+(n?d:o.g):i.substr(0,a.index)+a[1]+a[2]+o.b+a[3]+o.f}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template");return t.innerHTML=this.getHTML(),t}}]),t}(),v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,t);var e=c(n);function n(){return f(this,n),e.apply(this,arguments)}return h(n,[{key:"getHTML",value:function(){return"<svg>".concat(u(l(n.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var t=u(l(n.prototype),"getTemplateElement",this).call(this),e=t.content,o=e.firstChild;return e.removeChild(o),Object(r.c)(e,o.firstChild),t}}]),n}(y)},312:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r=n(308);
|
|
97
|
-
/**
|
|
98
|
-
* @license
|
|
99
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
100
|
-
* This code may only be used under the BSD style license found at
|
|
101
|
-
* http://polymer.github.io/LICENSE.txt
|
|
102
|
-
* The complete set of authors may be found at
|
|
103
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
104
|
-
* The complete set of contributors may be found at
|
|
105
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
106
|
-
* Code distributed by Google as part of the polymer project is also
|
|
107
|
-
* subject to an additional IP rights grant found at
|
|
108
|
-
* http://polymer.github.io/PATENTS.txt
|
|
109
|
-
*/function o(t){var e=i.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},i.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var o=t.strings.join(r.f);return void 0===(n=e.keyString.get(o))&&(n=new r.a(t,t.getTemplateElement()),e.keyString.set(o,n)),e.stringsArray.set(t.strings,n),n}var i=new Map},313:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},314:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return a}));var r=n(309),o=n(306),i=n(312),u=new WeakMap,a=function(t,e,n){var a=u.get(e);void 0===a&&(Object(r.b)(e,e.firstChild),u.set(e,a=new o.e(Object.assign({templateFactory:i.b},n))),a.appendInto(e)),a.setValue(t),a.commit()}},315:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i}));
|
|
110
|
-
/**
|
|
111
|
-
* @license
|
|
112
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
113
|
-
* This code may only be used under the BSD style license found at
|
|
114
|
-
* http://polymer.github.io/LICENSE.txt
|
|
115
|
-
* The complete set of authors may be found at
|
|
116
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
117
|
-
* The complete set of contributors may be found at
|
|
118
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
119
|
-
* Code distributed by Google as part of the polymer project is also
|
|
120
|
-
* subject to an additional IP rights grant found at
|
|
121
|
-
* http://polymer.github.io/PATENTS.txt
|
|
122
|
-
*/
|
|
123
|
-
var r=new WeakMap,o=function(t){return function(){var e=t.apply(void 0,arguments);return r.set(e,!0),e}},i=function(t){return"function"==typeof t&&r.has(t)}},316:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));
|
|
124
|
-
/**
|
|
125
|
-
* @license
|
|
126
|
-
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
|
127
|
-
* This code may only be used under the BSD style license found at
|
|
128
|
-
* http://polymer.github.io/LICENSE.txt
|
|
129
|
-
* The complete set of authors may be found at
|
|
130
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
131
|
-
* The complete set of contributors may be found at
|
|
132
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
133
|
-
* Code distributed by Google as part of the polymer project is also
|
|
134
|
-
* subject to an additional IP rights grant found at
|
|
135
|
-
* http://polymer.github.io/PATENTS.txt
|
|
136
|
-
*/
|
|
137
|
-
var r={},o={}},317:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(309),o=n(308);function i(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||a(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=a(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw i}}}}function a(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
|
|
138
|
-
/**
|
|
139
|
-
* @license
|
|
140
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
141
|
-
* This code may only be used under the BSD style license found at
|
|
142
|
-
* http://polymer.github.io/LICENSE.txt
|
|
143
|
-
* The complete set of authors may be found at
|
|
144
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
145
|
-
* The complete set of contributors may be found at
|
|
146
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
147
|
-
* Code distributed by Google as part of the polymer project is also
|
|
148
|
-
* subject to an additional IP rights grant found at
|
|
149
|
-
* http://polymer.github.io/PATENTS.txt
|
|
150
|
-
*/
|
|
151
|
-
var l=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.__parts=[],this.template=e,this.processor=n,this.options=r}var e,n,a;return e=t,(n=[{key:"update",value:function(t){var e,n=0,r=u(this.__parts);try{for(r.s();!(e=r.n()).done;){var o=e.value;void 0!==o&&o.setValue(t[n]),n++}}catch(t){r.e(t)}finally{r.f()}var i,a=u(this.__parts);try{for(a.s();!(i=a.n()).done;){var c=i.value;void 0!==c&&c.commit()}}catch(t){a.e(t)}finally{a.f()}}},{key:"_clone",value:function(){for(var t,e=r.a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],u=this.template.parts,a=document.createTreeWalker(e,133,null,!1),c=0,s=0,l=a.nextNode();c<u.length;)if(t=u[c],Object(o.d)(t)){for(;s<t.index;)s++,"TEMPLATE"===l.nodeName&&(n.push(l),a.currentNode=l.content),null===(l=a.nextNode())&&(a.currentNode=n.pop(),l=a.nextNode());if("node"===t.type){var f=this.processor.handleTextExpression(this.options);f.insertAfterNode(l.previousSibling),this.__parts.push(f)}else{var p;(p=this.__parts).push.apply(p,i(this.processor.handleAttributeExpressions(l,t.name,t.strings,this.options)))}c++}else this.__parts.push(void 0),c++;return r.a&&(document.adoptNode(e),customElements.upgrade(e)),e}}])&&s(e.prototype,n),a&&s(e,a),t}()},318:function(t,e,n){"use strict";n.d(e,"c",(function(){return U})),n.d(e,"e",(function(){return M})),n.d(e,"f",(function(){return I})),n.d(e,"d",(function(){return f.d})),n.d(e,"b",(function(){return $})),n.d(e,"a",(function(){return et}));var r=n(309),o=n(308);function i(t,e){for(var n=t.element.content,r=t.parts,o=document.createTreeWalker(n,133,null,!1),i=a(r),u=r[i],c=-1,s=0,l=[],f=null;o.nextNode();){c++;var p=o.currentNode;for(p.previousSibling===f&&(f=null),e.has(p)&&(l.push(p),null===f&&(f=p)),null!==f&&s++;void 0!==u&&u.index===c;)u.index=null!==f?-1:u.index-s,u=r[i=a(r,i)]}l.forEach((function(t){return t.parentNode.removeChild(t)}))}var u=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,133,null,!1);n.nextNode();)e++;return e},a=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=e+1;n<t.length;n++){var r=t[n];if(Object(o.d)(r))return n}return-1};var c=n(314),s=n(312),l=n(317),f=n(307);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
|
|
152
|
-
/**
|
|
153
|
-
* @license
|
|
154
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
155
|
-
* This code may only be used under the BSD style license found at
|
|
156
|
-
* http://polymer.github.io/LICENSE.txt
|
|
157
|
-
* The complete set of authors may be found at
|
|
158
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
159
|
-
* The complete set of contributors may be found at
|
|
160
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
161
|
-
* Code distributed by Google as part of the polymer project is also
|
|
162
|
-
* subject to an additional IP rights grant found at
|
|
163
|
-
* http://polymer.github.io/PATENTS.txt
|
|
164
|
-
*/var h=function(t,e){return"".concat(t,"--").concat(e)},d=!0;void 0===window.ShadyCSS?d=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),d=!1);var y=function(t){return function(e){var n=h(e.type,t),r=s.a.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},s.a.set(n,r));var i=r.stringsArray.get(e.strings);if(void 0!==i)return i;var u=e.strings.join(o.f);if(void 0===(i=r.keyString.get(u))){var a=e.getTemplateElement();d&&window.ShadyCSS.prepareTemplateDom(a,t),i=new o.a(e,a),r.keyString.set(u,i)}return r.stringsArray.set(e.strings,i),i}},v=["html","svg"],b=new Set,m=function(t,e,n){b.add(t);var r=n?n.element:document.createElement("template"),o=e.querySelectorAll("style"),c=o.length;if(0!==c){for(var l=document.createElement("style"),f=0;f<c;f++){var p=o[f];p.parentNode.removeChild(p),l.textContent+=p.textContent}!function(t){v.forEach((function(e){var n=s.a.get(h(e,t));void 0!==n&&n.keyString.forEach((function(t){var e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach((function(t){n.add(t)})),i(t,n)}))}))}(t);var d=r.content;n?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t.element.content,o=t.parts;if(null!=n)for(var i=document.createTreeWalker(r,133,null,!1),c=a(o),s=0,l=-1;i.nextNode();){l++;var f=i.currentNode;for(f===n&&(s=u(e),n.parentNode.insertBefore(e,n));-1!==c&&o[c].index===l;){if(s>0){for(;-1!==c;)o[c].index+=s,c=a(o,c);return}c=a(o,c)}}else r.appendChild(e)}(n,l,d.firstChild):d.insertBefore(l,d.firstChild),window.ShadyCSS.prepareTemplateStyles(r,t);var y=d.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==y)e.insertBefore(y.cloneNode(!0),e.firstChild);else if(n){d.insertBefore(l,d.firstChild);var m=new Set;m.add(l),i(n,m)}}else window.ShadyCSS.prepareTemplateStyles(r,t)};function _(t){return function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||g(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){if(t){if("string"==typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(t,e):void 0}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e,n,r,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,o)}function j(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function k(t,e){return!e||"object"!==S(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function P(t){var e="function"==typeof Map?new Map:void 0;return(P=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return x(t,arguments,A(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),E(r,t)})(t)}function x(t,e,n){return(x=C()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&E(o,n.prototype),o}).apply(null,arguments)}function C(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function A(t){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
|
|
165
|
-
/**
|
|
166
|
-
* @license
|
|
167
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
168
|
-
* This code may only be used under the BSD style license found at
|
|
169
|
-
* http://polymer.github.io/LICENSE.txt
|
|
170
|
-
* The complete set of authors may be found at
|
|
171
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
172
|
-
* The complete set of contributors may be found at
|
|
173
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
174
|
-
* Code distributed by Google as part of the polymer project is also
|
|
175
|
-
* subject to an additional IP rights grant found at
|
|
176
|
-
* http://polymer.github.io/PATENTS.txt
|
|
177
|
-
*/window.JSCompiler_renameProperty=function(t,e){return t};var T={toAttribute:function(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},N=function(t,e){return e!==t&&(e==e||t==t)},R={attribute:!0,type:String,converter:T,reflect:!1,hasChanged:N},V=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(s,t);var e,n,r,o,i,u,a,c=(e=s,n=C(),function(){var t,r=A(e);if(n){var o=A(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return k(this,t)});function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=c.call(this))._updateState=0,t._instanceProperties=void 0,t._updatePromise=new Promise((function(e){return t._enableUpdatingResolver=e})),t._changedProperties=new Map,t._reflectingProperties=void 0,t.initialize(),t}return r=s,o=[{key:"initialize",value:function(){this._saveInstanceProperties(),this._requestUpdate()}},{key:"_saveInstanceProperties",value:function(){var t=this;this.constructor._classProperties.forEach((function(e,n){if(t.hasOwnProperty(n)){var r=t[n];delete t[n],t._instanceProperties||(t._instanceProperties=new Map),t._instanceProperties.set(n,r)}}))}},{key:"_applyInstanceProperties",value:function(){var t=this;this._instanceProperties.forEach((function(e,n){return t[n]=e})),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this.enableUpdating()}},{key:"enableUpdating",value:function(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(t,e,n){e!==n&&this._attributeToProperty(t,n)}},{key:"_propertyToAttribute",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R,r=this.constructor,o=r._attributeNameForProperty(t,n);if(void 0!==o){var i=r._propertyValueToAttribute(e,n);if(void 0===i)return;this._updateState=8|this._updateState,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var o=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,o),this._updateState=-17&this._updateState}}}},{key:"_requestUpdate",value:function(t,e){var n=!0;if(void 0!==t){var r=this.constructor,o=r.getPropertyOptions(t);r._valueHasChanged(this[t],e,o.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==o.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,o))):n=!1}!this._hasRequestedUpdate&&n&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(t,e){return this._requestUpdate(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(u=regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._updateState=4|this._updateState,t.prev=1,t.next=4,this._updatePromise;case 4:t.next=8;break;case 6:t.prev=6,t.t0=t.catch(1);case 8:if(null==(e=this.performUpdate())){t.next=12;break}return t.next=12,e;case 12:return t.abrupt("return",!this._hasRequestedUpdate);case 13:case"end":return t.stop()}}),t,this,[[1,6]])})),a=function(){var t=this,e=arguments;return new Promise((function(n,r){var o=u.apply(t,e);function i(t){O(o,n,r,i,a,"next",t)}function a(t){O(o,n,r,i,a,"throw",t)}i(void 0)}))},function(){return a.apply(this,arguments)})},{key:"performUpdate",value:function(){this._instanceProperties&&this._applyInstanceProperties();var t=!1,e=this._changedProperties;try{(t=this.shouldUpdate(e))?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"_getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((function(t,n){return e._propertyToAttribute(n,e[n],t)})),this._reflectingProperties=void 0),this._markUpdated()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._getUpdateComplete()}}],i=[{key:"_ensureClassProperties",value:function(){var t=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((function(e,n){return t._classProperties.set(n,e)}))}}},{key:"createProperty",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var n="symbol"===S(t)?Symbol():"__".concat(t),r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}},{key:"getPropertyDescriptor",value:function(t,e,n){return{get:function(){return this[e]},set:function(n){var r=this[t];this[e]=n,this._requestUpdate(t,r)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this._classProperties&&this._classProperties.get(t)||R}},{key:"finalize",value:function(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty("finalized")||t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e,n=this.properties,r=function(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=g(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}([].concat(_(Object.getOwnPropertyNames(n)),_("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n):[])));try{for(r.s();!(e=r.n()).done;){var o=e.value;this.createProperty(o,n[o])}}catch(t){r.e(t)}finally{r.f()}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:N;return n(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||T,o="function"==typeof r?r:r.fromAttribute;return o?o(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||T.toAttribute)(t,n)}}},{key:"observedAttributes",get:function(){var t=this;this.finalize();var e=[];return this._classProperties.forEach((function(n,r){var o=t._attributeNameForProperty(r,n);void 0!==o&&(t._attributeToPropertyMap.set(o,r),e.push(o))})),e}}],o&&j(r.prototype,o),i&&j(r,i),s}(P(HTMLElement));V.finalized=!0;
|
|
178
|
-
/**
|
|
179
|
-
* @license
|
|
180
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
181
|
-
* This code may only be used under the BSD style license found at
|
|
182
|
-
* http://polymer.github.io/LICENSE.txt
|
|
183
|
-
* The complete set of authors may be found at
|
|
184
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
185
|
-
* The complete set of contributors may be found at
|
|
186
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
187
|
-
* Code distributed by Google as part of the polymer project is also
|
|
188
|
-
* subject to an additional IP rights grant found at
|
|
189
|
-
* http://polymer.github.io/PATENTS.txt
|
|
190
|
-
*/
|
|
191
|
-
var U=function(t){return function(e){return"function"==typeof e?function(t,e){return window.customElements.define(t,e),e}(t,e):function(t,e){return{kind:e.kind,elements:e.elements,finisher:function(e){window.customElements.define(t,e)}}}(t,e)}};function M(t){return function(e,n){return void 0!==n?function(t,e,n){e.constructor.createProperty(n,t)}(t,e,n):function(t,e){return"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?Object.assign(Object.assign({},e),{finisher:function(n){n.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer:function(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher:function(n){n.createProperty(e.key,t)}}}(t,e)}}function I(t){return function(e,n){var r={get:function(){return this.renderRoot.querySelector(t)},enumerable:!0,configurable:!0};return void 0!==n?F(r,e,n):D(r,e)}}var F=function(t,e,n){Object.defineProperty(e,n,t)},D=function(t,e){return{kind:"method",placement:"prototype",key:e.key,descriptor:t}};function q(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
|
|
192
|
-
/**
|
|
193
|
-
@license
|
|
194
|
-
Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
|
|
195
|
-
This code may only be used under the BSD style license found at
|
|
196
|
-
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
|
197
|
-
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
|
198
|
-
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
|
199
|
-
part of the polymer project is also subject to an additional IP rights grant
|
|
200
|
-
found at http://polymer.github.io/PATENTS.txt
|
|
201
|
-
*/
|
|
202
|
-
var z="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,L=Symbol(),H=function(){function t(e,n){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n!==L)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}var e,n,r;return e=t,(n=[{key:"toString",value:function(){return this.cssText}},{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(z?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}}])&&q(e.prototype,n),r&&q(e,r),t}(),B=function(t){if(t instanceof H)return t.cssText;if("number"==typeof t)return t;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(t,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))},$=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=n.reduce((function(e,n,r){return e+B(n)+t[r+1]}),t[0]);return new H(o,L)};function W(t){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function K(t,e,n){return(K="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Z(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function G(t,e){return(G=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Q(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Z(t);if(e){var o=Z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return X(this,n)}}function X(t,e){return!e||"object"!==W(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Z(t){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
|
|
203
|
-
/**
|
|
204
|
-
* @license
|
|
205
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
206
|
-
* This code may only be used under the BSD style license found at
|
|
207
|
-
* http://polymer.github.io/LICENSE.txt
|
|
208
|
-
* The complete set of authors may be found at
|
|
209
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
210
|
-
* The complete set of contributors may be found at
|
|
211
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
212
|
-
* Code distributed by Google as part of the polymer project is also
|
|
213
|
-
* subject to an additional IP rights grant found at
|
|
214
|
-
* http://polymer.github.io/PATENTS.txt
|
|
215
|
-
*/(window.litElementVersions||(window.litElementVersions=[])).push("2.3.1");var tt={},et=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&G(t,e)}(i,t);var e,n,r,o=Q(i);function i(){return J(this,i),o.apply(this,arguments)}return e=i,r=[{key:"getStyles",value:function(){return this.styles}},{key:"_getUniqueStyles",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var t=this.getStyles();if(void 0===t)this._styles=[];else if(Array.isArray(t)){var e=function t(e,n){return e.reduceRight((function(e,n){return Array.isArray(n)?t(n,e):(e.add(n),e)}),n)}(t,new Set),n=[];e.forEach((function(t){return n.unshift(t)})),this._styles=n}else this._styles=[t]}}}],(n=[{key:"initialize",value:function(){K(Z(i.prototype),"initialize",this).call(this),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?z?this.renderRoot.adoptedStyleSheets=t.map((function(t){return t.styleSheet})):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map((function(t){return t.cssText})),this.localName))}},{key:"connectedCallback",value:function(){K(Z(i.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var e=this,n=this.render();K(Z(i.prototype),"update",this).call(this,t),n!==tt&&this.constructor.render(n,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((function(t){var n=document.createElement("style");n.textContent=t.cssText,e.renderRoot.appendChild(n)})))}},{key:"render",value:function(){return tt}}])&&Y(e.prototype,n),r&&Y(e,r),i}(V);et.finalized=!0,et.render=function(t,e,n){if(!n||"object"!==p(n)||!n.scopeName)throw new Error("The `scopeName` option is required.");var o=n.scopeName,i=c.a.has(e),u=d&&11===e.nodeType&&!!e.host,a=u&&!b.has(o),s=a?document.createDocumentFragment():e;if(Object(c.b)(t,s,Object.assign({templateFactory:y(o)},n)),a){var f=c.a.get(s);c.a.delete(s);var h=f.value instanceof l.a?f.value.template:void 0;m(o,s,h),Object(r.b)(e,e.firstChild),e.appendChild(s),c.a.set(e,f)}!i&&u&&window.ShadyCSS.styleElement(e.host)}},319:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i}));var r=n(5),o=new r.a((function(t){return t.complete()}));function i(t){return t?function(t){return new r.a((function(e){return t.schedule((function(){return e.complete()}))}))}(t):o}},321:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(5),o=n(113),i=n(117),u=n(114);function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,a=void 0,c=t[t.length-1];return Object(o.a)(c)?(a=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof c&&(n=t.pop()),!a&&1===t.length&&t[0]instanceof r.a?t[0]:Object(i.a)(n)(Object(u.a)(t,a))}},322:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=n(9);function i(t){return function(e){return e.lift(new u(t))}}var u=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.value))},t}(),a=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return Object(r.e)(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(o.a)},323:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(118),o=n(113);function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return Object(o.a)(n)?(t.pop(),function(e){return Object(r.a)(t,e,n)}):function(e){return Object(r.a)(t,e)}}},324:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=n(9);function i(){return function(t){return t.lift(new u)}}var u=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return Object(r.e)(e,t),e.prototype._next=function(t){var e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)},e}(o.a)},338:function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r=n(1),o=n(310),i=n(5),u=n(9),a=n(13);function c(){return function(t){return t.lift(new l(t))}}var s,l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new f(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),f=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r.connection=null,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(u.a),p=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return Object(r.e)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new a.a).add(this.source.subscribe(new d(this.getSubject(),this))),t.closed&&(this._connection=null,t=a.a.EMPTY)),t},e.prototype.refCount=function(){return c()(this)},e}(i.a),h={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(s=p.prototype)._subscribe},_isComplete:{value:s._isComplete,writable:!0},getSubject:{value:s.getSubject},connect:{value:s.connect},refCount:{value:s.refCount}},d=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(o.b),y=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new y(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o}}(),function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(u.a));var v=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();function b(){return new o.a}function m(){return function(t){return c()((e=b,function(t){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof n)return t.lift(new v(r,n));var o=Object.create(t,h);return o.source=t,o.subjectFactory=r,o})(t));var e,n}}},340:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=n(9);function i(t,e){return function(n){return n.lift(new u(t,e))}}var u=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.compare,this.keySelector))},t}(),a=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.keySelector=r,o.hasKey=!1,"function"==typeof n&&(o.compare=n),o}return Object(r.e)(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(t){return this.destination.error(t)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(t){return this.destination.error(t)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(o.a)},341:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(5),o=n(79),i=n(319);function u(t){return new r.a((function(e){var n;try{n=t()}catch(t){return void e.error(t)}return(n?Object(o.a)(n):i.a).subscribe(e)}))}},342:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),o=n(9),i=n(13);function u(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.callback))},t}(),c=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new i.a(n)),r}return Object(r.e)(e,t),e}(o.a)},343:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),o=n(47),i=n(46);function u(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new c(t),r=Object(i.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),c=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return Object(r.e)(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(o.a)},344:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),o=n(310),i=n(313),u=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return Object(r.e)(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(o.a)},349:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(1),o=n(9),i=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}(),u=n(319);function a(t){return function(e){return 0===t?u.a:e.lift(new c(t))}}var c=function(){function t(t){if(this.total=t,this.total<0)throw new i}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.total))},t}(),s=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return Object(r.e)(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.a)}}]);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* __ __ __ __
|
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
|
9
|
-
* /\___/ \ \____/
|
|
10
|
-
* \/__/ \/___/
|
|
11
|
-
*
|
|
12
|
-
* Powered by Hydejack v9.0.2 <https://hydejack.com/>
|
|
13
|
-
*/
|
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{320: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},332:function(t,e,r){"use strict";var n="URLSearchParams"in self,o="Symbol"in self&&"iterator"in Symbol,i="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),s="FormData"in self,a="ArrayBuffer"in self;if(a)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],f=ArrayBuffer.isView||function(t){return t&&u.indexOf(Object.prototype.toString.call(t))>-1};function l(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function c(t){return"string"!=typeof t&&(t=String(t)),t}function h(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o&&(e[Symbol.iterator]=function(){return e}),e}function y(t){this.map={},t instanceof y?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 p(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function d(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function b(t){var e=new FileReader,r=d(e);return e.readAsArrayBuffer(t),r}function v(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:i&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:s&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:n&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():a&&i&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=v(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(t)||f(t))?this._bodyArrayBuffer=v(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):n&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var t=p(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(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var t,e,r,n=p(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=d(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)},s&&(this.formData=function(){return this.text().then(O)}),this.json=function(){return this.text().then(JSON.parse)},this}y.prototype.append=function(t,e){t=l(t),e=c(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},y.prototype.delete=function(t){delete this.map[l(t)]},y.prototype.get=function(t){return t=l(t),this.has(t)?this.map[t]:null},y.prototype.has=function(t){return this.map.hasOwnProperty(l(t))},y.prototype.set=function(t,e){this.map[l(t)]=c(e)},y.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},y.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),h(t)},y.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),h(t)},y.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),h(t)},o&&(y.prototype[Symbol.iterator]=y.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,e){var r,n,o=(e=e||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new y(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 y(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),w.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");this._initBody(o)}function O(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 _(t,e){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:"OK",this.headers=new y(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},m.call(g.prototype),m.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},_.error=function(){var t=new _(null,{status:0,statusText:""});return t.type="error",t};var E=[301,302,303,307,308];_.redirect=function(t,e){if(-1===E.indexOf(e))throw new RangeError("Invalid status code");return new _(null,{status:e,headers:{location:t}})};var A=self.DOMException;try{new A}catch(t){(A=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),A.prototype.constructor=A}function T(t,e){return new Promise((function(r,n){var o=new g(t,e);if(o.signal&&o.signal.aborted)return n(new A("Aborted","AbortError"));var s=new XMLHttpRequest;function a(){s.abort()}s.onload=function(){var t,e,n={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new y,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).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 s?s.responseURL:n.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;r(new _(o,n))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new A("Aborted","AbortError"))},s.open(o.method,o.url,!0),"include"===o.credentials?s.withCredentials=!0:"omit"===o.credentials&&(s.withCredentials=!1),"responseType"in s&&i&&(s.responseType="blob"),o.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),o.signal&&(o.signal.addEventListener("abort",a),s.onreadystatechange=function(){4===s.readyState&&o.signal.removeEventListener("abort",a)}),s.send(void 0===o._bodyInit?null:o._bodyInit)}))}T.polyfill=!0,self.fetch||(self.fetch=T,self.Headers=y,self.Request=g,self.Response=_)},333: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,r){return(u="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 f=function(){function e(){t(this,e),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return r(e,[{key:"addEventListener",value:function(t,e){t in this.listeners||(this.listeners[t]=[]),this.listeners[t].push(e)}},{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]===e)return void r.splice(n,1)}},{key:"dispatchEvent",value:function(t){var e=this;if(t.type in this.listeners){for(var r=function(r){setTimeout((function(){return r.call(e,t)}))},n=this.listeners[t.type],o=0,i=n.length;o<i;o++)r(n[o]);return!t.defaultPrevented}}}]),e}(),l=function(e){function n(){var e;return t(this,n),(e=function(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?a(t):e}(this,o(n).call(this))).listeners||f.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 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)}(n,e),r(n,[{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)),u(o(n.prototype),"dispatchEvent",this).call(this,t)}}]),n}(f),c=function(){function e(){t(this,e),Object.defineProperty(this,"signal",{value:new l,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 h(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&&(c.prototype[Symbol.toStringTag]="AbortController",l.prototype[Symbol.toStringTag]="AbortSignal"),function(t){if(h(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(!h({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 f=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,f(t,e)])}return f(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:c}),Object.defineProperty(t,"AbortSignal",{writable:!0,enumerable:!1,configurable:!0,value:l})}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(320))}}]);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* __ __ __ __
|
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
|
9
|
-
* /\___/ \ \____/
|
|
10
|
-
* \/__/ \/___/
|
|
11
|
-
*
|
|
12
|
-
* Powered by Hydejack v9.0.2 <https://hydejack.com/>
|
|
13
|
-
*/
|
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{302:function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(){"use strict";if("object"===("undefined"==typeof window?"undefined":n(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=window.document,e=[],o=null,i=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return o||(o=function(t,n){i=t&&n?l(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),o},s._resetCrossOriginUpdater=function(){o=null,i=null},s.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()}},s.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()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},s.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){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!==n[e-1]}))},s.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},s.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var o=this._checkForIntersections,i=null,r=null;if(this.POLL_INTERVAL?i=n.setInterval(o,this.POLL_INTERVAL):(h(n,"resize",o,!0),h(e,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(r=new n.MutationObserver(o)).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),u(t,"resize",o,!0)),u(e,"scroll",o,!0),r&&r.disconnect()})),e!=(this.root&&this.root.ownerDocument||t)){var s=d(e);s&&this._monitorIntersections(s.ownerDocument)}}},s.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var o=this.root&&this.root.ownerDocument||t;if(!this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=o;){var i=d(n);if((n=i&&i.ownerDocument)==e)return!0}return!1}))){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),e!=o){var r=d(e);r&&this._unmonitorIntersections(r.ownerDocument)}}}},s.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]()},s.prototype._checkForIntersections=function(){if(this.root||!o||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(n){var i=n.element,s=c(i),h=this._rootContainsTarget(i),u=n.entry,a=t&&h&&this._computeTargetAndRootIntersection(i,s,e),l=n.entry=new r({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:s,rootBounds:o&&!this.root?null:e,intersectionRect:a});u?t&&h?this._hasCrossedThreshold(u,l)&&this._queuedEntries.push(l):u&&u.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(e,n,r){if("none"!=window.getComputedStyle(e).display){for(var s,h,u,a,f,d,g,m,b=n,v=p(e),w=!1;!w&&v;){var _=null,y=1==v.nodeType?window.getComputedStyle(v):{};if("none"==y.display)return null;if(v==this.root||9==v.nodeType)if(w=!0,v==this.root||v==t)o&&!this.root?!i||0==i.width&&0==i.height?(v=null,_=null,b=null):_=i:_=r;else{var I=p(v),E=I&&c(I),T=I&&this._computeTargetAndRootIntersection(I,E,r);E&&T?(v=I,_=l(E,T)):(v=null,b=null)}else{var R=v.ownerDocument;v!=R.body&&v!=R.documentElement&&"visible"!=y.overflow&&(_=c(v))}if(_&&(s=_,h=b,u=void 0,a=void 0,f=void 0,d=void 0,g=void 0,m=void 0,u=Math.max(s.top,h.top),a=Math.min(s.bottom,h.bottom),f=Math.max(s.left,h.left),d=Math.min(s.right,h.right),m=a-u,b=(g=d-f)>=0&&m>=0&&{top:u,bottom:a,left:f,right:d,width:g,height:m}||null),!b)break;v=v&&p(v)}return b}},s.prototype._getRootRect=function(){var e;if(this.root)e=c(this.root);else{var n=t.documentElement,o=t.body;e={top:0,left:0,right:n.clientWidth||o.clientWidth,width:n.clientWidth||o.clientWidth,bottom:n.clientHeight||o.clientHeight,height:n.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(e)},s.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},s.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==n||r==o||r<n!=r<o)return!0}},s.prototype._rootIsInDom=function(){return!this.root||f(t,this.root)},s.prototype._rootContainsTarget=function(e){return f(this.root||t,e)&&(!this.root||this.root.ownerDocument==e.ownerDocument)},s.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},s.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=s,window.IntersectionObserverEntry=r}function r(t){this.time=t.time,this.target=t.target,this.rootBounds=a(t.rootBounds),this.boundingClientRect=a(t.boundingClientRect),this.intersectionRect=a(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,o=this.intersectionRect,i=o.width*o.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function s(t,e){var n,o,i,r=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){n(),i=null}),o))}),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 h(t,e,n,o){"function"==typeof t.addEventListener?t.addEventListener(e,n,o||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function u(t,e,n,o){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,o||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function c(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 a(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 l(t,e){var n=e.top-t.top,o=e.left-t.left;return{top:n,left:o,height:e.height,width:e.width,bottom:n+e.height,right:o+e.width}}function f(t,e){for(var n=e;n;){if(n==t)return!0;n=p(n)}return!1}function p(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?d(e):n&&11==n.nodeType&&n.host?n.host:n&&n.assignedSlot?n.assignedSlot.parentNode:n}function d(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}}()}}]);
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* __ __ __ __
|
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
|
9
|
-
* /\___/ \ \____/
|
|
10
|
-
* \/__/ \/___/
|
|
11
|
-
*
|
|
12
|
-
* Powered by Hydejack v9.0.2 <https://hydejack.com/>
|
|
13
|
-
*/
|
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{336:function(e,t,r){"use strict";r.r(t),r.d(t,"HyPushState",(function(){return Ke}));var n,o=r(318),i=r(310),c=r(298),a=r(321),u=r(1),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(u.e)(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=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&&(cancelAnimationFrame(r),t.scheduled=void 0)},t}(r(147).a),l=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.e)(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1,o=r.length;e=e||r.shift();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),f=r(341),h=r(344),p=r(31),b=r(151),y=r(152),d=r(323),v=r(324),m=r(338),O=r(9),j=r(319),g=r(64),w=r(5);function S(e){var t=e.error;e.subscriber.error(t)}!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(n||(n={}));var P=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return r&&r()}},e.prototype.accept=function(e,t,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e,t;switch(this.kind){case"N":return Object(g.a)(this.value);case"E":return e=this.error,t?new w.a((function(r){return t.schedule(S,0,{error:e,subscriber:r})})):new w.a((function(t){return t.error(e)}));case"C":return j.a}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}();function E(e,t){return void 0===t&&(t=0),function(r){return r.lift(new A(e,t))}}var k,A=function(){function e(e,t){void 0===t&&(t=0),this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return t.subscribe(new C(e,this.scheduler,this.delay))},e}(),C=function(e){function t(t,r,n){void 0===n&&(n=0);var o=e.call(this,t)||this;return o.scheduler=r,o.delay=n,o}return Object(u.e)(t,e),t.dispatch=function(e){var t=e.notification,r=e.destination;t.observe(r),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new N(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(P.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(P.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(P.createComplete()),this.unsubscribe()},t}(O.a),N=function(e,t){this.notification=e,this.destination=t},R=r(322),x=r(340),M=r(148),L=r(150),_=r(345),T=r(343),I=r(305);function q(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 U(e){return e&&""===e.target}function D(e,t){var r=e.url,n=e.anchor,o=e.event,i=o.metaKey,c=o.ctrlKey;return!i&&!c&&U(n)&&!q(r,t)}function H(e,t){var r=e.url;return U(e.anchor)&&!q(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 $(e){var t=e.cause,r=e.url,n=r.pathname,o=r.hash;return n===e.oldURL.pathname&&(t===k.Pop||t===k.Push&&""!==o)}!function(e){e.Init="init",e.Hint="hint",e.Push="push",e.Pop="pop"}(k||(k={}));var V=r(346),B=r(349);function F(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,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return z(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 z(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 z(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 W(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 X(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach((function(t){J(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function J(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function K(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 G=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(I.g)(e.url.href,{method:"GET",mode:"cors",headers:{Accept:"text/html"}}).pipe(Object(M.a)((function(e){return e.text()})),Object(p.a)((function(t){return X(X({},e),{},{responseText:t})})),Object(_.a)((function(t){return Object(g.a)(X(X({},e),{},{error:t,responseText:null}))})))}},{key:"selectPrefetch",value:function(e,t,r){return e.href===t.url.href?Object(g.a)(t):r.pipe(Object(B.a)(1))}},{key:"getResponse",value:function(e,t,r){return Object(V.a)(this.selectPrefetch(t.url,r,e),this.parent.animPromise).pipe(Object(p.a)((function(e){return X(X({},F(e,1)[0]),t)})))}}])&&K(t.prototype,r),n&&K(t,n),e}(),Q=r(79),Y=r(299),Z=r(342);function ee(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,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return te(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 te(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 te(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 re(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 ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?re(Object(r),!0).forEach((function(t){oe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ie(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 ce=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){return e.querySelectorAll(t.scriptSelector).forEach((function(e){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(Q.a)(r).pipe(Object(Y.a)((function(e){return t.insertScript(e)})),Object(_.a)((function(t){return Object(g.a)(ne(ne({},e),{},{error:t}))})),Object(Z.a)((function(){return document.write=n})),Object(R.a)(e)).toPromise()}},{key:"insertScript",value:function(e){var t=ee(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){return n.parentNode.insertBefore(e,n)}))},new Promise((function(e,t){""!==r.src?(r.addEventListener("load",e),r.addEventListener("error",t),n.parentNode.replaceChild(r,n)):(n.parentNode.replaceChild(r,n),e({}))}))}},{key:"scriptSelector",get:function(){return this.parent.scriptSelector}}])&&ie(t.prototype,r),n&&ie(t,n),e}();function ae(e,t){e.forEach((function(e){e.querySelectorAll("[href]").forEach(ue("href",t)),e.querySelectorAll("[src]").forEach(ue("src",t)),e.querySelectorAll("img[srcset]").forEach(function(e,t){return function(r){try{r.setAttribute(e,r.getAttribute(e).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(ue("cite",t)),e.querySelectorAll("del[cite]").forEach(ue("cite",t)),e.querySelectorAll("ins[cite]").forEach(ue("cite",t)),e.querySelectorAll("q[cite]").forEach(ue("cite",t)),e.querySelectorAll("img[longdesc]").forEach(ue("longdesc",t)),e.querySelectorAll("frame[longdesc]").forEach(ue("longdesc",t)),e.querySelectorAll("iframe[longdesc]").forEach(ue("longdesc",t)),e.querySelectorAll("img[usemap]").forEach(ue("usemap",t)),e.querySelectorAll("input[usemap]").forEach(ue("usemap",t)),e.querySelectorAll("object[usemap]").forEach(ue("usemap",t)),e.querySelectorAll("form[action]").forEach(ue("action",t)),e.querySelectorAll("button[formaction]").forEach(ue("formaction",t)),e.querySelectorAll("input[formaction]").forEach(ue("formaction",t)),e.querySelectorAll("video[poster]").forEach(ue("poster",t)),e.querySelectorAll("object[data]").forEach(ue("data",t)),e.querySelectorAll("object[codebase]").forEach(ue("codebase",t)),e.querySelectorAll("object[archive]").forEach(function(e,t){return function(r){try{r.setAttribute(e,r.getAttribute(e).split(/[\s,]+/).map((function(e){return new URL(e,t).href})).join(", "))}catch(e){}}}("archive",t))}))}function ue(e,t){return function(r){try{r.setAttribute(e,new URL(r.getAttribute(e),t).href)}catch(e){}}}function se(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,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return le(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 le(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 le(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 fe(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 he(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(r),!0).forEach((function(t){pe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function pe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function be(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 ye=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 ce(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){try{var t=e.responseText,r=(new DOMParser).parseFromString(t,"text/html"),n=r.title,o=void 0===n?"":n,i=this.getReplaceElements(r),c=this.scriptSelector?this.scriptManager.removeScriptTags(i):[];return he(he({},e),{},{document:r,title:o,replaceEls:i,scripts:c})}catch(e){console.error(e)}}},{key:"replaceContentWithSelector",value:function(e){this.replaceSelector.split(",").map((function(e){return document.querySelector(e)})).forEach((function(t,r){return t.parentNode.replaceChild(e[r],t)}))}},{key:"replaceContentWholesale",value:function(e){var t=se(e,1)[0];this.el.innerHTML=t.innerHTML}},{key:"replaceContent",value:function(e){this.replaceSelector?this.replaceContentWithSelector(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]"),i=e.head.querySelector("meta[name=description]");o&&i&&(o.content=i.content)}},{key:"updateDOM",value:function(e){try{var t=e.replaceEls,r=e.document;q(this.parent)&&ae(t,this.parent.href),this.replaceContent(t),this.replaceHead(r)}catch(t){throw he(he({},e),{},{error:t})}}},{key:"reinsertScriptTags",value:function(e){return this.scriptManager.reinsertScriptTags(e)}},{key:"el",get:function(){return this.parent.el}},{key:"replaceSelector",get:function(){return this.parent.replaceSelector}},{key:"scriptSelector",get:function(){return this.parent.scriptSelector}}])&&be(t.prototype,r),n&&be(t,n),e}(),de=r(65),ve=r(117);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 Oe=function(e){return Array.prototype.concat.apply([],e)},je=function(e){return{addedNodes:new Set(Oe(e.map((function(e){return Array.from(e.addedNodes)})))),removedNodes:new Set(Oe(e.map((function(e){return Array.from(e.removedNodes)}))))}},ge=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(c.a)(this.el,"click").pipe(Object(p.a)((function(t){var r=Object(I.k)(t.target,e.linkSelector);if(r instanceof HTMLAnchorElement)return[t,r]})),Object(b.a)((function(e){return!!e}))),r=function(e,t){return e.matches(t)?Object(g.a)(e):Object(Q.a)(e.querySelectorAll(t))};return{hintEvent$:this.$.linkSelector.pipe(Object(M.a)((function(t){var n=new Map,o=function(e){n.has(e)||n.set(e,function(e){return Object(a.a)(Object(c.a)(e,"mouseenter",{passive:!0}),Object(c.a)(e,"touchstart",{passive:!0}),Object(c.a)(e,"focus",{passive:!0})).pipe(Object(p.a)((function(t){return[t,e]})))}(e))},i=function(e){n.delete(e)};return Object(I.d)(e.el,{childList:!0,subtree:!0}).pipe(Object(d.a)({addedNodes:[e.el],removedNodes:[]}),Object(I.c)(500),Object(p.a)(je),Object(M.a)((function(e){var c=e.addedNodes,a=e.removedNodes;return Object(Q.a)(a).pipe(Object(b.a)((function(e){return e instanceof Element})),Object(de.a)((function(e){return r(e,t)})),Object(y.a)(i)).subscribe(),Object(Q.a)(c).pipe(Object(b.a)((function(e){return e instanceof Element})),Object(de.a)((function(e){return r(e,t)})),Object(y.a)(o)).subscribe(),Object(Q.a)(n.values()).pipe(Object(ve.a)())})),Object(I.l)(e.$.prefetch))}))),pushEvent$:t}}}])&&me(t.prototype,r),n&&me(t,n),e}();function we(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 Se(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?we(Object(r),!0).forEach((function(t){Pe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):we(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pe(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 ke=function(e){return new Promise((function(t){return setTimeout(t,e)}))},Ae=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=ke(this.parent.duration),this.parent.fireEvent("start",{detail:Se(Se({},e),{},{transitionUntil:function(e){t.parent.animPromise=Promise.all([t.parent.animPromise,e])}})})}},{key:"emitDOMError",value:function(e){var t=e.replaceElMissing,r=e.url;t?(window.history.back(),setTimeout((function(){return document.location.assign(r)}),100)):this.parent.fireEvent("error",{detail:e})}},{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=ke(this.parent.duration),this.parent.fireEvent("after",{detail:Se(Se({},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})}}])&&Ee(t.prototype,r),n&&Ee(t,n),e}();function Ce(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 Ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ce(Object(r),!0).forEach((function(t){Re(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ce(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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)}}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,i=void 0===o?"":o,c=new CustomEvent(e);return c.oldURL=n,c.newURL=i,c};var Me=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(!q(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(!q(this.parent))switch(t){case k.Init:case k.Push:var i=this.parent.histId;if(r||n.href===location.href){var c=Ne(Ne({},history.state),{},Re({},i,{}));history.replaceState(c,document.title,n.href)}else history.pushState(Re({},i,{}),document.title,n.href);case k.Pop:this.parent.simulateHashChange&&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,q(this.parent)||t!==k.Push||history.replaceState(history.state,r)}},{key:"assignScrollPosition",value:function(e){var t=this.parent.histId;return Ne(Ne({},e),{},Re({},t,Ne(Ne({},e[t]),{},{scrollTop:Object(I.j)(),scrollHeight:Object(I.i)()})))}}])&&xe(t.prototype,r),n&&xe(t,n),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 _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 k.Push:this.scrollHashIntoView(r,{behavior:"smooth",block:"start",inline:"nearest"});break;case k.Pop:this.restoreScrollPosition();break;case k.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(I.j)()?this.restoreScrollPosition():location.hash&&requestAnimationFrame((function(){return e.scrollHashIntoView(location.hash,!0)}))}}])&&Le(t.prototype,r),n&&Le(t,n),e}();function Te(e){return function(e){if(Array.isArray(e))return Ue(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||qe(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 Ie(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,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(e,t)||qe(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 qe(e,t){if(e){if("string"==typeof e)return Ue(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)?Ue(e,t):void 0}}function Ue(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 De(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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)}}function $e(e,t,r){return($e="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=We(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 Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Be(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=We(e);if(t){var o=We(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Fe(this,r)}}function Fe(e,t){return!t||"object"!==Xe(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 We(e){return(We=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xe(e){return(Xe="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 Je=function(e,t,r,n){var o,i=arguments.length,c=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===("undefined"==typeof Reflect?"undefined":Xe(Reflect))&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(c=(i<3?o(c):i>3?o(t,r,c):o(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},Ke=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&&Ve(e,t)}(u,e);var t,r,n,o=Be(u);function u(){var e;return De(this,u),(e=o.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,e._initialized=Object(I.f)(),e.$={},e.fadePromise=Promise.resolve(null),e.scrollManager=new _e(ze(e)),e.historyManager=new Me(ze(e)),e.fetchManager=new G(ze(e)),e.updateManager=new ye(ze(e)),e.eventManager=new Ae(ze(e)),e._url=new URL(e.baseURL),e.reload$=new i.a,e.cacheNr=0,e.upgrade=function(){var t=e.setupEventListeners(),r=t.pushEvent$,n=t.hintEvent$,o={},i=r.pipe(Object(p.a)((function(t){var r=Ie(t,2),n=r[0],o=r[1];return{cause:k.Push,url:new URL(o.href,e.href),anchor:o,event:n,cacheNr:e.cacheNr}})),Object(b.a)((function(t){return D(t,ze(e))})),Object(y.a)((function(t){t.event.preventDefault(),e.historyManager.updateHistoryScrollPosition()}))),u=Object(c.a)(window,"popstate").pipe(Object(b.a)((function(){return window.history.state&&window.history.state[e.histId]})),Object(p.a)((function(t){return{cause:k.Pop,url:new URL(window.location.href),cacheNr:e.cacheNr,event:t}}))),s=e.reload$,h=Object(a.a)(i,u,s).pipe(Object(d.a)({url:new URL(window.location.href)}),Object(v.a)(),Object(p.a)((function(e){var t=Ie(e,2),r=t[0],n=t[1];return Object.assign(n,{oldURL:r.url})})),Object(m.a)()),O=h.pipe(Object(b.a)((function(e){return!$(e)})),Object(m.a)()),j=h.pipe(Object(b.a)((function(e){return $(e)})),Object(b.a)((function(){return history.state&&history.state[e.histId]})),E(l),Object(y.a)((function(t){e.historyManager.updateHistoryState(t),e.scrollManager.manageScrollPosition(t)}))),g=Object(f.a)((function(){return Object(a.a)(O.pipe(Object(R.a)(!0)),o.response$.pipe(Object(R.a)(!1)))})).pipe(Object(d.a)(!1)),w=n.pipe(Object(I.h)(g.pipe(Object(p.a)((function(e){return!e})))),Object(p.a)((function(t){var r=Ie(t,2),n=r[0],o=r[1];return{cause:k.Hint,url:new URL(o.href,e.href),anchor:o,event:n,cacheNr:e.cacheNr}})),Object(b.a)((function(t){return H(t,ze(e))}))),S=Object(a.a)(w,O).pipe(Object(x.a)((function(t,r){return e.compareContext(t,r)})),Object(M.a)((function(t){return e.fetchManager.fetchPage(t)})),Object(d.a)({url:{}}),Object(m.a)()),P=o.response$=O.pipe(Object(y.a)((function(t){e.eventManager.onStart(t),e.historyManager.updateHistoryState(t),e._url=t.url})),Object(L.a)(S),Object(M.a)((function(t){var r;return(r=e.fetchManager).getResponse.apply(r,[S].concat(Te(t)))})),Object(m.a)()),A=P.pipe(Object(b.a)((function(e){return!e.error}))),C=P.pipe(Object(b.a)((function(e){return!!e.error}))),N=A.pipe(Object(p.a)((function(t){return e.updateManager.responseToContent(t)})),Object(y.a)((function(t){return e.eventManager.emitReady(t)})),E(l),Object(y.a)((function(t){e.updateManager.updateDOM(t),e.historyManager.updateTitle(t),e.eventManager.emitAfter(t)})),Object(d.a)({cause:k.Init,url:e._url,scripts:[]}),E(l),Object(y.a)((function(t){return e.scrollManager.manageScrollPosition(t)})),Object(y.a)({error:function(t){return e.eventManager.emitDOMError(t)}}),Object(_.a)((function(e,t){return t})),Object(M.a)((function(t){return e.updateManager.reinsertScriptTags(t)})),Object(y.a)({error:function(t){return e.eventManager.emitError(t)}}),Object(_.a)((function(e,t){return t})),Object(M.a)((function(){return e.fadePromise})),Object(y.a)((function(t){return e.eventManager.emitLoad(t)}))),q=C.pipe(Object(y.a)((function(t){return e.eventManager.emitNetworkError(t)}))),U=O.pipe(Object(M.a)((function(t){return Object(f.a)((function(){return e.animPromise})).pipe(Object(T.a)(P),Object(R.a)(t))})),Object(y.a)((function(t){return e.eventManager.emitProgress(t)})));N.subscribe(),j.subscribe(),q.subscribe(),U.subscribe(),e._initialized.resolve(ze(e)),e.fireEvent("init")},e}return t=u,(r=[{key:"createRenderRoot",value:function(){return this}},{key:"_setLocation",value:function(e,t){var r=new URL(this._url.href);r[e]=t,this.assign(r.href)}},{key:"assign",value:function(e){this.reload$.next({cause:k.Push,url:new URL(e,this.href),cacheNr:++this.cacheNr})}},{key:"reload",value:function(){this.reload$.next({cause:k.Push,url:new URL(this.href),cacheNr:++this.cacheNr,replace:!0})}},{key:"replace",value:function(e){this.reload$.next({cause:k.Push,url:new URL(e,this.href),cacheNr:++this.cacheNr,replace:!0})}},{key:"compareContext",value:function(e,t){return e.url.href===t.url.href&&e.error===t.error&&e.cacheNr===t.cacheNr}},{key:"connectedCallback",value:function(){$e(We(u.prototype),"connectedCallback",this).call(this),this.$.linkSelector=new h.a(this.linkSelector),this.$.prefetch=new h.a(this.prefetch),window.addEventListener("beforeunload",this.historyManager.updateHistoryScrollPosition),this.updateComplete.then(this.upgrade)}},{key:"disconnectedCallback",value:function(){window.removeEventListener("beforeunload",this.historyManager.updateHistoryScrollPosition)}},{key:"initialized",get:function(){return this._initialized}},{key:"hash",get:function(){return this._url.hash},set:function(e){this._setLocation("hash",e)}},{key:"host",get:function(){return this._url.host},set:function(e){this._setLocation("host",e)}},{key:"hostname",get:function(){return this._url.hostname},set:function(e){this._setLocation("hostname",e)}},{key:"href",get:function(){return this._url.href},set:function(e){this._setLocation("href",e)}},{key:"pathname",get:function(){return this._url.pathname},set:function(e){this._setLocation("pathname",e)}},{key:"port",get:function(){return this._url.port},set:function(e){this._setLocation("port",e)}},{key:"protocol",get:function(){return this._url.protocol},set:function(e){this._setLocation("protocol",e)}},{key:"search",get:function(){return this._url.search},set:function(e){this._setLocation("search",e)}},{key:"origin",get:function(){return this._url.origin},set:function(e){}},{key:"ancestorOrigins",get:function(){return window.location.ancestorOrigins},set:function(e){}},{key:"histId",get:function(){return this.id||this.tagName}}])&&He(t.prototype,r),n&&He(t,n),u}(Object(I.b)(I.a,[ge]));
|
|
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
|
-
*/Je([Object(o.e)({type:String,reflect:!0,attribute:"replace-selector"})],Ke.prototype,"replaceSelector",void 0),Je([Object(o.e)({type:String,reflect:!0,attribute:"link-selector"})],Ke.prototype,"linkSelector",void 0),Je([Object(o.e)({type:String,reflect:!0,attribute:"script-selector"})],Ke.prototype,"scriptSelector",void 0),Je([Object(o.e)({type:Boolean,reflect:!0,attribute:"prefetch"})],Ke.prototype,"prefetch",void 0),Je([Object(o.e)({type:Number,reflect:!0,attribute:"duration"})],Ke.prototype,"duration",void 0),Je([Object(o.e)({type:Boolean,reflect:!0,attribute:"hashchange"})],Ke.prototype,"simulateHashChange",void 0),Je([Object(o.e)({type:String})],Ke.prototype,"baseURL",void 0),Je([Object(o.e)()],Ke.prototype,"assign",null),Je([Object(o.e)()],Ke.prototype,"reload",null),Je([Object(o.e)()],Ke.prototype,"replace",null),Ke=Je([Object(o.c)("hy-push-state")],Ke)},345:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),o=r(47),i=r(55),c=r(46);function a(e){return function(t){var r=new u(e),n=t.lift(r);return r.caught=n}}var u=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.selector,this.caught))},e}(),s=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.selector=r,o.caught=n,o}return Object(n.e)(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=void 0;try{r=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var n=new i.a(this,void 0,void 0);this.add(n);var o=Object(c.a)(this,r,void 0,void 0,n);o!==n&&this.add(o)}},t}(o.a)},346:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(1),o=r(114),i=r(68),c=r(9),a=r(47),u=r(46),s=r(38);function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1],n=void 0;return"function"==typeof r&&(n=e.pop()),Object(o.a)(e,void 0).lift(new f(n))}var f=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new h(e,this.resultSelector))},e}(),h=function(e){function t(t,r,n){void 0===n&&(n=Object.create(null));var o=e.call(this,t)||this;return o.iterators=[],o.active=0,o.resultSelector=r,o.values=n,o}return Object(n.e)(t,e),t.prototype._next=function(e){var t=this.iterators;Object(i.a)(e)?t.push(new b(e)):"function"==typeof e[s.a]?t.push(new p(e[s.a]())):t.push(new y(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(var r=0;r<t;r++){var n=e[r];if(n.stillUnsubscribed)this.destination.add(n.subscribe(n,r));else this.active--}}else this.destination.complete()},t.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,r=this.destination,n=0;n<t;n++){if("function"==typeof(c=e[n]).hasValue&&!c.hasValue())return}var o=!1,i=[];for(n=0;n<t;n++){var c,a=(c=e[n]).next();if(c.hasCompleted()&&(o=!0),a.done)return void r.complete();i.push(a.value)}this.resultSelector?this._tryresultSelector(i):r.next(i),o&&r.complete()},t.prototype._tryresultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(c.a),p=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return e&&!!e.done},e}(),b=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[s.a]=function(){return this},e.prototype.next=function(e){var t=this.index++,r=this.array;return t<this.length?{value:r[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),y=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.parent=r,o.observable=n,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return Object(n.e)(t,e),t.prototype[s.a]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,r,n,o){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return Object(u.a)(this,this.observable,this,t)},t}(a.a)},347:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),o=r(47),i=r(55),c=r(46),a=r(31),u=r(79);function s(e,t){return t?function(r){return r.pipe(s((function(r,n){return Object(u.a)(e(r,n)).pipe(Object(a.a)((function(e,o){return t(r,e,n,o)})))})))}:function(t){return t.lift(new l(e))}}var l=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new f(e,this.project))},e}(),f=function(e){function t(t,r){var n=e.call(this,t)||this;return n.project=r,n.hasSubscription=!1,n.hasCompleted=!1,n.index=0,n}return Object(n.e)(t,e),t.prototype._next=function(e){this.hasSubscription||this.tryNext(e)},t.prototype.tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this.hasSubscription=!0,this._innerSub(t,e,r)},t.prototype._innerSub=function(e,t,r){var n=new i.a(this,t,r),o=this.destination;o.add(n);var a=Object(c.a)(this,e,void 0,void 0,n);a!==n&&o.add(a)},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,r,n,o){this.destination.next(t)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(o.a)},351:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(5),o=r(115),i=r(68);function c(e){return!Object(i.a)(e)&&e-parseFloat(e)+1>=0}var a=r(113);function u(e,t,r){void 0===e&&(e=0);var i=-1;return c(t)?i=Number(t)<1?1:Number(t):Object(a.a)(t)&&(r=t),Object(a.a)(r)||(r=o.a),new n.a((function(t){var n=c(e)?e:+e-r.now();return r.schedule(s,n,{index:0,period:i,subscriber:t})}))}function s(e){var t=e.index,r=e.period,n=e.subscriber;if(n.next(t),!n.closed){if(-1===r)return n.complete();e.index=t+1,this.schedule(e,r)}}}}]);
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* __ __ __ __
|
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
|
9
|
-
* /\___/ \ \____/
|
|
10
|
-
* \/__/ \/___/
|
|
11
|
-
*
|
|
12
|
-
* Powered by Hydejack v9.0.2 <https://hydejack.com/>
|
|
13
|
-
*/
|
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{320:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(r=window)}e.exports=r},331:function(e,t,n){(function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}(function(){"use strict";var n;function r(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function o(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:r(e)}}function i(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}var s="undefined"!=typeof window&&window===this?this:void 0!==e&&null!=e?e:this;function a(e,t){return{index:e,o:[],u:t}}function l(e,t,n,r){var o=0,i=0,s=0,l=0,c=Math.min(t-o,r-i);if(0==o&&0==i)e:{for(s=0;s<c;s++)if(e[s]!==n[s])break e;s=c}if(t==e.length&&r==n.length){l=e.length;for(var d=n.length,h=0;h<c-s&&u(e[--l],n[--d]);)h++;l=h}if(i+=s,r-=l,0==(t-=l)-(o+=s)&&0==r-i)return[];if(o==t){for(t=a(o,0);i<r;)t.o.push(n[i++]);return[t]}if(i==r)return[a(o,t-o)];for(r=r-(s=i)+1,l=t-(c=o)+1,t=Array(r),d=0;d<r;d++)t[d]=Array(l),t[d][0]=d;for(d=0;d<l;d++)t[0][d]=d;for(d=1;d<r;d++)for(h=1;h<l;h++)if(e[c+h-1]===n[s+d-1])t[d][h]=t[d-1][h-1];else{var f=t[d-1][h]+1,_=t[d][h-1]+1;t[d][h]=f<_?f:_}for(c=t.length-1,s=t[0].length-1,r=t[c][s],e=[];0<c||0<s;)0==c?(e.push(2),s--):0==s?(e.push(3),c--):(l=t[c-1][s-1],(f=(d=t[c-1][s])<(h=t[c][s-1])?d<l?d:l:h<l?h:l)==l?(l==r?e.push(0):(e.push(1),r=l),c--,s--):f==d?(e.push(3),c--,r=d):(e.push(2),s--,r=h));for(e.reverse(),t=void 0,c=[],s=0;s<e.length;s++)switch(e[s]){case 0:t&&(c.push(t),t=void 0),o++,i++;break;case 1:t||(t=a(o,0)),t.u++,o++,t.o.push(n[i]),i++;break;case 2:t||(t=a(o,0)),t.u++,o++;break;case 3:t||(t=a(o,0)),t.o.push(n[i]),i++}return t&&c.push(t),c}function u(e,t){return e===t}function c(){}function d(e){return e.__shady||(e.__shady=new c),e.__shady}function h(e){return e&&e.__shady}c.prototype.toJSON=function(){return{}};var f=window.ShadyDOM||{};f.T=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var _=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function p(e){return(e=h(e))&&void 0!==e.firstChild}function y(e){return e instanceof ShadowRoot}function m(e){return(e=(e=h(e))&&e.root)&&Mt(e)}f.c=!!(_&&_.configurable&&_.get),f.F=f.force||!f.T,f.g=f.noPatch||!1,f.A=f.preferPerformance,f.G="on-demand"===f.g,f.L=navigator.userAgent.match("Trident");var v=Element.prototype,g=v.matches||v.matchesSelector||v.mozMatchesSelector||v.msMatchesSelector||v.oMatchesSelector||v.webkitMatchesSelector,S=document.createTextNode(""),N=0,E=[];function b(e){E.push(e),S.textContent=N++}new MutationObserver((function(){for(;E.length;)try{E.shift()()}catch(e){throw S.textContent=N++,e}})).observe(S,{characterData:!0});var C=!!document.contains;function w(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function T(e){for(var t=e.length-1;0<=t;t--){var n=e[t],r=n.getAttribute("id")||n.getAttribute("name");r&&"length"!==r&&isNaN(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if("length"!==t&&isNaN(t)&&e[t])return e[t];for(var n=o(e),r=n.next();!r.done;r=n.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==t)return r;return null},e}function O(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function x(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function P(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function k(e,t,n,r){for(var o in n=void 0===n?"":n,t)r&&0<=r.indexOf(o)||P(e,n+o,t[o])}function M(e,t){for(var n in t)n in e&&P(e,n,t[n])}function D(e){var t={};return Object.getOwnPropertyNames(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t}function R(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}var A,L=[];function I(e){A||(A=!0,b(F)),L.push(e)}function F(){A=!1;for(var e=!!L.length;L.length;)L.shift()();return e}F.list=L;var j=D({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),H=D({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){return this.__shady_innerHTML=e}}),B=D({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(e){return this.__shady_className=e}});function U(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}U(j),U(H),U(B);var q,V=f.c||!0===f.g,G=V?function(){}:function(e){var t=d(e);t.N||(t.N=!0,M(e,B))},W=V?function(){}:function(e){var t=d(e);t.M||(t.M=!0,M(e,j),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!f.g||M(e,H))},K="__eventWrappers"+Date.now(),X=(q=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return q.get.call(e)}:null,$=function(){function e(){}var t=!1,n={get capture(){return t=!0,!1}};return window.addEventListener("test",e,n),window.removeEventListener("test",e,n),t}();function z(e){if(e&&"object"===t(e))var n=!!e.capture,r=!!e.once,o=!!e.passive,i=e.i;else n=!!e,o=r=!1;return{K:i,capture:n,once:r,passive:o,J:$?e:n}}var Y={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},J={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function Q(e){return e instanceof Node?e.__shady_getRootNode():e}function Z(e,t){var n=[],r=e;for(e=Q(e);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(t||r!==e)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function ee(e,t){if(!y)return e;e=Z(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=Q(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!y(r)||-1<s)return n}function te(e){function t(t,n){return(t=new e(t,n)).__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}var ne={focus:!0,blur:!0};function re(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function oe(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!re(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}function ie(e){var t,n=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return o},configurable:!0});for(var r=n.length-1;0<=r;r--){var o=n[r];if(oe(e,o,"capture"),e.B)return}for(Object.defineProperty(e,"eventPhase",{get:function(){return Event.AT_TARGET}}),r=0;r<n.length;r++){var i=h(o=n[r]);if(i=i&&i.root,(0===r||i&&i===t)&&(oe(e,o,"bubble"),o!==window&&(t=o.__shady_getRootNode()),e.B))break}}function se(e,t,n,r,o,i){for(var s=0;s<e.length;s++){var a=e[s],l=a.type,u=a.capture,c=a.once,d=a.passive;if(t===a.node&&n===l&&r===u&&o===c&&i===d)return s}return-1}function ae(e){return F(),this.__shady_native_dispatchEvent(e)}function le(e,n,r){var o=z(r),i=o.capture,s=o.once,a=o.passive,l=o.K;if(o=o.J,n){var u=t(n);if(("function"===u||"object"===u)&&("object"!==u||n.handleEvent&&"function"==typeof n.handleEvent)){if(J[e])return this.__shady_native_addEventListener(e,n,o);var c=l||this;if(l=n[K]){if(-1<se(l,c,e,i,s,a))return}else n[K]=[];l=function(t){if(s&&this.__shady_removeEventListener(e,n,r),t.__target||de(t),c!==this){var o=Object.getOwnPropertyDescriptor(t,"currentTarget");Object.defineProperty(t,"currentTarget",{get:function(){return c},configurable:!0})}if(t.__previousCurrentTarget=t.currentTarget,(!y(c)&&"slot"!==c.localName||-1!=t.composedPath().indexOf(c))&&(t.composed||-1<t.composedPath().indexOf(c)))if(re(t)&&t.target===t.relatedTarget)t.eventPhase===Event.BUBBLING_PHASE&&t.stopImmediatePropagation();else if(t.eventPhase===Event.CAPTURING_PHASE||t.bubbles||t.target===c||c instanceof Window){var i="function"===u?n.call(c,t):n.handleEvent&&n.handleEvent(t);return c!==this&&(o?(Object.defineProperty(t,"currentTarget",o),o=null):delete t.currentTarget),i}},n[K].push({node:c,type:e,capture:i,once:s,passive:a,V:l}),ne[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][i?"capture":"bubble"].push(l)):this.__shady_native_addEventListener(e,l,o)}}}function ue(e,t,n){if(t){var r=z(n);n=r.capture;var o=r.once,i=r.passive,s=r.K;if(r=r.J,J[e])return this.__shady_native_removeEventListener(e,t,r);var a=s||this;s=void 0;var l=null;try{l=t[K]}catch(e){}l&&(-1<(o=se(l,a,e,n,o,i))&&(s=l.splice(o,1)[0].V,l.length||(t[K]=void 0))),this.__shady_native_removeEventListener(e,s||t,r),s&&ne[e]&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(s))&&e.splice(t,1))}}var ce=D({get composed(){return void 0===this.__composed&&(X?this.__composed="focusin"===this.type||"focusout"===this.type||X(this):!1!==this.isTrusted&&(this.__composed=Y[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=Z(this.__target,this.composed)),this.__composedPath},get target(){return ee(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Z(this.__relatedTarget,!0)),ee(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.B=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.B=this.__immediatePropagationStopped=!0}});function de(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,f.c){var t=Object.getPrototypeOf(e);if(!t.hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,k(n,ce),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else k(e,ce)}var he=te(Event),fe=te(CustomEvent),_e=te(MouseEvent);var pe=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),ye=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function me(e){return{set:function(t){var n=d(this),r=e.substring(2);n.h||(n.h={}),n.h[e]&&this.removeEventListener(r,n.h[e]),this.__shady_addEventListener(r,t),n.h[e]=t},get:function(){var t=h(this);return t&&t.h&&t.h[e]},configurable:!0}}var ve=D({dispatchEvent:ae,addEventListener:le,removeEventListener:ue}),ge=window.document,Se=f.A,Ne=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),Ee=Ne&&Ne.get;function be(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function Ce(e,t,n){if(e=(e=h(e))&&e.m){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=t.childNodes.length;r<o;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),function(e){e.a||(e.a=!0,b((function(){e.flush()})))}(e)}}var we=D({get parentNode(){var e=h(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=h(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=h(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=h(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=h(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(p(this)){var e=h(this);if(!e.childNodes){e.childNodes=[];for(var t=this.__shady_firstChild;t;t=t.__shady_nextSibling)e.childNodes.push(t)}var n=e.childNodes}else n=this.__shady_native_childNodes;return n.item=function(e){return n[e]},n},get parentElement(){var e=h(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(Ee&&Ee.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(C){if(e.__shady_native_contains(this))return!0}else if(e.documentElement&&e.documentElement.__shady_native_contains(this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(y(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(p(this)){for(var e=[],t=this.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.__shady_textContent);return e.join("")}return this.__shady_native_textContent},set textContent(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!p(this)&&f.c){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&be(this),this.__shady_native_textContent=e}else be(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==ge&&e.ownerDocument!==ge)return this.__shady_native_insertBefore(e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var n=h(t);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&t.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;Ce(this,e);var r=[],s=(n=Lt(this))?n.host.localName:Le(this),a=e.__shady_parentNode;if(a){var l=Le(e),u=!!n||!Lt(e)||Se&&void 0!==this.__noInsertionPoint;a.__shady_removeChild(e,u)}a=!0;var c=(!Se||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=De();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(r=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)r=r&&e(t,n);return r}return t.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(t)===n}(e,s),f=n&&!e.__noInsertionPoint&&(!Se||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(f||c)&&(c&&(l=l||Le(e)),Ie(e,(function(e){if(f&&"slot"===e.localName&&r.push(e),c){var t=l;De()&&(t&&Ae(e,t),(t=De())&&t.scopeNode(e,s))}}))),r.length&&(Ot(n),n.f.push.apply(n.f,r instanceof Array?r:i(o(r))),Et(n)),p(this)&&(function(e,t,n){dt(t,2);var r=d(t);if(void 0!==r.firstChild&&(r.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)ht(e,t,r,n);else ht(e,t,r,n)}(e,this,t),(u=h(this)).root?(a=!1,m(this)&&Et(u.root)):n&&"slot"===this.localName&&(a=!1,Et(n))),a?(n=y(this)?this.host:this,t?(t=function e(t){var n=t;if(t&&"slot"===t.localName){var r=h(t);(r=r&&r.l)&&(n=r.length?r[0]:e(t.__shady_nextSibling))}return n}(t),n.__shady_native_insertBefore(e,t)):n.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!y(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==ge)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+e);Ce(this,null,e);var n=Lt(e),r=n&&function(e,t){if(e.a){xt(e);var n,r=e.b;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var s=o[i];if(w(t,s)){o.splice(i,1);var a=e.a.indexOf(s);if(0<=a&&(e.a.splice(a,1),(a=h(s.__shady_parentNode))&&a.s&&a.s--),i--,s=h(s),a=s.l)for(var l=0;l<a.length;l++){var u=a[l],c=u.__shady_native_parentNode;c&&c.__shady_native_removeChild(u)}s.l=[],s.assignedNodes=[],a=!0}}return a}}(n,e),o=h(this);if(p(this)&&(function(e,t){var n=d(e);t=d(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(d(e).nextSibling=r),r&&(d(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),m(this))){Et(o.root);var i=!0}if(De()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=Le(e);Ie(e,(function(e){Ae(e,s)}))}return function e(t){var n=h(t);if(n&&void 0!==n.w)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=h(t))&&(t.w=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&Et(n)),i||(i=y(this)?this.host:this,(!o.root&&"slot"!==e.localName||i===e.__shady_native_parentNode)&&i.__shady_native_removeChild(e)),e},replaceChild:function(e,t){return this.__shady_insertBefore(e,t),this.__shady_removeChild(t),e},cloneNode:function(e){if("template"==this.localName)return this.__shady_native_cloneNode(e);var t=this.__shady_native_cloneNode(!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE){e=this.__shady_firstChild;for(var n;e;e=e.__shady_nextSibling)n=e.__shady_cloneNode(!0),t.__shady_appendChild(n)}return t},getRootNode:function(e){if(this&&this.nodeType){var t=d(this),n=t.w;return void 0===n&&(y(this)?(n=this,t.w=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.w=n))),n}},contains:function(e){return w(this,e)}}),Te=D({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&bt(e),(e=h(this))&&e.assignedSlot||null}});function Oe(e,t,n){var r=[];return function e(t,n,r,o){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var i;if(i=t.nodeType===Node.ELEMENT_NODE){var s=n,a=r,l=o,u=s(i=t);u&&l.push(i),a&&a(u)?i=u:(e(i,s,a,l),i=void 0)}if(i)break}}(e,t,n,r),r}var xe=D({get firstElementChild(){var e=h(this);if(e&&void 0!==e.firstChild){for(e=this.__shady_firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_firstElementChild},get lastElementChild(){var e=h(this);if(e&&void 0!==e.lastChild){for(e=this.__shady_lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_lastElementChild},get children(){return p(this)?T(Array.prototype.filter.call(x(this),(function(e){return e.nodeType===Node.ELEMENT_NODE}))):this.__shady_native_children},get childElementCount(){var e=this.__shady_children;return e?e.length:0}}),Pe=D({querySelector:function(e){return Oe(this,(function(t){return g.call(t,e)}),(function(e){return!!e}))[0]||null},querySelectorAll:function(e,t){if(t){t=Array.prototype.slice.call(this.__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return T(t.filter((function(e){return e.__shady_getRootNode()==n})))}return T(Oe(this,(function(t){return g.call(t,e)})))}}),ke=f.A&&!f.g?R({},xe):xe;R(xe,Pe);var Me=null;function De(){return Me||(Me=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Me||null}function Re(e,t,n){var r=De();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function Ae(e,t){var n=De();n&&n.unscopeNode(e,t)}function Le(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=De();return t?t.currentScopeForNode(e):""}function Ie(e,t){if(e)for(e.nodeType===Node.ELEMENT_NODE&&t(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&Ie(e,t)}var Fe=window.document;function je(e,t){if("slot"===t)m(e=e.__shady_parentNode)&&Et(h(e).root);else if("slot"===e.localName&&"name"===t&&(t=Lt(e))){if(t.a){xt(t);var n=e.O,r=Pt(e);if(r!==n){var o=(n=t.b[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.b[r]||(t.b[r]=[])).push(e),1<n.length&&(t.b[r]=kt(n))}}Et(t)}}var He=D({get previousElementSibling(){var e=h(this);if(e&&void 0!==e.previousSibling){for(e=this.__shady_previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_previousElementSibling},get nextElementSibling(){var e=h(this);if(e&&void 0!==e.nextSibling){for(e=this.__shady_nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(e){this.__shady_setAttribute("slot",e)},get className(){return this.getAttribute("class")||""},set className(e){this.__shady_setAttribute("class",e)},setAttribute:function(e,t){this.ownerDocument!==Fe?this.__shady_native_setAttribute(e,t):Re(this,e,t)||(this.__shady_native_setAttribute(e,t),je(this,e))},removeAttribute:function(e){this.ownerDocument!==Fe?this.__shady_native_removeAttribute(e):Re(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),je(this,e))}});f.A||pe.forEach((function(e){He[e]=me(e)}));var Be=D({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!f.L){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,Nt(t,this,e),ft(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;Ot(n),n.f.push.apply(n.f,e instanceof Array?e:i(o(e))),Et(t)}t.host.__shady_native_appendChild(t)}else t=new St(mt,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=h(this);return e&&e.U||null}});R(He,Be);var Ue=/[&\u00A0"]/g,qe=/[&\u00A0<>]/g;function Ve(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function Ge(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var We=Ge("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Ke=Ge("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Xe(e,t){"template"===e.localName&&(e=e.content);for(var n="",r=t?t(e):e.childNodes,o=0,i=r.length,s=void 0;o<i&&(s=r[o]);o++){e:{var a=s,l=e,u=t;switch(a.nodeType){case Node.ELEMENT_NODE:for(var c,d="<"+(l=a.localName),h=a.attributes,f=0;c=h[f];f++)d+=" "+c.name+'="'+c.value.replace(Ue,Ve)+'"';d+=">",a=We[l]?d:d+Xe(a,u)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&Ke[l.localName]?a:a.replace(qe,Ve);break e;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break e;default:throw window.console.error(a),Error("not implemented")}}n+=a}return n}var $e=document.implementation.createHTMLDocument("inert"),ze=D({get innerHTML(){return p(this)?Xe("template"===this.localName?this.content:this,x):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{be(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==$e.namespaceURI?$e.createElementNS(this.namespaceURI,t):$e.createElement(t),f.c?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),Ye=D({blur:function(){var e=h(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});f.A||ye.forEach((function(e){Ye[e]=me(e)}));var Je=D({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&y(t)&&bt(t),(t=h(this))&&(e&&e.flatten?t.l:t.assignedNodes)||[]}},addEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)le.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_addEventListener(e,n,r)}},removeEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)ue.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_removeEventListener(e,n,r)}}}),Qe=D({getElementById:function(e){return""===e?null:Oe(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}}),Ze=D({get activeElement(){var e=f.c?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!y(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=Lt(e);t&&t!==this;)t=Lt(e=t.host);return this===document?t?null:e:t===this?e:null}}),et=window.document,tt=D({importNode:function(e,t){if(e.ownerDocument!==et||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),nt=D({dispatchEvent:ae,addEventListener:le.bind(window),removeEventListener:ue.bind(window)}),rt={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(rt.parentElement=we.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(rt.contains=we.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(rt.children=xe.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(rt.innerHTML=ze.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(rt.className=He.className);var ot={EventTarget:[ve],Node:[we,window.EventTarget?null:ve],Text:[Te],Comment:[Te],CDATASection:[Te],ProcessingInstruction:[Te],Element:[He,xe,Te,!f.c||"innerHTML"in Element.prototype?ze:null,window.HTMLSlotElement?null:Je],HTMLElement:[Ye,rt],HTMLSlotElement:[Je],DocumentFragment:[ke,Qe],Document:[tt,ke,Qe,Ze],Window:[nt]},it=f.c?null:["innerHTML","textContent"];function st(e,t,n,r){t.forEach((function(t){return e&&t&&k(e,t,n,r)}))}function at(e){var t,n=e?null:it;for(t in ot)st(window[t]&&window[t].prototype,ot[t],e,n)}function lt(e){return e.__shady_protoIsPatched=!0,st(e,ot.EventTarget),st(e,ot.Node),st(e,ot.Element),st(e,ot.HTMLElement),st(e,ot.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,st(n,ot.EventTarget),st(n,ot.Node),ot[e]&&st(n,ot[e]),t.prototype.__shady_patchedProto=n}));var ut=f.G,ct=f.c;function dt(e,t){if(ut&&!e.__shady_protoIsPatched&&!y(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(lt(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}ct||(1===t?G(e):2===t&&W(e))}function ht(e,t,n,r){dt(e,1),r=r||null;var o=d(e),i=r?d(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=h(o.previousSibling))&&(i.nextSibling=e),(i=h(o.nextSibling=r))&&(i.previousSibling=e),o.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function ft(e,t){var n=d(e);if(t||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,dt(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=d(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,dt(n,1)}}}var _t=D({addEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_addEventListener(e,n,r)},removeEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_removeEventListener(e,n,r)}});function pt(e,t){k(e,_t,t),k(e,Ze,t),k(e,ze,t),k(e,xe,t),f.g&&!t?(k(e,we,t),k(e,Qe,t)):f.c||(k(e,B),k(e,j),k(e,H))}var yt,mt={},vt=f.deferConnectionCallbacks&&"loading"===document.readyState;function gt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function St(e,t,n){if(e!==mt)throw new TypeError("Illegal constructor");this.a=null,Nt(this,t,n)}function Nt(e,t,n){if(e.host=t,e.mode=n&&n.mode,ft(e.host),(t=d(e.host)).root=e,t.U="closed"!==e.mode?e:null,(t=d(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,f.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else Et(e)}function Et(e){e.j||(e.j=!0,I((function(){return bt(e)})))}function bt(e){var t;if(t=e.j){for(var n;e;)e.j&&(n=e),y(e=(t=e).host.__shady_getRootNode())&&(t=h(t.host))&&0<t.s||(e=void 0);t=n}(n=t)&&n._renderSelf()}function Ct(e,t,n){var r=d(t),o=r.C;r.C=null,n||(n=(e=e.b[t.__shady_slot||"__catchall"])&&e[0]),n?(d(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(d(r.assignedSlot).D=!0)}function wt(e,t,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=h(o).assignedNodes;i&&i.length&&wt(e,t,i)}else t.push(n[r])}function Tt(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=h(t)).assignedSlot&&Tt(e,t.assignedSlot)}function Ot(e){e.f=e.f||[],e.a=e.a||[],e.b=e.b||{}}function xt(e){if(e.f&&e.f.length){for(var t,n=e.f,r=0;r<n.length;r++){var o=n[r];ft(o);var i=o.__shady_parentNode;ft(i),(i=h(i)).s=(i.s||0)+1,i=Pt(o),e.b[i]?((t=t||{})[i]=!0,e.b[i].push(o)):e.b[i]=[o],e.a.push(o)}if(t)for(var s in t)e.b[s]=kt(e.b[s]);e.f=[]}}function Pt(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.O=t}function kt(e){return e.sort((function(e,t){e=gt(e);for(var n=gt(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=x(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}}))}function Mt(e){return xt(e),!(!e.a||!e.a.length)}if(St.prototype._renderSelf=function(){var e=vt;if(vt=!0,this.j=!1,this.a){xt(this);for(var t,n=0;n<this.a.length;n++){var r=h(t=this.a[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.l=[],r.I=o)for(r=0;r<o.length;r++){var i=h(o[r]);i.C=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)Ct(this,n);for(n=0;n<this.a.length;n++){if(!(o=h(t=this.a[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)Ct(this,r,t);if((r=(r=h(t.__shady_parentNode))&&r.root)&&(Mt(r)||r.j)&&r._renderSelf(),wt(this,o.l,o.assignedNodes),r=o.I){for(i=0;i<r.length;i++)h(r[i]).C=null;o.I=null,r.length>o.assignedNodes.length&&(o.D=!0)}o.D&&(o.D=!1,Tt(this,t))}for(t=this.a,n=[],o=0;o<t.length;o++)(i=h(r=t[o].__shady_parentNode))&&i.root||!(0>n.indexOf(r))||n.push(r);for(t=0;t<n.length;t++){for(o=(i=n[t])===this?this.host:i,r=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var s=h(i).l,a=0;a<s.length;a++)r.push(s[a]);else r.push(i);i=O(o),s=l(r,r.length,i,i.length);for(var u=a=0,c=void 0;a<s.length&&(c=s[a]);a++){for(var d=0,_=void 0;d<c.o.length&&(_=c.o[d]);d++)_.__shady_native_parentNode===o&&o.__shady_native_removeChild(_),i.splice(c.index+u,1);u-=c.u}for(u=0,c=void 0;u<s.length&&(c=s[u]);u++)for(a=i[c.index],d=c.index;d<c.index+c.u;d++)_=r[d],o.__shady_native_insertBefore(_,a),i.splice(d,0,_)}}if(!f.preferPerformance&&!this.H)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=h(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.H=!0,vt=e,yt&&yt()},function(e){e.__proto__=DocumentFragment.prototype,pt(e,"__shady_"),pt(e),Object.defineProperties(e,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach((function(t){Object.defineProperty(e,t,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(t){Object.defineProperty(e,t,{get:function(){return this.host[t]},configurable:!0})}))}(St.prototype),window.customElements&&window.customElements.define&&f.F&&!f.preferPerformance){var Dt=new Map;yt=function(){var e=[];Dt.forEach((function(t,n){e.push([n,t])})),Dt.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},vt&&document.addEventListener("readystatechange",(function(){vt=!1,yt()}),{once:!0});var Rt=window.customElements.define,At=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Rt.call(window.customElements,e,function(e,t,n){var r=0,o="__isConnected"+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){vt?Dt.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){vt?this.isConnected||Dt.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),e}(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r};window.customElements.define=At,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:At,configurable:!0})}function Lt(e){if(y(e=e.__shady_getRootNode()))return e}function It(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.v=new Set}It.prototype.flush=function(){if(this.a){this.a=!1;var e=this.takeRecords();e.length&&this.v.forEach((function(t){t(e)}))}},It.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var Ft=f.c,jt={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},Ht={};function Bt(e){Ht[e]=function(t){return t["__shady_native_"+e]}}function Ut(e,t){for(var n in k(e,t,"__shady_native_"),t)Bt(n)}function qt(e,t){t=void 0===t?[]:t;for(var n=0;n<t.length;n++){var r=t[n],o=Object.getOwnPropertyDescriptor(e,r);o&&(Object.defineProperty(e,"__shady_native_"+r,o),o.value?jt[r]||(jt[r]=o.value):Bt(r))}}var Vt=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Gt=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Wt=document.implementation.createHTMLDocument("inert");function Kt(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var Xt=["firstElementChild","lastElementChild","children","childElementCount"],$t=["querySelector","querySelectorAll"];function zt(e){this.node=e}function Yt(e){Object.defineProperty(zt.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(n=zt.prototype).addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},n.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},n.appendChild=function(e){return this.node.__shady_appendChild(e)},n.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},n.removeChild=function(e){return this.node.__shady_removeChild(e)},n.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},n.cloneNode=function(e){return this.node.__shady_cloneNode(e)},n.getRootNode=function(e){return this.node.__shady_getRootNode(e)},n.contains=function(e){return this.node.__shady_contains(e)},n.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},n.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},n.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},n.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},n.attachShadow=function(e){return this.node.__shady_attachShadow(e)},n.focus=function(){this.node.__shady_native_focus()},n.blur=function(){this.node.__shady_blur()},n.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},n.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},n.querySelector=function(e){return this.node.__shady_querySelector(e)},n.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},n.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},s.Object.defineProperties(zt.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(y(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(y(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){return this.node.__shady_className=e}}}),pe.forEach((function(e){return Yt(e)})),ye.forEach((function(e){return Yt(e)}));var Jt=new WeakMap;function Qt(e){if(y(e)||e instanceof zt)return e;var t=Jt.get(e);return t||(t=new zt(e),Jt.set(e,t)),t}if(f.F){var Zt=f.c?function(e){return e}:function(e){return W(e),G(e),e};window.ShadyDOM={inUse:f.F,patch:Zt,isShadyRoot:y,enqueue:I,flush:F,flushInitial:function(e){!e.H&&e.j&&bt(e)},settings:f,filterMutations:function(e,t){var n=t.getRootNode();return e.map((function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if((t=[].slice.call(e.addedNodes).filter((function(e){return n===e.getRootNode()}))).length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e})).filter((function(e){return e}))},observeChildren:function(e,t){var n=d(e);n.m||(n.m=new It),n.m.v.add(t);var r=n.m;return{P:t,S:r,R:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.S;t&&(t.v.delete(e.P),t.v.size||(d(e.R).m=null))},deferConnectionCallbacks:f.deferConnectionCallbacks,preferPerformance:f.preferPerformance,handlesDynamicScoping:!0,wrap:f.g?Qt:Zt,wrapIfNeeded:!0===f.g?Qt:function(e){return e},Wrapper:zt,composedPath:function(e){return e.__composedPath||(e.__composedPath=Z(e.target,!0)),e.__composedPath},noPatch:f.g,patchOnDemand:f.G,nativeMethods:jt,nativeTree:Ht,patchElementProto:lt},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?qt(window.EventTarget.prototype,e):(qt(Node.prototype,e),qt(Window.prototype,e)),Ft?qt(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Ut(Node.prototype,{parentNode:{get:function(){return Vt.currentNode=this,Vt.parentNode()}},firstChild:{get:function(){return Vt.currentNode=this,Vt.firstChild()}},lastChild:{get:function(){return Vt.currentNode=this,Vt.lastChild()}},previousSibling:{get:function(){return Vt.currentNode=this,Vt.previousSibling()}},nextSibling:{get:function(){return Vt.currentNode=this,Vt.nextSibling()}},childNodes:{get:function(){var e=[];Vt.currentNode=this;for(var t=Vt.firstChild();t;)e.push(t),t=Vt.nextSibling();return e}},parentElement:{get:function(){return Gt.currentNode=this,Gt.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return this.nodeValue}},set:function(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Kt(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),qt(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),qt(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return Gt.currentNode=this,Gt.firstChild()}},lastElementChild:{get:function(){return Gt.currentNode=this,Gt.lastChild()}},children:{get:function(){var e=[];Gt.currentNode=this;for(var t=Gt.firstChild();t;)e.push(t),t=Gt.nextSibling();return T(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},Ft?(qt(Element.prototype,Xt),qt(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),qt(HTMLElement.prototype,["children","innerHTML","className"])):(Ut(Element.prototype,e),Ut(Element.prototype,{previousElementSibling:{get:function(){return Gt.currentNode=this,Gt.previousSibling()}},nextElementSibling:{get:function(){return Gt.currentNode=this,Gt.nextSibling()}},innerHTML:{get:function(){return Xe(this,O)},set:function(e){var t="template"===this.localName?this.content:this;Kt(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==Wt.namespaceURI?Wt.createElementNS(this.namespaceURI,n):Wt.createElement(n)).innerHTML=e,e="template"===this.localName?n.content:n;n=e.__shady_native_firstChild;)t.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)}}})),qt(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),qt(Element.prototype,$t),qt(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&qt(window.HTMLTemplateElement.prototype,["innerHTML"]),Ft?qt(DocumentFragment.prototype,Xt):Ut(DocumentFragment.prototype,e),qt(DocumentFragment.prototype,$t),Ft?(qt(Document.prototype,Xt),qt(Document.prototype,["activeElement"])):Ut(Document.prototype,e),qt(Document.prototype,["importNode","getElementById"]),qt(Document.prototype,$t)}(),at("__shady_"),Object.defineProperty(document,"_activeElement",Ze.activeElement),k(Window.prototype,nt,"__shady_"),f.g?f.G&&k(Element.prototype,Be):(at(),function(){if(!X&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),function(){for(var e in ne)window.__shady_native_addEventListener(e,(function(e){e.__target||(de(e),ie(e))}),!0)}(),window.Event=he,window.CustomEvent=fe,window.MouseEvent=_e,window.ShadowRoot=St}}).call(this)}).call(this,n(320))},335:function(e,t,n){"use strict";
|
|
15
|
-
/**
|
|
16
|
-
@license
|
|
17
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
18
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
19
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
20
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
21
|
-
Code distributed by Google as part of the polymer project is also
|
|
22
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
23
|
-
*/var r=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function o(e){return function e(t,n){var r=n.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=r.trim(),t.parent){var o=t.previous?t.previous.end:t.parent.start;r=(r=(r=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}(r=n.substring(o,t.start-1))).replace(f.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var i=t.parsedSelector=t.selector=r.trim();t.atRule=0===i.indexOf(y),t.atRule?0===i.indexOf(p)?t.type=c.MEDIA_RULE:i.match(f.keyframesRule)&&(t.type=c.KEYFRAMES_RULE,t.keyframesName=t.selector.split(f.multipleSpaces).pop()):0===i.indexOf(_)?t.type=c.MIXIN_RULE:t.type=c.STYLE_RULE}var s=t.rules;if(s)for(var a,l=0,u=s.length;l<u&&(a=s[l]);l++)e(a,n);return t}(function(e){var t=new r;t.start=0,t.end=e.length;for(var n=t,o=0,i=e.length;o<i;o++)if(e[o]===d){n.rules||(n.rules=[]);var s=n,a=s.rules[s.rules.length-1]||null;(n=new r).start=o+1,n.parent=s,n.previous=a,s.rules.push(n)}else e[o]===h&&(n.end=o+1,n=n.parent||t);return t}(e=e.replace(f.comments,"").replace(f.port,"")),e)}function i(e){var t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(_)}function s(e){return function(e){return e.replace(f.mixinApply,"").replace(f.varApply,"")}(e=a(e))}function a(e){return e.replace(f.customProp,"").replace(f.mixinProp,"")}var l,u,c={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},d="{",h="}",f={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},_="--",p="@media",y="@",m=!(window.ShadyDOM&&window.ShadyDOM.inUse);function v(e){l=(!e||!e.shimcssproperties)&&(m||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(u=window.ShadyCSS.cssBuild);var g=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?l=window.ShadyCSS.nativeCss:window.ShadyCSS?(v(window.ShadyCSS),window.ShadyCSS=void 0):v(window.WebComponents&&window.WebComponents.flags);var S=l,N=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,E=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,b=/(--[\w-]+)\s*([:,;)]|$)/gi,C=/(animation\s*:)|(animation-name\s*:)/,w=/@media\s(.*)/,T=/\{[^}]*\}/g,O=new Set;
|
|
24
|
-
/**
|
|
25
|
-
@license
|
|
26
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
27
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
28
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
29
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
30
|
-
Code distributed by Google as part of the polymer project is also
|
|
31
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
32
|
-
*/function x(e){var t=e.textContent;if(!O.has(t)){O.add(t);var n=document.createElement("style");n.setAttribute("shady-unscoped",""),n.textContent=t,document.head.appendChild(n)}}function P(e){return e.hasAttribute("shady-unscoped")}
|
|
33
|
-
/**
|
|
34
|
-
@license
|
|
35
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
36
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
37
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
38
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
39
|
-
Code distributed by Google as part of the polymer project is also
|
|
40
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
41
|
-
*/function k(e,t){return e?("string"==typeof e&&(e=o(e)),t&&R(e,t),function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";if(t.cssText||t.rules){var a=t.rules;if(a&&!i(a))for(var l,u=0,c=a.length;u<c&&(l=a[u]);u++)o=e(l,n,o);else(o=(o=n?t.cssText:s(t.cssText)).trim())&&(o=" "+o+"\n")}return o&&(t.selector&&(r+=t.selector+" "+d+"\n"),r+=o,t.selector&&(r+=h+"\n\n")),r}(e,S)):""}function M(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=o(e.textContent)),e.__cssRules||null}function D(e){return Boolean(e.parent)&&e.parent.type===c.KEYFRAMES_RULE}function R(e,t,n,r){if(e){var o=!1,i=e.type;if(r&&i===c.MEDIA_RULE){var s=e.selector.match(w);s&&(window.matchMedia(s[1]).matches||(o=!0))}i===c.STYLE_RULE?t(e):n&&i===c.KEYFRAMES_RULE?n(e):i===c.MIXIN_RULE&&(o=!0);var a=e.rules;if(a&&!o)for(var l,u=0,d=a.length;u<d&&(l=a[u]);u++)R(l,t,n,r)}}function A(e,t,n,r){var o=function(e,t){var n=document.createElement("style");t&&n.setAttribute("scope",t);return n.textContent=e,n}(e,t);return I(o,n,r),o}var L=null;function I(e,t,n){t=t||document.head;var r=n&&n.nextSibling||t.firstChild;(t.insertBefore(e,r),L)?e.compareDocumentPosition(L)===Node.DOCUMENT_POSITION_PRECEDING&&(L=e):L=e}function F(e,t){for(var n=0,r=t,o=e.length;r<o;r++)if("("===e[r])n++;else if(")"===e[r]&&0==--n)return r;return-1}function j(e,t){m?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}var H=window.ShadyDOM&&window.ShadyDOM.wrap||function(e){return e};function B(e){var t=e.localName,n="",r="";return t?t.indexOf("-")>-1?n=t:(r=t,n=e.getAttribute&&e.getAttribute("is")||""):(n=e.is,r=e.extends),{is:n,typeExtension:r}}function U(e){for(var t=[],n="",r=0;r>=0&&r<e.length;r++)if("("===e[r]){var o=F(e,r);n+=e.slice(r,o+1),r=o}else","===e[r]?(t.push(n),n=""):n+=e[r];return n&&t.push(n),t}function q(e){if(void 0!==u)return u;if(void 0===e.__cssBuild){var t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{var n=function(e){var t="template"===e.localName?e.content.firstChild:e.firstChild;if(t instanceof Comment){var n=t.textContent.trim().split(":");if("css-build"===n[0])return n[1]}return""}(e);""!==n&&function(e){var t="template"===e.localName?e.content.firstChild:e.firstChild;t.parentNode.removeChild(t)}
|
|
42
|
-
/**
|
|
43
|
-
@license
|
|
44
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
45
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
46
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
47
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
48
|
-
Code distributed by Google as part of the polymer project is also
|
|
49
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
50
|
-
*/(e),e.__cssBuild=n}}return e.__cssBuild||""}function V(e){return""!==q(e)}function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!(""===e||!S)&&(m?"shadow"===e:"shady"===e)}function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var K=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"dom",value:function(e,t,n){var r=this;this._transformDom(e,(function(e){r.element(e,t||"",n)}))}},{key:"domAddScope",value:function(e,t){var n=this;this._transformDom(e,(function(e){n.element(e,t||"")}))}},{key:"_transformDom",value:function(e,t){var n;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var r=e;n=(r.content||r._content||r).childNodes}else n=e.children||e.childNodes;if(n)for(var o=0;o<n.length;o++)this._transformDom(n[o],t)}},{key:"element",value:function(e,t,n){if(t)if(e.classList)n?(e.classList.remove("style-scope"),e.classList.remove(t)):(e.classList.add("style-scope"),e.classList.add(t));else if(e.getAttribute){var r=e.getAttribute(ae);n?r&&j(e,r.replace("style-scope","").replace(t,"")):j(e,(r?r+" ":"")+"style-scope "+t)}}},{key:"domReplaceScope",value:function(e,t,n){var r=this;this._transformDom(e,(function(e){r.element(e,t,!0),r.element(e,n)}))}},{key:"domRemoveScope",value:function(e,t){var n=this;this._transformDom(e,(function(e){n.element(e,t||"",!0)}))}},{key:"elementStyles",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(m||"shady"===r)o=k(t,n);else{var i=B(e),s=i.is,a=i.typeExtension;o=this.css(t,s,a,n)+"\n\n"}return o.trim()}},{key:"css",value:function(e,t,n,r){var o=this._calcHostScope(t,n);t=this._calcElementScope(t);var i=this;return k(e,(function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),r&&r(e,t,o)}))}},{key:"_calcElementScope",value:function(e){return e?ie+e:""}},{key:"_calcHostScope",value:function(e,t){return t?"[is=".concat(e,"]"):e}},{key:"rule",value:function(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)}},{key:"_transformRule",value:function(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)}},{key:"_transformRuleCss",value:function(e,t,n,r){var o=U(e.selector);if(!D(e))for(var i,s=0,a=o.length;s<a&&(i=o[s]);s++)o[s]=t.call(this,i,n,r);return o.filter((function(e){return Boolean(e)})).join(z)}},{key:"_twiddleNthPlus",value:function(e){return e.replace(X,(function(e,t,n){return n.indexOf("+")>-1?n=n.replace(/\+/g,"___"):n.indexOf("___")>-1&&(n=n.replace(/___/g,"+")),":".concat(t,"(").concat(n,")")}))}},{key:"_preserveMatchesPseudo",value:function(e){for(var t,n=[];t=e.match(ue);){var r=t.index,o=F(e,r);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var i=e.slice(r,o+1);e=e.replace(i,ce),n.push(i)}return{selector:e,matches:n}}},{key:"_replaceMatchesPseudo",value:function(e,t){var n=e.split(ce);return t.reduce((function(e,t,r){return e+t+n[r+1]}),n[0])}},{key:"_transformComplexSelector",value:function(e,t,n){var r=this,o=!1;e=e.trim();var i=X.test(e);i&&(e=e.replace(X,(function(e,t,n){return":".concat(t,"(").concat(n.replace(/\s/g,""),")")})),e=this._twiddleNthPlus(e));var s,a=ue.test(e);if(a){var l=this._preserveMatchesPseudo(e);e=l.selector,s=l.matches}return e=(e=e.replace(te,"".concat(Q," $1"))).replace(Y,(function(e,i,s){if(!o){var a=r._transformCompoundSelector(s,i,t,n);o=o||a.stop,i=a.combinator,s=a.value}return i+s})),a&&(e=this._replaceMatchesPseudo(e,s)),i&&(e=this._twiddleNthPlus(e)),e=e.replace(oe,(function(e,t,n,r){return'[dir="'.concat(n,'"] ').concat(t).concat(r,", ").concat(t,'[dir="').concat(n,'"]').concat(r)}))}},{key:"_transformCompoundSelector",value:function(e,t,n,r){var o=e.indexOf(ee);e.indexOf(Q)>=0?e=this._transformHostSelector(e,r):0!==o&&(e=n?this._transformSimpleSelector(e,n):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(re,(function(e,t){return" > ".concat(t)})))),{value:e,combinator:t,stop:i}}},{key:"_transformSimpleSelector",value:function(e,t){for(var n=e.split(/(\[.+?\])/),r=[],o=0;o<n.length;o++)if(o%2==1)r.push(n[o]);else{var i=n[o];if(""!==i||o!==n.length-1){var s=i.split(se);s[0]+=t,r.push(s.join(se))}}return r.join("")}},{key:"_transformHostSelector",value:function(e,t){var n=e.match(ne),r=n&&n[2].trim()||"";return r?r[0].match(J)?e.replace(ne,(function(e,n,r){return t+r})):r.split(J)[0]===t?r:le:e.replace(Q,t)}},{key:"documentRule",value:function(e){e.selector=e.parsedSelector,this.normalizeRootSelector(e),this._transformRule(e,this._transformDocumentSelector)}},{key:"normalizeRootSelector",value:function(e){e.selector===Z&&(e.selector="html")}},{key:"_transformDocumentSelector",value:function(e){return e.match(Q)?"":e.match(ee)?this._transformComplexSelector(e,$):this._transformSimpleSelector(e.trim(),$)}},{key:"SCOPE_NAME",get:function(){return"style-scope"}}])&&W(t.prototype,n),r&&W(t,r),e}(),X=/:(nth[-\w]+)\(([^)]+)\)/,$=":not(.".concat("style-scope",")"),z=",",Y=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,J=/[[.:#*]/,Q=":host",Z=":root",ee="::slotted",te=new RegExp("^(".concat(ee,")")),ne=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,re=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,oe=/(.*):dir\((?:(ltr|rtl))\)(.*)/,ie=".",se=":",ae="class",le="should_not_match",ue=/:(?:matches|any|-(?:webkit|moz)-any)/,ce="",de=new K;function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fe(e,t,n){return t&&he(e.prototype,t),n&&he(e,n),e}var _e=function(){function e(t,n,r,o,i,s){!
|
|
51
|
-
/**
|
|
52
|
-
@license
|
|
53
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
54
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
55
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
56
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
57
|
-
Code distributed by Google as part of the polymer project is also
|
|
58
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
59
|
-
*/
|
|
60
|
-
function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.styleRules=t||null,this.placeholder=n||null,this.ownStylePropertyNames=r||[],this.overrideStyleProperties=null,this.elementName=o||"",this.cssBuild=s||"",this.typeExtension=i||"",this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}return fe(e,null,[{key:"get",value:function(e){return e?e.__styleInfo:null}},{key:"set",value:function(e,t){return e.__styleInfo=t,t}}]),fe(e,[{key:"_getStyleRules",value:function(){return this.styleRules}}]),e}();function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}_e.prototype._getStyleRules=_e.prototype._getStyleRules;var ye=function(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)},me=/:host\s*>\s*/;var ve=navigator.userAgent.match("Trident");var ge=new(function(){function e(){!
|
|
61
|
-
/**
|
|
62
|
-
@license
|
|
63
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
64
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
65
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
66
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
67
|
-
Code distributed by Google as part of the polymer project is also
|
|
68
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
69
|
-
*/
|
|
70
|
-
function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"decorateStyles",value:function(e){var t=this,n={},r=[],o=0;R(e,(function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)}),(function(e){r.push(e)})),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}},{key:"decorateRule",value:function(e){if(e.propertyInfo)return e.propertyInfo;var t={},n={};return this.collectProperties(e,n)&&(t.properties=n,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t}},{key:"collectProperties",value:function(e,t){var n=e.propertyInfo;if(!n){for(var r,o,i,s=N,a=e.parsedCssText;r=s.exec(a);)"inherit"===(o=(r[2]||r[3]).trim())&&"unset"===o||(t[r[1].trim()]=o),i=!0;return i}if(n.properties)return Object.assign(t,n.properties),!0}},{key:"collectCssText",value:function(e){return this.collectConsumingCssText(e.parsedCssText)}},{key:"collectConsumingCssText",value:function(e){return e.replace(T,"").replace(N,"")}},{key:"collectPropertiesInCssText",value:function(e,t){for(var n;n=b.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}}},{key:"reify",value:function(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++)e[t=n[r]]=this.valueForProperty(e[t],e)}},{key:"valueForProperty",value:function(e,t){if(e)if(e.indexOf(";")>=0)e=this.valueForProperties(e,t);else{var n=this;e=function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var o=F(t,r+3),i=t.substring(r+4,o),s=t.substring(0,r),a=e(t.substring(o+1),n),l=i.indexOf(",");return-1===l?n(s,i.trim(),"",a):n(s,i.substring(0,l).trim(),i.substring(l+1).trim(),a)}(e,(function(e,r,o,i){if(!r)return e+i;var s=n.valueForProperty(t[r],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=n.valueForProperty(t[o]||o,t)||o,e+(s||"")+i}))}return e&&e.trim()||""}},{key:"valueForProperties",value:function(e,t){for(var n,r,o=e.split(";"),i=0;i<o.length;i++)if(n=o[i]){if(E.lastIndex=0,r=E.exec(n))n=this.valueForProperty(t[r[1]],t);else{var s=n.indexOf(":");if(-1!==s){var a=n.substring(s);a=a.trim(),a=this.valueForProperty(a,t)||a,n=n.substring(0,s)+a}}o[i]=n&&n.lastIndexOf(";")===n.length-1?n.slice(0,-1):n||""}return o.join(";")}},{key:"applyProperties",value:function(e,t){var n="";e.propertyInfo||this.decorateRule(e),e.propertyInfo.cssText&&(n=this.valueForProperties(e.propertyInfo.cssText,t)),e.cssText=n}},{key:"applyKeyframeTransforms",value:function(e,t){var n=e.cssText,r=e.cssText;if(null==e.hasAnimations&&(e.hasAnimations=C.test(n)),e.hasAnimations)if(null==e.keyframeNamesToTransform)for(var o in e.keyframeNamesToTransform=[],t)n!==(r=(0,t[o])(n))&&(n=r,e.keyframeNamesToTransform.push(o));else{for(var i=0;i<e.keyframeNamesToTransform.length;++i)n=(0,t[e.keyframeNamesToTransform[i]])(n);r=n}e.cssText=r}},{key:"propertyDataFromStyles",value:function(e,t){var n=this,r={},o=[];return R(e,(function(e){e.propertyInfo||n.decorateRule(e);var i=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&i&&ye.call(t,i)&&(n.collectProperties(e,r),function(e,t){var n=parseInt(e/32,10),r=1<<e%32;t[n]=(t[n]||0)|r}(e.index,o))}),null,!0),{properties:r,key:o}}},{key:"whenHostOrRootRule",value:function(e,t,n,r){if(t.propertyInfo||this.decorateRule(t),t.propertyInfo.properties){var o=B(e),i=o.is,s=o.typeExtension,a=i?de._calcHostScope(i,s):"html",l=t.parsedSelector,u=function(e,t){return Boolean(t.match(me))||"html"===e&&t.indexOf("html")>-1}(a,l),c=0===l.indexOf(":host")&&!u;if("shady"===n&&(c=!(u=l===a+" > *."+a||-1!==l.indexOf("html"))&&0===l.indexOf(a)),u||c){var d=a;c&&(t.transformedSelector||(t.transformedSelector=de._transformRuleCss(t,de._transformComplexSelector,de._calcElementScope(i),a)),d=t.transformedSelector||a),u&&"html"===a&&(d=t.transformedSelector||t.parsedSelector),r({selector:d,isHost:c,isRoot:u})}}}},{key:"hostAndRootPropertiesForScope",value:function(e,t,n){var r=this,o={},i={};return R(t,(function(t){r.whenHostOrRootRule(e,t,n,(function(n){var s=e._element||e;ye.call(s,n.selector)&&(n.isHost?r.collectProperties(t,o):r.collectProperties(t,i))}))}),null,!0),{rootProps:i,hostProps:o}}},{key:"transformStyles",value:function(e,t,n){var r=this,o=B(e),i=o.is,s=o.typeExtension,a=de._calcHostScope(i,s),l=e.extends?"\\"+a.slice(0,-1)+"\\]":a,u=new RegExp("(?:^|[^.#[:])"+l+"($|[.:[\\s>+~])"),c=_e.get(e),d=c.styleRules,h=c.cssBuild,f=this._elementKeyframeTransforms(e,d,n);return de.elementStyles(e,d,(function(e){r.applyProperties(e,t),m||D(e)||!e.cssText||(r.applyKeyframeTransforms(e,f),r._scopeSelector(e,u,a,n))}),h)}},{key:"_elementKeyframeTransforms",value:function(e,t,n){var r=t._keyframes,o={};if(!m&&r)for(var i=0,s=r[i];i<r.length;s=r[++i])this._scopeKeyframes(s,n),o[s.keyframesName]=this._keyframesRuleTransformer(s);return o}},{key:"_keyframesRuleTransformer",value:function(e){return function(t){return t.replace(e.keyframesNameRx,e.transformedKeyframesName)}}},{key:"_scopeKeyframes",value:function(e,t){e.keyframesNameRx=new RegExp("\\b".concat(e.keyframesName,"(?!\\B|-)"),"g"),e.transformedKeyframesName=e.keyframesName+"-"+t,e.transformedSelector=e.transformedSelector||e.selector,e.selector=e.transformedSelector.replace(e.keyframesName,e.transformedKeyframesName)}},{key:"_scopeSelector",value:function(e,t,n,r){e.transformedSelector=e.transformedSelector||e.selector;for(var o,i="."+r,s=U(e.transformedSelector),a=0,l=s.length;a<l&&(o=s[a]);a++)s[a]=o.match(t)?o.replace(n,i):i+" "+o;e.selector=s.join(",")}},{key:"applyElementScopeSelector",value:function(e,t,n){var r=e.getAttribute("class")||"",o=r;n&&(o=r.replace(new RegExp("\\s*x-scope\\s*"+n+"\\s*","g")," ")),r!==(o+=(o?" ":"")+"x-scope "+t)&&j(e,o)}},{key:"applyElementStyle",value:function(e,t,n,r){var o=r?r.textContent||"":this.transformStyles(e,t,n),i=_e.get(e),s=i.customStyle;return s&&!m&&s!==r&&(s._useCount--,s._useCount<=0&&s.parentNode&&s.parentNode.removeChild(s)),m?i.customStyle?(i.customStyle.textContent=o,r=i.customStyle):o&&(r=A(o,n,e.shadowRoot,i.placeholder)):r?r.parentNode||(ve&&o.indexOf("@media")>-1&&(r.textContent=o),I(r,null,i.placeholder)):o&&(r=A(o,n,null,i.placeholder)),r&&(r._useCount=r._useCount||0,i.customStyle!=r&&r._useCount++,i.customStyle=r),r}},{key:"applyCustomStyle",value:function(e,t){var n=M(e),r=this;e.textContent=k(n,(function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(n=a(n),e.cssText=r.valueForProperties(n,t))}))}},{key:"XSCOPE_NAME",get:function(){return"x-scope"}}])&&pe(t.prototype,n),r&&pe(t,r),e}()),Se={};
|
|
71
|
-
/**
|
|
72
|
-
@license
|
|
73
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
74
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
75
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
76
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
77
|
-
Code distributed by Google as part of the polymer project is also
|
|
78
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
79
|
-
*/function Ne(e){return Se[e]||null}function Ee(e){var t,n,r,o;Se[e]||(Se[e]=(t=e,n=document.createComment(" Shady DOM styles for "+t+" "),r=L?L.nextSibling:null,(o=document.head).insertBefore(n,r||o.firstChild),L=n,n))}var be=window.customElements;if(be&&!m&&!g){var Ce=be.define;be.define=function(e,t,n){Ee(e),Ce.call(be,e,t,n)}}
|
|
80
|
-
/**
|
|
81
|
-
@license
|
|
82
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
83
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
84
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
85
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
86
|
-
Code distributed by Google as part of the polymer project is also
|
|
87
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
88
|
-
*/function we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Oe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;we(this,e),this.cache={},this.typeMax=t}var t,n,r;return t=e,(n=[{key:"_validate",value:function(e,t,n){for(var r=0;r<n.length;r++){var o=n[r];if(e.properties[o]!==t[o])return!1}return!0}},{key:"store",value:function(e,t,n,r){var o=this.cache[e]||[];o.push({properties:t,styleElement:n,scopeSelector:r}),o.length>this.typeMax&&o.shift(),this.cache[e]=o}},{key:"fetch",value:function(e,t,n){var r=this.cache[e];if(r)for(var o=r.length-1;o>=0;o--){var i=r[o];if(this._validate(i,t,n))return i}}}])&&Te(t.prototype,n),r&&Te(t,r),e}(),xe=function(){};
|
|
89
|
-
/**
|
|
90
|
-
@license
|
|
91
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
92
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
93
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
94
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
95
|
-
Code distributed by Google as part of the polymer project is also
|
|
96
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
97
|
-
*/var Pe=new RegExp("".concat(de.SCOPE_NAME,"\\s*([^\\s]*)"));function ke(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(Pe);return t?t[1]:""}function Me(e){var t=H(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var n=t.host;return n?B(n).is:""}function De(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(.".concat(de.SCOPE_NAME,")")),n=0;n<t.length;n++){var r=t[n],o=Me(r);o&&de.element(r,o)}}function Re(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var o=n.addedNodes[r];if(o.nodeType===Node.ELEMENT_NODE){var i=(o=o).getRootNode(),s=ke(o);if(s&&i===o.ownerDocument&&("style"!==(l=o).localName&&"template"!==l.localName||!V(l)))de.domRemoveScope(o,s);else if(i instanceof ShadowRoot){var a=Me(o);a!==s&&de.domReplaceScope(o,s,a),De(o)}}}}var l}if(!(m||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Ae=new MutationObserver(Re),Le=function(e){Ae.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Le(document);else{var Ie=function(){Le(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ie):requestAnimationFrame((function(){if("loading"===document.readyState){document.addEventListener("readystatechange",(function e(){Ie(),document.removeEventListener("readystatechange",e)}))}else Ie()}))}xe=function(){Re(Ae.takeRecords())}}
|
|
98
|
-
/**
|
|
99
|
-
@license
|
|
100
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
101
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
102
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
103
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
104
|
-
Code distributed by Google as part of the polymer project is also
|
|
105
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
106
|
-
*/var Fe={},je="_applyShimCurrentVersion",He="_applyShimNextVersion",Be=Promise.resolve();function Ue(e){var t=Fe[e];t&&function(e){e[je]=e[je]||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e[He]=(e[He]||0)+1}(t)}function qe(e){return e[je]===e[He]}function Ve(e){return!qe(e)&&e._applyShimValidatingVersion===e[He]}function Ge(e){e._applyShimValidatingVersion=e[He],e._validating||(e._validating=!0,Be.then((function(){e[je]=e[He],e._validating=!1})))}
|
|
107
|
-
/**
|
|
108
|
-
@license
|
|
109
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
110
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
111
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
112
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
113
|
-
Code distributed by Google as part of the polymer project is also
|
|
114
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
115
|
-
*/
|
|
116
|
-
var We,Ke=null,Xe=window.HTMLImports&&window.HTMLImports.whenReady||null;function $e(e){requestAnimationFrame((function(){Xe?Xe(e):(Ke||(Ke=new Promise((function(e){We=e})),"complete"===document.readyState?We():document.addEventListener("readystatechange",(function(){"complete"===document.readyState&&We()}))),Ke.then((function(){e&&e()})))}))}
|
|
117
|
-
/**
|
|
118
|
-
@license
|
|
119
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
120
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
121
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
122
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
123
|
-
Code distributed by Google as part of the polymer project is also
|
|
124
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
125
|
-
*/function ze(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Ye="__shadyCSSCachedStyle",Je=null,Qe=null,Ze=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.customStyles=[],this.enqueued=!1,$e((function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}var t,n,r;return t=e,(n=[{key:"enqueueDocumentValidation",value:function(){!this.enqueued&&Qe&&(this.enqueued=!0,$e(Qe))}},{key:"addCustomStyle",value:function(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}},{key:"getStyleForCustomStyle",value:function(e){return e[Ye]?e[Ye]:e.getStyle?e.getStyle():e}},{key:"processStyles",value:function(){for(var e=this.customStyles,t=0;t<e.length;t++){var n=e[t];if(!n[Ye]){var r=this.getStyleForCustomStyle(n);if(r){var o=r.__appliedElement||r;Je&&Je(o),n[Ye]=o}}}return e}}])&&ze(t.prototype,n),r&&ze(t,r),e}();function et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Ze.prototype.addCustomStyle=Ze.prototype.addCustomStyle,Ze.prototype.getStyleForCustomStyle=Ze.prototype.getStyleForCustomStyle,Ze.prototype.processStyles=Ze.prototype.processStyles,Object.defineProperties(Ze.prototype,{transformCallback:{get:function(){return Je},set:function(e){Je=e}},validateCallback:{get:function(){return Qe},set:function(e){var t=!1;Qe||(t=!0),Qe=e,t&&this.enqueueDocumentValidation()}}});var tt={},nt=new Oe,rt=function(){function e(){!
|
|
126
|
-
/**
|
|
127
|
-
@license
|
|
128
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
129
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
130
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
131
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
132
|
-
Code distributed by Google as part of the polymer project is also
|
|
133
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
134
|
-
*/
|
|
135
|
-
function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._scopeCounter={},this._documentOwner=document.documentElement;var t=new r;t.rules=[],this._documentOwnerStyleInfo=_e.set(this._documentOwner,new _e(t)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null}var t,n,i;return t=e,(n=[{key:"flush",value:function(){xe()}},{key:"_generateScopeSelector",value:function(e){var t=this._scopeCounter[e]=(this._scopeCounter[e]||0)+1;return"".concat(e,"-").concat(t)}},{key:"getStyleAst",value:function(e){return M(e)}},{key:"styleAstToString",value:function(e){return k(e)}},{key:"_gatherStyles",value:function(e){return function(e){for(var t=[],n=e.querySelectorAll("style"),r=0;r<n.length;r++){var o=n[r];P(o)?m||(x(o),o.parentNode.removeChild(o)):(t.push(o.textContent),o.parentNode.removeChild(o))}return t.join("").trim()}(e.content)}},{key:"prepareTemplate",value:function(e,t,n){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,n)}},{key:"prepareTemplateStyles",value:function(e,t,n){if(!e._prepared&&!g){m||Ee(t),e._prepared=!0,e.name=t,e.extends=n,Fe[t]=e;var r=q(e),i=G(r),s={is:t,extends:n},a=this._gatherStyles(e)+(tt[t]||"");if(this._ensure(),!i){var l=!r&&function(e){var t=E.test(e)||N.test(e);return E.lastIndex=0,N.lastIndex=0,t}(a),u=o(a);l&&S&&this._applyShim&&this._applyShim.transformRules(u,t),e._styleAst=u}var c=[];if(S||(c=ge.decorateStyles(e._styleAst)),!c.length||S){var d=m?e.content:null,h=Ne(t),f=this._generateStaticStyle(s,e._styleAst,d,h,r,i?a:"");e._style=f}e._ownPropertyNames=c}}},{key:"prepareAdoptedCssText",value:function(e,t){tt[t]=e.join(" ")}},{key:"prepareTemplateDom",value:function(e,t){if(!g){var n=q(e);m||"shady"===n||e._domPrepared||(e._domPrepared=!0,de.domAddScope(e.content,t))}}},{key:"_generateStaticStyle",value:function(e,t,n,r,o,i){return(i=de.elementStyles(e,t,null,o,i)).length?A(i,e.is,n,r):null}},{key:"_prepareHost",value:function(e){var t=B(e),n=t.is,r=t.typeExtension,o=Ne(n),i=Fe[n];if(i){var s=i._styleAst,a=i._ownPropertyNames,l=q(i),u=new _e(s,o,a,n,r,l);return _e.set(e,u),u}}},{key:"_ensureApplyShim",value:function(){return!(this._applyShim||!window.ShadyCSS||!window.ShadyCSS.ApplyShim||(this._applyShim=window.ShadyCSS.ApplyShim,this._applyShim.invalidCallback=Ue,0))}},{key:"_ensureCustomStyleInterface",value:function(){var e=this;this._customStyleInterface||window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this._customStyleInterface=window.ShadyCSS.CustomStyleInterface,this._customStyleInterface.transformCallback=function(t){e.transformCustomStyleForDocument(t)},this._customStyleInterface.validateCallback=function(){requestAnimationFrame((function(){(e._customStyleInterface.enqueued||e._elementsHaveApplied)&&e.flushCustomStyles()}))})}},{key:"_ensure",value:function(){var e=this._ensureApplyShim();return this._ensureCustomStyleInterface(),e}},{key:"flushCustomStyles",value:function(){if(!g){var e=this._ensure();if(this._customStyleInterface){var t=this._customStyleInterface.processStyles();(e||this._customStyleInterface.enqueued)&&(G(this._documentOwnerStyleInfo.cssBuild)||(S?this._documentOwnerStyleInfo.cssBuild||this._revalidateCustomStyleApplyShim(t):(this._reorderCustomStylesRules(t),this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles(t),this._elementsHaveApplied&&this.styleDocument()),this._customStyleInterface.enqueued=!1))}}}},{key:"_reorderCustomStylesRules",value:function(e){var t=this,n=e.map((function(e){return t._customStyleInterface.getStyleForCustomStyle(e)})).filter((function(e){return!!e}));n.sort((function(e,t){var n=t.compareDocumentPosition(e);return n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0})),this._documentOwnerStyleInfo.styleRules.rules=n.map((function(e){return M(e)}))}},{key:"styleElement",value:function(e,t){if(g){if(t){_e.get(e)||_e.set(e,new _e(null));var n=_e.get(e);this._mixOverrideStyleProps(n,t),this.styleElementNativeVariables(e,n)}}else{var r=_e.get(e)||this._prepareHost(e);r&&(this._isRootOwner(e)||(this._elementsHaveApplied=!0),t&&this._mixOverrideStyleProps(r,t),S?this.styleElementNativeVariables(e,r):this.styleElementShimVariables(e,r))}}},{key:"_mixOverrideStyleProps",value:function(e,t){e.overrideStyleProperties=e.overrideStyleProperties||{},Object.assign(e.overrideStyleProperties,t)}},{key:"styleElementShimVariables",value:function(e,t){this.flush(),this._updateProperties(e,t),t.ownStylePropertyNames&&t.ownStylePropertyNames.length&&this._applyStyleProperties(e,t)}},{key:"styleElementNativeVariables",value:function(e,t){var n=B(e).is;t.overrideStyleProperties&&
|
|
136
|
-
/**
|
|
137
|
-
@license
|
|
138
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
139
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
140
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
141
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
142
|
-
Code distributed by Google as part of the polymer project is also
|
|
143
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
144
|
-
*/
|
|
145
|
-
function(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}(e,t.overrideStyleProperties);var r=Fe[n];if((r||this._isRootOwner(e))&&(!r||!V(r))&&r&&r._style&&!qe(r)){if(Ve(r)||(this._ensure(),this._applyShim&&this._applyShim.transformRules(r._styleAst,n),r._style.textContent=de.elementStyles(e,t.styleRules),Ge(r)),m){var o=e.shadowRoot;if(o){var i=o.querySelector("style");i&&(i.textContent=de.elementStyles(e,t.styleRules))}}t.styleRules=r._styleAst}}},{key:"_styleOwnerForNode",value:function(e){var t=H(e).getRootNode().host;return t?_e.get(t)||this._prepareHost(t)?t:this._styleOwnerForNode(t):this._documentOwner}},{key:"_isRootOwner",value:function(e){return e===this._documentOwner}},{key:"_applyStyleProperties",value:function(e,t){var n=B(e).is,r=nt.fetch(n,t.styleProperties,t.ownStylePropertyNames),o=r&&r.scopeSelector,i=r?r.styleElement:null,s=t.scopeSelector;t.scopeSelector=o||this._generateScopeSelector(n);var a=ge.applyElementStyle(e,t.styleProperties,t.scopeSelector,i);return m||ge.applyElementScopeSelector(e,t.scopeSelector,s),r||nt.store(n,t.styleProperties,a,t.scopeSelector),a}},{key:"_updateProperties",value:function(e,t){var n=this._styleOwnerForNode(e),r=_e.get(n),o=r.styleProperties;n===this._documentOwner||o||(this._updateProperties(n,r),o=r.styleProperties);var i=Object.create(o||null),s=ge.hostAndRootPropertiesForScope(e,t.styleRules,t.cssBuild),a=ge.propertyDataFromStyles(r.styleRules,e).properties;Object.assign(i,s.hostProps,a,s.rootProps),this._mixinOverrideStyles(i,t.overrideStyleProperties),ge.reify(i),t.styleProperties=i}},{key:"_mixinOverrideStyles",value:function(e,t){for(var n in t){var r=t[n];(r||0===r)&&(e[n]=r)}}},{key:"styleDocument",value:function(e){this.styleSubtree(this._documentOwner,e)}},{key:"styleSubtree",value:function(e,t){var n=H(e),r=n.shadowRoot,o=this._isRootOwner(e);(r||o)&&this.styleElement(e,t);var i=o?n:r;if(i)for(var s=Array.from(i.querySelectorAll("*")).filter((function(e){return H(e).shadowRoot})),a=0;a<s.length;a++)this.styleSubtree(s[a])}},{key:"_revalidateCustomStyleApplyShim",value:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&this._revalidateApplyShim(r)}}},{key:"_applyCustomStyles",value:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&ge.applyCustomStyle(r,this._documentOwnerStyleInfo.styleProperties)}}},{key:"transformCustomStyleForDocument",value:function(e){var t=this,n=q(e);if(n!==this._documentOwnerStyleInfo.cssBuild&&(this._documentOwnerStyleInfo.cssBuild=n),!G(n)){var r=M(e);R(r,(function(e){m?de.normalizeRootSelector(e):de.documentRule(e),S&&""===n&&(t._ensure(),t._applyShim&&t._applyShim.transformRule(e))})),S?e.textContent=k(r):this._documentOwnerStyleInfo.styleRules.rules.push(r)}}},{key:"_revalidateApplyShim",value:function(e){if(S&&this._applyShim){var t=M(e);this._ensure(),this._applyShim.transformRules(t),e.textContent=k(t)}}},{key:"getComputedStyleValue",value:function(e,t){var n;return S||(n=(_e.get(e)||_e.get(this._styleOwnerForNode(e))).styleProperties[t]),(n=n||window.getComputedStyle(e).getPropertyValue(t))?n.trim():""}},{key:"setElementClass",value:function(e,t){var n,r=H(e).getRootNode();n=t?("string"==typeof t?t:String(t)).split(/\s/):[];var o=r.host&&r.host.localName;if(!o){var i=e.getAttribute("class");if(i)for(var s=i.split(/\s/),a=0;a<s.length;a++)if(s[a]===de.SCOPE_NAME){o=s[a+1];break}}if(o&&n.push(de.SCOPE_NAME,o),!S){var l=_e.get(e);l&&l.scopeSelector&&n.push(ge.XSCOPE_NAME,l.scopeSelector)}j(e,n.join(" "))}},{key:"_styleInfoForNode",value:function(e){return _e.get(e)}},{key:"scopeNode",value:function(e,t){de.element(e,t)}},{key:"unscopeNode",value:function(e,t){de.element(e,t,!0)}},{key:"scopeForNode",value:function(e){return Me(e)}},{key:"currentScopeForNode",value:function(e){return ke(e)}}])&&et(t.prototype,n),i&&et(t,i),e}();rt.prototype.flush=rt.prototype.flush,rt.prototype.prepareTemplate=rt.prototype.prepareTemplate,rt.prototype.styleElement=rt.prototype.styleElement,rt.prototype.styleDocument=rt.prototype.styleDocument,rt.prototype.styleSubtree=rt.prototype.styleSubtree,rt.prototype.getComputedStyleValue=rt.prototype.getComputedStyleValue,rt.prototype.setElementClass=rt.prototype.setElementClass,rt.prototype._styleInfoForNode=rt.prototype._styleInfoForNode,rt.prototype.transformCustomStyleForDocument=rt.prototype.transformCustomStyleForDocument,rt.prototype.getStyleAst=rt.prototype.getStyleAst,rt.prototype.styleAstToString=rt.prototype.styleAstToString,rt.prototype.flushCustomStyles=rt.prototype.flushCustomStyles,rt.prototype.scopeNode=rt.prototype.scopeNode,rt.prototype.unscopeNode=rt.prototype.unscopeNode,rt.prototype.scopeForNode=rt.prototype.scopeForNode,rt.prototype.currentScopeForNode=rt.prototype.currentScopeForNode,rt.prototype.prepareAdoptedCssText=rt.prototype.prepareAdoptedCssText,Object.defineProperties(rt.prototype,{nativeShadow:{get:function(){return m}},nativeCss:{get:function(){return S}}});
|
|
146
|
-
/**
|
|
147
|
-
@license
|
|
148
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
149
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
150
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
151
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
152
|
-
Code distributed by Google as part of the polymer project is also
|
|
153
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
154
|
-
*/
|
|
155
|
-
var ot,it,st=new rt;window.ShadyCSS&&(ot=window.ShadyCSS.ApplyShim,it=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:st,prepareTemplate:function(e,t,n){st.flushCustomStyles(),st.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){st.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,n){st.flushCustomStyles(),st.prepareTemplateStyles(e,t,n)},styleSubtree:function(e,t){st.flushCustomStyles(),st.styleSubtree(e,t)},styleElement:function(e){st.flushCustomStyles(),st.styleElement(e)},styleDocument:function(e){st.flushCustomStyles(),st.styleDocument(e)},flushCustomStyles:function(){st.flushCustomStyles()},getComputedStyleValue:function(e,t){return st.getComputedStyleValue(e,t)},nativeCss:S,nativeShadow:m,cssBuild:u,disableRuntime:g},ot&&(window.ShadyCSS.ApplyShim=ot),it&&(window.ShadyCSS.CustomStyleInterface=it)}}]);
|