jekyll-theme-hydejack 9.1.1 → 9.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/body/breadcrumbs.html +10 -10
  3. data/_includes/body/footer.html +1 -1
  4. data/_includes/body/nav.html +1 -1
  5. data/_includes/body/scripts.html +2 -2
  6. data/_includes/components/dingbat.html +2 -8
  7. data/_includes/components/post.html +2 -2
  8. data/_includes/head/index.html +1 -1
  9. data/_includes/head/links-static.html +5 -2
  10. data/_includes/head/meta-static.html +1 -5
  11. data/_includes/head/meta.html +5 -1
  12. data/_includes/head/styles-inline.html +4 -2
  13. data/_includes/head/styles-no-inline.html +4 -2
  14. data/_includes/header.txt +1 -1
  15. data/_layouts/base.html +0 -5
  16. data/_layouts/compress.html +1 -1
  17. data/_layouts/list.html +1 -1
  18. data/_layouts/plain.html +1 -1
  19. data/_layouts/post.html +5 -0
  20. data/_sass/_tippy.scss +2 -1
  21. data/assets/css/{hydejack-9.1.1.css → hydejack-9.1.5.css} +0 -0
  22. data/assets/js/LEGACY-clap-button-hydejack-9.1.5.js +14 -0
  23. data/assets/js/LEGACY-drawer-hydejack-9.1.5.js +14 -0
  24. data/assets/js/{LEGACY-shadydom-hydejack-9.1.1.js → LEGACY-fetch-hydejack-9.1.5.js} +2 -2
  25. data/assets/js/LEGACY-hydejack-9.1.5.js +27 -0
  26. data/assets/js/LEGACY-navbar-hydejack-9.1.5.js +14 -0
  27. data/assets/js/LEGACY-push-state-hydejack-9.1.5.js +14 -0
  28. data/assets/js/LEGACY-resize-observer-hydejack-9.1.5.js +14 -0
  29. data/assets/js/{shadydom-hydejack-9.1.1.js → LEGACY-shadydom-hydejack-9.1.5.js} +2 -2
  30. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.5.js +14 -0
  31. data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.5.js +48 -0
  32. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.5.js +214 -0
  33. data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.5.js +14 -0
  34. data/assets/js/{LEGACY-vendors~intersection-observer-hydejack-9.1.1.js → LEGACY-vendors~intersection-observer-hydejack-9.1.5.js} +2 -2
  35. data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.5.js +34 -0
  36. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.5.js +155 -0
  37. data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.1.1.js → LEGACY-vendors~webanimations-hydejack-9.1.5.js} +2 -2
  38. data/assets/js/LEGACY-vendors~webcomponents-hydejack-9.1.5.js +34 -0
  39. data/assets/js/{LEGACY-webcomponents-hydejack-9.1.1.js → LEGACY-webcomponents-hydejack-9.1.5.js} +2 -2
  40. data/assets/js/clap-button-hydejack-9.1.5.js +14 -0
  41. data/assets/js/drawer-hydejack-9.1.5.js +14 -0
  42. data/assets/js/{fetch-hydejack-9.1.1.js → fetch-hydejack-9.1.5.js} +2 -2
  43. data/assets/js/hydejack-9.1.5.js +28 -0
  44. data/assets/js/navbar-hydejack-9.1.5.js +14 -0
  45. data/assets/js/push-state-hydejack-9.1.5.js +14 -0
  46. data/assets/js/resize-observer-hydejack-9.1.5.js +14 -0
  47. data/assets/js/{LEGACY-fetch-hydejack-9.1.1.js → shadydom-hydejack-9.1.5.js} +2 -2
  48. data/assets/js/vendors~clap-button-hydejack-9.1.5.js +14 -0
  49. data/assets/js/vendors~drawer-hydejack-9.1.5.js +48 -0
  50. data/assets/js/{vendors~drawer~push-state-hydejack-9.1.1.js → vendors~drawer~push-state-hydejack-9.1.5.js} +12 -12
  51. data/assets/js/vendors~fetch-hydejack-9.1.5.js +14 -0
  52. data/assets/js/{vendors~intersection-observer-hydejack-9.1.1.js → vendors~intersection-observer-hydejack-9.1.5.js} +2 -2
  53. data/assets/js/vendors~push-state-hydejack-9.1.5.js +34 -0
  54. data/assets/js/vendors~shadydom-hydejack-9.1.5.js +146 -0
  55. data/assets/js/{vendors~webanimations-hydejack-9.1.1.js → vendors~webanimations-hydejack-9.1.5.js} +2 -2
  56. data/assets/js/{webcomponents-hydejack-9.1.1.js → webcomponents-hydejack-9.1.5.js} +2 -2
  57. data/assets/version.json +2 -2
  58. metadata +44 -48
  59. data/assets/js/LEGACY-clap-button-hydejack-9.1.1.js +0 -14
  60. data/assets/js/LEGACY-drawer-hydejack-9.1.1.js +0 -14
  61. data/assets/js/LEGACY-hydejack-9.1.0.js +0 -28796
  62. data/assets/js/LEGACY-hydejack-9.1.0.js.map +0 -1
  63. data/assets/js/LEGACY-hydejack-9.1.1.js +0 -27
  64. data/assets/js/LEGACY-navbar-hydejack-9.1.1.js +0 -14
  65. data/assets/js/LEGACY-push-state-hydejack-9.1.1.js +0 -14
  66. data/assets/js/LEGACY-resize-observer-hydejack-9.1.1.js +0 -14
  67. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.1.js +0 -182
  68. data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.1.js +0 -48
  69. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.1.js +0 -214
  70. data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.1.js +0 -14
  71. data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.1.js +0 -34
  72. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.1.js +0 -155
  73. data/assets/js/LEGACY-vendors~webcomponents-hydejack-9.1.1.js +0 -34
  74. data/assets/js/clap-button-hydejack-9.1.1.js +0 -14
  75. data/assets/js/drawer-hydejack-9.1.1.js +0 -14
  76. data/assets/js/hydejack-9.1.0.js +0 -20723
  77. data/assets/js/hydejack-9.1.0.js.map +0 -1
  78. data/assets/js/hydejack-9.1.1.js +0 -28
  79. data/assets/js/navbar-hydejack-9.1.1.js +0 -14
  80. data/assets/js/push-state-hydejack-9.1.1.js +0 -14
  81. data/assets/js/resize-observer-hydejack-9.1.1.js +0 -14
  82. data/assets/js/vendors~clap-button-hydejack-9.1.1.js +0 -222
  83. data/assets/js/vendors~drawer-hydejack-9.1.1.js +0 -48
  84. data/assets/js/vendors~fetch-hydejack-9.1.1.js +0 -14
  85. data/assets/js/vendors~push-state-hydejack-9.1.1.js +0 -34
  86. data/assets/js/vendors~shadydom-hydejack-9.1.1.js +0 -146
