Socket
Socket
Sign inDemoInstall

@webcomponents/webcomponentsjs

Package Overview
Dependencies
Maintainers
3
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webcomponents/webcomponentsjs - npm Package Compare versions

Comparing version 1.0.20 to 1.0.21

12

package.json
{
"name": "@webcomponents/webcomponentsjs",
"version": "1.0.20",
"version": "1.0.21",
"description": "Web Components Polyfills",

@@ -31,6 +31,6 @@ "main": "webcomponents-lite.js",

"@webcomponents/custom-elements": "^1.0.6",
"@webcomponents/html-imports": "^1.0.3",
"@webcomponents/html-imports": "^1.1.0",
"@webcomponents/shadycss": "^1.1.0",
"@webcomponents/shadydom": "^1.0.9",
"@webcomponents/template": "^1.2.0",
"@webcomponents/shadydom": "^1.0.11",
"@webcomponents/template": "^1.2.1",
"@webcomponents/webcomponents-platform": "^1.0.0",

@@ -40,4 +40,4 @@ "babel-preset-minify": "^0.2.0",

"es6-promise": "^4.1.1",
"eslint": "^4.12.0",
"google-closure-compiler": "^20171112.0.0",
"eslint": "^4.13.1",
"google-closure-compiler": "^20171203.0.0",
"gulp": "^3.8.8",

@@ -44,0 +44,0 @@ "gulp-add-src": "^0.2.0",

@@ -11,40 +11,42 @@ (function(){/*

'use strict';(function(a){function b(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var d=document.createEvent("CustomEvent");d.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return d}function c(a){if(n)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;if(!b&&a.parentNode){b=a.parentNode;if("function"===typeof b.closest)b=b.closest("link[rel=import]");else for(;!k(b)&&(b=b.parentNode););a.__importDoc=b}return b}function d(a){var b=document.querySelectorAll("link[rel=import]:not([import-dependency])"),
d=b.length;d?h(b,function(b){return l(b,function(){0===--d&&a()})}):a()}function e(a){function b(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",b),a())}document.addEventListener("readystatechange",b);b()}function f(a){e(function(){return d(function(){return a&&a()})})}function l(a,b){if(a.__loaded)b&&b();else if("script"===a.localName&&!a.src||"style"===a.localName&&!a.firstChild)a.__loaded=!0,b&&b();else{var d=function(c){a.removeEventListener(c.type,
d);a.__loaded=!0;b&&b()};a.addEventListener("load",d);H&&"style"===a.localName||a.addEventListener("error",d)}}function k(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function g(){var a=this;this.a={};this.b=0;this.g=new MutationObserver(function(b){return a.L(b)});this.g.observe(document.head,{childList:!0,subtree:!0});this.c(document)}function h(a,b,d){var c=a?a.length:0,e=d?-1:1;for(d=d?c-1:0;d<c&&0<=d;d+=e)b(a[d],d)}var n="import"in document.createElement("link"),
I=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return I||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var ua=/(url\()([^)]*)(\))/g,va=/(@import[\s]+(?!url\())([^;]*)(;)/g,wa=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,r={J:function(a,b){a.href&&a.setAttribute("href",r.j(a.getAttribute("href"),b));a.src&&a.setAttribute("src",r.j(a.getAttribute("src"),b));if("style"===a.localName){var d=
r.D(a.textContent,b,ua);a.textContent=r.D(d,b,va)}},D:function(a,b,d){return a.replace(d,function(a,d,c,e){a=c.replace(/["']/g,"");b&&(a=r.j(a,b));return d+"'"+a+"'"+e})},j:function(a,b){if(void 0===r.l){r.l=!1;try{var d=new URL("b","http://a");d.pathname="c%20d";r.l="http://a/c%20d"===d.href}catch(Qa){}}if(r.l)return(new URL(a,b)).href;d=r.G;d||(d=document.implementation.createHTMLDocument("temp"),r.G=d,d.w=d.createElement("base"),d.head.appendChild(d.w),d.v=d.createElement("a"));d.w.href=b;d.v.href=
a;return d.v.href||a}},U={async:!0,load:function(a,b,d){if(a)if(a.match(/^data:/)){a=a.split(",");var c=a[1];c=-1<a[0].indexOf(";base64")?atob(c):decodeURIComponent(c);b(c)}else{var e=new XMLHttpRequest;e.open("GET",a,U.async);e.onload=function(){var a=e.responseURL||e.getResponseHeader("Location");a&&0===a.indexOf("/")&&(a=(location.origin||location.protocol+"//"+location.host)+a);var c=e.response||e.responseText;304===e.status||0===e.status||200<=e.status&&300>e.status?b(c,a):d(c)};e.send()}else d("error: href must be specified")}},
H=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);g.prototype.c=function(a){var b=this;h(a.querySelectorAll("link[rel=import]"),function(a){return b.B(a)})};g.prototype.B=function(a){var b=this,d=a.href;if(void 0!==this.a[d]){var c=this.a[d];c&&c.__loaded&&(a.import=c,this.A(a))}else this.b++,this.a[d]="pending",U.load(d,function(a,c){a=b.M(a,c||d);b.a[d]=a;b.b--;b.c(a);b.C()},function(){b.a[d]=null;b.b--;b.C()})};g.prototype.M=function(a,b){if(!a)return document.createDocumentFragment();
H&&(a=a.replace(wa,function(a,b,d){return-1===a.indexOf("type=")?b+" type=import-disable "+d:a}));var d=document.createElement("template");d.innerHTML=a;if(d.content)a=d.content;else for(a=document.createDocumentFragment();d.firstChild;)a.appendChild(d.firstChild);if(d=a.querySelector("base"))b=r.j(d.getAttribute("href"),b),d.removeAttribute("href");var c=0;h(a.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]'),
function(a){l(a);r.J(a,b);a.setAttribute("import-dependency","");"script"===a.localName&&!a.src&&a.textContent&&(a.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(a.textContent+("\n//# sourceURL="+b+(c?"-"+c:"")+".js\n"))),a.textContent="",c++)});return a};g.prototype.C=function(){var a=this;if(!this.b){this.g.disconnect();this.flatten(document);var b=!1,d=!1,c=function(){d&&b&&(a.c(document),a.b||(a.g.observe(document.head,{childList:!0,subtree:!0}),a.K()))};this.P(function(){d=
!0;c()});this.N(function(){b=!0;c()})}};g.prototype.flatten=function(a){var b=this;h(a.querySelectorAll("link[rel=import]"),function(a){var d=b.a[a.href];(a.import=d)&&d.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(b.a[a.href]=a,a.readyState="loading",a.import=a,b.flatten(d),a.appendChild(d))})};g.prototype.N=function(a){function b(e){if(e<c){var f=d[e],k=document.createElement("script");f.removeAttribute("import-dependency");h(f.attributes,function(a){return k.setAttribute(a.name,a.value)});I=k;f.parentNode.replaceChild(k,
f);l(k,function(){I=null;b(e+1)})}else a()}var d=document.querySelectorAll("script[import-dependency]"),c=d.length;b(0)};g.prototype.P=function(a){var b=document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),d=b.length;if(d){var e=H&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");h(b,function(b){l(b,function(){b.removeAttribute("import-dependency");0===--d&&a()});if(e&&b.parentNode!==document.head){var f=document.createElement(b.localName);
f.__appliedElement=b;f.setAttribute("type","import-placeholder");b.parentNode.insertBefore(f,b.nextSibling);for(f=c(b);f&&c(f);)f=c(f);f.parentNode!==document.head&&(f=null);document.head.insertBefore(b,f);b.removeAttribute("type")}})}else a()};g.prototype.K=function(){var a=this;h(document.querySelectorAll("link[rel=import]"),function(b){return a.A(b)},!0)};g.prototype.A=function(a){a.__loaded||(a.__loaded=!0,a.import&&(a.import.readyState="complete"),a.dispatchEvent(b(a.import?"load":"error",{bubbles:!1,
cancelable:!1,detail:void 0})))};g.prototype.L=function(a){var b=this;h(a,function(a){return h(a.addedNodes,function(a){a&&a.nodeType===Node.ELEMENT_NODE&&(k(a)?b.B(a):b.c(a))})})};if(n){h(document.querySelectorAll("link[rel=import]"),function(a){a.import&&"loading"===a.import.readyState||(a.__loaded=!0)});var V=function(a){a=a.target;k(a)&&(a.__loaded=!0)};document.addEventListener("load",V,!0);document.addEventListener("error",V,!0)}else{var z=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");
Object.defineProperty((!z||z.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=k(this)?this:c(this);return a?a.href:z&&z.get?z.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});e(function(){return new g})}f(function(){return document.dispatchEvent(b("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))});a.useNative=n;a.whenReady=f;a.importForElement=c})(window.HTMLImports=window.HTMLImports||{});var aa=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function m(a){var b=aa.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function p(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||a instanceof Document))}
d=b.length;d?g(b,function(b){return l(b,function(){0===--d&&a()})}):a()}function e(a){function b(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",b),a())}document.addEventListener("readystatechange",b);b()}function f(a){e(function(){return d(function(){return a&&a()})})}function l(a,b){if(a.__loaded)b&&b();else if("script"===a.localName&&!a.src||"style"===a.localName&&!a.firstChild)a.__loaded=!0,b&&b();else{var d=function(c){a.removeEventListener(c.type,
d);a.__loaded=!0;b&&b()};a.addEventListener("load",d);H&&"style"===a.localName||a.addEventListener("error",d)}}function k(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function h(){var a=this;this.a={};this.b=0;this.c=new MutationObserver(function(b){return a.K(b)});this.c.observe(document.head,{childList:!0,subtree:!0});this.loadImports(document)}function g(a,b,d){var c=a?a.length:0,e=d?-1:1;for(d=d?c-1:0;d<c&&0<=d;d+=e)b(a[d],d)}var n="import"in document.createElement("link"),
I=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return I||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var ua=/(url\()([^)]*)(\))/g,va=/(@import[\s]+(?!url\())([^;]*)(;)/g,wa=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,r={I:function(a,b){a.href&&a.setAttribute("href",r.j(a.getAttribute("href"),b));a.src&&a.setAttribute("src",r.j(a.getAttribute("src"),b));if("style"===a.localName){var d=
r.C(a.textContent,b,ua);a.textContent=r.C(d,b,va)}},C:function(a,b,d){return a.replace(d,function(a,d,c,e){a=c.replace(/["']/g,"");b&&(a=r.j(a,b));return d+"'"+a+"'"+e})},j:function(a,b){if(void 0===r.l){r.l=!1;try{var d=new URL("b","http://a");d.pathname="c%20d";r.l="http://a/c%20d"===d.href}catch(Qa){}}if(r.l)return(new URL(a,b)).href;d=r.F;d||(d=document.implementation.createHTMLDocument("temp"),r.F=d,d.w=d.createElement("base"),d.head.appendChild(d.w),d.v=d.createElement("a"));d.w.href=b;d.v.href=
a;return d.v.href||a}},W={async:!0,load:function(a,b,d){if(a)if(a.match(/^data:/)){a=a.split(",");var c=a[1];c=-1<a[0].indexOf(";base64")?atob(c):decodeURIComponent(c);b(c)}else{var e=new XMLHttpRequest;e.open("GET",a,W.async);e.onload=function(){var a=e.responseURL||e.getResponseHeader("Location");a&&0===a.indexOf("/")&&(a=(location.origin||location.protocol+"//"+location.host)+a);var c=e.response||e.responseText;304===e.status||0===e.status||200<=e.status&&300>e.status?b(c,a):d(c)};e.send()}else d("error: href must be specified")}},
H=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);h.prototype.loadImports=function(a){var b=this;g(a.querySelectorAll("link[rel=import]"),function(a){return b.A(a)})};h.prototype.A=function(a){var b=this,d=a.href;if(void 0!==this.a[d]){var c=this.a[d];c&&c.__loaded&&(a.__import=c,this.g(a))}else this.b++,this.a[d]="pending",W.load(d,function(a,c){a=b.L(a,c||d);b.a[d]=a;b.b--;b.loadImports(a);b.B()},function(){b.a[d]=null;b.b--;b.B()})};h.prototype.L=function(a,b){if(!a)return document.createDocumentFragment();
H&&(a=a.replace(wa,function(a,b,d){return-1===a.indexOf("type=")?b+" type=import-disable "+d:a}));var d=document.createElement("template");d.innerHTML=a;if(d.content){a=d.content;var c=function(a){g(a.querySelectorAll("template"),function(a){g(a.content.querySelectorAll('script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),function(a){var b=document.createElement("script");g(a.attributes,function(a){return b.setAttribute(a.name,a.value)});b.textContent=a.textContent;
a.parentNode.insertBefore(b,a);a.parentNode.removeChild(a)});c(a.content)})};c(a)}else for(a=document.createDocumentFragment();d.firstChild;)a.appendChild(d.firstChild);if(d=a.querySelector("base"))b=r.j(d.getAttribute("href"),b),d.removeAttribute("href");var e=0;g(a.querySelectorAll('link[rel=import],link[rel=stylesheet][href][type=import-disable],style:not([type]),link[rel=stylesheet][href]:not([type]),script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),function(a){l(a);
r.I(a,b);a.setAttribute("import-dependency","");"script"===a.localName&&!a.src&&a.textContent&&(a.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(a.textContent+("\n//# sourceURL="+b+(e?"-"+e:"")+".js\n"))),a.textContent="",e++)});return a};h.prototype.B=function(){var a=this;if(!this.b){this.c.disconnect();this.flatten(document);var b=!1,d=!1,c=function(){d&&b&&(a.loadImports(document),a.b||(a.c.observe(document.head,{childList:!0,subtree:!0}),a.J()))};this.N(function(){d=
!0;c()});this.M(function(){b=!0;c()})}};h.prototype.flatten=function(a){var b=this;g(a.querySelectorAll("link[rel=import]"),function(a){var d=b.a[a.href];(a.__import=d)&&d.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(b.a[a.href]=a,a.readyState="loading",a.__import=a,b.flatten(d),a.appendChild(d))})};h.prototype.M=function(a){function b(e){if(e<c){var f=d[e],k=document.createElement("script");f.removeAttribute("import-dependency");g(f.attributes,function(a){return k.setAttribute(a.name,a.value)});I=k;
f.parentNode.replaceChild(k,f);l(k,function(){I=null;b(e+1)})}else a()}var d=document.querySelectorAll("script[import-dependency]"),c=d.length;b(0)};h.prototype.N=function(a){var b=document.querySelectorAll("style[import-dependency],link[rel=stylesheet][import-dependency]"),d=b.length;if(d){var e=H&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");g(b,function(b){l(b,function(){b.removeAttribute("import-dependency");0===--d&&a()});if(e&&b.parentNode!==document.head){var f=
document.createElement(b.localName);f.__appliedElement=b;f.setAttribute("type","import-placeholder");b.parentNode.insertBefore(f,b.nextSibling);for(f=c(b);f&&c(f);)f=c(f);f.parentNode!==document.head&&(f=null);document.head.insertBefore(b,f);b.removeAttribute("type")}})}else a()};h.prototype.J=function(){var a=this;g(document.querySelectorAll("link[rel=import]"),function(b){return a.g(b)},!0)};h.prototype.g=function(a){a.__loaded||(a.__loaded=!0,a.import&&(a.import.readyState="complete"),a.dispatchEvent(b(a.import?
"load":"error",{bubbles:!1,cancelable:!1,detail:void 0})))};h.prototype.K=function(a){var b=this;g(a,function(a){return g(a.addedNodes,function(a){a&&a.nodeType===Node.ELEMENT_NODE&&(k(a)?b.A(a):b.loadImports(a))})})};var J=null;if(n){g(document.querySelectorAll("link[rel=import]"),function(a){a.import&&"loading"===a.import.readyState||(a.__loaded=!0)});var X=function(a){a=a.target;k(a)&&(a.__loaded=!0)};document.addEventListener("load",X,!0);document.addEventListener("error",X,!0)}else{var z=Object.getOwnPropertyDescriptor(Node.prototype,
"baseURI");Object.defineProperty((!z||z.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=k(this)?this:c(this);return a?a.href:z&&z.get?z.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});Object.defineProperty(HTMLLinkElement.prototype,"import",{get:function(){return this.__import||null},configurable:!0,enumerable:!0});e(function(){J=new h})}f(function(){return document.dispatchEvent(b("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,
detail:void 0}))});a.useNative=n;a.whenReady=f;a.importForElement=c;a.loadImports=function(a){J&&J.loadImports(a)}})(window.HTMLImports=window.HTMLImports||{});var aa=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function m(a){var b=aa.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function p(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||a instanceof Document))}
function q(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}
function t(a,b,c){c=void 0===c?new Set:c;for(var d=a;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)t(d,b,c);d=q(a,e);continue}else if("template"===f){d=q(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)t(e,b,c)}d=d.firstChild?d.firstChild:q(a,d)}}function u(a,b,c){a[b]=c};function v(){this.a=new Map;this.g=new Map;this.c=[];this.b=!1}function ba(a,b,c){a.a.set(b,c);a.g.set(c.constructor,c)}function w(a,b){a.b=!0;a.c.push(b)}function x(a,b){a.b&&t(b,function(b){return y(a,b)})}function y(a,b){if(a.b&&!b.__CE_patched){b.__CE_patched=!0;for(var c=0;c<a.c.length;c++)a.c[c](b)}}function A(a,b){var c=[];t(b,function(a){return c.push(a)});for(b=0;b<c.length;b++){var d=c[b];1===d.__CE_state?a.connectedCallback(d):B(a,d)}}
function C(a,b){var c=[];t(b,function(a){return c.push(a)});for(b=0;b<c.length;b++){var d=c[b];1===d.__CE_state&&a.disconnectedCallback(d)}}
function D(a,b,c){c=void 0===c?{}:c;var d=c.R||new Set,e=c.F||function(b){return B(a,b)},f=[];t(b,function(b){if("link"===b.localName&&"import"===b.getAttribute("rel")){var c=b.import;c instanceof Node&&(c.__CE_isImportDocument=!0,c.__CE_hasRegistry=!0);c&&"complete"===c.readyState?c.__CE_documentLoadHandled=!0:b.addEventListener("load",function(){var c=b.import;if(!c.__CE_documentLoadHandled){c.__CE_documentLoadHandled=!0;var f=new Set(d);f.delete(c);D(a,c,{R:f,F:e})}})}else f.push(b)},d);if(a.b)for(b=
function D(a,b,c){c=void 0===c?{}:c;var d=c.O||new Set,e=c.D||function(b){return B(a,b)},f=[];t(b,function(b){if("link"===b.localName&&"import"===b.getAttribute("rel")){var c=b.import;c instanceof Node&&(c.__CE_isImportDocument=!0,c.__CE_hasRegistry=!0);c&&"complete"===c.readyState?c.__CE_documentLoadHandled=!0:b.addEventListener("load",function(){var c=b.import;if(!c.__CE_documentLoadHandled){c.__CE_documentLoadHandled=!0;var f=new Set(d);f.delete(c);D(a,c,{O:f,D:e})}})}else f.push(b)},d);if(a.b)for(b=
0;b<f.length;b++)y(a,f[b]);for(b=0;b<f.length;b++)e(f[b])}
function B(a,b){if(void 0===b.__CE_state){var c=b.ownerDocument;if(c.defaultView||c.__CE_isImportDocument&&c.__CE_hasRegistry)if(c=a.a.get(b.localName)){c.constructionStack.push(b);var d=c.constructor;try{try{if(new d!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{c.constructionStack.pop()}}catch(l){throw b.__CE_state=2,l;}b.__CE_state=1;b.__CE_definition=c;if(c.attributeChangedCallback)for(c=c.observedAttributes,d=0;d<c.length;d++){var e=c[d],
f=b.getAttribute(e);null!==f&&a.attributeChangedCallback(b,e,null,f,null)}p(b)&&a.connectedCallback(b)}}}v.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};v.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};
v.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,c,d,e)};function E(a){var b=document;this.f=a;this.a=b;this.b=void 0;D(this.f,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.c.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function F(a){a.b&&a.b.disconnect()}E.prototype.c=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||F(this);for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)D(this.f,c[d])};function ca(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function da(a){if(a.a)throw Error("Already resolved.");a.a=void 0;a.b&&a.b(void 0)};function G(a){this.m=!1;this.f=a;this.u=new Map;this.o=function(a){return a()};this.h=!1;this.s=[];this.H=new E(a)}
G.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!m(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.f.a.get(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.m)throw Error("A custom element is already being defined.");this.m=!0;try{var d=function(a){var b=e[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");
return b},e=b.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=d("connectedCallback");var l=d("disconnectedCallback");var k=d("adoptedCallback");var g=d("attributeChangedCallback");var h=b.observedAttributes||[]}catch(n){return}finally{this.m=!1}b={localName:a,constructor:b,connectedCallback:f,disconnectedCallback:l,adoptedCallback:k,attributeChangedCallback:g,observedAttributes:h,constructionStack:[]};ba(this.f,a,b);this.s.push(b);
this.h||(this.h=!0,this.o(function(){return ea(c)}))};function ea(a){if(!1!==a.h){a.h=!1;for(var b=a.s,c=[],d=new Map,e=0;e<b.length;e++)d.set(b[e].localName,[]);D(a.f,document,{F:function(b){if(void 0===b.__CE_state){var e=b.localName,f=d.get(e);f?f.push(b):a.f.a.get(e)&&c.push(b)}}});for(e=0;e<c.length;e++)B(a.f,c[e]);for(;0<b.length;){var f=b.shift();e=f.localName;f=d.get(f.localName);for(var l=0;l<f.length;l++)B(a.f,f[l]);(e=a.u.get(e))&&da(e)}}}G.prototype.get=function(a){if(a=this.f.a.get(a))return a.constructor};
G.prototype.whenDefined=function(a){if(!m(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.u.get(a);if(b)return b.c;b=new ca;this.u.set(a,b);this.f.a.get(a)&&!this.s.some(function(b){return b.localName===a})&&da(b);return b.c};G.prototype.O=function(a){F(this.H);var b=this.o;this.o=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=G;G.prototype.define=G.prototype.define;G.prototype.get=G.prototype.get;
G.prototype.whenDefined=G.prototype.whenDefined;G.prototype.polyfillWrapFlushCallback=G.prototype.O;var J=window.Document.prototype.createElement,fa=window.Document.prototype.createElementNS,ha=window.Document.prototype.importNode,ia=window.Document.prototype.prepend,ja=window.Document.prototype.append,ka=window.DocumentFragment.prototype.prepend,la=window.DocumentFragment.prototype.append,ma=window.Node.prototype.cloneNode,K=window.Node.prototype.appendChild,na=window.Node.prototype.insertBefore,L=window.Node.prototype.removeChild,oa=window.Node.prototype.replaceChild,M=Object.getOwnPropertyDescriptor(window.Node.prototype,
v.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,c,d,e)};function E(a){var b=document;this.f=a;this.a=b;this.b=void 0;D(this.f,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.c.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}E.prototype.disconnect=function(){this.b&&this.b.disconnect()};E.prototype.c=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||this.disconnect();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)D(this.f,c[d])};function ca(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function da(a){if(a.a)throw Error("Already resolved.");a.a=void 0;a.b&&a.b(void 0)};function F(a){this.m=!1;this.f=a;this.u=new Map;this.o=function(a){return a()};this.h=!1;this.s=[];this.G=new E(a)}
F.prototype.a=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!m(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.f.a.get(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.m)throw Error("A custom element is already being defined.");this.m=!0;try{var d=function(a){var b=e[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");
return b},e=b.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=d("connectedCallback");var l=d("disconnectedCallback");var k=d("adoptedCallback");var h=d("attributeChangedCallback");var g=b.observedAttributes||[]}catch(n){return}finally{this.m=!1}b={localName:a,constructor:b,connectedCallback:f,disconnectedCallback:l,adoptedCallback:k,attributeChangedCallback:h,observedAttributes:g,constructionStack:[]};ba(this.f,a,b);this.s.push(b);
this.h||(this.h=!0,this.o(function(){return ea(c)}))};function ea(a){if(!1!==a.h){a.h=!1;for(var b=a.s,c=[],d=new Map,e=0;e<b.length;e++)d.set(b[e].localName,[]);D(a.f,document,{D:function(b){if(void 0===b.__CE_state){var e=b.localName,f=d.get(e);f?f.push(b):a.f.a.get(e)&&c.push(b)}}});for(e=0;e<c.length;e++)B(a.f,c[e]);for(;0<b.length;){var f=b.shift();e=f.localName;f=d.get(f.localName);for(var l=0;l<f.length;l++)B(a.f,f[l]);(e=a.u.get(e))&&da(e)}}}F.prototype.get=function(a){if(a=this.f.a.get(a))return a.constructor};
F.prototype.b=function(a){if(!m(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.u.get(a);if(b)return b.c;b=new ca;this.u.set(a,b);this.f.a.get(a)&&!this.s.some(function(b){return b.localName===a})&&da(b);return b.c};F.prototype.c=function(a){this.G.disconnect();var b=this.o;this.o=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=F;F.prototype.define=F.prototype.a;F.prototype.get=F.prototype.get;
F.prototype.whenDefined=F.prototype.b;F.prototype.polyfillWrapFlushCallback=F.prototype.c;var G=window.Document.prototype.createElement,fa=window.Document.prototype.createElementNS,ha=window.Document.prototype.importNode,ia=window.Document.prototype.prepend,ja=window.Document.prototype.append,ka=window.DocumentFragment.prototype.prepend,la=window.DocumentFragment.prototype.append,ma=window.Node.prototype.cloneNode,K=window.Node.prototype.appendChild,na=window.Node.prototype.insertBefore,L=window.Node.prototype.removeChild,oa=window.Node.prototype.replaceChild,M=Object.getOwnPropertyDescriptor(window.Node.prototype,
"textContent"),pa=window.Element.prototype.attachShadow,N=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),O=window.Element.prototype.getAttribute,qa=window.Element.prototype.setAttribute,ra=window.Element.prototype.removeAttribute,P=window.Element.prototype.getAttributeNS,sa=window.Element.prototype.setAttributeNS,ta=window.Element.prototype.removeAttributeNS,xa=window.Element.prototype.insertAdjacentElement,ya=window.Element.prototype.prepend,za=window.Element.prototype.append,
Q=window.Element.prototype.before,Aa=window.Element.prototype.after,Ba=window.Element.prototype.replaceWith,Ca=window.Element.prototype.remove,Da=window.HTMLElement,R=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Ea=window.HTMLElement.prototype.insertAdjacentElement;var Fa=new function(){};function Ga(){var a=S;window.HTMLElement=function(){function b(){var b=this.constructor,d=a.g.get(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");var e=d.constructionStack;if(0===e.length)return e=J.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,y(a,e),e;d=e.length-1;var f=e[d];if(f===Fa)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");
e[d]=Fa;Object.setPrototypeOf(f,b.prototype);y(a,f);return f}b.prototype=Da.prototype;return b}()};function T(a,b,c){function d(b){return function(d){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];e=[];for(var f=[],h=0;h<c.length;h++){var n=c[h];n instanceof Element&&p(n)&&f.push(n);if(n instanceof DocumentFragment)for(n=n.firstChild;n;n=n.nextSibling)e.push(n);else e.push(n)}b.apply(this,c);for(c=0;c<f.length;c++)C(a,f[c]);if(p(this))for(c=0;c<e.length;c++)f=e[c],f instanceof Element&&A(a,f)}}void 0!==c.i&&(b.prepend=d(c.i));void 0!==c.append&&(b.append=d(c.append))};function Ha(){var a=S;u(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.a.get(b);if(c)return new c.constructor}b=J.call(this,b);y(a,b);return b});u(Document.prototype,"importNode",function(b,c){b=ha.call(this,b,c);this.__CE_hasRegistry?D(a,b):x(a,b);return b});u(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.a.get(c);if(d)return new d.constructor}b=fa.call(this,b,c);y(a,b);return b});
T(a,Document.prototype,{i:ia,append:ja})};function Ia(){var a=S;function b(b,d){Object.defineProperty(b,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,b);else{var c=void 0;if(this.firstChild){var e=this.childNodes,k=e.length;if(0<k&&p(this)){c=Array(k);for(var g=0;g<k;g++)c[g]=e[g]}}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)C(a,c[b])}}})}u(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);
Q=window.Element.prototype.before,Aa=window.Element.prototype.after,Ba=window.Element.prototype.replaceWith,Ca=window.Element.prototype.remove,Da=window.HTMLElement,R=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Ea=window.HTMLElement.prototype.insertAdjacentElement;var Fa=new function(){};function Ga(){var a=S;window.HTMLElement=function(){function b(){var b=this.constructor,d=a.g.get(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");var e=d.constructionStack;if(0===e.length)return e=G.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,y(a,e),e;d=e.length-1;var f=e[d];if(f===Fa)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");
e[d]=Fa;Object.setPrototypeOf(f,b.prototype);y(a,f);return f}b.prototype=Da.prototype;return b}()};function T(a,b,c){function d(b){return function(d){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];e=[];for(var f=[],g=0;g<c.length;g++){var n=c[g];n instanceof Element&&p(n)&&f.push(n);if(n instanceof DocumentFragment)for(n=n.firstChild;n;n=n.nextSibling)e.push(n);else e.push(n)}b.apply(this,c);for(c=0;c<f.length;c++)C(a,f[c]);if(p(this))for(c=0;c<e.length;c++)f=e[c],f instanceof Element&&A(a,f)}}void 0!==c.i&&(b.prepend=d(c.i));void 0!==c.append&&(b.append=d(c.append))};function Ha(){var a=S;u(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.a.get(b);if(c)return new c.constructor}b=G.call(this,b);y(a,b);return b});u(Document.prototype,"importNode",function(b,c){b=ha.call(this,b,c);this.__CE_hasRegistry?D(a,b):x(a,b);return b});u(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.a.get(c);if(d)return new d.constructor}b=fa.call(this,b,c);y(a,b);return b});
T(a,Document.prototype,{i:ia,append:ja})};function Ia(){var a=S;function b(b,d){Object.defineProperty(b,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,b);else{var c=void 0;if(this.firstChild){var e=this.childNodes,k=e.length;if(0<k&&p(this)){c=Array(k);for(var h=0;h<k;h++)c[h]=e[h]}}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)C(a,c[b])}}})}u(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);
b=na.call(this,b,d);if(p(this))for(d=0;d<c.length;d++)A(a,c[d]);return b}c=p(b);d=na.call(this,b,d);c&&C(a,b);p(this)&&A(a,b);return d});u(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var d=Array.prototype.slice.apply(b.childNodes);b=K.call(this,b);if(p(this))for(var c=0;c<d.length;c++)A(a,d[c]);return b}d=p(b);c=K.call(this,b);d&&C(a,b);p(this)&&A(a,b);return c});u(Node.prototype,"cloneNode",function(b){b=ma.call(this,b);this.ownerDocument.__CE_hasRegistry?D(a,b):x(a,
b);return b});u(Node.prototype,"removeChild",function(b){var d=p(b),c=L.call(this,b);d&&C(a,b);return c});u(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=oa.call(this,b,d);if(p(this))for(C(a,d),d=0;d<c.length;d++)A(a,c[d]);return b}c=p(b);var f=oa.call(this,b,d),l=p(this);l&&C(a,d);c&&C(a,b);l&&A(a,b);return f});M&&M.get?b(Node.prototype,M):w(a,function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var a=
[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)L.call(this,this.firstChild);K.call(this,document.createTextNode(a))}})})};function Ja(a){var b=Element.prototype;function c(b){return function(d){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];e=[];for(var k=[],g=0;g<c.length;g++){var h=c[g];h instanceof Element&&p(h)&&k.push(h);if(h instanceof DocumentFragment)for(h=h.firstChild;h;h=h.nextSibling)e.push(h);else e.push(h)}b.apply(this,c);for(c=0;c<k.length;c++)C(a,k[c]);if(p(this))for(c=0;c<e.length;c++)k=e[c],k instanceof Element&&A(a,k)}}void 0!==Q&&(b.before=c(Q));void 0!==Q&&(b.after=c(Aa));void 0!==Ba&&
u(b,"replaceWith",function(b){for(var d=[],c=0;c<arguments.length;++c)d[c-0]=arguments[c];c=[];for(var l=[],k=0;k<d.length;k++){var g=d[k];g instanceof Element&&p(g)&&l.push(g);if(g instanceof DocumentFragment)for(g=g.firstChild;g;g=g.nextSibling)c.push(g);else c.push(g)}k=p(this);Ba.apply(this,d);for(d=0;d<l.length;d++)C(a,l[d]);if(k)for(C(a,this),d=0;d<c.length;d++)l=c[d],l instanceof Element&&A(a,l)});void 0!==Ca&&u(b,"remove",function(){var b=p(this);Ca.call(this);b&&C(a,this)})};function Ka(){var a=S;function b(b,c){Object.defineProperty(b,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){var d=this,e=void 0;p(this)&&(e=[],t(this,function(a){a!==d&&e.push(a)}));c.set.call(this,b);if(e)for(var f=0;f<e.length;f++){var h=e[f];1===h.__CE_state&&a.disconnectedCallback(h)}this.ownerDocument.__CE_hasRegistry?D(a,this):x(a,this);return b}})}function c(b,c){u(b,"insertAdjacentElement",function(b,d){var e=p(d);b=c.call(this,b,d);e&&C(a,d);p(b)&&A(a,d);
return b})}pa&&u(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=pa.call(this,a)});N&&N.get?b(Element.prototype,N):R&&R.get?b(HTMLElement.prototype,R):w(a,function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return ma.call(this,!0).innerHTML},set:function(a){var b="template"===this.localName,d=b?this.content:this,c=J.call(document,this.localName);for(c.innerHTML=a;0<d.childNodes.length;)L.call(d,d.childNodes[0]);for(a=b?c.content:c;0<a.childNodes.length;)K.call(d,
[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)L.call(this,this.firstChild);K.call(this,document.createTextNode(a))}})})};function Ja(a){var b=Element.prototype;function c(b){return function(d){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];e=[];for(var k=[],h=0;h<c.length;h++){var g=c[h];g instanceof Element&&p(g)&&k.push(g);if(g instanceof DocumentFragment)for(g=g.firstChild;g;g=g.nextSibling)e.push(g);else e.push(g)}b.apply(this,c);for(c=0;c<k.length;c++)C(a,k[c]);if(p(this))for(c=0;c<e.length;c++)k=e[c],k instanceof Element&&A(a,k)}}void 0!==Q&&(b.before=c(Q));void 0!==Q&&(b.after=c(Aa));void 0!==Ba&&
u(b,"replaceWith",function(b){for(var d=[],c=0;c<arguments.length;++c)d[c-0]=arguments[c];c=[];for(var l=[],k=0;k<d.length;k++){var h=d[k];h instanceof Element&&p(h)&&l.push(h);if(h instanceof DocumentFragment)for(h=h.firstChild;h;h=h.nextSibling)c.push(h);else c.push(h)}k=p(this);Ba.apply(this,d);for(d=0;d<l.length;d++)C(a,l[d]);if(k)for(C(a,this),d=0;d<c.length;d++)l=c[d],l instanceof Element&&A(a,l)});void 0!==Ca&&u(b,"remove",function(){var b=p(this);Ca.call(this);b&&C(a,this)})};function Ka(){var a=S;function b(b,c){Object.defineProperty(b,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){var d=this,e=void 0;p(this)&&(e=[],t(this,function(a){a!==d&&e.push(a)}));c.set.call(this,b);if(e)for(var f=0;f<e.length;f++){var g=e[f];1===g.__CE_state&&a.disconnectedCallback(g)}this.ownerDocument.__CE_hasRegistry?D(a,this):x(a,this);return b}})}function c(b,c){u(b,"insertAdjacentElement",function(b,d){var e=p(d);b=c.call(this,b,d);e&&C(a,d);p(b)&&A(a,d);
return b})}pa&&u(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=pa.call(this,a)});N&&N.get?b(Element.prototype,N):R&&R.get?b(HTMLElement.prototype,R):w(a,function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return ma.call(this,!0).innerHTML},set:function(a){var b="template"===this.localName,d=b?this.content:this,c=G.call(document,this.localName);for(c.innerHTML=a;0<d.childNodes.length;)L.call(d,d.childNodes[0]);for(a=b?c.content:c;0<a.childNodes.length;)K.call(d,
a.childNodes[0])}})});u(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return qa.call(this,b,c);var d=O.call(this,b);qa.call(this,b,c);c=O.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});u(Element.prototype,"setAttributeNS",function(b,c,f){if(1!==this.__CE_state)return sa.call(this,b,c,f);var d=P.call(this,b,c);sa.call(this,b,c,f);f=P.call(this,b,c);a.attributeChangedCallback(this,c,d,f,b)});u(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return ra.call(this,
b);var d=O.call(this,b);ra.call(this,b);null!==d&&a.attributeChangedCallback(this,b,d,null,null)});u(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return ta.call(this,b,c);var d=P.call(this,b,c);ta.call(this,b,c);var e=P.call(this,b,c);d!==e&&a.attributeChangedCallback(this,c,d,e,b)});Ea?c(HTMLElement.prototype,Ea):xa?c(Element.prototype,xa):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");T(a,Element.prototype,{i:ya,append:za});Ja(a)}
;var W=window.customElements;if(!W||W.forcePolyfill||"function"!=typeof W.define||"function"!=typeof W.get){var S=new v;Ga();Ha();T(S,DocumentFragment.prototype,{i:ka,append:la});Ia();Ka();document.__CE_hasRegistry=!0;var customElements=new G(S);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:customElements})};/*
;var U=window.customElements;if(!U||U.forcePolyfill||"function"!=typeof U.define||"function"!=typeof U.get){var S=new v;Ga();Ha();T(S,DocumentFragment.prototype,{i:ka,append:la});Ia();Ka();document.__CE_hasRegistry=!0;var customElements=new F(S);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:customElements})};/*

@@ -58,3 +60,3 @@ Copyright (c) 2014 The Polymer Project Authors. All rights reserved.

*/
var X=window.customElements,Y=window.HTMLImports,La=window.HTMLTemplateElement;window.WebComponents=window.WebComponents||{};if(X&&X.polyfillWrapFlushCallback){var Z,Ma=function(){if(Z){La.I&&La.I(window.document);var a=Z;Z=null;a();return!0}},Na=Y.whenReady;X.polyfillWrapFlushCallback(function(a){Z=a;Na(Ma)});Y.whenReady=function(a){Na(function(){Ma()?Y.whenReady(a):a()})}}
var V=window.customElements,Y=window.HTMLImports,La=window.HTMLTemplateElement;window.WebComponents=window.WebComponents||{};if(V&&V.polyfillWrapFlushCallback){var Z,Ma=function(){if(Z){La.H&&La.H(window.document);var a=Z;Z=null;a();return!0}},Na=Y.whenReady;V.polyfillWrapFlushCallback(function(a){Z=a;Na(Ma)});Y.whenReady=function(a){Na(function(){Ma()?Y.whenReady(a):a()})}}
Y.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0;document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})});var Oa=document.createElement("style");Oa.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var Pa=document.querySelector("head");Pa.insertBefore(Oa,Pa.firstChild);/*

@@ -61,0 +63,0 @@

@@ -10,16 +10,18 @@ (function(){/*

*/
'use strict';(function(h){function y(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c}function m(a){if(u)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;if(!b&&a.parentNode){b=a.parentNode;if("function"===typeof b.closest)b=b.closest("link[rel=import]");else for(;!p(b)&&(b=b.parentNode););a.__importDoc=b}return b}function I(a){var b=document.querySelectorAll("link[rel=import]:not([import-dependency])"),
c=b.length;c?k(b,function(b){return q(b,function(){0===--c&&a()})}):a()}function z(a){function b(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",b),a())}document.addEventListener("readystatechange",b);b()}function A(a){z(function(){return I(function(){return a&&a()})})}function q(a,b){if(a.__loaded)b&&b();else if("script"===a.localName&&!a.src||"style"===a.localName&&!a.firstChild)a.__loaded=!0,b&&b();else{var c=function(d){a.removeEventListener(d.type,
c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);v&&"style"===a.localName||a.addEventListener("error",c)}}function p(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function e(){var a=this;this.a={};this.b=0;this.h=new MutationObserver(function(b){return a.B(b)});this.h.observe(document.head,{childList:!0,subtree:!0});this.c(document)}function k(a,b,c){var d=a?a.length:0,f=c?-1:1;for(c=c?d-1:0;c<d&&0<=c;c+=f)b(a[c],c)}var u="import"in document.createElement("link"),
w=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return w||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var J=/(url\()([^)]*)(\))/g,K=/(@import[\s]+(?!url\())([^;]*)(;)/g,L=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,g={w:function(a,b){a.href&&a.setAttribute("href",g.f(a.getAttribute("href"),b));a.src&&a.setAttribute("src",g.f(a.getAttribute("src"),b));if("style"===a.localName){var c=
g.s(a.textContent,b,J);a.textContent=g.s(c,b,K)}},s:function(a,b,c){return a.replace(c,function(a,c,l,e){a=l.replace(/["']/g,"");b&&(a=g.f(a,b));return c+"'"+a+"'"+e})},f:function(a,b){if(void 0===g.g){g.g=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";g.g="http://a/c%20d"===c.href}catch(d){}}if(g.g)return(new URL(a,b)).href;c=g.u;c||(c=document.implementation.createHTMLDocument("temp"),g.u=c,c.j=c.createElement("base"),c.head.appendChild(c.j),c.i=c.createElement("a"));c.j.href=b;c.i.href=
a;return c.i.href||a}},B={async:!0,load:function(a,b,c){if(a)if(a.match(/^data:/)){a=a.split(",");var d=a[1];d=-1<a[0].indexOf(";base64")?atob(d):decodeURIComponent(d);b(d)}else{var f=new XMLHttpRequest;f.open("GET",a,B.async);f.onload=function(){var a=f.responseURL||f.getResponseHeader("Location");a&&0===a.indexOf("/")&&(a=(location.origin||location.protocol+"//"+location.host)+a);var d=f.response||f.responseText;304===f.status||0===f.status||200<=f.status&&300>f.status?b(d,a):c(d)};f.send()}else c("error: href must be specified")}},
v=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);e.prototype.c=function(a){var b=this;k(a.querySelectorAll("link[rel=import]"),function(a){return b.m(a)})};e.prototype.m=function(a){var b=this,c=a.href;if(void 0!==this.a[c]){var d=this.a[c];d&&d.__loaded&&(a.import=d,this.l(a))}else this.b++,this.a[c]="pending",B.load(c,function(a,d){a=b.C(a,d||c);b.a[c]=a;b.b--;b.c(a);b.o()},function(){b.a[c]=null;b.b--;b.o()})};e.prototype.C=function(a,b){if(!a)return document.createDocumentFragment();
v&&(a=a.replace(L,function(a,b,c){return-1===a.indexOf("type=")?b+" type=import-disable "+c:a}));var c=document.createElement("template");c.innerHTML=a;if(c.content)a=c.content;else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);if(c=a.querySelector("base"))b=g.f(c.getAttribute("href"),b),c.removeAttribute("href");var d=0;k(a.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]'),
function(a){q(a);g.w(a,b);a.setAttribute("import-dependency","");"script"===a.localName&&!a.src&&a.textContent&&(a.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(a.textContent+("\n//# sourceURL="+b+(d?"-"+d:"")+".js\n"))),a.textContent="",d++)});return a};e.prototype.o=function(){var a=this;if(!this.b){this.h.disconnect();this.flatten(document);var b=!1,c=!1,d=function(){c&&b&&(a.c(document),a.b||(a.h.observe(document.head,{childList:!0,subtree:!0}),a.A()))};this.F(function(){c=
!0;d()});this.D(function(){b=!0;d()})}};e.prototype.flatten=function(a){var b=this;k(a.querySelectorAll("link[rel=import]"),function(a){var c=b.a[a.href];(a.import=c)&&c.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(b.a[a.href]=a,a.readyState="loading",a.import=a,b.flatten(c),a.appendChild(c))})};e.prototype.D=function(a){function b(f){if(f<d){var l=c[f],e=document.createElement("script");l.removeAttribute("import-dependency");k(l.attributes,function(a){return e.setAttribute(a.name,a.value)});w=e;l.parentNode.replaceChild(e,
l);q(e,function(){w=null;b(f+1)})}else a()}var c=document.querySelectorAll("script[import-dependency]"),d=c.length;b(0)};e.prototype.F=function(a){var b=document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),c=b.length;if(c){var d=v&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");k(b,function(b){q(b,function(){b.removeAttribute("import-dependency");0===--c&&a()});if(d&&b.parentNode!==document.head){var e=document.createElement(b.localName);
e.__appliedElement=b;e.setAttribute("type","import-placeholder");b.parentNode.insertBefore(e,b.nextSibling);for(e=m(b);e&&m(e);)e=m(e);e.parentNode!==document.head&&(e=null);document.head.insertBefore(b,e);b.removeAttribute("type")}})}else a()};e.prototype.A=function(){var a=this;k(document.querySelectorAll("link[rel=import]"),function(b){return a.l(b)},!0)};e.prototype.l=function(a){a.__loaded||(a.__loaded=!0,a.import&&(a.import.readyState="complete"),a.dispatchEvent(y(a.import?"load":"error",{bubbles:!1,
cancelable:!1,detail:void 0})))};e.prototype.B=function(a){var b=this;k(a,function(a){return k(a.addedNodes,function(a){a&&a.nodeType===Node.ELEMENT_NODE&&(p(a)?b.m(a):b.c(a))})})};if(u){k(document.querySelectorAll("link[rel=import]"),function(a){a.import&&"loading"===a.import.readyState||(a.__loaded=!0)});var C=function(a){a=a.target;p(a)&&(a.__loaded=!0)};document.addEventListener("load",C,!0);document.addEventListener("error",C,!0)}else{var n=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");
Object.defineProperty((!n||n.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=p(this)?this:m(this);return a?a.href:n&&n.get?n.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});z(function(){return new e})}A(function(){return document.dispatchEvent(y("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))});h.useNative=u;h.whenReady=A;h.importForElement=m})(window.HTMLImports=window.HTMLImports||{});/*
'use strict';(function(h){function z(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c}function m(a){if(u)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;if(!b&&a.parentNode){b=a.parentNode;if("function"===typeof b.closest)b=b.closest("link[rel=import]");else for(;!p(b)&&(b=b.parentNode););a.__importDoc=b}return b}function J(a){var b=document.querySelectorAll("link[rel=import]:not([import-dependency])"),
c=b.length;c?g(b,function(b){return q(b,function(){0===--c&&a()})}):a()}function A(a){function b(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",b),a())}document.addEventListener("readystatechange",b);b()}function B(a){A(function(){return J(function(){return a&&a()})})}function q(a,b){if(a.__loaded)b&&b();else if("script"===a.localName&&!a.src||"style"===a.localName&&!a.firstChild)a.__loaded=!0,b&&b();else{var c=function(e){a.removeEventListener(e.type,
c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);v&&"style"===a.localName||a.addEventListener("error",c)}}function p(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function k(){var a=this;this.a={};this.b=0;this.g=new MutationObserver(function(b){return a.A(b)});this.g.observe(document.head,{childList:!0,subtree:!0});this.loadImports(document)}function g(a,b,c){var e=a?a.length:0,d=c?-1:1;for(c=c?e-1:0;c<e&&0<=c;c+=d)b(a[c],c)}var u="import"in document.createElement("link"),
w=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return w||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var K=/(url\()([^)]*)(\))/g,L=/(@import[\s]+(?!url\())([^;]*)(;)/g,M=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,f={v:function(a,b){a.href&&a.setAttribute("href",f.c(a.getAttribute("href"),b));a.src&&a.setAttribute("src",f.c(a.getAttribute("src"),b));if("style"===a.localName){var c=
f.o(a.textContent,b,K);a.textContent=f.o(c,b,L)}},o:function(a,b,c){return a.replace(c,function(a,c,l,N){a=l.replace(/["']/g,"");b&&(a=f.c(a,b));return c+"'"+a+"'"+N})},c:function(a,b){if(void 0===f.f){f.f=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";f.f="http://a/c%20d"===c.href}catch(e){}}if(f.f)return(new URL(a,b)).href;c=f.s;c||(c=document.implementation.createHTMLDocument("temp"),f.s=c,c.i=c.createElement("base"),c.head.appendChild(c.i),c.h=c.createElement("a"));c.i.href=b;c.h.href=
a;return c.h.href||a}},C={async:!0,load:function(a,b,c){if(a)if(a.match(/^data:/)){a=a.split(",");var e=a[1];e=-1<a[0].indexOf(";base64")?atob(e):decodeURIComponent(e);b(e)}else{var d=new XMLHttpRequest;d.open("GET",a,C.async);d.onload=function(){var a=d.responseURL||d.getResponseHeader("Location");a&&0===a.indexOf("/")&&(a=(location.origin||location.protocol+"//"+location.host)+a);var e=d.response||d.responseText;304===d.status||0===d.status||200<=d.status&&300>d.status?b(e,a):c(e)};d.send()}else c("error: href must be specified")}},
v=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);k.prototype.loadImports=function(a){var b=this;g(a.querySelectorAll("link[rel=import]"),function(a){return b.l(a)})};k.prototype.l=function(a){var b=this,c=a.href;if(void 0!==this.a[c]){var e=this.a[c];e&&e.__loaded&&(a.__import=e,this.j(a))}else this.b++,this.a[c]="pending",C.load(c,function(a,e){a=b.B(a,e||c);b.a[c]=a;b.b--;b.loadImports(a);b.m()},function(){b.a[c]=null;b.b--;b.m()})};k.prototype.B=function(a,b){if(!a)return document.createDocumentFragment();
v&&(a=a.replace(M,function(a,b,c){return-1===a.indexOf("type=")?b+" type=import-disable "+c:a}));var c=document.createElement("template");c.innerHTML=a;if(c.content){a=c.content;var e=function(a){g(a.querySelectorAll("template"),function(a){g(a.content.querySelectorAll('script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),function(a){var b=document.createElement("script");g(a.attributes,function(a){return b.setAttribute(a.name,a.value)});b.textContent=a.textContent;
a.parentNode.insertBefore(b,a);a.parentNode.removeChild(a)});e(a.content)})};e(a)}else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);if(c=a.querySelector("base"))b=f.c(c.getAttribute("href"),b),c.removeAttribute("href");var d=0;g(a.querySelectorAll('link[rel=import],link[rel=stylesheet][href][type=import-disable],style:not([type]),link[rel=stylesheet][href]:not([type]),script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),function(a){q(a);
f.v(a,b);a.setAttribute("import-dependency","");"script"===a.localName&&!a.src&&a.textContent&&(a.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(a.textContent+("\n//# sourceURL="+b+(d?"-"+d:"")+".js\n"))),a.textContent="",d++)});return a};k.prototype.m=function(){var a=this;if(!this.b){this.g.disconnect();this.flatten(document);var b=!1,c=!1,e=function(){c&&b&&(a.loadImports(document),a.b||(a.g.observe(document.head,{childList:!0,subtree:!0}),a.w()))};this.D(function(){c=
!0;e()});this.C(function(){b=!0;e()})}};k.prototype.flatten=function(a){var b=this;g(a.querySelectorAll("link[rel=import]"),function(a){var c=b.a[a.href];(a.__import=c)&&c.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(b.a[a.href]=a,a.readyState="loading",a.__import=a,b.flatten(c),a.appendChild(c))})};k.prototype.C=function(a){function b(d){if(d<e){var l=c[d],f=document.createElement("script");l.removeAttribute("import-dependency");g(l.attributes,function(a){return f.setAttribute(a.name,a.value)});w=f;
l.parentNode.replaceChild(f,l);q(f,function(){w=null;b(d+1)})}else a()}var c=document.querySelectorAll("script[import-dependency]"),e=c.length;b(0)};k.prototype.D=function(a){var b=document.querySelectorAll("style[import-dependency],link[rel=stylesheet][import-dependency]"),c=b.length;if(c){var e=v&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");g(b,function(b){q(b,function(){b.removeAttribute("import-dependency");0===--c&&a()});if(e&&b.parentNode!==document.head){var d=
document.createElement(b.localName);d.__appliedElement=b;d.setAttribute("type","import-placeholder");b.parentNode.insertBefore(d,b.nextSibling);for(d=m(b);d&&m(d);)d=m(d);d.parentNode!==document.head&&(d=null);document.head.insertBefore(b,d);b.removeAttribute("type")}})}else a()};k.prototype.w=function(){var a=this;g(document.querySelectorAll("link[rel=import]"),function(b){return a.j(b)},!0)};k.prototype.j=function(a){a.__loaded||(a.__loaded=!0,a.import&&(a.import.readyState="complete"),a.dispatchEvent(z(a.import?
"load":"error",{bubbles:!1,cancelable:!1,detail:void 0})))};k.prototype.A=function(a){var b=this;g(a,function(a){return g(a.addedNodes,function(a){a&&a.nodeType===Node.ELEMENT_NODE&&(p(a)?b.l(a):b.loadImports(a))})})};var x=null;if(u){g(document.querySelectorAll("link[rel=import]"),function(a){a.import&&"loading"===a.import.readyState||(a.__loaded=!0)});var D=function(a){a=a.target;p(a)&&(a.__loaded=!0)};document.addEventListener("load",D,!0);document.addEventListener("error",D,!0)}else{var n=Object.getOwnPropertyDescriptor(Node.prototype,
"baseURI");Object.defineProperty((!n||n.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=p(this)?this:m(this);return a?a.href:n&&n.get?n.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});Object.defineProperty(HTMLLinkElement.prototype,"import",{get:function(){return this.__import||null},configurable:!0,enumerable:!0});A(function(){x=new k})}B(function(){return document.dispatchEvent(z("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,
detail:void 0}))});h.useNative=u;h.whenReady=B;h.importForElement=m;h.loadImports=function(a){x&&x.loadImports(a)}})(window.HTMLImports=window.HTMLImports||{});/*

@@ -33,4 +35,4 @@ Copyright (c) 2014 The Polymer Project Authors. All rights reserved.

*/
var r=window.customElements,t=window.HTMLImports,x=window.HTMLTemplateElement;window.WebComponents=window.WebComponents||{};if(r&&r.polyfillWrapFlushCallback){var D,E=function(){if(D){x.v&&x.v(window.document);var h=D;D=null;h();return!0}},F=t.whenReady;r.polyfillWrapFlushCallback(function(h){D=h;F(E)});t.whenReady=function(h){F(function(){E()?t.whenReady(h):h()})}}
t.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0;document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})});var G=document.createElement("style");G.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var H=document.querySelector("head");H.insertBefore(G,H.firstChild);/*
var r=window.customElements,t=window.HTMLImports,y=window.HTMLTemplateElement;window.WebComponents=window.WebComponents||{};if(r&&r.polyfillWrapFlushCallback){var E,F=function(){if(E){y.u&&y.u(window.document);var h=E;E=null;h();return!0}},G=t.whenReady;r.polyfillWrapFlushCallback(function(h){E=h;G(F)});t.whenReady=function(h){G(function(){F()?t.whenReady(h):h()})}}
t.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0;document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})});var H=document.createElement("style");H.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var I=document.querySelector("head");I.insertBefore(H,I.firstChild);/*

@@ -37,0 +39,0 @@ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.

@@ -12,8 +12,8 @@ (function(){/*

function da(){ba();var a=p.Symbol.iterator;a||(a=p.Symbol.iterator=p.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&aa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(this)}});da=function(){}}function ea(a){var b=0;return fa(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})}function fa(a){da();a={next:a};a[p.Symbol.iterator]=function(){return this};return a}function ha(a){da();var b=a[Symbol.iterator];return b?b.call(a):ea(a)}
function ia(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c}var r=window.ShadyDOM||{};r.va=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var ja=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");r.F=!!(ja&&ja.configurable&&ja.get);r.ga=r.force||!r.va;function t(a){return a.__shady&&void 0!==a.__shady.firstChild}function u(a){return"ShadyRoot"===a.ma}function ka(a){a=a.getRootNode();if(u(a))return a}
function ia(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c}var r=window.ShadyDOM||{};r.ua=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var ja=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");r.F=!!(ja&&ja.configurable&&ja.get);r.ea=r.force||!r.ua;function t(a){return a.__shady&&void 0!==a.__shady.firstChild}function u(a){return"ShadyRoot"===a.ja}function ka(a){a=a.getRootNode();if(u(a))return a}
var v=Element.prototype,la=v.matches||v.matchesSelector||v.mozMatchesSelector||v.msMatchesSelector||v.oMatchesSelector||v.webkitMatchesSelector;function ma(a,b){if(a&&b)for(var c=Object.getOwnPropertyNames(b),d=0,e;d<c.length&&(e=c[d]);d++){var f=Object.getOwnPropertyDescriptor(b,e);f&&Object.defineProperty(a,e,f)}}function na(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)ma(a,c[d]);return a}function oa(a,b){for(var c in b)a[c]=b[c]}
var pa=document.createTextNode(""),qa=0,ra=[];(new MutationObserver(function(){for(;ra.length;)try{ra.shift()()}catch(a){throw pa.textContent=qa++,a;}})).observe(pa,{characterData:!0});function sa(a){ra.push(a);pa.textContent=qa++}var ta=!!document.contains;function ua(a,b){for(;b;){if(b==a)return!0;b=b.parentNode}return!1};var va=[],wa;function xa(a){wa||(wa=!0,sa(ya));va.push(a)}function ya(){wa=!1;for(var a=!!va.length;va.length;)va.shift()();return a}ya.list=va;function za(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.M=new Set}function Aa(a){a.a||(a.a=!0,sa(function(){Ba(a)}))}function Ba(a){if(a.a){a.a=!1;var b=a.takeRecords();b.length&&a.M.forEach(function(a){a(b)})}}za.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];this.addedNodes=[];this.removedNodes=[];return a}return[]};
function Ca(a,b){a.__shady=a.__shady||{};a.__shady.G||(a.__shady.G=new za);a.__shady.G.M.add(b);var c=a.__shady.G;return{pa:b,w:c,ra:a,takeRecords:function(){return c.takeRecords()}}}function Da(a){var b=a&&a.w;b&&(b.M.delete(a.pa),b.M.size||(a.ra.__shady.G=null))}
function Ca(a,b){a.__shady=a.__shady||{};a.__shady.G||(a.__shady.G=new za);a.__shady.G.M.add(b);var c=a.__shady.G;return{ma:b,v:c,pa:a,takeRecords:function(){return c.takeRecords()}}}function Da(a){var b=a&&a.v;b&&(b.M.delete(a.ma),b.M.size||(a.pa.__shady.G=null))}
function Ea(a,b){var c=b.getRootNode();return a.map(function(a){var b=c===a.target.getRootNode();if(b&&a.addedNodes){if(b=Array.from(a.addedNodes).filter(function(a){return c===a.getRootNode()}),b.length)return a=Object.create(a),Object.defineProperty(a,"addedNodes",{value:b,configurable:!0}),a}else if(b)return a}).filter(function(a){return a})};var w={},Fa=Element.prototype.insertBefore,Ga=Element.prototype.removeChild,Ha=Element.prototype.setAttribute,Ia=Element.prototype.removeAttribute,Ja=Element.prototype.cloneNode,Ka=Document.prototype.importNode,La=Element.prototype.addEventListener,Ma=Element.prototype.removeEventListener,Na=Window.prototype.addEventListener,Oa=Window.prototype.removeEventListener,Pa=Element.prototype.dispatchEvent,Qa=Element.prototype.querySelector,Ra=Element.prototype.querySelectorAll,Sa=Node.prototype.contains||
HTMLElement.prototype.contains;w.appendChild=Element.prototype.appendChild;w.insertBefore=Fa;w.removeChild=Ga;w.setAttribute=Ha;w.removeAttribute=Ia;w.cloneNode=Ja;w.importNode=Ka;w.addEventListener=La;w.removeEventListener=Ma;w.Fa=Na;w.Ga=Oa;w.dispatchEvent=Pa;w.querySelector=Qa;w.querySelectorAll=Ra;w.contains=Sa;var Ta=/[&\u00A0"]/g,Ua=/[&\u00A0<>]/g;function Va(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}}function Wa(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}var Xa=Wa("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Ya=Wa("style script xmp iframe noembed noframes plaintext noscript".split(" "));
HTMLElement.prototype.contains;w.appendChild=Element.prototype.appendChild;w.insertBefore=Fa;w.removeChild=Ga;w.setAttribute=Ha;w.removeAttribute=Ia;w.cloneNode=Ja;w.importNode=Ka;w.addEventListener=La;w.removeEventListener=Ma;w.Da=Na;w.Ea=Oa;w.dispatchEvent=Pa;w.querySelector=Qa;w.querySelectorAll=Ra;w.contains=Sa;var Ta=/[&\u00A0"]/g,Ua=/[&\u00A0<>]/g;function Va(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}}function Wa(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}var Xa=Wa("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Ya=Wa("style script xmp iframe noembed noframes plaintext noscript".split(" "));
function Za(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,h;e<f&&(h=d[e]);e++){a:{var g=h;var k=a;var l=b;switch(g.nodeType){case Node.ELEMENT_NODE:for(var m=g.localName,q="<"+m,H=g.attributes,N=0;k=H[N];N++)q+=" "+k.name+'="'+k.value.replace(Ta,Va)+'"';q+=">";g=Xa[m]?q:q+Za(g,l)+"</"+m+">";break a;case Node.TEXT_NODE:g=g.data;g=k&&Ya[k.localName]?g:g.replace(Ua,Va);break a;case Node.COMMENT_NODE:g="\x3c!--"+g.data+"--\x3e";break a;default:throw window.console.error(g),

@@ -27,6 +27,6 @@ Error("not implemented");}}c+=g}return c};var x={},y=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),z=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1);function $a(a){var b=[];y.currentNode=a;for(a=y.firstChild();a;)b.push(a),a=y.nextSibling();return b}x.parentNode=function(a){y.currentNode=a;return y.parentNode()};x.firstChild=function(a){y.currentNode=a;return y.firstChild()};x.lastChild=function(a){y.currentNode=a;return y.lastChild()};x.previousSibling=function(a){y.currentNode=a;return y.previousSibling()};

configurable:!0},textContent:{get:function(){if(t(this)){for(var a=[],b=0,c=this.childNodes,d;d=c[b];b++)d.nodeType!==Node.COMMENT_NODE&&a.push(d.textContent);return a.join("")}return x.textContent(this)},set:function(a){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(;this.firstChild;)this.removeChild(this.firstChild);(0<a.length||this.nodeType===Node.ELEMENT_NODE)&&this.appendChild(document.createTextNode(a));break;default:this.nodeValue=a}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&
void 0!==this.__shady.firstChild){for(var a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return x.firstElementChild(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return x.lastElementChild(this)},configurable:!0},children:{get:function(){var a;t(this)?a=Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===
Node.ELEMENT_NODE}):a=x.children(this);a.item=function(b){return a[b]};return a},configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return t(this)?Za(a):x.innerHTML(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);var c=this.localName;c&&"template"!==c||(c="div");c=bb.createElement(c);for(ab&&ab.set?ab.set.call(c,a):c.innerHTML=a;c.firstChild;)b.appendChild(c.firstChild)},configurable:!0}},
fb={shadowRoot:{get:function(){return this.__shady&&this.__shady.za||null},configurable:!0}},gb={activeElement:{get:function(){var a=cb&&cb.get?cb.get.call(document):r.F?void 0:document.activeElement;if(a&&a.nodeType){var b=!!u(this);if(this===document||b&&this.host!==a&&w.contains.call(this.host,a)){for(b=ka(a);b&&b!==this;)a=b.host,b=ka(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}};
function A(a,b,c){for(var d in b){var e=Object.getOwnPropertyDescriptor(a,d);e&&e.configurable||!e&&c?Object.defineProperty(a,d,b[d]):c&&console.warn("Could not define",d,"on",a)}}function B(a){A(a,db);A(a,eb);A(a,gb)}var hb=r.F?function(){}:function(a){a.__shady&&a.__shady.na||(a.__shady=a.__shady||{},a.__shady.na=!0,A(a,db,!0))},ib=r.F?function(){}:function(a){a.__shady&&a.__shady.la||(a.__shady=a.__shady||{},a.__shady.la=!0,A(a,eb,!0),A(a,fb,!0))};function jb(a,b,c){hb(a);c=c||null;a.__shady=a.__shady||{};b.__shady=b.__shady||{};c&&(c.__shady=c.__shady||{});a.__shady.previousSibling=c?c.__shady.previousSibling:b.lastChild;var d=a.__shady.previousSibling;d&&d.__shady&&(d.__shady.nextSibling=a);(d=a.__shady.nextSibling=c)&&d.__shady&&(d.__shady.previousSibling=a);a.__shady.parentNode=b;c?c===b.__shady.firstChild&&(b.__shady.firstChild=a):(b.__shady.lastChild=a,b.__shady.firstChild||(b.__shady.firstChild=a));b.__shady.childNodes=null}
void 0!==this.__shady.firstChild){for(var a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return x.firstElementChild(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return x.lastElementChild(this)},configurable:!0},children:{get:function(){var a=t(this)?Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===
Node.ELEMENT_NODE}):x.children(this);a.item=function(b){return a[b]};return a},configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return t(this)?Za(a):x.innerHTML(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);var c=this.localName;c&&"template"!==c||(c="div");c=bb.createElement(c);for(ab&&ab.set?ab.set.call(c,a):c.innerHTML=a;c.firstChild;)b.appendChild(c.firstChild)},configurable:!0}},
fb={shadowRoot:{get:function(){return this.__shady&&this.__shady.xa||null},configurable:!0}},gb={activeElement:{get:function(){var a=cb&&cb.get?cb.get.call(document):r.F?void 0:document.activeElement;if(a&&a.nodeType){var b=!!u(this);if(this===document||b&&this.host!==a&&w.contains.call(this.host,a)){for(b=ka(a);b&&b!==this;)a=b.host,b=ka(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}};
function A(a,b,c){for(var d in b){var e=Object.getOwnPropertyDescriptor(a,d);e&&e.configurable||!e&&c?Object.defineProperty(a,d,b[d]):c&&console.warn("Could not define",d,"on",a)}}function B(a){A(a,db);A(a,eb);A(a,gb)}var hb=r.F?function(){}:function(a){a.__shady&&a.__shady.ka||(a.__shady=a.__shady||{},a.__shady.ka=!0,A(a,db,!0))},ib=r.F?function(){}:function(a){a.__shady&&a.__shady.ia||(a.__shady=a.__shady||{},a.__shady.ia=!0,A(a,eb,!0),A(a,fb,!0))};function jb(a,b,c){hb(a);c=c||null;a.__shady=a.__shady||{};b.__shady=b.__shady||{};c&&(c.__shady=c.__shady||{});a.__shady.previousSibling=c?c.__shady.previousSibling:b.lastChild;var d=a.__shady.previousSibling;d&&d.__shady&&(d.__shady.nextSibling=a);(d=a.__shady.nextSibling=c)&&d.__shady&&(d.__shady.previousSibling=a);a.__shady.parentNode=b;c?c===b.__shady.firstChild&&(b.__shady.firstChild=a):(b.__shady.lastChild=a,b.__shady.firstChild||(b.__shady.firstChild=a));b.__shady.childNodes=null}
function kb(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=x.firstChild(a);a.__shady.lastChild=x.lastChild(a);ib(a);for(var b=a.__shady.childNodes=x.childNodes(a),c=0,d;c<b.length&&(d=b[c]);c++)d.__shady=d.__shady||{},d.__shady.parentNode=a,d.__shady.nextSibling=b[c+1]||null,d.__shady.previousSibling=b[c-1]||null,hb(d)}};function lb(a,b,c){if(b===a)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(c){var d=c.__shady&&c.__shady.parentNode;if(void 0!==d&&d!==a||void 0===d&&x.parentNode(c)!==a)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(c===b)return b;b.parentNode&&mb(b.parentNode,b);d=ka(a);var e;if(e=d)a:{if(!b.__noInsertionPoint){var f;"slot"===b.localName?f=[b]:

@@ -36,29 +36,29 @@ b.querySelectorAll&&(f=b.querySelectorAll("slot"));if(f&&f.length){e=f;break a}}e=void 0}(f=e)&&d.C.push.apply(d.C,[].concat(f instanceof Array?f:ia(ha(f))));d&&("slot"===a.localName||f)&&C(d);if(t(a)){d=c;ib(a);a.__shady=a.__shady||{};void 0!==a.__shady.firstChild&&(a.__shady.childNodes=null);if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){f=b.childNodes;for(e=0;e<f.length;e++)jb(f[e],a,d);b.__shady=b.__shady||{};d=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=b.__shady.lastChild=d;

function mb(a,b){if(b.parentNode!==a)throw Error("The node to be removed is not a child of this node: "+b);var c=ka(b);if(t(a)){b.__shady=b.__shady||{};a.__shady=a.__shady||{};b===a.__shady.firstChild&&(a.__shady.firstChild=b.__shady.nextSibling);b===a.__shady.lastChild&&(a.__shady.lastChild=b.__shady.previousSibling);var d=b.__shady.previousSibling,e=b.__shady.nextSibling;d&&(d.__shady=d.__shady||{},d.__shady.nextSibling=e);e&&(e.__shady=e.__shady||{},e.__shady.previousSibling=d);b.__shady.parentNode=
b.__shady.previousSibling=b.__shady.nextSibling=void 0;void 0!==a.__shady.childNodes&&(a.__shady.childNodes=null);if(nb(a)){C(a.__shady.root);var f=!0}}qb(b);if(c){(d=a&&"slot"===a.localName)&&(f=!0);rb(c);e=c.h;for(var h in e)for(var g=e[h],k=0;k<g.length;k++){var l=g[k];if(ua(b,l)){g.splice(k,1);var m=c.l.indexOf(l);0<=m&&c.l.splice(m,1);k--;if(m=l.__shady.D)for(l=0;l<m.length;l++){var q=m[l],H=x.parentNode(q);H&&w.removeChild.call(H,q)}m=!0}}(m||d)&&C(c)}f||(f=u(a)?a.host:a,(!a.__shady.root&&"slot"!==
b.localName||f===x.parentNode(b))&&w.removeChild.call(f,b));pb(a,null,b);return b}function qb(a){if(a.__shady&&void 0!==a.__shady.aa)for(var b=a.childNodes,c=0,d=b.length,e;c<d&&(e=b[c]);c++)qb(e);a.__shady&&(a.__shady.aa=void 0)}function ob(a){var b=a;a&&"slot"===a.localName&&(b=(b=a.__shady&&a.__shady.D)&&b.length?b[0]:ob(a.nextSibling));return b}function nb(a){return(a=a&&a.__shady&&a.__shady.root)&&sb(a)}
function tb(a,b){if("slot"===b)a=a.parentNode,nb(a)&&C(a.__shady.root);else if("slot"===a.localName&&"name"===b&&(b=ka(a))){var c=a.oa,d=ub(a);if(d!==c){c=b.h[c];var e=c.indexOf(a);0<=e&&c.splice(e,1);c=b.h[d]||(b.h[d]=[]);c.push(a);1<c.length&&(b.h[d]=vb(c))}C(b)}}function pb(a,b,c){if(a=a.__shady&&a.__shady.G)b&&a.addedNodes.push(b),c&&a.removedNodes.push(c),Aa(a)}
function wb(a){if(a&&a.nodeType){a.__shady=a.__shady||{};var b=a.__shady.aa;void 0===b&&(u(a)?b=a:b=(b=a.parentNode)?wb(b):a,w.contains.call(document.documentElement,a)&&(a.__shady.aa=b));return b}}function xb(a,b,c){var d=[];yb(a.childNodes,b,c,d);return d}function yb(a,b,c,d){for(var e=0,f=a.length,h;e<f&&(h=a[e]);e++){var g;if(g=h.nodeType===Node.ELEMENT_NODE){g=h;var k=b,l=c,m=d,q=k(g);q&&m.push(g);l&&l(q)?g=q:(yb(g.childNodes,k,l,m),g=void 0)}if(g)break}}var zb=null;
b.__shady.previousSibling=b.__shady.nextSibling=void 0;void 0!==a.__shady.childNodes&&(a.__shady.childNodes=null);if(nb(a)){C(a.__shady.root);var f=!0}}qb(b);if(c){(d=a&&"slot"===a.localName)&&(f=!0);rb(c);e=c.i;for(var h in e)for(var g=e[h],k=0;k<g.length;k++){var l=g[k];if(ua(b,l)){g.splice(k,1);var m=c.l.indexOf(l);0<=m&&c.l.splice(m,1);k--;if(m=l.__shady.D)for(l=0;l<m.length;l++){var q=m[l],H=x.parentNode(q);H&&w.removeChild.call(H,q)}m=!0}}(m||d)&&C(c)}f||(f=u(a)?a.host:a,(!a.__shady.root&&"slot"!==
b.localName||f===x.parentNode(b))&&w.removeChild.call(f,b));pb(a,null,b);return b}function qb(a){if(a.__shady&&void 0!==a.__shady.$)for(var b=a.childNodes,c=0,d=b.length,e;c<d&&(e=b[c]);c++)qb(e);a.__shady&&(a.__shady.$=void 0)}function ob(a){var b=a;a&&"slot"===a.localName&&(b=(b=a.__shady&&a.__shady.D)&&b.length?b[0]:ob(a.nextSibling));return b}function nb(a){return(a=a&&a.__shady&&a.__shady.root)&&sb(a)}
function tb(a,b){if("slot"===b)a=a.parentNode,nb(a)&&C(a.__shady.root);else if("slot"===a.localName&&"name"===b&&(b=ka(a))){var c=a.la,d=ub(a);if(d!==c){c=b.i[c];var e=c.indexOf(a);0<=e&&c.splice(e,1);c=b.i[d]||(b.i[d]=[]);c.push(a);1<c.length&&(b.i[d]=vb(c))}C(b)}}function pb(a,b,c){if(a=a.__shady&&a.__shady.G)b&&a.addedNodes.push(b),c&&a.removedNodes.push(c),Aa(a)}
function wb(a){if(a&&a.nodeType){a.__shady=a.__shady||{};var b=a.__shady.$;void 0===b&&(b=u(a)?a:(b=a.parentNode)?wb(b):a,w.contains.call(document.documentElement,a)&&(a.__shady.$=b));return b}}function xb(a,b,c){var d=[];yb(a.childNodes,b,c,d);return d}function yb(a,b,c,d){for(var e=0,f=a.length,h;e<f&&(h=a[e]);e++){var g;if(g=h.nodeType===Node.ELEMENT_NODE){g=h;var k=b,l=c,m=d,q=k(g);q&&m.push(g);l&&l(q)?g=q:(yb(g.childNodes,k,l,m),g=void 0)}if(g)break}}var zb=null;
function Ab(a,b,c){zb||(zb=window.ShadyCSS&&window.ShadyCSS.ScopingShim);zb&&"class"===b?zb.setElementClass(a,c):(w.setAttribute.call(a,b,c),tb(a,b))}function Bb(a,b){if(a.ownerDocument!==document)return w.importNode.call(document,a,b);var c=w.importNode.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=Bb(a[b],!0),c.appendChild(d)}return c};var Cb="__eventWrappers"+Date.now(),Db={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};function Eb(a,b){var c=[],d=a;for(a=a===window?window:a.getRootNode();d;)c.push(d),d=d.assignedSlot?d.assignedSlot:d.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&d.host&&(b||d!==a)?d.host:d.parentNode;c[c.length-1]===document&&c.push(window);return c}
function Fb(a,b){if(!u)return a;a=Eb(a,!0);for(var c=0,d,e,f,h;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(h=a.indexOf(f),e=f),!u(f)||-1<h)return d}
var Gb={get composed(){!1!==this.isTrusted&&void 0===this.P&&(this.P=Db[this.type]);return this.P||!1},composedPath:function(){this.ba||(this.ba=Eb(this.__target,this.composed));return this.ba},get target(){return Fb(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.S)return null;this.ca||(this.ca=Eb(this.S,!0));return Fb(this.currentTarget,this.ca)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.R=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);
this.R=this.ka=!0}};function Hb(a){function b(b,d){b=new a(b,d);b.P=d&&!!d.composed;return b}oa(b,a);b.prototype=a.prototype;return b}var Ib={focus:!0,blur:!0};function Jb(a){return a.__target!==a.target||a.S!==a.relatedTarget}function Kb(a,b,c){if(c=b.__handlers&&b.__handlers[a.type]&&b.__handlers[a.type][c])for(var d=0,e;(e=c[d])&&(!Jb(a)||a.target!==a.relatedTarget)&&(e.call(b,a),!a.ka);d++);}
function Lb(a){var b=a.composedPath();Object.defineProperty(a,"currentTarget",{get:function(){return d},configurable:!0});for(var c=b.length-1;0<=c;c--){var d=b[c];Kb(a,d,"capture");if(a.R)return}Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});var e;for(c=0;c<b.length;c++){d=b[c];var f=d.__shady&&d.__shady.root;if(0===c||f&&f===e)if(Kb(a,d,"bubble"),d!==window&&(e=d.getRootNode()),a.R)break}}
var Gb={get composed(){!1!==this.isTrusted&&void 0===this.P&&(this.P=Db[this.type]);return this.P||!1},composedPath:function(){this.b||(this.b=Eb(this.__target,this.composed));return this.b},get target(){return Fb(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.R)return null;this.c||(this.c=Eb(this.R,!0));return Fb(this.currentTarget,this.c)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.a=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);
this.a=this.f=!0}};function Hb(a){function b(b,d){b=new a(b,d);b.P=d&&!!d.composed;return b}oa(b,a);b.prototype=a.prototype;return b}var Ib={focus:!0,blur:!0};function Jb(a){return a.__target!==a.target||a.R!==a.relatedTarget}function Kb(a,b,c){if(c=b.__handlers&&b.__handlers[a.type]&&b.__handlers[a.type][c])for(var d=0,e;(e=c[d])&&(!Jb(a)||a.target!==a.relatedTarget)&&(e.call(b,a),!a.f);d++);}
function Lb(a){var b=a.composedPath();Object.defineProperty(a,"currentTarget",{get:function(){return d},configurable:!0});for(var c=b.length-1;0<=c;c--){var d=b[c];Kb(a,d,"capture");if(a.a)return}Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});var e;for(c=0;c<b.length;c++){d=b[c];var f=d.__shady&&d.__shady.root;if(0===c||f&&f===e)if(Kb(a,d,"bubble"),d!==window&&(e=d.getRootNode()),a.a)break}}
function Mb(a,b,c,d,e,f){for(var h=0;h<a.length;h++){var g=a[h],k=g.type,l=g.capture,m=g.once,q=g.passive;if(b===g.node&&c===k&&d===l&&e===m&&f===q)return h}return-1}
function Nb(a,b,c){if(b){if(c&&"object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var h=c&&c.T||this,g=b[Cb];if(g){if(-1<Mb(g,h,a,d,e,f))return}else b[Cb]=[];g=function(d){e&&this.removeEventListener(a,b,c);d.__target||Ob(d);if(h!==this){var f=Object.getOwnPropertyDescriptor(d,"currentTarget");Object.defineProperty(d,"currentTarget",{get:function(){return h},configurable:!0})}if(d.composed||-1<d.composedPath().indexOf(h))if(Jb(d)&&d.target===d.relatedTarget)d.eventPhase===
Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===h||h instanceof Window){var g="object"===typeof b&&b.handleEvent?b.handleEvent(d):b.call(h,d);h!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return g}};b[Cb].push({node:this,type:a,capture:d,once:e,passive:f,Ha:g});Ib[a]?(this.__handlers=this.__handlers||{},this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]},this.__handlers[a][d?
"capture":"bubble"].push(g)):(this instanceof Window?w.Fa:w.addEventListener).call(this,a,g,c)}}
function Pb(a,b,c){if(b){if(c&&"object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var h=c&&c.T||this,g=void 0;var k=null;try{k=b[Cb]}catch(l){}k&&(e=Mb(k,h,a,d,e,f),-1<e&&(g=k.splice(e,1)[0].Ha,k.length||(b[Cb]=void 0)));(this instanceof Window?w.Ga:w.removeEventListener).call(this,a,g||b,c);g&&Ib[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][d?"capture":"bubble"],g=a.indexOf(g),-1<g&&a.splice(g,1))}}
function Qb(){for(var a in Ib)window.addEventListener(a,function(a){a.__target||(Ob(a),Lb(a))},!0)}function Ob(a){a.__target=a.target;a.S=a.relatedTarget;if(r.F){var b=Object.getPrototypeOf(a);if(!b.hasOwnProperty("__patchProto")){var c=Object.create(b);c.Ja=b;ma(c,Gb);b.__patchProto=c}a.__proto__=b.__patchProto}else ma(a,Gb)}var Rb=Hb(window.Event),Sb=Hb(window.CustomEvent),Tb=Hb(window.MouseEvent);function Ub(a,b){return{index:a,H:[],L:b}}
function Nb(a,b,c){if(b){var d=typeof b;if("function"===d||"object"===d)if("object"!==d||b.handleEvent&&"function"===typeof b.handleEvent){if(c&&"object"===typeof c){var e=!!c.capture;var f=!!c.once;var h=!!c.passive}else e=!!c,h=f=!1;var g=c&&c.S||this,k=b[Cb];if(k){if(-1<Mb(k,g,a,e,f,h))return}else b[Cb]=[];k=function(e){f&&this.removeEventListener(a,b,c);e.__target||Ob(e);if(g!==this){var h=Object.getOwnPropertyDescriptor(e,"currentTarget");Object.defineProperty(e,"currentTarget",{get:function(){return g},
configurable:!0})}if(e.composed||-1<e.composedPath().indexOf(g))if(Jb(e)&&e.target===e.relatedTarget)e.eventPhase===Event.BUBBLING_PHASE&&e.stopImmediatePropagation();else if(e.eventPhase===Event.CAPTURING_PHASE||e.bubbles||e.target===g||g instanceof Window){var k="function"===d?b.call(g,e):b.handleEvent&&b.handleEvent(e);g!==this&&(h?(Object.defineProperty(e,"currentTarget",h),h=null):delete e.currentTarget);return k}};b[Cb].push({node:this,type:a,capture:e,once:f,passive:h,Fa:k});Ib[a]?(this.__handlers=
this.__handlers||{},this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]},this.__handlers[a][e?"capture":"bubble"].push(k)):(this instanceof Window?w.Da:w.addEventListener).call(this,a,k,c)}}}
function Pb(a,b,c){if(b){if(c&&"object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var h=c&&c.S||this,g=void 0;var k=null;try{k=b[Cb]}catch(l){}k&&(e=Mb(k,h,a,d,e,f),-1<e&&(g=k.splice(e,1)[0].Fa,k.length||(b[Cb]=void 0)));(this instanceof Window?w.Ea:w.removeEventListener).call(this,a,g||b,c);g&&Ib[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][d?"capture":"bubble"],g=a.indexOf(g),-1<g&&a.splice(g,1))}}
function Qb(){for(var a in Ib)window.addEventListener(a,function(a){a.__target||(Ob(a),Lb(a))},!0)}function Ob(a){a.__target=a.target;a.R=a.relatedTarget;if(r.F){var b=Object.getPrototypeOf(a);if(!b.hasOwnProperty("__patchProto")){var c=Object.create(b);c.Ha=b;ma(c,Gb);b.__patchProto=c}a.__proto__=b.__patchProto}else ma(a,Gb)}var Rb=Hb(window.Event),Sb=Hb(window.CustomEvent),Tb=Hb(window.MouseEvent);function Ub(a,b){return{index:a,H:[],L:b}}
function Vb(a,b,c,d){var e=0,f=0,h=0,g=0,k=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(h=0;h<k;h++)if(a[h]!==c[h])break a;h=k}if(b==a.length&&d==c.length){g=a.length;for(var l=c.length,m=0;m<k-h&&Wb(a[--g],c[--l]);)m++;g=m}e+=h;f+=h;b-=g;d-=g;if(0==b-e&&0==d-f)return[];if(e==b){for(b=Ub(e,0);f<d;)b.H.push(c[f++]);return[b]}if(f==d)return[Ub(e,b-e)];k=e;h=f;d=d-h+1;g=b-k+1;b=Array(d);for(l=0;l<d;l++)b[l]=Array(g),b[l][0]=l;for(l=0;l<g;l++)b[0][l]=l;for(l=1;l<d;l++)for(m=1;m<g;m++)if(a[k+m-1]===c[h+l-1])b[l][m]=
b[l-1][m-1];else{var q=b[l-1][m]+1,H=b[l][m-1]+1;b[l][m]=q<H?q:H}k=b.length-1;h=b[0].length-1;d=b[k][h];for(a=[];0<k||0<h;)0==k?(a.push(2),h--):0==h?(a.push(3),k--):(g=b[k-1][h-1],l=b[k-1][h],m=b[k][h-1],q=l<m?l<g?l:g:m<g?m:g,q==g?(g==d?a.push(0):(a.push(1),d=g),k--,h--):q==l?(a.push(3),k--,d=l):(a.push(2),h--,d=m));a.reverse();b=void 0;k=[];for(h=0;h<a.length;h++)switch(a[h]){case 0:b&&(k.push(b),b=void 0);e++;f++;break;case 1:b||(b=Ub(e,0));b.L++;e++;b.H.push(c[f]);f++;break;case 2:b||(b=Ub(e,0));
b.L++;e++;break;case 3:b||(b=Ub(e,0)),b.H.push(c[f]),f++}b&&k.push(b);return k}function Wb(a,b){return a===b};var Xb={};function D(a,b,c){if(a!==Xb)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=D.prototype;a.ma="ShadyRoot";kb(b);kb(a);a.host=b;a.a=c&&c.mode;b.__shady=b.__shady||{};b.__shady.root=a;b.__shady.za="closed"!==a.a?a:null;a.K=!1;a.l=[];a.h={};a.C=[];c=x.childNodes(b);for(var d=0,e=c.length;d<e;d++)w.removeChild.call(b,c[d]);return a}D.prototype=Object.create(DocumentFragment.prototype);function C(a){a.K||(a.K=!0,xa(function(){return Yb(a)}))}
b.L++;e++;break;case 3:b||(b=Ub(e,0)),b.H.push(c[f]),f++}b&&k.push(b);return k}function Wb(a,b){return a===b};var Xb={};function D(a,b,c){if(a!==Xb)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=D.prototype;a.ja="ShadyRoot";kb(b);kb(a);a.host=b;a.oa=c&&c.mode;b.__shady=b.__shady||{};b.__shady.root=a;b.__shady.xa="closed"!==a.oa?a:null;a.K=!1;a.l=[];a.i={};a.C=[];c=x.childNodes(b);for(var d=0,e=c.length;d<e;d++)w.removeChild.call(b,c[d]);return a}D.prototype=Object.create(DocumentFragment.prototype);function C(a){a.K||(a.K=!0,xa(function(){return Yb(a)}))}
function Yb(a){for(var b;a;){a.K&&(b=a);a:{var c=a;a=c.host.getRootNode();if(u(a))for(var d=c.host.childNodes,e=0;e<d.length;e++)if(c=d[e],"slot"==c.localName)break a;a=void 0}}b&&b._renderRoot()}
D.prototype._renderRoot=function(){this.K=!1;rb(this);for(var a=0,b;a<this.l.length;a++){b=this.l[a];var c=b.__shady.assignedNodes;b.__shady.assignedNodes=[];b.__shady.D=[];if(b.__shady.da=c)for(var d=0;d<c.length;d++){var e=c[d];e.__shady.X=e.__shady.assignedSlot;e.__shady.assignedSlot===b&&(e.__shady.assignedSlot=null)}}for(b=this.host.firstChild;b;b=b.nextSibling)Zb(this,b);for(a=0;a<this.l.length;a++){b=this.l[a];if(!b.__shady.assignedNodes.length)for(c=b.firstChild;c;c=c.nextSibling)Zb(this,
c,b);c=b.parentNode;(c=c.__shady&&c.__shady.root)&&sb(c)&&c._renderRoot();$b(this,b.__shady.D,b.__shady.assignedNodes);if(c=b.__shady.da){for(d=0;d<c.length;d++)c[d].__shady.X=null;b.__shady.da=null;c.length>b.__shady.assignedNodes.length&&(b.__shady.Z=!0)}b.__shady.Z&&(b.__shady.Z=!1,ac(this,b))}a=this.l;b=[];for(c=0;c<a.length;c++)d=a[c].parentNode,d.__shady&&d.__shady.root||!(0>b.indexOf(d))||b.push(d);for(a=0;a<b.length;a++){c=b[a];d=c===this?this.host:c;e=[];c=c.childNodes;for(var f=0;f<c.length;f++){var h=
D.prototype._renderRoot=function(){this.K=!1;rb(this);for(var a=0,b;a<this.l.length;a++){b=this.l[a];var c=b.__shady.assignedNodes;b.__shady.assignedNodes=[];b.__shady.D=[];if(b.__shady.aa=c)for(var d=0;d<c.length;d++){var e=c[d];e.__shady.W=e.__shady.assignedSlot;e.__shady.assignedSlot===b&&(e.__shady.assignedSlot=null)}}for(b=this.host.firstChild;b;b=b.nextSibling)Zb(this,b);for(a=0;a<this.l.length;a++){b=this.l[a];if(!b.__shady.assignedNodes.length)for(c=b.firstChild;c;c=c.nextSibling)Zb(this,
c,b);c=b.parentNode;(c=c.__shady&&c.__shady.root)&&sb(c)&&c._renderRoot();$b(this,b.__shady.D,b.__shady.assignedNodes);if(c=b.__shady.aa){for(d=0;d<c.length;d++)c[d].__shady.W=null;b.__shady.aa=null;c.length>b.__shady.assignedNodes.length&&(b.__shady.Y=!0)}b.__shady.Y&&(b.__shady.Y=!1,ac(this,b))}a=this.l;b=[];for(c=0;c<a.length;c++)d=a[c].parentNode,d.__shady&&d.__shady.root||!(0>b.indexOf(d))||b.push(d);for(a=0;a<b.length;a++){c=b[a];d=c===this?this.host:c;e=[];c=c.childNodes;for(var f=0;f<c.length;f++){var h=
c[f];if("slot"==h.localName){h=h.__shady.D;for(var g=0;g<h.length;g++)e.push(h[g])}else e.push(h)}c=void 0;f=x.childNodes(d);h=Vb(e,e.length,f,f.length);for(var k=g=0;g<h.length&&(c=h[g]);g++){for(var l=0,m;l<c.H.length&&(m=c.H[l]);l++)x.parentNode(m)===d&&w.removeChild.call(d,m),f.splice(c.index+k,1);k-=c.L}for(k=0;k<h.length&&(c=h[k]);k++)for(g=f[c.index],l=c.index;l<c.index+c.L;l++)m=e[l],w.insertBefore.call(d,m,g),f.splice(l,0,m)}};
function Zb(a,b,c){b.__shady=b.__shady||{};var d=b.__shady.X;b.__shady.X=null;c||(c=(a=a.h[b.slot||"__catchall"])&&a[0]);c?(c.__shady.assignedNodes.push(b),b.__shady.assignedSlot=c):b.__shady.assignedSlot=void 0;d!==b.__shady.assignedSlot&&b.__shady.assignedSlot&&(b.__shady.assignedSlot.__shady.Z=!0)}function $b(a,b,c){for(var d=0,e;d<c.length&&(e=c[d]);d++)if("slot"==e.localName){var f=e.__shady.assignedNodes;f&&f.length&&$b(a,b,f)}else b.push(c[d])}
function ac(a,b){w.dispatchEvent.call(b,new Event("slotchange"));b.__shady.assignedSlot&&ac(a,b.__shady.assignedSlot)}function rb(a){if(a.C.length){for(var b=a.C,c,d=0;d<b.length;d++){var e=b[d];e.__shady=e.__shady||{};kb(e);kb(e.parentNode);var f=ub(e);a.h[f]?(c=c||{},c[f]=!0,a.h[f].push(e)):a.h[f]=[e];a.l.push(e)}if(c)for(var h in c)a.h[h]=vb(a.h[h]);a.C=[]}}function ub(a){var b=a.name||a.getAttribute("name")||"__catchall";return a.oa=b}
function vb(a){return a.sort(function(a,c){a=bc(a);for(var b=bc(c),e=0;e<a.length;e++){c=a[e];var f=b[e];if(c!==f)return a=Array.from(c.parentNode.childNodes),a.indexOf(c)-a.indexOf(f)}})}function bc(a){var b=[];do b.unshift(a);while(a=a.parentNode);return b}function sb(a){rb(a);return!!a.l.length}D.prototype.addEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.T=this;this.host.addEventListener(a,b,c)};
D.prototype.removeEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.T=this;this.host.removeEventListener(a,b,c)};D.prototype.getElementById=function(a){return xb(this,function(b){return b.id==a},function(a){return!!a})[0]||null};var cc=D.prototype;A(cc,eb,!0);A(cc,gb,!0);function dc(a){var b=a.getRootNode();u(b)&&Yb(b);return a.__shady&&a.__shady.assignedSlot||null}
function Zb(a,b,c){b.__shady=b.__shady||{};var d=b.__shady.W;b.__shady.W=null;c||(c=(a=a.i[b.slot||"__catchall"])&&a[0]);c?(c.__shady.assignedNodes.push(b),b.__shady.assignedSlot=c):b.__shady.assignedSlot=void 0;d!==b.__shady.assignedSlot&&b.__shady.assignedSlot&&(b.__shady.assignedSlot.__shady.Y=!0)}function $b(a,b,c){for(var d=0,e;d<c.length&&(e=c[d]);d++)if("slot"==e.localName){var f=e.__shady.assignedNodes;f&&f.length&&$b(a,b,f)}else b.push(c[d])}
function ac(a,b){w.dispatchEvent.call(b,new Event("slotchange"));b.__shady.assignedSlot&&ac(a,b.__shady.assignedSlot)}function rb(a){if(a.C.length){for(var b=a.C,c,d=0;d<b.length;d++){var e=b[d];e.__shady=e.__shady||{};kb(e);kb(e.parentNode);var f=ub(e);a.i[f]?(c=c||{},c[f]=!0,a.i[f].push(e)):a.i[f]=[e];a.l.push(e)}if(c)for(var h in c)a.i[h]=vb(a.i[h]);a.C=[]}}function ub(a){var b=a.name||a.getAttribute("name")||"__catchall";return a.la=b}
function vb(a){return a.sort(function(a,c){a=bc(a);for(var b=bc(c),e=0;e<a.length;e++){c=a[e];var f=b[e];if(c!==f)return a=Array.from(c.parentNode.childNodes),a.indexOf(c)-a.indexOf(f)}})}function bc(a){var b=[];do b.unshift(a);while(a=a.parentNode);return b}function sb(a){rb(a);return!!a.l.length}D.prototype.addEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.S=this;this.host.addEventListener(a,b,c)};
D.prototype.removeEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.S=this;this.host.removeEventListener(a,b,c)};D.prototype.getElementById=function(a){return xb(this,function(b){return b.id==a},function(a){return!!a})[0]||null};var cc=D.prototype;A(cc,eb,!0);A(cc,gb,!0);function dc(a){var b=a.getRootNode();u(b)&&Yb(b);return a.__shady&&a.__shady.assignedSlot||null}
var ec={addEventListener:Nb.bind(window),removeEventListener:Pb.bind(window)},fc={addEventListener:Nb,removeEventListener:Pb,appendChild:function(a){return lb(this,a)},insertBefore:function(a,b){return lb(this,a,b)},removeChild:function(a){return mb(this,a)},replaceChild:function(a,b){lb(this,a,b);mb(this,b);return a},cloneNode:function(a){if("template"==this.localName)var b=w.cloneNode.call(this,a);else if(b=w.cloneNode.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),

@@ -68,19 +68,19 @@ b.appendChild(d)}return b},getRootNode:function(){return wb(this)},contains:function(a){return ua(this,a)},get isConnected(){var a=this.ownerDocument;if(ta&&w.contains.call(a,this)||a.documentElement&&w.contains.call(a.documentElement,this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof D?a.host:void 0);return!!(a&&a instanceof Document)},dispatchEvent:function(a){ya();return w.dispatchEvent.call(this,a)}},gc={get assignedSlot(){return dc(this)}},hc={querySelector:function(a){return xb(this,

if(!a)throw"Not enough arguments.";return new D(Xb,this,a)},get slot(){return this.getAttribute("slot")},set slot(a){Ab(this,"slot",a)},get assignedSlot(){return dc(this)}},hc,ic);Object.defineProperties(jc,fb);var kc=na({importNode:function(a,b){return Bb(a,b)},getElementById:function(a){return xb(this,function(b){return b.id==a},function(a){return!!a})[0]||null}},hc);Object.defineProperties(kc,{_activeElement:gb.activeElement});
var lc=HTMLElement.prototype.blur,mc=na({blur:function(){var a=this.__shady&&this.__shady.root;(a=a&&a.activeElement)?a.blur():lc.call(this)}});function E(a,b){for(var c=Object.getOwnPropertyNames(b),d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}};if(r.ga){var ShadyDOM={inUse:r.ga,patch:function(a){return a},isShadyRoot:u,enqueue:xa,flush:ya,settings:r,filterMutations:Ea,observeChildren:Ca,unobserveChildren:Da,nativeMethods:w,nativeTree:x};window.ShadyDOM=ShadyDOM;window.Event=Rb;window.CustomEvent=Sb;window.MouseEvent=Tb;Qb();var nc=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;E(window.Node.prototype,fc);E(window.Window.prototype,ec);E(window.Text.prototype,gc);E(window.DocumentFragment.prototype,hc);E(window.Element.prototype,
var lc=HTMLElement.prototype.blur,mc=na({blur:function(){var a=this.__shady&&this.__shady.root;(a=a&&a.activeElement)?a.blur():lc.call(this)}});function E(a,b){for(var c=Object.getOwnPropertyNames(b),d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}};if(r.ea){var ShadyDOM={inUse:r.ea,patch:function(a){return a},isShadyRoot:u,enqueue:xa,flush:ya,settings:r,filterMutations:Ea,observeChildren:Ca,unobserveChildren:Da,nativeMethods:w,nativeTree:x};window.ShadyDOM=ShadyDOM;window.Event=Rb;window.CustomEvent=Sb;window.MouseEvent=Tb;Qb();var nc=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;E(window.Node.prototype,fc);E(window.Window.prototype,ec);E(window.Text.prototype,gc);E(window.DocumentFragment.prototype,hc);E(window.Element.prototype,
jc);E(window.Document.prototype,kc);window.HTMLSlotElement&&E(window.HTMLSlotElement.prototype,ic);E(nc.prototype,mc);r.F&&(B(window.Node.prototype),B(window.Text.prototype),B(window.DocumentFragment.prototype),B(window.Element.prototype),B(nc.prototype),B(window.Document.prototype),window.HTMLSlotElement&&B(window.HTMLSlotElement.prototype));window.ShadowRoot=D};var oc=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function pc(a){var b=oc.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function F(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||a instanceof Document))}
function qc(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}
function G(a,b,c){c=void 0===c?new Set:c;for(var d=a;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)G(d,b,c);d=qc(a,e);continue}else if("template"===f){d=qc(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)G(e,b,c)}d=d.firstChild?d.firstChild:qc(a,d)}}function I(a,b,c){a[b]=c};function rc(){this.a=new Map;this.u=new Map;this.i=[];this.c=!1}function sc(a,b,c){a.a.set(b,c);a.u.set(c.constructor,c)}function tc(a,b){a.c=!0;a.i.push(b)}function uc(a,b){a.c&&G(b,function(b){return a.b(b)})}rc.prototype.b=function(a){if(this.c&&!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.i.length;b++)this.i[b](a)}};function J(a,b){var c=[];G(b,function(a){return c.push(a)});for(b=0;b<c.length;b++){var d=c[b];1===d.__CE_state?a.connectedCallback(d):vc(a,d)}}
function G(a,b,c){c=void 0===c?new Set:c;for(var d=a;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)G(d,b,c);d=qc(a,e);continue}else if("template"===f){d=qc(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)G(e,b,c)}d=d.firstChild?d.firstChild:qc(a,d)}}function I(a,b,c){a[b]=c};function rc(){this.a=new Map;this.A=new Map;this.f=[];this.c=!1}function sc(a,b,c){a.a.set(b,c);a.A.set(c.constructor,c)}function tc(a,b){a.c=!0;a.f.push(b)}function uc(a,b){a.c&&G(b,function(b){return a.b(b)})}rc.prototype.b=function(a){if(this.c&&!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.f.length;b++)this.f[b](a)}};function J(a,b){var c=[];G(b,function(a){return c.push(a)});for(b=0;b<c.length;b++){var d=c[b];1===d.__CE_state?a.connectedCallback(d):vc(a,d)}}
function K(a,b){var c=[];G(b,function(a){return c.push(a)});for(b=0;b<c.length;b++){var d=c[b];1===d.__CE_state&&a.disconnectedCallback(d)}}
function L(a,b,c){c=void 0===c?{}:c;var d=c.Ea||new Set,e=c.ia||function(b){return vc(a,b)},f=[];G(b,function(b){if("link"===b.localName&&"import"===b.getAttribute("rel")){var c=b.import;c instanceof Node&&(c.__CE_isImportDocument=!0,c.__CE_hasRegistry=!0);c&&"complete"===c.readyState?c.__CE_documentLoadHandled=!0:b.addEventListener("load",function(){var c=b.import;if(!c.__CE_documentLoadHandled){c.__CE_documentLoadHandled=!0;var f=new Set(d);f.delete(c);L(a,c,{Ea:f,ia:e})}})}else f.push(b)},d);if(a.c)for(b=
function L(a,b,c){c=void 0===c?{}:c;var d=c.Ca||new Set,e=c.ga||function(b){return vc(a,b)},f=[];G(b,function(b){if("link"===b.localName&&"import"===b.getAttribute("rel")){var c=b.import;c instanceof Node&&(c.__CE_isImportDocument=!0,c.__CE_hasRegistry=!0);c&&"complete"===c.readyState?c.__CE_documentLoadHandled=!0:b.addEventListener("load",function(){var c=b.import;if(!c.__CE_documentLoadHandled){c.__CE_documentLoadHandled=!0;var f=new Set(d);f.delete(c);L(a,c,{Ca:f,ga:e})}})}else f.push(b)},d);if(a.c)for(b=
0;b<f.length;b++)a.b(f[b]);for(b=0;b<f.length;b++)e(f[b])}
function vc(a,b){if(void 0===b.__CE_state){var c=b.ownerDocument;if(c.defaultView||c.__CE_isImportDocument&&c.__CE_hasRegistry)if(c=a.a.get(b.localName)){c.constructionStack.push(b);var d=c.constructor;try{try{if(new d!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{c.constructionStack.pop()}}catch(h){throw b.__CE_state=2,h;}b.__CE_state=1;b.__CE_definition=c;if(c.attributeChangedCallback)for(c=c.observedAttributes,d=0;d<c.length;d++){var e=c[d],
f=b.getAttribute(e);null!==f&&a.attributeChangedCallback(b,e,null,f,null)}F(b)&&a.connectedCallback(b)}}}rc.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};rc.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};
rc.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,c,d,e)};function wc(a){var b=document;this.g=a;this.a=b;this.w=void 0;L(this.g,this.a);"loading"===this.a.readyState&&(this.w=new MutationObserver(this.b.bind(this)),this.w.observe(this.a,{childList:!0,subtree:!0}))}function xc(a){a.w&&a.w.disconnect()}wc.prototype.b=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||xc(this);for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)L(this.g,c[d])};function yc(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function zc(a){if(a.a)throw Error("Already resolved.");a.a=void 0;a.b&&a.b(void 0)};function M(a){this.U=!1;this.g=a;this.Y=new Map;this.V=function(a){return a()};this.J=!1;this.W=[];this.qa=new wc(a)}
M.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!pc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.g.a.get(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.U)throw Error("A custom element is already being defined.");this.U=!0;try{var d=function(a){var b=e[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");
return b},e=b.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=d("connectedCallback");var h=d("disconnectedCallback");var g=d("adoptedCallback");var k=d("attributeChangedCallback");var l=b.observedAttributes||[]}catch(m){return}finally{this.U=!1}b={localName:a,constructor:b,connectedCallback:f,disconnectedCallback:h,adoptedCallback:g,attributeChangedCallback:k,observedAttributes:l,constructionStack:[]};sc(this.g,a,b);this.W.push(b);
this.J||(this.J=!0,this.V(function(){return Ac(c)}))};function Ac(a){if(!1!==a.J){a.J=!1;for(var b=a.W,c=[],d=new Map,e=0;e<b.length;e++)d.set(b[e].localName,[]);L(a.g,document,{ia:function(b){if(void 0===b.__CE_state){var e=b.localName,f=d.get(e);f?f.push(b):a.g.a.get(e)&&c.push(b)}}});for(e=0;e<c.length;e++)vc(a.g,c[e]);for(;0<b.length;){var f=b.shift();e=f.localName;f=d.get(f.localName);for(var h=0;h<f.length;h++)vc(a.g,f[h]);(e=a.Y.get(e))&&zc(e)}}}M.prototype.get=function(a){if(a=this.g.a.get(a))return a.constructor};
M.prototype.whenDefined=function(a){if(!pc(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.Y.get(a);if(b)return b.c;b=new yc;this.Y.set(a,b);this.g.a.get(a)&&!this.W.some(function(b){return b.localName===a})&&zc(b);return b.c};M.prototype.ya=function(a){xc(this.qa);var b=this.V;this.V=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=M;M.prototype.define=M.prototype.define;M.prototype.get=M.prototype.get;
M.prototype.whenDefined=M.prototype.whenDefined;M.prototype.polyfillWrapFlushCallback=M.prototype.ya;var Bc=window.Document.prototype.createElement,Cc=window.Document.prototype.createElementNS,Dc=window.Document.prototype.importNode,Ec=window.Document.prototype.prepend,Fc=window.Document.prototype.append,Gc=window.DocumentFragment.prototype.prepend,Hc=window.DocumentFragment.prototype.append,Ic=window.Node.prototype.cloneNode,Jc=window.Node.prototype.appendChild,Kc=window.Node.prototype.insertBefore,Lc=window.Node.prototype.removeChild,Mc=window.Node.prototype.replaceChild,Nc=Object.getOwnPropertyDescriptor(window.Node.prototype,
rc.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,c,d,e)};function wc(a){var b=document;this.h=a;this.a=b;this.v=void 0;L(this.h,this.a);"loading"===this.a.readyState&&(this.v=new MutationObserver(this.b.bind(this)),this.v.observe(this.a,{childList:!0,subtree:!0}))}function xc(a){a.v&&a.v.disconnect()}wc.prototype.b=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||xc(this);for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)L(this.h,c[d])};function yc(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function zc(a){if(a.a)throw Error("Already resolved.");a.a=void 0;a.b&&a.b(void 0)};function M(a){this.T=!1;this.h=a;this.X=new Map;this.U=function(a){return a()};this.J=!1;this.V=[];this.na=new wc(a)}
M.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!pc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.h.a.get(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.T)throw Error("A custom element is already being defined.");this.T=!0;try{var d=function(a){var b=e[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");
return b},e=b.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=d("connectedCallback");var h=d("disconnectedCallback");var g=d("adoptedCallback");var k=d("attributeChangedCallback");var l=b.observedAttributes||[]}catch(m){return}finally{this.T=!1}b={localName:a,constructor:b,connectedCallback:f,disconnectedCallback:h,adoptedCallback:g,attributeChangedCallback:k,observedAttributes:l,constructionStack:[]};sc(this.h,a,b);this.V.push(b);
this.J||(this.J=!0,this.U(function(){return Ac(c)}))};function Ac(a){if(!1!==a.J){a.J=!1;for(var b=a.V,c=[],d=new Map,e=0;e<b.length;e++)d.set(b[e].localName,[]);L(a.h,document,{ga:function(b){if(void 0===b.__CE_state){var e=b.localName,f=d.get(e);f?f.push(b):a.h.a.get(e)&&c.push(b)}}});for(e=0;e<c.length;e++)vc(a.h,c[e]);for(;0<b.length;){var f=b.shift();e=f.localName;f=d.get(f.localName);for(var h=0;h<f.length;h++)vc(a.h,f[h]);(e=a.X.get(e))&&zc(e)}}}M.prototype.get=function(a){if(a=this.h.a.get(a))return a.constructor};
M.prototype.a=function(a){if(!pc(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.X.get(a);if(b)return b.c;b=new yc;this.X.set(a,b);this.h.a.get(a)&&!this.V.some(function(b){return b.localName===a})&&zc(b);return b.c};M.prototype.b=function(a){xc(this.na);var b=this.U;this.U=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=M;M.prototype.define=M.prototype.define;M.prototype.get=M.prototype.get;M.prototype.whenDefined=M.prototype.a;
M.prototype.polyfillWrapFlushCallback=M.prototype.b;var Bc=window.Document.prototype.createElement,Cc=window.Document.prototype.createElementNS,Dc=window.Document.prototype.importNode,Ec=window.Document.prototype.prepend,Fc=window.Document.prototype.append,Gc=window.DocumentFragment.prototype.prepend,Hc=window.DocumentFragment.prototype.append,Ic=window.Node.prototype.cloneNode,Jc=window.Node.prototype.appendChild,Kc=window.Node.prototype.insertBefore,Lc=window.Node.prototype.removeChild,Mc=window.Node.prototype.replaceChild,Nc=Object.getOwnPropertyDescriptor(window.Node.prototype,
"textContent"),Oc=window.Element.prototype.attachShadow,Pc=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Qc=window.Element.prototype.getAttribute,Rc=window.Element.prototype.setAttribute,Sc=window.Element.prototype.removeAttribute,Tc=window.Element.prototype.getAttributeNS,Uc=window.Element.prototype.setAttributeNS,Vc=window.Element.prototype.removeAttributeNS,Wc=window.Element.prototype.insertAdjacentElement,Xc=window.Element.prototype.prepend,Yc=window.Element.prototype.append,
Zc=window.Element.prototype.before,$c=window.Element.prototype.after,ad=window.Element.prototype.replaceWith,bd=window.Element.prototype.remove,cd=window.HTMLElement,dd=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ed=window.HTMLElement.prototype.insertAdjacentElement;var fd=new function(){};function gd(){var a=O;window.HTMLElement=function(){function b(){var b=this.constructor,d=a.u.get(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");var e=d.constructionStack;if(0===e.length)return e=Bc.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.b(e),e;d=e.length-1;var f=e[d];if(f===fd)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");
Zc=window.Element.prototype.before,$c=window.Element.prototype.after,ad=window.Element.prototype.replaceWith,bd=window.Element.prototype.remove,cd=window.HTMLElement,dd=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ed=window.HTMLElement.prototype.insertAdjacentElement;var fd=new function(){};function gd(){var a=O;window.HTMLElement=function(){function b(){var b=this.constructor,d=a.A.get(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");var e=d.constructionStack;if(0===e.length)return e=Bc.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.b(e),e;d=e.length-1;var f=e[d];if(f===fd)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");
e[d]=fd;Object.setPrototypeOf(f,b.prototype);a.b(f);return f}b.prototype=cd.prototype;return b}()};function hd(a,b,c){function d(b){return function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];e=[];for(var f=[],l=0;l<d.length;l++){var m=d[l];m instanceof Element&&F(m)&&f.push(m);if(m instanceof DocumentFragment)for(m=m.firstChild;m;m=m.nextSibling)e.push(m);else e.push(m)}b.apply(this,d);for(d=0;d<f.length;d++)K(a,f[d]);if(F(this))for(d=0;d<e.length;d++)f=e[d],f instanceof Element&&J(a,f)}}void 0!==c.O&&(b.prepend=d(c.O));void 0!==c.append&&(b.append=d(c.append))};function id(){var a=O;I(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.a.get(b);if(c)return new c.constructor}b=Bc.call(this,b);a.b(b);return b});I(Document.prototype,"importNode",function(b,c){b=Dc.call(this,b,c);this.__CE_hasRegistry?L(a,b):uc(a,b);return b});I(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.a.get(c);if(d)return new d.constructor}b=Cc.call(this,b,c);a.b(b);return b});

@@ -121,36 +121,36 @@ hd(a,Document.prototype,{O:Ec,append:Fc})};function jd(){var a=O;function b(b,d){Object.defineProperty(b,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,b);else{var c=void 0;if(this.firstChild){var e=this.childNodes,g=e.length;if(0<g&&F(this)){c=Array(g);for(var k=0;k<g;k++)c[k]=e[k]}}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)K(a,c[b])}}})}I(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);

function Rd(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");a:{var d=0;var e=c+3;for(var f=a.length;e<f;e++)if("("===a[e])d++;else if(")"===a[e]&&0===--d)break a;e=-1}d=a.substring(c+4,e);c=a.substring(0,c);a=Rd(a.substring(e+1),b);e=d.indexOf(",");return-1===e?b(c,d.trim(),"",a):b(c,d.substring(0,e).trim(),d.substring(e+1).trim(),a)}function Sd(a,b){P?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}
function U(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,I:c}};function Td(){}function Ud(a,b,c){var d=V;a.__styleScoped?a.__styleScoped=null:Vd(d,a,b||"",c)}function Vd(a,b,c,d){b.nodeType===Node.ELEMENT_NODE&&Wd(b,c,d);if(b="template"===b.localName?(b.content||b.Ka).childNodes:b.children||b.childNodes)for(var e=0;e<b.length;e++)Vd(a,b[e],c,d)}
function U(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,I:c}};function Td(){}function Ud(a,b,c){var d=V;a.__styleScoped?a.__styleScoped=null:Vd(d,a,b||"",c)}function Vd(a,b,c,d){b.nodeType===Node.ELEMENT_NODE&&Wd(b,c,d);if(b="template"===b.localName?(b.content||b.Ia).childNodes:b.children||b.childNodes)for(var e=0;e<b.length;e++)Vd(a,b[e],c,d)}
function Wd(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));else if(a.getAttribute){var d=a.getAttribute(Xd);c?d&&(b=d.replace("style-scope","").replace(b,""),Sd(a,b)):Sd(a,(d?d+" ":"")+"style-scope "+b)}}function Yd(a,b,c){var d=V,e=a.__cssBuild;P||"shady"===e?b=R(b,c):(a=U(a),b=Zd(d,b,a.is,a.I,c)+"\n\n");return b.trim()}
function Zd(a,b,c,d,e){var f=$d(c,d);c=c?ae+c:"";return R(b,function(b){b.c||(b.selector=b.j=be(a,b,a.b,c,f),b.c=!0);e&&e(b,c,f)})}function $d(a,b){return b?"[is="+a+"]":a}function be(a,b,c,d,e){var f=b.selector.split(ce);if(!Od(b)){b=0;for(var h=f.length,g;b<h&&(g=f[b]);b++)f[b]=c.call(a,g,d,e)}return f.join(ce)}function de(a){return a.replace(ee,function(a,c,d){-1<d.indexOf("+")?d=d.replace(/\+/g,"___"):-1<d.indexOf("___")&&(d=d.replace(/___/g,"+"));return":"+c+"("+d+")"})}
Td.prototype.b=function(a,b,c){var d=!1;a=a.trim();var e=ee.test(a);e&&(a=a.replace(ee,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"}),a=de(a));a=a.replace(fe,ge+" $1");a=a.replace(he,function(a,e,g){d||(a=ie(g,e,b,c),d=d||a.stop,e=a.ta,g=a.value);return e+g});e&&(a=de(a));return a};
function ie(a,b,c,d){var e=a.indexOf(je);0<=a.indexOf(ge)?a=ke(a,d):0!==e&&(a=c?le(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(me,function(a,b){return" > "+b}))}a=a.replace(ne,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,ta:b,stop:f}}function le(a,b){a=a.split(oe);a[0]+=b;return a.join(oe)}
Td.prototype.b=function(a,b,c){var d=!1;a=a.trim();var e=ee.test(a);e&&(a=a.replace(ee,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"}),a=de(a));a=a.replace(fe,ge+" $1");a=a.replace(he,function(a,e,g){d||(a=ie(g,e,b,c),d=d||a.stop,e=a.sa,g=a.value);return e+g});e&&(a=de(a));return a};
function ie(a,b,c,d){var e=a.indexOf(je);0<=a.indexOf(ge)?a=ke(a,d):0!==e&&(a=c?le(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(me,function(a,b){return" > "+b}))}a=a.replace(ne,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,sa:b,stop:f}}function le(a,b){a=a.split(oe);a[0]+=b;return a.join(oe)}
function ke(a,b){var c=a.match(pe);return(c=c&&c[2].trim()||"")?c[0].match(qe)?a.replace(pe,function(a,c,f){return b+f}):c.split(qe)[0]===b?c:re:a.replace(ge,b)}function se(a){a.selector===te&&(a.selector="html")}Td.prototype.c=function(a){return a.match(je)?this.b(a,ue):le(a.trim(),ue)};p.Object.defineProperties(Td.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});
var ee=/:(nth[-\w]+)\(([^)]+)\)/,ue=":not(.style-scope)",ce=",",he=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,qe=/[[.:#*]/,ge=":host",te=":root",je="::slotted",fe=new RegExp("^("+je+")"),pe=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,me=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ne=/(.*):dir\((?:(ltr|rtl))\)/,ae=".",oe=":",Xd="class",re="should_not_match",V=new Td;function ve(a,b,c,d){this.s=a||null;this.b=b||null;this.$=c||[];this.B=null;this.I=d||"";this.a=this.m=this.v=null}function W(a){return a?a.__styleInfo:null}function we(a,b){return a.__styleInfo=b}ve.prototype.c=function(){return this.s};ve.prototype._getStyleRules=ve.prototype.c;var xe,X=window.Element.prototype;xe=X.matches||X.matchesSelector||X.mozMatchesSelector||X.msMatchesSelector||X.oMatchesSelector||X.webkitMatchesSelector;var ye=navigator.userAgent.match("Trident");function ze(){}function Ae(a){var b={},c=[],d=0;S(a,function(a){Be(a);a.index=d++;a=a.f.cssText;for(var c;c=Id.exec(a);){var e=c[1];":"!==c[2]&&(b[e]=!0)}},function(a){c.push(a)});a.b=c;a=[];for(var e in b)a.push(e);return a}
function Be(a){if(!a.f){var b={},c={};Ce(a,c)&&(b.o=c,a.rules=null);b.cssText=a.parsedCssText.replace(Ld,"").replace(Gd,"");a.f=b}}function Ce(a,b){var c=a.f;if(c){if(c.o)return Object.assign(b,c.o),!0}else{c=a.parsedCssText;for(var d;a=Gd.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}}
var ee=/:(nth[-\w]+)\(([^)]+)\)/,ue=":not(.style-scope)",ce=",",he=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,qe=/[[.:#*]/,ge=":host",te=":root",je="::slotted",fe=new RegExp("^("+je+")"),pe=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,me=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ne=/(.*):dir\((?:(ltr|rtl))\)/,ae=".",oe=":",Xd="class",re="should_not_match",V=new Td;function ve(a,b,c,d){this.s=a||null;this.b=b||null;this.Z=c||[];this.B=null;this.I=d||"";this.a=this.m=this.u=null}function W(a){return a?a.__styleInfo:null}function we(a,b){return a.__styleInfo=b}ve.prototype.c=function(){return this.s};ve.prototype._getStyleRules=ve.prototype.c;var xe,X=window.Element.prototype;xe=X.matches||X.matchesSelector||X.mozMatchesSelector||X.msMatchesSelector||X.oMatchesSelector||X.webkitMatchesSelector;var ye=navigator.userAgent.match("Trident");function ze(){}function Ae(a){var b={},c=[],d=0;S(a,function(a){Be(a);a.index=d++;a=a.g.cssText;for(var c;c=Id.exec(a);){var e=c[1];":"!==c[2]&&(b[e]=!0)}},function(a){c.push(a)});a.b=c;a=[];for(var e in b)a.push(e);return a}
function Be(a){if(!a.g){var b={},c={};Ce(a,c)&&(b.o=c,a.rules=null);b.cssText=a.parsedCssText.replace(Ld,"").replace(Gd,"");a.g=b}}function Ce(a,b){var c=a.g;if(c){if(c.o)return Object.assign(b,c.o),!0}else{c=a.parsedCssText;for(var d;a=Gd.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}}
function De(a,b,c){b&&(b=0<=b.indexOf(";")?Ee(a,b,c):Rd(b,function(b,e,f,h){if(!e)return b+h;(e=De(a,c[e],c))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=De(a,c[f]||f,c)||f;return b+(e||"")+h}));return b&&b.trim()||""}
function Ee(a,b,c){b=b.split(";");for(var d=0,e,f;d<b.length;d++)if(e=b[d]){Hd.lastIndex=0;if(f=Hd.exec(e))e=De(a,c[f[1]],c);else if(f=e.indexOf(":"),-1!==f){var h=e.substring(f);h=h.trim();h=De(a,h,c)||h;e=e.substring(0,f)+h}b[d]=e&&e.lastIndexOf(";")===e.length-1?e.slice(0,-1):e||""}return b.join(";")}
function Fe(a,b){var c={},d=[];S(a,function(a){a.f||Be(a);var e=a.j||a.parsedSelector;b&&a.f.o&&e&&xe.call(b,e)&&(Ce(a,c),a=a.index,e=parseInt(a/32,10),d[e]=(d[e]||0)|1<<a%32)},null,!0);return{o:c,key:d}}
function Ge(a,b,c,d){b.f||Be(b);if(b.f.o){var e=U(a);a=e.is;e=e.I;e=a?$d(a,e):"html";var f=b.parsedSelector,h=":host > *"===f||"html"===f,g=0===f.indexOf(":host")&&!h;"shady"===c&&(h=f===e+" > *."+e||-1!==f.indexOf("html"),g=!h&&0===f.indexOf(e));"shadow"===c&&(h=":host > *"===f||"html"===f,g=g&&!h);if(h||g)c=e,g&&(P&&!b.j&&(b.j=be(V,b,V.b,a?ae+a:"",e)),c=b.j||e),d({Ba:c,xa:g,Ma:h})}}
function He(a,b){var c={},d={},e=b&&b.__cssBuild;S(b,function(b){Ge(a,b,e,function(e){xe.call(a.La||a,e.Ba)&&(e.xa?Ce(b,c):Ce(b,d))})},null,!0);return{Aa:d,wa:c}}
function Ie(a,b,c,d){var e=U(b),f=$d(e.is,e.I),h=new RegExp("(?:^|[^.#[:])"+(b.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])");e=W(b).s;var g=Je(e,d);return Yd(b,e,function(b){var e="";b.f||Be(b);b.f.cssText&&(e=Ee(a,b.f.cssText,c));b.cssText=e;if(!P&&!Od(b)&&b.cssText){var k=e=b.cssText;null==b.fa&&(b.fa=Jd.test(e));if(b.fa)if(null==b.N){b.N=[];for(var q in g)k=g[q],k=k(e),e!==k&&(e=k,b.N.push(q))}else{for(q=0;q<b.N.length;++q)k=g[b.N[q]],e=k(e);k=e}b.cssText=k;b.j=b.j||b.selector;e="."+d;
q=b.j.split(",");k=0;for(var H=q.length,N;k<H&&(N=q[k]);k++)q[k]=N.match(h)?N.replace(f,e):e+" "+N;b.selector=q.join(",")}})}function Je(a,b){a=a.b;var c={};if(!P&&a)for(var d=0,e=a[d];d<a.length;e=a[++d]){var f=e,h=b;f.i=new RegExp(f.keyframesName,"g");f.a=f.keyframesName+"-"+h;f.j=f.j||f.selector;f.selector=f.j.replace(f.keyframesName,f.a);c[e.keyframesName]=Ke(e)}return c}function Ke(a){return function(b){return b.replace(a.i,a.a)}}
function Le(a,b){var c=Me,d=Nd(a);a.textContent=R(d,function(a){var d=a.cssText=a.parsedCssText;a.f&&a.f.cssText&&(d=d.replace(Ad,"").replace(Bd,""),a.cssText=Ee(c,d,b))})}p.Object.defineProperties(ze.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var Me=new ze;var Ne={},Oe=window.customElements;if(Oe&&!P){var Pe=Oe.define;Oe.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+a+" "),e=document.head;e.insertBefore(d,(T?T.nextSibling:null)||e.firstChild);T=d;Ne[a]=d;return Pe.call(Oe,a,b,c)}};function Qe(){this.cache={}}Qe.prototype.store=function(a,b,c,d){var e=this.cache[a]||[];e.push({o:b,styleElement:c,m:d});100<e.length&&e.shift();this.cache[a]=e};Qe.prototype.fetch=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d],f;a:{for(f=0;f<c.length;f++){var h=c[f];if(e.o[h]!==b[h]){f=!1;break a}}f=!0}if(f)return e}};function Re(){}
function Fe(a,b){var c={},d=[];S(a,function(a){a.g||Be(a);var e=a.j||a.parsedSelector;b&&a.g.o&&e&&xe.call(b,e)&&(Ce(a,c),a=a.index,e=parseInt(a/32,10),d[e]=(d[e]||0)|1<<a%32)},null,!0);return{o:c,key:d}}
function Ge(a,b,c,d){b.g||Be(b);if(b.g.o){var e=U(a);a=e.is;e=e.I;e=a?$d(a,e):"html";var f=b.parsedSelector,h=":host > *"===f||"html"===f,g=0===f.indexOf(":host")&&!h;"shady"===c&&(h=f===e+" > *."+e||-1!==f.indexOf("html"),g=!h&&0===f.indexOf(e));"shadow"===c&&(h=":host > *"===f||"html"===f,g=g&&!h);if(h||g)c=e,g&&(P&&!b.j&&(b.j=be(V,b,V.b,a?ae+a:"",e)),c=b.j||e),d({za:c,wa:g,Ja:h})}}
function He(a,b){var c={},d={},e=b&&b.__cssBuild;S(b,function(b){Ge(a,b,e,function(e){xe.call(a.f||a,e.za)&&(e.wa?Ce(b,c):Ce(b,d))})},null,!0);return{ya:d,va:c}}
function Ie(a,b,c,d){var e=U(b),f=$d(e.is,e.I),h=new RegExp("(?:^|[^.#[:])"+(b.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])");e=W(b).s;var g=Je(e,d);return Yd(b,e,function(b){var e="";b.g||Be(b);b.g.cssText&&(e=Ee(a,b.g.cssText,c));b.cssText=e;if(!P&&!Od(b)&&b.cssText){var k=e=b.cssText;null==b.da&&(b.da=Jd.test(e));if(b.da)if(null==b.N){b.N=[];for(var q in g)k=g[q],k=k(e),e!==k&&(e=k,b.N.push(q))}else{for(q=0;q<b.N.length;++q)k=g[b.N[q]],e=k(e);k=e}b.cssText=k;b.j=b.j||b.selector;e="."+d;
q=b.j.split(",");k=0;for(var H=q.length,N;k<H&&(N=q[k]);k++)q[k]=N.match(h)?N.replace(f,e):e+" "+N;b.selector=q.join(",")}})}function Je(a,b){a=a.b;var c={};if(!P&&a)for(var d=0,e=a[d];d<a.length;e=a[++d]){var f=e,h=b;f.f=new RegExp(f.keyframesName,"g");f.a=f.keyframesName+"-"+h;f.j=f.j||f.selector;f.selector=f.j.replace(f.keyframesName,f.a);c[e.keyframesName]=Ke(e)}return c}function Ke(a){return function(b){return b.replace(a.f,a.a)}}
function Le(a,b){var c=Me,d=Nd(a);a.textContent=R(d,function(a){var d=a.cssText=a.parsedCssText;a.g&&a.g.cssText&&(d=d.replace(Ad,"").replace(Bd,""),a.cssText=Ee(c,d,b))})}p.Object.defineProperties(ze.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var Me=new ze;var Ne={},Oe=window.customElements;if(Oe&&!P){var Pe=Oe.define;Oe.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+a+" "),e=document.head;e.insertBefore(d,(T?T.nextSibling:null)||e.firstChild);T=d;Ne[a]=d;return Pe.call(Oe,a,b,c)}};function Qe(){this.cache={}}Qe.prototype.store=function(a,b,c,d){var e=this.cache[a]||[];e.push({o:b,styleElement:c,m:d});100<e.length&&e.shift();this.cache[a]=e};Qe.prototype.fetch=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d],f;a:{for(f=0;f<c.length;f++){var h=c[f];if(e.o[h]!==b[h]){f=!1;break a}}f=!0}if(f)return e}};function Re(){}
function Se(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.target!==document.documentElement&&c.target!==document.head)for(var d=0;d<c.addedNodes.length;d++){var e=c.addedNodes[d];if(e.nodeType===Node.ELEMENT_NODE){var f=e.getRootNode();var h=e;var g=[];h.classList?g=Array.from(h.classList):h instanceof window.SVGElement&&h.hasAttribute("class")&&(g=h.getAttribute("class").split(/\s+/));h=g;g=h.indexOf(V.a);if((h=-1<g?h[g+1]:"")&&f===e.ownerDocument)Ud(e,h,!0);else if(f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&
(f=f.host))if(f=U(f).is,h===f)for(e=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(."+V.a+")"),f=0;f<e.length;f++)Wd(e[f],h);else h&&Ud(e,h,!0),Ud(e,f)}}}}
if(!P){var Te=new MutationObserver(Se),Ue=function(a){Te.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Ue(document);else{var Ve=function(){Ue(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ve):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){Ve();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else Ve()})}Re=function(){Se(Te.takeRecords())}}
var We=Re;var Xe={};var Ye=Promise.resolve();function Ze(a){if(a=Xe[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function $e(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function af(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,Ye.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))};var bf=null,cf=window.HTMLImports&&window.HTMLImports.whenReady||null,df;function ef(a){requestAnimationFrame(function(){cf?cf(a):(bf||(bf=new Promise(function(a){df=a}),"complete"===document.readyState?df():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&df()})),bf.then(function(){a&&a()}))})};var ff=new Qe;function Y(){var a=this;this.ea={};this.c=document.documentElement;var b=new nd;b.rules=[];this.i=we(this.c,new ve(b));this.u=!1;this.b=this.a=null;ef(function(){gf(a)})}n=Y.prototype;n.ja=function(){We()};n.ua=function(a){return Nd(a)};n.Da=function(a){return R(a)};
n.prepareTemplate=function(a,b,c){if(!a.i){a.i=!0;a.name=b;a.extends=c;Xe[b]=a;var d=(d=a.content.querySelector("style"))?d.getAttribute("css-build")||"":"";var e=[];for(var f=a.content.querySelectorAll("style"),h=0;h<f.length;h++){var g=f[h];if(g.hasAttribute("shady-unscoped")){if(!P){var k=g.textContent;Md.has(k)||(Md.add(k),k=g.cloneNode(!0),document.head.appendChild(k));g.parentNode.removeChild(g)}}else e.push(g.textContent),g.parentNode.removeChild(g)}e=e.join("").trim();c={is:b,extends:c,Ia:d};
P||Ud(a.content,b);gf(this);f=Hd.test(e)||Gd.test(e);Hd.lastIndex=0;Gd.lastIndex=0;e=od(e);f&&Q&&this.a&&this.a.transformRules(e,b);a._styleAst=e;a.u=d;d=[];Q||(d=Ae(a._styleAst));if(!d.length||Q)e=P?a.content:null,b=Ne[b],f=Yd(c,a._styleAst),b=f.length?Pd(f,c.is,e,b):void 0,a.a=b;a.c=d}};
function hf(a){!a.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(a.b=window.ShadyCSS.CustomStyleInterface,a.b.transformCallback=function(b){a.ha(b)},a.b.validateCallback=function(){requestAnimationFrame(function(){(a.b.enqueued||a.u)&&a.A()})})}function gf(a){!a.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(a.a=window.ShadyCSS.ApplyShim,a.a.invalidCallback=Ze);hf(a)}
n.A=function(){gf(this);if(this.b){var a=this.b.processStyles();if(this.b.enqueued){if(Q)for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);if(c&&Q&&this.a){var d=Nd(c);gf(this);this.a.transformRules(d);c.textContent=R(d)}}else for(jf(this,this.c,this.i),b=0;b<a.length;b++)(c=this.b.getStyleForCustomStyle(a[b]))&&Le(c,this.i.v);this.b.enqueued=!1;this.u&&!Q&&this.styleDocument()}}};
n.styleElement=function(a,b){var c=U(a).is,d=W(a);if(!d){var e=U(a);d=e.is;e=e.I;var f=Ne[d];d=Xe[d];if(d){var h=d._styleAst;var g=d.c}d=we(a,new ve(h,f,g,e))}a!==this.c&&(this.u=!0);b&&(d.B=d.B||{},Object.assign(d.B,b));if(Q){if(d.B){b=d.B;for(var k in b)null===k?a.style.removeProperty(k):a.style.setProperty(k,b[k])}if(((k=Xe[c])||a===this.c)&&k&&k.a&&!$e(k)){if($e(k)||k._applyShimValidatingVersion!==k._applyShimNextVersion)gf(this),this.a&&this.a.transformRules(k._styleAst,c),k.a.textContent=Yd(a,
d.s),af(k);P&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=Yd(a,d.s));d.s=k._styleAst}}else if(jf(this,a,d),d.$&&d.$.length){c=d;k=U(a).is;d=(b=ff.fetch(k,c.v,c.$))?b.styleElement:null;h=c.m;(g=b&&b.m)||(g=this.ea[k]=(this.ea[k]||0)+1,g=k+"-"+g);c.m=g;g=c.m;e=Me;e=d?d.textContent||"":Ie(e,a,c.v,g);f=W(a);var l=f.a;l&&!P&&l!==d&&(l._useCount--,0>=l._useCount&&l.parentNode&&l.parentNode.removeChild(l));P?f.a?(f.a.textContent=e,d=f.a):e&&(d=Pd(e,g,a.shadowRoot,f.b)):d?d.parentNode||(ye&&-1<
e.indexOf("@media")&&(d.textContent=e),Qd(d,null,f.b)):e&&(d=Pd(e,g,null,f.b));d&&(d._useCount=d._useCount||0,f.a!=d&&d._useCount++,f.a=d);g=d;P||(d=c.m,f=e=a.getAttribute("class")||"",h&&(f=e.replace(new RegExp("\\s*x-scope\\s*"+h+"\\s*","g")," ")),f+=(f?" ":"")+"x-scope "+d,e!==f&&Sd(a,f));b||ff.store(k,c.v,g,c.m)}};function kf(a,b){return(b=b.getRootNode().host)?W(b)?b:kf(a,b):a.c}
function jf(a,b,c){a=kf(a,b);var d=W(a);a=Object.create(d.v||null);var e=He(b,c.s);b=Fe(d.s,b).o;Object.assign(a,e.wa,b,e.Aa);b=c.B;for(var f in b)if((e=b[f])||0===e)a[f]=e;f=Me;b=Object.getOwnPropertyNames(a);for(e=0;e<b.length;e++)d=b[e],a[d]=De(f,a[d],a);c.v=a}n.styleDocument=function(a){this.styleSubtree(this.c,a)};
n.styleSubtree=function(a,b){var c=a.shadowRoot;(c||a===this.c)&&this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])};n.ha=function(a){var b=this,c=Nd(a);S(c,function(a){if(P)se(a);else{var c=V;a.selector=a.parsedSelector;se(a);a.selector=a.j=be(c,a,c.c,void 0,void 0)}Q&&(gf(b),b.a&&b.a.transformRule(a))});Q?a.textContent=R(c):this.i.s.rules.push(c)};
n.getComputedStyleValue=function(a,b){var c;Q||(c=(W(a)||W(kf(this,a))).v[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};n.Ca=function(a,b){var c=a.getRootNode();b=b?b.split(/\s/):[];c=c.host&&c.host.localName;if(!c){var d=a.getAttribute("class");if(d){d=d.split(/\s/);for(var e=0;e<d.length;e++)if(d[e]===V.a){c=d[e+1];break}}}c&&b.push(V.a,c);Q||(c=W(a))&&c.m&&b.push(Me.a,c.m);Sd(a,b.join(" "))};n.sa=function(a){return W(a)};Y.prototype.flush=Y.prototype.ja;
Y.prototype.prepareTemplate=Y.prototype.prepareTemplate;Y.prototype.styleElement=Y.prototype.styleElement;Y.prototype.styleDocument=Y.prototype.styleDocument;Y.prototype.styleSubtree=Y.prototype.styleSubtree;Y.prototype.getComputedStyleValue=Y.prototype.getComputedStyleValue;Y.prototype.setElementClass=Y.prototype.Ca;Y.prototype._styleInfoForNode=Y.prototype.sa;Y.prototype.transformCustomStyleForDocument=Y.prototype.ha;Y.prototype.getStyleAst=Y.prototype.ua;Y.prototype.styleAstToString=Y.prototype.Da;
Y.prototype.flushCustomStyles=Y.prototype.A;Object.defineProperties(Y.prototype,{nativeShadow:{get:function(){return P}},nativeCss:{get:function(){return Q}}});var Z=new Y,lf,mf;window.ShadyCSS&&(lf=window.ShadyCSS.ApplyShim,mf=window.ShadyCSS.CustomStyleInterface);window.ShadyCSS={ScopingShim:Z,prepareTemplate:function(a,b,c){Z.A();Z.prepareTemplate(a,b,c)},styleSubtree:function(a,b){Z.A();Z.styleSubtree(a,b)},styleElement:function(a){Z.A();Z.styleElement(a)},styleDocument:function(a){Z.A();Z.styleDocument(a)},getComputedStyleValue:function(a,b){return Z.getComputedStyleValue(a,b)},nativeCss:Q,nativeShadow:P};lf&&(window.ShadyCSS.ApplyShim=lf);
var We=Re;var Xe={};var Ye=Promise.resolve();function Ze(a){if(a=Xe[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function $e(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function af(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.a||(a.a=!0,Ye.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.a=!1}))};var bf=null,cf=window.HTMLImports&&window.HTMLImports.whenReady||null,df;function ef(a){requestAnimationFrame(function(){cf?cf(a):(bf||(bf=new Promise(function(a){df=a}),"complete"===document.readyState?df():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&df()})),bf.then(function(){a&&a()}))})};var ff=new Qe;function Y(){var a=this;this.ca={};this.c=document.documentElement;var b=new nd;b.rules=[];this.f=we(this.c,new ve(b));this.A=!1;this.b=this.a=null;ef(function(){gf(a)})}n=Y.prototype;n.ha=function(){We()};n.ta=function(a){return Nd(a)};n.Ba=function(a){return R(a)};
n.prepareTemplate=function(a,b,c){if(!a.b){a.b=!0;a.name=b;a.extends=c;Xe[b]=a;var d=(d=a.content.querySelector("style"))?d.getAttribute("css-build")||"":"";var e=[];for(var f=a.content.querySelectorAll("style"),h=0;h<f.length;h++){var g=f[h];if(g.hasAttribute("shady-unscoped")){if(!P){var k=g.textContent;Md.has(k)||(Md.add(k),k=g.cloneNode(!0),document.head.appendChild(k));g.parentNode.removeChild(g)}}else e.push(g.textContent),g.parentNode.removeChild(g)}e=e.join("").trim();c={is:b,extends:c,Ga:d};
P||Ud(a.content,b);gf(this);f=Hd.test(e)||Gd.test(e);Hd.lastIndex=0;Gd.lastIndex=0;e=od(e);f&&Q&&this.a&&this.a.transformRules(e,b);a._styleAst=e;a.c=d;d=[];Q||(d=Ae(a._styleAst));if(!d.length||Q)e=P?a.content:null,b=Ne[b],f=Yd(c,a._styleAst),b=f.length?Pd(f,c.is,e,b):void 0,a.ba=b;a.qa=d}};
function hf(a){!a.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(a.b=window.ShadyCSS.CustomStyleInterface,a.b.transformCallback=function(b){a.fa(b)},a.b.validateCallback=function(){requestAnimationFrame(function(){(a.b.enqueued||a.A)&&a.w()})})}function gf(a){!a.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(a.a=window.ShadyCSS.ApplyShim,a.a.invalidCallback=Ze);hf(a)}
n.w=function(){gf(this);if(this.b){var a=this.b.processStyles();if(this.b.enqueued){if(Q)for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);if(c&&Q&&this.a){var d=Nd(c);gf(this);this.a.transformRules(d);c.textContent=R(d)}}else for(jf(this,this.c,this.f),b=0;b<a.length;b++)(c=this.b.getStyleForCustomStyle(a[b]))&&Le(c,this.f.u);this.b.enqueued=!1;this.A&&!Q&&this.styleDocument()}}};
n.styleElement=function(a,b){var c=U(a).is,d=W(a);if(!d){var e=U(a);d=e.is;e=e.I;var f=Ne[d];d=Xe[d];if(d){var h=d._styleAst;var g=d.qa}d=we(a,new ve(h,f,g,e))}a!==this.c&&(this.A=!0);b&&(d.B=d.B||{},Object.assign(d.B,b));if(Q){if(d.B){b=d.B;for(var k in b)null===k?a.style.removeProperty(k):a.style.setProperty(k,b[k])}if(((k=Xe[c])||a===this.c)&&k&&k.ba&&!$e(k)){if($e(k)||k._applyShimValidatingVersion!==k._applyShimNextVersion)gf(this),this.a&&this.a.transformRules(k._styleAst,c),k.ba.textContent=
Yd(a,d.s),af(k);P&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=Yd(a,d.s));d.s=k._styleAst}}else if(jf(this,a,d),d.Z&&d.Z.length){c=d;k=U(a).is;d=(b=ff.fetch(k,c.u,c.Z))?b.styleElement:null;h=c.m;(g=b&&b.m)||(g=this.ca[k]=(this.ca[k]||0)+1,g=k+"-"+g);c.m=g;g=c.m;e=Me;e=d?d.textContent||"":Ie(e,a,c.u,g);f=W(a);var l=f.a;l&&!P&&l!==d&&(l._useCount--,0>=l._useCount&&l.parentNode&&l.parentNode.removeChild(l));P?f.a?(f.a.textContent=e,d=f.a):e&&(d=Pd(e,g,a.shadowRoot,f.b)):d?d.parentNode||(ye&&
-1<e.indexOf("@media")&&(d.textContent=e),Qd(d,null,f.b)):e&&(d=Pd(e,g,null,f.b));d&&(d._useCount=d._useCount||0,f.a!=d&&d._useCount++,f.a=d);g=d;P||(d=c.m,f=e=a.getAttribute("class")||"",h&&(f=e.replace(new RegExp("\\s*x-scope\\s*"+h+"\\s*","g")," ")),f+=(f?" ":"")+"x-scope "+d,e!==f&&Sd(a,f));b||ff.store(k,c.u,g,c.m)}};function kf(a,b){return(b=b.getRootNode().host)?W(b)?b:kf(a,b):a.c}
function jf(a,b,c){a=kf(a,b);var d=W(a);a=Object.create(d.u||null);var e=He(b,c.s);b=Fe(d.s,b).o;Object.assign(a,e.va,b,e.ya);b=c.B;for(var f in b)if((e=b[f])||0===e)a[f]=e;f=Me;b=Object.getOwnPropertyNames(a);for(e=0;e<b.length;e++)d=b[e],a[d]=De(f,a[d],a);c.u=a}n.styleDocument=function(a){this.styleSubtree(this.c,a)};
n.styleSubtree=function(a,b){var c=a.shadowRoot;(c||a===this.c)&&this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])};n.fa=function(a){var b=this,c=Nd(a);S(c,function(a){if(P)se(a);else{var c=V;a.selector=a.parsedSelector;se(a);a.selector=a.j=be(c,a,c.c,void 0,void 0)}Q&&(gf(b),b.a&&b.a.transformRule(a))});Q?a.textContent=R(c):this.f.s.rules.push(c)};
n.getComputedStyleValue=function(a,b){var c;Q||(c=(W(a)||W(kf(this,a))).u[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};n.Aa=function(a,b){var c=a.getRootNode();b=b?b.split(/\s/):[];c=c.host&&c.host.localName;if(!c){var d=a.getAttribute("class");if(d){d=d.split(/\s/);for(var e=0;e<d.length;e++)if(d[e]===V.a){c=d[e+1];break}}}c&&b.push(V.a,c);Q||(c=W(a))&&c.m&&b.push(Me.a,c.m);Sd(a,b.join(" "))};n.ra=function(a){return W(a)};Y.prototype.flush=Y.prototype.ha;
Y.prototype.prepareTemplate=Y.prototype.prepareTemplate;Y.prototype.styleElement=Y.prototype.styleElement;Y.prototype.styleDocument=Y.prototype.styleDocument;Y.prototype.styleSubtree=Y.prototype.styleSubtree;Y.prototype.getComputedStyleValue=Y.prototype.getComputedStyleValue;Y.prototype.setElementClass=Y.prototype.Aa;Y.prototype._styleInfoForNode=Y.prototype.ra;Y.prototype.transformCustomStyleForDocument=Y.prototype.fa;Y.prototype.getStyleAst=Y.prototype.ta;Y.prototype.styleAstToString=Y.prototype.Ba;
Y.prototype.flushCustomStyles=Y.prototype.w;Object.defineProperties(Y.prototype,{nativeShadow:{get:function(){return P}},nativeCss:{get:function(){return Q}}});var Z=new Y,lf,mf;window.ShadyCSS&&(lf=window.ShadyCSS.ApplyShim,mf=window.ShadyCSS.CustomStyleInterface);window.ShadyCSS={ScopingShim:Z,prepareTemplate:function(a,b,c){Z.w();Z.prepareTemplate(a,b,c)},styleSubtree:function(a,b){Z.w();Z.styleSubtree(a,b)},styleElement:function(a){Z.w();Z.styleElement(a)},styleDocument:function(a){Z.w();Z.styleDocument(a)},getComputedStyleValue:function(a,b){return Z.getComputedStyleValue(a,b)},nativeCss:Q,nativeShadow:P};lf&&(window.ShadyCSS.ApplyShim=lf);
mf&&(window.ShadyCSS.CustomStyleInterface=mf);var nf=window.document;window.WebComponents=window.WebComponents||{};function of(){requestAnimationFrame(function(){window.WebComponents.ready=!0;window.document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})}function pf(){of();nf.removeEventListener("readystatechange",pf)}"loading"!==nf.readyState?of():nf.addEventListener("readystatechange",pf);}).call(this);
//# sourceMappingURL=webcomponents-sd-ce.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc