jekyll-theme-hydejack 9.1.6 → 9.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +1 -1
  3. data/_includes/body/footer.html +1 -1
  4. data/_includes/body/scripts.html +2 -2
  5. data/_includes/head/meta-static.html +1 -1
  6. data/_includes/head/styles-inline.html +1 -1
  7. data/_includes/head/styles-no-inline.html +1 -1
  8. data/_includes/header.txt +1 -1
  9. data/_includes/scripts/load-js.min.js +1 -1
  10. data/_includes/scripts/nomodule.min.js +1 -1
  11. data/_includes/styles/page-style.scss +2 -2
  12. data/_layouts/compress.html +1 -1
  13. data/_sass/html.scss +2 -2
  14. data/_sass/hydejack/__inline__/_avatar.scss +4 -1
  15. data/_sass/hydejack/__inline__/_links.scss +1 -1
  16. data/_sass/hydejack/__link__/_avatar.scss +2 -0
  17. data/_sass/hydejack/__link__/_links.scss +4 -2
  18. data/_sass/hydejack/__link__/_sidebar.scss +1 -1
  19. data/_sass/hydejack/_avatar.pre.scss +4 -1
  20. data/_sass/hydejack/_links.pre.scss +5 -3
  21. data/_sass/hydejack/_sidebar.pre.scss +1 -1
  22. data/_sass/pooleparty/__link__/_code.scss +1 -1
  23. data/_sass/pooleparty/_code.pre.scss +1 -1
  24. data/assets/js/LEGACY-clap-button-hydejack-9.1.8.js +14 -0
  25. data/assets/js/LEGACY-drawer-hydejack-9.1.8.js +14 -0
  26. data/assets/js/{LEGACY-fetch-hydejack-9.1.6.js → LEGACY-fetch-hydejack-9.1.8.js} +2 -2
  27. data/assets/js/LEGACY-hydejack-9.1.8.js +13 -0
  28. data/assets/js/LEGACY-navbar-hydejack-9.1.8.js +14 -0
  29. data/assets/js/LEGACY-push-state-hydejack-9.1.8.js +14 -0
  30. data/assets/js/LEGACY-resize-observer-hydejack-9.1.8.js +14 -0
  31. data/assets/js/{LEGACY-shadydom-hydejack-9.1.6.js → LEGACY-shadydom-hydejack-9.1.8.js} +2 -2
  32. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.8.js +14 -0
  33. data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.8.js +47 -0
  34. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.8.js +211 -0
  35. data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.8.js +14 -0
  36. data/assets/js/{LEGACY-vendors~intersection-observer-hydejack-9.1.6.js → LEGACY-vendors~intersection-observer-hydejack-9.1.8.js} +2 -2
  37. data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.8.js +34 -0
  38. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.8.js +155 -0
  39. data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.1.6.js → LEGACY-vendors~webanimations-hydejack-9.1.8.js} +1 -1
  40. data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.1.6.js → LEGACY-vendors~webcomponents-hydejack-9.1.8.js} +4 -4
  41. data/assets/js/{LEGACY-webcomponents-hydejack-9.1.6.js → LEGACY-webcomponents-hydejack-9.1.8.js} +2 -2
  42. data/assets/js/{clap-button-hydejack-9.1.6.js → clap-button-hydejack-9.1.8.js} +2 -2
  43. data/assets/js/{drawer-hydejack-9.1.6.js → drawer-hydejack-9.1.8.js} +2 -2
  44. data/assets/js/{fetch-hydejack-9.1.6.js → fetch-hydejack-9.1.8.js} +2 -2
  45. data/assets/js/hydejack-9.1.8.js +13 -0
  46. data/assets/js/navbar-hydejack-9.1.8.js +14 -0
  47. data/assets/js/push-state-hydejack-9.1.8.js +14 -0
  48. data/assets/js/resize-observer-hydejack-9.1.8.js +14 -0
  49. data/assets/js/{shadydom-hydejack-9.1.6.js → shadydom-hydejack-9.1.8.js} +1 -1
  50. data/assets/js/{vendors~clap-button-hydejack-9.1.6.js → vendors~clap-button-hydejack-9.1.8.js} +1 -1
  51. data/assets/js/vendors~drawer-hydejack-9.1.8.js +48 -0
  52. data/assets/js/{vendors~drawer~push-state-hydejack-9.1.6.js → vendors~drawer~push-state-hydejack-9.1.8.js} +12 -12
  53. data/assets/js/vendors~fetch-hydejack-9.1.8.js +14 -0
  54. data/assets/js/{vendors~intersection-observer-hydejack-9.1.6.js → vendors~intersection-observer-hydejack-9.1.8.js} +2 -2
  55. data/assets/js/vendors~push-state-hydejack-9.1.8.js +34 -0
  56. data/assets/js/vendors~shadydom-hydejack-9.1.8.js +146 -0
  57. data/assets/js/{vendors~webanimations-hydejack-9.1.6.js → vendors~webanimations-hydejack-9.1.8.js} +2 -2
  58. data/assets/js/webcomponents-hydejack-9.1.8.js +14 -0
  59. data/assets/version.json +2 -2
  60. metadata +43 -43
  61. data/assets/js/LEGACY-clap-button-hydejack-9.1.6.js +0 -14
  62. data/assets/js/LEGACY-drawer-hydejack-9.1.6.js +0 -14
  63. data/assets/js/LEGACY-hydejack-9.1.6.js +0 -27
  64. data/assets/js/LEGACY-navbar-hydejack-9.1.6.js +0 -14
  65. data/assets/js/LEGACY-push-state-hydejack-9.1.6.js +0 -14
  66. data/assets/js/LEGACY-resize-observer-hydejack-9.1.6.js +0 -14
  67. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.6.js +0 -14
  68. data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.6.js +0 -48
  69. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.6.js +0 -214
  70. data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.6.js +0 -14
  71. data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.6.js +0 -34
  72. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.6.js +0 -155
  73. data/assets/js/hydejack-9.1.6.js +0 -28
  74. data/assets/js/navbar-hydejack-9.1.6.js +0 -14
  75. data/assets/js/push-state-hydejack-9.1.6.js +0 -14
  76. data/assets/js/resize-observer-hydejack-9.1.6.js +0 -14
  77. data/assets/js/vendors~drawer-hydejack-9.1.6.js +0 -48
  78. data/assets/js/vendors~fetch-hydejack-9.1.6.js +0 -14
  79. data/assets/js/vendors~push-state-hydejack-9.1.6.js +0 -34
  80. data/assets/js/vendors~shadydom-hydejack-9.1.6.js +0 -146
  81. data/assets/js/webcomponents-hydejack-9.1.6.js +0 -14
  82. /data/assets/css/{hydejack-9.1.6.css → hydejack-9.1.8.css} +0 -0