@@ -1,34 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.1.1 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[13],{201:function(e,t,r){"use strict";r.r(t),r.d(t,"HyPushState",(function(){return Le}));var c=r(1),n=r(179),i=r(174),o=r(162),a=r(184),s=r(92),l=r(89),h=function(e){function t(t,r){var c=e.call(this,t,r)||this;return c.scheduler=t,c.work=r,c}return Object(c.f)(t,e),t.prototype.requestAsyncId=function(t,r,c){return void 0===c&&(c=0),null!==c&&c>0?e.prototype.requestAsyncId.call(this,t,r,c):(t.actions.push(this),t.scheduled||(t.scheduled=l.a.requestAnimationFrame((function(){return t.flush(void 0)}))))},t.prototype.recycleAsyncId=function(t,r,c){if(void 0===c&&(c=0),null!=c&&c>0||null==c&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,c);0===t.actions.length&&(l.a.cancelAnimationFrame(r),t.scheduled=void 0)},t}(s.a),u=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(c.f)(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,c=-1;e=e||r.shift();var n=r.length;do{if(t=e.execute(e.state,e.delay))break}while(++c<n&&(e=r.shift()));if(this.active=!1,t){for(;++c<n&&(e=r.shift());)e.unsubscribe();throw t}},t}(r(94).a))(h),p=r(205),b=r(208),O=r(25),f=r(95),j=r(99),d=r(183),m=r(185),v=r(202),y=r(4),w=r(3);function g(e,t){return void 0===t&&(t=0),Object(y.b)((function(r,c){r.subscribe(new w.a(c,(function(r){return c.add(e.schedule((function(){return c.next(r)}),t))}),(function(r){return c.add(e.schedule((function(){return c.error(r)}),t))}),(function(){return c.add(e.schedule((function(){return c.complete()}),t))})))}))}var S,P=r(182),E=r(203),A=r(96),k=r(98),L=r(209),R=r(207),q=r(164);function H(e){var{protocol:t,host:r}=e,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return t!==c.protocol||r!==c.host}function N(e){return e&&""===e.target}function M(e,t){var{url:r,anchor:c}=e;return!(!N(c)||H(r,t)||function(e){var{hash:t,origin:r,pathname:c}=e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return""!==t&&r===n.origin&&c===n.pathname}(r,t))}function T(e){var{cause:t,url:{pathname:r,hash:c},oldURL:n}=e;return r===(null==n?void 0:n.pathname)&&(t===S.Pop||t===S.Push&&""!==c)}!function(e){e.Init="init",e.Hint="hint",e.Push="push",e.Pop="pop"}(S||(S={}));var D=r(70),U=r(210),C=r(204);function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,c)}return r}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?I(Object(r),!0).forEach((function(t){x(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class B{constructor(e){this.parent=e}fetchPage(e){return Object(q.g)(e.url.href,{method:"GET",mode:"cors",headers:{Accept:"text/html"}}).pipe(Object(A.a)(e=>e.text()),Object(O.a)(t=>W(W({},e),{},{responseText:t})),Object(L.a)(t=>Object(D.a)(W(W({},e),{},{error:t,responseText:null}))))}selectPrefetch(e,t,r){var{href:c}=e;return c===t.url.href?Object(D.a)(t):r.pipe(Object(C.a)(1))}getResponse(e,t,r){return Object(U.a)(this.selectPrefetch(t.url,r,e),this.parent.animPromise).pipe(Object(O.a)(e=>{var[r]=e;return W(W({},r),t)}))}}var $=r(11),F=r(163),V=r(206);function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,c)}return r}function K(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach((function(t){X(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function X(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class z{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($.a)(t).pipe(Object(F.a)(e=>this.insertScript(e)),Object(L.a)(t=>Object(D.a)(K(K({},e),{},{error:t}))),Object(V.a)(()=>document.write=r),Object(P.a)(e)).toPromise()}insertScript(e){var[t,r]=e;return document.write=function(){for(var e=document.createElement("div"),t=arguments.length,c=new Array(t),n=0;n<t;n++)c[n]=arguments[n];e.innerHTML=c.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,c)=>{var n,i;""!==t.src?(t.addEventListener("load",e),t.addEventListener("error",c),null===(n=r.parentNode)||void 0===n||n.replaceChild(t,r)):(null===(i=r.parentNode)||void 0===i||i.replaceChild(t,r),e({}))})}}function G(e,t){e.forEach(e=>{e&&(e.querySelectorAll("[href]").forEach(Q("href",t)),e.querySelectorAll("[src]").forEach(Q("src",t)),e.querySelectorAll("img[srcset]").forEach(function(e,t){return r=>{try{var c=r.getAttribute(e);if(null==c)return;r.setAttribute(e,c.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(Q("cite",t)),e.querySelectorAll("del[cite]").forEach(Q("cite",t)),e.querySelectorAll("ins[cite]").forEach(Q("cite",t)),e.querySelectorAll("q[cite]").forEach(Q("cite",t)),e.querySelectorAll("img[longdesc]").forEach(Q("longdesc",t)),e.querySelectorAll("frame[longdesc]").forEach(Q("longdesc",t)),e.querySelectorAll("iframe[longdesc]").forEach(Q("longdesc",t)),e.querySelectorAll("img[usemap]").forEach(Q("usemap",t)),e.querySelectorAll("input[usemap]").forEach(Q("usemap",t)),e.querySelectorAll("object[usemap]").forEach(Q("usemap",t)),e.querySelectorAll("form[action]").forEach(Q("action",t)),e.querySelectorAll("button[formaction]").forEach(Q("formaction",t)),e.querySelectorAll("input[formaction]").forEach(Q("formaction",t)),e.querySelectorAll("video[poster]").forEach(Q("poster",t)),e.querySelectorAll("object[data]").forEach(Q("data",t)),e.querySelectorAll("object[codebase]").forEach(Q("codebase",t)),e.querySelectorAll("object[archive]").forEach(function(e,t){return r=>{try{var c=r.getAttribute(e);if(null==c)return;r.setAttribute(e,c.split(/[\s,]+/).map(e=>new URL(e,t).href).join(", "))}catch(e){}}}("archive",t)))})}function Q(e,t){return r=>{try{var c=r.getAttribute(e);if(null==c)return;r.setAttribute(e,new URL(c,t).href)}catch(e){}}}function Y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,c)}return r}function Z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class ee{constructor(e){this.parent=e,this.scriptManager=new z(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:c=""}=r,n=this.getReplaceElements(r);if(n.every(e=>null==e))throw new Error("Couldn't find any element in the document at '".concat(location,"'."));var i=this.scriptSelector?this.scriptManager.removeScriptTags(n):[];return Z(Z({},e),{},{document:r,title:c,replaceEls:n,scripts:i})}replaceContentWithSelector(e,t){e.split(",").map(e=>document.querySelector(e)).forEach((e,r)=>{var c,n=t[r];n&&(null===(c=null==e?void 0:e.parentNode)||void 0===c||c.replaceChild(n,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]"),c=e.head.querySelector("link[rel=canonical]");r&&c&&(r.href=c.href);var n=t.querySelector("meta[name=description]"),i=e.head.querySelector("meta[name=description]");n&&i&&(n.content=i.content)}updateDOM(e){try{var{replaceEls:t,document:r}=e;H(this.parent)&&G(t,this.parent.href),this.replaceHead(r),this.replaceContent(t)}catch(t){throw Z(Z({},e),{},{error:t})}}reinsertScriptTags(e){return this.scriptManager.reinsertScriptTags(e)}}var te=r(26),re=r(72),ce=e=>Array.prototype.concat.apply([],e),ne=e=>({addedNodes:new Set(ce(e.map(e=>Array.from(e.addedNodes)))),removedNodes:new Set(ce(e.map(e=>Array.from(e.removedNodes))))});class ie{setupEventListeners(){var e=Object(o.a)(this.el,"click").pipe(Object(O.a)(e=>{var t=Object(q.k)(e.target,this.linkSelector);if(t instanceof HTMLAnchorElement)return[e,t]}),Object(f.a)(e=>!!e)),t=(e,t)=>e.matches(t)&&e instanceof HTMLAnchorElement?Object(D.a)(e):Object($.a)(e.querySelectorAll(t)).pipe(Object(f.a)(e=>e instanceof HTMLAnchorElement));return{hintEvent$:this.$.linkSelector.pipe(Object(A.a)(e=>{var r=new Map,c=e=>{r.has(e)||r.set(e,(e=>Object(a.a)(Object(o.a)(e,"mouseenter",{passive:!0}),Object(o.a)(e,"touchstart",{passive:!0}),Object(o.a)(e,"focus",{passive:!0})).pipe(Object(O.a)(t=>[t,e])))(e))},n=e=>{r.delete(e)};return Object(q.d)(this.el,{childList:!0,subtree:!0}).pipe(Object(d.a)({addedNodes:[this.el],removedNodes:[]}),Object(q.c)(500),Object(O.a)(ne),Object(A.a)(i=>{var{addedNodes:o,removedNodes:a}=i;return Object($.a)(a).pipe(Object(f.a)(e=>e instanceof Element),Object(te.a)(r=>t(r,e)),Object(j.a)(n)).subscribe(),Object($.a)(o).pipe(Object(f.a)(e=>e instanceof Element),Object(te.a)(r=>t(r,e)),Object(j.a)(c)).subscribe(),Object($.a)(r.values()).pipe(Object(re.a)())}),Object(q.l)(this.$.prefetch))})),pushEvent$:e}}}function oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,c)}return r}function ae(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){se(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var le,he,ue,pe,be,Oe,fe,je,de,me,ve,ye,we=e=>new Promise(t=>setTimeout(t,e));class ge{constructor(e){this.parent=e}onStart(e){this.parent.animPromise=we(this.parent.duration);this.parent.fireEvent("start",{detail:ae(ae({},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=we(this.parent.duration);this.parent.fireEvent("after",{detail:ae(ae({},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 Se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,c)}return r}function Pe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(r),!0).forEach((function(t){Ee(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ee(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]:{},c=new CustomEvent(e);return c.oldURL=t,c.newURL=r,c};class Ae{constructor(e){this.updateHistoryScrollPosition=()=>{if(!H(this.parent)){var e=this.assignScrollPosition(history.state||{});history.replaceState(e,document.title)}},this.parent=e}updateHistoryState(e){var{cause:t,replace:r,url:c,oldURL:n}=e;if(!H(this.parent))switch(t){case S.Init:case S.Push:var{histId:i}=this.parent;if(r||c.href===location.href){var o=Pe(Pe({},history.state),{},{[i]:{}});history.replaceState(o,document.title,c.href)}else history.pushState({[i]:{}},document.title,c.href);case S.Pop:this.parent.simulateHashChange&&n&&function(e,t){e.hash!==t.hash&&window.dispatchEvent(new HashChangeEvent("hashchange",{newURL:e.href,oldURL:t.href}))}(c,n)}}updateTitle(e){var{cause:t,title:r}=e;document.title=r,H(this.parent)||t!==S.Push||history.replaceState(history.state,r)}assignScrollPosition(e){var{histId:t}=this.parent;return Pe(Pe({},e),{},{[t]:Pe(Pe({},e[t]),{},{scrollTop:Object(q.j)(),scrollHeight:Object(q.i)()})})}}class ke{constructor(e){this.parent=e,"scrollRestoration"in history&&(history.scrollRestoration="manual")}manageScrollPosition(e){var{cause:t,url:{hash:r}}=e;switch(t){case S.Push:this.scrollHashIntoView(r,{behavior:"smooth",block:"start",inline:"nearest"});break;case S.Pop:this.restoreScrollPosition();break;case S.Init:this.restoreScrollPositionOnReload()}}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(q.j)()?this.restoreScrollPosition():location.hash&&requestAnimationFrame(()=>this.scrollHashIntoView(location.hash,!0))}}var Le=class extends(Object(q.b)(q.a,[ie])){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,le.set(this,Object(q.f)()),this.animPromise=Promise.resolve(null),this.fadePromise=Promise.resolve(null),he.set(this,new ke(this)),ue.set(this,new Ae(this)),pe.set(this,new B(this)),be.set(this,new ee(this)),Oe.set(this,new ge(this)),fe.set(this,new URL(this.baseURL)),je.set(this,(e,t)=>{var r=new URL(Object(c.c)(this,fe).href);r[e]=t,this.assign(r.href)}),de.set(this,0),me.set(this,new i.a),ve.set(this,void 0),ye.set(this,()=>{var{pushEvent$:e,hintEvent$:t}=this.setupEventListeners(),r=e.pipe(Object(O.a)(e=>{var[t,r]=e;return{cause:S.Push,url:new URL(r.href,this.href),anchor:r,event:t,cacheNr:Object(c.c)(this,de)}}),Object(f.a)(e=>function(e,t){var{url:r,anchor:c,event:{metaKey:n,ctrlKey:i}}=e;return!(n||i||!N(c)||H(r,t))}(e,this)),Object(j.a)(e=>{var{event:t}=e;t.preventDefault(),Object(c.c)(this,ue).updateHistoryScrollPosition()})),n=Object(o.a)(window,"popstate").pipe(Object(f.a)(()=>window.history.state&&window.history.state[this.histId]),Object(O.a)(e=>({cause:S.Pop,url:new URL(window.location.href),cacheNr:Object(c.c)(this,de),event:e}))),i=Object(c.c)(this,me),s=Object(a.a)(r,n,i).pipe(Object(d.a)({url:new URL(window.location.href)}),Object(m.a)(),Object(O.a)(e=>{var[t,r]=e;return Object.assign(r,{oldURL:t.url})}),Object(v.a)()),l=s.pipe(Object(f.a)(e=>!T(e)),Object(v.a)()),h=s.pipe(Object(f.a)(e=>T(e)),Object(f.a)(()=>history.state&&history.state[this.histId]),g(u),Object(j.a)(e=>{Object(c.c)(this,ue).updateHistoryState(e),Object(c.c)(this,he).manageScrollPosition(e)})),b=Object(p.a)(()=>Object(a.a)(l.pipe(Object(P.a)(!0)),Object(c.c)(this,ve).pipe(Object(P.a)(!1)))).pipe(Object(d.a)(!1)),y=t.pipe(Object(q.h)(b.pipe(Object(O.a)(e=>!e))),Object(O.a)(e=>{var[t,r]=e;return{cause:S.Hint,url:new URL(r.href,this.href),anchor:r,event:t,cacheNr:Object(c.c)(this,de)}}),Object(f.a)(e=>M(e,this))),w=Object(a.a)(y,l).pipe(Object(E.a)((e,t)=>{return c=t,(r=e).url.href===c.url.href&&r.error===c.error&&r.cacheNr===c.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,c}),Object(A.a)(e=>Object(c.c)(this,pe).fetchPage(e)),Object(d.a)({url:{}}),Object(v.a)()),D=Object(c.d)(this,ve,l.pipe(Object(j.a)(e=>{Object(c.c)(this,Oe).onStart(e),Object(c.c)(this,ue).updateHistoryState(e),Object(c.d)(this,fe,e.url)}),Object(k.a)(w),Object(A.a)(e=>Object(c.c)(this,pe).getResponse(w,...e)),Object(v.a)())),U=D.pipe(Object(f.a)(e=>!e.error)),C=D.pipe(Object(f.a)(e=>!!e.error)),I=U.pipe(Object(O.a)(e=>Object(c.c)(this,be).responseToContent(e)),Object(j.a)(e=>Object(c.c)(this,Oe).emitReady(e)),g(u),Object(j.a)(e=>{Object(c.c)(this,be).updateDOM(e),Object(c.c)(this,ue).updateTitle(e),Object(c.c)(this,Oe).emitAfter(e)}),Object(d.a)({cause:S.Init,url:Object(c.c)(this,fe),scripts:[]}),g(u),Object(j.a)(e=>Object(c.c)(this,he).manageScrollPosition(e)),Object(j.a)({error:e=>Object(c.c)(this,Oe).emitDOMError(e)}),Object(L.a)((e,t)=>t),Object(A.a)(e=>this.fadePromise.then(()=>e)),Object(A.a)(e=>Object(c.c)(this,be).reinsertScriptTags(e)),Object(j.a)({error:e=>Object(c.c)(this,Oe).emitError(e)}),Object(L.a)((e,t)=>t),Object(j.a)(e=>Object(c.c)(this,Oe).emitLoad(e))),W=C.pipe(Object(j.a)(e=>Object(c.c)(this,Oe).emitNetworkError(e))),x=l.pipe(Object(A.a)(e=>Object(p.a)(()=>this.animPromise).pipe(Object(R.a)(D),Object(P.a)(e))),Object(j.a)(e=>Object(c.c)(this,Oe).emitProgress(e)));I.subscribe(),h.subscribe(),W.subscribe(),x.subscribe(),Object(c.c)(this,le).resolve(this),this.fireEvent("init")})}createRenderRoot(){return this}get initialized(){return Object(c.c)(this,le)}get hash(){return Object(c.c)(this,fe).hash}get host(){return Object(c.c)(this,fe).host}get hostname(){return Object(c.c)(this,fe).hostname}get href(){return Object(c.c)(this,fe).href}get pathname(){return Object(c.c)(this,fe).pathname}get port(){return Object(c.c)(this,fe).port}get protocol(){return Object(c.c)(this,fe).protocol}get search(){return Object(c.c)(this,fe).search}get origin(){return Object(c.c)(this,fe).origin}get ancestorOrigins(){return window.location.ancestorOrigins}set hash(e){Object(c.c)(this,je).call(this,"hash",e)}set host(e){Object(c.c)(this,je).call(this,"host",e)}set hostname(e){Object(c.c)(this,je).call(this,"hostname",e)}set href(e){Object(c.c)(this,je).call(this,"href",e)}set pathname(e){Object(c.c)(this,je).call(this,"pathname",e)}set port(e){Object(c.c)(this,je).call(this,"port",e)}set protocol(e){Object(c.c)(this,je).call(this,"protocol",e)}set search(e){Object(c.c)(this,je).call(this,"search",e)}get histId(){return this.id||this.tagName}assign(e){Object(c.c)(this,me).next({cause:S.Push,url:new URL(e,this.href),cacheNr:Object(c.d)(this,de,+Object(c.c)(this,de)+1)})}reload(){Object(c.c)(this,me).next({cause:S.Push,url:new URL(this.href),cacheNr:Object(c.d)(this,de,+Object(c.c)(this,de)+1),replace:!0})}replace(e){Object(c.c)(this,me).next({cause:S.Push,url:new URL(e,this.href),cacheNr:Object(c.d)(this,de,+Object(c.c)(this,de)+1),replace:!0})}connectedCallback(){super.connectedCallback(),this.$={linkSelector:new b.a(this.linkSelector),prefetch:new b.a(this.prefetch)},window.addEventListener("beforeunload",Object(c.c)(this,ue).updateHistoryScrollPosition),this.updateComplete.then(Object(c.c)(this,ye))}disconnectedCallback(){window.removeEventListener("beforeunload",Object(c.c)(this,ue).updateHistoryScrollPosition)}};le=new WeakMap,he=new WeakMap,ue=new WeakMap,pe=new WeakMap,be=new WeakMap,Oe=new WeakMap,fe=new WeakMap,je=new WeakMap,de=new WeakMap,me=new WeakMap,ve=new WeakMap,ye=new WeakMap,Object(c.e)([Object(n.e)({type:String,reflect:!0,attribute:"replace-selector"})],Le.prototype,"replaceSelector",void 0),Object(c.e)([Object(n.e)({type:String,reflect:!0,attribute:"link-selector"})],Le.prototype,"linkSelector",void 0),Object(c.e)([Object(n.e)({type:String,reflect:!0,attribute:"script-selector"})],Le.prototype,"scriptSelector",void 0),Object(c.e)([Object(n.e)({type:Boolean,reflect:!0})],Le.prototype,"prefetch",void 0),Object(c.e)([Object(n.e)({type:Number,reflect:!0})],Le.prototype,"duration",void 0),Object(c.e)([Object(n.e)({type:Boolean,reflect:!0,attribute:"hashchange"})],Le.prototype,"simulateHashChange",void 0),Object(c.e)([Object(n.e)({type:String})],Le.prototype,"baseURL",void 0),Object(c.e)([Object(n.e)()],Le.prototype,"assign",null),Object(c.e)([Object(n.e)()],Le.prototype,"reload",null),Object(c.e)([Object(n.e)()],Le.prototype,"replace",null),Le=Object(c.e)([Object(n.c)("hy-push-state")],Le)},209:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var c=r(11),n=r(3),i=r(4);function o(e){return Object(i.b)((function(t,r){var i,a=null,s=!1;a=t.subscribe(new n.a(r,void 0,(function(n){i=Object(c.c)(e(n,o(e)(t))),a?(a.unsubscribe(),a=null,i.subscribe(r)):s=!0}))),s&&(a.unsubscribe(),a=null,i.subscribe(r))}))}},210:function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var c=r(1),n=r(2),i=r(11),o=r(170),a=r(171),s=r(3),l=r(27);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 n.a((function(e){var t=h.map((function(){return[]})),n=h.map((function(){return!1}));e.add((function(){t=n=null}));for(var o=function(o){Object(i.c)(h[o]).subscribe(new s.a(e,(function(i){if(t[o].push(i),t.every((function(e){return e.length}))){var a=t.map((function(e){return e.shift()}));e.next(r?r.apply(void 0,Object(c.i)(a)):a),t.some((function(e,t){return!e.length&&n[t]}))&&e.complete()}}),void 0,(function(){n[o]=!0,!t[o].length&&e.complete()})))},a=0;!e.closed&&a<h.length;a++)o(a);return function(){t=n=null}})):a.a}},211:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var c=r(25),n=r(11),i=r(4),o=r(3);function a(e,t){return t?function(r){return r.pipe(a((function(r,i){return Object(n.c)(e(r,i)).pipe(Object(c.a)((function(e,c){return t(r,e,i,c)})))})))}:Object(i.b)((function(t,r){var c=0,i=null,a=!1;t.subscribe(new o.a(r,(function(t){i||(i=new o.a(r,void 0,void 0,(function(){i=null,a&&r.complete()})),Object(n.c)(e(t,c++)).subscribe(i))}),void 0,(function(){a=!0,!i&&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.1 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[14],{169: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},195: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="undefined"!=typeof window&&window===this?this:void 0!==e&&null!=e?e:this;function s(e,t){return{index:e,s:[],v:t}}function a(e,t,n,r){var o=0,i=0,a=0,d=0,h=Math.min(t-o,r-i);if(0==o&&0==i)e:{for(a=0;a<h;a++)if(e[a]!==n[a])break e;a=h}if(t==e.length&&r==n.length){d=e.length;for(var u=n.length,c=0;c<h-a&&l(e[--d],n[--u]);)c++;d=c}if(i+=a,r-=d,0==(t-=d)-(o+=a)&&0==r-i)return[];if(o==t){for(t=s(o,0);i<r;)t.s.push(n[i++]);return[t]}if(i==r)return[s(o,t-o)];for(r=r-(a=i)+1,d=t-(h=o)+1,t=Array(r),u=0;u<r;u++)t[u]=Array(d),t[u][0]=u;for(u=0;u<d;u++)t[0][u]=u;for(u=1;u<r;u++)for(c=1;c<d;c++)if(e[h+c-1]===n[a+u-1])t[u][c]=t[u-1][c-1];else{var _=t[u-1][c]+1,p=t[u][c-1]+1;t[u][c]=_<p?_:p}for(h=t.length-1,a=t[0].length-1,r=t[h][a],e=[];0<h||0<a;)0==h?(e.push(2),a--):0==a?(e.push(3),h--):(d=t[h-1][a-1],(_=(u=t[h-1][a])<(c=t[h][a-1])?u<d?u:d:c<d?c:d)==d?(d==r?e.push(0):(e.push(1),r=d),h--,a--):_==u?(e.push(3),h--,r=u):(e.push(2),a--,r=c));for(e.reverse(),t=void 0,h=[],a=0;a<e.length;a++)switch(e[a]){case 0:t&&(h.push(t),t=void 0),o++,i++;break;case 1:t||(t=s(o,0)),t.v++,o++,t.s.push(n[i]),i++;break;case 2:t||(t=s(o,0)),t.v++,o++;break;case 3:t||(t=s(o,0)),t.s.push(n[i]),i++}return t&&h.push(t),h}function l(e,t){return e===t}function d(){}function h(e){return e.__shady||(e.__shady=new d),e.__shady}function u(e){return e&&e.__shady}d.prototype.toJSON=function(){return{}};var c=window.ShadyDOM||{};c.T=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var _=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function p(e){return(e=u(e))&&void 0!==e.firstChild}function f(e){return e instanceof ShadowRoot}function m(e){return(e=(e=u(e))&&e.root)&&Lt(e)}c.c=!!(_&&_.configurable&&_.get),c.F=c.force||!c.T,c.g=c.noPatch||!1,c.o=c.preferPerformance,c.G="on-demand"===c.g,c.L=navigator.userAgent.match("Trident");var y=Element.prototype,v=y.matches||y.matchesSelector||y.mozMatchesSelector||y.msMatchesSelector||y.oMatchesSelector||y.webkitMatchesSelector,g=document.createTextNode(""),S=0,N=[];function E(e){N.push(e),g.textContent=S++}new MutationObserver((function(){for(;N.length;)try{N.shift()()}catch(e){throw g.textContent=S++,e}})).observe(g,{characterData:!0});var b=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 C(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function w(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 T(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function O(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function x(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function P(e,t,n,r){for(var o in n=void 0===n?"":n,t)r&&0<=r.indexOf(o)||x(e,n+o,t[o])}function M(e,t){for(var n in t)n in e&&x(e,n,t[n])}function D(e){var t={};return Object.getOwnPropertyNames(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t}function A(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}function R(e){return e instanceof Node?e:document.createTextNode(""+e)}function L(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(1===t.length)return R(t[0]);n=document.createDocumentFragment();for(var o=(t=r(t)).next();!o.done;o=t.next())n.appendChild(R(o.value));return n}var I,F=[];function k(e){I||(I=!0,E(H)),F.push(e)}function H(){I=!1;for(var e=!!F.length;F.length;)F.shift()();return e}H.list=F;var j=D({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),B=D({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){return this.__shady_innerHTML=e}}),U=D({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(e){return this.__shady_className=e}});function q(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}q(j),q(B),q(U);var V,G=c.c||!0===c.g,W=G?function(){}:function(e){var t=h(e);t.N||(t.N=!0,M(e,U))},K=G?function(){}:function(e){var t=h(e);t.M||(t.M=!0,M(e,j),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!c.g||M(e,B))},X="__eventWrappers"+Date.now(),$=(V=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return V.get.call(e)}:null,z=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 Y(e){if(e&&"object"==typeof e)var t=!!e.capture,n=!!e.once,r=!!e.passive,o=e.i;else t=!!e,r=n=!1;return{K:o,capture:t,once:n,passive:r,J:z?e:t}}var J={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},Q={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function Z(e){return e instanceof Node?e.__shady_getRootNode():e}function ee(e,t){var n=[],r=e;for(e=Z(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 te(e,t){if(!f)return e;e=ee(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=Z(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!f(r)||-1<s)return n}function ne(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 re={focus:!0,blur:!0};function oe(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function ie(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!oe(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}function se(e){var t=e.composedPath(),n=t.map((function(e){return te(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,ie(e,s,"capture"),e.B)return}for(i=0;i<t.length;i++){var a=(s=t[i])===n[i];if((a||r)&&(o=a?Event.AT_TARGET:Event.BUBBLING_PHASE,ie(e,s,"bubble"),e.B))return}o=0,s=null}function ae(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 le(e){return H(),!c.o&&this instanceof Node&&!b(document,this)?(e.__target||ce(e,this),se(e)):this.__shady_native_dispatchEvent(e)}function de(e,t,n){var r=Y(n),o=r.capture,i=r.once,s=r.passive,a=r.K;if(r=r.J,t){var l=typeof t;if(("function"===l||"object"===l)&&("object"!==l||t.handleEvent&&"function"==typeof t.handleEvent)){if(Q[e])return this.__shady_native_addEventListener(e,t,r);var d=a||this;if(a=t[X]){if(-1<ae(a,d,e,o,i,s))return}else t[X]=[];a=function(r){if(i&&this.__shady_removeEventListener(e,t,n),r.__target||ce(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,(!f(d)&&"slot"!==d.localName||-1!=r.composedPath().indexOf(d))&&(r.composed||-1<r.composedPath().indexOf(d)))if(oe(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[X].push({node:d,type:e,capture:o,once:i,passive:s,V:a}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][o?"capture":"bubble"].push(a),re[e]||this.__shady_native_addEventListener(e,a,r)}}}function he(e,t,n){if(t){var r=Y(n);n=r.capture;var o=r.once,i=r.passive,s=r.K;if(r=r.J,Q[e])return this.__shady_native_removeEventListener(e,t,r);var a=s||this;s=void 0;var l=null;try{l=t[X]}catch(e){}l&&(-1<(o=ae(l,a,e,n,o,i))&&(s=l.splice(o,1)[0].V,l.length||(t[X]=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 ue=D({get composed(){return void 0===this.__composed&&($?this.__composed="focusin"===this.type||"focusout"===this.type||$(this):!1!==this.isTrusted&&(this.__composed=J[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=ee(this.__target,this.composed)),this.__composedPath},get target(){return te(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=ee(this.__relatedTarget,!0)),te(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.B=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.B=this.__immediatePropagationStopped=!0}});function ce(e,t){if(t=void 0===t?e.target:t,e.__target=t,e.__relatedTarget=e.relatedTarget,c.c){if(!(t=Object.getPrototypeOf(e)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,P(n,ue),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else P(e,ue)}var _e=ne(Event),pe=ne(CustomEvent),fe=ne(MouseEvent);var me=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),ye=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function ve(e){return{set:function(t){var n=h(this),r=e.substring(2);n.h||(n.h={}),n.h[e]&&this.removeEventListener(r,n.h[e]),this.__shady_addEventListener(r,t),n.h[e]=t},get:function(){var t=u(this);return t&&t.h&&t.h[e]},configurable:!0}}var ge=D({dispatchEvent:le,addEventListener:de,removeEventListener:he}),Se=window.document,Ne=c.o,Ee=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),be=Ee&&Ee.get;function Ce(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function we(e,t,n){if(e=(e=u(e))&&e.m){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=t.childNodes.length;r<o;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),function(e){e.a||(e.a=!0,E((function(){e.flush()})))}(e)}}var Te=D({get parentNode(){var e=u(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=u(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=u(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=u(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=u(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(p(this)){var e=u(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=u(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(be&&be.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(null===e||b(e,this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(f(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(p(this)){for(var e=[],t=this.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.__shady_textContent);return e.join("")}return this.__shady_native_textContent},set textContent(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!p(this)&&c.c){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&Ce(this),this.__shady_native_textContent=e}else Ce(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!==Se&&e.ownerDocument!==Se)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=u(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;we(this,e);var r=[],i=(n=Ht(this))?n.host.localName:He(this),s=e.__shady_parentNode;if(s){var a=He(e),l=!!n||!Ht(e)||Ne&&void 0!==this.__noInsertionPoint;s.__shady_removeChild(e,l)}s=!0;var d=(!Ne||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=Ie();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(r=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)r=r&&e(t,n);return r}return t.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(t)===n}(e,i),c=n&&!e.__noInsertionPoint&&(!Ne||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(c||d)&&(d&&(a=a||He(e)),je(e,(function(e){if(c&&"slot"===e.localName&&r.push(e),d){var t=a;Ie()&&(t&&ke(e,t),(t=Ie())&&t.scopeNode(e,i))}}))),r.length&&(Mt(n),n.f.push.apply(n.f,o(r)),wt(n)),p(this)&&(function(e,t,n){pt(t,2);var r=h(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)ft(e,t,r,n);else ft(e,t,r,n)}(e,this,t),(l=u(this)).root?(s=!1,m(this)&&wt(l.root)):n&&"slot"===this.localName&&(s=!1,wt(n))),s?(n=f(this)?this.host:this,t?(t=function e(t){var n=t;if(t&&"slot"===t.localName){var r=u(t);(r=r&&r.l)&&(n=r.length?r[0]:e(t.__shady_nextSibling))}return n}(t),n.__shady_native_insertBefore(e,t)):n.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!f(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==Se)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);we(this,null,e);var n=Ht(e),r=n&&function(e,t){if(e.a){Dt(e);var n,r=e.b;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var s=o[i];if(C(t,s)){o.splice(i,1);var a=e.a.indexOf(s);if(0<=a&&(e.a.splice(a,1),(a=u(s.__shady_parentNode))&&a.u&&a.u--),i--,s=u(s),a=s.l)for(var l=0;l<a.length;l++){var d=a[l],h=d.__shady_native_parentNode;h&&h.__shady_native_removeChild(d)}s.l=[],s.assignedNodes=[],a=!0}}return a}}(n,e),o=u(this);if(p(this)&&(function(e,t){var n=h(e);t=h(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(h(e).nextSibling=r),r&&(h(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),m(this))){wt(o.root);var i=!0}if(Ie()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=He(e);je(e,(function(e){ke(e,s)}))}return function e(t){var n=u(t);if(n&&void 0!==n.A)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=u(t))&&(t.A=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&wt(n)),i||(i=f(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=h(this),n=t.A;return void 0===n&&(f(this)?(n=this,t.A=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.A=n))),n}},contains:function(e){return C(this,e)}}),Oe=D({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&Tt(e),(e=u(this))&&e.assignedSlot||null}});function xe(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 Pe={get firstElementChild(){var e=u(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=u(this);if(e&&void 0!==e.lastChild){for(e=this.__shady_lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_lastElementChild},get children(){return p(this)?w(Array.prototype.filter.call(O(this),(function(e){return e.nodeType===Node.ELEMENT_NODE}))):this.__shady_native_children},get childElementCount(){var e=this.__shady_children;return e?e.length:0}},Me=D((Pe.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,o(t)),null)},Pe.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,o(t)),this.__shady_firstChild)},Pe.replaceChildren=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];for(;null!==(n=this.__shady_firstChild);)this.__shady_removeChild(n);this.__shady_insertBefore(L.apply(null,o(t)),null)},Pe)),De=D({querySelector:function(e){return xe(this,(function(t){return v.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 w(t.filter((function(e){return e.__shady_getRootNode()==n})))}return w(xe(this,(function(t){return v.call(t,e)})))}}),Ae=c.o&&!c.g?A({},Me):Me;A(Me,De);var Re=D({after:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_insertBefore(L.apply(null,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(L.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(L.apply(null,o(t)),r)}}}),Le=null;function Ie(){return Le||(Le=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Le||null}function Fe(e,t,n){var r=Ie();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function ke(e,t){var n=Ie();n&&n.unscopeNode(e,t)}function He(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=Ie();return t?t.currentScopeForNode(e):""}function je(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&&je(e,t)}var Be=window.document;function Ue(e,t){if("slot"===t)m(e=e.__shady_parentNode)&&wt(u(e).root);else if("slot"===e.localName&&"name"===t&&(t=Ht(e))){if(t.a){Dt(t);var n=e.O,r=At(e);if(r!==n){var o=(n=t.b[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.b[r]||(t.b[r]=[])).push(e),1<n.length&&(t.b[r]=Rt(n))}}wt(t)}}var qe=D({get previousElementSibling(){var e=u(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=u(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!==Be?this.__shady_native_setAttribute(e,t):Fe(this,e,t)||(this.__shady_native_setAttribute(e,t),Ue(this,e))},removeAttribute:function(e){this.ownerDocument!==Be?this.__shady_native_removeAttribute(e):Fe(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),Ue(this,e))}});c.o||me.forEach((function(e){qe[e]=ve(e)}));var Ve=D({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!c.L){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,Ct(t,this,e),mt(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;Mt(n),n.f.push.apply(n.f,o(e)),wt(t)}t.host.__shady_native_appendChild(t)}else t=new bt(St,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=u(this);return e&&e.U||null}});A(qe,Ve);var Ge=/[&\u00A0"]/g,We=/[&\u00A0<>]/g;function Ke(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function Xe(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var $e=Xe("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),ze=Xe("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Ye(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(Ge,Ke)+'"';u+=">",a=$e[l]?u:u+Ye(a,d)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&ze[l.localName]?a:a.replace(We,Ke);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 Je=document.implementation.createHTMLDocument("inert"),Qe=D({get innerHTML(){return p(this)?Ye("template"===this.localName?this.content:this,O):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{Ce(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==Je.namespaceURI?Je.createElementNS(this.namespaceURI,t):Je.createElement(t),c.c?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),Ze=D({blur:function(){var e=u(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});c.o||ye.forEach((function(e){Ze[e]=ve(e)}));var et=D({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&f(t)&&Tt(t),(t=u(this))&&(e&&e.flatten?t.l:t.assignedNodes)||[]}},addEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)de.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.i=this,r.__shady_addEventListener(e,t,n)}},removeEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)he.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.i=this,r.__shady_removeEventListener(e,t,n)}}}),tt=D({getElementById:function(e){return""===e?null:xe(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}}),nt=D({get activeElement(){var e=c.c?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!f(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=Ht(e);t&&t!==this;)t=Ht(e=t.host);return this===document?t?null:e:t===this?e:null}}),rt=window.document,ot=D({importNode:function(e,t){if(e.ownerDocument!==rt||"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}}),it=D({dispatchEvent:le,addEventListener:de.bind(window),removeEventListener:he.bind(window)}),st={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(st.parentElement=Te.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(st.contains=Te.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(st.children=Me.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(st.innerHTML=Qe.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(st.className=qe.className);var at={EventTarget:[ge],Node:[Te,window.EventTarget?null:ge],Text:[Oe],Comment:[Oe],CDATASection:[Oe],ProcessingInstruction:[Oe],Element:[qe,Me,Re,Oe,!c.c||"innerHTML"in Element.prototype?Qe:null,window.HTMLSlotElement?null:et],HTMLElement:[Ze,st],HTMLSlotElement:[et],DocumentFragment:[Ae,tt],Document:[ot,Ae,tt,nt],Window:[it],CharacterData:[Re]},lt=c.c?null:["innerHTML","textContent"];function dt(e,t,n,r){t.forEach((function(t){return e&&t&&P(e,t,n,r)}))}function ht(e){var t,n=e?null:lt;for(t in at)dt(window[t]&&window[t].prototype,at[t],e,n)}function ut(e){return e.__shady_protoIsPatched=!0,dt(e,at.EventTarget),dt(e,at.Node),dt(e,at.Element),dt(e,at.HTMLElement),dt(e,at.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,dt(n,at.EventTarget),dt(n,at.Node),at[e]&&dt(n,at[e]),t.prototype.__shady_patchedProto=n}));var ct=c.G,_t=c.c;function pt(e,t){if(ct&&!e.__shady_protoIsPatched&&!f(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(ut(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}_t||(1===t?W(e):2===t&&K(e))}function ft(e,t,n,r){pt(e,1),r=r||null;var o=h(e),i=r?h(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=u(o.previousSibling))&&(i.nextSibling=e),(i=u(o.nextSibling=r))&&(i.previousSibling=e),o.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function mt(e,t){var n=h(e);if(t||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,pt(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=h(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,pt(n,1)}}}var yt=D({addEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.i=n.i||this,this.host.__shady_addEventListener(e,t,n)},removeEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.i=n.i||this,this.host.__shady_removeEventListener(e,t,n)}});function vt(e,t){P(e,yt,t),P(e,nt,t),P(e,Qe,t),P(e,Me,t),c.g&&!t?(P(e,Te,t),P(e,tt,t)):c.c||(P(e,U),P(e,j),P(e,B))}var gt,St={},Nt=c.deferConnectionCallbacks&&"loading"===document.readyState;function Et(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function bt(e,t,n){if(e!==St)throw new TypeError("Illegal constructor");this.a=null,Ct(this,t,n)}function Ct(e,t,n){if(e.host=t,e.mode=n&&n.mode,mt(e.host),(t=h(e.host)).root=e,t.U="closed"!==e.mode?e:null,(t=h(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,c.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else wt(e)}function wt(e){e.j||(e.j=!0,k((function(){return Tt(e)})))}function Tt(e){var t;if(t=e.j){for(var n;e;)e.j&&(n=e),f(e=(t=e).host.__shady_getRootNode())&&(t=u(t.host))&&0<t.u||(e=void 0);t=n}(n=t)&&n._renderSelf()}function Ot(e,t,n){var r=h(t),o=r.C;r.C=null,n||(n=(e=e.b[t.__shady_slot||"__catchall"])&&e[0]),n?(h(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(h(r.assignedSlot).D=!0)}function xt(e,t,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=u(o).assignedNodes;i&&i.length&&xt(e,t,i)}else t.push(n[r])}function Pt(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=u(t)).assignedSlot&&Pt(e,t.assignedSlot)}function Mt(e){e.f=e.f||[],e.a=e.a||[],e.b=e.b||{}}function Dt(e){if(e.f&&e.f.length){for(var t,n=e.f,r=0;r<n.length;r++){var o=n[r];mt(o);var i=o.__shady_parentNode;mt(i),(i=u(i)).u=(i.u||0)+1,i=At(o),e.b[i]?((t=t||{})[i]=!0,e.b[i].push(o)):e.b[i]=[o],e.a.push(o)}if(t)for(var s in t)e.b[s]=Rt(e.b[s]);e.f=[]}}function At(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.O=t}function Rt(e){return e.sort((function(e,t){e=Et(e);for(var n=Et(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=O(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}}))}function Lt(e){return Dt(e),!(!e.a||!e.a.length)}if(bt.prototype._renderSelf=function(){var e=Nt;if(Nt=!0,this.j=!1,this.a){Dt(this);for(var t,n=0;n<this.a.length;n++){var r=u(t=this.a[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.l=[],r.I=o)for(r=0;r<o.length;r++){var i=u(o[r]);i.C=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)Ot(this,n);for(n=0;n<this.a.length;n++){if(!(o=u(t=this.a[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)Ot(this,r,t);if((r=(r=u(t.__shady_parentNode))&&r.root)&&(Lt(r)||r.j)&&r._renderSelf(),xt(this,o.l,o.assignedNodes),r=o.I){for(i=0;i<r.length;i++)u(r[i]).C=null;o.I=null,r.length>o.assignedNodes.length&&(o.D=!0)}o.D&&(o.D=!1,Pt(this,t))}for(t=this.a,n=[],o=0;o<t.length;o++)(i=u(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=u(i).l,l=0;l<s.length;l++)r.push(s[l]);else r.push(i);i=T(o),s=a(r,r.length,i,i.length);for(var d=l=0,h=void 0;l<s.length&&(h=s[l]);l++){for(var _=0,p=void 0;_<h.s.length&&(p=h.s[_]);_++)p.__shady_native_parentNode===o&&o.__shady_native_removeChild(p),i.splice(h.index+d,1);d-=h.v}for(d=0,h=void 0;d<s.length&&(h=s[d]);d++)for(l=i[h.index],_=h.index;_<h.index+h.v;_++)p=r[_],o.__shady_native_insertBefore(p,l),i.splice(_,0,p)}}if(!c.preferPerformance&&!this.H)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=u(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.H=!0,Nt=e,gt&&gt()},function(e){e.__proto__=DocumentFragment.prototype,vt(e,"__shady_"),vt(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})}))}(bt.prototype),window.customElements&&window.customElements.define&&c.F&&!c.preferPerformance){var It=new Map;gt=function(){var e=[];It.forEach((function(t,n){e.push([n,t])})),It.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},Nt&&document.addEventListener("readystatechange",(function(){Nt=!1,gt()}),{once:!0});var Ft=window.customElements.define,kt=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Ft.call(window.customElements,e,function(e,t,n){var r=0,o="__isConnected"+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){Nt?It.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){Nt?this.isConnected||It.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),e}(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r};window.customElements.define=kt,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:kt,configurable:!0})}function Ht(e){if(f(e=e.__shady_getRootNode()))return e}function jt(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.w=new Set}jt.prototype.flush=function(){if(this.a){this.a=!1;var e=this.takeRecords();e.length&&this.w.forEach((function(t){t(e)}))}},jt.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 Bt=c.c,Ut={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},qt={};function Vt(e){qt[e]=function(t){return t["__shady_native_"+e]}}function Gt(e,t){for(var n in P(e,t,"__shady_native_"),t)Vt(n)}function Wt(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?Ut[r]||(Ut[r]=o.value):Vt(r))}}var Kt=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Xt=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),$t=document.implementation.createHTMLDocument("inert");function zt(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var Yt=["firstElementChild","lastElementChild","children","childElementCount"],Jt=["querySelector","querySelectorAll","append","prepend","replaceChildren"];function Qt(e){this.node=e}function Zt(e){Object.defineProperty(Qt.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(t=Qt.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.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(Qt.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(f(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(f(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){return this.node.__shady_className=e}}}),me.forEach((function(e){return Zt(e)})),ye.forEach((function(e){return Zt(e)}));var en=new WeakMap;function tn(e){if(f(e)||e instanceof Qt)return e;var t=en.get(e);return t||(t=new Qt(e),en.set(e,t)),t}if(c.F){var nn=c.c?function(e){return e}:function(e){return K(e),W(e),e};window.ShadyDOM={inUse:c.F,patch:nn,isShadyRoot:f,enqueue:k,flush:H,flushInitial:function(e){!e.H&&e.j&&Tt(e)},settings:c,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=h(e);n.m||(n.m=new jt),n.m.w.add(t);var r=n.m;return{P:t,S:r,R:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.S;t&&(t.w.delete(e.P),t.w.size||(h(e.R).m=null))},deferConnectionCallbacks:c.deferConnectionCallbacks,preferPerformance:c.preferPerformance,handlesDynamicScoping:!0,wrap:c.g?tn:nn,wrapIfNeeded:!0===c.g?tn:function(e){return e},Wrapper:Qt,composedPath:function(e){return e.__composedPath||(e.__composedPath=ee(e.target,!0)),e.__composedPath},noPatch:c.g,patchOnDemand:c.G,nativeMethods:Ut,nativeTree:qt,patchElementProto:ut},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?Wt(window.EventTarget.prototype,e):(Wt(Node.prototype,e),Wt(Window.prototype,e)),Bt?Wt(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Gt(Node.prototype,{parentNode:{get:function(){return Kt.currentNode=this,Kt.parentNode()}},firstChild:{get:function(){return Kt.currentNode=this,Kt.firstChild()}},lastChild:{get:function(){return Kt.currentNode=this,Kt.lastChild()}},previousSibling:{get:function(){return Kt.currentNode=this,Kt.previousSibling()}},nextSibling:{get:function(){return Kt.currentNode=this,Kt.nextSibling()}},childNodes:{get:function(){var e=[];Kt.currentNode=this;for(var t=Kt.firstChild();t;)e.push(t),t=Kt.nextSibling();return e}},parentElement:{get:function(){return Xt.currentNode=this,Xt.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:zt(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),Wt(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),Wt(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return Xt.currentNode=this,Xt.firstChild()}},lastElementChild:{get:function(){return Xt.currentNode=this,Xt.lastChild()}},children:{get:function(){var e=[];Xt.currentNode=this;for(var t=Xt.firstChild();t;)e.push(t),t=Xt.nextSibling();return w(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},Bt?(Wt(Element.prototype,Yt),Wt(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),Wt(HTMLElement.prototype,["children","innerHTML","className"])):(Gt(Element.prototype,e),Gt(Element.prototype,{previousElementSibling:{get:function(){return Xt.currentNode=this,Xt.previousSibling()}},nextElementSibling:{get:function(){return Xt.currentNode=this,Xt.nextSibling()}},innerHTML:{get:function(){return Ye(this,T)},set:function(e){var t="template"===this.localName?this.content:this;zt(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==$t.namespaceURI?$t.createElementNS(this.namespaceURI,n):$t.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)}}})),Wt(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),Wt(Element.prototype,Jt),Wt(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&Wt(window.HTMLTemplateElement.prototype,["innerHTML"]),Bt?Wt(DocumentFragment.prototype,Yt):Gt(DocumentFragment.prototype,e),Wt(DocumentFragment.prototype,Jt),Bt?(Wt(Document.prototype,Yt),Wt(Document.prototype,["activeElement"])):Gt(Document.prototype,e),Wt(Document.prototype,["importNode","getElementById"]),Wt(Document.prototype,Jt)}(),ht("__shady_"),Object.defineProperty(document,"_activeElement",nt.activeElement),P(Window.prototype,it,"__shady_"),c.g?c.G&&P(Element.prototype,Ve):(ht(),function(){if(!$&&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 re)window.__shady_native_addEventListener(e,(function(e){e.__target||(ce(e),se(e))}),!0)}(),window.Event=_e,window.CustomEvent=pe,window.MouseEvent=fe,window.ShadowRoot=bt}}).call(this)}).call(this,n(169))},199: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&&R(e,t),function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";if(t.cssText||t.rules){var a=t.rules;if(a&&!i(a))for(var l,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 A(e){return Boolean(e.parent)&&e.parent.type===h.KEYFRAMES_RULE}function R(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++)R(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 k(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 H(e,t){y?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}var j=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=k(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=",",$=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,z=/[[.:#*]/,Y=":host",J=":root",Q="::slotted",Z=new RegExp("^(".concat(Q,")")),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)H(e,r.replace("style-scope","").replace(t,""))}else H(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(!A(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=k(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(Z,"".concat(Y," $1"))).replace($,(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(Q);e.indexOf(Y)>=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(z)?e.replace(ee,(function(e,n,r){return t+r})):r.split(z)[0]===t?r:se:e.replace(Y,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(Y)?"":e.match(Q)?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;R(e,(function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)}),(function(e){r.push(e)})),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}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=k(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 R(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 R(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||A(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)&&H(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=j(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",Ae=Promise.resolve();function Re(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,Ae.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 ke,He=null,je=window.HTMLImports&&window.HTMLImports.whenReady||null;function Be(e){requestAnimationFrame((function(){je?je(e):(He||(He=new Promise(e=>{ke=e}),"complete"===document.readyState?ke():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&ke()})),He.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=Re,!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=j(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=j(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=>j(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);R(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=j(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)}H(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 $e,ze,Ye=new Xe;window.ShadyCSS&&($e=window.ShadyCSS.ApplyShim,ze=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:Ye,prepareTemplate(e,t,n){Ye.flushCustomStyles(),Ye.prepareTemplate(e,t,n)},prepareTemplateDom(e,t){Ye.prepareTemplateDom(e,t)},prepareTemplateStyles(e,t,n){Ye.flushCustomStyles(),Ye.prepareTemplateStyles(e,t,n)},styleSubtree(e,t){Ye.flushCustomStyles(),Ye.styleSubtree(e,t)},styleElement(e){Ye.flushCustomStyles(),Ye.styleElement(e)},styleDocument(e){Ye.flushCustomStyles(),Ye.styleDocument(e)},flushCustomStyles(){Ye.flushCustomStyles()},getComputedStyleValue:(e,t)=>Ye.getComputedStyleValue(e,t),nativeCss:S,nativeShadow:y,cssBuild:d,disableRuntime:g},$e&&(window.ShadyCSS.ApplyShim=$e),ze&&(window.ShadyCSS.CustomStyleInterface=ze)}}]);