@@ -1,34 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.1.6 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[13],{187:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=Array.isArray;function i(e){return 1===e.length&&n(e[0])?e[0]:e}},208:function(e,t,r){"use strict";r.r(t),r.d(t,"HyPushState",(function(){return ke}));var n,i=r(0),c=r(185),o=r(180),a=r(170),s=r(194),l=r(101),h=r(97),u=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return Object(i.h)(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=h.a.requestAnimationFrame((function(){return t.flush(void 0)}))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);t.actions.some((function(e){return e.id===r}))||(h.a.cancelAnimationFrame(r),t._scheduled=void 0)},t}(l.a),p=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.h)(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(r(102).a))(u),b=r(211),f=r(214),O=r(25),j=r(103),d=r(107),m=r(193),v=r(195),y=r(191),g=r(63),w=r(192),S=r(210),P=r(104),E=r(106),A=r(215),k=r(213),L=r(172);function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return null!=e&&(e.protocol!==t.protocol||e.host!==t.host)}function q(e){return e&&""===e.target}function H(e,t){var{url:r,anchor:n}=e;return!(!q(n)||R(r,t)||function(e){var{hash:t,origin:r,pathname:n}=e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return""!==t&&r===i.origin&&n===i.pathname}(r,t))}function M(e){var{cause:t,url:{pathname:r,hash:i},oldURL:c}=e;return r===(null==c?void 0:c.pathname)&&(t===n.Pop||t===n.Push&&""!==i)}!function(e){e.Init="init",e.Hint="hint",e.Push="push",e.Pop="pop"}(n||(n={}));var N=r(77),T=r(216),D=r(186);function U(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 C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?U(Object(r),!0).forEach((function(t){I(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class W{constructor(e){this.parent=e}fetchPage(e){return Object(L.g)(e.url.href,{method:"GET",mode:"cors",headers:{Accept:"text/html"}}).pipe(Object(P.a)(e=>e.text()),Object(O.a)(t=>C(C({},e),{},{responseText:t})),Object(A.a)(t=>Object(N.a)(C(C({},e),{},{error:t,responseText:null}))))}selectPrefetch(e,t,r){var{href:n}=e;return n===t.url.href?Object(N.a)(t):r.pipe(Object(D.a)(1))}getResponse(e,t,r){return Object(T.a)(this.selectPrefetch(t.url,r,e),this.parent.animPromise).pipe(Object(O.a)(e=>{var[r]=e;return C(C({},r),t)}))}}var x=r(42),B=r(171),$=r(212);function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function F(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach((function(t){V(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function V(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class J{constructor(e){this.parent=e}get scriptSelector(){return this.parent.scriptSelector}removeScriptTags(e){var t=[];return e.forEach(e=>{e&&this.scriptSelector&&e.querySelectorAll(this.scriptSelector).forEach(e=>{if(e instanceof HTMLScriptElement){var r=[function(e){var t=document.createElement("script");return Array.from(e.attributes).forEach(e=>t.setAttributeNode(e.cloneNode())),t.innerHTML=e.innerHTML,t}(e),e];t.push(r)}})}),t}reinsertScriptTags(e){if(!this.scriptSelector)return Promise.resolve(e);var{scripts:t}=e,r=document.write;return Object(x.a)(t).pipe(Object(B.a)(e=>this.insertScript(e)),Object(A.a)(t=>Object(N.a)(F(F({},e),{},{error:t}))),Object($.a)(()=>document.write=r),Object(w.a)(e)).toPromise()}insertScript(e){var[t,r]=e;return document.write=function(){for(var e=document.createElement("div"),t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.innerHTML=n.join(),Array.from(e.childNodes).forEach(e=>{var t;return null===(t=r.parentNode)||void 0===t?void 0:t.insertBefore(e,r)})},new Promise((e,n)=>{var i,c;""!==t.src?(t.addEventListener("load",e),t.addEventListener("error",n),null===(i=r.parentNode)||void 0===i||i.replaceChild(t,r)):(null===(c=r.parentNode)||void 0===c||c.replaceChild(t,r),e({}))})}}function K(e,t){e.forEach(e=>{e&&(e.querySelectorAll("[href]").forEach(X("href",t)),e.querySelectorAll("[src]").forEach(X("src",t)),e.querySelectorAll("img[srcset]").forEach(function(e,t){return r=>{try{var n=r.getAttribute(e);if(null==n)return;r.setAttribute(e,n.split(/\s*,\s*/).map(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(X("cite",t)),e.querySelectorAll("del[cite]").forEach(X("cite",t)),e.querySelectorAll("ins[cite]").forEach(X("cite",t)),e.querySelectorAll("q[cite]").forEach(X("cite",t)),e.querySelectorAll("img[longdesc]").forEach(X("longdesc",t)),e.querySelectorAll("frame[longdesc]").forEach(X("longdesc",t)),e.querySelectorAll("iframe[longdesc]").forEach(X("longdesc",t)),e.querySelectorAll("img[usemap]").forEach(X("usemap",t)),e.querySelectorAll("input[usemap]").forEach(X("usemap",t)),e.querySelectorAll("object[usemap]").forEach(X("usemap",t)),e.querySelectorAll("form[action]").forEach(X("action",t)),e.querySelectorAll("button[formaction]").forEach(X("formaction",t)),e.querySelectorAll("input[formaction]").forEach(X("formaction",t)),e.querySelectorAll("video[poster]").forEach(X("poster",t)),e.querySelectorAll("object[data]").forEach(X("data",t)),e.querySelectorAll("object[codebase]").forEach(X("codebase",t)),e.querySelectorAll("object[archive]").forEach(function(e,t){return r=>{try{var n=r.getAttribute(e);if(null==n)return;r.setAttribute(e,n.split(/[\s,]+/).map(e=>new URL(e,t).href).join(", "))}catch(e){}}}("archive",t)))})}function X(e,t){return r=>{try{var n=r.getAttribute(e);if(null==n)return;r.setAttribute(e,new URL(n,t).href)}catch(e){}}}function z(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 G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?z(Object(r),!0).forEach((function(t){Q(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Y{constructor(e){this.parent=e,this.scriptManager=new J(e)}get el(){return this.parent}get replaceSelector(){return this.parent.replaceSelector}get scriptSelector(){return this.parent.scriptSelector}getReplaceElements(e){if(this.replaceSelector)return this.replaceSelector.split(",").map(t=>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]]}responseToContent(e){var{responseText:t}=e,r=(new DOMParser).parseFromString(t,"text/html"),{title:n=""}=r,i=this.getReplaceElements(r);if(i.every(e=>null==e))throw new Error("Couldn't find any element in the document at '".concat(location,"'."));var c=this.scriptSelector?this.scriptManager.removeScriptTags(i):[];return G(G({},e),{},{document:r,title:n,replaceEls:i,scripts:c})}replaceContentWithSelector(e,t){e.split(",").map(e=>document.querySelector(e)).forEach((e,r)=>{var n,i=t[r];i&&(null===(n=null==e?void 0:e.parentNode)||void 0===n||n.replaceChild(i,e))})}replaceContentWholesale(e){var[t]=e;t&&(this.el.innerHTML=t.innerHTML)}replaceContent(e){this.replaceSelector?this.replaceContentWithSelector(this.replaceSelector,e):this.replaceContentWholesale(e)}replaceHead(e){var{head:t}=this.el.ownerDocument,r=t.querySelector("link[rel=canonical]"),n=e.head.querySelector("link[rel=canonical]");r&&n&&(r.href=n.href);var i=t.querySelector("meta[name=description]"),c=e.head.querySelector("meta[name=description]");i&&c&&(i.content=c.content)}updateDOM(e){try{var{replaceEls:t,document:r}=e;R(this.parent)&&K(t,this.parent.href),this.replaceHead(r),this.replaceContent(t)}catch(t){throw G(G({},e),{},{error:t})}}reinsertScriptTags(e){return this.scriptManager.reinsertScriptTags(e)}}var Z=r(27),ee=r(79),te=e=>Array.prototype.concat.apply([],e),re=e=>({addedNodes:new Set(te(e.map(e=>Array.from(e.addedNodes)))),removedNodes:new Set(te(e.map(e=>Array.from(e.removedNodes))))});class ne{setupEventListeners(){var e=Object(a.a)(this.el,"click").pipe(Object(O.a)(e=>{var t=Object(L.k)(e.target,this.linkSelector);if(t instanceof HTMLAnchorElement)return[e,t]}),Object(j.a)(e=>!!e)),t=(e,t)=>e.matches(t)&&e instanceof HTMLAnchorElement?Object(N.a)(e):Object(x.a)(e.querySelectorAll(t)).pipe(Object(j.a)(e=>e instanceof HTMLAnchorElement));return{hintEvent$:this.$.linkSelector.pipe(Object(P.a)(e=>{var r=new Map,n=e=>{r.has(e)||r.set(e,(e=>Object(s.a)(Object(a.a)(e,"mouseenter",{passive:!0}),Object(a.a)(e,"touchstart",{passive:!0}),Object(a.a)(e,"focus",{passive:!0})).pipe(Object(O.a)(t=>[t,e])))(e))},i=e=>{r.delete(e)};return Object(L.d)(this.el,{childList:!0,subtree:!0}).pipe(Object(m.a)({addedNodes:[this.el],removedNodes:[]}),Object(L.c)(500),Object(O.a)(re),Object(P.a)(c=>{var{addedNodes:o,removedNodes:a}=c;return Object(x.a)(a).pipe(Object(j.a)(e=>e instanceof Element),Object(Z.a)(r=>t(r,e)),Object(d.a)(i)).subscribe(),Object(x.a)(o).pipe(Object(j.a)(e=>e instanceof Element),Object(Z.a)(r=>t(r,e)),Object(d.a)(n)).subscribe(),Object(x.a)(r.values()).pipe(Object(ee.a)())}),Object(L.l)(this.$.prefetch))})),pushEvent$:e}}}function ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(r),!0).forEach((function(t){oe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ae,se,le,he,ue,pe,be,fe,Oe,je,de,me,ve,ye=e=>new Promise(t=>setTimeout(t,e));class ge{constructor(e){this.parent=e}onStart(e){this.parent.animPromise=ye(this.parent.duration);this.parent.fireEvent("start",{detail:ce(ce({},e),{},{transitionUntil:e=>{this.parent.animPromise=Promise.all([this.parent.animPromise,e])}})})}emitDOMError(e){var t=location.href;window.history.back(),setTimeout(()=>document.location.assign(t),100)}emitNetworkError(e){this.parent.fireEvent("networkerror",{detail:e})}emitError(e){this.parent.fireEvent("error",{detail:e})}emitReady(e){this.parent.fireEvent("ready",{detail:e})}emitAfter(e){this.parent.fadePromise=ye(this.parent.duration);this.parent.fireEvent("after",{detail:ce(ce({},e),{},{transitionUntil:e=>{this.parent.fadePromise=Promise.all([this.parent.fadePromise,e])}})})}emitProgress(e){this.parent.fireEvent("progress",{detail:e})}emitLoad(e){this.parent.fireEvent("load",{detail: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}window.HashChangeEvent=window.HashChangeEvent||function(e){var{oldURL:t="",newURL:r=""}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new CustomEvent(e);return n.oldURL=t,n.newURL=r,n};class Ee{constructor(e){this.updateHistoryScrollPosition=()=>{if(!R(this.parent)){var e=this.assignScrollPosition(history.state||{});history.replaceState(e,document.title)}},this.parent=e}updateHistoryState(e){var{cause:t,replace:r,url:i,oldURL:c}=e;if(!R(this.parent))switch(t){case n.Init:case n.Push:var{histId:o}=this.parent;if(r||i.href===location.href){var a=Se(Se({},history.state),{},{[o]:{}});history.replaceState(a,document.title,i.href)}else history.pushState({[o]:{}},document.title,i.href);case n.Pop:this.parent.simulateHashChange&&c&&function(e,t){e.hash!==t.hash&&window.dispatchEvent(new HashChangeEvent("hashchange",{newURL:e.href,oldURL:t.href}))}(i,c)}}updateTitle(e){var{cause:t,title:r}=e;document.title=r,R(this.parent)||t!==n.Push||history.replaceState(history.state,r)}assignScrollPosition(e){var{histId:t}=this.parent;return Se(Se({},e),{},{[t]:Se(Se({},e[t]),{},{scrollTop:Object(L.j)(),scrollHeight:Object(L.i)()})})}}class Ae{constructor(e){this.parent=e,"scrollRestoration"in history&&(history.scrollRestoration="manual")}manageScrollPosition(e){var{cause:t,url:{hash:r}}=e;switch(t){case n.Push:this.scrollHashIntoView(r,{behavior:"smooth",block:"start",inline:"nearest"});break;case n.Pop:this.restoreScrollPosition();break;case n.Init:this.restoreScrollPositionOnReload()}}elementFromHash(e){return document.getElementById(decodeURIComponent(e.substr(1)))}scrollHashIntoView(e,t){if(e){var r=this.elementFromHash(e);r&&r.scrollIntoView(t)}else window.scroll(window.pageXOffset,0)}restoreScrollPosition(){var{histId:e}=this.parent,{scrollTop:t}=history.state&&history.state[e]||{};null!=t&&window.scroll(window.pageXOffset,t)}restoreScrollPositionOnReload(){var{histId:e}=this.parent;history.state&&history.state[e]&&0===Object(L.j)()?this.restoreScrollPosition():location.hash&&requestAnimationFrame(()=>this.scrollHashIntoView(location.hash,!0))}}var ke=class extends(Object(L.b)(L.a,[ne])){constructor(){super(...arguments),this.el=this,this.linkSelector="a[href]:not([data-no-push])",this.prefetch=!1,this.duration=0,this.simulateHashChange=!1,this.baseURL=window.location.href,ae.set(this,Object(L.f)()),this.animPromise=Promise.resolve(null),this.fadePromise=Promise.resolve(null),se.set(this,new Ae(this)),le.set(this,new Ee(this)),he.set(this,new W(this)),ue.set(this,new Y(this)),pe.set(this,new ge(this)),be.set(this,new URL(this.baseURL)),fe.set(this,(e,t)=>{var r=new URL(Object(i.e)(this,be,"f").href);r[e]=t,this.assign(r.href)}),Oe.set(this,0),je.set(this,new o.a),de.set(this,e=>{R(Object(L.k)(e.target,"a[href]"))&&Object(i.e)(this,le,"f").updateHistoryScrollPosition()}),me.set(this,void 0),ve.set(this,()=>{var{pushEvent$:e,hintEvent$:t}=this.setupEventListeners(),r=e.pipe(Object(O.a)(e=>{var[t,r]=e;return{cause:n.Push,url:new URL(r.href,this.href),anchor:r,event:t,cacheNr:Object(i.e)(this,Oe,"f")}}),Object(j.a)(e=>function(e,t){var{url:r,anchor:n,event:{metaKey:i,ctrlKey:c}}=e;return!(i||c||!q(n)||R(r,t))}(e,this)),Object(d.a)(e=>{var{event:t}=e;t.preventDefault(),Object(i.e)(this,le,"f").updateHistoryScrollPosition()})),c=Object(a.a)(window,"popstate").pipe(Object(j.a)(()=>window.history.state&&window.history.state[this.histId]),Object(O.a)(e=>({cause:n.Pop,url:new URL(window.location.href),cacheNr:Object(i.e)(this,Oe,"f"),event:e}))),o=Object(i.e)(this,je,"f"),l=Object(s.a)(r,c,o).pipe(Object(m.a)({url:new URL(window.location.href)}),Object(v.a)(),Object(O.a)(e=>{var[t,r]=e;return Object.assign(r,{oldURL:t.url})}),Object(y.a)()),h=l.pipe(Object(j.a)(e=>!M(e)),Object(y.a)()),u=l.pipe(Object(j.a)(e=>M(e)),Object(j.a)(()=>history.state&&history.state[this.histId]),Object(g.a)(p),Object(d.a)(e=>{Object(i.e)(this,le,"f").updateHistoryState(e),Object(i.e)(this,se,"f").manageScrollPosition(e)})),f=Object(b.a)(()=>Object(s.a)(h.pipe(Object(w.a)(!0)),Object(i.e)(this,me,"f").pipe(Object(w.a)(!1)))).pipe(Object(m.a)(!1)),N=t.pipe(Object(L.h)(f.pipe(Object(O.a)(e=>!e))),Object(O.a)(e=>{var[t,r]=e;return{cause:n.Hint,url:new URL(r.href,this.href),anchor:r,event:t,cacheNr:Object(i.e)(this,Oe,"f")}}),Object(j.a)(e=>H(e,this))),T=Object(s.a)(N,h).pipe(Object(S.a)((e,t)=>{return n=t,(r=e).url.href===n.url.href&&r.error===n.error&&r.cacheNr===n.cacheNr;
15
- /**
16
- * Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
17
- *
18
- * This program is free software: you can redistribute it and/or modify
19
- * it under the terms of the GNU General Public License as published by
20
- * the Free Software Foundation, either version 3 of the License, or
21
- * (at your option) any later version.
22
- *
23
- * This program is distributed in the hope that it will be useful,
24
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
25
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26
- * GNU General Public License for more details.
27
- *
28
- * You should have received a copy of the GNU General Public License
29
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
30
- *
31
- * @license
32
- * @nocompile
33
- */
34
- var r,n}),Object(P.a)(e=>Object(i.e)(this,he,"f").fetchPage(e)),Object(m.a)({url:{}}),Object(y.a)()),D=Object(i.f)(this,me,h.pipe(Object(d.a)(e=>{Object(i.e)(this,pe,"f").onStart(e),Object(i.e)(this,le,"f").updateHistoryState(e),Object(i.f)(this,be,e.url,"f")}),Object(E.a)(T),Object(P.a)(e=>Object(i.e)(this,he,"f").getResponse(T,...e)),Object(y.a)()),"f"),U=D.pipe(Object(j.a)(e=>!e.error)),C=D.pipe(Object(j.a)(e=>!!e.error)),I=U.pipe(Object(O.a)(e=>Object(i.e)(this,ue,"f").responseToContent(e)),Object(d.a)(e=>Object(i.e)(this,pe,"f").emitReady(e)),Object(g.a)(p),Object(d.a)(e=>{Object(i.e)(this,ue,"f").updateDOM(e),Object(i.e)(this,le,"f").updateTitle(e),Object(i.e)(this,pe,"f").emitAfter(e)}),Object(m.a)({cause:n.Init,url:Object(i.e)(this,be,"f"),scripts:[]}),Object(g.a)(p),Object(d.a)(e=>Object(i.e)(this,se,"f").manageScrollPosition(e)),Object(d.a)({error:e=>Object(i.e)(this,pe,"f").emitDOMError(e)}),Object(A.a)((e,t)=>t),Object(P.a)(e=>this.fadePromise.then(()=>e)),Object(P.a)(e=>Object(i.e)(this,ue,"f").reinsertScriptTags(e)),Object(d.a)({error:e=>Object(i.e)(this,pe,"f").emitError(e)}),Object(A.a)((e,t)=>t),Object(d.a)(e=>Object(i.e)(this,pe,"f").emitLoad(e))),W=C.pipe(Object(d.a)(e=>Object(i.e)(this,pe,"f").emitNetworkError(e))),x=h.pipe(Object(P.a)(e=>Object(b.a)(()=>this.animPromise).pipe(Object(k.a)(D),Object(w.a)(e))),Object(d.a)(e=>Object(i.e)(this,pe,"f").emitProgress(e)));I.subscribe(),u.subscribe(),W.subscribe(),x.subscribe(),Object(i.e)(this,ae,"f").resolve(this),this.fireEvent("init")})}createRenderRoot(){return this}get initialized(){return Object(i.e)(this,ae,"f")}get hash(){return Object(i.e)(this,be,"f").hash}get host(){return Object(i.e)(this,be,"f").host}get hostname(){return Object(i.e)(this,be,"f").hostname}get href(){return Object(i.e)(this,be,"f").href}get pathname(){return Object(i.e)(this,be,"f").pathname}get port(){return Object(i.e)(this,be,"f").port}get protocol(){return Object(i.e)(this,be,"f").protocol}get search(){return Object(i.e)(this,be,"f").search}get origin(){return Object(i.e)(this,be,"f").origin}get ancestorOrigins(){return window.location.ancestorOrigins}set hash(e){Object(i.e)(this,fe,"f").call(this,"hash",e)}set host(e){Object(i.e)(this,fe,"f").call(this,"host",e)}set hostname(e){Object(i.e)(this,fe,"f").call(this,"hostname",e)}set href(e){Object(i.e)(this,fe,"f").call(this,"href",e)}set pathname(e){Object(i.e)(this,fe,"f").call(this,"pathname",e)}set port(e){Object(i.e)(this,fe,"f").call(this,"port",e)}set protocol(e){Object(i.e)(this,fe,"f").call(this,"protocol",e)}set search(e){Object(i.e)(this,fe,"f").call(this,"search",e)}get histId(){return this.id||this.tagName}assign(e){var t;Object(i.e)(this,je,"f").next({cause:n.Push,url:new URL(e,this.href),cacheNr:Object(i.f)(this,Oe,(t=Object(i.e)(this,Oe,"f"),++t),"f")})}reload(){var e;Object(i.e)(this,je,"f").next({cause:n.Push,url:new URL(this.href),cacheNr:Object(i.f)(this,Oe,(e=Object(i.e)(this,Oe,"f"),++e),"f"),replace:!0})}replace(e){var t;Object(i.e)(this,je,"f").next({cause:n.Push,url:new URL(e,this.href),cacheNr:Object(i.f)(this,Oe,(t=Object(i.e)(this,Oe,"f"),++t),"f"),replace:!0})}connectedCallback(){super.connectedCallback(),this.$={linkSelector:new f.a(this.linkSelector),prefetch:new f.a(this.prefetch)},window.addEventListener("beforeunload",Object(i.e)(this,le,"f").updateHistoryScrollPosition),document.documentElement.addEventListener("click",Object(i.e)(this,de,"f")),this.updateComplete.then(Object(i.e)(this,ve,"f"))}disconnectedCallback(){window.removeEventListener("beforeunload",Object(i.e)(this,le,"f").updateHistoryScrollPosition),document.documentElement.removeEventListener("click",Object(i.e)(this,de,"f"))}};ae=new WeakMap,se=new WeakMap,le=new WeakMap,he=new WeakMap,ue=new WeakMap,pe=new WeakMap,be=new WeakMap,fe=new WeakMap,Oe=new WeakMap,je=new WeakMap,de=new WeakMap,me=new WeakMap,ve=new WeakMap,Object(i.g)([Object(c.e)({type:String,reflect:!0,attribute:"replace-selector"})],ke.prototype,"replaceSelector",void 0),Object(i.g)([Object(c.e)({type:String,reflect:!0,attribute:"link-selector"})],ke.prototype,"linkSelector",void 0),Object(i.g)([Object(c.e)({type:String,reflect:!0,attribute:"script-selector"})],ke.prototype,"scriptSelector",void 0),Object(i.g)([Object(c.e)({type:Boolean,reflect:!0})],ke.prototype,"prefetch",void 0),Object(i.g)([Object(c.e)({type:Number,reflect:!0})],ke.prototype,"duration",void 0),Object(i.g)([Object(c.e)({type:Boolean,reflect:!0,attribute:"hashchange"})],ke.prototype,"simulateHashChange",void 0),Object(i.g)([Object(c.e)({type:String})],ke.prototype,"baseURL",void 0),Object(i.g)([Object(c.e)()],ke.prototype,"assign",null),Object(i.g)([Object(c.e)()],ke.prototype,"reload",null),Object(i.g)([Object(c.e)()],ke.prototype,"replace",null),ke=Object(i.g)([Object(c.c)("hy-push-state")],ke)},215:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(6),i=r(3),c=r(4);function o(e){return Object(c.a)((function(t,r){var c,a=null,s=!1;a=t.subscribe(new i.a(r,void 0,void 0,(function(i){c=Object(n.a)(e(i,o(e)(t))),a?(a.unsubscribe(),a=null,c.subscribe(r)):s=!0}))),s&&(a.unsubscribe(),a=null,c.subscribe(r))}))}},216:function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var n=r(0),i=r(2),c=r(6),o=r(187),a=r(177),s=r(3),l=r(28);function h(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object(l.b)(e),h=Object(o.a)(e);return h.length?new i.a((function(e){var t=h.map((function(){return[]})),i=h.map((function(){return!1}));e.add((function(){t=i=null}));for(var o=function(o){Object(c.a)(h[o]).subscribe(new s.a(e,(function(c){if(t[o].push(c),t.every((function(e){return e.length}))){var a=t.map((function(e){return e.shift()}));e.next(r?r.apply(void 0,Object(n.k)([],Object(n.j)(a))):a),t.some((function(e,t){return!e.length&&i[t]}))&&e.complete()}}),(function(){i[o]=!0,!t[o].length&&e.complete()})))},a=0;!e.closed&&a<h.length;a++)o(a);return function(){t=i=null}})):a.a}},217:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(25),i=r(6),c=r(4),o=r(3);function a(e,t){return t?function(r){return r.pipe(a((function(r,c){return Object(i.a)(e(r,c)).pipe(Object(n.a)((function(e,n){return t(r,e,c,n)})))})))}:Object(c.a)((function(t,r){var n=0,c=null,a=!1;t.subscribe(new o.a(r,(function(t){c||(c=new o.a(r,void 0,(function(){c=null,a&&r.complete()})),Object(i.a)(e(t,n++)).subscribe(c))}),(function(){a=!0,!c&&r.complete()})))}))}}}]);
@@ -1,146 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.1.6 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[14],{188:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},202:function(e,t,n){(function(e){(function(){"use strict";var t;function n(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function r(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:n(e)}}function o(e){if(!(e instanceof Array)){e=r(e);for(var t,n=[];!(t=e.next()).done;)n.push(t.value);e=n}return e}var i=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof e&&e];for(var n=0;n<t.length;++n){var r=t[n];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")}(this);function s(){}function a(e){return e.__shady||(e.__shady=new s),e.__shady}function l(e){return e&&e.__shady}s.prototype.toJSON=function(){return{}};var d=window.ShadyDOM||{};d.Y=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var h=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function u(){return Document.prototype.msElementsFromPoint?"msElementsFromPoint":"elementsFromPoint"}function c(e){return(e=l(e))&&void 0!==e.firstChild}function _(e){return e instanceof ShadowRoot}function p(e){return(e=(e=l(e))&&e.root)&&zt(e)}d.i=!!(h&&h.configurable&&h.get),d.K=d.force||!d.Y,d.l=d.noPatch||!1,d.A=d.preferPerformance,d.L="on-demand"===d.l,d.R=navigator.userAgent.match("Trident");var f=Element.prototype,m=f.matches||f.matchesSelector||f.mozMatchesSelector||f.msMatchesSelector||f.oMatchesSelector||f.webkitMatchesSelector,y=document.createTextNode(""),v=0,g=[];function S(e){g.push(e),y.textContent=v++}new MutationObserver((function(){for(;g.length;)try{g.shift()()}catch(e){throw y.textContent=v++,e}})).observe(y,{characterData:!0});var N=document.contains?function(e,t){return e.__shady_native_contains(t)}:function(e,t){return e===t||e.documentElement&&e.documentElement.__shady_native_contains(t)};function E(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function b(e){for(var t=e.length-1;0<=t;t--){var n=e[t],o=n.getAttribute("id")||n.getAttribute("name");o&&"length"!==o&&isNaN(o)&&(e[o]=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=r(e),o=n.next();!o.done;o=n.next())if(((o=o.value).getAttribute("id")||o.getAttribute("name"))==t)return o;return null},e}function C(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function w(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function T(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function O(e,t,n,r){for(var o in n=void 0===n?"":n,t)r&&0<=r.indexOf(o)||T(e,n+o,t[o])}function x(e,t){for(var n in t)n in e&&T(e,n,t[n])}function P(e){var t={};return Object.getOwnPropertyNames(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t}function M(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}function D(e){return e instanceof Node?e:document.createTextNode(""+e)}function R(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(1===t.length)return D(t[0]);n=document.createDocumentFragment();for(var o=(t=r(t)).next();!o.done;o=t.next())n.appendChild(D(o.value));return n}var A,L=[];function I(e){A||(A=!0,S(F)),L.push(e)}function F(){A=!1;for(var e=!!L.length;L.length;)L.shift()();return e}function j(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.F=new Set}F.list=L,j.prototype.flush=function(){if(this.g){this.g=!1;var e=this.takeRecords();e.length&&this.F.forEach((function(t){t(e)}))}},j.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 k=/[&\u00A0"]/g,H=/[&\u00A0<>]/g;function B(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function U(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var q=U("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),V=U("style script xmp iframe noembed noframes plaintext noscript".split(" "));function G(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,d=t;switch(a.nodeType){case Node.ELEMENT_NODE:for(var h,u="<"+(l=a.localName),c=a.attributes,_=0;h=c[_];_++)u+=" "+h.name+'="'+h.value.replace(k,B)+'"';u+=">",a=q[l]?u:u+G(a,d)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&V[l.localName]?a:a.replace(H,B);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 W=d.i,K={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},X={};function Y(e){X[e]=function(t){return t["__shady_native_"+e]}}function $(e,t){for(var n in O(e,t,"__shady_native_"),t)Y(n)}function z(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?K[r]||(K[r]=o.value):Y(r))}}var J=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Z=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Q=document.implementation.createHTMLDocument("inert");function ee(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var te=["firstElementChild","lastElementChild","children","childElementCount"],ne=["querySelector","querySelectorAll","append","prepend","replaceChildren"];var re=P({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}}),oe=P({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){this.__shady_innerHTML=e}}),ie=P({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){this.__shady_className=e}});function se(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}se(re),se(oe),se(ie);var ae,le=d.i||!0===d.l,de=le?function(){}:function(e){var t=a(e);t.T||(t.T=!0,x(e,ie))},he=le?function(){}:function(e){var t=a(e);t.S||(t.S=!0,x(e,re),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!d.l||x(e,oe))},ue="__eventWrappers"+Date.now(),ce=(ae=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return ae.get.call(e)}:null,_e=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 pe(e){if(e&&"object"==typeof e)var t=!!e.capture,n=!!e.once,r=!!e.passive,o=e.o;else t=!!e,r=n=!1;return{P:o,capture:t,once:n,passive:r,O:_e?e:t}}var fe={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},me={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function ye(e){return e instanceof Node?e.__shady_getRootNode():e}function ve(e,t){var n=[],r=e;for(e=ye(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 ge(e,t){if(!_)return e;e=ve(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=ye(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!_(r)||-1<s)return n}function Se(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 Ee(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function be(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!Ee(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}function Ce(e){var t=e.composedPath(),n=t.map((function(e){return ge(e,t)})),r=e.bubbles;Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return s}});var o=Event.CAPTURING_PHASE;Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o}});for(var i=t.length-1;0<=i;i--){var s=t[i];if(o=s===n[i]?Event.AT_TARGET:Event.CAPTURING_PHASE,be(e,s,"capture"),e.H)return}for(i=0;i<t.length;i++){var a=(s=t[i])===n[i];if((a||r)&&(o=a?Event.AT_TARGET:Event.BUBBLING_PHASE,be(e,s,"bubble"),e.H))return}o=0,s=null}function we(e,t,n,r,o,i){for(var s=0;s<e.length;s++){var a=e[s],l=a.type,d=a.capture,h=a.once,u=a.passive;if(t===a.node&&n===l&&r===d&&o===h&&i===u)return s}return-1}function Te(e){return F(),!d.A&&this instanceof Node&&!N(document,this)?(e.__target||Me(e,this),Ce(e)):this.__shady_native_dispatchEvent(e)}function Oe(e,t,n){var r=pe(n),o=r.capture,i=r.once,s=r.passive,a=r.P;if(r=r.O,t){var l=typeof t;if(("function"===l||"object"===l)&&("object"!==l||t.handleEvent&&"function"==typeof t.handleEvent)){if(me[e])return this.__shady_native_addEventListener(e,t,r);var d=a||this;if(a=t[ue]){if(-1<we(a,d,e,o,i,s))return}else t[ue]=[];a=function(r){if(i&&this.__shady_removeEventListener(e,t,n),r.__target||Me(r),d!==this){var s=Object.getOwnPropertyDescriptor(r,"currentTarget");Object.defineProperty(r,"currentTarget",{get:function(){return d},configurable:!0});var a=Object.getOwnPropertyDescriptor(r,"eventPhase");Object.defineProperty(r,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(r.__previousCurrentTarget=r.currentTarget,(!_(d)&&"slot"!==d.localName||-1!=r.composedPath().indexOf(d))&&(r.composed||-1<r.composedPath().indexOf(d)))if(Ee(r)&&r.target===r.relatedTarget)r.eventPhase===Event.BUBBLING_PHASE&&r.stopImmediatePropagation();else if(r.eventPhase===Event.CAPTURING_PHASE||r.bubbles||r.target===d||d instanceof Window){var h="function"===l?t.call(d,r):t.handleEvent&&t.handleEvent(r);return d!==this&&(s?(Object.defineProperty(r,"currentTarget",s),s=null):delete r.currentTarget,a?(Object.defineProperty(r,"eventPhase",a),a=null):delete r.eventPhase),h}},t[ue].push({node:d,type:e,capture:o,once:i,passive:s,aa:a}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][o?"capture":"bubble"].push(a),Ne[e]||this.__shady_native_addEventListener(e,a,r)}}}function xe(e,t,n){if(t){var r=pe(n);n=r.capture;var o=r.once,i=r.passive,s=r.P;if(r=r.O,me[e])return this.__shady_native_removeEventListener(e,t,r);var a=s||this;s=void 0;var l=null;try{l=t[ue]}catch(e){}l&&(-1<(o=we(l,a,e,n,o,i))&&(s=l.splice(o,1)[0].aa,l.length||(t[ue]=void 0))),this.__shady_native_removeEventListener(e,s||t,r),s&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(s))&&e.splice(t,1))}}var Pe=P({get composed(){return void 0===this.__composed&&(ce?this.__composed="focusin"===this.type||"focusout"===this.type||ce(this):!1!==this.isTrusted&&(this.__composed=fe[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=ve(this.__target,this.composed)),this.__composedPath},get target(){return ge(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=ve(this.__relatedTarget,!0)),ge(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.H=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.H=this.__immediatePropagationStopped=!0}});function Me(e,t){if(t=void 0===t?e.target:t,e.__target=t,e.__relatedTarget=e.relatedTarget,d.i){if(!(t=Object.getPrototypeOf(e)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,O(n,Pe),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else O(e,Pe)}var De=Se(Event),Re=Se(CustomEvent),Ae=Se(MouseEvent);var Le=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),Ie=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function Fe(e){return{set:function(t){var n=a(this),r=e.substring(2);n.m||(n.m={}),n.m[e]&&this.removeEventListener(r,n.m[e]),this.__shady_addEventListener(r,t),n.m[e]=t},get:function(){var t=l(this);return t&&t.m&&t.m[e]},configurable:!0}}function je(e,t){return{index:e,B:[],D:t}}function ke(e,t,n,r){var o=0,i=0,s=0,a=0,l=Math.min(t-o,r-i);if(0==o&&0==i)e:{for(s=0;s<l;s++)if(e[s]!==n[s])break e;s=l}if(t==e.length&&r==n.length){a=e.length;for(var d=n.length,h=0;h<l-s&&He(e[--a],n[--d]);)h++;a=h}if(i+=s,r-=a,0==(t-=a)-(o+=s)&&0==r-i)return[];if(o==t){for(t=je(o,0);i<r;)t.B.push(n[i++]);return[t]}if(i==r)return[je(o,t-o)];for(r=r-(s=i)+1,a=t-(l=o)+1,t=Array(r),d=0;d<r;d++)t[d]=Array(a),t[d][0]=d;for(d=0;d<a;d++)t[0][d]=d;for(d=1;d<r;d++)for(h=1;h<a;h++)if(e[l+h-1]===n[s+d-1])t[d][h]=t[d-1][h-1];else{var u=t[d-1][h]+1,c=t[d][h-1]+1;t[d][h]=u<c?u:c}for(l=t.length-1,s=t[0].length-1,r=t[l][s],e=[];0<l||0<s;)0==l?(e.push(2),s--):0==s?(e.push(3),l--):(a=t[l-1][s-1],(u=(d=t[l-1][s])<(h=t[l][s-1])?d<a?d:a:h<a?h:a)==a?(a==r?e.push(0):(e.push(1),r=a),l--,s--):u==d?(e.push(3),l--,r=d):(e.push(2),s--,r=h));for(e.reverse(),t=void 0,l=[],s=0;s<e.length;s++)switch(e[s]){case 0:t&&(l.push(t),t=void 0),o++,i++;break;case 1:t||(t=je(o,0)),t.D++,o++,t.B.push(n[i]),i++;break;case 2:t||(t=je(o,0)),t.D++,o++;break;case 3:t||(t=je(o,0)),t.B.push(n[i]),i++}return t&&l.push(t),l}function He(e,t){return e===t}var Be=P({dispatchEvent:Te,addEventListener:Oe,removeEventListener:xe}),Ue=null;function qe(){return Ue||(Ue=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Ue||null}function Ve(e,t,n){var r=qe();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function Ge(e,t){var n=qe();n&&n.unscopeNode(e,t)}function We(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=qe();return t?t.currentScopeForNode(e):""}function Ke(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&&Ke(e,t)}var Xe=window.document,Ye=d.A,$e=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),ze=$e&&$e.get;function Je(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function Ze(e,t,n){if(e=(e=l(e))&&e.v){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.g||(e.g=!0,S((function(){e.flush()})))}(e)}}var Qe=P({get parentNode(){var e=l(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=l(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=l(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=l(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=l(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(c(this)){var e=l(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=l(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(ze&&ze.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(null===e||N(e,this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(_(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(c(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(!c(this)&&d.i){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&Je(this),this.__shady_native_textContent=e}else Je(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!==Xe&&e.ownerDocument!==Xe)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=l(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;Ze(this,e);var r=[],i=(n=en(this))?n.host.localName:We(this),s=e.__shady_parentNode;if(s){var d=We(e),h=!!n||!en(e)||Ye&&void 0!==this.__noInsertionPoint;s.__shady_removeChild(e,h)}s=!0;var u=(!Ye||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=qe();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,i),f=n&&!e.__noInsertionPoint&&(!Ye||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(f||u)&&(u&&(d=d||We(e)),Ke(e,(function(e){if(f&&"slot"===e.localName&&r.push(e),u){var t=d;qe()&&(t&&Ge(e,t),(t=qe())&&t.scopeNode(e,i))}}))),r.length&&(Kt(n),n.j.push.apply(n.j,o(r)),Ut(n)),c(this)&&(function(e,t,n){Mt(t,2);var r=a(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)Dt(e,t,r,n);else Dt(e,t,r,n)}(e,this,t),(h=l(this)).root?(s=!1,p(this)&&Ut(h.root)):n&&"slot"===this.localName&&(s=!1,Ut(n))),s?(n=_(this)?this.host:this,t?(t=function e(t){var n=t;if(t&&"slot"===t.localName){var r=l(t);(r=r&&r.u)&&(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||!_(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==Xe)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);Ze(this,null,e);var n=en(e),r=n&&function(e,t){if(e.g){Xt(e);var n,r=e.h;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var s=o[i];if(E(t,s)){o.splice(i,1);var a=e.g.indexOf(s);if(0<=a&&(e.g.splice(a,1),(a=l(s.__shady_parentNode))&&a.C&&a.C--),i--,s=l(s),a=s.u)for(var d=0;d<a.length;d++){var h=a[d],u=h.__shady_native_parentNode;u&&u.__shady_native_removeChild(h)}s.u=[],s.assignedNodes=[],a=!0}}return a}}(n,e),o=l(this);if(c(this)&&(function(e,t){var n=a(e);t=a(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(a(e).nextSibling=r),r&&(a(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),p(this))){Ut(o.root);var i=!0}if(qe()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=We(e);Ke(e,(function(e){Ge(e,s)}))}return function e(t){var n=l(t);if(n&&void 0!==n.G)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=l(t))&&(t.G=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&Ut(n)),i||(i=_(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=a(this),n=t.G;return void 0===n&&(_(this)?(n=this,t.G=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.G=n))),n}},contains:function(e){return E(this,e)}}),et=P({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&qt(e),(e=l(this))&&e.assignedSlot||null}});function tt(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,d=s(i=t);d&&l.push(i),a&&a(d)?i=d:(e(i,s,a,l),i=void 0)}if(i)break}}(e,t,n,r),r}var nt={get firstElementChild(){var e=l(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=l(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 c(this)?b(Array.prototype.filter.call(w(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}},rt=P((nt.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(R.apply(null,o(t)),null)},nt.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(R.apply(null,o(t)),this.__shady_firstChild)},nt.replaceChildren=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];for(;null!==(n=this.__shady_firstChild);)this.__shady_removeChild(n);this.__shady_insertBefore(R.apply(null,o(t)),null)},nt)),ot=P({querySelector:function(e){return tt(this,(function(t){return m.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 b(t.filter((function(e){return e.__shady_getRootNode()==n})))}return b(tt(this,(function(t){return m.call(t,e)})))}}),it=d.A&&!d.l?M({},rt):rt;M(rt,ot);var st=P({after:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_insertBefore(R.apply(null,o(t)),r)}},before:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];null!==(n=this.__shady_parentNode)&&n.__shady_insertBefore(R.apply(null,o(t)),this)},remove:function(){var e=this.__shady_parentNode;null!==e&&e.__shady_removeChild(this)},replaceWith:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_removeChild(this),n.__shady_insertBefore(R.apply(null,o(t)),r)}}}),at=window.document;function lt(e,t){if("slot"===t)p(e=e.__shady_parentNode)&&Ut(l(e).root);else if("slot"===e.localName&&"name"===t&&(t=en(e))){if(t.g){Xt(t);var n=e.U,r=Yt(e);if(r!==n){var o=(n=t.h[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.h[r]||(t.h[r]=[])).push(e),1<n.length&&(t.h[r]=$t(n))}}Ut(t)}}var dt=P({get previousElementSibling(){var e=l(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=l(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!==at?this.__shady_native_setAttribute(e,t):Ve(this,e,t)||(this.__shady_native_setAttribute(e,t),lt(this,e))},removeAttribute:function(e){this.ownerDocument!==at?this.__shady_native_removeAttribute(e):Ve(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),lt(this,e))}});d.A||Le.forEach((function(e){dt[e]=Fe(e)}));var ht=P({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!d.R){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,Bt(t,this,e),Rt(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;Kt(n),n.j.push.apply(n.j,o(e)),Ut(t)}t.host.__shady_native_appendChild(t)}else t=new Ht(Ft,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=l(this);return e&&e.Z||null}});M(dt,ht);var ut=document.implementation.createHTMLDocument("inert"),ct=P({get innerHTML(){return c(this)?G("template"===this.localName?this.content:this,w):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{Je(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==ut.namespaceURI?ut.createElementNS(this.namespaceURI,t):ut.createElement(t),d.i?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),_t=P({blur:function(){var e=l(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});d.A||Ie.forEach((function(e){_t[e]=Fe(e)}));var pt=P({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&_(t)&&qt(t),(t=l(this))&&(e&&e.flatten?t.u:t.assignedNodes)||[]}},addEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)Oe.call(this,e,t,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.o=this,r.__shady_addEventListener(e,t,n)}},removeEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)xe.call(this,e,t,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.o=this,r.__shady_removeEventListener(e,t,n)}}}),ft=P({getElementById:function(e){return""===e?null:tt(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}});function mt(e,t){for(var n;t&&!e.has(n=t.__shady_getRootNode());)t=n.host;return t}var yt="__shady_native_"+u(),vt=P({get activeElement(){var e=d.i?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!_(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=en(e);t&&t!==this;)t=en(e=t.host);return this===document?t?null:e:t===this?e:null},elementsFromPoint:function(e,t){e=[].slice.call(document[yt](e,t)),t=function(e){var t=new Set;for(t.add(e);_(e)&&e.host;)e=e.host.__shady_getRootNode(),t.add(e);return t}(this);for(var n=new Set,r=0;r<e.length;r++)n.add(mt(t,e[r]));var o=[];return n.forEach((function(e){return o.push(e)})),o},elementFromPoint:function(e,t){return this.__shady_elementsFromPoint(e,t)[0]||null}}),gt=window.document,St=P({importNode:function(e,t){if(e.ownerDocument!==gt||"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=P({dispatchEvent:Te,addEventListener:Oe.bind(window),removeEventListener:xe.bind(window)}),Et={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(Et.parentElement=Qe.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(Et.contains=Qe.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(Et.children=rt.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(Et.innerHTML=ct.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(Et.className=dt.className);var bt={EventTarget:[Be],Node:[Qe,window.EventTarget?null:Be],Text:[et],Comment:[et],CDATASection:[et],ProcessingInstruction:[et],Element:[dt,rt,st,et,!d.i||"innerHTML"in Element.prototype?ct:null,window.HTMLSlotElement?null:pt],HTMLElement:[_t,Et],HTMLSlotElement:[pt],DocumentFragment:[it,ft],Document:[St,it,ft,vt],Window:[Nt],CharacterData:[st]},Ct=d.i?null:["innerHTML","textContent"];function wt(e,t,n,r){t.forEach((function(t){return e&&t&&O(e,t,n,r)}))}function Tt(e){var t,n=e?null:Ct;for(t in bt)wt(window[t]&&window[t].prototype,bt[t],e,n)}function Ot(e){return e.__shady_protoIsPatched=!0,wt(e,bt.EventTarget),wt(e,bt.Node),wt(e,bt.Element),wt(e,bt.HTMLElement),wt(e,bt.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,wt(n,bt.EventTarget),wt(n,bt.Node),bt[e]&&wt(n,bt[e]),t.prototype.__shady_patchedProto=n}));var xt=d.L,Pt=d.i;function Mt(e,t){if(xt&&!e.__shady_protoIsPatched&&!_(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(Ot(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}Pt||(1===t?de(e):2===t&&he(e))}function Dt(e,t,n,r){Mt(e,1),r=r||null;var o=a(e),i=r?a(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=l(o.previousSibling))&&(i.nextSibling=e),(i=l(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 Rt(e,t){var n=a(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,Mt(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=a(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,Mt(n,1)}}}var At=P({addEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.o=n.o||this,this.host.__shady_addEventListener(e,t,n)},removeEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.o=n.o||this,this.host.__shady_removeEventListener(e,t,n)}});function Lt(e,t){O(e,At,t),O(e,vt,t),O(e,ct,t),O(e,rt,t),d.l&&!t?(O(e,Qe,t),O(e,ft,t)):d.i||(O(e,ie),O(e,re),O(e,oe))}var It,Ft={},jt=d.deferConnectionCallbacks&&"loading"===document.readyState;function kt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function Ht(e,t,n){if(e!==Ft)throw new TypeError("Illegal constructor");this.g=null,Bt(this,t,n)}function Bt(e,t,n){if(e.host=t,e.mode=n&&n.mode,Rt(e.host),(t=a(e.host)).root=e,t.Z="closed"!==e.mode?e:null,(t=a(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,d.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else Ut(e)}function Ut(e){e.s||(e.s=!0,I((function(){return qt(e)})))}function qt(e){var t;if(t=e.s){for(var n;e;)e.s&&(n=e),_(e=(t=e).host.__shady_getRootNode())&&(t=l(t.host))&&0<t.C||(e=void 0);t=n}(n=t)&&n._renderSelf()}function Vt(e,t,n){var r=a(t),o=r.I;r.I=null,n||(n=(e=e.h[t.__shady_slot||"__catchall"])&&e[0]),n?(a(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(a(r.assignedSlot).J=!0)}function Gt(e,t,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=l(o).assignedNodes;i&&i.length&&Gt(e,t,i)}else t.push(n[r])}function Wt(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=l(t)).assignedSlot&&Wt(e,t.assignedSlot)}function Kt(e){e.j=e.j||[],e.g=e.g||[],e.h=e.h||{}}function Xt(e){if(e.j&&e.j.length){for(var t,n=e.j,r=0;r<n.length;r++){var o=n[r];Rt(o);var i=o.__shady_parentNode;Rt(i),(i=l(i)).C=(i.C||0)+1,i=Yt(o),e.h[i]?((t=t||{})[i]=!0,e.h[i].push(o)):e.h[i]=[o],e.g.push(o)}if(t)for(var s in t)e.h[s]=$t(e.h[s]);e.j=[]}}function Yt(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.U=t}function $t(e){return e.sort((function(e,t){e=kt(e);for(var n=kt(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=w(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}}))}function zt(e){return Xt(e),!(!e.g||!e.g.length)}if(Ht.prototype._renderSelf=function(){var e=jt;if(jt=!0,this.s=!1,this.g){Xt(this);for(var t,n=0;n<this.g.length;n++){var r=l(t=this.g[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.u=[],r.N=o)for(r=0;r<o.length;r++){var i=l(o[r]);i.I=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)Vt(this,n);for(n=0;n<this.g.length;n++){if(!(o=l(t=this.g[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)Vt(this,r,t);if((r=(r=l(t.__shady_parentNode))&&r.root)&&(zt(r)||r.s)&&r._renderSelf(),Gt(this,o.u,o.assignedNodes),r=o.N){for(i=0;i<r.length;i++)l(r[i]).I=null;o.N=null,r.length>o.assignedNodes.length&&(o.J=!0)}o.J&&(o.J=!1,Wt(this,t))}for(t=this.g,n=[],o=0;o<t.length;o++)(i=l(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=l(i).u,a=0;a<s.length;a++)r.push(s[a]);else r.push(i);i=C(o),s=ke(r,r.length,i,i.length);for(var h=a=0,u=void 0;a<s.length&&(u=s[a]);a++){for(var c=0,_=void 0;c<u.B.length&&(_=u.B[c]);c++)_.__shady_native_parentNode===o&&o.__shady_native_removeChild(_),i.splice(u.index+h,1);h-=u.D}for(h=0,u=void 0;h<s.length&&(u=s[h]);h++)for(a=i[u.index],c=u.index;c<u.index+u.D;c++)_=r[c],o.__shady_native_insertBefore(_,a),i.splice(c,0,_)}}if(!d.preferPerformance&&!this.M)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=l(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.M=!0,jt=e,It&&It()},function(e){e.__proto__=DocumentFragment.prototype,Lt(e,"__shady_"),Lt(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})}))}(Ht.prototype),window.customElements&&window.customElements.define&&d.K&&!d.preferPerformance){var Jt=new Map;It=function(){var e=[];Jt.forEach((function(t,n){e.push([n,t])})),Jt.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},jt&&document.addEventListener("readystatechange",(function(){jt=!1,It()}),{once:!0});var Zt=window.customElements.define,Qt=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Zt.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(){jt?Jt.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){jt?this.isConnected||Jt.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=Qt,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:Qt,configurable:!0})}function en(e){if(_(e=e.__shady_getRootNode()))return e}function tn(e){this.node=e}function nn(e){Object.defineProperty(tn.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(t=tn.prototype).addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},t.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},t.appendChild=function(e){return this.node.__shady_appendChild(e)},t.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},t.removeChild=function(e){return this.node.__shady_removeChild(e)},t.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},t.cloneNode=function(e){return this.node.__shady_cloneNode(e)},t.getRootNode=function(e){return this.node.__shady_getRootNode(e)},t.contains=function(e){return this.node.__shady_contains(e)},t.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},t.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},t.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},t.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},t.attachShadow=function(e){return this.node.__shady_attachShadow(e)},t.focus=function(){this.node.__shady_native_focus()},t.blur=function(){this.node.__shady_blur()},t.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},t.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},t.elementsFromPoint=function(e,t){return this.node.__shady_elementsFromPoint(e,t)},t.elementFromPoint=function(e,t){return this.node.__shady_elementFromPoint(e,t)},t.querySelector=function(e){return this.node.__shady_querySelector(e)},t.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},t.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},t.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_append.apply(this.node,o(t))},t.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_prepend.apply(this.node,o(t))},t.after=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_after.apply(this.node,o(t))},t.before=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_before.apply(this.node,o(t))},t.remove=function(){return this.node.__shady_remove()},t.replaceWith=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_replaceWith.apply(this.node,o(t))},i.Object.defineProperties(tn.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(_(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(_(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){this.node.__shady_className=e}}}),Le.forEach((function(e){return nn(e)})),Ie.forEach((function(e){return nn(e)}));var rn=new WeakMap;function on(e){if(_(e)||e instanceof tn)return e;var t=rn.get(e);return t||(t=new tn(e),rn.set(e,t)),t}if(d.K){var sn=d.i?function(e){return e}:function(e){return he(e),de(e),e};window.ShadyDOM={inUse:d.K,patch:sn,isShadyRoot:_,enqueue:I,flush:F,flushInitial:function(e){!e.M&&e.s&&qt(e)},settings:d,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=a(e);n.v||(n.v=new j),n.v.F.add(t);var r=n.v;return{V:t,X:r,W:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.X;t&&(t.F.delete(e.V),t.F.size||(a(e.W).v=null))},deferConnectionCallbacks:d.deferConnectionCallbacks,preferPerformance:d.preferPerformance,handlesDynamicScoping:!0,wrap:d.l?on:sn,wrapIfNeeded:!0===d.l?on:function(e){return e},Wrapper:tn,composedPath:function(e){return e.__composedPath||(e.__composedPath=ve(e.target,!0)),e.__composedPath},noPatch:d.l,patchOnDemand:d.L,nativeMethods:K,nativeTree:X,patchElementProto:Ot},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?(z(window.EventTarget.prototype,e),void 0===window.__shady_native_addEventListener&&z(Window.prototype,e)):(z(Node.prototype,e),z(Window.prototype,e)),W?z(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):$(Node.prototype,{parentNode:{get:function(){return J.currentNode=this,J.parentNode()}},firstChild:{get:function(){return J.currentNode=this,J.firstChild()}},lastChild:{get:function(){return J.currentNode=this,J.lastChild()}},previousSibling:{get:function(){return J.currentNode=this,J.previousSibling()}},nextSibling:{get:function(){return J.currentNode=this,J.nextSibling()}},childNodes:{get:function(){var e=[];J.currentNode=this;for(var t=J.firstChild();t;)e.push(t),t=J.nextSibling();return e}},parentElement:{get:function(){return Z.currentNode=this,Z.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:ee(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),z(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),z(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return Z.currentNode=this,Z.firstChild()}},lastElementChild:{get:function(){return Z.currentNode=this,Z.lastChild()}},children:{get:function(){var e=[];Z.currentNode=this;for(var t=Z.firstChild();t;)e.push(t),t=Z.nextSibling();return b(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},W?(z(Element.prototype,te),z(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),z(HTMLElement.prototype,["children","innerHTML","className"])):($(Element.prototype,e),$(Element.prototype,{previousElementSibling:{get:function(){return Z.currentNode=this,Z.previousSibling()}},nextElementSibling:{get:function(){return Z.currentNode=this,Z.nextSibling()}},innerHTML:{get:function(){return G(this,C)},set:function(e){var t="template"===this.localName?this.content:this;ee(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==Q.namespaceURI?Q.createElementNS(this.namespaceURI,n):Q.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)}}})),z(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),z(Element.prototype,ne),z(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&z(window.HTMLTemplateElement.prototype,["innerHTML"]),W?z(DocumentFragment.prototype,te):$(DocumentFragment.prototype,e),z(DocumentFragment.prototype,ne),W?(z(Document.prototype,te),z(Document.prototype,["activeElement"])):$(Document.prototype,e),z(Document.prototype,["importNode","getElementById","elementFromPoint",u()]),z(Document.prototype,ne)}(),Tt("__shady_"),Object.defineProperty(document,"_activeElement",vt.activeElement),O(Window.prototype,Nt,"__shady_"),d.l?d.L&&O(Element.prototype,ht):(Tt(),function(){if(!ce&&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||(Me(e),Ce(e))}),!0)}(),window.Event=De,window.CustomEvent=Re,window.MouseEvent=Ae,window.ShadowRoot=Ht}}).call(this)}).call(this,n(188))},206: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
- */class r{constructor(){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(_.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var i=t.parsedSelector=t.selector=r.trim();t.atRule=0===i.indexOf(m),t.atRule?0===i.indexOf(f)?t.type=h.MEDIA_RULE:i.match(_.keyframesRule)&&(t.type=h.KEYFRAMES_RULE,t.keyframesName=t.selector.split(_.multipleSpaces).pop()):0===i.indexOf(p)?t.type=h.MIXIN_RULE:t.type=h.STYLE_RULE}var s=t.rules;if(s)for(var a,l=0,d=s.length;l<d&&(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]===u){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]===c&&(n.end=o+1,n=n.parent||t);return t}(e=e.replace(_.comments,"").replace(_.port,"")),e)}function i(e){var t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(p)}function s(e){return function(e){return e.replace(_.mixinApply,"").replace(_.varApply,"")}(e=a(e))}function a(e){return e.replace(_.customProp,"").replace(_.mixinProp,"")}var l,d,h={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},u="{",c="}",_={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="--",f="@media",m="@",y=!(window.ShadyDOM&&window.ShadyDOM.inUse);function v(e){l=(!e||!e.shimcssproperties)&&(y||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&&(d=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 M(e,t){return e?("string"==typeof e&&(e=o(e)),t&&A(e,t),function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";if(t.cssText||t.rules){var a=t.rules;if(a&&!i(a))for(var l,d=0,h=a.length;d<h&&(l=a[d]);d++)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+" "+u+"\n"),r+=o,t.selector&&(r+=c+"\n\n")),r}(e,S)):""}function D(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=o(e.textContent)),e.__cssRules||null}function R(e){return Boolean(e.parent)&&e.parent.type===h.KEYFRAMES_RULE}function A(e,t,n,r){if(e){var o=!1,i=e.type;if(r&&i===h.MEDIA_RULE){var s=e.selector.match(w);s&&(window.matchMedia(s[1]).matches||(o=!0))}i===h.STYLE_RULE?t(e):n&&i===h.KEYFRAMES_RULE?n(e):i===h.MIXIN_RULE&&(o=!0);var a=e.rules;if(a&&!o)for(var l,d=0,u=a.length;d<u&&(l=a[d]);d++)A(l,t,n,r)}}function L(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 F(o,n,r),o}var I=null;function F(e,t,n){t=t||document.head;var r=n&&n.nextSibling||t.firstChild;(t.insertBefore(e,r),I)?e.compareDocumentPosition(I)===Node.DOCUMENT_POSITION_PRECEDING&&(I=e):I=e}function j(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 k(e,t){y?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}var H=window.ShadyDOM&&window.ShadyDOM.wrap||(e=>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=j(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!==d)return d;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)&&(y?"shadow"===e:"shady"===e)}var W=/:(nth[-\w]+)\(([^)]+)\)/,K=":not(.".concat("style-scope",")"),X=",",Y=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,$=/[[.:#*]/,z=":host",J=":root",Z="::slotted",Q=new RegExp("^(".concat(Z,")")),ee=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,te=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ne=/(.*):dir\((?:(ltr|rtl))\)(.*)/,re=".",oe=":",ie="class",se="should_not_match",ae=/:(?:matches|any|-(?:webkit|moz)-any)/,le="",de=new class{get SCOPE_NAME(){return"style-scope"}dom(e,t,n){this._transformDom(e,e=>{this.element(e,t||"",n)})}domAddScope(e,t){this._transformDom(e,e=>{this.element(e,t||"")})}_transformDom(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)}element(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(ie);if(n){if(r)k(e,r.replace("style-scope","").replace(t,""))}else k(e,(r?r+" ":"")+"style-scope "+t)}}domReplaceScope(e,t,n){this._transformDom(e,e=>{this.element(e,t,!0),this.element(e,n)})}domRemoveScope(e,t){this._transformDom(e,e=>{this.element(e,t||"",!0)})}elementStyles(e,t,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===r)if(y||"shady"===(arguments.length>3&&void 0!==arguments[3]?arguments[3]:""))r=M(t,n);else{var{is:o,typeExtension:i}=B(e);r=this.css(t,o,i,n)+"\n\n"}return r.trim()}css(e,t,n,r){var o=this._calcHostScope(t,n);t=this._calcElementScope(t);var i=this;return M(e,(function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),r&&r(e,t,o)}))}_calcElementScope(e){return e?re+e:""}_calcHostScope(e,t){return t?"[is=".concat(e,"]"):e}rule(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)}_transformRule(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)}_transformRuleCss(e,t,n,r){var o=U(e.selector);if(!R(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(e=>Boolean(e)).join(X)}_twiddleNthPlus(e){return e.replace(W,(e,t,n)=>(n.indexOf("+")>-1?n=n.replace(/\+/g,"___"):n.indexOf("___")>-1&&(n=n.replace(/___/g,"+")),":".concat(t,"(").concat(n,")")))}_preserveMatchesPseudo(e){for(var t,n=[];t=e.match(ae);){var r=t.index,o=j(e,r);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var i=e.slice(r,o+1);e=e.replace(i,le),n.push(i)}return{selector:e,matches:n}}_replaceMatchesPseudo(e,t){var n=e.split(le);return t.reduce((e,t,r)=>e+t+n[r+1],n[0])}_transformComplexSelector(e,t,n){var r=!1;e=e.trim();var o=W.test(e);o&&(e=e.replace(W,(e,t,n)=>":".concat(t,"(").concat(n.replace(/\s/g,""),")")),e=this._twiddleNthPlus(e));var i,s=ae.test(e);return s&&({selector:e,matches:i}=this._preserveMatchesPseudo(e)),e=(e=e.replace(Q,"".concat(z," $1"))).replace(Y,(e,o,i)=>{if(!r){var s=this._transformCompoundSelector(i,o,t,n);r=r||s.stop,o=s.combinator,i=s.value}return o+i}),s&&(e=this._replaceMatchesPseudo(e,i)),o&&(e=this._twiddleNthPlus(e)),e=e.replace(ne,(e,t,n,r)=>'[dir="'.concat(n,'"] ').concat(t).concat(r,", ").concat(t,'[dir="').concat(n,'"]').concat(r))}_transformCompoundSelector(e,t,n,r){var o=e.indexOf(Z);e.indexOf(z)>=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(te,(e,t)=>" > ".concat(t)))),{value:e,combinator:t,stop:i}}_transformSimpleSelector(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(oe);s[0]+=t,r.push(s.join(oe))}}return r.join("")}_transformHostSelector(e,t){var n=e.match(ee),r=n&&n[2].trim()||"";return r?r[0].match($)?e.replace(ee,(function(e,n,r){return t+r})):r.split($)[0]===t?r:se:e.replace(z,t)}documentRule(e){e.selector=e.parsedSelector,this.normalizeRootSelector(e),this._transformRule(e,this._transformDocumentSelector)}normalizeRootSelector(e){e.selector===J&&(e.selector="html")}_transformDocumentSelector(e){return e.match(z)?"":e.match(Z)?this._transformComplexSelector(e,K):this._transformSimpleSelector(e.trim(),K)}};class he{static get(e){return e?e.__styleInfo:null}static set(e,t){return e.__styleInfo=t,t}constructor(e,t,n,r,o,i){this.styleRules=e||null,this.placeholder=t||null,this.ownStylePropertyNames=n||[],this.overrideStyleProperties=null,this.elementName=r||"",this.cssBuild=i||"",this.typeExtension=o||"",this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}_getStyleRules(){return this.styleRules}}he.prototype._getStyleRules=he.prototype._getStyleRules;
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
- var ue=function(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)},ce=/:host\s*>\s*/;var _e=navigator.userAgent.match("Trident");var pe=new class{get XSCOPE_NAME(){return"x-scope"}decorateStyles(e){var t=this,n={},r=[],o=0;A(e,(function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)}),(function(e){r.push(e)})),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}decorateRule(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}collectProperties(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}collectCssText(e){return this.collectConsumingCssText(e.parsedCssText)}collectConsumingCssText(e){return e.replace(T,"").replace(N,"")}collectPropertiesInCssText(e,t){for(var n;n=b.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}}reify(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++)e[t=n[r]]=this.valueForProperty(e[t],e)}valueForProperty(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=j(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()||""}valueForProperties(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(";")}applyProperties(e,t){var n="";e.propertyInfo||this.decorateRule(e),e.propertyInfo.cssText&&(n=this.valueForProperties(e.propertyInfo.cssText,t)),e.cssText=n}applyKeyframeTransforms(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}propertyDataFromStyles(e,t){var n={},r=[];return A(e,e=>{e.propertyInfo||this.decorateRule(e);var o=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&o&&ue.call(t,o)&&(this.collectProperties(e,n),function(e,t){var n=parseInt(e/32,10),r=1<<e%32;t[n]=(t[n]||0)|r}(e.index,r))},null,!0),{properties:n,key:r}}whenHostOrRootRule(e,t,n,r){if(t.propertyInfo||this.decorateRule(t),t.propertyInfo.properties){var{is:o,typeExtension:i}=B(e),s=o?de._calcHostScope(o,i):"html",a=t.parsedSelector,l=function(e,t){return Boolean(t.match(ce))||"html"===e&&t.indexOf("html")>-1}(s,a),d=0===a.indexOf(":host")&&!l;if("shady"===n&&(d=!(l=a===s+" > *."+s||-1!==a.indexOf("html"))&&0===a.indexOf(s)),l||d){var h=s;d&&(t.transformedSelector||(t.transformedSelector=de._transformRuleCss(t,de._transformComplexSelector,de._calcElementScope(o),s)),h=t.transformedSelector||s),l&&"html"===s&&(h=t.transformedSelector||t.parsedSelector),r({selector:h,isHost:d,isRoot:l})}}}hostAndRootPropertiesForScope(e,t,n){var r={},o={};return A(t,t=>{this.whenHostOrRootRule(e,t,n,n=>{var i=e._element||e;ue.call(i,n.selector)&&(n.isHost?this.collectProperties(t,r):this.collectProperties(t,o))})},null,!0),{rootProps:o,hostProps:r}}transformStyles(e,t,n){var r=this,{is:o,typeExtension:i}=B(e),s=de._calcHostScope(o,i),a=e.extends?"\\"+s.slice(0,-1)+"\\]":s,l=new RegExp("(?:^|[^.#[:])"+a+"($|[.:[\\s>+~])"),{styleRules:d,cssBuild:h}=he.get(e),u=this._elementKeyframeTransforms(e,d,n);return de.elementStyles(e,d,(function(e){r.applyProperties(e,t),y||R(e)||!e.cssText||(r.applyKeyframeTransforms(e,u),r._scopeSelector(e,l,s,n))}),h)}_elementKeyframeTransforms(e,t,n){var r=t._keyframes,o={};if(!y&&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}_keyframesRuleTransformer(e){return function(t){return t.replace(e.keyframesNameRx,e.transformedKeyframesName)}}_scopeKeyframes(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)}_scopeSelector(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(",")}applyElementScopeSelector(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)&&k(e,o)}applyElementStyle(e,t,n,r){var o=r?r.textContent||"":this.transformStyles(e,t,n),i=he.get(e),s=i.customStyle;return s&&!y&&s!==r&&(s._useCount--,s._useCount<=0&&s.parentNode&&s.parentNode.removeChild(s)),y?i.customStyle?(i.customStyle.textContent=o,r=i.customStyle):o&&(r=L(o,n,e.shadowRoot,i.placeholder)):r?r.parentNode||(_e&&o.indexOf("@media")>-1&&(r.textContent=o),F(r,null,i.placeholder)):o&&(r=L(o,n,null,i.placeholder)),r&&(r._useCount=r._useCount||0,i.customStyle!=r&&r._useCount++,i.customStyle=r),r}applyCustomStyle(e,t){var n=D(e),r=this;e.textContent=M(n,(function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(n=a(n),e.cssText=r.valueForProperties(n,t))}))}},fe={};
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
- */function me(e){return fe[e]||null}function ye(e){var t,n,r,o;fe[e]||(fe[e]=(t=e,n=document.createComment(" Shady DOM styles for "+t+" "),r=I?I.nextSibling:null,(o=document.head).insertBefore(n,r||o.firstChild),I=n,n))}var ve=window.customElements;if(ve&&!y&&!g){var ge=ve.define;ve.define=(e,t,n)=>{ye(e),ge.call(ve,e,t,n)}}
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 http://polymer.github.io/LICENSE.txt
74
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
75
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
76
- Code distributed by Google as part of the polymer project is also
77
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
78
- */
79
- /**
80
- @license
81
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
82
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
83
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
84
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
85
- Code distributed by Google as part of the polymer project is also
86
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
87
- */
88
- var Se=function(){};var Ne=new RegExp("".concat(de.SCOPE_NAME,"\\s*([^\\s]*)"));function Ee(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(Ne);return t?t[1]:""}function be(e){var t=H(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var n=t.host;return n?B(n).is:""}function Ce(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=be(r);o&&de.element(r,o)}}function we(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=Ee(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=be(o);a!==s&&de.domReplaceScope(o,s,a),Ce(o)}}}}var l}if(!(y||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Te=new MutationObserver(we),Oe=e=>{Te.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Oe(document);else{var xe=()=>{Oe(document.body)};window.HTMLImports?window.HTMLImports.whenReady(xe):requestAnimationFrame((function(){if("loading"===document.readyState){document.addEventListener("readystatechange",(function e(){xe(),document.removeEventListener("readystatechange",e)}))}else xe()}))}Se=function(){we(Te.takeRecords())}}
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={},Me="_applyShimCurrentVersion",De="_applyShimNextVersion",Re=Promise.resolve();function Ae(e){var t=Pe[e];t&&function(e){e[Me]=e[Me]||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e[De]=(e[De]||0)+1}(t)}function Le(e){return e[Me]===e[De]}function Ie(e){return!Le(e)&&e._applyShimValidatingVersion===e[De]}function Fe(e){e._applyShimValidatingVersion=e[De],e._validating||(e._validating=!0,Re.then((function(){e[Me]=e[De],e._validating=!1})))}
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
- */
107
- var je,ke=null,He=window.HTMLImports&&window.HTMLImports.whenReady||null;function Be(e){requestAnimationFrame((function(){He?He(e):(ke||(ke=new Promise(e=>{je=e}),"complete"===document.readyState?je():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&je()})),ke.then((function(){e&&e()})))}))}
108
- /**
109
- @license
110
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
111
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
112
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
113
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
114
- Code distributed by Google as part of the polymer project is also
115
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
116
- */var Ue="__shadyCSSCachedStyle",qe=null,Ve=null;class Ge{constructor(){this.customStyles=[],this.enqueued=!1,Be(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&Ve&&(this.enqueued=!0,Be(Ve))}addCustomStyle(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[Ue]?e[Ue]:e.getStyle?e.getStyle():e}processStyles(){for(var e=this.customStyles,t=0;t<e.length;t++){var n=e[t];if(!n[Ue]){var r=this.getStyleForCustomStyle(n);if(r){var o=r.__appliedElement||r;qe&&qe(o),n[Ue]=o}}}return e}}Ge.prototype.addCustomStyle=Ge.prototype.addCustomStyle,Ge.prototype.getStyleForCustomStyle=Ge.prototype.getStyleForCustomStyle,Ge.prototype.processStyles=Ge.prototype.processStyles,Object.defineProperties(Ge.prototype,{transformCallback:{get:()=>qe,set(e){qe=e}},validateCallback:{get:()=>Ve,set(e){var t=!1;Ve||(t=!0),Ve=e,t&&this.enqueueDocumentValidation()}}});
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
- */
126
- var We={},Ke=new class{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;this.cache={},this.typeMax=e}_validate(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}store(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}fetch(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}}};class Xe{constructor(){this._scopeCounter={},this._documentOwner=document.documentElement;var e=new r;e.rules=[],this._documentOwnerStyleInfo=he.set(this._documentOwner,new he(e)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null}flush(){Se()}_generateScopeSelector(e){var t=this._scopeCounter[e]=(this._scopeCounter[e]||0)+1;return"".concat(e,"-").concat(t)}getStyleAst(e){return D(e)}styleAstToString(e){return M(e)}_gatherStyles(e){return function(e){for(var t=[],n=e.querySelectorAll("style"),r=0;r<n.length;r++){var o=n[r];P(o)?y||(x(o),o.parentNode.removeChild(o)):(t.push(o.textContent),o.parentNode.removeChild(o))}return t.join("").trim()}(e.content)}prepareTemplate(e,t,n){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,n)}prepareTemplateStyles(e,t,n){if(!e._prepared&&!g){y||ye(t),e._prepared=!0,e.name=t,e.extends=n,Pe[t]=e;var r=q(e),i=G(r),s={is:t,extends:n},a=this._gatherStyles(e)+(We[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),d=o(a);l&&S&&this._applyShim&&this._applyShim.transformRules(d,t),e._styleAst=d}var h=[];if(S||(h=pe.decorateStyles(e._styleAst)),!h.length||S){var u=y?e.content:null,c=me(t),_=this._generateStaticStyle(s,e._styleAst,u,c,r,i?a:"");e._style=_}e._ownPropertyNames=h}}prepareAdoptedCssText(e,t){We[t]=e.join(" ")}prepareTemplateDom(e,t){if(!g){var n=q(e);y||"shady"===n||e._domPrepared||(e._domPrepared=!0,de.domAddScope(e.content,t))}}_generateStaticStyle(e,t,n,r,o,i){return(i=de.elementStyles(e,t,null,o,i)).length?L(i,e.is,n,r):null}_prepareHost(e){var{is:t,typeExtension:n}=B(e),r=me(t),o=Pe[t];if(o){var i=o._styleAst,s=o._ownPropertyNames,a=q(o),l=new he(i,r,s,t,n,a);return he.set(e,l),l}}_ensureApplyShim(){return!(this._applyShim||!window.ShadyCSS||!window.ShadyCSS.ApplyShim)&&(this._applyShim=window.ShadyCSS.ApplyShim,this._applyShim.invalidCallback=Ae,!0)}_ensureCustomStyleInterface(){this._customStyleInterface||window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this._customStyleInterface=window.ShadyCSS.CustomStyleInterface,this._customStyleInterface.transformCallback=e=>{this.transformCustomStyleForDocument(e)},this._customStyleInterface.validateCallback=()=>{requestAnimationFrame(()=>{(this._customStyleInterface.enqueued||this._elementsHaveApplied)&&this.flushCustomStyles()})})}_ensure(){var e=this._ensureApplyShim();return this._ensureCustomStyleInterface(),e}flushCustomStyles(){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))}}}_reorderCustomStylesRules(e){var t=e.map(e=>this._customStyleInterface.getStyleForCustomStyle(e)).filter(e=>!!e);t.sort((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=t.map(e=>D(e))}styleElement(e,t){if(g){if(t){he.get(e)||he.set(e,new he(null));var n=he.get(e);this._mixOverrideStyleProps(n,t),this.styleElementNativeVariables(e,n)}}else{var r=he.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))}}_mixOverrideStyleProps(e,t){e.overrideStyleProperties=e.overrideStyleProperties||{},Object.assign(e.overrideStyleProperties,t)}styleElementShimVariables(e,t){this.flush(),this._updateProperties(e,t),t.ownStylePropertyNames&&t.ownStylePropertyNames.length&&this._applyStyleProperties(e,t)}styleElementNativeVariables(e,t){var{is:n}=B(e);t.overrideStyleProperties&&
127
- /**
128
- @license
129
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
130
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
131
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
132
- The complete set of contributors may be found at 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 http://polymer.github.io/PATENTS.txt
135
- */
136
- 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=Pe[n];if((r||this._isRootOwner(e))&&(!r||!V(r))&&r&&r._style&&!Le(r)){if(Ie(r)||(this._ensure(),this._applyShim&&this._applyShim.transformRules(r._styleAst,n),r._style.textContent=de.elementStyles(e,t.styleRules),Fe(r)),y){var o=e.shadowRoot;if(o){var i=o.querySelector("style");i&&(i.textContent=de.elementStyles(e,t.styleRules))}}t.styleRules=r._styleAst}}_styleOwnerForNode(e){var t=H(e).getRootNode().host;return t?he.get(t)||this._prepareHost(t)?t:this._styleOwnerForNode(t):this._documentOwner}_isRootOwner(e){return e===this._documentOwner}_applyStyleProperties(e,t){var n=B(e).is,r=Ke.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=pe.applyElementStyle(e,t.styleProperties,t.scopeSelector,i);return y||pe.applyElementScopeSelector(e,t.scopeSelector,s),r||Ke.store(n,t.styleProperties,a,t.scopeSelector),a}_updateProperties(e,t){var n=this._styleOwnerForNode(e),r=he.get(n),o=r.styleProperties;n===this._documentOwner||o||(this._updateProperties(n,r),o=r.styleProperties);var i=Object.create(o||null),s=pe.hostAndRootPropertiesForScope(e,t.styleRules,t.cssBuild),a=pe.propertyDataFromStyles(r.styleRules,e).properties;Object.assign(i,s.hostProps,a,s.rootProps),this._mixinOverrideStyles(i,t.overrideStyleProperties),pe.reify(i),t.styleProperties=i}_mixinOverrideStyles(e,t){for(var n in t){var r=t[n];(r||0===r)&&(e[n]=r)}}styleDocument(e){this.styleSubtree(this._documentOwner,e)}styleSubtree(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(e=>H(e).shadowRoot),a=0;a<s.length;a++)this.styleSubtree(s[a])}_revalidateCustomStyleApplyShim(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&this._revalidateApplyShim(r)}}_applyCustomStyles(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&pe.applyCustomStyle(r,this._documentOwnerStyleInfo.styleProperties)}}transformCustomStyleForDocument(e){var t=q(e);if(t!==this._documentOwnerStyleInfo.cssBuild&&(this._documentOwnerStyleInfo.cssBuild=t),!G(t)){var n=D(e);A(n,e=>{y?de.normalizeRootSelector(e):de.documentRule(e),S&&""===t&&(this._ensure(),this._applyShim&&this._applyShim.transformRule(e))}),S?e.textContent=M(n):this._documentOwnerStyleInfo.styleRules.rules.push(n)}}_revalidateApplyShim(e){if(S&&this._applyShim){var t=D(e);this._ensure(),this._applyShim.transformRules(t),e.textContent=M(t)}}getComputedStyleValue(e,t){var n;S||(n=(he.get(e)||he.get(this._styleOwnerForNode(e))).styleProperties[t]);return(n=n||window.getComputedStyle(e).getPropertyValue(t))?n.trim():""}setElementClass(e,t){var n,r=H(e).getRootNode();t?n=("string"==typeof t?t:String(t)).split(/\s/):n=[];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=he.get(e);l&&l.scopeSelector&&n.push(pe.XSCOPE_NAME,l.scopeSelector)}k(e,n.join(" "))}_styleInfoForNode(e){return he.get(e)}scopeNode(e,t){de.element(e,t)}unscopeNode(e,t){de.element(e,t,!0)}scopeForNode(e){return be(e)}currentScopeForNode(e){return Ee(e)}}Xe.prototype.flush=Xe.prototype.flush,Xe.prototype.prepareTemplate=Xe.prototype.prepareTemplate,Xe.prototype.styleElement=Xe.prototype.styleElement,Xe.prototype.styleDocument=Xe.prototype.styleDocument,Xe.prototype.styleSubtree=Xe.prototype.styleSubtree,Xe.prototype.getComputedStyleValue=Xe.prototype.getComputedStyleValue,Xe.prototype.setElementClass=Xe.prototype.setElementClass,Xe.prototype._styleInfoForNode=Xe.prototype._styleInfoForNode,Xe.prototype.transformCustomStyleForDocument=Xe.prototype.transformCustomStyleForDocument,Xe.prototype.getStyleAst=Xe.prototype.getStyleAst,Xe.prototype.styleAstToString=Xe.prototype.styleAstToString,Xe.prototype.flushCustomStyles=Xe.prototype.flushCustomStyles,Xe.prototype.scopeNode=Xe.prototype.scopeNode,Xe.prototype.unscopeNode=Xe.prototype.unscopeNode,Xe.prototype.scopeForNode=Xe.prototype.scopeForNode,Xe.prototype.currentScopeForNode=Xe.prototype.currentScopeForNode,Xe.prototype.prepareAdoptedCssText=Xe.prototype.prepareAdoptedCssText,Object.defineProperties(Xe.prototype,{nativeShadow:{get:()=>y},nativeCss:{get:()=>S}});
137
- /**
138
- @license
139
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
140
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
141
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
142
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
143
- Code distributed by Google as part of the polymer project is also
144
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
145
- */
146
- var Ye,$e,ze=new Xe;window.ShadyCSS&&(Ye=window.ShadyCSS.ApplyShim,$e=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:ze,prepareTemplate(e,t,n){ze.flushCustomStyles(),ze.prepareTemplate(e,t,n)},prepareTemplateDom(e,t){ze.prepareTemplateDom(e,t)},prepareTemplateStyles(e,t,n){ze.flushCustomStyles(),ze.prepareTemplateStyles(e,t,n)},styleSubtree(e,t){ze.flushCustomStyles(),ze.styleSubtree(e,t)},styleElement(e){ze.flushCustomStyles(),ze.styleElement(e)},styleDocument(e){ze.flushCustomStyles(),ze.styleDocument(e)},flushCustomStyles(){ze.flushCustomStyles()},getComputedStyleValue:(e,t)=>ze.getComputedStyleValue(e,t),nativeCss:S,nativeShadow:y,cssBuild:d,disableRuntime:g},Ye&&(window.ShadyCSS.ApplyShim=Ye),$e&&(window.ShadyCSS.CustomStyleInterface=$e)}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.1.6 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[16],{189:function(t,e,n){"use strict";n.r(e);n(198),n(199),n(200),n(201);var{customElements:o}=window,r=!1,i=null;function l(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),i&&i(),r=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}o.polyfillWrapFlushCallback&&o.polyfillWrapFlushCallback(t=>{i=t,r&&t()}),"complete"!==document.readyState?(window.addEventListener("load",l),window.addEventListener("DOMContentLoaded",()=>{window.removeEventListener("load",l),l()})):l()},198:function(t,e){},199:function(t,e){},200:function(t,e){},201:function(t,e){(function(){"use strict";var t=window.Document.prototype.createElement,e=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,o=window.Document.prototype.prepend,r=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,l=window.DocumentFragment.prototype.append,a=window.Node.prototype.cloneNode,c=window.Node.prototype.appendChild,s=window.Node.prototype.insertBefore,u=window.Node.prototype.removeChild,d=window.Node.prototype.replaceChild,h=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),f=window.Element.prototype.attachShadow,p=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),m=window.Element.prototype.getAttribute,w=window.Element.prototype.setAttribute,v=window.Element.prototype.removeAttribute,y=window.Element.prototype.getAttributeNS,E=window.Element.prototype.setAttributeNS,g=window.Element.prototype.removeAttributeNS,b=window.Element.prototype.insertAdjacentElement,_=window.Element.prototype.insertAdjacentHTML,C=window.Element.prototype.prepend,N=window.Element.prototype.append,T=window.Element.prototype.before,D=window.Element.prototype.after,k=window.Element.prototype.replaceWith,S=window.Element.prototype.remove,F=window.HTMLElement,L=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),A=window.HTMLElement.prototype.insertAdjacentElement,M=window.HTMLElement.prototype.insertAdjacentHTML,O=new Set;function j(t){var e=O.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(t){return O.add(t)}));var H=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function x(t){var e=t.isConnected;if(void 0!==e)return e;if(H(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function P(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function W(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function R(){var t=!(null==lt||!lt.noDocumentConstructionObserver),e=!(null==lt||!lt.shadyDomFastWalk);this.m=[],this.g=[],this.j=!1,this.shadyDomFastWalk=e,this.I=!t}function I(t,e,n,o){var r=window.ShadyDOM;if(t.shadyDomFastWalk&&r&&r.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=r.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else!function t(e,n,o){for(var r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;n(i);var l=i.localName;if("link"===l&&"import"===i.getAttribute("rel")){if(r=i.import,void 0===o&&(o=new Set),r instanceof Node&&!o.has(r))for(o.add(r),r=r.firstChild;r;r=r.nextSibling)t(r,n,o);r=W(e,i);continue}if("template"===l){r=W(e,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)t(i,n,o)}r=r.firstChild?r.firstChild:W(e,r)}}(e,n,o)}function B(t,e){t.j&&I(t,e,(function(e){return U(t,e)}))}function U(t,e){if(t.j&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.m.length;n++)t.m[n](e);for(n=0;n<t.g.length;n++)t.g[n](e)}}function z(t,e){var n=[];for(I(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state?t.connectedCallback(o):G(t,o)}}function J(t,e){var n=[];for(I(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state&&t.disconnectedCallback(o)}}function q(t,e,n){var o=(n=void 0===n?{}:n).J,r=n.upgrade||function(e){return G(t,e)},i=[];for(I(t,e,(function(e){if(t.j&&U(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;o&&(o.forEach((function(t){return i.add(t)})),i.delete(n)),q(t,n,{J:i,upgrade:r})}}))}else i.push(e)}),o),e=0;e<i.length;e++)r(i[e])}function G(t,e){try{var n=e.ownerDocument,o=n.__CE_registry,r=o&&(n.defaultView||n.__CE_isImportDocument)?nt(o,e.localName):void 0;if(r&&void 0===e.__CE_state){r.constructionStack.push(e);try{try{if(new r.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=r,r.attributeChangedCallback&&e.hasAttributes()){var i=r.observedAttributes;for(r=0;r<i.length;r++){var l=i[r],a=e.getAttribute(l);null!==a&&t.attributeChangedCallback(e,l,null,a,null)}}x(e)&&t.connectedCallback(e)}}catch(t){X(t)}}function V(n,o,r,i){var l=o.__CE_registry;if(l&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(l=nt(l,r)))try{var a=new l.constructorFunction;if(void 0===a.__CE_state||void 0===a.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==a.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(a.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==a.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==a.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(a.ownerDocument!==o)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(a.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return a}catch(l){return X(l),o=null===i?t.call(o,r):e.call(o,i,r),Object.setPrototypeOf(o,HTMLUnknownElement.prototype),o.__CE_state=2,o.__CE_definition=void 0,U(n,o),o}return U(n,o=null===i?t.call(o,r):e.call(o,i,r)),o}function X(t){var e=t.message,n=t.sourceURL||t.fileName||"",o=t.line||t.lineNumber||0,r=t.column||t.columnNumber||0,i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:o,colno:r,error:t}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,o),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(i),i.defaultPrevented||console.error(t)}function $(){var t=this;this.g=void 0,this.F=new Promise((function(e){t.l=e}))}function K(t){var e=document;this.l=void 0,this.h=t,this.g=e,q(this.h,this.g),"loading"===this.g.readyState&&(this.l=new MutationObserver(this.G.bind(this)),this.l.observe(this.g,{childList:!0,subtree:!0}))}function Q(t){t.l&&t.l.disconnect()}function Y(t){this.s=new Map,this.u=new Map,this.C=new Map,this.A=!1,this.B=new Map,this.o=function(t){return t()},this.i=!1,this.v=[],this.h=t,this.D=t.I?new K(t):void 0}function Z(t,e){if(!j(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(nt(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.A)throw Error("A custom element is already being defined.")}function tt(t,e,n){var o;t.A=!0;try{var r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},l=i("connectedCallback"),a=i("disconnectedCallback"),c=i("adoptedCallback"),s=(o=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.A=!1}return n={localName:e,constructorFunction:n,connectedCallback:l,disconnectedCallback:a,adoptedCallback:c,attributeChangedCallback:o,observedAttributes:s,constructionStack:[]},t.u.set(e,n),t.C.set(n.constructorFunction,n),n}function et(t){if(!1!==t.i){t.i=!1;for(var e=[],n=t.v,o=new Map,r=0;r<n.length;r++)o.set(n[r],[]);for(q(t.h,document,{upgrade:function(n){if(void 0===n.__CE_state){var r=n.localName,i=o.get(r);i?i.push(n):t.u.has(r)&&e.push(n)}}}),r=0;r<e.length;r++)G(t.h,e[r]);for(r=0;r<n.length;r++){for(var i=n[r],l=o.get(i),a=0;a<l.length;a++)G(t.h,l[a]);(i=t.B.get(i))&&i.resolve(void 0)}n.length=0}}function nt(t,e){var n=t.u.get(e);if(n)return n;if(n=t.s.get(e)){t.s.delete(e);try{return tt(t,e,n())}catch(t){X(t)}}}function ot(t,e,n){function o(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],l=0;l<o.length;l++){var a=o[l];if(a instanceof Element&&x(a)&&i.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(e.apply(this,o),o=0;o<i.length;o++)J(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&z(t,i)}}void 0!==n.prepend&&(e.prepend=o(n.prepend)),void 0!==n.append&&(e.append=o(n.append))}function rt(t){function n(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var o=this,r=void 0;if(x(this)&&(r=[],I(t,this,(function(t){t!==o&&r.push(t)}))),n.set.call(this,e),r)for(var i=0;i<r.length;i++){var l=r[i];1===l.__CE_state&&t.disconnectedCallback(l)}return this.ownerDocument.__CE_registry?q(t,this):B(t,this),e}})}function o(e,n){e.insertAdjacentElement=function(e,o){var r=x(o);return e=n.call(this,e,o),r&&J(t,o),x(e)&&z(t,o),e}}function r(e,n){function o(e,n){for(var o=[];e!==n;e=e.nextSibling)o.push(e);for(n=0;n<o.length;n++)q(t,o[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var r=this.previousSibling;n.call(this,t,e),o(r||this.parentNode.firstChild,this)}else if("afterbegin"===t)r=this.firstChild,n.call(this,t,e),o(this.firstChild,r);else if("beforeend"===t)r=this.lastChild,n.call(this,t,e),o(r||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");r=this.nextSibling,n.call(this,t,e),o(this.nextSibling,r)}}}f&&(Element.prototype.attachShadow=function(e){if(e=f.call(this,e),t.j&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.m.length;n++)t.m[n](e)}return this.__CE_shadowRoot=e}),p&&p.get?n(Element.prototype,p):L&&L.get?n(HTMLElement.prototype,L):function(t,e){t.j=!0,t.g.push(e)}(t,(function(t){n(t,{enumerable:!0,configurable:!0,get:function(){return a.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,o=n?this.content:this,r=e.call(document,this.namespaceURI,this.localName);for(r.innerHTML=t;0<o.childNodes.length;)u.call(o,o.childNodes[0]);for(t=n?r.content:r;0<t.childNodes.length;)c.call(o,t.childNodes[0])}})})),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return w.call(this,e,n);var o=m.call(this,e);w.call(this,e,n),n=m.call(this,e),t.attributeChangedCallback(this,e,o,n,null)},Element.prototype.setAttributeNS=function(e,n,o){if(1!==this.__CE_state)return E.call(this,e,n,o);var r=y.call(this,e,n);E.call(this,e,n,o),o=y.call(this,e,n),t.attributeChangedCallback(this,n,r,o,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return v.call(this,e);var n=m.call(this,e);v.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return g.call(this,e,n);var o=y.call(this,e,n);g.call(this,e,n);var r=y.call(this,e,n);o!==r&&t.attributeChangedCallback(this,n,o,r,e)},A?o(HTMLElement.prototype,A):b&&o(Element.prototype,b),M?r(HTMLElement.prototype,M):_&&r(Element.prototype,_),ot(t,Element.prototype,{prepend:C,append:N}),function(t){function e(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],l=0;l<o.length;l++){var a=o[l];if(a instanceof Element&&x(a)&&i.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(e.apply(this,o),o=0;o<i.length;o++)J(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&z(t,i)}}var n=Element.prototype;void 0!==T&&(n.before=e(T)),void 0!==D&&(n.after=e(D)),void 0!==k&&(n.replaceWith=function(e){for(var n=[],o=0;o<arguments.length;++o)n[o]=arguments[o];o=[];for(var r=[],i=0;i<n.length;i++){var l=n[i];if(l instanceof Element&&x(l)&&r.push(l),l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)o.push(l);else o.push(l)}for(i=x(this),k.apply(this,n),n=0;n<r.length;n++)J(t,r[n]);if(i)for(J(t,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&z(t,r)}),void 0!==S&&(n.remove=function(){var e=x(this);S.call(this),e&&J(t,this)})}(t)}R.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){X(t)}},R.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){X(t)}},R.prototype.attributeChangedCallback=function(t,e,n,o,r){var i=t.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e))try{i.attributeChangedCallback.call(t,e,n,o,r)}catch(t){X(t)}},$.prototype.resolve=function(t){if(this.g)throw Error("Already resolved.");this.g=t,this.l(t)},K.prototype.G=function(t){var e=this.g.readyState;for("interactive"!==e&&"complete"!==e||Q(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)q(this.h,n[o])},Y.prototype.H=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Z(this,t),this.s.set(t,e),this.v.push(t),this.i||(this.i=!0,this.o((function(){return et(n)})))},Y.prototype.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");Z(this,t),tt(this,t,e),this.v.push(t),this.i||(this.i=!0,this.o((function(){return et(n)})))},Y.prototype.upgrade=function(t){q(this.h,t)},Y.prototype.get=function(t){if(t=nt(this,t))return t.constructorFunction},Y.prototype.whenDefined=function(t){if(!j(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.B.get(t);if(e)return e.F;e=new $,this.B.set(t,e);var n=this.u.has(t)||this.s.has(t);return t=-1===this.v.indexOf(t),n&&t&&e.resolve(void 0),e.F},Y.prototype.polyfillWrapFlushCallback=function(t){this.D&&Q(this.D);var e=this.o;this.o=function(n){return t((function(){return e(n)}))}},window.CustomElementRegistry=Y,Y.prototype.define=Y.prototype.define,Y.prototype.upgrade=Y.prototype.upgrade,Y.prototype.get=Y.prototype.get,Y.prototype.whenDefined=Y.prototype.whenDefined,Y.prototype.polyfillDefineLazy=Y.prototype.H,Y.prototype.polyfillWrapFlushCallback=Y.prototype.polyfillWrapFlushCallback;var it={};var lt=window.customElements;function at(){var e=new R;!function(e){function n(){var n=this.constructor,o=document.__CE_registry.C.get(n);if(!o)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=o.constructionStack;if(0===r.length)return r=t.call(document,o.localName),Object.setPrototypeOf(r,n.prototype),r.__CE_state=1,r.__CE_definition=o,U(e,r),r;var i=r.length-1,l=r[i];if(l===it)throw Error("Failed to construct '"+o.localName+"': This element was already constructed.");return r[i]=it,Object.setPrototypeOf(l,n.prototype),U(e,l),l}n.prototype=F.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),window.HTMLElement=n}(e),function(t){Document.prototype.createElement=function(e){return V(t,this,e,null)},Document.prototype.importNode=function(e,o){return e=n.call(this,e,!!o),this.__CE_registry?q(t,e):B(t,e),e},Document.prototype.createElementNS=function(e,n){return V(t,this,n,e)},ot(t,Document.prototype,{prepend:o,append:r})}(e),ot(e,DocumentFragment.prototype,{prepend:i,append:l}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&x(this)){o=Array(i);for(var l=0;l<i;l++)o[l]=r[l]}}if(n.set.call(this,e),o)for(e=0;e<o.length;e++)J(t,o[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var o=P(e);if(e=s.call(this,e,n),x(this))for(n=0;n<o.length;n++)z(t,o[n]);return e}return o=e instanceof Element&&x(e),n=s.call(this,e,n),o&&J(t,e),x(this)&&z(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=P(e);if(e=c.call(this,e),x(this))for(var o=0;o<n.length;o++)z(t,n[o]);return e}return n=e instanceof Element&&x(e),o=c.call(this,e),n&&J(t,e),x(this)&&z(t,e),o},Node.prototype.cloneNode=function(e){return e=a.call(this,!!e),this.ownerDocument.__CE_registry?q(t,e):B(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&x(e),o=u.call(this,e);return n&&J(t,e),o},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var o=P(e);if(e=d.call(this,e,n),x(this))for(J(t,n),n=0;n<o.length;n++)z(t,o[n]);return e}o=e instanceof Element&&x(e);var r=d.call(this,e,n),i=x(this);return i&&J(t,n),o&&J(t,e),i&&z(t,e),r},h&&h.get?e(Node.prototype,h):function(t,e){t.j=!0,t.m.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")},set:function(t){for(;this.firstChild;)u.call(this,this.firstChild);null!=t&&""!==t&&c.call(this,document.createTextNode(t))}})}))}(e),rt(e),e=new Y(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}lt&&!lt.forcePolyfill&&"function"==typeof lt.define&&"function"==typeof lt.get||at(),window.__CE_installPolyfill=at}).call(self)}}]);